JP2010204326A - Portable apparatus and imaging device - Google Patents

Portable apparatus and imaging device Download PDF

Info

Publication number
JP2010204326A
JP2010204326A JP2009048821A JP2009048821A JP2010204326A JP 2010204326 A JP2010204326 A JP 2010204326A JP 2009048821 A JP2009048821 A JP 2009048821A JP 2009048821 A JP2009048821 A JP 2009048821A JP 2010204326 A JP2010204326 A JP 2010204326A
Authority
JP
Japan
Prior art keywords
program
cpu
microcomputer
transfer
sub
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
JP2009048821A
Other languages
Japanese (ja)
Other versions
JP5202388B2 (en
Inventor
Akihiro Ryuzaki
昭洋 粒崎
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2009048821A priority Critical patent/JP5202388B2/en
Publication of JP2010204326A publication Critical patent/JP2010204326A/en
Application granted granted Critical
Publication of JP5202388B2 publication Critical patent/JP5202388B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To shorten starting time as well as lowering cost and reduction of a chip size. <P>SOLUTION: When transferring first and second programs for controlling a first and second drive means to the nonvolatile memory 209 of a sub-microcomputer 206, a first CPU 201 transfers one of the first and second programs. Upon receiving a reception completion signal from the sub-microcomputer, the first CPU starts the other one of the first and second programs and transmits a control start instruction signal for the first or second drive means in parallel therewith. After receiving the control start instruction signal, a second CPU 207 controls the first or second drive means according to the first or second program in parallel with the reception of the other one of the first and second program. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、複数のCPUを有する携帯機器および撮像装置に関するものである。   The present invention relates to a portable device and an imaging apparatus having a plurality of CPUs.

近年、デジタルカメラやデジタルビデオ等の携帯機器は、機能の多様化が進んでいる。例えば、手振れ補正機能、高速静音なズーム、および、AF(オートフォーカス)機能、画像認識技術を用いた顔認識機能などが挙げられる。このように、複雑で処理に時間を要する機能を実現するために、CPU(Central Processing Unit;中央演算処理ユニット)を複数持ったシステムを採用する携帯機器が増えてきている。このことによって、一般的な機能の処理を行うメインCPUと、複雑な処理が必要な機能の処理を行うサブCPUとに、CPU負荷を分散することで、高速処理化を実現している。   In recent years, functions of mobile devices such as digital cameras and digital videos have been diversified. For example, there are a camera shake correction function, a high-speed silent zoom, an AF (autofocus) function, a face recognition function using an image recognition technique, and the like. As described above, in order to realize a complicated and time-consuming function, an increasing number of portable devices adopt a system having a plurality of CPUs (Central Processing Units). As a result, high-speed processing is realized by distributing the CPU load to the main CPU that performs processing of general functions and the sub CPU that performs processing of functions that require complicated processing.

一方、複数のCPUを有することによってコストやチップサイズが増大することが懸念される。その改善策としては、複数のCPUに対して、プログラムを格納しておく不揮発性メモリを一つにすることによって、コストやチップサイズを削減することが図られている。すなわち、不揮発性メモリはメインCPUを含むマイクロコントローラ(以下、メインマイコン)上にのみ持つ。そして、起動時にメインマイコンから、サブCPUを含むマイクロコントローラ(以下、サブマイコン)の揮発性メモリにプログラムを転送し、揮発性メモリ上でサブCPUの処理を実行する。また、プログラムを揮発性メモリで実行することで、不揮発性メモリと比較してメモリアクセス時間が速くなり、高速処理が実現できるという効果も得られる。   On the other hand, there is a concern that the cost and chip size increase by having a plurality of CPUs. As an improvement measure, a single nonvolatile memory for storing a program is used for a plurality of CPUs to reduce the cost and the chip size. That is, the non-volatile memory is provided only on a microcontroller (hereinafter referred to as a main microcomputer) including a main CPU. Then, the program is transferred from the main microcomputer to the volatile memory of the microcontroller (hereinafter referred to as sub-microcomputer) including the sub CPU at the time of startup, and the processing of the sub CPU is executed on the volatile memory. In addition, by executing the program in the volatile memory, the memory access time is faster than that in the nonvolatile memory, and an effect that high-speed processing can be realized is also obtained.

しかし、このようなシステムにおいては、サブCPUで制御する周辺デバイスを起動させるには、プログラムの転送が終了するまで起動処理を開始できず、機器全体の起動に時間を要するものであった。デジタルカメラやデジタルビデオのような携帯機器においては、電源が切られている状態からでも、すぐに起動し、使用可能な状態になることが望まれている。   However, in such a system, in order to activate the peripheral device controlled by the sub CPU, the activation process cannot be started until the program transfer is completed, and it takes time to activate the entire device. In a portable device such as a digital camera or a digital video, it is desired that the mobile device can be started immediately and can be used even when the power is turned off.

特許文献1では、転送するプログラムを分割圧縮して不揮発性メモリに格納しておき、送信側のCPUがプログラムを分割して転送した後、受信側のCPUでは揮発性メモリ上に順次展開して実行することで起動時間を短縮するという技術が提案されている。   In Patent Document 1, a program to be transferred is divided and compressed and stored in a non-volatile memory. After the CPU on the transmission side divides and transfers the program, the CPU on the reception side sequentially develops it on the volatile memory. There has been proposed a technique for shortening the startup time by executing.

特開2007−26318号公報JP 2007-26318 A

しかしながら、メインCPUおよびサブCPUで制御する周辺デバイスの駆動を行う際、制御開始時に制御回路に突入電流が発生することがある。メインCPUとサブCPUとで、周辺デバイスの制御開始タイミングが同時に発生した場合、それぞれの周辺デバイスの突入電流が重なってしまい、電源電圧が不安定になってしまう。そのため、電池残量が充分あるにも拘らず、バッテリー低下を誤検出する虞があった。   However, when driving peripheral devices controlled by the main CPU and the sub CPU, an inrush current may occur in the control circuit at the start of control. When the control start timings of peripheral devices occur simultaneously in the main CPU and the sub CPU, the inrush currents of the peripheral devices overlap, and the power supply voltage becomes unstable. For this reason, there is a possibility that the battery drop is erroneously detected even though the remaining battery level is sufficient.

また、沈胴式のレンズ鏡筒を有するデジタルカメラにおいては、電源釦が押された後、ズームレンズの動作が開始されるまでに時間を要すると、ユーザーは電源釦を押していないと誤解してしまう。サブCPUでズームレンズを制御するようなシステムでは、プログラム転送に時間がかかるとそのような誤解を生じさせる虞があった。   Also, in a digital camera having a retractable lens barrel, if it takes time for the zoom lens operation to start after the power button is pressed, the user misunderstands that the power button has not been pressed. . In a system in which the zoom lens is controlled by the sub CPU, such misunderstanding may occur if it takes a long time to transfer the program.

(発明の目的)
本発明の目的は、コスト低減、チップサイズの削減を図るとともに、起動時間の短縮化を図ることのできる携帯機器および撮像装置を提供しようとするものである。
(Object of invention)
An object of the present invention is to provide a portable device and an imaging apparatus capable of reducing cost, reducing the chip size, and shortening the startup time.

上記目的を達成するために、本発明は、システム全体の制御を行う第1CPU、および複数のプログラムを格納する不揮発性メモリを有するメインマイコンと、第1駆動手段、第2駆動手段を制御するためのプログラムが前記メインマイコンの不揮発性メモリから転送される揮発性メモリ、および前記揮発性メモリに転送されたプログラムにしたがって前記第1駆動手段と前記第2駆動手段の制御を行う第2CPUを有する少なくとも一つのサブマイコンとを有する携帯機器において、前記メインマイコンの不揮発性メモリが、前記第1駆動手段を制御するための第1プログラムと前記第2駆動手段を制御するための第2プログラムとを分割して格納しており、前記第1CPUが、前記第1プログラムと前記第2プログラムを前記サブマイコンの揮発性メモリに転送する際には、まず前記第1プログラムと前記第2プログラムの一方の転送を開始し、前記サブマイコンから受信完了を受信すると、前記第1プログラムと前記第2プログラムの他方の転送を開始するとともに、並行して前記第1駆動手段または前記第2駆動手段の制御開始命令を送信し、前記第2CPUは、前記制御開始命令を受信した後、前記メインマイコンからの前記第1プログラムと前記第2プログラムの他方を受信するのと並行して、前記第1プログラムと前記第2プログラムの一方にしたがって前記第1駆動手段または前記第2駆動手段の制御を行う携帯機器とするものである。   To achieve the above object, the present invention controls a first CPU for controlling the entire system, a main microcomputer having a nonvolatile memory for storing a plurality of programs, a first drive means, and a second drive means. A volatile memory transferred from the nonvolatile memory of the main microcomputer, and a second CPU for controlling the first driving means and the second driving means in accordance with the program transferred to the volatile memory. In a portable device having one sub-microcomputer, the nonvolatile memory of the main microcomputer divides a first program for controlling the first drive means and a second program for controlling the second drive means The first CPU stores the first program and the second program in the sub-myco When transferring to the volatile memory, firstly, transfer of one of the first program and the second program is started, and upon receipt of reception completion from the sub-microcomputer, the other of the first program and the second program The second CPU transmits a control start command for the first drive unit or the second drive unit in parallel, and the second CPU receives the control start command, and then receives the control start command from the main microcomputer. In parallel with receiving the other of one program and the second program, a portable device that controls the first driving means or the second driving means in accordance with one of the first program and the second program. Is.

本発明によれば、コスト低減、チップサイズの削減を図るとともに、起動時間の短縮化を図ることができる携帯機器または撮像装置を提供できるものである。   ADVANTAGE OF THE INVENTION According to this invention, while aiming at cost reduction and reduction of chip size, the portable device or imaging device which can aim at shortening of starting time can be provided.

本発明の実施例1に係る撮像装置の概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an imaging apparatus according to Embodiment 1 of the present invention. 実施例1に係るメインマイコンとサブマイコンを示すブロック図である。1 is a block diagram illustrating a main microcomputer and a sub-microcomputer according to a first embodiment. 実施例1に係るサブマイコンのメモリマップを示す図である。FIG. 3 is a diagram illustrating a memory map of a sub-microcomputer according to the first embodiment. 実施例1に係る第1プログラムの転送処理のフローチャートである。10 is a flowchart of transfer processing of a first program according to Embodiment 1. 実施例1に係る第2プログラムの転送処理のフローチャートである。7 is a flowchart of transfer processing of a second program according to the first embodiment. 実施例1に係るレンズ鏡筒を示す断面図である。1 is a cross-sectional view illustrating a lens barrel according to Embodiment 1. FIG. 実施例1に係る撮像装置の電源投入時の動作を示すフローチャートである。3 is a flowchart illustrating an operation at power-on of the imaging apparatus according to the first embodiment. 実施例1に係るレンズ鏡筒の繰り出し処理のフローチャートである。6 is a flowchart of a lens barrel feeding process according to Embodiment 1; 実施例1に係るレンズ鏡筒の沈胴処理のフローチャートである。3 is a flowchart of a lens barrel retracting process according to the first embodiment. 実施例2に係るメインマイコンとサブマイコンを示すブロック図である。FIG. 10 is a block diagram illustrating a main microcomputer and a sub-microcomputer according to a second embodiment.

本発明を実施するための形態は、以下の実施例1および2に示す通りである。   The mode for carrying out the present invention is as shown in Examples 1 and 2 below.

図1は本発明の実施例1に係るデジタルカメラなどの撮像装置100の概略構成を示すブロック図である。   FIG. 1 is a block diagram showing a schematic configuration of an imaging apparatus 100 such as a digital camera according to Embodiment 1 of the present invention.

図1において、101はレンズ鏡筒であり、ズームレンズ102、絞りシャッタ103、防振(IS)を実現する補正レンズ104、フォーカスレンズ105を具備している。106はズームレンズ102を制御するズーム制御部、107は絞りシャッタ103を制御する絞りシャッタ制御部、108は補正レンズ104を制御するIS制御部、109はフォーカスレンズ105を制御するフォーカス制御である。110はレンズシステム制御部である。   In FIG. 1, reference numeral 101 denotes a lens barrel, which includes a zoom lens 102, an aperture shutter 103, a correction lens 104 that realizes image stabilization (IS), and a focus lens 105. Reference numeral 106 denotes a zoom control unit that controls the zoom lens 102, 107 denotes an aperture shutter control unit that controls the aperture shutter 103, 108 denotes an IS control unit that controls the correction lens 104, and 109 denotes focus control that controls the focus lens 105. Reference numeral 110 denotes a lens system control unit.

111はCCDやCMOS等からなる撮像素子である。112はAFE(アナログ・フロントエンド)回路であり、タイミングパルス発生(TG)回路や相関2重サンプリング(CDS)回路、A/D変換器などによって構成される。このAFE回路112は、撮像素子111によって変換されたアナログの電気信号を特定のサンプリング周期でデジタル信号へと変換する。113はAFE回路112からの信号に対して画素補間処理や色変換処理を行い、画像データとして、DRAMやSRAMなどで構成される画像メモリ114に転送する画像処理回路である。   Reference numeral 111 denotes an image sensor made up of a CCD, a CMOS, or the like. Reference numeral 112 denotes an AFE (analog front end) circuit, which includes a timing pulse generation (TG) circuit, a correlated double sampling (CDS) circuit, an A / D converter, and the like. The AFE circuit 112 converts the analog electrical signal converted by the image sensor 111 into a digital signal at a specific sampling period. Reference numeral 113 denotes an image processing circuit that performs pixel interpolation processing and color conversion processing on the signal from the AFE circuit 112 and transfers it as image data to an image memory 114 composed of a DRAM or SRAM.

115はTFT_LCD(薄膜トランジスタ駆動型液晶表示器)等により構成される画像表示部であり、撮影によって得られた画像データの表示を行うと共に、特定の情報(例えば、撮影情報)等を表示する。また、画像表示部115は撮像素子111の出力信号にて生成される画像データを逐次表示することで電子ファインダ機能を実現する。116はカメラシステム制御部であり、ユーザーの操作に応じて、周辺デバイスに制御命令を送る。   Reference numeral 115 denotes an image display unit composed of a TFT_LCD (Thin Film Transistor Driven Liquid Crystal Display) or the like, which displays image data obtained by shooting and also displays specific information (for example, shooting information). The image display unit 115 realizes an electronic finder function by sequentially displaying image data generated by the output signal of the image sensor 111. Reference numeral 116 denotes a camera system control unit which sends a control command to the peripheral device in accordance with a user operation.

117は操作部であり、撮影動作においては、この操作部117に含まれるレリーズ釦が押下される。レリーズ釦が押下されると、カメラシステム制御部116は、最適の露出値もしくはユーザーによって設定されている露出値となるようにレンズシステム制御部110に指示する。これにより、絞りシャッタ制御部107および絞りシャッタ103により適正な絞り位置が設定される。また、AFE回路112に対してはゲイン設定を指示する。さらに、カメラシステム制御部116は、被写体の距離に応じてピントが最適となるようにレンズシステム制御部110に指示する。これにより、フォーカス制御部109を介して所望とされるフォーカス位置にフォーカスレンズ105が設定される。その状態で、撮像素子111への露光が開始され、一定時間が経過した後、絞りシャッタ103が閉じられることで露光が終了する。   Reference numeral 117 denotes an operation unit. In a shooting operation, a release button included in the operation unit 117 is pressed. When the release button is pressed, the camera system control unit 116 instructs the lens system control unit 110 to obtain an optimum exposure value or an exposure value set by the user. Accordingly, an appropriate aperture position is set by the aperture shutter control unit 107 and the aperture shutter 103. Also, the AFE circuit 112 is instructed to set the gain. Further, the camera system control unit 116 instructs the lens system control unit 110 to optimize the focus according to the distance of the subject. Thereby, the focus lens 105 is set to a desired focus position via the focus control unit 109. In this state, exposure to the image sensor 111 is started, and after a predetermined time has elapsed, the diaphragm shutter 103 is closed to complete the exposure.

118はI/F(インターフェース)部であり、上記の露光時に生成された画像データを記録部119へ出力する。記録部119は、フラッシュメモリより成るメモリカードなどの記録媒体の制御を行う。なお、記録媒体はカメラに内蔵されたメモリ領域であってもよい。120は電源部である。   Reference numeral 118 denotes an I / F (interface) unit, which outputs image data generated during the exposure to the recording unit 119. The recording unit 119 controls a recording medium such as a memory card including a flash memory. The recording medium may be a memory area built in the camera. Reference numeral 120 denotes a power supply unit.

上記撮像装置100においては、レンズ鏡筒101を制御するレンズシステム制御部110、ズーム制御部106からフォーカス制御部109までの各制御部と、その他のシステムを制御するカメラシステム制御部116とでは、異なるCPU上で処理が行われる。   In the imaging device 100, the lens system control unit 110 that controls the lens barrel 101, the control units from the zoom control unit 106 to the focus control unit 109, and the camera system control unit 116 that controls other systems include: Processing is performed on a different CPU.

図2に、二つのCPUとその周辺装置(ペリフェラル)のハードウェア構成を示す。   FIG. 2 shows the hardware configuration of two CPUs and their peripheral devices (peripherals).

メインマイコン200は、CPU201、DMAC(Direct Memory Access Controller)202、RAM203、ROM204およびSIO(Serial Input/Output)205などから構成される。サブマイコン206も同様に、CPU207、DMAC208、RAM209、ROM210およびSIO211などから構成されるが、ROM210は転送プログラムを記憶するだけの小容量のものである。   The main microcomputer 200 includes a CPU 201, a DMAC (Direct Memory Access Controller) 202, a RAM 203, a ROM 204, and a SIO (Serial Input / Output) 205. Similarly, the sub-microcomputer 206 includes a CPU 207, a DMAC 208, a RAM 209, a ROM 210, an SIO 211, and the like, but the ROM 210 has a small capacity for storing a transfer program.

上記撮像装置100においては、メインマイコン200にて、図1のカメラシステム制御部116の処理が行われる。また、サブマイコン206にて、図1のレンズシステム制御部110およびズーム制御部106からフォーカス制御部109までの各制御部の処理が行われる。メインマイコン200内のROM204は不揮発性メモリであるため、電源が供給されていないときでもデータを保持する(格納しておく)ことが可能である。また、サブマイコン206内のROM210は容量が限られている。そのため、電源部120からの電源が供給されていない時の、サブCPU207で実行されるプログラムは、メインマイコン200内のROM204に格納するようにしている。電源投入時には、サブCPU207は、SIO205および211を介してプログラムを受信してRAM209に格納し、格納したプログラムを実行する。   In the imaging apparatus 100, the main microcomputer 200 performs processing of the camera system control unit 116 in FIG. In addition, the sub-microcomputer 206 performs processing of each control unit from the lens system control unit 110 and the zoom control unit 106 to the focus control unit 109 in FIG. Since the ROM 204 in the main microcomputer 200 is a non-volatile memory, data can be retained (stored) even when power is not supplied. The ROM 210 in the sub-microcomputer 206 has a limited capacity. Therefore, the program executed by the sub CPU 207 when the power from the power supply unit 120 is not supplied is stored in the ROM 204 in the main microcomputer 200. When the power is turned on, the sub CPU 207 receives the program via the SIOs 205 and 211, stores it in the RAM 209, and executes the stored program.

ここで、DMAC208について説明する。DMACとは、メモリ−メモリ間、もしくは、メモリ周辺装置間で高速にデータ転送を行うためのコントローラである。CPUでは、データ転送開始時に転送元アドレスおよび転送先アドレス、転送サイズを設定することで、転送中にCPUを介することなく自動的にデータ転送を行うことが可能となる。DMACを使用することによって、プログラム転送と同時に、CPUでは別の処理を行うことができる。   Here, the DMAC 208 will be described. The DMAC is a controller for transferring data at high speed between a memory and a memory or between memory peripheral devices. By setting the transfer source address, the transfer destination address, and the transfer size at the start of data transfer, the CPU can automatically transfer data without going through the CPU during transfer. By using the DMAC, the CPU can perform another process simultaneously with the program transfer.

メインマイコン200は、転送元アドレスとしてROM204上でサブCPU用プログラムが格納されているメモリ領域を、転送先アドレスとしてSIO205の送信バッファを、それぞれ設定する。サブマイコン206は、転送元アドレスとしてSIO211の受信バッファを、転送先アドレスとしてRAM209上でプログラムを格納するメモリ領域を、それぞれ設定する。転送を開始すると、DMA転送によってROM204からSIO205へとプログラムが転送される。次いで、SIO205とSIO211とのシリアル通信によって、SIO211にデータが転送される。さらには、SIO211とRAM209のDMA転送によってRAM209へと転送される。このようにして、CPUを介することなく、プログラム転送を実現することが可能となる。   The main microcomputer 200 sets the memory area where the sub CPU program is stored on the ROM 204 as the transfer source address, and the transmission buffer of the SIO 205 as the transfer destination address. The sub-microcomputer 206 sets a reception buffer of the SIO 211 as a transfer source address and a memory area for storing a program on the RAM 209 as a transfer destination address. When the transfer is started, the program is transferred from the ROM 204 to the SIO 205 by DMA transfer. Next, data is transferred to the SIO 211 by serial communication between the SIO 205 and the SIO 211. Further, the data is transferred to the RAM 209 by DMA transfer between the SIO 211 and the RAM 209. In this way, program transfer can be realized without going through the CPU.

図3は、サブマイコン206のアドレス空間を示している。本実施例1におけるサブマイコン206では、メモリマップドI/O方式によってI/Oが割り振られており、0x00000000から0xFFFFFFFFまでの4GBの中でメモリおよびI/Oが割り振られている。   FIG. 3 shows the address space of the sub-microcomputer 206. In the sub-microcomputer 206 in the first embodiment, I / O is allocated by the memory mapped I / O method, and memory and I / O are allocated in 4 GB from 0x00000000 to 0xFFFFFFFF.

0x00000000はリセットベクタである。リセットベクタは、サブマイコン206に電源が供給された後、ハードウェアリセットがかかると、最初に処理が実行される領域である。このリセットベクタには、最初に実行するプログラムの先頭アドレスが書かれており、リセットベクタが実行されるとプログラムカウンタ(PC)にそのアドレスが書き込まれる。PCとは、CPUで次に実行すべき命令が書き込まれているレジスタであり、このレジスタにアドレスを書き込むことで処理をジャンプさせることができる。サブマイコン206では、初期状態でプログラムを保持できる領域はROM210のみである。したがって、リセットベクタには、ROM210の先頭アドレスである0x0000F800が書き込まれており、ROM210に格納されている転送プログラムを実行することが可能となる。   0x00000000 is a reset vector. The reset vector is an area where processing is first executed when a hardware reset is applied after power is supplied to the sub-microcomputer 206. In the reset vector, the start address of the program to be executed first is written, and when the reset vector is executed, the address is written in the program counter (PC). The PC is a register in which an instruction to be executed next by the CPU is written. Processing can be jumped by writing an address in this register. In the sub-microcomputer 206, the ROM 210 is the only area that can hold the program in the initial state. Therefore, 0x0000F800, which is the head address of the ROM 210, is written in the reset vector, and the transfer program stored in the ROM 210 can be executed.

0x00000004から0x0000F7FFまでは、RAM209のメモリ領域として割り振られている。この領域は、最初に転送されるプログラムが格納されている第1プログラム領域と、第1プログラムが実行されるのと並行して転送されるプログラムが格納されている第2プログラム領域とに分けられている。   The area from 0x00000004 to 0x0000F7FF is allocated as a memory area of the RAM 209. This area is divided into a first program area in which a program to be transferred first is stored and a second program area in which a program transferred in parallel with the execution of the first program is stored. ing.

0x00FFE000以降は、I/O領域として割り振られている。I/Oとしては、SIO211を始め、不図示の汎用入出力ポートやその他のペリフェラルなどがある。メモリマップドI/O方式によってメモリ空間にI/Oが配置されているため、I/Oにアクセスする際にもメモリにアクセスするのと同様のアドレス指定を行うことで、ペリフェラルを利用することが可能である。   After 0x00FFE000, it is allocated as an I / O area. Examples of the I / O include a SIO 211, a general-purpose input / output port (not shown), and other peripherals. Since the I / O is arranged in the memory space by the memory mapped I / O method, the peripheral can be used by performing the same address designation as accessing the memory when accessing the I / O. Is possible.

ここで、プログラムを分割して生成する生成手段と、サブマイコン206上でそれらのプログラムを実行する実行手段について説明する。   Here, generation means for dividing and generating programs and execution means for executing the programs on the sub-microcomputer 206 will be described.

携帯機器などの組み込み機器においては、CPU上で実行するプログラムの作成手段として、クロスコンパイルという手段が用いられている。これは、一旦、パソコンなどのホストマシンでプログラムを作成し、実行可能なバイナリデータに変換したものをターゲットマシンに転送するという方法である。プログラム言語で書かれたプログラム(ソースコード)は、コンパイラと呼ばれる、プログラム言語から機械語に変換するソフトウェアにて機械語のプログラム(オブジェクトコード)に変換される。機能ごとにソースコードを分割してプログラムを作成することで、生成されるオブジェクトコードも分割されて生成される。分割されたオブジェクトコードからCPU上で実行可能なプログラム(バイナリコード)を生成するには、リンカと呼ばれるオブジェクトコードを結合するソフトウェアにて、一つのプログラムに結合する必要がある。リンカでは、オブジェクトコードを結合する際に、リロケーション情報と呼ばれる、各オブジェクトコードをメモリ上で配置するアドレス情報に基づいて、実アドレスが割りつけられる。この処理によって、分割されたオブジェクトコードから他のコードを参照することが可能となる。   In an embedded device such as a portable device, a means called cross compilation is used as a means for creating a program to be executed on a CPU. This is a method in which a program is once created on a host machine such as a personal computer, and converted into executable binary data and transferred to the target machine. A program (source code) written in a program language is converted into a machine language program (object code) by software called a compiler, which converts the program language into machine language. By creating a program by dividing the source code for each function, the generated object code is also divided and generated. In order to generate a program (binary code) that can be executed on the CPU from the divided object code, it is necessary to combine the object code called a linker into one program. In the linker, when linking object codes, real addresses are allocated based on address information called relocation information where each object code is arranged on a memory. By this processing, it is possible to refer to other codes from the divided object code.

第1プログラム領域に割り当てられるオブジェクトコード群と第2プログラム領域に割り当てられるオブジェクトコード群とで別々にリンクを行うことで、二つのバイナリコードを生成することが可能である。それぞれのプログラム間でコードを参照するためには、互いのアドレス情報さえ分かっていれば参照することができる。   Two binary codes can be generated by separately linking the object code group assigned to the first program area and the object code group assigned to the second program area. In order to refer to the code between the programs, it is possible to refer to the code as long as the address information of each other is known.

サブマイコン206上でのプログラムのアクセス方法について、具体的に説明する。   A program access method on the sub-microcomputer 206 will be specifically described.

第1プログラム領域は、メインマイコン200からの制御命令を受信し、命令内容を解析する命令受信・解析部と、最初に駆動を行うデバイスの起動処理が記述されている起動処理部とで構成される。起動処理は、例えば図8で後述するズーム繰り出し処理や図9で後述するフォーカス沈胴処理である。第2プログラム領域は、起動処理完了後の各デバイスの制御処理が記述されている制御処理部によって構成される。制御処理は、例えば図8で後述するフォーカス繰り出し処理や図9で後述するズーム沈胴処理である。メインマイコン200とサブマイコン206との間では、決められた通信プロトコルによってデータの送受信が行われている。命令受信・解析部では、データを受信し、受信したデータからこの通信プロトコルに従って、命令内容の解析を行う。命令内容が、例えば、起動処理であった場合には、第1プログラム領域の起動処理部を実行する。その他の制御処理であった場合には、第2プログラム領域の制御処理部を実行する。そのため、第2プログラム領域の先頭アドレスである0x00007C00に実際に処理が記述されている領域のオフセットアドレスを加算したアドレスにジャンプして制御処理を実行する。但し、第2プログラムの転送が完了していない場合に、そのアドレスをアクセスしようとするとCPUが誤作動する虞がある。したがって、転送終了していない状態で、メインマイコン200から第2プログラム領域の命令が送信された場合には、メインマイコン200に対してエラーを返信する。   The first program area includes a command reception / analysis unit that receives a control command from the main microcomputer 200 and analyzes the content of the command, and a startup processing unit in which a startup process of a device that is first driven is described. The The activation process is, for example, a zoom extension process described later in FIG. 8 or a focus collapse process described later in FIG. The second program area is configured by a control processing unit in which the control processing of each device after completion of the startup processing is described. The control process is, for example, a focus extension process, which will be described later with reference to FIG. Data transmission / reception is performed between the main microcomputer 200 and the sub-microcomputer 206 using a predetermined communication protocol. The command receiving / analyzing unit receives data and analyzes the command content from the received data according to the communication protocol. If the instruction content is, for example, startup processing, the startup processing unit of the first program area is executed. In the case of other control processing, the control processing unit of the second program area is executed. Therefore, the control process is executed by jumping to the address obtained by adding the offset address of the area where the process is actually described to 0x00007C00 which is the start address of the second program area. However, if the transfer of the second program is not completed, the CPU may malfunction if an attempt is made to access the address. Therefore, when a command in the second program area is transmitted from the main microcomputer 200 without completing the transfer, an error is returned to the main microcomputer 200.

次に、サブマイコン206に電源が投入され、すべてのプログラムの受信が完了するまでの一連の処理について、図4および図5のフローチャートを用いて説明する。   Next, a series of processing until the sub-microcomputer 206 is turned on and reception of all programs is completed will be described with reference to the flowcharts of FIGS.

図4は、電源投入から第1プログラムの受信完了までを示すフローチャートである。   FIG. 4 is a flowchart showing the process from turning on the power to the completion of reception of the first program.

サブマイコン206に電源が投入される(S100)と、前述したようにPCに転送プログラムのアドレスを設定し、プログラム転送処理を開始する(S101)。転送プログラムでは、DMAC208に対してデータ転送情報を設定する(S102)。転送元アドレスはI/O領域に割り振られているSIOの受信バッファアドレスであり、転送先アドレスは第1プログラム領域の先頭アドレスである0x00000004、転送サイズは31kバイトである。次に、送受信割り込みを許可して、通信イネーブル信号を有効とすることで通信可能状態とする(S103)。メインマイコン200は、この信号を監視しており、この信号が通信可能状態となると、プログラムの転送を開始する。   When the sub-microcomputer 206 is powered on (S100), the transfer program address is set in the PC as described above, and the program transfer process is started (S101). In the transfer program, data transfer information is set for the DMAC 208 (S102). The transfer source address is the SIO receive buffer address allocated to the I / O area, the transfer destination address is 0x00000004, which is the first address of the first program area, and the transfer size is 31 kbytes. Next, a transmission / reception interrupt is permitted and the communication enable signal is validated to enable communication (S103). The main microcomputer 200 monitors this signal, and when this signal becomes communicable, it starts program transfer.

次のステップS104からステップS107までの処理、および、二回目以降のステップS103の処理は、SIO211とDMAC208とによって行われる。   The processing from the next step S104 to step S107 and the processing of the second and subsequent steps S103 are performed by the SIO 211 and the DMAC 208.

受信データを受信する(S104のYES)と受信割り込みが発生し、通信イネーブル信号を無効として(S105)、次のデータが送信されないようにする。この状態で、受信バッファから転送先のRAM209の第1プログラム領域にプログラムをコピーする(S106)。コピーが終了すると、指定されたサイズのデータ転送が終了したかを判定し(S107)、終了していなければ(S107のNO)再び通信イネーブル信号を有効とする(S103)。この処理を、指定されたサイズのデータ転送が終了するまで順次繰り返すことでプログラム転送を実現する。   When reception data is received (YES in S104), a reception interrupt occurs, the communication enable signal is invalidated (S105), and the next data is not transmitted. In this state, the program is copied from the reception buffer to the first program area of the transfer destination RAM 209 (S106). When copying is completed, it is determined whether data transfer of the designated size has been completed (S107). If not completed (NO in S107), the communication enable signal is validated again (S103). This process is sequentially repeated until data transfer of the specified size is completed, thereby realizing program transfer.

指定されたサイズのデータ転送が終了したと判定する(S107のYES)と、次にチェックサム計算を行う(S108)。チェックサムとは、データを送受信する際の誤り検出方法の一つである。転送したデータを数値と見なして、その合計を取った値と、予め計算しておいたデータとを比較することで、転送時に通信路のノイズなどによってデータが破壊されていないかのチェックを行うことが可能となる。チェックサムの比較(S109)を行った結果、値が正しい場合(S109のOK)には、正常に受信が完了したことをメインマイコン200に対して返信する(S110)。一方、比較結果が誤っている場合(S109のNG)には、メインマイコン200に転送エラー命令を返す(S111)。   If it is determined that data transfer of the specified size has been completed (YES in S107), then checksum calculation is performed (S108). The checksum is one of error detection methods when transmitting / receiving data. The transferred data is regarded as a numerical value, and the total value is compared with the data calculated in advance to check whether the data has been destroyed due to noise in the communication path during transfer. It becomes possible. As a result of the checksum comparison (S109), if the value is correct (OK in S109), the main microcomputer 200 is returned to the main microcomputer 200 that the reception has been completed normally (S110). On the other hand, if the comparison result is incorrect (NG in S109), a transfer error command is returned to the main microcomputer 200 (S111).

メインマイコン200は、転送エラー命令が返ると、再送などの誤り訂正処理を行うか、もしくは、画像表示部115にエラー警告を表示して起動処理を終了する。
図5は、図4で正常に転送処理が終了した後、第2プログラムの受信と並行して第1プログラムでサブマイコン206の制御を行うことを示すフローチャートである。
When the transfer error command is returned, the main microcomputer 200 performs error correction processing such as retransmission, or displays an error warning on the image display unit 115 and ends the activation processing.
FIG. 5 is a flowchart showing that the sub-microcomputer 206 is controlled by the first program in parallel with the reception of the second program after the transfer process is normally completed in FIG.

図4のステップS110で正常に第1プログラムの受信を完了すると、PCに第1プログラム領域の先頭アドレスである0x00000004を設定して処理をジャンプさせ、第1プログラムの処理を開始する(S200)。   When the reception of the first program is normally completed in step S110 in FIG. 4, the process is jumped by setting 0x00000004 which is the first address of the first program area to the PC, and the process of the first program is started (S200).

ステップS201からステップS211までの処理は、第1プログラムを受信する処理(S201〜S211)と同様であり、DMAC208に第2プログラム領域の転送情報を設定することでCPUを介さずにプログラム転送を行う。このときの転送元アドレスは受信バッファであり、転送先アドレスは第2プログラム領域の先頭アドレスである0x00007C00、転送サイズは31kバイトである。   The processing from step S201 to step S211 is the same as the processing for receiving the first program (S201 to S211), and the program transfer is performed without going through the CPU by setting the transfer information of the second program area in the DMAC 208. . At this time, the transfer source address is a reception buffer, the transfer destination address is 0x00007C00 which is the top address of the second program area, and the transfer size is 31 kbytes.

ステップS203にて第2プログラムのデータの受信の判定を行い、データを受信していない場合(S203のNO)には、メインマイコン200からサブマイコン206に対する制御命令(制御開始命令)を受信したか否かの判定を行う(S213)。制御命令を受信したことを判定する(S213のYES)と、サブCPU207は、送られて来た命令に従ってサブマイコン206に接続されているデバイスの制御を開始する(S214)。   In step S203, it is determined whether the second program data has been received. If no data has been received (NO in S203), whether a control command (control start command) from the main microcomputer 200 to the sub-microcomputer 206 has been received. It is determined whether or not (S213). If it is determined that a control command has been received (YES in S213), the sub CPU 207 starts control of devices connected to the sub microcomputer 206 in accordance with the received command (S214).

第2プログラムデータ及び制御(開始)命令はメインCPU201からサブCPU207にSIO205,211を介して通信される。サブCPU207の第1プログラムの処理として、メインCPU201から送られたデータを受信し、第2プログラムのデータであるか、制御(開始)命令であるかを判定する。判定した結果、第2プログラムのデータであればメモリ上の第2プログラム領域(図3参照)にデータをコピーし、制御(開始)命令であれば、デバイス(ズームまたはフォーカス)の制御を開始する。   The second program data and control (start) command are communicated from the main CPU 201 to the sub CPU 207 via the SIOs 205 and 211. As processing of the first program of the sub CPU 207, data sent from the main CPU 201 is received, and it is determined whether it is data of the second program or a control (start) command. As a result of the determination, if it is data of the second program, the data is copied to the second program area (see FIG. 3) on the memory, and if it is a control (start) command, control of the device (zoom or focus) is started. .

図5のステップS203とS213では、データ通信が発生しているかを常に監視して、データを受信した場合には、それがプログラムデータか制御(開始)命令のどちらであるかを判定して、その判定に応じて処理を実行する。また、データ通信が発生していない場合にはステップS203,S213がどちらもNOとなり、監視を繰り返すことを示している。プログラムデータはバイト単位で間欠的に送られており、その間に制御開始命令が発生して、プログラムデータのコピーとデバイスの制御演算処理がサブCPU207で同時に行われることを、「並行して」と表現している。   In steps S203 and S213 of FIG. 5, it is always monitored whether data communication is occurring, and when data is received, it is determined whether it is program data or a control (start) command, Processing is executed according to the determination. If no data communication has occurred, steps S203 and S213 are both NO, indicating that monitoring is repeated. Program data is sent intermittently in byte units, and a control start command is generated during that time, and copying of program data and device control calculation processing are performed simultaneously by the sub CPU 207 is referred to as “in parallel”. expressing.

次に、図6から図9までを用いて、撮像装置100における具体的な処理の例を示す。   Next, an example of specific processing in the imaging apparatus 100 will be described using FIGS. 6 to 9.

図6は、レンズ鏡筒101の光軸方向の断面図を示した図である。レンズ鏡筒101は、沈胴式鏡筒であり、図6(a)は繰り出し状態、図6(b)は沈胴状態を示している。   FIG. 6 is a cross-sectional view of the lens barrel 101 in the optical axis direction. The lens barrel 101 is a collapsible lens barrel. FIG. 6A shows the extended state, and FIG. 6B shows the retracted state.

図6において、レンズ鏡筒101は3群構成の鏡筒である。300はズームレンズ102の前群である第1レンズ群、301はズームレンズ102の後群および手振れ補正用の補正レンズ104である。また、絞りシャッタ103からなる第2レンズ群、302はフォーカスレンズ105である第3レンズ群である。各レンズ群は、DCモータやステッピングモータ、超音波モータなどのアクチュエータを動力源として、光軸方向に駆動するメカ機構となっている。第1レンズ群300および第2レンズ群301は、一つのアクチュエータの駆動に連動して撮像素子111からの距離や各群間の距離を変化させることで、ズーム機能を実現している。第3レンズ群302は単独のアクチュエータで駆動することが可能であり、フォーカスレンズ105を移動させることによるビント位置の調整を実現している。また、第2レンズ群301の一部である補正レンズ104は、光軸方向に対して垂直方向に移動させられることで、手振れの軽減を実現する。絞りシャッタ103は、絞りの開口径を変化させることで撮像素子111に露光される露光量の調整を行ったり、シャッタを全閉したりすることで露光を遮断することが可能である。   In FIG. 6, a lens barrel 101 is a three-group barrel. Reference numeral 300 denotes a first lens group that is a front group of the zoom lens 102, and 301 denotes a rear group of the zoom lens 102 and a correction lens 104 for correcting camera shake. A second lens group 302 including the aperture shutter 103 and a third lens group 302 serving as the focus lens 105 are provided. Each lens group is a mechanical mechanism that drives in the optical axis direction using an actuator such as a DC motor, a stepping motor, or an ultrasonic motor as a power source. The first lens group 300 and the second lens group 301 realize a zoom function by changing the distance from the image sensor 111 and the distance between each group in conjunction with driving of one actuator. The third lens group 302 can be driven by a single actuator and realizes adjustment of the bint position by moving the focus lens 105. Further, the correction lens 104 which is a part of the second lens group 301 is moved in a direction perpendicular to the optical axis direction, thereby realizing reduction of camera shake. The aperture shutter 103 can block exposure by adjusting the exposure amount exposed to the image sensor 111 by changing the aperture diameter of the aperture, or by fully closing the shutter.

レンズ鏡筒101の沈胴状態(図6(b)参照)は、各レンズ群が最も接近している状態であり、この沈胴長を短くすることで、カメラの小型化を実現している。第1レンズ群300および第2レンズ群301、すなわちズームレンズ102が沈胴した状態で、第3レンズ群302、すなわちフォーカスレンズ105を駆動すると、ズームレンズ102とフォーカスレンズ105とが衝突して破損する虞がある。したがって、この沈胴状態から繰り出し動作を行うためには、先にズームレンズ102を繰り出させた後、フォーカスレンズ105を駆動する必要がある。同様に、沈胴時にはフォーカスレンズ105を沈胴させた後に、ズームレンズ102を沈胴させる必要がある。このとき、フォーカスレンズ105と比較して、ズームレンズ102は沈胴状態から繰り出し状態となるまでの移動量が大きいため、繰り出し動作が完了するのに時間を要してしまう。そのため、レンズ鏡筒101の全体の繰り出し時間を短縮するように、ズームレンズ102の繰り出し動作が完了する前にフォーカスレンズ105の繰り出し動作を開始するようにしている。   The retracted state of the lens barrel 101 (see FIG. 6B) is a state in which the lens groups are closest to each other, and the size of the camera is reduced by shortening the retracted length. If the third lens group 302, that is, the focus lens 105 is driven in a state where the first lens group 300 and the second lens group 301, that is, the zoom lens 102 are retracted, the zoom lens 102 and the focus lens 105 are collided and damaged. There is a fear. Therefore, in order to perform the extension operation from the retracted state, it is necessary to drive the focus lens 105 after the zoom lens 102 is first extended. Similarly, when retracting, it is necessary to retract the zoom lens 102 after retracting the focus lens 105. At this time, as compared with the focus lens 105, the zoom lens 102 has a large amount of movement from the retracted state to the extended state, so that it takes time to complete the extended operation. Therefore, the extending operation of the focus lens 105 is started before the extending operation of the zoom lens 102 is completed so that the entire extending time of the lens barrel 101 is shortened.

次に、撮像装置100に電源投入され、レンズ鏡筒101が繰り出され、もしくは、沈胴されるまでの処理の流れを説明する。   Next, the flow of processing until the imaging apparatus 100 is turned on and the lens barrel 101 is extended or retracted will be described.

図7は、電源投入から各モードでの起動までの処理を示すフローチャートである。電源投入(S300)後、起動モードが撮影モードであるか再生モードであるか否かの判定を行う(S301)。撮影モードであれば、レンズ鏡筒101が沈胴状態であるか否かの判定を行い(S302)、沈胴状態であればそのまま繰り出し処理を行う(S303)。一方、撮像装置100の電源ON状態で電池が抜かれるなどして、レンズ鏡筒101が繰り出したまま、電源OFF状態となる場合もあり、その状態で電源投入されると、ズームレンズ102およびフォーカスレンズ105のレンズ位置がリセットされる。そのために、一旦、沈胴処理(S303)を行った後に、通常の起動と同様の繰り出し処理を行う(S304)。その後は、撮影モードで起動(S305)を行う。   FIG. 7 is a flowchart showing processing from power-on to activation in each mode. After the power is turned on (S300), it is determined whether the activation mode is the shooting mode or the playback mode (S301). If it is the photographing mode, it is determined whether or not the lens barrel 101 is in the retracted state (S302), and if it is in the retracted state, the feeding process is performed as it is (S303). On the other hand, there is a case where the power is turned off while the lens barrel 101 is extended because the battery is removed while the imaging apparatus 100 is powered on. When the power is turned on in this state, the zoom lens 102 and the focus are turned on. The lens position of the lens 105 is reset. For this purpose, the retracting process (S303) is performed once, and then the feeding process similar to the normal activation is performed (S304). After that, activation is performed in the shooting mode (S305).

また、起動モードが再生モードであった場合も、次にレンズ鏡筒101が沈胴状態であるか否かの判定を行い(S306)、沈胴状態であれば、そのまま沈胴状態で再生モードの起動を行う(S308)。一方、レンズ鏡筒1010が繰り出し状態で電源投入された場合には、レンズ鏡筒101の沈胴処理を行い(S307)、その後に再生モードで起動を行う(S308)。   If the activation mode is the playback mode, it is next determined whether or not the lens barrel 101 is in the retracted state (S306). If the lens barrel 101 is in the retracted state, the playback mode is started in the retracted state. It performs (S308). On the other hand, when the lens barrel 1010 is turned on in the extended state, the lens barrel 101 is retracted (S307), and then activated in the reproduction mode (S308).

前述のように、繰り出し処理では、最初にズームレンズ102を駆動する必要がある。そのため、第1プログラムにはズーム駆動用プログラムが、第2プログラムにはそれ以外のプログラム(実プログラム、フォーカス駆動用プログラムが含まれる)が割り当てられる。沈胴処理では、最初にフォーカスレンズ105を駆動する必要がある。よって、第1プログラムにはフォーカス駆動用プログラムが、第2プログラムにはそれ以外のプログラム(実プログラム)が、それぞれ割り当てられる。メインマイコン200のROM204には、このような2種類のプログラムを格納しておき、起動モードおよび沈胴状態に応じて、転送するプログラムを変更する。   As described above, in the feeding process, it is necessary to drive the zoom lens 102 first. Therefore, a zoom drive program is assigned to the first program, and other programs (including an actual program and a focus drive program) are assigned to the second program. In the retracting process, it is necessary to drive the focus lens 105 first. Therefore, the focus driving program is assigned to the first program, and the other program (actual program) is assigned to the second program. The ROM 204 of the main microcomputer 200 stores these two types of programs, and changes the program to be transferred according to the activation mode and the retracted state.

次に、図8および図9を用いて、プログラム転送とレンズ鏡筒101の処理の流れを説明する。   Next, the flow of program transfer and processing of the lens barrel 101 will be described with reference to FIGS.

カメラシステム制御部116(メインマイコン200内のCPU201に相当)は、図7のステップS302での判定において、レンズ鏡筒101が沈胴状態と判定した場合、ステップS304にて図8に示す繰り出し処理を行う。また、ステップS302もしくはステップS306の判定において、レンズ鏡筒101が繰り出し状態と判定した場合には、ステップS303もしくはステップS307にて図9に示す沈胴処理を行う。   If the camera system control unit 116 (corresponding to the CPU 201 in the main microcomputer 200) determines that the lens barrel 101 is in the retracted state in the determination in step S302 of FIG. 7, the feeding process shown in FIG. 8 is performed in step S304. Do. If it is determined in step S302 or step S306 that the lens barrel 101 is in the extended state, the retracting process shown in FIG. 9 is performed in step S303 or step S307.

繰り出し処理では、電源投入後、カメラシステム制御部116は、図8に示すように、レンズシステム制御部110(サブマイコン200内のCPU206に相当)に対してズーム駆動用プログラムの転送を開始する。レンズシステム制御部110は、プログラムを受信後、チェックサム判定が正常であれば、カメラシステム制御部116に対して受信完了命令を返信する。   In the payout process, after the power is turned on, the camera system control unit 116 starts transferring the zoom driving program to the lens system control unit 110 (corresponding to the CPU 206 in the sub-microcomputer 200) as shown in FIG. If the checksum determination is normal after receiving the program, the lens system control unit 110 returns a reception completion command to the camera system control unit 116.

カメラシステム制御部116は、受信完了命令を受信すると、それ以外の実プログラムをレンズシステム制御部110に転送する。それと同時に、撮像素子111やAFE回路112などの撮像回路の電源投入を開始する。実プログラム転送開始後、撮像回路の突入電流を回避するタイミング(ピーク電流が重ならないタイミング)で、レンズシステム制御部110にズーム繰り出し開始命令を送信する。このように、実プログラムの転送とズーム繰り出し開始命令が平行して行われる。突入電流の検出は、電流検出回路により検出したり、あらかじめ突入電流時間を計測しておき、その時間経過を計測したりすることで検出する等がある。   Upon receiving the reception completion command, the camera system control unit 116 transfers other real programs to the lens system control unit 110. At the same time, power-on of image pickup circuits such as the image pickup element 111 and the AFE circuit 112 is started. After starting the actual program transfer, a zoom feed start command is transmitted to the lens system control unit 110 at a timing for avoiding an inrush current of the imaging circuit (a timing at which peak currents do not overlap). Thus, the transfer of the actual program and the zoom feed start command are performed in parallel. The inrush current is detected by a current detection circuit, or by detecting the inrush current time in advance and measuring the elapsed time.

ズーム制御部109は、レンズシステム制御部110から制御開始命令を受けると、ズームレンズ102の繰り出し処理を開始する。ズーム制御部109は、駆動開始後、突入電流の発生を検出して、カメラシステム制御部116に通知する。カメラシステム制御部116は、このズーム制御部109の突入電流を回避して画像表示部115の電源を投入する。その後、カメラシステム制御部116には、実プログラムの転送完了と、画像表示部115の突入電流終了の通知がされる。また、ズームレンズ102がフォーカスレンズ105と衝突しない位置まで繰り出されたときに、レンズシステム制御部110からフォーカス制御部106を介してフォーカスレンズ105の駆動開始許可命令が通知される。   When receiving a control start command from the lens system control unit 110, the zoom control unit 109 starts the extension process of the zoom lens 102. The zoom control unit 109 detects the occurrence of an inrush current after starting driving and notifies the camera system control unit 116 of the occurrence. The camera system control unit 116 avoids the inrush current of the zoom control unit 109 and turns on the image display unit 115. Thereafter, the camera system control unit 116 is notified of the completion of the transfer of the actual program and the end of the inrush current of the image display unit 115. Further, when the zoom lens 102 is extended to a position where it does not collide with the focus lens 105, the lens system control unit 110 notifies the focus lens 105 drive start permission command via the focus control unit 106.

これらの通知がすべて揃うと、フォーカス制御部106に繰り出し開始命令が送信され、ズームレンズ102とフォーカスレンズ105とが同時に繰り出し動作を行うこととなる。その後、各々のレンズが繰り出し位置まで到達すると、カメラシステム制御部116には繰り出し完了通知がなされ、繰り出し動作が完了する。   When all of these notifications are prepared, a feeding start command is transmitted to the focus control unit 106, and the zoom lens 102 and the focus lens 105 perform the feeding operation simultaneously. Thereafter, when each lens reaches the extended position, the camera system control unit 116 is notified of the completion of extension, and the extension operation is completed.

次に、沈胴処理について、図9にしたがって説明する。   Next, the retracting process will be described with reference to FIG.

電源投入後、カメラシステム制御部116(メインマイコン200内のCPU201)は、レンズシステム制御部110(サブマイコン200内のCPU206)に対してフォーカス駆動用プログラムの転送を開始する。レンズ鏡筒101の沈胴時は、その他の周辺デバイスの駆動は行われない。したがって、フォーカス駆動用プログラムの受信完了後、すぐにカメラシステム制御部116はフォーカス制御部109に沈胴命令を送信する。沈胴開始と同時に、実プログラム(ズーム駆動用プログラムを含む)の転送も開始する。このように、実プログラムの転送とフォーカス沈胴開始命令とが平行して行われる。レンズ鏡筒101の繰り出し時間を短縮するため、ズームレンズ102の駆動速度は、フォーカスレンズ105に対して高速に設定されている。そのため、沈胴時には、ズームレンズ102とフォーカスレンズ105とを同時に駆動すると衝突する虞があるため、沈胴時にはフォーカスレンズ105が沈胴した後、ズームレンズ102の沈胴動作を開始する。ズームレンズ102の沈動が完了した時点で、レンズシステム制御部110はカメラシステム制御部116にレンズ鏡筒101の沈胴完了を通知する。   After the power is turned on, the camera system control unit 116 (CPU 201 in the main microcomputer 200) starts transferring the focus driving program to the lens system control unit 110 (CPU 206 in the sub microcomputer 200). When the lens barrel 101 is retracted, other peripheral devices are not driven. Therefore, immediately after the reception of the focus driving program is completed, the camera system control unit 116 transmits a retracting command to the focus control unit 109. Simultaneously with the start of collapsing, transfer of the actual program (including the zoom driving program) is also started. In this way, the transfer of the actual program and the focus collapse start command are performed in parallel. In order to shorten the feeding time of the lens barrel 101, the driving speed of the zoom lens 102 is set to be higher than that of the focus lens 105. For this reason, when the zoom lens 102 and the focus lens 105 are driven simultaneously, there is a risk of collision when the lens is retracted. Therefore, after the focus lens 105 is retracted when the lens is retracted, the retracting operation of the zoom lens 102 is started. When the zoom lens 102 is completely retracted, the lens system control unit 110 notifies the camera system control unit 116 that the lens barrel 101 has been retracted.

上記実施例1における撮像装置100は、以下の構成要素よりなる。被写体像を撮像して画像信号を出力する撮像手段である撮像素子111を有する。さらに、焦点距離を変更して被写体像の画角を変更するズームレンズ102およびズーム制御部106と、ピント位置を調整するフォーカスレンズ105、フォーカス制御部109とを有する。さらに、システム全体の制御を行う第1CPUであるCPU201、および複数のプログラムを格納する不揮発性メモリであるROM204を有するメインマイコン200を有する。さらに、ズーム制御部106とフォーカス制御部109を制御するプログラムが転送される揮発性メモリであるRAM209を有する。さらに、揮発性メモリに転送されたプログラムにしたがってズーム制御部106とフォーカス制御部109の制御を行う第2CPUを有するサブマイコン206を有する。   The imaging device 100 according to the first embodiment includes the following components. The image sensor 111 is an image pickup unit that picks up a subject image and outputs an image signal. Further, the zoom lens 102 and the zoom control unit 106 that change the focal angle and change the angle of view of the subject image, and the focus lens 105 and the focus control unit 109 that adjust the focus position are provided. Furthermore, it has a main microcomputer 200 having a CPU 201 that is a first CPU for controlling the entire system and a ROM 204 that is a nonvolatile memory for storing a plurality of programs. Furthermore, it has RAM209 which is a volatile memory in which the program which controls the zoom control part 106 and the focus control part 109 is transferred. Furthermore, it has the submicrocomputer 206 which has 2nd CPU which controls the zoom control part 106 and the focus control part 109 according to the program transferred to the volatile memory.

上記ROM204は、ズーム制御部106を制御するための第1プログラムとフォーカス制御部109を制御するための第2プログラムとを分割して格納している。そして、メインマイコン200のCPU201は、第1プログラムと第2プログラムとをサブマイコン206のRAM209に転送する際には、まず第1プログラムと第2プログラムの一方の転送を開始する。そして、サブマイコン206から受信完了を受信すると、第1プログラムと第2プログラムの他方の転送を開始するとともに、並行してズーム制御部106またはフォーカス制御部109の制御開始命令を送信する。サブマイコン206のCPU207は、制御開始命令を受信した後、第1プログラムと第2プログラムの他方を受信するのと並行して、ズーム制御部106またはフォーカス制御部109の制御を行う。   The ROM 204 stores a first program for controlling the zoom control unit 106 and a second program for controlling the focus control unit 109 separately. When transferring the first program and the second program to the RAM 209 of the sub-microcomputer 206, the CPU 201 of the main microcomputer 200 first starts transferring one of the first program and the second program. When the reception completion is received from the sub-microcomputer 206, the other transfer of the first program and the second program is started, and a control start command of the zoom control unit 106 or the focus control unit 109 is transmitted in parallel. After receiving the control start command, the CPU 207 of the sub-microcomputer 206 controls the zoom control unit 106 or the focus control unit 109 in parallel with receiving the other of the first program and the second program.

なお、上記ズーム制御部106の制御開始命令を発生するタイミングは、第1CPUによって行われる起動処理とズーム制御部106の制御処理とで生じる電気的な負荷が重ならないタイミングである。具体的には、撮像素子111および画像表示部115を制御する制御回路に流れる電流とズーム制御部106に流れる電流とでピーク電流が重ならないタイミングである。   It should be noted that the timing for generating the control start command of the zoom control unit 106 is a timing at which electrical loads generated by the startup process performed by the first CPU and the control process of the zoom control unit 106 do not overlap. Specifically, the peak current does not overlap between the current flowing through the control circuit that controls the image sensor 111 and the image display unit 115 and the current flowing through the zoom control unit 106.

また、上記実施例1における撮像装置100は、以下の構成要素を有する。撮影モードか再生モードかを判定するモード判定手段(図7のステップS301)と、ズーム手段(および前記フォーカス手段に含まれる各レンズ)が繰り出し状態か沈胴状態かを判定する状態判定手段(図7のステップS302,S306)とを有する。   In addition, the imaging apparatus 100 according to the first embodiment includes the following components. Mode determining means (step S301 in FIG. 7) for determining whether it is a photographing mode or a reproduction mode, and state determining means (FIG. 7) for determining whether the zoom means (and each lens included in the focus means) is in the extended state or retracted state. Steps S302 and S306).

