JP5548443B2 - Image processing apparatus and control method thereof - Google Patents
Image processing apparatus and control method thereof Download PDFInfo
- Publication number
- JP5548443B2 JP5548443B2 JP2009296370A JP2009296370A JP5548443B2 JP 5548443 B2 JP5548443 B2 JP 5548443B2 JP 2009296370 A JP2009296370 A JP 2009296370A JP 2009296370 A JP2009296370 A JP 2009296370A JP 5548443 B2 JP5548443 B2 JP 5548443B2
- Authority
- JP
- Japan
- Prior art keywords
- channel
- data
- digital data
- holding
- analog data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、画像処理装置及びその制御方法に関する。 The present invention relates to an image processing apparatus and a control method thereof.
デジタルカメラやデジタルビデオカメラのような撮影が可能な画像処理装置は、複数のアナログデータ入力部とアナログデータ入力部から入力されたアナログデータを処理するアナログデータ処理部とデジタル信号処理部を有する。ここで、アナログデータ処理部から出力される信号がデジタル信号処理部に入力される、といったように処理部間で信号の受け渡しが行われる。当該画像処理装置ではまた、撮像部から入力された映像信号や、音声入力部から入力された音声信号を装置の記録媒体に記録し、該記録媒体に記録された映像・音声信号を記録媒体から読み出して再生できる。 An image processing apparatus capable of photographing such as a digital camera or a digital video camera includes a plurality of analog data input units, an analog data processing unit that processes analog data input from the analog data input unit, and a digital signal processing unit. Here, signals are transferred between the processing units such that a signal output from the analog data processing unit is input to the digital signal processing unit. In the image processing apparatus, the video signal input from the imaging unit and the audio signal input from the audio input unit are recorded on a recording medium of the apparatus, and the video / audio signal recorded on the recording medium is recorded from the recording medium. Read and play.
このような画像処理装置では、撮影中に不具合が発生し、動作制御に誤動作を引き起こし、その結果、撮影チャンスを逃してしまう可能性もある。このような不具合要因としてメタ・ステーブルが挙げられる。このメタ・ステーブルの回避方法として、アナログデータ処理部とデジタル信号処理部の境界において、後段のデジタル信号処理部において該アナログ処理部からの出力信号をフリップフロップ2段受けする方法がある。また、アナログデータ処理部とデジタル信号処理部の境界において、後段のデジタル信号処理部に対するクロックの遅延量を大きくする方法がある。また、異クロック間の周波数比に応じて、クロックエッジを拡張することにより、メタ・ステーブルに起因する誤動作を防止する技術(特許文献1)が提案されている。 In such an image processing apparatus, there is a possibility that a problem occurs during shooting, causing a malfunction in operation control, and as a result, a shooting opportunity may be missed. Meta-stable can be cited as such a failure factor. As a method for avoiding this meta-stable, there is a method in which the output signal from the analog processing unit is received by two stages of flip-flops at the subsequent digital signal processing unit at the boundary between the analog data processing unit and the digital signal processing unit. There is also a method of increasing the amount of clock delay with respect to the subsequent digital signal processing unit at the boundary between the analog data processing unit and the digital signal processing unit. In addition, a technique (Patent Document 1) that prevents malfunction caused by meta-stable by extending the clock edge according to the frequency ratio between different clocks has been proposed.
しかしながら、上述の回避方法においても、メタステーブルによる転送不具合誤認識の確率自体は低減できるものの、転送不具合の誤認識を無くすことはできない。また、専用の誤認識判定回路を別途設ける場合、回路規模が増大してしまうという問題がある。 However, even with the above avoidance method, although the probability of misrecognition of transfer failure due to metastable can be reduced, misrecognition of transfer failure cannot be eliminated. Further, when a dedicated erroneous recognition determination circuit is provided separately, there is a problem that the circuit scale increases.
そこで、本発明は、回路規模を増大をさせることなく、メタ・ステーブルによるデータ転送不良による装置の誤動作を回避する技術を提供することを目的とする。 Therefore, an object of the present invention is to provide a technique for avoiding a malfunction of a device due to a data transfer failure due to a meta stable without increasing the circuit scale.
上記課題を解決する本発明は、
複数のチャンネルのアナログデータの何れかを選択し、前記選択したチャンネルのアナログデータをデジタルデータに変換するA/D変換手段と、
前記A/D変換手段から出力されたデジタルデータを保持する手段であって、各チャンネルについて連続した2周期のデジタルデータを保持する第1の保持手段と、
前記A/D変換手段から出力されたデジタルデータを保持する第2の保持手段と、
前記第2の保持手段において保持されるデジタルデータを更新する更新手段と、
第1の種類のチャンネルのアナログデータを第1の周期で選択し、第2の種類のチャンネルのアナログデータを前記第1の周期よりも長い第2の周期で選択するように、前記A/D変換手段を制御すると共に、前記A/D変換手段による変換に応じて前記第2の保持手段により保持されるデジタルデータを更新するように前記更新手段を制御する制御手段とを備える画像処理装置であって、
前記制御手段は、前記第1の保持手段により保持されたデジタルデータに基づき、前記第1の保持手段に保持された前記第1の種類の一つのチャンネルの連続した2周期のデジタルデータの差が閾値より大きいと判別した場合、前記更新手段が前記一つのチャンネルについて前記第2の保持手段に保持されるデジタルデータを更新しないように制御すると共に、前記第2の種類のチャンネルのアナログデータを選択するタイミングで、前記第2の種類のチャンネルのアナログデータに代えて、前記一つのチャンネルのアナログデータを選択して再度デジタルデータに変換するように前記A/D変換手段を制御し、前記A/D変換手段が再度変換することにより出力された前記一つのチャンネルのデジタルデータを前記第2の保持手段に保持させるように前記更新手段を制御することを特徴とする。
The present invention for solving the above problems
A / D conversion means for selecting any one of a plurality of channels of analog data and converting the analog data of the selected channels into digital data;
Means for holding digital data output from the A / D conversion means, first holding means for holding digital data of two consecutive cycles for each channel ;
Second holding means for holding digital data output from the A / D conversion means ;
And updating means for updating the digital data that is held in said second holding means,
The A / D is selected so that analog data of a first type of channel is selected in a first cycle, and analog data of a second type of channel is selected in a second cycle longer than the first cycle. An image processing apparatus comprising: a control unit that controls the conversion unit and controls the update unit so as to update the digital data held by the second holding unit in accordance with the conversion by the A / D conversion unit. There,
Based on the digital data held by the first holding means, the control means determines a difference between two consecutive periods of digital data of one channel of the first type held in the first holding means. If it is determined that the value is larger than the threshold value, the updating unit controls the digital data held in the second holding unit not to be updated for the one channel, and selects analog data of the second type of channel. The A / D conversion means is controlled to select the analog data of the one channel instead of the analog data of the second type of channel and convert it to digital data again at the timing of The digital data of the one channel output by the D conversion means converting again is held in the second holding means. And controlling the updating means so that.
本発明は、回路規模を増大をさせることなく、メタ・ステーブルによるデータ転送不良による装置の誤動作を回避する技術を提供することができる。 The present invention can provide a technique for avoiding a malfunction of an apparatus due to a data transfer failure due to meta-stable without increasing the circuit scale.
以下、発明の実施形態を添付の図面を参照して説明する。各実施形態に記載の本願発明は、画像処理システムにて、アナログ部とデジタル部の境界でメタ・ステーブル要因等によってデータ転送不良が発生した場合の誤動作防止技術に関連する。具体的には、データ転送の良否を判定し誤動作を抑制する。 Embodiments of the invention will be described below with reference to the accompanying drawings. The present invention described in each embodiment relates to a malfunction prevention technique when a data transfer failure occurs due to a meta-stable factor or the like at the boundary between an analog unit and a digital unit in an image processing system. Specifically, the determination and suppresses a malfunction the quality of data transfer.
[実施形態1]
図1は、実施形態1に関わる画像処理装置の構成例を示す。本実施形態における画像処理装置は、画像の撮影が可能な装置で有ればどのような装置でもよく、デジタルカメラ、デジタルビデオカメラの他、パーソナルコンピュータや携帯電話、形態情報端末等が含まれる。
[Embodiment 1]
FIG. 1 shows a configuration example of an image processing apparatus according to the first embodiment. The image processing apparatus according to this embodiment may be any apparatus as long as it can capture an image, and includes a digital camera, a digital video camera, a personal computer, a mobile phone, a form information terminal, and the like.
図1において、画像処理装置は、A/D変換部101、デジタル信号処理部102及びCPU107で構成される。A/D変換部101は、Nチャンネル分のデータについてアナログ−デジタルの変換処理を行いデジタルデータを生成する。デジタル信号処理部102は、A/D変換部101の制御および各種データの処理を行う。
In FIG. 1, the image processing apparatus includes an A /
デジタル信号処理部102は、以下の構成を含む。まず、選択部103は、A/D変換部101からのデジタル出力信号を、第1データ保持部104と更新部109とに出力する。第1データ保持部104は、Nチャンネル分のデジタルデータを保持する。選択読出部105は、第1データ保持部104が保持するデータを選択的に読み出して、比較判定部106に出力する。比較判定部106は、選択読出部105からの出力データに基づいて、CPU107からの設定に従った比較判定処理を行う。A/D制御部108は、比較判定部106の比較結果に基づいて、A/D変換部101への制御信号を出力する。更新部109は、比較判定部106での比較判定結果に基づき、選択部103から出力されるデータの更新を行うか否かを制御する。第2データ保持部110は、更新部109から出力されるデジタルデータを、後段の処理用のデータとして保持する。第2データ保持部110で保持されたデータは、不図示の後段の信号処理回路に入力される。
The digital
図1の画像処理装置100において、各ブロックは専用ロジック回路やメモリを用いてハードウェア的に構成されてもよい。或いは、メモリに記憶されている処理プログラムをCPUが実行することにより、ソフトウェア的に構成されてもよい。
In the
以下、画像処理装置における動作を説明する。A/D変換部101には、カメラのフォーカスレンズ、ズームレンズ、測距センサ及び温度センサといった複数の制御機構から、複数チャンネル(Nチャンネル)分のアナログデータが入力される。このNチャンネル分のアナログデータに対してA/D変換部101は、1種類ずつ順番に処理を行い処理が完了する毎に、デジタル信号処理部102へ処理結果を出力する。
Hereinafter, the operation of the image processing apparatus will be described. Analog data for a plurality of channels (N channels) is input to the A /
デジタル信号処理部102は、まず選択部103にてチャンネル毎にデジタルデータを選択し、第1データ保持部104に保持する。第1データ保持部104は、1チャンネル当たり少なくとも2周期分のデータを保持するように構成されている。選択読出部105は、第1データ保持部104のうち、いずれかのチャンネルの少なくとも2周期分のデータを選択して、比較判定部106に読み出す。比較判定部106は、選択読出部105から入力された少なくとも2周期分のデータを比較して、データの差分がCPU107で設定された閾値よりも大きいか否かを判定する。
The digital
比較判定部106における判定結果は、A/D制御部108及び更新部109に出力される。A/D制御部108は、比較判定部106が差分が閾値を超えていると判定したチャンネルについて再処理を行うべくA/D変換部101に再変換を指示する。
The determination result in the comparison determination unit 106 is output to the A /
A/D制御部108は、A/D変換部101に変換指示を行うべく、A/D変換を行うチャンネルを選択するためのCHセレクト信号、A/D変換のクロック信号としてADC用クロック、処理の開始を指示するAD変換スタート信号を供給する。再処理を行う場合には、該当するチャンネルのCHセレクト信号と、ADC用クロック、AD変換スタート信号を供給する。また、更新部109に第2データ保持部110のデータの更新の可否を通知するデータ更新信号を出力する。
The A /
更新部109は、選択部103からの各チャンネルのデータの出力を保持し、A/D制御部108からのデータ更新信号に従って、保持しているデータを該当するチャンネル用の第2データ保持部110に出力する。
The
次に、図2を参照して本実施形態におけるアナログデータの処理タイミングを説明する。本実施形態では、一例として20チャンネル分のアナログデータの処理タイミングを説明する。20チャンネルのうち、1チャンネルから5チャンネルまでは、第1の種別のチャンネルとして特定の頻度に対応する高速周期で処理を行う必要がある第1の種別の信号が割り当てられる。例えば、フォーカスレンズ、ズームレンズ、或いは、測距センサの制御は、チャンネル1からチャンネル5のいずれかで行うことができる。よってフォーカス制御信号、ズーム制御信号、測距センサ信号が第1の種別の信号としてチャンネル1からチャンネル5のいずれかに割り当てられる。一方、当該チャンネル以外のチャンネル6からチャンネル20までの15チャンネル分は、第2の種別のチャンネルとして上記高速周期で処理を行う必要がなく低速周期で処理を行うことで十分な例えば、温度センサ等に割り当てる。よって、第2の種別の信号として温度センサ信号がチャンネル6からチャンネル20のいずれかに割り当てられる。デジタルカメラ、デジタルビデオカメラのような画像処理装置において、装置周辺の温度は頻繁に変化するものではないので、低速周期の処理でも問題はない。仮にチャンネル4にフォーカスレンズの処理を、チャンネル6に温度センサーの処理を割り当てた場合は、フォーカスレンズ処理は6回に1回の第1の周期となり、温度センサー処理は90回に1回の第2の周期となる。
Next, the processing timing of analog data in this embodiment will be described with reference to FIG. In this embodiment, analog data processing timing for 20 channels will be described as an example. Of the 20 channels,
即ち、本実施形態では、1つのチャンネルのデータ送信の単位を「スロット」と呼ぶこととすると、6つのスロットを高速周期である第1の周期において反復してデータ転送を行う。そして、該6スロットの内5スロットについてはチャンネルの割当を固定的とする一方、残りの1スロットには1周期毎に異なるチャンネルを割り当てていく。従って、5つのスロットについては第1の周期において割り当てられた各チャンネルのデータ転送が行われ、残りの1スロットについては、該スロットに割り当てるべきチャンネル数によってより低速な第2の周期が決定する。なお、反復単位とするスロット数は6スロットである必要はなく、また、反復単位のスロットのうちチャンネルの割当を固定的とするスロット数も5つに限定されるものではない。 That is, in this embodiment, if the unit of data transmission of one channel is called “slot”, data transfer is performed by repeating six slots in the first cycle, which is a high-speed cycle. Channel assignment is fixed for 5 slots among the 6 slots, while different channels are assigned to the remaining 1 slot every cycle. Therefore, data transfer of each channel allocated in the first period is performed for the five slots, and a slower second period is determined for the remaining one slot depending on the number of channels to be allocated to the slot. Note that the number of slots used as a repetition unit does not need to be six slots, and the number of slots in which channel assignment is fixed among the slots of the repetition unit is not limited to five.
以下、本実施形態における処理について説明する。本実施形態は、メタ・ステーブルに起因する画像処理装置のデータ転送時の問題に対処したものである。図1のA/D変換部101内のアナログ回路からデジタル回路へのデータ転送時に、メタ・ステーブルによる影響でデータの転送が正常に行われない場合がある。仮に、データ転送が正常になされずに後段の信号処理回路へとデータが伝送されると、画像処理装置の動作を制御するパラメータの値が誤って伝達される場合がある。例えば、フォーカスレンズ処理について誤ったデータ転送が行われた場合、デジタルカメラ、デジタルビデオカメラ等の撮像装置を使用中に使用者の意図に反して、急にフォーカスが合わなくなるという誤動作が発生しする可能性がある。このような誤動作を回避するために、本実施形態ではデータ転送不良が発生した可能性がある場合には、再度データ転送を行いデータ転送の良否を判定する。
Hereinafter, processing in the present embodiment will be described. In this embodiment, a problem at the time of data transfer of the image processing apparatus due to the meta stable is dealt with. At the time of data transfer from the analog circuit to the digital circuit in the A /
ここで図3のフローチャートを参照して、本実施形態における処理の流れを説明する。図3では、特定のチャンネルのデータが選択部103から第1データ保持部104に入力された後の処理について説明する。
Here, the flow of processing in the present embodiment will be described with reference to the flowchart of FIG. In FIG. 3, a process after data of a specific channel is input from the
選択部103による選択チャンネル(チャンネルn)のデータ(Dn2)が対応するデータ保持部n(104)に保持されると、Dn2はS301で1周期前のデータ(Dn1)とともに、選択読出部105より比較判定部106へ出力される。比較判定部106は、S302で取得したデータDn1とDn2との絶対値差分を計算し、該絶対値差分がCPU107により設定された閾値Thより大きいか否かを判定する。もし、閾値Thよりも大きいと判定された場合(S302で「YES」)、S305に移行する。一方、閾値Th以下の場合(S302で「NO」)、S303に移行する。
When the data (Dn2) of the selected channel (channel n) by the
まず、S303では、A/D制御部108がデータ更新信号を更新部109へ出力する。S304では、更新部109では、比較判定部106における判定結果と、A/D制御部108からのデータ更新信号とに基づいて、選択部103から取得した選択されたチャンネルnのデータ(Dn2)を該当する第2データ保持部n(110)に出力する。その後、本処理を終了する。
First, in S <b> 303, the A /
一方のS305では、比較判定部106の判定結果がA/D制御部108に通知され、当該判定結果に従ってA/D制御部108は、チャンネルnを再度指定したA/D変換の再処理をA/D変換部101に実行させる。ここでの再処理の実行指示のタイミングについて、図4を参照して説明する。
On the other hand, in S305, the determination result of the comparison determination unit 106 is notified to the A /
図4では、上記の選択されたチャンネルnがチャンネル4の場合を記載している。このチャンネル4について、取得した現データ(上記Dn2)が1周期前に取得したデータ(上記Dn1)と閾値以上の絶対値差分を有する場合、転送データの割当が固定的でない6番目のスロット(第6スロット)に、再度チャンネル4を割り当てる。第6スロットに元々割り当てられていたチャンネル6は、次の第6スロットに割り当ててもよいし、或いは、この回の送信を省略してもよい。
FIG. 4 shows a case where the selected channel n is
図3の説明に戻ると、S305に続いてS306では、再処理により得られたチャンネルnのデータ(Dn3)をS301と同様の手順で比較判定部106に読み出す。このとき、合わせて1周期前のデータDn2も読み出されることとなる。 Returning to the description of FIG. 3, in S306 following S305, the data (Dn3) of channel n obtained by reprocessing is read out to the comparison determination unit 106 in the same procedure as in S301. At this time, data Dn2 one cycle before is also read out.
S307では、比較判定部106がDn2とDn3との絶対値差分を計算し、絶対値差分が閾値Thより大きいか否かを判定する。再処理により得られたDn3は、基本的には、Dn2の元となったアナログデータと同一のアナログデータをA/D変換した結果である。よって、Dn2がメタ・ステーブルに基づくイレギュラーな値であれば、Dn2とDn3の差は閾値を超えて変化すると考えられる。一方、実データが実際に大きく変化したので有れば、Dn2とDn3とは一致する。 In S307, the comparison / determination unit 106 calculates an absolute value difference between Dn2 and Dn3, and determines whether or not the absolute value difference is greater than a threshold value Th. Dn3 obtained by reprocessing is basically the result of A / D conversion of the same analog data as the original analog data of Dn2. Therefore, if Dn2 is an irregular value based on meta-stable, the difference between Dn2 and Dn3 is considered to change beyond the threshold value. On the other hand, if the actual data has actually changed significantly, Dn2 and Dn3 match.
何れの場合においても、再変換により得られたDn3が有効であるので、判定結果の如何に関わらず、S308では、A/D制御部108はデータ更新信号を更新部109に出力する。S309では、データ更新信号を受信した更新部109がチャンネルnのデータとしてDn3を第2データ保持部110nに出力してデータ更新を行う。
In any case, since Dn3 obtained by reconversion is valid, the A /
次に、図5乃至図7を参照して、上述の処理の具体例を説明する。まず、図5は、データ転送不良がなく再判定を行わない場合の判定処理を示す。図5では、チャンネル4のデータを時間CH4-0、CH4-1、CH4-2でそれぞれ取得してデータ保持部4(104)が保持する場合を考える。ここでデータ転送不良がなく再判定を行わない場合は、タイミングCH4-0、CH4-1、CH4-2で処理されたそれぞれのデータ"10"→"15"→"10"が順番に第2データ保持部110へチャンネル4のデータとして格納される。ここでは"10"から"15"への変化であるが、仮に"10"から"100"に変化するような急激なデータ変動があった場合、データ転送不良の可能性がある。もしもデータ転送不良の場合にはデータ値"100"が影響し、画像処理装置の誤動作を行う可能性がある。
Next, a specific example of the above process will be described with reference to FIGS. First, FIG. 5 shows determination processing when there is no data transfer failure and re-determination is not performed. In FIG. 5, a case is considered in which data of
次に図6は、データ転送不良の可能性がある場合に再判定を行った際の具体例を示す。まず、時間CH4-0において取得したデータ"10"は再処理を行わずに処理する。一方、時間CH4-1で取得したデータ"100"は、1周期前のデータとの差分が"90"であり、仮に閾値を"10"とすると閾値よりも大きく、データ転送不良の可能性がある。そこで、次の時間CH4-2よりも前に、時間CH4-1'で再処理を行う。再処理を行う場合、データ更新信号がA/D制御部108から入力されないため、更新部109は第2データ保持部110の更新を抑制する。そして、時間CH4-1'で再処理並びに再判定を行った後に、第2データ保持部110への更新を行う。図6の場合、時間CH4-1'において取得したデータは"10"であり、時間CH4-0で取得したデータと一致する。よって、データ更新信号がA/D制御部108から入力され更新部109が時間CH4-1'で取得したデータにより第2データ保持部110の更新を行う。
Next, FIG. 6 shows a specific example when re-determination is performed when there is a possibility of data transfer failure. First, the data “10” acquired at time CH4-0 is processed without being reprocessed. On the other hand, the data “100” acquired at time CH4-1 has a difference of “90” from the data of the previous cycle. If the threshold is “10”, it is larger than the threshold, and there is a possibility of data transfer failure. is there. Therefore, reprocessing is performed at time CH4-1 ′ before the next time CH4-2. When the reprocessing is performed, the data update signal is not input from the A /
次に、図7は、データ転送不良の可能性がある場合に再判定を行った際の他の具体例を示す。図7では再判定を行った結果、データ転送不良ではなく実データが閾値を超えるような変動があった場合の判定処理について示す。時間CH4-0でのデータは通常通り処理する。一方、時間CH4-1で取得したデータ"100"は、1周期前のデータとの差分が90であり、仮に閾値を"10"とすると閾値よりも大きく、データ転送不良の可能性がある。そこで、次の時間CH4-2よりも前に、時間CH4-1'で図6の場合と同様に再処理を行う。時間CH4-1'で再処理並びに再判定を行った後に、第2データ保持部110への更新を行う。図6の場合、時間CH4-1'において取得したデータは"100"であるので、時間CH4-1で取得したデータと一致する。よって、データ更新信号がA/D制御部108から入力され更新部109が時間CH4-1'で取得したデータにより第2データ保持部110の更新を行う。この場合は、CH4-1で処理した結果とCH4-1'で処理した結果が一致するのでデータ転送不良が起きたのではなく、実際のデータが急激に変化したことになる。そこで、CH4-2のタイミングの前に時間CH4-1'のデータで第2データ保持部110を更新し後段処理を行うことを可能とする。
Next, FIG. 7 shows another specific example when re-determination is performed when there is a possibility of data transfer failure. FIG. 7 shows a determination process in the case where there is a fluctuation in which the actual data exceeds the threshold value as a result of the re-determination, not the data transfer failure. Data at time CH4-0 is processed normally. On the other hand, the data “100” acquired at time CH4-1 has a difference of 90 from the data of the previous cycle. If the threshold is “10”, it is larger than the threshold and there is a possibility of data transfer failure. Therefore, before the next time CH4-2, the reprocessing is performed at the time CH4-1 ′ as in the case of FIG. After reprocessing and redetermination at time CH4-1 ′, the second
なお、図5乃至図7での各データの値は、あくまで一例として記載したものである。即ち、実際に処理されるデータの種類に応じて値は異なり、また、CPU107が設定する閾値の値も、データの種類毎に設定されるものである。
The data values in FIGS. 5 to 7 are described as examples only. That is, the value varies depending on the type of data actually processed, and the threshold value set by the
また、仮に1回の送信周期(6スロット)で、2以上のデータ転送不良が発生したと思われる場合は、その中で送信順序が最先のスロットに割り当てられているチャンネルについて再送処理を行う。 In addition, if it is considered that two or more data transfer failures occur in one transmission cycle (six slots), retransmission processing is performed for a channel in which the transmission order is assigned to the earliest slot. .
以上のように、本実施形態では、高速処理が必要なチャンネルにデータ転送不良の可能性がある場合には、低速処理で十分なチャンネルが割り当てられるスロットを使って、該当チャンネルについて再処理を行う。これにより誤動作を防止できる。なお、再処理のために新たなチャンネルを増設する必要がないので、判定回路規模の増大を抑制しつつ、上述の効果を達成することができる。 As described above, in the present embodiment, when there is a possibility of data transfer failure in a channel that requires high-speed processing, the corresponding channel is re-processed using a slot to which sufficient channels are allocated in low-speed processing. . Thereby, malfunction can be prevented. In addition, since it is not necessary to add a new channel for reprocessing, the above-described effect can be achieved while suppressing an increase in the determination circuit scale.
[実施形態2]
次に実施形態2の動作について説明する。上述の実施形態1では、高速処理の必要なチャンネルにデータ転送不良が発生した可能性があると判定された場合、低速処理で十分なチャンネル専用のスロットに当該チャンネルを再割当てして、再処理を行った。この場合、当該チャンネルの更新タイミングが通常よりも遅れることになる。そこで本実施形態では、データ転送不良の可能性があるチャンネルのデータの再送処理を、直後のスロットを使って行う場合を説明する。
[Embodiment 2]
Next, the operation of the second embodiment will be described. In the first embodiment described above, when it is determined that there is a possibility that a data transfer failure has occurred in a channel that requires high-speed processing, the channel is reassigned to a slot dedicated to a sufficient channel by low-speed processing, and reprocessing is performed. Went. In this case, the update timing of the channel is delayed than usual. Therefore, in the present embodiment, a case will be described in which the retransmission processing of data of a channel that may have a data transfer failure is performed using the immediately following slot.
図8は、本実施形態に対応する再処理のタイミングを示す図である。例えば、第4スロットに割り当てられているチャンネル4のフォーカスレンズ処理が転送不良と判断された場合、チャンネル5のズーム制御処理用データが割り当てられたスロットで、チャンネル4のデータの再送を行う。これにより、通常よりも1スロット分の遅延で正確なデータ値を用いた処理を行うことが可能になる。このとき、第5スロットに元々割り当てられていたチャンネル5のズーム制御処理用データは、低速処理のデータが割り当てられる第6スロットで送信される。
FIG. 8 is a diagram illustrating the timing of reprocessing corresponding to the present embodiment. For example, when it is determined that the focus lens processing of
なお、上記ではチャンネル4についてデータ転送不良が発生した場合を説明したが、仮に、チャンネル1についてデータ転送が発生した場合には、チャンネル2以降を順に繰り下げていってもよい。この場合、第1スロットから第5スロットまでのチャンネルの割当をより優先順位の高いものが先に来るようにしておけば、高優先度のチャンネルを低優先度のチャンネルに優先して再送を行うことができる。また、それ以外にも、転送不良が発生したチャンネルの直後のチャンネルを第6スロットに割り当てるようにしてもよい。
In the above description, the case where a data transfer failure has occurred for
このようにデータ転送不良の可能性があるチャンネルについては、データの再送を直後のスロットを使って行うことで、高速周期で処理が必要なチャンネルを優先的に処理し、かつ、データ転送不良による誤動作を防止することが可能になる。 In this way, for channels that may have a data transfer failure, the channel that needs to be processed in a high-speed cycle is preferentially processed by retransmitting data using the immediately following slot, and due to a data transfer failure. It becomes possible to prevent malfunction.
(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (4)
前記A/D変換手段から出力されたデジタルデータを保持する手段であって、各チャンネルについて連続した2周期のデジタルデータを保持する第1の保持手段と、
前記A/D変換手段から出力されたデジタルデータを保持する第2の保持手段と、
前記第2の保持手段において保持されるデジタルデータを更新する更新手段と、
第1の種類のチャンネルのアナログデータを第1の周期で選択し、第2の種類のチャンネルのアナログデータを前記第1の周期よりも長い第2の周期で選択するように、前記A/D変換手段を制御すると共に、前記A/D変換手段による変換に応じて前記第2の保持手段により保持されるデジタルデータを更新するように前記更新手段を制御する制御手段とを備え、
前記制御手段は、前記第1の保持手段により保持されたデジタルデータに基づき、前記第1の保持手段に保持された前記第1の種類の一つのチャンネルの連続した2周期のデジタルデータの差が閾値より大きいと判別した場合、前記更新手段が前記一つのチャンネルについて前記第2の保持手段に保持されるデジタルデータを更新しないように制御すると共に、前記第2の種類のチャンネルのアナログデータを選択するタイミングで、前記第2の種類のチャンネルのアナログデータに代えて、前記一つのチャンネルのアナログデータを選択して再度デジタルデータに変換するように前記A/D変換手段を制御し、前記A/D変換手段が再度変換することにより出力された前記一つのチャンネルのデジタルデータを前記第2の保持手段に保持させるように前記更新手段を制御することを特徴とする画像処理装置。 A / D conversion means for selecting any one of a plurality of channels of analog data and converting the analog data of the selected channels into digital data;
Means for holding digital data output from the A / D conversion means, first holding means for holding digital data of two consecutive cycles for each channel;
Second holding means for holding digital data output from the A / D conversion means;
Updating means for updating the digital data held in the second holding means;
The A / D is selected so that analog data of a first type of channel is selected in a first cycle, and analog data of a second type of channel is selected in a second cycle longer than the first cycle. And a control means for controlling the updating means so as to update the digital data held by the second holding means in accordance with the conversion by the A / D conversion means.
Based on the digital data held by the first holding means, the control means determines a difference between two consecutive periods of digital data of one channel of the first type held in the first holding means. If it is determined that the value is larger than the threshold value, the updating unit controls the digital data held in the second holding unit not to be updated for the one channel, and selects analog data of the second type of channel. The A / D conversion means is controlled to select the analog data of the one channel instead of the analog data of the second type of channel and convert it to digital data again at the timing of The digital data of the one channel output by the D conversion means converting again is held in the second holding means. The image processing apparatus characterized by controlling the updating means so that.
前記A/D変換手段から出力されたデジタルデータを保持する手段であって、各チャンネルについて連続した2周期のデジタルデータを保持する第1の保持手段と、
前記A/D変換手段から出力されたデジタルデータを保持する第2の保持手段と、
前記第2の保持手段において保持されるデジタルデータを更新する更新手段と、
第1の種類のチャンネルのアナログデータを第1の周期で選択し、第2の種類のチャンネルのアナログデータを前記第1の周期よりも長い第2の周期で選択するように、前記A/D変換手段を制御すると共に、前記A/D変換手段による変換に応じて前記第2の保持手段により保持されるデジタルデータを更新するように前記更新手段を制御する制御手段とを備え、
前記制御手段は、前記第1の保持手段により保持されたデジタルデータに基づき、前記第1の保持手段に保持された前記第1の種類の一つのチャンネルの連続した2周期のデジタルデータの差が閾値より大きいと判別した場合、前記更新手段が前記一つのチャンネルについて前記第2の保持手段に保持されるデジタルデータを更新しないように制御すると共に、前記第1の種類の複数のチャンネルのうち前記一つのチャンネルの次に変換されるチャンネルのアナログデータを選択するタイミングで、前記次に変換されるチャンネルのアナログデータに代えて、前記一つのチャンネルのアナログデータを選択して再度デジタルデータに変換し、前記第2の種類のチャンネルのアナログデータを選択するタイミングで、前記第2の種類のチャンネルのアナログデータに代えて、前記次に変換されるチャンネルのアナログデータを選択するように前記A/D変換手段を制御し、前記A/D変換手段が再度変換することにより出力された前記一つのチャンネルのデジタルデータを前記第2の保持手段に保持させるように前記更新手段を制御することを特徴とする画像処理装置。 A / D conversion means for selecting any one of a plurality of channels of analog data and converting the analog data of the selected channels into digital data;
Means for holding digital data output from the A / D conversion means, first holding means for holding digital data of two consecutive cycles for each channel;
Second holding means for holding digital data output from the A / D conversion means;
Updating means for updating the digital data held in the second holding means;
The A / D is selected so that analog data of a first type of channel is selected in a first cycle, and analog data of a second type of channel is selected in a second cycle longer than the first cycle. And a control means for controlling the updating means so as to update the digital data held by the second holding means in accordance with the conversion by the A / D conversion means.
Based on the digital data held by the first holding means, the control means determines a difference between two consecutive periods of digital data of one channel of the first type held in the first holding means. When it is determined that the threshold value is larger than the threshold value, the updating unit controls the digital data held in the second holding unit for the one channel so as not to update, and among the plurality of channels of the first type, at a timing for selecting the analog data of the channels to be converted in one channel to the next, the place of the analog data of the channels to be converted next, again converted into digital data by selecting the analog data of said one channel , The second type channel at the timing of selecting the analog data of the second type channel. The place of the analog data, the controls the A / D conversion means so as to select the analog data of the channels to be converted next, the A / D conversion means the one that is output by converting again An image processing apparatus for controlling the updating means so that digital data of a channel is held in the second holding means.
前記A/D変換手段から出力されたデジタルデータを保持する手段であって、各チャンネルについて連続した2周期のデジタルデータを保持する第1の保持手段と、
前記A/D変換手段から出力されたデジタルデータを保持する第2の保持手段と、
前記第2の保持手段において保持されるデジタルデータを更新する更新手段と、
第1の種類のチャンネルのアナログデータを第1の周期で選択し、第2の種類のチャンネルのアナログデータを前記第1の周期よりも長い第2の周期で選択するように、前記AD変換手段を制御すると共に、前記A/D変換手段による変換に応じて前記第2の保持手段により保持されるデジタルデータを更新するように前記更新手段を制御する制御手段とを備える画像処理装置の制御方法であって、
前記第1の保持手段により保持されたデジタルデータに基づき、前記第1の保持手段に保持された前記第1の種類の一つのチャンネルの連続した2周期のデジタルデータの差が閾値より大きいと判別した場合に、前記制御手段が、
前記更新手段が前記一つのチャンネルについて前記第2の保持手段に保持されるデジタルデータを更新しないように制御する工程と、
前記第2の種類のチャンネルのアナログデータを選択するタイミングで、前記第2の種類のチャンネルのアナログデータに代えて、前記一つのチャンネルのアナログデータを選択して再度デジタルデータに変換するように前記A/D変換手段を制御する工程と、
前記A/D変換手段が再度変換することにより出力された前記一つのチャンネルのデジタルデータを前記第2の保持手段に保持させるように前記更新手段を制御する工程と
を備えることを特徴とする画像処理装置の制御方法。 A / D conversion means for selecting any one of a plurality of channels of analog data and converting the analog data of the selected channels into digital data;
Means for holding digital data output from the A / D conversion means, first holding means for holding digital data of two consecutive cycles for each channel;
Second holding means for holding digital data output from the A / D conversion means;
Updating means for updating the digital data held in the second holding means;
The AD conversion means selects analog data of a first type of channel in a first cycle and selects analog data of a second type of channel in a second cycle longer than the first cycle. And a control means for controlling the updating means so as to update the digital data held by the second holding means in accordance with the conversion by the A / D conversion means. Because
Based on the digital data held by the first holding means, it is determined that the difference between two consecutive periods of digital data of one channel of the first type held in the first holding means is larger than a threshold value. When the control means,
Controlling the updating means not to update the digital data held in the second holding means for the one channel;
The timing is such that analog data of the second type of channel is selected, and instead of the analog data of the second type of channel, the analog data of the one channel is selected and converted into digital data again. Controlling the A / D conversion means;
And a step of controlling the updating means so that the digital data of the one channel output by the A / D conversion means being converted again is held in the second holding means. A method for controlling a processing apparatus.
前記A/D変換手段から出力されたデジタルデータを保持する手段であって、各チャンネルについて連続した2周期のデジタルデータを保持する第1の保持手段と、
前記A/D変換手段から出力されたデジタルデータを保持する第2の保持手段と、
前記第2の保持手段において保持されるデジタルデータを更新する更新手段と、
第1の種類のチャンネルのアナログデータを第1の周期で選択し、第2の種類のチャンネルのアナログデータを前記第1の周期よりも長い第2の周期で選択するように、前記A/D変換手段を制御すると共に、前記A/D変換手段による変換に応じて前記第2の保持手段により保持されるデジタルデータを更新するように前記更新手段を制御する制御手段とを備える画像処理装置の制御方法であって、
前記制御手段が、前記第1の保持手段により保持されたデジタルデータに基づき、前記第1の保持手段に保持された前記第1の種類の一つのチャンネルの連続した2周期のデジタルデータの差が閾値より大きいと判別した場合、前記更新手段が前記一つのチャンネルについて前記第2の保持手段に保持されるデジタルデータを更新しないように制御する工程と、
前記制御手段が、前記第1の種類の複数のチャンネルのうち前記一つのチャンネルの次に変換されるチャンネルのアナログデータを選択するタイミングで、前記次に変換されるチャンネルのアナログデータに代えて、前記一つのチャンネルのアナログデータを選択して再度デジタルデータに変換し、前記第2の種類のチャンネルのアナログデータを選択するタイミングで、前記第2の種類のチャンネルのアナログデータに代えて、前記次に変換されるチャンネルのアナログデータを選択するように前記A/D変換手段を制御する工程と、
前記制御手段が、前記A/D変換手段が再度変換することにより出力された前記一つのチャンネルのデジタルデータを前記第2の保持手段に保持させるように前記更新手段を制御する工程と
を備えることを特徴とする画像処理装置の制御方法。 A / D conversion means for selecting any one of a plurality of channels of analog data and converting the analog data of the selected channels into digital data;
Means for holding digital data output from the A / D conversion means, first holding means for holding digital data of two consecutive cycles for each channel;
Second holding means for holding digital data output from the A / D conversion means;
Updating means for updating the digital data held in the second holding means;
The A / D is selected so that analog data of a first type of channel is selected in a first cycle, and analog data of a second type of channel is selected in a second cycle longer than the first cycle. And a control unit that controls the updating unit so as to update the digital data held by the second holding unit in accordance with the conversion by the A / D conversion unit. A control method,
Based on the digital data held by the first holding means, the control means has a difference between two consecutive digital data of one channel of the first type held in the first holding means. If the update means determines that the digital data held in the second holding means is not updated for the one channel when it is determined that it is greater than a threshold;
At the timing when the control means selects analog data of a channel to be converted next to the one channel among the plurality of channels of the first type, instead of the analog data of the channel to be converted next, The analog data of the one channel is selected and converted to digital data again. At the timing of selecting the analog data of the second type of channel, the analog data of the second type of channel is replaced with the next data. Controlling the A / D conversion means to select analog data of a channel to be converted to
And a step of controlling the updating means so that the second holding means holds the digital data of the one channel output by the A / D conversion means converting again. A method for controlling an image processing apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009296370A JP5548443B2 (en) | 2009-12-25 | 2009-12-25 | Image processing apparatus and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009296370A JP5548443B2 (en) | 2009-12-25 | 2009-12-25 | Image processing apparatus and control method thereof |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2011139160A JP2011139160A (en) | 2011-07-14 |
JP2011139160A5 JP2011139160A5 (en) | 2013-02-14 |
JP5548443B2 true JP5548443B2 (en) | 2014-07-16 |
Family
ID=44350178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009296370A Expired - Fee Related JP5548443B2 (en) | 2009-12-25 | 2009-12-25 | Image processing apparatus and control method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5548443B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9612993B2 (en) * | 2014-06-28 | 2017-04-04 | Intel Corporation | Dynamically configurable analog frontend circuitry |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1162689A (en) * | 1997-08-27 | 1999-03-05 | Denso Corp | Analog/digital conversion value input device |
JP3965773B2 (en) * | 1998-05-06 | 2007-08-29 | 松下電器産業株式会社 | A / D converter |
JP2001148630A (en) * | 1999-11-19 | 2001-05-29 | Nec Ic Microcomput Syst Ltd | A/d converter and a/d conversion method |
JP4646285B2 (en) * | 2004-03-26 | 2011-03-09 | ルネサスエレクトロニクス株式会社 | AD converter and AD conversion method |
JP2008193230A (en) * | 2007-02-01 | 2008-08-21 | Canon Inc | Ad conversion device and optical apparatus mounted with ad conversion device |
-
2009
- 2009-12-25 JP JP2009296370A patent/JP5548443B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011139160A (en) | 2011-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9915995B2 (en) | Image capturing apparatus and control method for the same | |
US8648952B2 (en) | Timing generator and method of generating timing signals | |
JP5548443B2 (en) | Image processing apparatus and control method thereof | |
JP2018164171A (en) | Recording device, control method, and program | |
US20180284998A1 (en) | Recording/reproduction apparatus, control method of recording/reproduction apparatus, and non-transitory computer-readable storage medium | |
US9363465B2 (en) | Data processing apparatus and data processing method | |
US11837257B2 (en) | Electronic device and control methods thereof | |
JP6356972B2 (en) | RECORDING DEVICE, IMAGING DEVICE, AND RECORDING DEVICE CONTROL METHOD | |
US8169506B2 (en) | Image storage apparatus having continuous-shooting function | |
JP5101668B2 (en) | Digital video recording and playback device | |
JP5464942B2 (en) | Electronic device and control method thereof | |
JP2018164172A (en) | Recording device, control method, and program | |
CN111669539A (en) | Video playing method and device and electronic equipment | |
US20210067788A1 (en) | Information processing apparatus, information processing method, and storage medium | |
JP4086676B2 (en) | Data transfer device | |
US20100086233A1 (en) | Information processing apparatus, control method for the same, and computer program | |
JP6857066B2 (en) | Recording / playback device, control method of recording / playback device, and program | |
JP4665744B2 (en) | A / D converter and A / D conversion system | |
JP4202879B2 (en) | Video transmission system | |
TW202304155A (en) | Displayport out adapter and associated method | |
JP2005051705A (en) | Chattering removal circuit, digital camera with same circuit, and electronic apparatus | |
JP2016046781A (en) | Recording and reproducing device, control method for recording and reproducing device, and program | |
JP2021097296A (en) | Imaging device and control method thereof | |
JP2005242408A (en) | Shared memory access control method | |
JP2007259218A (en) | Image processor and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121221 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121221 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131202 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140130 |
|
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: 20140418 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140519 |
|
LAPS | Cancellation because of no payment of annual fees |