KR20070026059A - Digital camera, storage medium recording operation frequency setting program and image processing device - Google Patents

Digital camera, storage medium recording operation frequency setting program and image processing device Download PDF

Info

Publication number
KR20070026059A
KR20070026059A KR1020060081641A KR20060081641A KR20070026059A KR 20070026059 A KR20070026059 A KR 20070026059A KR 1020060081641 A KR1020060081641 A KR 1020060081641A KR 20060081641 A KR20060081641 A KR 20060081641A KR 20070026059 A KR20070026059 A KR 20070026059A
Authority
KR
South Korea
Prior art keywords
operating frequency
image buffer
image
image data
state
Prior art date
Application number
KR1020060081641A
Other languages
Korean (ko)
Other versions
KR100817978B1 (en
Inventor
준 호소다
Original Assignee
가시오게산키 가부시키가이샤
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 가시오게산키 가부시키가이샤 filed Critical 가시오게산키 가부시키가이샤
Publication of KR20070026059A publication Critical patent/KR20070026059A/en
Application granted granted Critical
Publication of KR100817978B1 publication Critical patent/KR100817978B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/10675Data buffering arrangements, e.g. recording or playback buffers aspects of buffer control
    • G11B2020/10712Data buffering arrangements, e.g. recording or playback buffers aspects of buffer control buffer capacity, e.g. when the buffer capacity is exhausted, buffered data are overwritten with more recent data, accepting that the old data are lost

Abstract

A digital camera, a storage medium recording an operation frequency setting program and an image processing device are provided to control the operation speed of the device at the speed suitable for operation of storing image data in the storage medium when the image data is stored, thereby increasing a battery life and enabling continuous photography at short intervals. A digital camera(1) comprises the followings: an image buffer which temporarily stores image data; a processing device(2) which controls each part of the camera(1) while reading the image data and recording the image data in a storage medium; a determination unit which determines a state of the image buffer; and a setting unit which sets the operation frequency of the processing device as an operation frequency by the state of the image buffer determined by the determination unit.

Description

디지털카메라, 동작주파수 설정 프로그램을 기억한 기억매체 및 화상처리장치{DIGITAL CAMERA, STORAGE MEDIUM RECORDING OPERATION FREQUENCY SETTING PROGRAM AND IMAGE PROCESSING DEVICE}Digital camera, storage medium and image processing device that stores operating frequency setting program {DIGITAL CAMERA, STORAGE MEDIUM RECORDING OPERATION FREQUENCY SETTING PROGRAM AND IMAGE PROCESSING DEVICE}

도 1은 본 발명의 각 실시형태에 공통되는 디지털카메라의 블록도이다. 1 is a block diagram of a digital camera common to each embodiment of the present invention.

도 2는 동일 디지털카메라의 플래시메모리에 격납되어 있는 프로그램에 있어서의 태스크 구성을 나타낸 블록도이다. 2 is a block diagram showing a task configuration in a program stored in a flash memory of the same digital camera.

도 3은 제 1 실시형태에 관련되는 REC모드에 있어서의 동작내용과 동작주파수의 변화를 나타낸 도면이다. FIG. 3 is a diagram showing changes in operation contents and operating frequencies in a REC mode according to the first embodiment. FIG.

도 4는 REC메인태스크에서의 CPU의 주파수변경처리를 나타낸 흐름도이다. 4 is a flowchart showing the frequency change processing of the CPU in the REC main task.

도 5는 동일 REC메인태스크와 병행하여 실행되는 REC매니저태스크에서의 CPU의 처리내용을 나타낸 흐름도이다. Fig. 5 is a flowchart showing the processing contents of the CPU in the REC manager task executed in parallel with the same REC main task.

도 6은 화상버퍼의 데이터의 기억상태의 변화를 나타내는 천이도이다. Fig. 6 is a transition diagram showing a change in the storage state of data in the image buffer.

도 7은 제 2 실시형태에 있어서의 REC메인태스크에서의 CPU의 주파수변경처리를 나타낸 흐름도이다. Fig. 7 is a flowchart showing the frequency change processing of the CPU in the REC main task in the second embodiment.

도 8은 동일 REC메인태스크와 병행하여 실행되는 REC매니저태스크에서의 CPU의 처리내용을 나타낸 흐름도이다. Fig. 8 is a flowchart showing the processing contents of the CPU in the REC manager task executed in parallel with the same REC main task.

※도면의 주요부분에 대한 부호의 설명※ Explanation of symbols for main parts of drawing

1: 디지털카메라 2: CPU 1: digital camera 2: CPU

8: CCD 12: 화상처리부 8: CCD 12: image processing unit

13: SDRAM 14: 액정모니터(LCD) 13: SDRAM 14: LCD

15: 외부메모리 16: 플래시메모리 15: External memory 16: Flash memory

17: 마이크로컴퓨터 18: 키 입력부 17: microcomputer 18: key input

19: 배터리 20: 전원제어회로19: battery 20: power supply control circuit

본 발명은 촬영에 의해 취득한 화상을 화상데이터로서 기록하는 디지털카메라, 동작주파수 설정 프로그램을 기억한 기억매체 및 화상처리장치에 관한 것이다.The present invention relates to a digital camera for recording, as image data, an image acquired by photographing, a storage medium storing an operating frequency setting program, and an image processing apparatus.

종래 디지털카메라에 있어서는 촬영시에 얻어지는 화상데이터를 버퍼메모리에 일시 기억시키고, 상기 버퍼메모리에 일시 기억된 화상데이터가 소정 단위에 이르면, 상기 소정 단위의 화상데이터마다 소정의 압축처리를 실시하는 것으로, 예를 들면, JPEG형식의 화상데이터(JPEG데이터)에 상기 버퍼메모리내에서 변환하고, 그것을 메모리카드 등의 기록매체에 전송하여 기입하는 것이 실행되고 있다. 그리고 상기 버퍼메모리에 일시 기억된 JPEG데이터는 상기 기록매체로의 전송이나 기입처리의 종료에 동반하여 상기 버퍼메모리로부터 소거되던지, 또는 그것으로의 덮어쓰기 처리가 허가된다. In a conventional digital camera, image data obtained at the time of shooting is temporarily stored in a buffer memory, and when the image data temporarily stored in the buffer memory reaches a predetermined unit, a predetermined compression process is performed for each image data of the predetermined unit. For example, JPEG data is converted into image data (JPEG data) in the buffer memory, and transferred to a recording medium such as a memory card for writing. JPEG data temporarily stored in the buffer memory is erased from or overwritten with the buffer memory upon completion of transfer to the recording medium or completion of write processing.

또, 상기 버퍼메모리에 충분한 빈용량이 존재하고 있을 때는 적어도 상기 버 퍼메모리로의 일시기억이 완료되어 있으면, 변환되는 JPEG데이터를 소실하는 일없이 다음의 촬영으로 이행할 수 있는 것을 이용하여, 상기 버퍼메모리로의 화상데이터의 기억처리 등을 우선해서 실시하고, 상기 기록매체로의 전송이나 기입처리에 대한 우선순위를 그것보다도 낮추어 실시하는 것으로 더욱 짧은 시간 간격으로 다음의 촬영을 실행하는, 소위, 속사나 연사를 가능하게 한 디지털카메라도 알려져 있다. When there is sufficient free space in the buffer memory, if at least temporary storage to the buffer memory is completed, it is possible to move to the next shooting without losing the converted JPEG data. The so-called speeding up of performing the next shooting at a shorter time interval is performed by giving priority to the storage processing of the image data to the buffer memory, etc., and lowering the priority for the transfer to the recording medium and the writing processing. Digital cameras are also known that enable the speaker and speaker.

그런데, 휴대정보처리단말에 있어서는 중앙처리장치, 즉 CPU(Central Processing Unit), 또는 MPU(Micro Processor Unit)의 동작주파수(구동주파수)를 부하가 무거울 때에는 증대시키고, 부하가 가벼울 때에는 감소시킨다고 한, 부하량에 따라 동작주파수를 변화시킴으로써 그 소비전력을 저감시키는 것이 알려져 있다. 환언하면, CPU 등의 단위시간당에 처리하는 것이 가능한 처리량으로서의 동작 속도를 단위시간내에 대처해야 할 처리량이 많을 때에는 증대시키고, 적을 때에는 감소시킨다고 한, 단위시간내에 대처해야 할 처리량에 따라 동작주파수를 변화시킴으로써 그 소비전력을 저감시키는 것이 알려져 있다(예를 들면, 일본국 특개2002-366252호 공보 참조.).By the way, in the portable information processing terminal, the operating frequency (driving frequency) of the central processing unit, i.e., the central processing unit (CPU) or the microprocessor unit (MPU), is increased when the load is heavy and decreased when the load is light. It is known to reduce the power consumption by changing the operating frequency in accordance with the load amount. In other words, the operating frequency is changed according to the throughput to be handled within the unit time, such that the operation speed as the throughput capable of processing per unit time of the CPU or the like is increased when the throughput to cope within the unit time is large and decreases when it is less. It is known to reduce the power consumption by the use thereof (see, for example, Japanese Patent Laid-Open No. 2002-366252).

그러나 종래의 디지털카메라에 있어서는 CPU 등의 동작주파수가 고정되어 있는 것이 일반적이었다. 그로 인해 동작중에는 데이터처리량 등에 비해 동작주파수가 필요 이상으로 높은 상태에 있는 것도 많고, 그와 같은 상태에서는 전원으로 하고 있는 전지(2차전지)가 쓸데없이 소비되기 때문에 전지수명, 즉 연속가동시간의 장기화를 도모하는데 있어서의 방해로 되어 있었다. 이와 같은 것으로부터 디지털카메라에 있어서도 동작주파수를 변화시키는 것을 생각할 수 있다. 그 경우, 촬영시(버퍼메모리로의 화상데이터의 로딩시)에는 CPU 등의 동작주파수를 높게 하고, 스루화상을 표시하고 있는 촬영대기상태에서는 CPU 등의 동작주파수를 낮게 하면, 전지의 쓸데없는 소비를 효과적으로 억제할 수 있다고 생각할 수 있다. However, in the conventional digital camera, the operating frequency of the CPU or the like is generally fixed. Therefore, during operation, the operating frequency is often higher than necessary compared to the data throughput, and in such a state, the battery (secondary battery) used as a power source is wasted. It was a hindrance to planning for prolongation. From this, it is conceivable to change the operating frequency even in a digital camera. In that case, if the operating frequency of the CPU or the like is increased at the time of shooting (loading image data into the buffer memory) and the operating frequency of the CPU or the like is lowered in the shooting standby state where the through image is displayed, the wasteful battery is consumed. Can be effectively suppressed.

그러나 상기한 바와 같이, 버퍼메모리로의 화상데이터의 기억처리 등을 우선하여 실시하고, 기록매체로의 전송이나 기입처리에 대한 우선순위를 그것보다도 낮추어서 실시한 경우에는 스루화상을 표시하는 촬영대기상태로 이행한 후에도 기록매체로의 전송이나 기입처리가 연이어 실시되고 있는 기간이 존재한다. 이와 같은 때에 CPU 등의 동작주파수를 낮게 하면, 예를 들면, 연속해서 속사나 연사가 실시된 것 같은 때에는 이전에 촬영한 화상데이터가 버퍼메모리에 차례 차례로 축적되고, 이윽고 버퍼메모리의 빈용량이 없어져 일시적으로 다음의 촬영을 즉시 실행할 수 없게 된다고 하는 문제가 있었다. As described above, however, the storage processing of the image data to the buffer memory is first performed, and if the priority for the transfer to the recording medium or the writing process is lowered than that, the through image is displayed in the standby standby state. Even after the transition, there is a period in which the transfer to the recording medium and the writing process are performed successively. If the operating frequency of the CPU or the like is lowered at such a time, for example, when continuous firing or continuous shooting is performed, previously shot image data is sequentially stored in the buffer memory, and the free space in the buffer memory is lost. There was a problem that the next shooting could not be executed immediately.

즉, 더욱 짧은 간격에서의 연속촬영을 가능하게 하기 위해 촬영시에 얻어지는 화상데이터를 버퍼메모리에 일시 기억한 후, 그것을 메모리카드 등의 기록매체에 기입하는 것으로 다음의 촬영까지의 대기시간을 삭감할 경우, 버퍼메모리로부터 기록매체에 화상데이터를 기입하는 동작이 촬영동작의 종료 후의 다음의 촬영을 대기하고 있는 동안에 그것과 병행하여 실행되는 것으로 된다. 따라서, 상기한 바와 같이 촬영대기상태에서의 동작주파수를 낮게 하면, 화상데이터의 기록매체로의 기입이 종료되기 이전에 그 처리속도를 낮추어 버리게 된다. 그로 인해, 촬영이 연속해서 실행되면, 버퍼메모리에 전의 화상이 차례 차례로 축적되고, 이윽고 다음의 촬영을 즉시 실행할 수 없게 된다고 하는 문제가 있었다. In other words, in order to enable continuous shooting at shorter intervals, image data obtained at the time of shooting is temporarily stored in a buffer memory, and then written to a recording medium such as a memory card to reduce the waiting time until the next shooting. In this case, the operation of writing the image data from the buffer memory to the recording medium is executed in parallel with it while waiting for the next shooting after the shooting operation is finished. Therefore, as described above, when the operating frequency in the shooting standby state is lowered, the processing speed is lowered before the writing of the image data to the recording medium is finished. Therefore, when shooting is performed continuously, there is a problem that the previous images are stored in the buffer memory one after another, and the next shooting cannot be performed immediately.

본 발명은 이와 같은 종래의 과제에 감안하여 이루어진 것이고, 전지수명의 장기화를 도모하면서 연속한 속사나 연사라고 한 짧은 시간 간격에서의 연속촬영을 가능하게 하는 디지털카메라, 및 그 실현에 사용되는 동작주파수 설정 프로그램과, 전지수명의 장기화를 도모하면서 짧은 시간 간격에서의 화상데이터의 연속기록이 가능하게 되는 화상처리장치를 제공하는 것을 목적으로 한다. SUMMARY OF THE INVENTION The present invention has been made in view of such a conventional problem, and it is possible to prolong the battery life, and to enable continuous shooting at short time intervals such as continuous shooting or continuous shooting, and a digital camera capable of realizing the same. It is an object of the present invention to provide a setting program and an image processing apparatus which enables continuous recording of image data at short time intervals while prolonging battery life.

상기 과제를 해결하기 위한 청구항 1의 발명에 있어서는, 촬영에 의해 취득된 화상데이터를 화상버퍼에 일시 기억한 후, 그 화상버퍼로부터 기록매체에 기록시키는 디지털카메라에 있어서, 상기 화상버퍼로부터 그곳에 일시 기억되어 있는 화상데이터를 판독하여 상기 기록매체에 기록시키는 동시에, 카메라의 각부를 제어하는 처리장치와, 상기 화상버퍼의 상태를 판정하는 판정수단과, 상기 처리장치의 동작주파수를 상기 판정수단에 의해 판정된 화상버퍼의 상태에 따른 동작주파수로 설정하는 설정수단을 구비하고, 상기 처리장치는 상기 설정수단에 의해 설정된 동작주파수에 의거하여 동작하는 것으로 했다. In the invention of claim 1 for solving the above problems, a digital camera which temporarily stores image data obtained by photographing in an image buffer, and then records the image data on the recording medium from the image buffer, and temporarily stores therein from the image buffer. A processing apparatus which reads out the recorded image data and records it on the recording medium and controls the respective parts of the camera, determining means for determining the state of the image buffer, and determining the operating frequency of the processing apparatus by the determining means. And setting means for setting to an operating frequency in accordance with the state of the image buffer, wherein the processing apparatus operates based on the operating frequency set by the setting means.

또, 청구항 2의 발명에 있어서는, 상기 판정수단은 상기 화상버퍼의 사용 유무를 판정하고, 상기 설정수단은 상기 판정수단에 의해 화상버퍼가 사용되고 있다고 판정되었을 때 상기 처리장치의 동작주파수를 제 1 동작주파수로 설정하는 동시에, 상기 판정수단에 의해 화상버퍼가 사용되고 있지 않다고 판정되었을 때 상기 처리장치의 동작주파수를 상기 제 1 동작주파수보다도 낮은 제 2 동작주파수로 설 정하는 것으로 했다. In the invention of claim 2, the determining means determines whether the image buffer is in use or not, and the setting means determines the operating frequency of the processing apparatus when the image buffer is used by the determining means. At the same time as the frequency setting, when it is determined by the determining means that the image buffer is not in use, the operating frequency of the processing apparatus is set to a second operating frequency lower than the first operating frequency.

또, 청구항 3의 발명에 있어서는, 상기 판정수단은 상기 화상버퍼의 빈용량의 상태를 판정하고, 상기 설정수단은 상기 처리장치의 동작주파수를 상기 판정수단에 의해 판정된 빈용량의 상태에 따른 동작주파수로 설정하는 것으로 했다. In the invention of claim 3, the determining means determines the state of the empty capacity of the image buffer, and the setting means operates the frequency of operation of the processing apparatus according to the state of the empty capacity determined by the determining means. We set in frequency.

또, 청구항 4의 발명에 있어서는, 상기 판정수단은 상기 화상버퍼의 빈용량이 소정의 임계값 이상인지 아닌지를 판단함으로써 상기 화상버퍼의 빈용량의 상태를 판정하고, 상기 설정수단은 상기 판정수단에 의해 화상버퍼의 빈용량이 소정의 임계값 이상이 아니라고 판단되었을 때 상기 처리장치의 동작주파수를 제 1 동작주파수로 설정하는 동시에, 상기 판정수단에 의해 화상버퍼의 빈용량이 소정의 임계값 이상이라고 판단되었을 때 상기 처리장치의 동작주파수를 상기 제 1 동작주파수보다도 낮은 제 2 동작주파수로 설정하는 것으로 했다.Further, in the invention of claim 4, the determining means determines the state of the empty capacity of the image buffer by judging whether or not the empty capacity of the image buffer is equal to or larger than a predetermined threshold value, and the setting means determines the determination means. When it is determined that the free capacity of the image buffer is not equal to or greater than a predetermined threshold, the operating frequency of the processing apparatus is set to the first operating frequency, and the determining means indicates that the free capacity of the image buffer is equal to or greater than a predetermined threshold value. When it is determined, the operating frequency of the processing apparatus is set to a second operating frequency lower than the first operating frequency.

또, 청구항 5의 발명에 있어서는, 상기 판정수단이 상기 화상버퍼의 빈용량의 상태를 판정할 때의 상기 임계값을 기억하는 임계값 기억수단과, 상기 임계값 기억수단에 기억된 임계값을 변경하는 임계값 변경수단을 구비하고, 상기 설정수단은 상기 처리장치의 동작주파수를 상기 임계값 변경수단에 의해 변경된 후의 임계값에 의거하여 상기 판정수단에 의해 판정된 빈용량의 상태에 따른 동작주파수로 설정하는 것으로 했다. Further, in the invention of claim 5, the threshold value storage means for storing the threshold value when the determination means determines the state of the empty capacity of the image buffer and the threshold value stored in the threshold value storage means are changed. And a threshold value changing means, wherein said setting means is set to an operating frequency in accordance with the state of the vacant capacity determined by said determining means based on a threshold value after said operating frequency of said processing apparatus is changed by said threshold value changing means. We decided to set.

또, 청구항 6의 발명에 있어서는, 전원 전지의 잔량을 검출하는 잔량검출수단을 구비하고, 상기 판정기준변경수단은 상기 잔량검출수단에 의해 검출된 전원 전지의 잔량에 의거하여 상기 판정기준을 변경하는 것으로 했다. In the invention according to claim 6, there is provided a remaining amount detecting means for detecting a remaining amount of the power supply battery, wherein said determining criterion changing means changes the determining criteria based on the remaining amount of the power supply battery detected by said remaining amount detecting means. I did it.

또, 청구항 7의 발명에 있어서는, 촬영에 의해 취득된 화상데이터를 기록매체에 기록하는 디지털카메라가 갖는 컴퓨터를, 상기 화상데이터를 일시 기억하는 화상버퍼의 상태를 판정하는 판정수단과, 상기 화상버퍼에 일시 기억된 화상데이터를 판독하여 상기 기록매체에 기록시키는 동시에, 카메라의 각부를 제어하는 처리장치의 동작주파수를 상기 판정수단에 의해 판정된 화상버퍼의 상태에 따른 동작주파수로 설정하는 설정수단으로서 기능시키기 위한 동작주파수 설정 프로그램을 기억한 기억매체로 했다. In the invention of claim 7, the determining means for determining a state of an image buffer for temporarily storing the image data, the computer having a digital camera for recording the image data acquired by shooting on a recording medium, and the image buffer. As setting means for reading out the temporarily stored image data in the recording medium and recording it on the recording medium, and setting the operating frequency of the processing apparatus for controlling each part of the camera to the operating frequency according to the state of the image buffer determined by the determining means. An operating frequency setting program for functioning was stored as a storage medium.

또, 청구항 8의 발명에 있어서는, 화상데이터를 제 1 기억수단에 일시 기억한 후, 그 제 1 기억수단으로부터 제 2 기억수단에 기억시키는 화상처리장치로서, 상기 제 1 기억수단으로부터 그곳에 일시 기억되어 있는 화상데이터를 판독하여 상기 제 2 기억수단에 기록시키는 동시에, 장치의 각부를 제어하는 처리장치와, 상기 제 1 기억수단의 상태를 판정하는 판정수단과, 상기 처리장치의 동작주파수를 상기 판정수단에 의해 판정된 화상버퍼의 상태에 따른 동작주파수로 설정하는 설정수단을 구비하고, 상기 처리장치는 상기 설정수단에 의해 설정된 동작주파수에 의거하여 동작하는 것으로 했다. In the invention of claim 8, the image processing apparatus stores temporarily the image data in the first storage means, and then stores the image data in the second storage means from the first storage means, and is temporarily stored therein from the first storage means. A processing apparatus which reads out the image data and records it in the second storage means, controls each part of the apparatus, determination means for determining the state of the first storage means, and an operating frequency of the processing apparatus. And setting means for setting to an operating frequency in accordance with the state of the image buffer determined by the above, wherein the processing apparatus is operated based on the operating frequency set by the setting means.

(실시형태 1) (Embodiment 1)

이하, 본 발명의 한 실시형태를 도면에 따라서 설명한다. 도 1은 AE(자동노출제어), AWB(오토화이트밸런스제어), AF(오토포커스제어) 등의 일반적인 기능을 갖는 각 실시형태에 공통되는 디지털카메라(1)의 전기적 구성의 개략을 나타내는 블록도이다. EMBODIMENT OF THE INVENTION Hereinafter, one Embodiment of this invention is described according to drawing. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing an outline of an electrical configuration of a digital camera 1 common to each embodiment having general functions such as AE (automatic exposure control), AWB (auto white balance control), AF (autofocus control), and the like. to be.

디지털카메라(1)는 시스템의 전체의 제어를 실행하는 CPU(2)를 중심으로 하여 이하의 각부로 구성되어 있다. 도면에 있어서 렌즈블록(3)은 침동식의 줌렌즈 및 포커스렌즈를 포함하는 광학계의 구동기구를 나타낸 블록이고, 그 구동원인 모터(4)의 구동을 제어하기 위한 모터드라이버(5)가 버스(6)을 통하여 CPU(2)와 접속되어 있다. 그리고 CPU(2)로부터의 제어신호에 따라 모터드라이버(5)가 모터(4)를 구동함으로써 상기 광학계의 줌 배율의 변경에 따른 이동이나, 전원 ON OFF 때 등에 있어서의 카메라 본체로부터의 내보냄 동작, 및 카메라 본체로의 수납동작이 제어된다. 또, 버스(6)에는 필요에 따라 촬영 보조광을 발광하는 발광관, 및 그 구동회로 등을 포함하는 스트로보회로(7)도 접속되어 있다. The digital camera 1 consists of the following parts centering on the CPU 2 which performs control of the whole system. In the drawing, the lens block 3 is a block showing the driving mechanism of the optical system including the submersible zoom lens and the focus lens, and the motor driver 5 for controlling the driving of the motor 4 as the driving source is a bus 6. Is connected to the CPU 2 through Then, the motor driver 5 drives the motor 4 in accordance with the control signal from the CPU 2, so that the movement from the camera body at the time of the power change ON or OFF due to the change in the zoom magnification of the optical system, And the storing operation to the camera body is controlled. The bus 6 is also connected to a strobe circuit 7 including a light emitting tube for emitting photographic auxiliary light as required, and a driving circuit thereof.

또, 디지털카메라(1)는 촬상소자로서 CCD(8)를 갖고 있다. CCD(8)는 CPU(2)의 명령에 따라 타이밍발생기(TG:Timing Generator, 9)가 생성하는 타이밍신호에 의거하여 수직 및 수평드라이버(10)에 의해서 구동되고, 상기 광학계에 의해서 결상된 피사체의 광학상에 따른 아날로그의 촬상신호를 아날로그신호처리부(11)에 출력한다. 아날로그신호처리부(11)는 CCD(8)의 출력신호에 포함되는 노이즈를 상관이중샘플링에 의해서 제거하는 CDS회로나, 노이즈가 제거된 촬상신호를 디지털신호로 변환하는 A/D변환기 등으로 구성되고, 디지털로 변환한 촬상신호를 화상처리부(12)에 출력한다. In addition, the digital camera 1 has a CCD 8 as an imaging device. The CCD 8 is driven by the vertical and horizontal drivers 10 based on the timing signal generated by the timing generator (TG: Timing Generator 9) according to the instruction of the CPU 2, and is formed by the optical system. The analog image pickup signal corresponding to the optical image is output to the analog signal processor 11. The analog signal processing unit 11 is composed of a CDS circuit for removing noise included in the output signal of the CCD 8 by correlation double sampling, an A / D converter for converting an image signal from which the noise is removed, into a digital signal, and the like. The digitally converted image pickup signal is output to the image processing unit 12.

화상처리부(12)는 입력한 촬상신호에 대해 페디스털 클램프 등의 처리를 실시하고, 그것을 휘도(Y)신호 및 색차(UV)신호로 변환하는 동시에, 오토화이트밸런 스, 윤곽강조, 화소보간 등의 디지털신호처리를 실행한다. 화상처리부(12)에서 변환된 YUV데이터는 순차 SDRAM(13)에 격납되는 동시에, 촬영용의 기록(REC)모드에서는 1프레임분의 데이터(화상데이터)가 축적될 때마다 비디오신호로 변환되고, 백라이트(14a) 부착의 액정모니터(LCD, 14)에 보내져 스루화상으로서 화면 표시된다. The image processing unit 12 performs a process such as a pedestal clamp on the input image signal, converts it into a luminance (Y) signal and a color difference (UV) signal, and simultaneously performs auto white balance, outline enhancement, and pixel interpolation. Digital signal processing such as the above. The YUV data converted by the image processing unit 12 is sequentially stored in the SDRAM 13, and is converted into a video signal every time one frame of data (image data) is accumulated in the recording (REC) mode for photographing, and the backlight is (14a) is sent to the attached liquid crystal monitor (LCD) 14, and displayed on the screen as a through image.

또, 셔터 키가 눌러진 촬영처리실행시에 있어서 SDRAM(13)에 일시 기억된 화상데이터(YUV데이터)는 CPU(2)에 의해 압축되고, SDRAM(13)내의 버퍼영역(이후, 단지 화상버퍼라 한다)에 일단 축적된 후, 최종적으로는 소정 포맷의 화상파일로서 외부메모리(15)에 기록된다. 본 실시형태에 있어서 외부메모리(15)는 도시하지 않는 카드인터페이스를 통하여 접속된 카메라 본체에 착탈 자유로운 메모리카드이다. 외부메모리(15)에 기록된 화상파일은 재생모드에 있어서 사용자의 선택조작에 따라 CPU(2)에 판독되는 동시에 신장되고, YUV데이터로서 SDRAM(13)에 전개된 후, 액정모니터(LCD, 14)에 표시된다.In addition, image data (YUV data) temporarily stored in the SDRAM 13 at the time of executing the photographing process in which the shutter key is pressed are compressed by the CPU 2, and the buffer area in the SDRAM 13 (hereafter merely an image buffer). Once accumulated in the storage device, the image file is finally recorded in the external memory 15 as an image file of a predetermined format. In the present embodiment, the external memory 15 is a memory card which can be attached to or detached from the camera body connected via a card interface (not shown). The image file recorded in the external memory 15 is read out and extended at the same time by the CPU 2 in accordance with the user's selection operation in the playback mode, and is developed in the SDRAM 13 as YUV data, and then the liquid crystal monitor (LCD) 14 ) Is displayed.

플래시메모리(16)는 프로그램 메모리인 동시에 내장 화상메모리로서, 플래시메모리(16)에는 프로그램 영역과, 상기 외부메모리(15, 메모리카드)가 장착되어 있지 않은 상태에 있을 때 촬영화상(압축 후의 화상데이터)이 기억되는 화상기억영역이 확보되어 있다.The flash memory 16 is both a program memory and a built-in image memory. When the flash memory 16 is in a state where the program area and the external memory 15 (memory card) are not mounted, the captured image (compressed image data) Is stored in the image storage area.

상기 프로그램 영역에는 CPU(2)에 카메라 전체를 제어시키기 위한 프로그램이나 데이터가 격납되어 있고, 특히 본 실시형태에 있어서는 본 발명의 처리장치인 CPU(2)를 판정수단, 설정수단으로서 기능시키기 위한 프로그램과, 후술하는 동작에 필요한 데이터가 기억되어 있다. 또한 프로그램 영역에는 상기의 프로그램이나 데 이터 이외에도 사용자에 의한 설정조작에 따라, 또는 자동적으로 설정된 디지털카메라(1)의 각종 기능에 관한 설정데이터가 기억되어 있다. The program area stores a program and data for controlling the entire camera in the CPU 2, and in particular, in the present embodiment, a program for causing the CPU 2, which is the processing apparatus of the present invention, to function as determination means and setting means. And data necessary for the operation described later are stored. In addition to the above programs and data, the program area stores setting data relating to various functions of the digital camera 1 that are automatically set in accordance with the setting operation by the user or automatically.

또, CPU(2)에는 마이크로컴퓨터(17)가 접속되어 있고, 마이크로컴퓨터(17)에는 키 입력부(18)와, 예를 들면 니켈수소전지 등의 충전 가능한 배터리(19)의 전력을 상기 각부에 공급하기 위한 전원제어회로(20)가 접속되어 있다. 키 입력부(18)는 전원 버튼이나 촬영을 지시하기 위한 셔터 키, 줌 조작 버튼, 모드 전환 키 등의 도시하지 않는 스위치류로 구성된다. 또한 셔터 키는 사용자가 촬영 예고를 실행하기 위한 반누름위치와, 실제의 촬영동작을 지시하기 위한 전부누름(눌러내림)위치의 2단계의 조작이 가능한 소위 하프 셔터 기능을 갖는 것이다. In addition, a microcomputer 17 is connected to the CPU 2, and the microcomputer 17 supplies power to a key input unit 18 and a rechargeable battery 19 such as, for example, a nickel hydride battery to each of the above sections. The power supply control circuit 20 for supplying is connected. The key input unit 18 is composed of switches not shown, such as a power button, a shutter key for instructing shooting, a zoom operation button, a mode switching key, and the like. In addition, the shutter key has a so-called half-shutter function that allows the user to operate in two stages: a half-pressing position for executing a photographing notice, and an all-pressing (downward) position for instructing an actual shooting operation.

그리고 마이크로컴퓨터(17)는 키 입력부(18)에 있어서의 스위치류의 조작 상태를 정상적으로 스캔하고, 사용자에 의한 스위치 조작의 내용에 따른 조작신호를 CPU(2)에 보낸다. 또한 전원제어회로(20)를 제어하는 동시에 배터리(19)의 전압을 정상적으로 검출하여, 그 검출결과를 CPU(2)에 보낸다. The microcomputer 17 then normally scans the operation state of the switches in the key input unit 18, and sends an operation signal to the CPU 2 in accordance with the contents of the switch operation by the user. In addition, while controlling the power supply control circuit 20, the voltage of the battery 19 is normally detected, and the detection result is sent to the CPU 2.

한편, 도 2는 상기 플래시메모리(16)의 프로그램 영역에 격납되어 있는 프로그램에 있어서의 태스크 구성을 나타낸 도면이며, CPU(2)는 이들 태스크를 소정의 동작주파수(구동주파수)에 의거하여 실행함으로써 디지털카메라(1)의 각부를 제어한다. 각 태스크의 개요는 이하와 같다. FIG. 2 is a diagram showing a task configuration in a program stored in the program area of the flash memory 16. The CPU 2 executes these tasks based on a predetermined operating frequency (driving frequency). Each part of the digital camera 1 is controlled. The outline of each task is as follows.

ROOT태스크(T1)는 전원 투입 직후의 하드웨어의 초기화, 프로그램 및 데이터의 로딩, 소프트웨어의 초기화를 실행하는 태스크, The ROOT task T1 is a task for initializing hardware immediately after powering on, loading programs and data, and initializing software,

KEY태스크(T2)는 셔터 키 등의 키 조작이나 전지 잔량 정보 등을 마이크로컴 퓨터(17)로부터 수취하기 위한 태스크, The KEY task T2 is a task for receiving key operations such as a shutter key, battery remaining information, etc. from the microcomputer 17,

REC메인태스크(T3)는 REC모드의 메인 태스크, REC main task (T3) is the main task of the REC mode,

REC매니저태스크(T4)는 REC모드에 있어서의 주요한 동작을 제어하는 태스크, The REC manager task T4 is a task for controlling major operations in the REC mode,

DISP매니저태스크(T5)는 DISP드라이버(d1)를 통하여 표시를 제어하는 태스크, The DISP manager task (T5) is a task for controlling display through the DISP driver (d1),

FILE매니저태스크(T6)는 FILE드라이버(d2)를 통하여 파일시스템으로의 액세스를 제어하는 태스크, The FILE manager task (T6) is a task for controlling access to the file system through the FILE driver (d2),

IMAGE태스크(T7)는 CCD(8)의 제어와, CCD(8)로부터 오는 화상데이터의 가공을 실행하는 태스크, The IMAGE task T7 is a task for performing control of the CCD 8 and processing of image data coming from the CCD 8;

LENS태스크(T8)는 렌즈블록(3)의 제어를 실행하는 태스크, The LENS task T8 is a task for executing control of the lens block 3,

MEASURE태스크(T9)는 AE/AWB/AF처리를 실행하는 태스크이다. 또한 OS서비스(T0)는 메모리관리를 포함하는 시스템 전체를 관리하는 오퍼레이팅 시스템이다. The MEASURE task T9 is a task for executing AE / AWB / AF processing. The OS service T0 is an operating system that manages the entire system including memory management.

다음으로, 이상의 구성으로 이루어지는 디지털카메라(1)에 있어서의 본 발명에 관련되는 동작에 대해서 설명한다. 디지털카메라(1)는 REC모드가 설정되어 있을 때 도 3에 나타낸 동작을 실행하는 동시에, 그 사이에는 배터리(19)의 수명 즉 연속가동시간의 장기화를 도모하기 위해 후술하는 바와 같이 CPU(2)의 동작주파수, 즉, CPU(2)의 단위시간당 처리하는 것이 가능한 처리량으로서의 동작속도를 적당히 변경한다.Next, operation | movement which concerns on this invention in the digital camera 1 which consists of the above structure is demonstrated. The digital camera 1 executes the operation shown in FIG. 3 when the REC mode is set, and at the same time, the CPU 2 as described later in order to prolong the life of the battery 19, i.e., the continuous operation time. The operating frequency of the CPU 2, that is, the operating speed as the throughput capable of processing per unit time of the CPU 2 is appropriately changed.

즉 도 3은 REC모드에 있어서의 디지털카메라(1)의 동작내용과 CPU(2)의 동작주파수의 변화를 나타낸 도면이다. 디지털카메라(1)는 REC모드의 설정 직후 등에 있어서의 촬영준비를 위한 REC스루상태(1)에 있어서는 로딩한 화상을 표시하는 것과, AE/AWB 처리를 실행하는 것만으로 단위시간 내에 CPU(2)가 대처해야 할 처리량은 적고, CPU(2)에 큰 부하는 발생하지 않으므로 CPU(2)의 동작주파수를 저속인 동작주파수(본 실시형태에서는 f=32㎒)로 한다. 그 후의 셔터 키가 반 눌러진 하프셔터상태(2)에 있어서는 AE/AWB의 결정 및 AF처리를 실행한다. 이 처리는 될 수 있는 한 단시간에 실행하고 싶으므로 CPU(2)의 동작속도가 높아지도록 CPU(2)의 동작주파수를 고속인 동작주파수(본 실시형태에서는 f=81㎒)로 전환한다. 이것에 계속되는 셔터 키가 반 눌러진 채의 로크상태(3)에 있어서는 AE/AF/AWB를 고정한 상태에서 REC스루상태(1)와 똑같이 REC스루표시를 하는 것뿐이므로 단위시간 내에 CPU(2)가 대처해야 할 처리량은 적고, 높은 동작속도는 필요 없기 때문에 CPU(2)의 동작주파수를 저속인 동작주파수로 한다. That is, FIG. 3 is a diagram showing the change in the operation contents of the digital camera 1 and the operating frequency of the CPU 2 in the REC mode. The digital camera 1 displays the loaded image in the REC through state 1 for preparing for shooting immediately after the REC mode is set, and executes the AE / AWB process, and executes the CPU 2 within the unit time. The amount of processing to be dealt with is small, and no large load is generated on the CPU 2, so that the operating frequency of the CPU 2 is set at a low operating frequency (f = 32 MHz in the present embodiment). In the half-shutter state 2 in which the shutter key is pressed halfway, determination of the AE / AWB and AF processing are executed. Since this process is desired to be performed in the shortest possible time, the operating frequency of the CPU 2 is switched to a high operating frequency (f = 81 MHz in the present embodiment) so that the operating speed of the CPU 2 is increased. In the locked state (3) while the shutter key followed by this is pressed halfway, only the REC through display is displayed in the same manner as the REC through state (1) while the AE / AF / AWB is fixed. Since the throughput to be dealt with is small and a high operating speed is not necessary, the operating frequency of the CPU 2 is set to a low operating frequency.

다음으로 셔터가 완전히 눌러지면, 촬영(캡쳐)처리(4)에 들어간다. 여기에서는 스트로보동작이 있으면 스트로보발광처리, 및 CCD(8)로부터의 전하를 아날로그신호처리부(11)에서 디지털로 변환하는 처리, 그 디지털데이터를 전송하는 처리, RGB형식의 데이터를 YUV데이터로 변환하여 JPEG화하는 처리를 실행한다. 이때에는 단위시간 내에 CPU(2)가 대처해야 할 처리량은 많아지기 때문에 당연히 처리가 빠른 것이 좋으므로 CPU(2)의 동작속도가 높아지는 고속인 동작주파수를 선택한다. Next, when the shutter is fully pressed, the shooting (capturing) process 4 is entered. Here, if there is a strobe operation, the strobe light emission processing and the process of converting the charge from the CCD 8 into digital by the analog signal processing unit 11, the process of transferring the digital data, the RGB format data are converted into YUV data, Perform the process of JPEG. At this time, since the processing amount to be dealt with by the CPU 2 increases within a unit time, it is of course preferable that the processing is fast, so that a high operating frequency at which the operating speed of the CPU 2 is increased is selected.

연이어 JPEG형식으로 변환한 화상데이터는 SDRAM(13)내의 화상버퍼에 일단 축적하고, 그런 후, 외부메모리(메모리카드, 15)로의 기록을 개시한다. 또, 그 사이의 버퍼사용중(5)에는 그것과 병행하여 다음의 촬영으로 향한 REC스루상태(6)에 있어서의 로딩한 화상의 표시처리를 실행한다. 그 후, 단위시간 내에 CPU(2)가 대처해야 할 처리량에 상관없이 상기 화상버퍼에 축적되어 있는 화상데이터의 상기 외부메모리(메모리카드, 15)로의 기록이 종료되기까지는 CPU(2)의 동작주파수를 고속으로 유지한다. 여기에서, 셔터 키의 반누름조작은 REC스루상태때에만 가능하게 되고, 셔터 키의 전부누름조작은 AE/AF로크상태때에만 가능하게 되는 것으로 한다. The image data, which are subsequently converted into JPEG format, is accumulated in the image buffer in the SDRAM 13, and then recording to the external memory (memory card) 15 is started. In addition, during the buffer use 5 in the meantime, the display processing of the loaded image in the REC through state 6 for the next shooting is performed in parallel with it. Thereafter, the operating frequency of the CPU 2 until the recording of the image data stored in the image buffer to the external memory (memory card, 15) is terminated irrespective of the processing amount that the CPU 2 must cope within a unit time. Keep it at high speed. Here, half-pressing of the shutter key is enabled only in the REC through state, and all-pressing of the shutter key is enabled only in the AE / AF locked state.

이상의 동작은 CPU(2)가 REC모드의 설정에 동반하여 먼저 도 2에 나타낸 REC매니저태스크(T3) 및 REC메인태스크(T4)를 실행함으로써 실현된다. 이하, 각 태스크의 실행시에 있어서의 CPU(2)의 구체적인 처리내용에 대해서 설명한다. The above operation is realized by the CPU 2 executing the REC manager task T3 and the REC main task T4 shown in FIG. 2 together with the setting of the REC mode. Hereinafter, specific processing contents of the CPU 2 at the time of executing each task will be described.

도 4는 REC메인태스크(T3)에 있어서의 CPU(2)의 동작주파수 변경처리를 나타낸 흐름도이다. 관련되는 처리에 대해서 CPU(2)는 처리를 개시하는 동시에 상기한 ROOT태스크(T1)를 제외하는 다른 태스크로부터의 메시지를 수시 수신하고(스텝SA1), 어느 것인가의 메시지를 수신했으면, 그 내용을 판정한다(스텝SA2). 그리고 상기 KEY태스크(T2)로부터 셔터 키가 반 눌러진 것을 나타내는 메시지를 수신했을 때에는 그 시점에 있어서의 자기의 동작주파수가 저속(32㎒)이면(스텝SA3에서 YES), 동작주파수를 고속(81㎒)으로 전환한 후(스텝SA4), 상기 REC매니저태스크(T4)에 하프처리실행메시지를 송신하고(스텝SA5), 반대로 자기의 동작주파수가 저속(32㎒)이 아니면(스텝SA3에서 NO), 동작주파수의 전환을 실행하는 일 없이 즉시 상기 REC매니저태스크(T4)에 하프처리실행메시지를 송신한다(스텝SA5).4 is a flowchart showing the operation frequency change processing of the CPU 2 in the REC main task T3. Regarding the related processing, the CPU 2 starts the processing and receives messages from other tasks except for the ROOT task T1 at any time (step SA1). It determines (step SA2). When a message indicating that the shutter key is pressed halfway from the KEY task T2 is received, if the operating frequency at that time is low speed (32 MHz) (YES in step SA3), the operating frequency is set to high speed (81). After switching to (MHz) (step SA4), a half-process execution message is sent to the REC manager task T4 (step SA5). On the contrary, if its operating frequency is not low speed (32 MHz) (NO at step SA3). The half-process execution message is immediately sent to the REC manager task T4 without executing the switching of the operating frequency (step SA5).

또, KEY태스크(T2)로부터 셔터가 완전히 눌러진 것을 나타내는 메시지를 수신했을 때에도 그 시점에 있어서의 자기의 동작주파수가 저속(32㎒)이면(스텝SA6에 서 YES), 동작주파수를 고속(81㎒)으로 전환하고(스텝SA7), 그런 후에 상기 REC매니저태스크(T4)에 촬영처리실행메시지를 송신한다(스텝SA8). 반대로 자기의 동작주파수가 저속(32㎒)이 아니면(스텝SA6에서 NO), 동작주파수의 전환을 실행하는 일 없이 즉시 REC매니저태스크(T4)에 촬영처리실행메시지를 송신한다(스텝SA8). Also, even when a message indicating that the shutter is completely pressed is received from the KEY task T2, if the operating frequency at that time is low speed (32 MHz) (YES in step SA6), the operating frequency is changed to high speed (81). MHz) (step SA7), and then a shooting process execution message is sent to the REC manager task T4 (step SA8). On the contrary, if its operating frequency is not low (32 MHz) (NO in step SA6), the photographing processing execution message is immediately sent to the REC manager task T4 without performing the switching of the operating frequency (step SA8).

또, REC매니저태스크(T3)로부터, 화상버퍼가 빈 것을 나타내는 메시지(화상버퍼에 축적되어 있는 모든 화상데이터의 외부메모리(15)로의 기록이 종료된 것을 나타내는 메시지)를 수신했을 때에는 하프처리(AF/AE)가 실행중이 아닌 경우, 즉 스텝SA5에서 REC매니저태스크(T4)에 하프처리실행메시지를 송신한 후에, REC매니저태스크(T4)로부터 하프처리실행메시지를 수신하고 있지 않은 경우에만(스텝SA9에서 NO) 자기의 동작주파수를 저속(32㎒)으로 전환한다(스텝SA10). In addition, when receiving a message indicating that the image buffer is empty (a message indicating that recording of all image data stored in the image buffer to the external memory 15 is completed) from the REC manager task T3, half processing (AF / AE) is not running, i.e., if the half processing execution message is not received from the REC manager task T4 after the half processing execution message is sent to the REC manager task T4 in step SA5 (step S5). In SA9, the operating frequency of the self is switched to low speed (32 MHz) (step SA10).

또, REC매니저태스크(T4)로부터 하프처리실행메시지를 수신했을 때에는 화상버퍼가 사용중이 아닌 경우, 즉 스텝SA8에서 REC매니저태스크(T4)에 촬영처리실행메시지를 송신한 후에, REC매니저태스크(T4)로부터 화상버퍼가 빈 것을 나타내는 메시지를 수신하고 있지 않은 경우에만(스텝SA11에서 NO) 자기의 동작주파수를 저속(32㎒)으로 전환한다(스텝SA10). 그리고 이 이후는 스텝SA1로 되돌아가 메시지의 수신대기를 하는 동시에, 상기한 처리를 반복한다. When the half buffer execution message is received from the REC manager task T4, the image buffer is not in use, i.e., after the shooting process execution message is transmitted to the REC manager task T4 in step SA8, the REC manager task T4 is executed. Only when the message indicating that the image buffer is empty (NO in step SA11) is switched to the low speed (32 MHz) (step SA10). After that, the process returns to step SA1 to wait for reception of the message and to repeat the above process.

도 5는 상기 처리와 병행하여(시분할로) 실행되는 상기 REC매니저태스크(T4)에 있어서의 CPU(2)의 처리내용을 나타낸 흐름도이다. 관련되는 처리에 대해서 CPU(2)는 우선 버퍼의 수를 나타내는 카운트변수(Nb)를 초기화한 후(스텝SB1), 상기한 ROOT태스크(T1)를 제외하는 다른 태스크로부터의 메시지를 수시 수신(스텝 SB2)하고, 수신한 메시지의 내용을 판정한다(스텝SB3). Fig. 5 is a flowchart showing the processing contents of the CPU 2 in the REC manager task T4 executed in parallel with the processing (time division). Regarding the related processing, the CPU 2 first initializes the count variable Nb indicating the number of buffers (step SB1), and then receives messages from other tasks except for the ROOT task T1 from time to time (step). SB2), the content of the received message is determined (step SB3).

그리고 REC메인태스크(T3)로부터 상기한 하프처리실행메시지를 수신했으면, 상기한 AE/AWB의 결정 및 AF처리로 이루어지는 하프처리를 실행한다(스텝SB4). 그런 후에 처리가 종료된 시점에서 하프처리종료메시지를 상기 REC메인태스크(T3)로 송신하고(스텝SB5), 스텝SB2로 되돌아가 메시지의 수신대기를 한다. When the half processing execution message is received from the REC main task T3, the half processing consisting of the determination of the AE / AWB and the AF processing is executed (step SB4). Thereafter, at the end of the processing, the half processing completion message is transmitted to the REC main task T3 (step SB5), and the flow returns to step SB2 to wait for the reception of the message.

또, REC메인태스크(T3)로부터 상기한 캡처처리(촬영처리실행)메시지를 수신했으면, SDRAM(13)내에 화상버퍼를 획득하고(스텝SB6), 상기 카운트변수(Nb)를 카운트업한다(스텝SB7). 연이어서 촬영처리를 실행한 후(스텝SB8), JPEG기록처리실행을 상기 FILE매니저태스크(T6)에 지시하고(스텝SB9), 스텝SB2로 되돌아가 메시지의 수신대기를 한다. 또한 촬영처리는 JPEG형식으로 변환한 화상데이터(JPEG데이터)를 화상버퍼에 축적하기까지의 처리를 말하고, JPEG기록처리는 화상버퍼에 축적되어 있는 JPEG데이터를 외부메모리(15)에 기록하는 처리를 말한다. If the above capture processing (shooting processing execution) message is received from the REC main task T3, an image buffer is acquired in the SDRAM 13 (step SB6), and the count variable Nb is counted up (step). SB7). After the photographing process is executed in succession (step SB8), the execution of the JPEG recording process is instructed to the FILE manager task T6 (step SB9), and the process returns to step SB2 to wait for message reception. In addition, the photographing process refers to the process of accumulating the image data (JPEG data) converted into the JPEG format in the image buffer, and the JPEG recording process refers to the process of recording the JPEG data stored in the image buffer to the external memory 15. Say.

즉, 상기 FILE매니저태스크(T6)로부터 메시지를 수신하고, 그 내용이 JPEG기록처리종료의 메시지이었을 때에는 화상버퍼를 1개 개방, 즉 1화상분을 개방하고(스텝SB11), 상기 카운트변수(Nb)를 카운트다운 한 후(스텝SB12), 카운트변수(Nb)가 “0”인지 아닌지를 조사한다. 여기에서 카운트변수(Nb)가 “0”이면(스텝SB13에서 YES), 화상버퍼가 빈 것이기 때문에 그것을 REC메인태스크(T3)에 통지한다(스텝SB14). 즉, 본 실시형태에서는 실제로는 화상버퍼에 화상데이터(JPEG데이터)가 남아 있는 상태라도 JPEG기록처리가 종료된 시점에서 화상버퍼가 빈 것으로 하여 통지한다. 또, 카운트변수(Nb)가 “0”이 아니면(스텝SB13에서 NO) 그대로 스텝 SB2로 되돌아간다. 이후, 똑같은 처리를 반복한다.That is, when a message is received from the FILE manager task T6, and the content is a message of completion of JPEG recording processing, one image buffer is opened, that is, one image is opened (step SB11), and the count variable Nb is received. ) Is counted down (step SB12), and it is checked whether or not the count variable Nb is "0". If the count variable Nb is " 0 " (YES in step SB13), the image buffer is empty, and it is notified to the REC main task T3 (step SB14). In other words, in the present embodiment, even when the image data (JPEG data) remains in the image buffer, it is notified that the image buffer is empty at the time when the JPEG recording process ends. If the count variable Nb is not "0" (NO in step SB13), the flow returns to step SB2 as it is. After that, the same process is repeated.

또한 상기한 처리에 있어서는 REC메인태스크(T3)가 REC매니저태스크(T4)로 촬영처리실행메시지를 송신한 후에 REC매니저태스크(T4)로부터 화상버퍼가 빈 것을 나타내는 메시지를 수신하기까지의 상태를 버퍼사용중이라고 판단하도록 했는데, REC매니저태스크(T4)로부터 REC메인태스크(T3)에 대해서 화상버퍼에 대해 JPEG데이터의 축적을 개시한 시점에서 그것을 나타내는 메시지를 보내게 하고, REC메인태스크(T3)에 도 3에 나타낸 바와 같이, 화상버퍼에 있어서의 JPEG데이터의 축적개시시점부터 JPEG데이터의 판독완료시점까지의 상태를 버퍼사용중이라고 판단시키도록 해도 좋다. In the above process, the REC main task T3 transmits a recording processing execution message to the REC manager task T4, and then buffers the state from the REC manager task T4 to receiving a message indicating that the image buffer is empty. It is judged that it is in use, but it sends a message indicating it from the REC manager task T4 to the REC main task T3 at the time when the JPEG buffer is accumulated in the image buffer, and sends it to the REC main task T3. As shown in Fig. 3, the state from the start point of accumulating JPEG data to the end point of reading of JPEG data in the image buffer may be determined to be in use of the buffer.

한편 도 6의 (1)~(5)는 상기한 도 4 및 도 5의 처리가 반복되는 동안에 연속촬영(연사)이 실행된 경우에 있어서의 상기 화상버퍼의 데이터의 기억상태의 변화를 나타내는 천이도이다. 도면에 있어서 실선의 화살표는 외부메모리(15)에 기록하고 있는 JPEG데이터의 기억영역을 나타내고 있고, 파선의 화살표는 지난번 외부메모리에 기록된 JPEG데이터의 기억영역을 나타내고 있다. On the other hand, Figs. 6 (1) to 5 show transitions indicating changes in the storage state of the data in the image buffer when continuous shooting (continuous shooting) is executed while the above-described processes of Figs. 4 and 5 are repeated. It is also. In the figure, the solid arrows indicate the storage areas of JPEG data recorded in the external memory 15, and the broken arrows indicate the storage areas of JPEG data recorded in the external memory last time.

여기에서, 본 실시형태에 있어서는 REC모드에 있어서 화상버퍼내에 JPEG데이터가 있을 때, 즉 JPEG데이터의 외부메모리(15)로의 기입이 종료되기까지의 사이에는 CPU(2)의 동작주파수가 항상 고속(81㎒)으로 설정되기 때문에 CPU(2)의 동작속도가 높고, 외부메모리(15)로의 데이터기입속도가 빠르다. 따라서, 화상버퍼에 필요 이상의 용량을 확보하지 않아도 화상버퍼를 사용하여 복수장(도면에서는 4장째까지의 상태를 나타내고 있다)의 화상을 도중에 끊어지는 일없이 연사할 수 있다. In this embodiment, in the REC mode, the operating frequency of the CPU 2 always increases at high speed when there is JPEG data in the image buffer, that is, until writing of the JPEG data to the external memory 15 is completed. 81 MHz), the operation speed of the CPU 2 is high and the data writing speed to the external memory 15 is fast. Therefore, even if the capacity of the image buffer is not secured more than necessary, the image buffer can be used to continuously burn a plurality of images (the state up to the fourth sheet in the drawing) without interruption.

게다가, 외부메모리(15)로의 JPEG데이터의 기입종료 후에는 CPU(2)의 동작주파수를 저속(32㎒)으로 전환한다. 그로 인해, 다음의 촬영으로 향한 REC스루상태에 있어서의 처리, 즉 로딩한 화상의 표시처리가 앞의 촬영의 JPEG데이터의 기입동작(기록동작)과 병행해서 실행되고, 또한 기입이 종료된 이후도 계속해서 실행되어도, 연속촬영이 실행되고 있지 않을 때에는 그 도중부터 장치가 저속으로 동작하기 때문에 소비전력을 저감시킬 수 있다. 따라서, 전지수명의 장기화를 도모하면서 연속된 속사나 연사라고 한 짧은 간격에서의 연속촬영을 가능하게 할 수 있다. In addition, after finishing writing JPEG data to the external memory 15, the operating frequency of the CPU 2 is switched to low speed (32 MHz). Therefore, the processing in the REC through state for the next shooting, that is, the display processing of the loaded image, is executed in parallel with the writing operation (writing operation) of the JPEG data of the previous shooting, and even after the writing is completed. Even if it continues to be executed, when continuous shooting is not performed, since the apparatus operates at a low speed from the middle, power consumption can be reduced. Therefore, continuous shooting at short intervals, such as continuous rapid firing or continuous firing, can be achieved while prolonging battery life.

(실시형태 2) (Embodiment 2)

다음으로, 본 발명의 제 2 실시형태에 대해서 설명한다. 본 실시형태는 상기한 디지털카메라(1)에 있어서, CPU(2)가 REC모드의 설정에 동반하여 제 1 실시형태와 다른 내용의 REC메인태스크(T3) 및 REC매니저태스크(T4)를 실행하는 것으로서, CPU(2)가 본 발명의 판정수단, 설정수단, 임계값 변경수단, 잔량검출수단으로서 기능하는 것이다. 제 1 실시형태와의 동작의 다름을 먼저 서술하면, 제 1 실시형태에서는 화상버퍼를 사용하고 있을 때, 즉 화상버퍼내에 외부메모리(15)로의 기록이 완료되어 있지 않은 JPEG데이터가 조금이라도 남아 있는 경우에는 반드시 고속동작을 실행하는 것으로 했는데, 본 실시형태는 단지 화상버퍼의 사용 유무는 아니고, 그 사용량(또는 빈용량)에 따라 동작속도를 고속ㆍ저속으로 전환하는 것이 다. 이하, CPU(2)의 구체적인 처리내용에 대해서 설명한다.Next, a second embodiment of the present invention will be described. In this embodiment, in the above-described digital camera 1, the CPU 2 executes a REC main task T3 and a REC manager task T4 having contents different from those of the first embodiment in conjunction with the setting of the REC mode. The CPU 2 functions as the determining means, setting means, threshold value changing means, and remaining amount detecting means of the present invention. The difference from the operation with the first embodiment will be described first. In the first embodiment, even when JPEG data is used, i.e., any JPEG data in which the recording to the external memory 15 is not completed in the image buffer remains. In this case, the high speed operation is necessarily performed. The present embodiment is not merely using an image buffer, but switching the operation speed to high speed or low speed according to the usage amount (or free space). Hereinafter, the specific processing contents of the CPU 2 will be described.

도 7은 REC메인태스크(T3)에 있어서의 CPU(2)의 주파수변경처리를 나타낸 흐름도이다. 본 실시형태에서도 CPU(2)는 처리를 개시하는 동시에 상기한 ROOT태스크(T1)를 제외하는 다른 태스크로부터의 메시지를 수시 수신하고(스텝SC1), 어느 것인가의 메시지를 수신했으면, 그것의 내용을 판정한다(스텝SC2). 7 is a flowchart showing the frequency change processing of the CPU 2 in the REC main task T3. Also in this embodiment, the CPU 2 starts processing and simultaneously receives a message from another task except for the ROOT task T1 described above (step SC1). (Step SC2).

그리고, 상기 KEY태스크(T2)로부터 셔터 키가 반 눌러진 것을 나타내는 메시지를 수신했을 때에는 그 시점에 있어서의 자기의 동작주파수가 저속(32㎒)이면(스텝SC3에서 YES), 동작주파수를 고속(81㎒)으로 전환한 후(스텝SC4), 상기 REC매니저태스크(T4)로 하프처리실행메시지를 송신하고(스텝SC5), 반대로 자기의 동작주파수가 저속(32㎒)이 아니면(스텝SC3에서 NO), 동작주파수의 전환을 실행하는 일없이 즉시 REC매니저태스크(T4)로 하프처리실행메시지를 송신한다(스텝SC5). When a message indicating that the shutter key is pressed halfway from the KEY task T2 is received, if the operating frequency at that time is low speed (32 MHz) (YES in step SC3), the operating frequency is changed to high speed ( After switching to 81 MHz (step SC4), the half-process execution message is transmitted to the REC manager task T4 (step SC5). On the contrary, if its operating frequency is not low speed (32 MHz) (NO at step SC3). The half-process execution message is immediately sent to the REC manager task T4 without executing the operation frequency switching (step SC5).

또, KEY태스크(T2)로부터 셔터가 완전히 눌러진 것을 나타내는 메시지를 수신했을 때에는 자기의 동작주파수가 저속(32㎒)이면(스텝SC3에서 YES), 동작주파수를 고속(81㎒)으로 전환한 후(스텝SC7), REC매니저태스크(T4)로 촬영처리실행메시지를 송신한다(스텝SC8). 반대로 자기의 동작주파수가 저속(32㎒)이 아니면(스텝SC6에서 NO), 동작주파수의 전환을 실행하는 일없이 즉시 REC매니저태스크(T4)로 촬영처리실행메시지를 송신한다(스텝SC8). 또한 여기까지는 제 1 실시형태와 똑같다. When a message indicating that the shutter is completely pressed is received from the KEY task T2, if its operating frequency is low speed (32 MHz) (YES in step SC3), the operating frequency is switched to high speed (81 MHz). (Step SC7), the shooting processing execution message is sent to the REC manager task T4 (step SC8). On the contrary, if the operation frequency of the self is not low (32 MHz) (NO in step SC6), the photographing processing execution message is immediately transmitted to the REC manager task T4 without performing the operation frequency switching (step SC8). In addition, it is the same as that of 1st Embodiment so far.

또한 본 실시형태에서는 REC매니저태스크(T4)로부터 버퍼FULL메시지가 송신되어 왔을 때에는 자기의 동작주파수가 저속(32㎒)인 경우에만(스텝SC9에서 YES) 동작주파수를 고속(81㎒)으로 전환한다(스텝SC10). 버퍼FULL메시지는 화상버퍼의 사용량이 많은 것을 나타내는 메시지이며, 급히 서둘러 처리를 할 필요가 있는 경우에 송신된다. In this embodiment, when a buffer full message has been transmitted from the REC manager task T4, the operating frequency is switched to high speed (81 MHz) only when its operating frequency is low speed (32 MHz) (YES in step SC9). (Step SC10). The buffer FULL message is a message indicating that the amount of image buffer usage is high, and is sent when processing is urgently needed.

또, REC매니저태스크(T4)로부터 촬영처리종료메시지, 또는 하프처리(AF/AE)종료메시지가 송신되어 왔을 때에는 그 시점이 버퍼FULL(화상버퍼의 사용량이 많은)상태가 아니면, 즉 REC매니저태스크(T4)로부터 화상버퍼의 사용량이 적은 것을 나타내는 버퍼EMPTY메시지를 수신한 후, 버퍼FULL메시지를 수신하고 있지 않은 상태이면(스텝SC11에서 NO), 동작주파수를 저속(32㎒)으로 전환한다(스텝SC12). When the shooting processing end message or the half processing (AF / AE) end message has been transmitted from the REC manager task T4, if the time point is not in the buffer FULL state (a lot of image buffers are used), that is, the REC manager task After receiving the buffer EMPTY message indicating that the amount of image buffer usage is low from T4, if the buffer full message is not received (NO in step SC11), the operating frequency is switched to low speed (32 MHz) (step S11). SC12).

또, REC매니저태스크(T4)로부터 상기 버퍼EMPTY메시지가 송신되어 왔을 때에는 그 시점이 하프처리 또는 촬영처리의 실행중은 아니고(스텝SC13에서 NO), 또한 동작주파수가 고속(81㎒)인 경우에만(스텝SC14에서 YES) 동작주파수를 저속(32㎒)으로 전환한다(스텝SC12). 그리고 이 이후는 스텝SC1로 되돌아가 메시지의 수신대기를 하는 동시에, 상기한 처리를 반복한다. In addition, when the buffer EMPTY message has been transmitted from the REC manager task T4, the point of time is not during half processing or photographing processing (NO in step SC13) and only when the operating frequency is high speed (81 MHz). (YES in step SC14) The operating frequency is switched to low speed (32 MHz) (step SC12). After that, the process returns to step SC1 to wait for reception of the message and to repeat the above-described processing.

도 8은 상기 처리와 병행하여(시분할로) 실행되는 상기 REC매니저태스크(T4)에 있어서의 CPU(2)의 처리내용을 나타낸 흐름도이다. 본 실시형태에 있어서 CPU(2)는 우선 화상버퍼의 빈용량을 나타내는 변수(Sb)를 초기화하는 동시에, 화상버퍼의 사용량이 많은지 적은지를 판정하기 위한 판정기준의 변수(Sth)에 미리 정해져 있는 초기값(Sth0)을 설정한다(스텝SD1). 이후, ROOT태스크(T1)를 제외하는 다른 태스크로부터의 메시지를 수시 수신하고(스텝SD2), 수신한 메시지의 내용을 판정한다(스텝SD3). Fig. 8 is a flowchart showing the processing contents of the CPU 2 in the REC manager task T4 executed in parallel with the processing (time division). In the present embodiment, the CPU 2 first initializes the variable Sb indicating the empty capacity of the image buffer, and at the same time, the initial stage predetermined in advance in the variable Sth of the determination criterion for determining whether the image buffer is large or small. The value Sth0 is set (step SD1). Thereafter, messages from other tasks except for the ROOT task T1 are received at any time (step SD2), and the contents of the received message are determined (step SD3).

그리고 REC메인태스크(T3)로부터 하프처리실행메시지를 수신했으면, AE/AWB의 결정 및 AF처리로 이루어지는 하프처리를 실행한다(스텝SD4). 그런 후, 처리가 종료된 시점에서 하프처리종료메시지를 REC메인태스크(T3)로 송신하고(스텝SD5), 이후, 스텝SD2로 되돌아가 메시지의 수신대기를 한다.If the half processing execution message is received from the REC main task T3, the half processing consisting of the determination of the AE / AWB and the AF processing is executed (step SD4). Then, at the end of the processing, the half processing completion message is transmitted to the REC main task T3 (step SD5), and then the process returns to step SD2 to wait for the reception of the message.

또, REC메인태스크(T3)로부터 갭처처리(촬영처리실행)메시지를 수신했으면, SDRAM(13)내에 화상버퍼를 획득하는 동시에, 그 빈용량(Sb)을 취득한다(스텝SD6). 연이어서, 촬영처리를 실행한 후(스텝SD7), JPEG기록처리실행을 FILE매니저태스크(T6)에 지시하고(스텝SD8), 촬영종료메시지를 REC메인태스크(T3)로 송신한다(스텝SD9). 그런 후, 그 시점에서 빈용량(Sb)이 상기 판정기준(Sth)보다도 작은 경우에는(스텝SD10에서 YES) 화상버퍼의 사용량이 많다(빈용량이 적다)고 판단하고, 버퍼FULL메시지를 REC메인태스크(T3)로 송신한다(스텝SD11). 이에 따라, 상기한 바와 같이 REC메인태스크(T3)에 의해 동작주파수가 고속(81㎒)으로 전환된다. 반대로, 빈용량(Sb)이 판정기준(Sth) 이상이면(스텝SD10에서 NO), 그대로 스텝SD2로 되돌아가 메시지의 수신대기를 한다. 이후, 스텝SD2로 되돌아가 메시지의 수신대기를 한다. If a gap destination processing (shooting processing execution) message is received from the REC main task T3, the image buffer is acquired in the SDRAM 13 and the free space Sb is obtained (step SD6). Subsequently, after the shooting process is executed (step SD7), the execution of the JPEG recording process is instructed to the FILE manager task T6 (step SD8), and the shooting end message is sent to the REC main task T3 (step SD9). . Then, if the free space Sb is smaller than the determination criterion Sth at that time (YES in step SD10), it is determined that the amount of use of the image buffer is high (the free space is small), and the buffer full message is set to REC main. Transmit to task T3 (step SD11). Accordingly, as described above, the operation frequency is switched to high speed (81 MHz) by the REC main task T3. On the contrary, if the free space Sb is equal to or larger than the determination criterion Sth (NO in step SD10), the flow returns to step SD2 as it is and waits for reception of a message. After that, the process returns to step SD2 to wait for reception of the message.

즉, 상기 FILE매니저태스크(T6)로부터 메시지를 수신하고, 그 내용이 JPEG기록종료의 메시지이었을 때에는 화상버퍼를 1개 개방한다, 즉 화상버퍼의 기억영역 중의 1화상분의 영역을 개방, 그 시점에서 빈용량(Sb)을 취득한다(스텝SD12). 그리고 빈용량(Sb)이 판정기준(Sth) 이상이면(스텝SD13에서 YES), 화상버퍼의 빈용량이 많다(사용량이 적다)고 판단하고, 버퍼EMPTY메시지를 REC메인태스크(T3)로 송신 하며(스텝SD14), 이후, 스텝SD2로 되돌아가 메시지의 수신대기를 한다. 이에 따라, 상기한 바와 같이 REC메인태스크(T3)에 의해 동작주파수가 저속(32㎒)으로 전환된다. 반대로, 빈용량(Sb)이 판정기준(Sth)보다도 작으면(스텝SD13에서 NO), 그대로 스텝SD2로 되돌아가 메시지의 수신대기를 한다. That is, when a message is received from the FILE manager task T6, and the content is a message of ending JPEG recording, one image buffer is opened, i.e., one image area in the storage area of the image buffer is opened, and at that time. The free space Sb is obtained (step SD12). If the free space Sb is equal to or larger than the determination criterion Sth (YES in step SD13), it is determined that the free space of the image buffer is large (the amount of use is small), and the buffer EMPTY message is transmitted to the REC main task T3. (Step SD14) After that, the process returns to Step SD2 to wait for message reception. Accordingly, as described above, the operation frequency is switched to the low speed (32 MHz) by the REC main task T3. On the contrary, if the free space Sb is smaller than the determination criterion Sth (NO in step SD13), the flow returns to step SD2 as it is and waits for reception of a message.

여기까지의 처리에 의해 REC모드에서의 동작중에 있어서는 그 사이에 변화하는 화상버퍼의 사용량, 구체적으로는 판정기준(Sth)과의 비교에 의해서 판단되는 화상버퍼의 빈용량에 따라 동작속도가 고속 또는 저속으로 전환된다. During the operation in the REC mode by the processing up to this point, the operation speed is high or high depending on the amount of the image buffer changing between them, specifically, the empty capacity of the image buffer determined by comparison with the determination criterion Sth. Switch to low speed.

또한 REC매니저태스크(T4)에 있어서는 KEY태스크(T2)로부터, 마이크로컴퓨터(17)로부터 전지잔량정보를 수취한 것을 나타내는 동시에 정기적으로 보내져 오는 전지잔량검출메시지를 수신했을 때에는 배터리(19)에 있어서의 전지잔량을 확인하는 동시에, 전지의 잔존율(Lb)을 취득한다(스텝SD15). 그리고 상기 판정기준(Sth)을 그 판정기준의 초기값(Sth0)에 취득한 전지의 잔존율(Lb)을 곱한 값으로 변경한다(스텝SD16). 이후, 스텝SD2로 되돌아가 메시지의 수신대기를 한다. In the REC manager task T4, the battery key 19 indicates that the battery remaining information is received from the KEY task T2 from the microcomputer 17, and when the battery remaining amount detection message that is periodically sent is received. At the same time, the remaining battery power Lb is obtained (step SD15). Then, the determination criterion Sth is changed to a value obtained by multiplying the initial value Sth0 of the determination criterion by the battery's residual ratio Lb (step SD16). After that, the process returns to step SD2 to wait for reception of the message.

이에 따라, REC모드에서의 동작중에 있어서는 그 사이에 변화하는 화상버퍼의 빈용량의 상태와 전지잔량의 쌍방의 변화에 따라 동작속도가 고속 또는 저속으로 전환되고, 즉 화상버퍼의 실제의 빈용량이 동일하더라도 전지가 적게 남아 있는(잔존율(Lb)이 낮은) 경우에는 동작속도가 저속측으로 전환하기 쉽고, 또 전지가 충분한(잔존율 Lb가 높은) 경우에는 동작속도가 고속측으로 전환하기 쉬워진다. As a result, during operation in the REC mode, the operating speed is switched to high speed or low speed in accordance with both the state of the remaining capacity of the image buffer and the remaining amount of battery remaining between them, that is, the actual empty capacity of the image buffer is changed. Even if the battery is the same, the operating speed tends to switch to the low speed side when the battery is low (lower residual rate Lb), and the operating speed tends to switch to the high speed side when the battery is sufficient (high residual rate Lb).

이상과 같이, 본 실시형태에 있어서는 REC모드에서의 동작중에 화상버퍼의 사용량이 많은(빈용량이 적은) 상태에서는 CPU(2)의 동작주파수가 고속(81㎒)으로 설정되고, 또한 화상버퍼의 사용량이 적은(빈용량이 많은) 상태에서는 CPU(2)의 동작주파수를 저속(32㎒)으로 설정된다. 즉 짧은 간격에서의 연속촬영을 가능하게 하는데 필요하다고 생각되는 경우에만 JPEG데이터의 기입동작(기록동작)이 고속으로 실행되고, 그 이외의 상태에서는 저속으로 실행된다. 따라서, 제 1 실시형태에 비하면, 전지수명을 더욱 늘릴 수 있다.As described above, in the present embodiment, in the state where the amount of use of the image buffer is high (the amount of free space) during the operation in the REC mode, the operating frequency of the CPU 2 is set to high speed (81 MHz), and the image buffer In a state where the amount of usage is small (large capacity), the operating frequency of the CPU 2 is set to low speed (32 MHz). That is, only when it is deemed necessary to enable continuous shooting at short intervals, the JPEG data write operation (write operation) is performed at high speed, and in other states, it is executed at low speed. Therefore, as compared with the first embodiment, battery life can be further increased.

게다가, 상기한 바와 같이, 전지가 적게 남아 있는(잔존율(Lb)이 낮은) 경우에는 동작속도가 저속측으로 전환하기 쉽고, 또 전지가 충분한(잔존율(Lb)이 높은) 경우에는 동작속도가 고속측으로 전환하기 쉬운 것으로부터 JPEG데이터의 기입동작(기록동작)이 고속으로 실행되는 빈도를 전지잔량에 따라 증감할 수 있다. 즉 화상버퍼의 빈 곳이 많고 동작속도가 저속으로 되어 있는 상태로부터 화상버퍼의 빈 곳이 점차 줄고, 화상버퍼에 빈 곳이 적고 동작속도가 고속으로 되는 상태로 이행하는 동안에 있어서는 전지의 잔량이 충분할(잔존율(Lb)이 높은) 때에는 후자 상태로의 이후 시기가 빠르고, 반대로 전지가 적게 남아 있을(잔존율(Lb)이 낮은) 때에는 후자 상태로의 이후 시기가 늦어진다. 따라서, 전지가 적게 남아 있는 상황하에서는 동작속도가 고속으로 되는 기간이 감소하기 때문에 그것에 의해서도 전지수명을 더욱 늘릴 수 있다. 동시에 전지가 충분할(잔존율(Lb)이 높은) 때에는 외부메모리(15)로의 빠른 데이터기입이 가능하게 된다. In addition, as described above, when the battery is low (the residual rate Lb is low), the operation speed is easy to switch to the low speed side, and when the battery is sufficient (the residual rate Lb is high), the operating speed is high. The frequency with which the writing operation (writing operation) of JPEG data is performed at high speed can be increased or decreased in accordance with the remaining battery capacity since it is easy to switch to the high speed side. That is, while the image buffer has a lot of empty space and the operation speed is low, the image buffer has a small amount of space, and the image buffer has a small amount of space while the image buffer has a small space and the operating speed becomes high. When the residual rate (Lb) is high, the subsequent period to the latter state is early, whereas when the battery is low (lower percentage (Lb)), the subsequent period to the latter state is delayed. Therefore, the battery life can be further increased by reducing the period during which the operating speed becomes high in a situation where there are few batteries. At the same time, when the battery is sufficient (high remaining ratio Lb), fast data writing to the external memory 15 is possible.

또한 본 실시형태에 있어서는 전지잔량에 의거하여 화상버퍼의 사용량이 많은지 적은지를 판정하기 위한 판정기준(Sth)의 초기값(Sth0)을 동적으로 변화시키도록 했는데, 상기 판정기준(Sth)은 고정값으로 해도 좋다. 그 경우, 판정기 준(Sth)을 충분히 큰 값으로 했을 때에는 제 1 실시형태와 똑같은 동작을 실행시킬 수 있다. 반대로 판정기준(Sth)을 충분히 작은 값으로 했을 때에는 화상버퍼가 가득 찼을 때에 처음으로 동작주파수가 고속으로 된다. 즉, 화상버퍼가 가득차서 다음의 촬영을 할 수 없게 되는 시점에서 고속동작으로 전환함으로써 그 이외의 통상시에 있어서는 소비전력을 억제한 저속동작을 실행시키는 것이 가능하게 된다. In the present embodiment, the initial value Sth0 of the determination criterion Sth for determining whether the image buffer is large or small is dynamically changed based on the remaining battery capacity. The determination criterion Sth is a fixed value. You may make it. In that case, when the determination criterion Sth is set to a sufficiently large value, the same operation as in the first embodiment can be executed. On the contrary, when the determination criterion Sth is set to a sufficiently small value, the operating frequency becomes high for the first time when the image buffer is full. In other words, by switching to high speed operation at the time when the image buffer becomes full and the next photographing cannot be performed, it is possible to execute the low speed operation with reduced power consumption in other normal times.

또, 본 실시형태에서는 화상버퍼의 빈용량의 상태를 버퍼FULL과 버퍼ENPTY의 단계로 나누어 판정하고, 그것에 따라 동작속도를 고속(81㎒)과 저속(32㎒)의 단계로 제어하도록 했는데, 화상버퍼의 빈용량의 상태를 3단계 이상으로 판정하고, 그것에 따라 동작속도도 3단계 이상으로 제어하도록 해도 좋다. 또한 그 경우에 있어서의 판정기준에 대해서도 그것을 본 실시형태와 같이 전지잔량에 의거하여 동적으로 변화시키는 일없이, 고정값으로 해도 좋다. In the present embodiment, the state of the empty capacity of the image buffer is determined by dividing the buffer full and buffer ENPTY stages, and the operation speed is controlled by the high speed (81 MHz) and low speed (32 MHz) steps accordingly. The state of the empty capacity of the buffer may be determined at three or more stages, and the operation speed may be controlled at three or more stages accordingly. In this case, the criterion in the case may be a fixed value without changing it dynamically based on the remaining battery capacity as in the present embodiment.

또, 판정기준(Sth)은 전지잔량 이외의 다른 동작조건, 예를 들면 연속촬영에 의해 기록하는 화상의 사이즈에 따라 동적으로 변화시키도록 해도 좋고, 또한 판정기준(Sth)을 고정값으로 하는 경우에는 그것을 사용자가 필요에 따라서 임의의 값을 설정할 수 있도록 해도 좋다. Incidentally, the determination criterion Sth may be changed dynamically according to the operating conditions other than the remaining battery charge, for example, the size of the image to be recorded by continuous shooting, and when the determination criterion Sth is a fixed value. It may also allow the user to set arbitrary values as needed.

또, 이상의 설명에 있어서는 본 발명을 디지털카메라에 채용한 경우에 대해 설명했는데, 예를 들면 화상데이터를 취급할 때, 화상데이터를 임의의 화상버퍼( 제 1 기억수단)에 일시 기억한 후, 그것을 다른 기록매체(제 2 기억수단)에 기록하는 것이면, 다른 화상처리장치에도 본 발명과 똑같은 기술을 채용할 수 있다. 그 경우, 화상처리장치가 배터리를 전원으로서 동작하고 있을 때에는 전지수명의 장기 화를 도모하면서, 짧은 간격에서의 연속처리가 가능하게 된다고 하는 효과가 얻어진다.In the above description, the case where the present invention is employed in a digital camera has been described. For example, when the image data is handled, the image data is temporarily stored in an arbitrary image buffer (first storage means), and then, As long as recording is performed on another recording medium (second storage means), the same technique as that of the present invention can be employed in other image processing apparatuses. In this case, when the image processing apparatus is operating the battery as a power source, the effect of enabling continuous processing at short intervals is achieved while prolonging the battery life.

이상과 같이 청구항 1의 발명에 있어서는 장치의 동작속도를 저하시켜 전지수명의 장기화를 도모하는 경우라도, 화상데이터의 기록시에는 장치의 동작속도를 화상데이터의 기록매체로의 기록동작에 적합한 속도로 할 수 있다. 따라서, 전지수명의 장기화를 도모하면서 짧은 간격에서의 연속촬영이 가능하게 된다. As described above, in the invention of claim 1, even when the operation speed of the device is reduced and the battery life is extended, the operation speed of the device is recorded at a speed suitable for the recording operation of the image data on the recording medium. can do. Therefore, continuous shooting at short intervals is possible while prolonging the battery life.

또, 청구항 2의 발명에 있어서는 기록매체로의 화상데이터의 기록도중에는 동작주파수를 저하시키는 일없이, 화상데이터의 기록종료 후에는 동작주파수를 화상데이터의 기록동작에 병행하고, 또한 화상데이터의 기록종료 이후에도 계속되는 동작에 따른 동작주파수까지 저하시킬 수 있다. 따라서, 전지수명의 한층 더 장기화를 도모하면서 짧은 간격에서의 연속촬영이 가능하게 된다. Further, in the invention of claim 2, the operation frequency is not reduced during the recording of the image data onto the recording medium. After the completion of the recording of the image data, the operation frequency is parallel to the recording operation of the image data, and the image data is finished. After that, the operation frequency may be reduced according to the continuous operation. Therefore, continuous shooting at short intervals is possible while further prolonging the battery life.

또, 청구항 3 및 청구항 4의 발명에 있어서는, 후속하는 화상데이터의 기록동작에 지장을 초래하지 않는 범위내에서 화상데이터의 기록도중에도 동작주파수를 저하시킬 수 있다. 따라서, 전지수명의 한층 더 장기화를 도모하면서 짧은 간격에서의 연속촬영이 가능하게 된다. In addition, in the inventions of Claims 3 and 4, the operating frequency can be reduced even during the recording of the image data within a range that does not interfere with the subsequent recording operation of the image data. Therefore, continuous shooting at short intervals is possible while further prolonging the battery life.

또한 청구항 5의 발명에 있어서, 후속하는 화상데이터의 기록동작에 지장을 초래하지 않는 범위내에서 화상데이터의 기록도중에 동작주파수를 저하시키는 빈도를 변경할 수 있도록 했다. 따라서, 전지수명의 한층 더 장기화를 도모하면서 짧은 간격에서의 연속촬영이 가능하게 된다. Further, in the invention of claim 5, the frequency of lowering the operating frequency during the recording of the image data can be changed within the range that does not interfere with the subsequent recording operation of the image data. Therefore, continuous shooting at short intervals is possible while further prolonging the battery life.

또, 청구항 6의 발명에 있어서, 후속하는 화상데이터의 기록동작에 지장을 초래하지 않는 범위내에서 화상데이터의 기록도중에 동작주파수를 저하시키는 빈도를 전원 전지의 잔량에 따른 효과적인 빈도로 변경할 수 있도록 했다. 따라서, 전지수명의 더욱 한층 더 장기화를 도모하면서 짧은 간격에서의 연속촬영이 가능하게 된다. Further, in the invention of claim 6, the frequency of lowering the operating frequency during the recording of the image data can be changed to an effective frequency in accordance with the remaining power of the power supply battery within the range that does not interfere with the subsequent recording operation of the image data. . Therefore, continuous shooting at short intervals is possible while further prolonging the battery life.

또, 청구항 8의 발명에 있어서는, 장치의 동작속도를 저하시켜 전지수명의 장기화를 도모하는 경우라도, 화상데이터의 기록시에는 장치의 동작속도를 화상데이터의 제 2 기억수단으로의 기록동작에 적합한 속도로 할 수 있도록 했다. 따라서, 전지수명의 장기화를 도모하면서 짧은 간격에서의 연속처리가 가능하게 된다.In addition, in the invention of claim 8, even when the operation speed of the apparatus is reduced to prolong battery life, the operation speed of the apparatus is suitable for the recording operation of the image data to the second storage means at the time of recording the image data. I could do it at speed. Therefore, continuous processing at short intervals is possible while prolonging the battery life.

Claims (8)

촬영에 의해 취득된 화상데이터를 기록매체에 기록하는 디지털카메라에 있어서, In a digital camera for recording the image data obtained by shooting on a recording medium, 상기 화상데이터를 일시 기억하는 화상버퍼와,An image buffer for temporarily storing the image data; 그 화상버퍼에 일시 기억되어 있는 화상데이터를 판독하여 상기 기록매체에 기록시키는 동시에, 카메라의 각부를 제어하는 처리장치와,A processing apparatus which reads image data temporarily stored in the image buffer, records the image data on the recording medium, and controls each part of the camera; 상기 화상버퍼의 상태를 판정하는 판정수단과,Determination means for determining a state of the image buffer; 상기 처리장치의 동작주파수를 상기 판정수단에 의해 판정된 화상버퍼의 상태에 따른 동작주파수로 설정하는 설정수단을 구비하고,Setting means for setting an operating frequency of the processing apparatus to an operating frequency in accordance with the state of the image buffer determined by the determining means, 상기 처리장치는 상기 설정수단에 의해 설정된 동작주파수에 의거하여 동작하는 것을 특징으로 하는 디지털카메라. And said processing device operates on the basis of an operating frequency set by said setting means. 제 1 항에 있어서,The method of claim 1, 상기 판정수단은 상기 화상버퍼의 사용 유무를 판정하고, The determining means determines whether the image buffer is used or not, 상기 설정수단은 상기 판정수단에 의해 화상버퍼가 사용되고 있다고 판정되었을 때 상기 처리장치의 동작주파수를 제 1 동작주파수로 설정하는 동시에, 상기 판정수단에 의해 화상버퍼가 사용되고 있지 않다고 판정되었을 때 상기 처리장치의 동작주파수를 상기 제 1 동작주파수보다도 낮은 제 2 동작주파수로 설정하는 것을 특징으로 하는 디지털카메라. The setting means sets the operating frequency of the processing apparatus to the first operating frequency when the determining means determines that the image buffer is being used, and when the determining means determines that the image buffer is not being used, the processing apparatus And the operating frequency of the digital camera is set to a second operating frequency lower than the first operating frequency. 제 1 항에 있어서, The method of claim 1, 상기 판정수단은 상기 화상버퍼의 빈용량의 상태를 판정하고, The determining means determines the state of the empty capacity of the image buffer, 상기 설정수단은 상기 처리장치의 동작주파수를 상기 판정수단에 의해 판정된 빈용량의 상태에 따른 동작주파수로 설정하는 것을 특징으로 하는 디지털카메라. And said setting means sets the operating frequency of said processing apparatus to an operating frequency in accordance with the state of the empty capacity determined by said determining means. 제 3 항에 있어서,The method of claim 3, wherein 상기 판정수단은 상기 화상버퍼의 빈용량이 소정의 임계값 이상인지 아닌지를 판단함으로써 상기 화상버퍼의 빈용량의 상태를 판정하고, The determining means determines the state of the empty capacity of the image buffer by determining whether the empty capacity of the image buffer is equal to or greater than a predetermined threshold value, 상기 설정수단은 상기 판정수단에 의해 화상버퍼의 빈용량이 소정의 임계값 이상이 아니라고 판단되었을 때 상기 처리장치의 동작주파수를 제 1 동작주파수로 설정하는 동시에, 상기 판정수단에 의해 화상버퍼의 빈용량이 소정의 임계값 이상이라고 판단되었을 때 상기 처리장치의 동작주파수를 상기 제 1 동작주파수보다도 낮은 제 2 동작주파수로 설정하는 것을 특징으로 하는 디지털카메라. The setting means sets the operating frequency of the processing apparatus to the first operating frequency when it is determined by the determining means that the empty capacity of the image buffer is not more than a predetermined threshold value, and at the same time the emptying of the image buffer by the determining means. And the operating frequency of the processing apparatus is set to a second operating frequency lower than the first operating frequency when the capacitance is determined to be equal to or greater than a predetermined threshold value. 제 4 항에 있어서,The method of claim 4, wherein 상기 판정수단이 상기 화상버퍼의 빈용량의 상태를 판정할 때의 상기 임계값을 기억하는 임계값 기억수단과,Threshold value storage means for storing the threshold value when the determination means determines the state of the empty capacity of the image buffer; 상기 임계값 기억수단에 기억된 임계값을 변경하는 임계값 변경수단을 구비 하고, Threshold value changing means for changing a threshold value stored in said threshold value storage means, 상기 설정수단은 상기 처리장치의 동작주파수를 상기 임계값 변경수단에 의해 변경된 후의 임계값에 의거하여 상기 판정수단에 의해 판정된 빈용량의 상태에 따른 동작주파수로 설정하는 것을 특징으로 하는 디지털카메라. And said setting means sets the operating frequency of said processing apparatus to an operating frequency in accordance with the state of the free space determined by said determining means on the basis of the threshold value after said change by said threshold value changing means. 제 5 항에 있어서,The method of claim 5, 전원 전지의 잔량을 검출하는 잔량검출수단을 구비하고,A remaining amount detecting means for detecting a remaining amount of the power battery; 상기 판정기준변경수단은 상기 잔량검출수단에 의해 검출된 전원 전지의 잔량에 의거하여 상기 판정기준을 변경하는 것을 특징으로 하는 디지털카메라. And said judgment criterion changing means changes said criterion on the basis of the remaining power of said power supply battery detected by said remaining power detecting means. 촬영에 의해 취득된 화상데이터를 기록매체에 기록하는 디지털카메라가 갖는 컴퓨터를, The computer which has a digital camera which records the image data acquired by photography on a recording medium, 상기 화상데이터를 일시 기억하는 화상버퍼의 상태를 판정하는 판정수단과,Determination means for determining a state of an image buffer for temporarily storing the image data; 상기 화상버퍼에 일시 기억된 화상데이터를 판독하여 상기 기록매체에 기록시키는 동시에, 카메라의 각부를 제어하는 처리장치의 동작주파수를 상기 판정수단에 의해 판정된 화상버퍼의 상태에 따른 동작주파수로 설정하는 설정수단으로서 기능시키기 위한 동작주파수 설정 프로그램을 기억한 기억매체. Reading the image data temporarily stored in the image buffer, recording the image data on the recording medium, and setting an operating frequency of the processing device controlling each part of the camera to an operating frequency according to the state of the image buffer determined by the determining means. A storage medium storing an operating frequency setting program for functioning as a setting means. 화상데이터를 제 1 기억수단에 일시 기억한 후, 그 제 1 기억수단으로부터 제 2 기억수단에 기억시키는 화상처리장치로서,An image processing apparatus which temporarily stores image data in a first storage means and stores the image data in the second storage means from the first storage means. 상기 제 1 기억수단으로부터 그곳에 일시 기억되어 있는 화상데이터를 판독하여 상기 제 2 기억수단에 기록시키는 동시에, 장치의 각부를 제어하는 처리장치와,A processing apparatus which reads the image data temporarily stored therefrom from the first storage means, writes it into the second storage means, and controls each part of the apparatus; 상기 제 1 기억수단의 상태를 판정하는 판정수단과,Determination means for determining a state of the first storage means; 상기 처리장치의 동작주파수를 상기 판정수단에 의해 판정된 화상버퍼의 상태에 따른 동작주파수로 설정하는 설정수단을 구비하고, Setting means for setting an operating frequency of the processing apparatus to an operating frequency in accordance with the state of the image buffer determined by the determining means, 상기 처리장치는 상기 설정수단에 의해 설정된 동작주파수에 의거하여 동작하는 것을 특징으로 하는 화상처리장치.And said processing device operates on the basis of an operating frequency set by said setting means.
KR1020060081641A 2005-08-31 2006-08-28 Digital camera, storage medium recording operation frequency setting program and image processing device KR100817978B1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JPJP-P-2005-00250406 2005-08-31
JP2005250406 2005-08-31
JPJP-P-2006-00138376 2006-05-18
JP2006138376A JP4254805B2 (en) 2005-08-31 2006-05-18 Digital camera, program

Publications (2)

Publication Number Publication Date
KR20070026059A true KR20070026059A (en) 2007-03-08
KR100817978B1 KR100817978B1 (en) 2008-03-31

Family

ID=37982202

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060081641A KR100817978B1 (en) 2005-08-31 2006-08-28 Digital camera, storage medium recording operation frequency setting program and image processing device

Country Status (4)

Country Link
JP (1) JP4254805B2 (en)
KR (1) KR100817978B1 (en)
CN (1) CN100456807C (en)
TW (1) TWI317602B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11632500B2 (en) 2018-12-28 2023-04-18 Sony Group Corporation Imaging device and imaging method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5266802B2 (en) * 2008-03-06 2013-08-21 株式会社ニコン Digital camera
CN101686340A (en) * 2008-09-26 2010-03-31 深圳市朗科科技股份有限公司 Method and system for expanding function of image communication equipment
JP5531753B2 (en) * 2009-05-01 2014-06-25 株式会社ニコン Data recording apparatus and digital camera
CN102739930A (en) * 2011-04-12 2012-10-17 华晶科技股份有限公司 Image capturing device and image processing method thereof
CN103167147A (en) * 2012-09-20 2013-06-19 深圳市金立通信设备有限公司 Smartphone high-speed continuous shooting system and method
CN109716752B (en) 2016-09-16 2020-11-24 富士胶片株式会社 Image pickup apparatus, image pickup method, and storage medium
JP2020000280A (en) * 2018-06-25 2020-01-09 オリンパス株式会社 Image storage device
CN110913138B (en) * 2019-11-28 2021-03-02 Oppo广东移动通信有限公司 Continuous shooting method, device, terminal and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3467631B2 (en) * 1994-06-07 2003-11-17 株式会社ルネサステクノロジ Logic LSI
JPH0923322A (en) * 1995-07-06 1997-01-21 Murata Mach Ltd Facsimile equipment with memory communication function
JP2002366252A (en) * 2001-06-11 2002-12-20 Kenwood Corp System and method for controlling operation frequency, portable information processing terminal and program
KR100479329B1 (en) 2001-12-24 2005-03-30 한국전자통신연구원 Method for mpeg decoding using of dynamic voltage and frequency scaling
JP4054917B2 (en) * 2003-09-17 2008-03-05 カシオ計算機株式会社 Imaging apparatus, moving image capturing method thereof, and program
JP2008047468A (en) * 2006-08-18 2008-02-28 Alps Electric Co Ltd Card connector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11632500B2 (en) 2018-12-28 2023-04-18 Sony Group Corporation Imaging device and imaging method

Also Published As

Publication number Publication date
JP4254805B2 (en) 2009-04-15
CN1925563A (en) 2007-03-07
TW200731783A (en) 2007-08-16
KR100817978B1 (en) 2008-03-31
TWI317602B (en) 2009-11-21
JP2007097125A (en) 2007-04-12
CN100456807C (en) 2009-01-28

Similar Documents

Publication Publication Date Title
KR100817978B1 (en) Digital camera, storage medium recording operation frequency setting program and image processing device
US7839412B2 (en) Image display apparatus and image display method
US7236193B2 (en) Apparatus and method to capture image and other data and recording onto multiple recording medium
JP2007028340A (en) Image processing apparatus and control method thereof, computer program, and storage medium thereof
US20100134654A1 (en) Digital camera
JP5411623B2 (en) Image processing apparatus and method
EP1678944B1 (en) Image pickup apparatus and moving picture photographing method thereof
JP2007221214A (en) Camera
JP5338293B2 (en) Imaging apparatus, imaging method, and imaging control program
JP2002199328A (en) Imaging unit, imaging method, storage medium and integration circuit
JP2001268508A (en) Image pickup device, its data recording method and computer readable recording medium
JP2004328037A (en) Imaging and image recording apparatus
JP2004088304A (en) Digital camera and program
JP5164366B2 (en) Imaging device, display device and program thereof
JP4635653B2 (en) Camera device, lens storing method, and program
JP4250274B2 (en) Image reproduction method and apparatus, and imaging apparatus
JP2003037768A (en) Electronic camera
JP5665309B2 (en) Imaging device
JP6288601B2 (en) Imaging device
JP2005005841A (en) Digital camera
JP2009044348A (en) Imaging apparatus and its control method
JP2005130392A (en) Image processing apparatus
JP2006277017A (en) Information processor and image pickup device
JP2005094086A (en) Digital camera and its photographing method
JP2005079666A (en) Digital camera

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130304

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20140303

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20150313

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20160219

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20170221

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20180302

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20190306

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20200303

Year of fee payment: 13