そして、メインマイコン200のCPU201は、第1プログラムと第2プログラムとをRAM209に転送する際には、以下のようにする。つまり、図7ないし図9に示すように、モード判定手段によって判定された判定結果、および、状態判定手段によって判定された判定結果に応じて、第1のプログラムと第2のプログラムの順番を変更して転送するようにしている。   The CPU 201 of the main microcomputer 200 performs the following when transferring the first program and the second program to the RAM 209. That is, as shown in FIGS. 7 to 9, the order of the first program and the second program is changed according to the determination result determined by the mode determination unit and the determination result determined by the state determination unit. And forward it.

上記のような構成にすることにより、第1、第2プログラムを格納するためのサブマイコン206内のROM210をなくし、あるいは転送プログラムだけを格納することでそのメモリ領域を減らすようにしている。よって、コストおよびチップサイズの削減を図ることができる。また、プログラム転送と周辺デバイスの制御開始命令を並行して行うようにしているので、起動時間の短縮化を図ることができる。さらに、第1CPU201によって行われる起動処理と第2CPU207によって行われるズーム駆動手段またはフォーカス駆動手段の制御開始とで生じる電気的な負荷が重ならないようにしている。よって、ピーク電流を低減させることができ、省電力化を実現することができる。   With the above configuration, the ROM 210 in the sub-microcomputer 206 for storing the first and second programs is eliminated, or the memory area is reduced by storing only the transfer program. Therefore, cost and chip size can be reduced. In addition, since the program transfer and the peripheral device control start command are performed in parallel, the startup time can be shortened. Further, the electrical load generated by the start-up process performed by the first CPU 201 and the start of control of the zoom driving means or the focus driving means performed by the second CPU 207 is prevented from overlapping. Therefore, the peak current can be reduced and power saving can be realized.

次に、本発明の実施例2に係る撮像装置について説明する。図10は、三つのCPUとその周辺装置(ペリフェラル)のハードウェア構成を示すブロック図である。なお。撮像装置の構成は、図1や図6と同様であるものとする。   Next, an image pickup apparatus according to Embodiment 2 of the present invention will be described. FIG. 10 is a block diagram showing the hardware configuration of three CPUs and their peripheral devices (peripherals). Note that. It is assumed that the configuration of the imaging device is the same as that in FIGS.

大容量の不揮発性メモリを持つメインマイコン400と、小容量の不揮発性メモリを持つ二つのサブマイコン406および412によって構成されている。メインマイコン400(CPU401)では、カメラシステム制御部116の制御が行われる。サブマイコン406(CPU407)では、レンズシステム制御部110およびズーム制御部106の制御が、サブマイコン412(CPU413)では、レンズシステム制御部110およびフォーカス制御部109の制御が、それぞれ行われる。また、絞りシャッタ制御部107およびIS制御部108は、サブマイコン406およびサブマイコン412のいずれかで制御が行われる。   The main microcomputer 400 having a large capacity nonvolatile memory and two sub microcomputers 406 and 412 having a small capacity nonvolatile memory are included. In the main microcomputer 400 (CPU 401), the camera system control unit 116 is controlled. The sub-microcomputer 406 (CPU 407) controls the lens system control unit 110 and the zoom control unit 106, and the sub-microcomputer 412 (CPU 413) controls the lens system control unit 110 and the focus control unit 109. The diaphragm shutter control unit 107 and the IS control unit 108 are controlled by either the sub-microcomputer 406 or the sub-microcomputer 412.

