JP7490401B2 - Recording apparatus and control method for recording apparatus - Google Patents
Recording apparatus and control method for recording apparatus Download PDFInfo
- Publication number
- JP7490401B2 JP7490401B2 JP2020044506A JP2020044506A JP7490401B2 JP 7490401 B2 JP7490401 B2 JP 7490401B2 JP 2020044506 A JP2020044506 A JP 2020044506A JP 2020044506 A JP2020044506 A JP 2020044506A JP 7490401 B2 JP7490401 B2 JP 7490401B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- recording medium
- setting
- recording
- memory
- 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.)
- Active
Links
Images
Landscapes
- Studio Devices (AREA)
Description
本発明は、記録媒体にアクセス可能な記録装置、及び、記録装置の制御方法に関する。 The present invention relates to a recording device capable of accessing a recording medium, and a method for controlling the recording device.
撮像装置の記録メディアとして、フラッシュメモリカードが広く採用されている。近年フラッシュメモリカードへの書込読込速度に対するパフォーマンス要求が高まる一方、物理メモリサイズは同等かもしくはそれ以上の小型化が市場から求められている。しかし、フラッシュメモリカードへのパフォーマンス向上を実現しようとすると電力さらに熱/温度が増加し、さらに小型化を実現しようとすると熱がこもりやすくなる。 Flash memory cards are widely used as recording media for imaging devices. In recent years, there has been an increasing demand for performance in terms of the read/write speed of flash memory cards, while the market is calling for the physical memory size to be kept the same or even smaller. However, improving the performance of flash memory cards requires increased power consumption and heat/temperature, and further miniaturization makes it more likely for heat to build up.
そしてこの温度上昇による各ハードウェア部品の動作保証温度を超えた過熱が発生し、故障や障害が発生してしまう。結果ユーザが記録したコンテンツがメディア壊れにより閲覧できなくなってしまう恐れがある。 This temperature rise can cause hardware components to overheat beyond their guaranteed operating temperature, resulting in breakdowns and malfunctions. As a result, the content recorded by users may become unviewable due to media corruption.
温度上昇による加熱を避けるため、特許文献1では、外気温度を検出し、検出した外気温度に応じて動的な速度制御を行うことが記載されている。
To avoid overheating due to temperature rise,
また、過熱による故障や障害を防止する為の技術として、”サーマルスロットリング”という技術が存在する。これは記録メディアが独自の温度閾値をフラッシュメモリカードの内部に保存しておき、記録メディアの内部温度計から取得できる値がその温度閾値以上の温度になった場合、アクセス速度制限などの機能制限をかけて、閾値以上の温度上昇を抑制する技術である。 There is also a technology called "thermal throttling" that can be used to prevent breakdowns and damage caused by overheating. This is a technology in which the recording media stores its own temperature threshold inside the flash memory card, and if the temperature value obtained from the recording media's internal thermometer exceeds this temperature threshold, functionality restrictions such as access speed restrictions are imposed to prevent the temperature from rising above the threshold.
この技術を利用することで厳しい環境下においても記録メディア内のハードウェア部品に対して動作保証温度を保つことが可能になり、記録したコンテンツの信頼性を保証、さらには記録メディアの寿命を延ばすことが可能になる。 By using this technology, it is possible to maintain a guaranteed operating temperature for the hardware components inside the recording media even in harsh environments, thereby ensuring the reliability of the recorded content and extending the life of the recording media.
サーマルスロットリング(機能制限による温度上昇抑制)には書込読込速度が低下するというデメリットも存在する。これは書込読込速度と熱/電力上昇が比例するというフラッシュメモリカード特性の為である。またサーマルスロットリングが実行されると、解除用の閾値まで記録メディアの温度が下がるまで書込読込速度の速度制限が行われる。そして、記録メディアの温度が解除用の閾値以下になるとサーマルスロットリングが解除され、書込読込速度の制限が解除されて通常のトップスピードを追求した書込読込速度に回復する。 Thermal throttling (suppression of temperature rise by restricting functions) also has the disadvantage of slowing down the read/write speed. This is due to the characteristics of flash memory cards in which the read/write speed is proportional to the increase in heat/power. When thermal throttling is activated, the read/write speed is limited until the temperature of the recording media drops to the release threshold. When the temperature of the recording media falls below the release threshold, thermal throttling is released, and the write/read speed limit is lifted, restoring the read/write speed to the normal top speed.
記録メディアの規格であるCFexpressでは、サーマルスロットリングのためのHCTM(Host Controlled Thermal Management)という機能が用意されている。このHCTM機能では、サーマルスロットリングが実行される温度閾値を、ホスト側が設定することができる。 CFexpress, a standard for recording media, provides a function called HCTM (Host Controlled Thermal Management) for thermal throttling. This HCTM function allows the host to set the temperature threshold at which thermal throttling is executed.
HCTM機能において、例えば、温度閾値を設定可能な温度上限に設定することで、サーマルスロットリングを発動させにくく制御することが可能になる。 In the HCTM function, for example, by setting the temperature threshold to the upper limit of the configurable temperature, it becomes possible to control the temperature so that thermal throttling is less likely to be triggered.
しかしながら、サーマルスロットリングを発動させにくくするために、HCTM機能等により温度閾値を設定可能な温度上限に設定してしまうと、トップスピードを必要としないデータ記録または読み出しの場合でも高速データ記録/読み出しが行われる。そのため、温度が上昇しやすくなってしまう。温度上昇し、記録メディアの温度が上限に達してしまうと、記録メディアへの書込読出が実質的にできない状態となってしまう。そのため、記録メディアの温度が下がるまで書込読出ができなくなり、撮影(記録)や画像再生ができずに、例えば撮影チャンスを逃したりしてしまう恐れがある。 However, if the temperature threshold is set to the highest possible temperature using the HCTM function or similar to make it harder for thermal throttling to occur, high-speed data recording/reading will occur even when top speed is not required for data recording or reading. This makes it easier for the temperature to rise. If the temperature rises and the temperature of the recording media reaches its upper limit, it will become virtually impossible to write or read from the recording media. As a result, writing or reading will be impossible until the temperature of the recording media drops, and it will be impossible to shoot (record) or play back images, which could result in missing a photo opportunity, for example.
そのため、記録メディアを使用中であっても、撮像装置のモードの変更や撮影状況の変化に伴い、温度閾値を動的に変更すると共に、記録を妨げないような適切なタイミングで温度閾値の変更を行う必要がある。 Therefore, even when the recording media is in use, it is necessary to dynamically change the temperature threshold in response to changes in the imaging device mode or shooting conditions, and to change the temperature threshold at an appropriate time so as not to interfere with recording.
本発明はこのような状況に鑑みてなされたものであり、記録媒体に対する温度閾値の設定の変更を、適切に行う記録装置を提供することを目的とする。 The present invention was made in consideration of these circumstances, and aims to provide a recording device that appropriately changes the temperature threshold settings for a recording medium.
上述の課題を解決するため、本発明の記録装置は、記録媒体にアクセス可能な記録装置であって、記録媒体に記録するデータを蓄積するメモリと、メモリに蓄積されたデータを記録媒体に記録する記録制御手段と、記録媒体において機能制限が行われる温度閾値を設定する制御手段と、を有し、制御手段は、記録媒体において機能制限が行われる温度閾値を、記録媒体のデフォルト値に設定する第1の設定を行うか、デフォルト値よりも大きい値に設定する第2の設定を行うかを、メモリのデータの蓄積状態記録装置の動作状態に応じて切り替えることを特徴とする。 In order to solve the above-mentioned problems, the recording device of the present invention is a recording device that can access a recording medium, and has a memory that accumulates data to be recorded on the recording medium, a recording control means that records the data accumulated in the memory on the recording medium, and a control means that sets a temperature threshold at which functional restrictions are imposed on the recording medium, and the control means is characterized in that it switches between a first setting that sets the temperature threshold at which functional restrictions are imposed on the recording medium to the default value of the recording medium, and a second setting that sets the temperature threshold at which functional restrictions are imposed on the recording medium to a value greater than the default value, depending on the accumulation state of the data in the memory and the operating state of the recording device.
本発明によれば、記録媒体の機能制限がかかる温度を適切に設定可能な記録装置を提供することができる。 The present invention provides a recording device that can appropriately set the temperature at which the functions of the recording medium are restricted.
以下、添付図面を参照して実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る発明を限定するものでない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 The following embodiments are described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe multiple features, not all of these multiple features are necessarily essential to the invention, and multiple features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicate explanations are omitted.
[第1の実施形態]
<撮像装置の構成>
図1は、記録装置の一例である撮像装置100の構成を模式的に示す図である。
[First embodiment]
<Configuration of Imaging Device>
FIG. 1 is a diagram showing a schematic configuration of an image capturing apparatus 100, which is an example of a recording apparatus.
図1において、撮像装置内部バス101に対して、レンズ部102、撮像部103、表示部104、操作部105、撮像装置温度検出部106、放熱ファン107、及びCPU108が接続されている。また、撮像装置内部バス101に対して、画像処理部109、第1のメディア制御部110、第2のメディア制御部111、RAM112、不揮発性メモリ113、及び電源部114が接続されている。撮像装置内部バス101に接続されている各部は、撮像装置内部バス101を介して互いにデータのやり取りを行うことができるように構成されている。
In FIG. 1, a lens unit 102, an
CPU108は、例えば不揮発性メモリ113に格納されるプログラムに従い、RAM112をワークメモリとして用いて、撮像装置100の各部を制御する。
The
不揮発性メモリ113には、画像データや音声データ、その他のデータ、CPU108が動作するための各種プログラムなどが格納される。不揮発性メモリ113は例えばハードディスク(HD)やROMなどで構成される。
The
画像処理部109は、CPU108の制御に基づいて、不揮発性メモリ113やRAM112に格納された画像データや、レンズ部102を通して入射した被写体光学像を撮像部103で撮像した画像データなどに対して、各種画像処理を施す。画像処理部109が行う画像処理には、A/D変換処理、D/A変換処理、画像データのエンコード処理、圧縮処理、デコード処理、拡大/縮小処理(リサイズ)、ノイズ低減処理、色変換処理などが含まれる。画像処理部109は特定の画像処理を施すための専用の回路ブロックで構成してもよい。また、画像処理の種別によっては画像処理部109を用いずにCPU108がプログラムに従って画像処理を施すことも可能である。
Based on the control of the
表示部104は、CPU108の制御に基づいて、画像やGUI(GraphicalUser Interface)を構成するGUI画面などを表示する。CPU108は、プログラムに従い表示制御信号を生成し、表示部104に表示するための映像信号を生成して表示部104に出力するように撮像装置100の各部を制御する。表示部104は出力された映像信号に基づいて映像を表示する。なお、撮像装置100自体が備える構成としては表示部104に表示させるための映像信号を出力するためのインタフェースまでとし、表示部104は外付けのモニタ(テレビなど)で構成してもよい。
The
操作部105は、タッチパネル、電源ボタン、シャッターボタン、モード切替ダイヤル、十字キー、操作ダイヤル、メニューボタンなどを含む、ユーザ操作を受け付けるための入力デバイスである。なお、タッチパネルは、表示部104に重ね合わせて平面的に構成され、接触された位置に応じた座標情報が出力されるように構成された入力デバイスである。
The
電源部114は、バッテリー115とACアダプタ116が装着可能な電源入力端子を有し、コンパレータ、ロードスイッチなどで構成された電源選択回路で、電圧の高い側又はACアダプタ116を優先して電源を選択する。
The
また、電源部114は、撮像装置100とバッテリー115とを接続するバッテリーインタフェースを含む。バッテリーインタフェースは、電源、グラウンドだけでなく、バッテリー115内部のマイコン(不図示)との通信端子、バッテリー115内部の温度検出部(不図示)を含む。更に、電源部114は、撮像装置100とACアダプタ116とを接続するACアダプタインタフェースを含む。ACアダプタインタフェースは、電源、グラウンド、ACアダプタ116を検出する検出部を含む。
The
また、電源部114は、撮像装置内部バス101を介してCPU108にバッテリー115及びACアダプタ116の情報を通知することができる。また、電源部114は、選択された電源から不図示のDC/DCコンバーターやシリーズレギュレータを用いて電圧をレギュレートし、撮像装置100を構成している各部へ電力を供給する。また、電源部114は、装着されたバッテリー115及びACアダプタ116それぞれの電圧をA/D変換し、その値をCPU108に通知する。
The
撮像部103は、CCDセンサやCMOSセンサなどの撮像素子である。レンズ部102は、ズームレンズ、フォーカスレンズ、シャッター、絞り、測距部、A/D変換器などにより構成されるレンズユニットである。
The
撮像部103は、静止画及び動画を撮像可能である。撮像された画像の画像データは画像処理部109に送信され、各種処理を施された後、静止画ファイル又は動画ファイルとして第1の記録メディア150又は第2の記録メディア160に記録される。
The
放熱ファン107は、冷却用のファンである、撮像装置100内部の温度は撮像装置温度検出部106によって検出され、CPU108に通知される。CPU108はその温度によって放熱ファン107のファンの回転数を制御し、撮像装置100内部の温度を調整する。
The
撮像装置100は、第1のメディア制御部110及び第1のメディアインタフェース155を介して、第1の記録メディア150にアクセス可能であり、画像処理部109によって画像処理、エンコード処理、圧縮処理が施された静止画・動画のデータを、第1の記録メディア150に記録することができる。また、撮像装置100は、第1のメディア制御部110及び第1のメディアインタフェース155を介して、第1の記録メディア150に記録された静止画・動画のデータを読み出すことができる。撮像装置100は、読み出されたデータを画像処理部109によってデコード処理することにより得られる映像を表示部104に表示する。
The imaging device 100 can access the
第1の記録メディア150は、撮像装置100に対して着脱可能な記録媒体であり、本実施形態においては、CFexpress規格に準拠したメモリカードとする。
The
第1のメディア制御部110は、第1のメディアインタフェース155を介して、第1のメモリコントローラ152と制御コマンドの通信も行うことができる。制御コマンドには、データの記録及び再生のためのコマンドの他に、ベンダー情報、温度情報、及び書き込み回数情報等の取得のためのコマンドなどがある。
The first
第1の記録メディア150は、第1のメモリコントローラ152、第1のNAND型メモリ部153、第1のメディア温度検出部154を含み、それぞれが第1の記録メディア内部バス151で接続されている。
The
第1のメモリコントローラ152は、第1のメディア制御部110から転送される静止画・動画のデータを第1のNAND型メモリ部153へ記録する。この際、第1のメモリコントローラ152は、第1のNAND型メモリ部153のキャッシュ領域への書き込みの制御、及び主たるデータ領域へのデータの移動の制御を実行する。また、第1のメモリコントローラ152は、第1のNAND型メモリ部153内の断片化されたデータを移動・整理して空き領域を確保するガベージコレクションを行うことができる。
The
また、第1のメモリコントローラ152は、第1のメディア温度検出部154によって検出された第1のNAND型メモリ部153の温度を取得する。第1のメモリコントローラ152は、取得した温度に応じて、第1のNAND型メモリ部153へのクロック周波数の制御、アクセス禁止・許可の制御、及びアクセス速度の制御を行う。
The
第2の記録メディア160は、第2のメディア制御部111及び第2のメディアインタフェース165を介して撮像装置100と接続され、第1の記録メディア150と同様の構成及び機能を持つ。第2のメモリコントローラ162、第2のNAND型メモリ部163、及び第2のメディア温度検出部164は、それぞれ、第1のメモリコントローラ152、第1のNAND型メモリ部153、及び第1のメディア温度検出部154に対応する。第2のメモリコントローラ162、第2のNAND型メモリ部163、及び第2のメディア温度検出部164は、第2の記録メディア内部バス161で接続されている。
The
ユーザ操作によりモード切替ダイヤルで静止画撮影モードが選択されると、撮像装置は、静止画撮影モードで動作する。静止画撮影モードでは、CPU108は、シャッターボタンへの操作に応じて、撮像部103により静止画を撮像し、撮像された静止画の画像データを画像処理部109に送信して各種処理を施すように制御する。その後、CPU108は、画像処理を施された画像データから静止画ファイルを生成し、静止画ファイルを、第1のメディア制御部110または第2のメディア制御部111を介して、第1の記録メディア150又は第2の記録メディア160に記録する記録制御を行う。
When the still image shooting mode is selected by the user using the mode switching dial, the imaging device operates in the still image shooting mode. In the still image shooting mode, the
ユーザ操作によりモード切替ダイヤルで動画撮影モードが選択されると、撮像装置は、動画撮影モードで動作する。動画撮影モードでは、CPU108は、シャッターボタンまたは動画撮影ボタンへの操作に応じて、撮像部103により動画の撮像を開始し、再度し、シャッターボタンまたは動画撮影ボタンが操作されるまで動画を撮影する。CPU108は、撮像された動画の画像データを画像処理部109に送信して各種処理を施し、画像処理を施された画像データから動画ファイルを生成して、メディア制御部(110又は111)を介して、記録メディア(150又は160)に記録する記録制御を行う。
When the user operates the mode switch dial to select video capture mode, the imaging device operates in video capture mode. In video capture mode, the
また、ユーザ操作により再生モードボタンが操作された場合、撮像装置は、再生モードとなる。再生モードにおいては、CPU108は、第1のメディア制御部110、第2のメディア制御部111を介して、第1の記録メディア150、第2の記録メディア160に記録されている画像ファイル(静止画ファイル、動画ファイル)を読み出して、表示部104に表示する再生制御を行う。再生モードにおいて、CPU108は、静止画ファイルについては、静止画ファイルの画像データを表示部104に表示する。動画ファイルについては、まず、代表画像、又は、動画の1フレーム目のフレーム画像を読み出して表示部104に表示し、その後、ユーザにより、動画再生開始の指示が入力されたことに応じて、動画ファイルの複数のフレーム画像を連続的に再生して表示する動画再生を行う。
When the playback mode button is operated by the user, the imaging device enters playback mode. In playback mode, the
<記録メディアのHCTM機能>
CFexpress規格に準拠したメモリカードには、HCTM(Host Controlled Thermal Management)という機能が使用可能なものがある。ただし、HCTMは、オプション機能なのでサポートしていない記録メディアも存在する。上記で説明したように、記録メディア(150、160)において、メモリコントローラ(152、162)が、メディア温度検出部(154、164)により検出した温度に基づいて、クロック周波数の制御、アクセス禁止・許可の制御、及びアクセス速度の制御などの機能制限制御を行う。HCTM機能では、この機能制限制御を行う閾値となる温度を、ホスト側のメディア制御部(110、111)から、記録メディア(150、160)に設定することができる。
<HCTM function of recording media>
Some memory cards that comply with the CFexpress standard can use a function called HCTM (Host Controlled Thermal Management). However, since HCTM is an optional function, some recording media do not support it. As described above, in the recording media (150, 160), the memory controller (152, 162) performs function restriction control such as clock frequency control, access prohibition/permission control, and access speed control based on the temperature detected by the media temperature detection unit (154, 164). In the HCTM function, the temperature that is the threshold for performing this function restriction control can be set in the recording media (150, 160) from the host-side media control unit (110, 111).
HCTMでは、温度閾値の設定として、第1の値と第2の値(第1の値<第2の値)を設定可能である。メディア温度検出部(154、164)により検出した温度が第1の値未満の場合は、メモリコントローラ(152、162)は、機能制限制御を行わないため、アクセス速度の制限は行わないが、消費電流も制限されない。そのため、4K動画などを記録する際には書き込み時のラッシュ電流が大きくなる。メディア温度検出部(154、164)により検出した温度が第1の値以上、第2の値未満の場合は、メモリコントローラ(152、162)は、機能制限制御を行い、消費電流や、書き込みスピードを制限する第1の制限モードで動作するようになる。第1の制限モードでの書き込みスピードの制限は記録メディアによって異なるが、4K動画程度の記録であれば書き込み可能であることが多い。メディア温度検出部(154、164)により検出した温度が第2の値以上の場合は、メモリコントローラ(152、162)は、記録メディア(150,160)を第1の制限モードよりも大幅に機能制限が行われる第2の制限モードで動作させる。第2の制限モードでは、消費電力および書き込みスピードを大幅に制限するため、実質メディアへの書き込み/読み出しができない場合が多い。第2の制限モードは大幅に機能制限をかける(実質的に書き込み/読み出し不可にする)ことにより、記録メディアの温度を下げることができる。このように、ホスト側である撮像装置のメディア制御部(110、111)が、HCTM機能対応の記録メディアにおける第1の制限モード、第2の制限モードへの移行のタイミングを第1の値と第2の値を設定することにより制御することができる。 In HCTM, a first value and a second value (first value < second value) can be set as the temperature threshold. When the temperature detected by the media temperature detection unit (154, 164) is less than the first value, the memory controller (152, 162) does not perform function restriction control, so that the access speed is not restricted, but the current consumption is not restricted either. Therefore, when recording 4K video, etc., the rush current at the time of writing becomes large. When the temperature detected by the media temperature detection unit (154, 164) is equal to or greater than the first value and less than the second value, the memory controller (152, 162) performs function restriction control and operates in a first restriction mode that restricts the current consumption and writing speed. The writing speed restriction in the first restriction mode varies depending on the recording medium, but writing is often possible for recording of about 4K video. If the temperature detected by the media temperature detection unit (154, 164) is equal to or higher than the second value, the memory controller (152, 162) operates the recording media (150, 160) in a second restriction mode in which functions are more significantly restricted than in the first restriction mode. In the second restriction mode, power consumption and writing speed are significantly restricted, so that writing/reading to the media is often not possible. The second restriction mode can lower the temperature of the recording media by significantly restricting functions (effectively disabling writing/reading). In this way, the media control unit (110, 111) of the host imaging device can control the timing of transition to the first restriction mode and the second restriction mode in the HCTM-compatible recording media by setting the first and second values.
記録メディア毎に第1の値と第2の値それぞれのデフォルト値(DEFAULT_TMT1、DEFAULT_TMT2)が設定されている。また、記録メディア毎に、設定可能な温度設定の範囲を示す温度設定上限値(MXTMT)、温度設定下限値(MNTMT)も設定されている。撮像装置のメディア制御部(110、111)は、記録メディア(150、160)からメディア能力情報を取得するコマンドを使用することにより、撮像装置は、記録メディアに設定されている温度設定上限値(MXTMT)、温度設定下限値(MNTMT)を含むメディア能力情報を取得することができる。そして、この温度設定上限値、温度設定下限値で示される温度設定の範囲内で、第1の制限モード、第2の制限モードを実行する温度の閾値となる第1の値と第2の値とを設定することができる。 Default values (DEFAULT_TMT1, DEFAULT_TMT2) for the first and second values are set for each recording medium. In addition, an upper temperature setting limit (MXTMT) and a lower temperature setting limit (MNTMT) that indicate the range of temperature settings that can be set are also set for each recording medium. The media control unit (110, 111) of the imaging device uses a command to obtain media capability information from the recording media (150, 160), allowing the imaging device to obtain media capability information including the upper temperature setting limit (MXTMT) and lower temperature setting limit (MNTMT) set for the recording media. Then, within the temperature setting range indicated by the upper temperature setting limit and lower temperature setting limit, the imaging device can set a first value and a second value that are the temperature thresholds for executing the first restriction mode and the second restriction mode.
記録メディアへ電力が供給されて電源がオンになると、記録メディアのメモリコントローラは、第1の値と第2の値それぞれに、デフォルト値(DEFAULT_TMT1、DEFAULT_TMT2)を初期設定する。撮像装置のメディア制御部(110、111)により、第1の値及び第2の値を設定しない場合は、このデフォルト値が使用される。デフォルト値を用いることを「HCTM標準利用」と呼ぶこととする。撮像装置のメディア制御部は、HCTM機能に関するコマンドを用いることにより、第1の値と第2の値とを、記録メディアに設定されている温度設定下限値(MNTMT)から温度設定上限値(MXTMT)の範囲内で変更することができる。なお、第1の値と第2の値は、記録メディアの揮発性メモリ内に記憶されているため、記録メディア電源がオフになったことに応じて消去され、再び電源がオンになったときにデフォルト値が設定される。「HCTM標準利用」に対して、第1の値及び第2の値を、温度設定上限値(MXTMT)に近い値に設定することを、「HCTM上限利用」と呼ぶこととする。本実施形態では、HCTM上限利用では、第2の値を温度設定上限値(MXTMT)に設定し、第1の値を温度設定上限値(MXTMT)の1度下の温度に設定するものとするが、HCTM上限利用時の第1の値と第2の値の温度設定はこれに限定されない。温度が上昇しても第1の制限モード及び第2の制限モードになりにくくするために、HCTM標準利用の時よりも第1の値及び第2の値を温度設定上限値(MXTMT)に近い値を設定すればよい。さらに、HCTM上限利用の時の第1の値をHCTM標準利用の時の第2の値よりも大きくすることにより、HCTM上限利用時に第1の制限モード及び第2の制限モードが発動されにくくなり記録メディアの性能を最大限に利用することができるようになる。ただし、この場合、温度は上昇しやすくなる。 When power is supplied to the recording medium and the power is turned on, the memory controller of the recording medium initializes the first and second values to default values (DEFAULT_TMT1, DEFAULT_TMT2), respectively. If the first and second values are not set by the media control unit (110, 111) of the imaging device, these default values are used. The use of default values is referred to as "HCTM standard use." The media control unit of the imaging device can change the first and second values within the range from the lower temperature setting limit (MNTMT) to the upper temperature setting limit (MXTMT) set in the recording medium by using a command related to the HCTM function. Note that the first and second values are stored in the volatile memory of the recording medium, and are therefore erased when the recording medium power is turned off, and the default values are set when the power is turned on again. In contrast to "HCTM standard use", setting the first and second values to values close to the temperature setting upper limit (MXTMT) is referred to as "HCTM upper limit use". In this embodiment, when using HCTM upper limit, the second value is set to the temperature setting upper limit (MXTMT) and the first value is set to a temperature one degree below the temperature setting upper limit (MXTMT), but the temperature settings of the first and second values when using HCTM upper limit are not limited to this. In order to make it difficult to enter the first and second limit modes even if the temperature rises, it is sufficient to set the first and second values closer to the temperature setting upper limit (MXTMT) than when using HCTM standard. Furthermore, by making the first value when using HCTM upper limit larger than the second value when using HCTM standard, the first and second limit modes are less likely to be activated when using HCTM upper limit, and the performance of the recording medium can be maximized. However, in this case, the temperature is more likely to rise.
なお、本実施形態では、記録メディアはCFexpress規格準拠のメモリカードであるとした。しかし、CFexpress規格のHCTM機能のように、ホスト装置側から記録メディアに対して機能制限を行う温度を設定可能な機能を有していれば、異なる規格の記録メディアでも本発明は適応可能である。 In this embodiment, the recording medium is a memory card that complies with the CFexpress standard. However, the present invention can also be applied to recording media of different standards, as long as the host device has a function that allows it to set a temperature at which it places functional restrictions on the recording medium, such as the HCTM function of the CFexpress standard.
<HCTM機能使用の処理フロー>
図2は撮像装置100が実行するHCTM機能を使用するための処理のメインフローチャートである。本フローチャートは、CPU108が不揮発性メモリ113に格納された制御プログラムを実行して撮像装置100の各部を制御することで実現される。なお、本フローチャートにおいては、記録メディアに関する処理を中心に記載しているが、これらの処理以外にも、撮影処理、画像再生処理、撮影画像やメニュー画面の表示処理、メニュー設定処理などが行われる。また、本フローチャートの説明においては、第1の記録メディア150に対する処理について記載するが、第2の記録メディアに対する処理も同様に行われる。
<Processing flow for using HCTM function>
2 is a main flowchart of the process for using the HCTM function executed by the imaging device 100. This flowchart is realized by the
電源ボタンが押下されて撮像装置100の電源がONになったことに応じて、本フローチャートの処理が実行される。 The process of this flowchart is executed when the power button is pressed and the imaging device 100 is turned on.
まず、S201で、メディア制御部110は、記録メディア150に対して、PCIeのバスの初期化を行う。ここでは物理層レベルのコマンドのやり取りをホスト側の撮像装置の第1のメディア制御部110と記録メディア150との間で行い、記録メディアの起動処理を行って、記録メディアの電源をオン状態にする。そして、S202では、メディア制御部110は、NVMeプロトコルに沿った初期化を行い、Submission QueueやCompletion Queueを含めた起動処理を行う。S202では、S201の物理層レベルの初期化と違い、ソフトウェアレベルのプロトコルで必要な初期化を行う。
First, in S201, the
次に、S203では、メディア制御部110は、記録メディア150の詳細能力(メディア能力情報)を取得すべく、Identifyコマンドを発行する。このIdentifyコマンドは、記録メディアがサポートするコマンドや機能といった基本的な情報を取得するためのコマンドの1つである。このコマンドを通して取得できる能力情報として、例えば、モデル名やファームウェアバージョン、特定のコマンドや機能のサポート有無、低消費電力モードの数や具体的な消費電力の値などが含まれる。そしてS204では、CPU108は、S203でIdentifyコマンドにより取得した記録メディア150の能力情報からHCTM対応可否情報を分析する。そして、S205では、CPU108は、S204で分析した結果、記録メディア150がHCTMに対応しているか否かを判断し、HCTMに対応していると判断した場合はS206以降の、HCTM機能を用いる記録メディアの制御シーケンスに進む。S205で、HCTMに対応していないと判断した場合は、本フローチャートの処理を終了し、HCTM機能を用いない記録メディアの処理を実行する。
Next, in S203, the
S206では、CPU108は、S203で取得したメディア能力情報から、現在記録メディア150の温度設定上限値(MXTMT)と温度設定下限値(MNTMT)を取得する。これはHCTMをサポートしている場合にのみ有効な値であり、ホスト側から設定できる温度の値(第1の値、第2の値)の上限値、下限値を示している。つまり、ここでは、設定可能な温度設定の値の範囲を取得している。CPU108は、ここで取得した温度設定上限値(MXTMT)と温度設定下限値(MNTMT)を、RAM112に記憶しておく。
In S206, the
次にS207で、第1のメディア制御部110は、詳細機能情報取得コマンドであるGet Featureコマンドを発行する。このコマンドは記録メディア150の情報を取得するためのコマンドだがIdentifyコマンドとは異なる情報を取得することができる。Get Feature コマンドは、Identifyコマンドよりも詳しい情報を取得できるコマンドである。Get Featureコマンドを使用することで、記録メディア150に現状設定されているHCTM機能における設定温度(第1の値、第2の値)を取得することが可能になる。ここで取得した設定温度は、記録メディアの電源がオンになった直後に、温度設定を変更することなく取得した値であるため、記録メディア150に設定されているデフォルト値となる。つまり、ここで、記録メディアの温度設定の閾値(第1の値、第2の値)のデフォルト値を取得している。CPU108は、ここで取得した第1の値をDEFAULT_TMT1、第2の値をDEFAULT_TMT2としてRAM112に記憶しておく。
Next, in S207, the first
次にS208において、CPU108は、HCTM利用可否判定を行う。これについては後述の図3で詳細な説明を行う。HCTMはマンダトリ機能ではなく、オプション機能なのでサポートしていない記録メディアも存在可能である。また、記録メディアベンダーにとっては利点がない機能ということもあり、先のVideo Speed Classの規格のSuspend Address Commandのように事前ベンダー内検査が精密に行われていない可能性がある。このような理由から、S208では、S206で取得した温度設定上限値、温度設定下限値、S207で取得したHCTMのデフォルト値の正当性を確認し、確認結果に基づいてHCTM機能を使用するか否かを判定する。そして、S209にて、CPU108は、S208での判定結果がHCTM利用可能である場合はS210に進む。S208での判定結果がHCTM利用不可である場合は、本フローチャートの処理を終了し、HCTM機能を用いない記録メディアの処理を実行する。
Next, in S208, the
S210では、CPU108は、ホワイトリスト判定を行う。詳細な説明は図4で行う。S211では、CPU108は、S210でのホワイトリスト判定の結果に基づき、判定成功であった場合はS212に進む。判定失敗であった場合は、本フローチャートの処理を終了し、HCTM機能を用いない記録メディアの処理を実行する。
In S210, the
S212では、CPU108は、モード判定を行う。詳細の説明は図5で行う。このモード判定により、撮像装置の現在の動作モードを判定し、動作モードに応じて、「HCTM標準利用」するか、「HCTM上限利用」するかを決定する。前述のように、「HCTM標準利用」の場合は、S207で取得したデフォルト値をそのまま利用し、「HCTM上限利用」の場合は、S206で取得した温度設定上限値をベースとした値を利用する。このように、撮像装置の動作モードに応じて、記録メディアが第1の制限モード、第2の制限モードに移行する温度を切り替える。スピードを要求しない動作モードにおいては、デフォルト値を用いたHCTM標準利用を行うことで、温度を必要以上に上げることを抑制する。そして、スピードが要求される動作モードにおいては、HCTM上限利用を行うことで、HCTM標準利用する場合よりも高温となるまで記録メディアの性能を引き出し続けることが可能になる。
In S212, the
S213では、CPU108は、S212のモード判定の結果、HCMT上限利用が設定されたか否かを判断する。HCMT上限利用が設定された場合には、S214に進む。S214では、CPU108は、記録メディアに設定するHCTMの温度設定として、第2の値を温度設定上限値であるMXTMTに決定し、第1の値をMXTMT-1に決定する。本実施形態では、第1の値をMXTMTよりも1度低い、MXTMT-1、とした。しかし、HCTM上限利用の際の第1の値は、MXTMT-1ではなくてもよく、デフォルト値であるDEFAULT_TMT1より大きい値であれば、動作条件や発熱上昇カーブに応じて他の値に設定してもよい。
In S213, the
S213で、S212のモード判定の結果、HCMT上限利用でなくHCTM標準利用が設定されたと判定された場合は、S215に進む。S215では、CPU108は、記録メディアに設定するHCTMの温度設定をデフォルト値に決定する。つまり、CPU108は、第1の値をDEFAULT_TMT1、第2の値をDEFAULT_TMT2に決定する。本実施形態では、標準利用において記録メディアのデフォルト値を使用するものとしたが、他に指標となる値がある場合はデフォルト値でなくその値を採用してもよい。なお、デフォルト値を使用しない場合であっても、HCTM標準利用での第1の値は、HCTM上限利用の第1の値よりも小さく、HCTM標準利用での第2の値は、HCTM上限利用の第2の値よりも小さいものとする。
In S213, if it is determined that HCTM standard use is set instead of HCMT upper limit use as a result of the mode determination in S212, the process proceeds to S215. In S215, the
次にS216において、CPU108、及び、第1のメディア制御部110は、SetFeature コマンドと呼ばれる詳細機能設定コマンドを利用して、S214もしくはS215で決定されたHCTM機能の温度閾値(第1の値、第2の値)を記録メディア150に設定する処理を行う。具体的には、Set Feature コマンド内のHCTMの温度閾値を設定するための引数に、S214もしくはS215で決定された第1の値、第2の値を設定して、Set Feature コマンドを記録メディア150に発行する。S216において、温度閾値の設定を行うことにより、記録メディア150における第1の制限モード、第2の制限モードを実行する温度閾値が変更される。
Next, in S216, the
S217では、CPU108は、撮像装置100の動作モードが変更したかを判定する。モードが変更している場合は、S212に進む。モードが変更していない場合は、S218に進む。なお、撮像装置においては、ユーザにモード切替ダイヤルが操作されると、静止画撮影モード、動画撮影モードに切り替わる。また、再生ボタンが操作されると再生モードに切り替わり、メニューボタンが操作されると、設定画面を表示部104に表示し、ユーザ操作に応じて各種設定を行う設定モードへ切り替わる。なお、静止画撮影モード、動画撮影モード、再生モード、設定モードへの変更だけでなく、再生モード中の再生対象の画像の変更や、画像データのメディア間コピー機能などの特定の機能の実行など、撮像装置の動作状態についても、本実施形態においてはモードの変更に含まれるものとする。従って、S217では、動作状態の変更の場合もモードが変更されたと判断して、変更後のモードについて、S212~S216の処理を実行する。
In S217, the
S218において、CPU108は、電源OFFの操作があったかを判定する。電源OFFの操作があった場合は本処理を終了し、電源OFFのための処理を行う。電源OFFの操作がない場合は、S217に戻る。つまり、モードの変更がある度に、S212~S216の処理が繰り返されることになる。
In S218, the
図3を参照して、図2のS208のHCTM利用可否判定の処理についての詳細説明を行う。 Referring to Figure 3, we will now provide a detailed explanation of the process of determining whether HCTM can be used in S208 of Figure 2.
まずS301において、CPU108は、S206で取得した温度設定上限値(MXTMT)、温度設定下限値(MNTMT)がどちらも0でないかを確認する。HCTM対応としているにも関わらず温度設定上限値もしくは温度設定下限値が0℃であった場合、本当に0℃という解釈をするのではなく、ベンダーが値を入れていないため初期値の0が入っていると考える。温度設定上限値と温度設定下限値の両方が0出ない場合はS302に進む。温度設定上限値と温度設定下限値のうちのいずれかが0である場合はS304に進み、S304で、CPU108は、HCTM利用不可と判定する。本実施形態では、温度設定上限値、温度設定下限値のうちのいずれかが0である場合にHCTM利用不可と判定するものとしたが、温度設定上限値、温度設定下限値の両方が0である場合のみHCTM利用不可と判定するようにしてもよい。
First, in S301, the
次にS302で、CPU108は、温度設定上限値(MXTMT)について値の妥当性を確認するために、所定の範囲内になるかを判定する。具体的には、温度設定上限値(MXTMT)が、60~110(℃)の範囲内の場合、妥当であると判定する。本実施形態では、妥当と判断する温度範囲を60℃~110℃と予め設定しているが、これに限定されない。温度設定上限値(MXTMT)が60~110の温度範囲である場合はS303に進む。範囲外である場合はS304に進み、S304で、CPU108は、HCTM利用不可と判定する。
Next, in S302, the
次にS303で、CPU108は、S207で取得したデフォルト値のうちの第2の値に対応するDEFAULT_TMT2と、S206で取得した温度設定上限値(MXTMT)の比較を行う。記録メディアに第2の値のデフォルト値として設定されていたDEFAULT_TMT2が、温度設定上限値であるMXTMTよりも大きい場合は、記録メディアに設定されているDEFAULT_TMT2またはMXTMTの値が適当でない。そのため、DEFAULT_TMT2が、温度設定上限値であるMXTMTよりも大きい場合は、S304に進み、CPU108は、HCTM利用不可と判定する。DEFAULT_TMT2が、温度設定上限値以下の場合は、S305に進み、S305で、CPU108は、HCTM利用可能と判定する。
Next, in S303, the
以上、本実施形態ではS301、S302,S303のチェックによりHCTM利用可能/不可を判定したが、さらに他の判定を行ってもよい。例えば、温度設定上限値(MXTMT)と温度設定下限値(MNTMT)を比較して、MXTMTがMNTMTよりも小さい場合は、HCTM利用不可と判定するようにしてもよい。 In the above, in this embodiment, whether HCTM is available or not is determined by checking S301, S302, and S303, but other determinations may also be made. For example, the upper temperature setting limit (MXTMT) may be compared with the lower temperature setting limit (MNTMT), and if MXTMT is smaller than MNTMT, it may be determined that HCTM is not available.
次に図4を参照してホワイトリスト判定処理を説明する。なお、この判定には、あらかじめ撮像装置100の内部に、信頼できる記録メディアの情報(ホワイトリスト)を保持しておかなければならない。この保持する情報の具体例として本実施例では、ModelNameを例に説明するが、これに限定されず、PCIeの物理層通信から得られるVenderIDを利用してもよい。 Next, the whitelist determination process will be described with reference to FIG. 4. Note that, in order to make this determination, information (whitelist) of reliable recording media must be stored inside the imaging device 100 beforehand. In this embodiment, ModelName will be used as a specific example of the stored information, but this is not limited to this, and VenderID obtained from PCIe physical layer communication may also be used.
まず、S401では、CPU108は、S203で取得した、メディア能力情報を分析してModelNameを取得する。次にS402でCPU108は、あらかじめ内部保持している情報と照合する。S403で、CPU108は、S401で取得したModelNameが、内部保持している情報に含まれているか(ヒットしたか)を判定し、ヒットしない場合はS404でホワイトリスト判定失敗と判定し終了する。ModelNameが、内部保持している情報に含まれていた場合は、CPU108は、S405でホワイトリスト判定成功と判定し、ホワイトリスト判定処理を終了する。
First, in S401, the
次に図5を参照して、モード判定処理を詳細に説明する。まずS501で、CPU108は、現在の撮像装置の動作モードが、静止画撮影モードか否かを判定する。静止画撮影モードであると判定された場合はS506に進み、そうでない場合はS502に進み次の判定を行う。S502で、CPU108は、現在の撮像装置の動作モードが、動画撮影モードか否かを判定する。動画撮影モードであると判定された場合はS506に進み、そうでない場合はS503に進み次の判定を行う。S503で、CPU108は、現在の撮像装置の動作モードが、再生モードか否かを判定する。再生モードと判定された場合はS504において、CPU108は、S217で検出したモード変更の操作が、動画再生を指示するための動画再生ボタンへの操作であるかを判定する。動画再生の指示である場合は、S506に進む。動画再生の指示ではなく、動画再生以外の、再生モードへの移行、静止画の再生、動画ファイル中の1フレーム分の画像の再生等の場合は、S505に進む。なお、再生モードにおいて、再生対象画像の変更(切替)を行うと、次の静止画、又は、次の動画の代表画像(1フレーム目の画像のみ)を再生するため、再生対象の画像の変更の場合もS505に進む。なお、S503で再生モードではないと判定された場合は、S505に進む。S505では、CPU108は、HCTM標準利用すると決定する。そして、S506では、CPU108は、HCTM上限利用すると決定する。このように、本実施形態では、撮像装置の動作モード、動作状態に応じて、HCTM標準利用するか、HCTM上限利用するかを決定する。
Next, the mode determination process will be described in detail with reference to FIG. 5. First, in S501, the
本実施形態では、静止画撮影モードへの変更時、動画撮影への変更時、再生モードにおいて動画再生が行われる際には、HCTM上限利用するようにする。そして、それ以外のモード(設定モードや、再生モードにおける静止画再生時)ではHCTM標準利用する。静止画撮影モード、動画撮影モードにおいては、ユーザが意図した撮影タイミング/チャンスを逃させないということから記録メディアの最高性能を引き出すため、HCTM上限利用するように決定する。 In this embodiment, the HCTM upper limit is used when switching to still image shooting mode, when switching to video shooting, and when video playback is performed in playback mode. The HCTM standard is used in other modes (setting mode and when playing back still images in playback mode). In still image shooting mode and video shooting mode, it is decided to use the HCTM upper limit in order to bring out the best performance of the recording media so that the user does not miss the shooting timing/opportunity intended by the user.
動画再生においては、動画の読み出しが再生間隔に対して間に合わない所謂アンダーフローになると動画再生が止まってしまうため、温度が多少上昇しても記録メディアの最高性能を引き出すことが可能なHCTM上限利用するように決定する。 When playing back video, if the video cannot be read in time with the playback interval, a so-called underflow occurs and video playback stops, so we have decided to use the HCTM upper limit, which allows us to achieve the best performance from the recording media even if the temperature rises slightly.
また、再生モードにおける静止画再生、サムネイル複数枚同時再生、設定モードでは、HCTM標準利用とする。また、再生モードにおいて、動画ファイルの再生であっても、動画ファイルの1フレーム画像のみ(代表画像や選択フレームのみ)を再生する場合は、静止画再生と同様にHCTM標準利用としている。また、撮像装置の機能として、RAW画像の現像機能、記録メディア初期化機能、複数メディア間での画像データのコピー機能、動画切り出し編集機能などを実行する際にも、時間的制約は特になく記録メディアの最高性能を引き出す必要がないため、HCTM標準利用としている。RAW画像の現像機能、メディア間での画像データのコピー機能、動画切り出し編集機能は、データサイズの大きい画像データについてこれらの機能を実行すると、温度が20℃~25℃上がってしまう場合もある。そのため、温度が上昇しやすいHCTM上限利用ではなく、HCTM上限利用よりも温度上昇を抑制可能なHCTM標準利用にしている。 In addition, HCTM standard is used in playback mode for still image playback, simultaneous playback of multiple thumbnails, and in setting mode. In playback mode, HCTM standard is used when playing back a video file, and only one frame image of the video file (representative image or selected frame) is played back, just like still image playback. In addition, HCTM standard is used when executing functions of the imaging device, such as RAW image development function, recording media initialization function, image data copy function between multiple media, and video cut-out and editing function, because there are no time constraints and it is not necessary to bring out the best performance of the recording media. When executing RAW image development function, image data copy function between media, and video cut-out and editing function for image data with large data size, the temperature may rise by 20°C to 25°C. Therefore, HCTM standard is used, which can suppress temperature rise more than HCTM upper limit use, rather than HCTM upper limit use, which is likely to cause temperature rise.
本実施形態では、静止画撮影モード、動画撮影モード、動画再生であるかを判定し、この場合はHCTM上限利用、それ以外の場合はHCTM標準利用するものとした。しかし、これに限定されず、他にも変形例が考えられる。例えば、静止画撮影モード、動画撮影モードを区別して判定せずに、撮影モードの場合はHCTM上限利用するようにしてもよい。また、動画再生において、記録メディアの最高性能を引き出す必要がある動画であるかを、動画のビットレートに応じて判定し、ビットレートが大きい動画はHCTM上限利用し、ビットレートが小さい動画についてはHCTM標準利用するようにしてもよい。 In this embodiment, it is determined whether the mode is still image shooting mode, video shooting mode, or video playback, and in this case the HCTM upper limit is used, and in other cases the HCTM standard is used. However, this is not limited to this, and other variations are possible. For example, it is possible to use the HCTM upper limit in shooting mode without distinguishing between still image shooting mode and video shooting mode. Also, in video playback, it is possible to determine whether the video is one that requires the best performance of the recording media based on the video bit rate, and use the HCTM upper limit for videos with a high bit rate and use the HCTM standard for videos with a low bit rate.
このように、本実施形態では、S217において、CPU108は、HCTM標準利用、HCTM上限利用の変更に関わる動作モード及び動作状態の変更を監視し、変更があった場合にモード判定処理により、HCTM標準利用するか、HCTM上限利用するかを決定する。そして、S216において、決定されたHCTM標準利用またはHCTM上限利用に対応する第1の値、第2の値に設定して、記録メディアのHCTM機能における温度閾値の値を変更する。つまり、なお、S216について、変更前の設定と、変更後の設定とが同じであれば、S216の処理を省略してもよい。
Thus, in this embodiment, in S217, the
なお、モード変更があった場合は、このようなHCTM標準利用、HCTM上限利用への温度閾値の設定変更を行ってから、各モード(動作動作状態)での処理が実行開始されるようにしてもよいし、各モードの処理と温度閾値の設定変更を並行して行うようにしてもよい。ただし、動画再生については、温度閾値の設定変更を行ってから、動画再生処理を開始するようにするとよい。 When a mode change occurs, the temperature threshold setting may be changed to HCTM standard use or HCTM upper limit use before processing in each mode (operating state) begins, or the processing in each mode and the temperature threshold setting change may be performed in parallel. However, for video playback, it is recommended that the temperature threshold setting be changed before video playback processing begins.
<撮影中の温度閾値の変更>
次に図6を利用しながら、撮影中のHCTMの温度設定の閾値の変更処理について説明を行う。本処理は、操作部105の撮影指示ボタンが操作され、動画または静止画連写撮影の撮影開始指示が入力されたことに応じて実行される。また、本処理は、CPU108が不揮発性メモリ113に格納された制御プログラムを実行して撮像装置100の各部を制御することで実現される。また、本実施形態では、第1の記録メディア150に画像を記録する場合について説明するが、第1の記録メディア150ではなく、第2の記録メディア160に記録してもよい。どちらの記録メディアに画像を記録するかは、ユーザが操作部105を介して設定可能とする。
<Changing temperature threshold during shooting>
Next, the process of changing the threshold of the HCTM temperature setting during shooting will be described with reference to FIG. 6. This process is executed in response to the shooting instruction button of the
まず、CPU108は、撮影処理を開始する(S601)。撮影処理でが、CPU108は、撮像部103で画像を撮影し、撮影した画像に画像処理部109において画像処理を施して画像データを生成するように制御する。そして、CPU108は、撮影処理により生成した画像データをRAM211に蓄積する蓄積処理開始する(S602)。以降、撮影終了となるまで、この撮影処理、蓄積処理が継続される。画像データは、静止画撮影では静止画1枚、動画撮影では動画1フレームまたは動画の記録単位(たとえば15フレーム)で、データの区切りが発生する。そこで、CPU108は、画像データの蓄積が、この区切りまで行われたかを判定する(S603)。画像データの区切りまで蓄積されていると判定された場合は、RAM211に蓄積された区切りまでの画像データを、第1の記録メディア制御部を介して第1の記録メディア150への記録を開始する(S604)。画像データの区切りまで蓄積されていないと判定された場合は、画像データの第1の記録メディアへの記録を開始せずに次に進む。
First, the
画像処理部109により画像処理が施された記録対象の画像データは、RAM211に蓄積され、第1の記録メディア150へ記録が完了した時点でRAM211から解放(消去)される。このようにRAM211に蓄積される画像データの総量は変動する。S605では、CPU108は、RAM211に蓄積されている画像データのデータ量(バッファ量/蓄積データ量/データ蓄積量とも言う)が所定以上であるかを判定する。蓄積されている画像データが所定データ量以上であると判定された場合、CPU108は、バッファフルと判定して画像データの蓄積を停止する(S606)。このように、バッファフル時に蓄積処理を停止することで、蓄積処理を停止している間に撮影された画像データは、記録されないこととなるが、画像データがRAM211に蓄積できずに溢れてしまう状況になることを防ぐ。そして、バッファフルの場合は、CPU108は、HCTM標準利用に決定し、第1の記録メディア制御部110により、第1の記録メディアのHCTM温度設定の閾値を、HCTM標準利用の温度閾値に設定する(S607)。ここで、CPU108は、図2のS215、S216と同じ処理を実行することにより、第1の記録メディア150へのHCTM標準利用の温度閾値の設定を行う。バッファフルでないと判定された場合はS608に進む。
The image data to be recorded that has been subjected to image processing by the
前述のようにRAM211に蓄積される画像データのデータ量は変動する。このRAM211に蓄積されている画像データのデータ量(蓄積データ量)をCPU108がRAM211の所定の領域に保持しておき、後に、前回記録したデータ量と比較する(S608)。具体的には、CPU108は、S603で蓄積区切りと判定したときに、区切りと判定されたときのRAM211に蓄積されている画像データのデータ量(蓄積データ量)をRAM211の所定の領域に記録しておく。区切りまでの画像データの記録を開始するとRAM211に蓄積されている画像データのデータ量(蓄積データ量)が減少する可能性があるため、区切りまでの画像データの記録を開始する前の蓄積データ量を記録する。そして、CPU108は、次に蓄積区切りと判定したときに、所定の領域に記録した前回の蓄積区切り判定時の蓄積データ量と、現在のRAM211の蓄積データ量とを比較する。S609において、CPU108は、比較の結果、現在の蓄積データ量が前回の蓄積データ量よりも所定量以上増加しているかに応じて、次の処理を切り替える。現在の蓄積データ量が前回の蓄積データ量よりも所定量以上増加していると判定された場合は、CPU108は、HCTM上限利用に決定し、第1の記録メディア制御部110により、第1の記録メディアのHCTM温度設定の閾値を、HCTM上限利用の温度閾値に設定する(S610)。ここで、CPU108は、図2のS214、S216と同じ処理を実行することにより、第1の記録メディア150へのHCTM上限利用の温度閾値の設定を行う。現在の蓄積データ量が前回の蓄積データ量よりも所定量以上増加していないと判定された場合は、CPU108は、蓄積データ量が閾値以下かを判定する(S611)。蓄積データ量が閾値以下であると判定された場合は、CPU108は、HCTM標準利用に決定し、第1の記録メディア制御部110により、第1の記録メディアのHCTM温度設定の閾値を、HCTM上限利用の温度閾値に設定する(S612)。ここで、CPU108は、S607と同様に、図2のS215、S216と同じ処理を実行することにより、第1の記録メディア150へHCTM標準利用の温度閾値の設定を行う。蓄積データ量が閾値以下でないと判定された場合は、HCTM上限利用に設定する(S610)。
As described above, the amount of image data stored in the RAM 211 varies. The
RAM211への撮影データの蓄積と、画像データの第1の記録メディア150への記録とは同時に行われる。その中で、画像データの蓄積データ量の変動に応じてHCTM標準利用と、HCTM上限利用を使い分ける。
The accumulation of shooting data in the RAM 211 and the recording of image data in the
S613で、CPU108は、操作部105の撮影指示ボタンが操作され、動画または静止画連写撮影の撮影終了指示が入力されたか否かを判定する。撮影終了指示が入力されていない場合は、S603に戻り、S603~S613の処理を繰り返す。撮影終了指示が入力されたと判定した場合は、CPU108は、撮影処理および蓄積処理を終了すると共に、RAM211に蓄積されている残りの画像データすべてを、第1の記録メディア制御部110により第1の記録メディア150記録し、本処理を終了する。
In S613, the
このように、本実施形態においては、メモリのデータの蓄積状態に応じて、HCTM標準利用に設定するか、HCTM上限利用に設定するかを切り替えている。 In this way, in this embodiment, the system switches between setting HCTM standard usage and setting HCTM upper limit usage depending on the amount of data stored in the memory.
具体的には、バッファフル状態になると蓄積処理を停止し、HCTM標準利用に設定したうえで、蓄積されている画像データの記録メディア150への記録は継続する。そして、バッファフル状態が解除されれば、画像データの蓄積処理を再開する。バッファフル状態の解除は、S605の判定と同様に、蓄積データ量が所定以上でないと判定された場合に、バッファフル状態を解除するものとする。しかし、S605と異なる閾値、例えば、S605よりも小さい閾値を用いて、あるいは、データ量が0となったことに応じて、バッファフル解除すると判定するようにしてもよい。そして、バッファフル状態が解除されるまでは、HCTM標準利用に設定することにより、第1の記録メディア150の温度上昇は抑制するため、蓄積処理を再開した後の第1の記録メディアのパフォーマンスの発揮が期待できる。
Specifically, when the buffer full state is reached, the accumulation process is stopped, the HCTM standard usage is set, and the recording of the accumulated image data to the
上記で説明したとおり、本実施形態においては、バッファフル状態が解除したことに応じて、蓄積処理を再開するものとした。しかし、静止画撮影(連写撮影)においては、バッファフル状態において蓄積処理を停止して、バッファフル状態解除において蓄積処理を再開し、動画撮影においては、異なる処理を行うようにしてもよい。例えば、動画撮影においては、バッファフル状態に応じてHCTM標準利用に設定すると共に撮影終了として蓄積処理を停止し、バッファフル状態が解除されたとしても蓄積処理を再開しないようにしてもよい。この場合であっても、バッファフル状態となりデータ蓄積を停止した後はHCTM標準利用に設定されるため、温度上昇を抑制でき、次の撮影における記録メディアのパフォーマンスの発揮が期待できる。 As described above, in this embodiment, the accumulation process is resumed when the buffer full state is released. However, in still image shooting (continuous shooting), the accumulation process may be stopped in the buffer full state and resumed when the buffer full state is released, and in video shooting, different processing may be performed. For example, in video shooting, the HCTM standard usage may be set in response to the buffer full state, and the accumulation process may be stopped as shooting ends, and the accumulation process may not be resumed even if the buffer full state is released. Even in this case, since the HCTM standard usage is set after the buffer full state is reached and data accumulation is stopped, a rise in temperature can be suppressed and the performance of the recording media can be expected to be demonstrated in the next shooting.
上述のように、本実施形態においては、蓄積データ量が大きく増加する場合に、HCTM上限利用に設定している。蓄積データ量が大きく増加する場合は、バッファフル状態になりやすく、バッファフル状態になると蓄積処理が停止され、画像データの記録ができなくなってしまう。そのため、HCTM上限利用に設定することにより、記録メディアにおいて第1の制限モードが実行されて記録速度が制限されてしまうことを抑制し、第1の制限モードにより記録速度が制限されてさらに蓄積データ量が増加してしまうのを防ぐことができる。 As described above, in this embodiment, when the amount of accumulated data increases significantly, the HCTM upper limit usage is set. When the amount of accumulated data increases significantly, the buffer is likely to become full, and when the buffer becomes full, the accumulation process is stopped and image data cannot be recorded. Therefore, by setting the HCTM upper limit usage, it is possible to prevent the first restriction mode from being executed on the recording media and the recording speed being restricted, and to prevent the first restriction mode from restricting the recording speed and further increasing the amount of accumulated data.
また、上述のように、本実施形態においては、蓄積データ量の増加量が大きくない場合であっても、蓄積データ量が閾値以下の場合はHCTM標準利用に設定し、閾値以下でない場合はHCTM上限利用に設定する。蓄積データ量が閾値以下でない場合は、バッファフル状態となって画像データの記録ができなくなってしまう可能性があるため、HCTM上限利用に設定し、第1の制限モードにより記録速度が制限されてさらに蓄積データ量が増加してしまうのを防ぐことができる。蓄積データ量が閾値以下の場合は、バッファフル状態となって画像データの記録ができなくなってしまう可能性が低いため、HCTM標準利用に設定し、温度上昇を抑制する。 Also, as described above, in this embodiment, even if the increase in the amount of accumulated data is not large, if the amount of accumulated data is equal to or less than the threshold, the HCTM standard usage is set, and if it is not equal to or less than the threshold, the HCTM upper limit usage is set. If the amount of accumulated data is not equal to or less than the threshold, there is a possibility that the buffer will become full and image data will not be able to be recorded, so the HCTM upper limit usage is set, and it is possible to prevent the recording speed from being restricted by the first restriction mode, which would result in a further increase in the amount of accumulated data. If the amount of accumulated data is equal to or less than the threshold, there is a low possibility that the buffer will become full and image data will not be able to be recorded, so the HCTM standard usage is set and the temperature rise is suppressed.
このように、撮影中にRAM211(バッファ)への蓄積データ量に応じて、動的にHCTM温度設定の変更を行うことにより、撮影中における記録メディアの温度の上昇の抑制と、記録メディアのパフォーマンスの発揮の両方をバランスよく行うことができる。 In this way, by dynamically changing the HCTM temperature setting during shooting according to the amount of data stored in RAM 211 (buffer), it is possible to achieve a good balance between suppressing the rise in temperature of the recording media during shooting and providing the best performance from the recording media.
上述の実施形態では、蓄積データ量の増加量が所定以上であるかと、蓄積データ量が閾値以下であるかの2つの判断結果に応じて、HCTM上限利用、HCTM標準利用の設定を切り替えるようにしていた。しかし、判定方法はこれに限らず、例えば、蓄積データ量の増加量を判定せずに、蓄積データ量が閾値以下であるかの判定のみを行うようにしてもよい。この場合、蓄積データ量が閾値以下の場合はHCTM標準利用に設定し、蓄積データ量が閾値以上でない(閾値未満)の場合はHCTM上限利用に設定する。あるいは、蓄積データ量が第1の閾値以下の場合はHCTM標準利用に設定し、蓄積データ量が第2の閾値(第1の閾値<第2の閾値)の場合はHCTM上限利用に設定するようにしてもよい。このとき、第1の閾値より大きく第2の閾値よりも小さい場合はHCTM温度設定は変更しない。 In the above embodiment, the setting is switched between HCTM upper limit use and HCTM standard use depending on two judgment results: whether the increase in the amount of accumulated data is greater than or equal to a predetermined amount, and whether the amount of accumulated data is less than or equal to a threshold. However, the judgment method is not limited to this, and for example, it is also possible to only judge whether the amount of accumulated data is less than or equal to a threshold without judging the increase in the amount of accumulated data. In this case, if the amount of accumulated data is less than or equal to the threshold, it is set to HCTM standard use, and if the amount of accumulated data is not greater than or equal to the threshold (less than the threshold), it is set to HCTM upper limit use. Alternatively, if the amount of accumulated data is less than or equal to a first threshold, it is set to HCTM standard use, and if the amount of accumulated data is a second threshold (first threshold < second threshold), it is set to HCTM upper limit use. In this case, if the amount of accumulated data is greater than the first threshold and less than the second threshold, the HCTM temperature setting is not changed.
または、蓄積データ量が閾値以下であるか(又は閾値以上であるか)を判定せずに、蓄積データ量の増加量(減少量)のみを判定するようにしてもよい。この場合、増加量が所定以上の場合はHCTM上限利用に設定し、増加量がマイナス、つまり減少している場合又は所定量以上減少している場合には、HCTM標準利用に設定し、それ以外はHCTM温度設定を変更しないようにするなどの設定方法が考えられる。 Alternatively, it is possible to determine only the increase (decrease) in the amount of accumulated data without determining whether the amount of accumulated data is below a threshold (or above a threshold). In this case, it is possible to set it to use the HCTM upper limit if the increase is a predetermined amount or more, set it to use the HCTM standard if the increase is negative, i.e., decreasing, or has decreased by a predetermined amount or more, and not change the HCTM temperature setting in any other cases.
[その他の実施形態]
以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。
[Other embodiments]
The present invention has been described above in detail based on its preferred embodiments, but the present invention is not limited to these specific embodiments, and various forms that do not deviate from the gist of the present invention are also included in the present invention.
本発明は、上述の実施形態の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention can also be realized by supplying a program that realizes the functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., an ASIC) that realizes one or more functions.
従って、本発明の機能処理をコンピュータで実現するために、該コンピュータに供給、インストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明の機能処理を実現するためのコンピュータプログラム自体も本発明に含まれる。 Therefore, the program code that is supplied to and installed on a computer to realize the functional processing of the present invention also realizes the present invention. In other words, the computer program itself for realizing the functional processing of the present invention is also included in the present invention.
100 撮像装置
108 CPU
110 第1のメディア制御部
111 第2のメディア制御部
112 RAM
113 不揮発性メモリ
150 第1の記録メディア
160 第2の記録メディア
100
110 First
113
Claims (16)
前記記録媒体に記録するデータを蓄積するメモリと、
前記メモリに蓄積されたデータを前記記録媒体に記録する記録制御手段と、
前記記録媒体において機能制限が行われる温度閾値を設定する制御手段と、を有し、
前記制御手段は、前記記録媒体において機能制限が行われる温度閾値を、前記記録媒体のデフォルト値に設定する第1の設定を行うか、前記デフォルト値よりも大きい値に設定する第2の設定を行うかを、前記メモリのデータの蓄積状態に応じて切り替えることを特徴とする記録装置。 A recording device capable of accessing a recording medium,
a memory for storing data to be recorded on the recording medium;
a recording control means for recording the data stored in the memory onto the recording medium;
a control means for setting a temperature threshold at which a function restriction is performed in the recording medium,
The recording device is characterized in that the control means switches between a first setting in which the temperature threshold at which functional restrictions are imposed on the recording medium is set to a default value of the recording medium, and a second setting in which the temperature threshold is set to a value greater than the default value, depending on the accumulation state of data in the memory.
前記制御手段は、前記範囲取得手段により取得した設定可能な値の範囲内で前記第1の値及び前記第2の値を設定することを特徴とする請求項8に記載の記録装置。 a range acquisition means for acquiring, from the recording medium, a range of values that can be set as a temperature threshold value for which a function restriction is performed in the recording medium;
9. The recording apparatus according to claim 8 , wherein the control means sets the first value and the second value within the range of settable values acquired by the range acquisition means.
前記デフォルト値取得手段は、前記記録媒体において機能制限が行われる温度閾値の設定を変更する前に前記記録媒体に設定されている温度閾値を取得し、当該取得した値をデフォルト値とすることを特徴とする請求項1ないし11のいずれか1項に記載の記録装置。 a default value acquisition unit that acquires, from the recording medium, a default value of a temperature threshold value at which a function is restricted in the recording medium,
A recording device as described in any one of claims 1 to 11, characterized in that the default value acquisition means acquires the temperature threshold set on the recording medium before changing the setting of the temperature threshold at which functional restrictions are imposed on the recording medium, and sets the acquired value as the default value.
前記制御手段は、HCTM(Host Controlled Thermal Management)機能を用いて前記温度閾値を設定することを特徴とする請求項1ないし12のいずれか1項に記載の記録装置。 the recording medium is a memory card that complies with the CFexpress standard,
13. The recording apparatus according to claim 1, wherein the control means sets the temperature threshold value using a Host Controlled Thermal Management (HCTM) function.
メモリに蓄積されたデータを前記記録媒体に記録する記録制御工程と、
前記記録媒体において機能制限が行われる温度閾値を設定する制御工程と、を有し、
前記制御工程では、前記記録媒体において機能制限が行われる温度閾値を、前記記録媒体のデフォルト値に設定する第1の設定を行うか、前記デフォルト値よりも大きい値に設定する第2の設定を行うかを、前記メモリのデータの蓄積状態に応じて切り替えることを特徴とする記録装置の制御方法。 A method for controlling a recording device capable of accessing a recording medium, comprising the steps of:
a recording control step of recording the data stored in the memory onto the recording medium;
a control step of setting a temperature threshold at which a function restriction is performed in the recording medium,
A control method for a recording device, characterized in that in the control process, a first setting is performed in which the temperature threshold value at which functional restrictions are imposed on the recording medium is set to a default value of the recording medium, or a second setting is performed in which the temperature threshold value is set to a value greater than the default value, depending on the accumulation state of data in the memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020044506A JP7490401B2 (en) | 2020-03-13 | 2020-03-13 | Recording apparatus and control method for recording apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020044506A JP7490401B2 (en) | 2020-03-13 | 2020-03-13 | Recording apparatus and control method for recording apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021145309A JP2021145309A (en) | 2021-09-24 |
| JP7490401B2 true JP7490401B2 (en) | 2024-05-27 |
Family
ID=77767310
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020044506A Active JP7490401B2 (en) | 2020-03-13 | 2020-03-13 | Recording apparatus and control method for recording apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7490401B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017169102A (en) | 2016-03-17 | 2017-09-21 | キヤノン株式会社 | Image recording apparatus and image recording method |
| JP2017216027A (en) | 2016-06-01 | 2017-12-07 | キヤノン株式会社 | Recording apparatus and recording method |
-
2020
- 2020-03-13 JP JP2020044506A patent/JP7490401B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017169102A (en) | 2016-03-17 | 2017-09-21 | キヤノン株式会社 | Image recording apparatus and image recording method |
| JP2017216027A (en) | 2016-06-01 | 2017-12-07 | キヤノン株式会社 | Recording apparatus and recording method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021145309A (en) | 2021-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7475900B2 (en) | Recording apparatus and control method for recording apparatus | |
| JP2010198407A (en) | Information processor, data recording control method, and program | |
| JP6356970B2 (en) | Recording apparatus and control method of recording apparatus | |
| JP7467197B2 (en) | Recording apparatus and control method for recording apparatus | |
| US7349021B2 (en) | Imaging apparatus and imaging system control method | |
| US20170230586A1 (en) | Information processing apparatus, information processing method, and program | |
| JP7486940B2 (en) | Recording apparatus and control method for recording apparatus | |
| JP2008197954A (en) | Electronic equipment | |
| JP7490401B2 (en) | Recording apparatus and control method for recording apparatus | |
| US11334142B2 (en) | Recording apparatus, image capturing apparatus, control method, and storage medium | |
| JP7458755B2 (en) | Recording device and method of controlling the recording device | |
| CN112887641B (en) | Recording apparatus, control method thereof, and storage medium | |
| US11837257B2 (en) | Electronic device and control methods thereof | |
| JP5523081B2 (en) | Recording device | |
| US8849098B2 (en) | Recording apparatus | |
| US11570395B2 (en) | Recording and reproducing apparatus and method of controlling recording and reproducing apparatus | |
| JP2021040184A (en) | Recording device, control method, and program | |
| JP2001231001A (en) | Electronic camera system | |
| JP4457558B2 (en) | Video and audio signal recording device | |
| EP1816556A2 (en) | Information processing apparatus containing plural storage media, imaging apparatus, information processing method and computer program | |
| JP4850419B2 (en) | Information processing apparatus, information processing method, program, and storage medium | |
| JP2012014655A (en) | Communication device and imaging device | |
| JP2014096190A (en) | Recording device and control method of the same, program and storage medium | |
| JP2011034236A (en) | Image pickup device and its control method | |
| JP2021040192A (en) | Recording device, imaging device, control method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20200616 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230301 |
|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20231213 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240131 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240206 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240325 |
|
| 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: 20240416 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240515 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7490401 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |