JP5548443B2 - Image processing apparatus and control method thereof - Google Patents

Image processing apparatus and control method thereof Download PDF

Info

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
Application number
JP2009296370A
Other languages
Japanese (ja)
Other versions
JP2011139160A (en
JP2011139160A5 (en
Inventor
晃一 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2009296370A priority Critical patent/JP5548443B2/en
Publication of JP2011139160A publication Critical patent/JP2011139160A/en
Publication of JP2011139160A5 publication Critical patent/JP2011139160A5/en
Application granted granted Critical
Publication of JP5548443B2 publication Critical patent/JP5548443B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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.

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

しかしながら、上述の回避方法においても、メタステーブルによる転送不具合誤認識の確率自体は低減できるものの、転送不具合の誤認識を無くすことはできない。また、専用の誤認識判定回路を別途設ける場合、回路規模が増大してしまうという問題がある。   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.

実施形態に係る画像処理装置の構成例を示す図。1 is a diagram illustrating a configuration example of an image processing apparatus according to an embodiment. 実施形態に係るデータ処理タイミングの一例を示す図。The figure which shows an example of the data processing timing which concerns on embodiment. 実施形態に係る処理の一例を示すフローチャート。The flowchart which shows an example of the process which concerns on embodiment. 実施形態1に係るデータ転送不良時のデータ処理タイミングの一例を示す図。FIG. 4 is a diagram illustrating an example of data processing timing when data transfer is defective according to the first embodiment. 実施形態に係る正常時のデータ転送例を示す図。FIG. 6 is a diagram showing an example of normal data transfer according to the embodiment. 実施形態に係るデータ転送不良時の例を示す図。The figure which shows the example at the time of the data transfer defect which concerns on embodiment. 実施形態に係る実データに変更があった場合のデータ転送例を示す図。The figure which shows the example of a data transfer when there exists a change in the actual data which concerns on embodiment. 実施形態2に係るデータ転送不良時のデータ処理タイミングの一例を示す図。FIG. 10 is a diagram illustrating an example of data processing timing when data transfer is defective according to the second embodiment.

以下、発明の実施形態を添付の図面を参照して説明する。各実施形態に記載の本願発明は、画像処理システムにて、アナログ部とデジタル部の境界でメタ・ステーブル要因等によってデータ転送不良が発生した場合の誤動作防止技術に関連する。具体的にはデータ転送の良否を判定し誤動作を抑制する。 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 / D conversion unit 101, a digital signal processing unit 102, and a CPU 107. The A / D conversion unit 101 performs analog-digital conversion processing on the data for N channels to generate digital data. The digital signal processing unit 102 controls the A / D conversion unit 101 and processes various data.

デジタル信号処理部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 signal processing unit 102 includes the following configuration. First, the selection unit 103 outputs the digital output signal from the A / D conversion unit 101 to the first data holding unit 104 and the update unit 109. The first data holding unit 104 holds digital data for N channels. The selective reading unit 105 selectively reads the data held by the first data holding unit 104 and outputs it to the comparison determination unit 106. The comparison determination unit 106 performs a comparison determination process according to the setting from the CPU 107 based on the output data from the selective reading unit 105. The A / D control unit 108 outputs a control signal to the A / D conversion unit 101 based on the comparison result of the comparison determination unit 106. The update unit 109 controls whether to update the data output from the selection unit 103 based on the comparison determination result in the comparison determination unit 106. The second data holding unit 110 holds the digital data output from the updating unit 109 as data for subsequent processing. The data held in the second data holding unit 110 is input to a signal processing circuit in the subsequent stage (not shown).

図1の画像処理装置100において、各ブロックは専用ロジック回路やメモリを用いてハードウェア的に構成されてもよい。或いは、メモリに記憶されている処理プログラムをCPUが実行することにより、ソフトウェア的に構成されてもよい。   In the image processing apparatus 100 of FIG. 1, each block may be configured by hardware using a dedicated logic circuit or a memory. Alternatively, the processing program stored in the memory may be executed by the CPU so as to be configured as software.

以下、画像処理装置における動作を説明する。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 / D converter 101 from a plurality of control mechanisms such as a focus lens, a zoom lens, a distance measuring sensor, and a temperature sensor of the camera. The A / D conversion unit 101 processes the analog data for N channels one by one in order, and outputs the processing result to the digital signal processing unit 102 every time the processing is completed.

デジタル信号処理部102は、まず選択部103にてチャンネル毎にデジタルデータを選択し、第1データ保持部104に保持する。第1データ保持部104は、1チャンネル当たり少なくとも2周期分のデータを保持するように構成されている。選択読出部105は、第1データ保持部104のうち、いずれかのチャンネルの少なくとも2周期分のデータを選択して、比較判定部106に読み出す。比較判定部106は、選択読出部105から入力された少なくとも2周期分のデータを比較して、データの差分がCPU107で設定された閾値よりも大きいか否かを判定する。   The digital signal processing unit 102 first selects digital data for each channel by the selection unit 103 and holds the digital data in the first data holding unit 104. The first data holding unit 104 is configured to hold data for at least two cycles per channel. The selection reading unit 105 selects data for at least two cycles of any channel from the first data holding unit 104 and reads the data to the comparison determination unit 106. The comparison / determination unit 106 compares the data for at least two cycles input from the selective reading unit 105 and determines whether the data difference is larger than the threshold set by the CPU 107.

比較判定部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 / D control unit 108 and the update unit 109. The A / D control unit 108 instructs the A / D conversion unit 101 to perform reconversion in order to reprocess the channel for which the comparison determination unit 106 has determined that the difference exceeds the threshold value.

A/D制御部108は、A/D変換部101に変換指示を行うべく、A/D変換を行うチャンネルを選択するためのCHセレクト信号、A/D変換のクロック信号としてADC用クロック、処理の開始を指示するAD変換スタート信号を供給する。再処理を行う場合には、該当するチャンネルのCHセレクト信号と、ADC用クロック、AD変換スタート信号を供給する。また、更新部109に第2データ保持部110のデータの更新の可否を通知するデータ更新信号を出力する。   The A / D control unit 108, in order to instruct the A / D conversion unit 101 to convert, a CH select signal for selecting a channel for A / D conversion, an ADC clock as a clock signal for A / D conversion, and processing An AD conversion start signal instructing the start of is supplied. When reprocessing is performed, a CH select signal, an ADC clock, and an AD conversion start signal for the corresponding channel are supplied. In addition, a data update signal for notifying the update unit 109 of whether or not the data of the second data holding unit 110 can be updated is output.

更新部109は、選択部103からの各チャンネルのデータの出力を保持し、A/D制御部108からのデータ更新信号に従って、保持しているデータを該当するチャンネル用の第2データ保持部110に出力する。   The update unit 109 holds the data output of each channel from the selection unit 103, and in accordance with the data update signal from the A / D control unit 108, the update unit 109 outputs the held data to the second data holding unit 110 for the corresponding channel. Output to.

次に、図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, channels 1 to 5 are assigned the first type of signal that needs to be processed in a high-speed cycle corresponding to a specific frequency as the first type of channel. For example, the focus lens, the zoom lens, or the distance measuring sensor can be controlled in any one of channel 1 to channel 5. Therefore, the focus control signal, the zoom control signal, and the distance measuring sensor signal are assigned to any one of channel 1 to channel 5 as the first type of signal. On the other hand, 15 channels from channel 6 to channel 20 other than the channel need not be processed at the high speed cycle as the second type channel, and it is sufficient to perform the processing at the low speed cycle. Assign to. Therefore, the temperature sensor signal is assigned to one of the channels 6 to 20 as the second type of signal. In an image processing apparatus such as a digital camera or a digital video camera, the temperature around the apparatus does not change frequently, so there is no problem even with low-cycle processing. If the focus lens process is assigned to channel 4 and the temperature sensor process is assigned to channel 6, the focus lens process is performed once every six times, and the temperature sensor process is performed once every 90 times. 2 periods.

即ち、本実施形態では、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 / D conversion unit 101 in FIG. 1, data transfer may not be performed normally due to the influence of meta stable. If data is transmitted to a subsequent signal processing circuit without normal data transfer, a parameter value for controlling the operation of the image processing apparatus may be erroneously transmitted. For example, when erroneous data transfer is performed for the focus lens processing, a malfunction occurs that the focus suddenly becomes out of focus, contrary to the user's intention while using an imaging device such as a digital camera or a digital video camera. there is a possibility. In order to avoid such a malfunction, in this embodiment, when there is a possibility that a data transfer failure has occurred, the data transfer is performed again to determine whether the data transfer is good or bad.

ここで図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 selection unit 103 to the first data holding unit 104 will be described.

選択部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 selection unit 103 is held in the corresponding data holding unit n (104), Dn2 is sent from the selection reading unit 105 together with the data (Dn1) of the previous cycle in S301. The data is output to the comparison determination unit 106. The comparison determination unit 106 calculates an absolute value difference between the data Dn1 and Dn2 acquired in S302, and determines whether the absolute value difference is larger than a threshold value Th set by the CPU 107. If it is determined that the value is larger than the threshold Th (“YES” in S302), the process proceeds to S305. On the other hand, if it is equal to or less than the threshold Th (“NO” in S302), the process proceeds to S303.

まず、S303では、A/D制御部108がデータ更新信号を更新部109へ出力する。S304では、更新部109では、比較判定部106における判定結果と、A/D制御部108からのデータ更新信号とに基づいて、選択部103から取得した選択されたチャンネルnのデータ(Dn2)を該当する第2データ保持部n(110)に出力する。その後、本処理を終了する。   First, in S <b> 303, the A / D control unit 108 outputs a data update signal to the update unit 109. In S304, the update unit 109 receives the data (Dn2) of the selected channel n acquired from the selection unit 103 based on the determination result in the comparison determination unit 106 and the data update signal from the A / D control unit 108. The data is output to the corresponding second data holding unit n (110). Thereafter, this process is terminated.

一方の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 / D control unit 108, and according to the determination result, the A / D control unit 108 performs the reprocessing of A / D conversion specifying the channel n again. / D conversion unit 101 to execute. The timing of the reprocessing execution instruction here will be described with reference to FIG.

図4では、上記の選択されたチャンネルnがチャンネル4の場合を記載している。このチャンネル4について、取得した現データ(上記Dn2)が1周期前に取得したデータ(上記Dn1)と閾値以上の絶対値差分を有する場合、転送データの割当が固定的でない6番目のスロット(第6スロット)に、再度チャンネル4を割り当てる。第6スロットに元々割り当てられていたチャンネル6は、次の第6スロットに割り当ててもよいし、或いは、この回の送信を省略してもよい。   FIG. 4 shows a case where the selected channel n is channel 4. For the channel 4, when the acquired current data (above Dn2) has an absolute value difference equal to or greater than a threshold value with the data acquired before one cycle (above Dn1), the transfer data allocation is not fixed at the sixth slot (the second slot). Channel 4 is assigned again to 6 slots). The channel 6 originally assigned to the sixth slot may be assigned to the next sixth slot, or this transmission may be omitted.

図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 / D control unit 108 outputs a data update signal to the update unit 109 in S308 regardless of the determination result. In S309, the update unit 109 that has received the data update signal outputs Dn3 as data of channel n to the second data holding unit 110n to perform data update.

次に、図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 channel 4 is acquired at times CH4-0, CH4-1, and CH4-2 and held by the data holding unit 4 (104). Here, when there is no data transfer failure and re-determination is not performed, each data “10” → “15” → “10” processed at the timings CH4-0, CH4-1, and CH4-2 is second in order. The data is stored in the data holding unit 110 as channel 4 data. Here, the change is from “10” to “15”. However, if there is a sudden data change that changes from “10” to “100”, there is a possibility of data transfer failure. If the data transfer is defective, the data value “100” is affected, and the image processing apparatus may malfunction.

次に図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 / D control unit 108, so the update unit 109 suppresses the update of the second data holding unit 110. Then, after reprocessing and re-determination at time CH4-1 ′, the second data holding unit 110 is updated. In the case of FIG. 6, the data acquired at time CH4-1 ′ is “10”, which matches the data acquired at time CH4-0. Therefore, the data update signal is input from the A / D control unit 108, and the update unit 109 updates the second data holding unit 110 with the data acquired at time CH4-1 ′.

次に、図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 data holding unit 110 is updated. In the case of FIG. 6, since the data acquired at time CH4-1 ′ is “100”, it matches the data acquired at time CH4-1. Therefore, the data update signal is input from the A / D control unit 108, and the update unit 109 updates the second data holding unit 110 with the data acquired at time CH4-1 ′. In this case, the result of processing in CH4-1 matches the result of processing in CH4-1 ′, so that a data transfer failure has not occurred, and actual data has changed abruptly. Therefore, it is possible to update the second data holding unit 110 with the data of the time CH4-1 ′ before the timing of CH4-2 and perform the subsequent processing.

なお、図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 CPU 107 is also set for each type of data.

また、仮に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 channel 4 assigned to the fourth slot is defective in transfer, the data of channel 4 is retransmitted in the slot to which data for zoom control processing of channel 5 is assigned. As a result, it is possible to perform processing using an accurate data value with a delay of one slot than usual. At this time, the zoom control processing data for channel 5 originally assigned to the fifth slot is transmitted in the sixth slot to which data for low speed processing is assigned.

なお、上記ではチャンネル4についてデータ転送不良が発生した場合を説明したが、仮に、チャンネル1についてデータ転送が発生した場合には、チャンネル2以降を順に繰り下げていってもよい。この場合、第1スロットから第5スロットまでのチャンネルの割当をより優先順位の高いものが先に来るようにしておけば、高優先度のチャンネルを低優先度のチャンネルに優先して再送を行うことができる。また、それ以外にも、転送不良が発生したチャンネルの直後のチャンネルを第6スロットに割り当てるようにしてもよい。   In the above description, the case where a data transfer failure has occurred for channel 4 has been described. However, if data transfer has occurred for channel 1, channel 2 and the subsequent channels may be sequentially lowered. In this case, if the channel assignment from the first slot to the fifth slot is made so that the channel with the higher priority comes first, the high priority channel is given priority over the low priority channel for retransmission. be able to. In addition, the channel immediately after the channel in which the transfer failure has occurred may be assigned to the sixth slot.

このようにデータ転送不良の可能性があるチャンネルについては、データの再送を直後のスロットを使って行うことで、高速周期で処理が必要なチャンネルを優先的に処理し、かつ、データ転送不良による誤動作を防止することが可能になる。   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変換手段と、
前記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変換手段と、
前記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変換手段と、
前記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変換手段と、
前記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.
JP2009296370A 2009-12-25 2009-12-25 Image processing apparatus and control method thereof Expired - Fee Related JP5548443B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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