上記実施例1と同様に、サブマイコン406および412上の不揮発性メモリ容量は小容量であるため、電源投入時にプログラムを転送する必要がある。このとき、実施例1で説明したように、起動モード(撮影モードもしくは再生モード)およびズームレンズ102の沈胴状態の判定結果に応じて、ズームレンズ102およびフォーカスレンズ105のいずれかを先に駆動する必要がある。したがって、この判定結果に応じて、メインマイコン400からサブマイコン406または412にプログラムを転送する順番を変更する。   As in the first embodiment, since the nonvolatile memory capacity on the sub-microcomputers 406 and 412 is small, it is necessary to transfer the program when the power is turned on. At this time, as described in the first embodiment, either the zoom lens 102 or the focus lens 105 is driven first in accordance with the determination result of the startup mode (shooting mode or playback mode) and the retracted state of the zoom lens 102. There is a need. Therefore, the order of transferring the program from the main microcomputer 400 to the sub-microcomputer 406 or 412 is changed according to the determination result.

また、複数の起動モードから選択されたモードを判定する、つまり撮影モードか再生モードかを判定するモード判定手段と、前記ズーム手段および前記フォーカス手段の状態を判定する状態判定手段とを有する。そして、モード判定手段によって判定された判定結果、および、状態判定手段によって判定された判定結果に応じて、第1のプログラムと前記第2のプログラムを転送する順番を変更して転送するようにしている。   In addition, a mode determining unit that determines a mode selected from a plurality of activation modes, that is, a shooting mode or a playback mode, and a state determination unit that determines states of the zoom unit and the focusing unit. Then, the transfer order of the first program and the second program is changed according to the determination result determined by the mode determination unit and the determination result determined by the state determination unit. Yes.

よって、実施例2においても、プログラムを格納するための不揮発性メモリをなくし、あるいはそのメモリ領域を減らすようにしているので、コストおよびチップサイズの削減を図ることができる。また、プログラム転送と周辺デバイスの制御開始命令を並行して行うようにしているので、起動時間の短縮化を図ることができる。さらに、実施例1と同様に、ピーク電流を低減でき、省電力化を実現することができる。   Therefore, also in the second embodiment, the nonvolatile memory for storing the program is eliminated or the memory area is reduced, so that the cost and the chip size can be reduced. In addition, since the program transfer and the peripheral device control start command are performed in parallel, the startup time can be shortened. Furthermore, like the first embodiment, the peak current can be reduced, and power saving can be realized.

上記実施例1および2では、CPUが二つまたは三つの場合を説明したが、四つ以上であってもよい。また、CPU間の通信がシリアル通信である例を示したが、バスで直接接続されていてもよい。   In the first and second embodiments, two or three CPUs have been described. However, four or more CPUs may be used. Moreover, although the example in which the communication between the CPUs is serial communication has been shown, they may be directly connected by a bus.

(発明と実施例の対応)
本発明において、ズーム制御部106が本発明の第1駆動手段、ズーム制御手段に相当し、フォーカス制御部109が本発明の第2駆動手段、フォーカス制御手段に相当する。また、図7のステップS301の動作を行う部分が、本発明の、起動モードを判定するモード判定手段、撮影モードか再生モードかを判定するモード判定手段に相当する。また、図7のステップS302,S306の動作を行う部分が、本発明の、第1駆動手段または第2駆動手段の状態を判定する状態判定手段、ズームレンズが繰り出し状態か沈胴状態かを判定する状態判定手段に相当する。
(Correspondence between Invention and Example)
In the present invention, the zoom control unit 106 corresponds to the first drive unit and zoom control unit of the present invention, and the focus control unit 109 corresponds to the second drive unit and focus control unit of the present invention. 7 corresponds to the mode determination means for determining the activation mode and the mode determination means for determining whether the mode is the shooting mode or the playback mode. 7 is a state determination unit that determines the state of the first drive unit or the second drive unit of the present invention, and determines whether the zoom lens is in the extended state or the retracted state. It corresponds to a state determination means.

200 メインマイコン
201 メインCPU
202 データ転送装置
204 不揮発性メモリ
206 サブマイコン
207 サブCPU
208 データ転送装置
209 揮発性メモリ
200 Main microcomputer 201 Main CPU
202 Data transfer device 204 Non-volatile memory 206 Sub-microcomputer 207 Sub-CPU
208 Data transfer device 209 Volatile memory

Claims (6)

システム全体の制御を行う第1CPU、および複数のプログラムを格納する不揮発性メモリを有するメインマイコンと、
第1駆動手段、第2駆動手段を制御するためのプログラムが前記メインマイコンの不揮発性メモリから転送される揮発性メモリ、および前記揮発性メモリに転送されたプログラムにしたがって前記第1駆動手段と前記第2駆動手段の制御を行う第2CPUを有する少なくとも一つのサブマイコンとを有する携帯機器において、
前記メインマイコンの不揮発性メモリは、前記第1駆動手段を制御するための第1プログラムと前記第2駆動手段を制御するための第2プログラムとを分割して格納しており、
前記第1CPUは、前記第1プログラムと前記第2プログラムを前記サブマイコンの揮発性メモリに転送する際には、まず前記第1プログラムと前記第2プログラムの一方の転送を開始し、前記サブマイコンから受信完了を受信すると、前記第1プログラムと前記第2プログラムの他方の転送を開始するとともに、並行して前記第1駆動手段または前記第2駆動手段の制御開始命令を送信し、
前記第2CPUは、前記制御開始命令を受信した後、前記メインマイコンからの前記第1プログラムと前記第2プログラムの他方を受信するのと並行して、前記第1プログラムと前記第2プログラムの一方にしたがって前記第1駆動手段または前記第2駆動手段の制御を行うことを特徴とする携帯機器。
A first CPU for controlling the entire system, and a main microcomputer having a nonvolatile memory for storing a plurality of programs;
A volatile memory in which a program for controlling the first driving means and the second driving means is transferred from the nonvolatile memory of the main microcomputer, and the first driving means and the program according to the program transferred to the volatile memory In a portable device having at least one sub-microcomputer having a second CPU for controlling the second driving means,
The nonvolatile memory of the main microcomputer stores a first program for controlling the first driving means and a second program for controlling the second driving means separately,
When the first CPU transfers the first program and the second program to the volatile memory of the sub-microcomputer, the first CPU starts to transfer one of the first program and the second program. When the reception completion is received from, the other transfer of the first program and the second program is started, and at the same time, the control start command of the first drive means or the second drive means is transmitted,
The second CPU receives one of the first program and the second program in parallel with receiving the other of the first program and the second program from the main microcomputer after receiving the control start command. The portable device is configured to control the first driving unit or the second driving unit according to the above.
前記第1プログラムと前記第2プログラムの一方にしたがって前記第1駆動手段または前記第2駆動手段の制御を開始するタイミングは、前記第1CPUによって行われる起動処理と前記第2CPUによって行われる前記第1駆動手段または前記第2駆動手段の制御開始とで生じる電気的な負荷が重ならないタイミングであることを特徴とする請求項1に記載の携帯機器。   The timing for starting the control of the first driving means or the second driving means in accordance with one of the first program and the second program is the startup process performed by the first CPU and the first performed by the second CPU. The portable device according to claim 1, wherein the electric loads generated when the driving unit or the second driving unit starts controlling do not overlap. 複数の起動モードから選択されたモードを判定するモード判定手段と、
前記第1駆動手段または前記第2駆動手段の状態を判定する状態判定手段とを有し、
前記第1CPUは、前記第1プログラムと前記第2プログラムの一方を前記サブマイコンの揮発性メモリに転送する際には、前記モード判定手段によって判定された判定結果、および前記状態判定手段によって判定された判定結果に応じて、前記第1のプログラムと前記第2のプログラムを転送する順番を変更して転送することを特徴とする請求項1または2に記載の携帯機器。
Mode determining means for determining a mode selected from a plurality of startup modes;
State determination means for determining the state of the first drive means or the second drive means,
When transferring one of the first program and the second program to the volatile memory of the sub-microcomputer, the first CPU is determined by the determination result determined by the mode determination unit and the state determination unit. The portable device according to claim 1 or 2, wherein the transfer order of the first program and the second program is changed according to the determination result.
前記第2CPUは、転送プログラムを格納する不揮発性メモリを有することを特徴とする請求項1ないし3のいずれかに記載の携帯機器。   The portable device according to claim 1, wherein the second CPU has a nonvolatile memory that stores a transfer program. 請求項1ないし4のいずれかに記載の携帯機器としての撮像装置であって、
前記第1駆動手段であるズーム制御手段と、
前記第2駆動手段であるフォーカス制御手段とを有することを特徴とする撮像装置。
An imaging apparatus as a portable device according to any one of claims 1 to 4,
Zoom control means as the first drive means;
An imaging apparatus comprising: focus control means that is the second drive means.
請求項3に記載の携帯機器としての撮像装置であって、
前記第1駆動手段であるズーム制御手段と、
前記第2駆動手段であるフォーカス制御手段とを有し、
前記モード判定手段は、起動モードが撮影モードか再生モードかを判定し、
前記状態判定手段は、前記ズーム制御手段により制御されるズームレンズが繰り出し状態か沈胴状態かを判定することを特徴とする撮像装置。
An imaging apparatus as a portable device according to claim 3,
Zoom control means as the first drive means;
Focus control means that is the second drive means,
The mode determination means determines whether the start mode is a shooting mode or a playback mode,
The imaging apparatus according to claim 1, wherein the state determination unit determines whether the zoom lens controlled by the zoom control unit is in a retracted state or a retracted state.
JP2009048821A 2009-03-03 2009-03-03 Portable device and imaging device Expired - Fee Related JP5202388B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009048821A JP5202388B2 (en) 2009-03-03 2009-03-03 Portable device and imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009048821A JP5202388B2 (en) 2009-03-03 2009-03-03 Portable device and imaging device

Publications (2)

Publication Number Publication Date
JP2010204326A true JP2010204326A (en) 2010-09-16
JP5202388B2 JP5202388B2 (en) 2013-06-05

Family

ID=42965882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009048821A Expired - Fee Related JP5202388B2 (en) 2009-03-03 2009-03-03 Portable device and imaging device

Country Status (1)

Country Link
JP (1) JP5202388B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015152839A (en) * 2014-02-18 2015-08-24 キヤノン株式会社 Lens device and imaging device
JP2020062250A (en) * 2018-10-18 2020-04-23 株式会社ユニバーサルエンターテインメント Game machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07334476A (en) * 1994-06-10 1995-12-22 Tec Corp Program transferring device
JP2001134543A (en) * 2000-08-02 2001-05-18 Canon Inc Electronic equipment
JP2007017746A (en) * 2005-07-08 2007-01-25 Konica Minolta Photo Imaging Inc Imaging system, camera main body and lens
JP2007026318A (en) * 2005-07-20 2007-02-01 Nec Corp Mobile phone, system and method for generating program, and system and method for updating program
JP2007042475A (en) * 2005-08-04 2007-02-15 Sumitomo Wiring Syst Ltd Electric wire for automobile
JP2007194931A (en) * 2006-01-19 2007-08-02 Fujifilm Corp Photographing apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07334476A (en) * 1994-06-10 1995-12-22 Tec Corp Program transferring device
JP2001134543A (en) * 2000-08-02 2001-05-18 Canon Inc Electronic equipment
JP2007017746A (en) * 2005-07-08 2007-01-25 Konica Minolta Photo Imaging Inc Imaging system, camera main body and lens
JP2007026318A (en) * 2005-07-20 2007-02-01 Nec Corp Mobile phone, system and method for generating program, and system and method for updating program
JP2007042475A (en) * 2005-08-04 2007-02-15 Sumitomo Wiring Syst Ltd Electric wire for automobile
JP2007194931A (en) * 2006-01-19 2007-08-02 Fujifilm Corp Photographing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015152839A (en) * 2014-02-18 2015-08-24 キヤノン株式会社 Lens device and imaging device
JP2020062250A (en) * 2018-10-18 2020-04-23 株式会社ユニバーサルエンターテインメント Game machine

Also Published As

Publication number Publication date
JP5202388B2 (en) 2013-06-05

Similar Documents

Publication Publication Date Title
TWI241135B (en) Camera, starting method of camera and program
US7934111B2 (en) Apparatus and method for allowing quick activation of electronic equipment, and recording medium having a program stored thereon for performing such method
US8176305B2 (en) Information processing apparatus, activation method, and program
US7822339B2 (en) Interchangeable lens
US20070242300A1 (en) Electronic device, and external device control method using said electronic device
EP3432572B1 (en) Image capturing accessory, image capturing apparatus, control method thereof and communication control program
KR20010025054A (en) Method and apparatus to control the behavior of a digital camera by detecting connectivity to a universal serial bus
US9026175B2 (en) Electronic device, method of controlling the same, and program
JP5202388B2 (en) Portable device and imaging device
JP5014017B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP5304458B2 (en) Electronic camera
JP2009211339A (en) Optical apparatus
US11405551B2 (en) Imaging apparatus
JP4261815B2 (en) Imaging device
JP4880352B2 (en) Electronic device and version upgrade method
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP2013097715A (en) Electronic device and program
JP2007156855A (en) Information processor and information processing method
JP4836233B2 (en) Image processing apparatus, control method therefor, computer program, and storage medium
JP4700675B2 (en) Imaging device
JP5495761B2 (en) Imaging apparatus, control method thereof, and program
JP4136528B2 (en) Imaging device
JP7345109B2 (en) Imaging device
US8514324B2 (en) Image input apparatus, a method of controlling thereof and a computer-readable storage medium
JP2005277799A (en) Apparatus

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100630

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120229

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121228

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130212

R151 Written notification of patent or utility model registration

Ref document number: 5202388

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20160222

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees