JP2016115979A - Image processing apparatus, control method and program thereof - Google Patents

Image processing apparatus, control method and program thereof Download PDF

Info

Publication number
JP2016115979A
JP2016115979A JP2014251072A JP2014251072A JP2016115979A JP 2016115979 A JP2016115979 A JP 2016115979A JP 2014251072 A JP2014251072 A JP 2014251072A JP 2014251072 A JP2014251072 A JP 2014251072A JP 2016115979 A JP2016115979 A JP 2016115979A
Authority
JP
Japan
Prior art keywords
reconfiguration
power
control
unit
image processing
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.)
Pending
Application number
JP2014251072A
Other languages
Japanese (ja)
Inventor
靖二郎 森田
Yasujiro Morita
靖二郎 森田
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 JP2014251072A priority Critical patent/JP2016115979A/en
Publication of JP2016115979A publication Critical patent/JP2016115979A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Power Sources (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a mechanism for confining power consumption of a device in a predetermined range, when partially reconstituting other region while one region is operating, in a system using dynamic partial reconstitution.SOLUTION: An image processing apparatus has a reconstitution circuit including a plurality of partial reconstitution parts, and capable of reconstituting the circuitry dynamically and partially. Furthermore, the image processing apparatus calculates the total value of the value of power consumption of the partial reconstitution parts under operation, and the value of additional power required for reconstitution, when reconstituting the partial reconstitution parts of a part of the reconstitution circuit, determines whether or not the total value thus calculated is confined in the value of allowable power, and performs reconstitution of the reconstitution circuit when a determination is made that the total value thus calculated is confined in the value of allowable power.SELECTED DRAWING: Figure 7

Description

本発明は、画像データを扱う画像処理装置、その制御方法及びプログラムに関する。   The present invention relates to an image processing apparatus that handles image data, a control method thereof, and a program.

内部の論理回路の構成を変更可能なPLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)などの再構成可能回路が良く知られている。一般的に、PLDやFPGAの論理回路の変更は、起動時に、ROM等の不揮発性メモリに格納された回路構成情報を、PLDやFPGA内部の揮発性メモリであるコンフィグレーションメモリへ書き込むことで実現される。また、コンフィグレーションメモリの情報は電源遮断時にクリアされるため、電源投入時に、再度、ROMに記憶している回路構成情報をコンフィグレーションメモリに書き込む必要がある。このように、電源が供給されている状態で、一度だけPLDやFPGAの論理回路を構成する方法を静的再構成という。これに対して、論理回路が動作中に、その論理回路の構成を動的に変更できるFPGA等が開発されており、このように動的に論理回路を変更する方法を動的再構成という。   Reconfigurable circuits such as PLD (Programmable Logic Device) and FPGA (Field Programmable Gate Array) capable of changing the configuration of an internal logic circuit are well known. Generally, PLD and FPGA logic circuit changes are realized by writing circuit configuration information stored in non-volatile memory such as ROM into configuration memory, which is volatile memory inside PLD or FPGA, at startup. Is done. Since the information in the configuration memory is cleared when the power is turned off, it is necessary to write the circuit configuration information stored in the ROM again in the configuration memory when the power is turned on. In this way, a method of configuring a PLD or FPGA logic circuit only once while power is supplied is called static reconfiguration. On the other hand, an FPGA or the like that can dynamically change the configuration of a logic circuit while the logic circuit is operating has been developed, and such a method of dynamically changing a logic circuit is called dynamic reconfiguration.

また、FPGAには、FPGAのチップ全体の回路構成でなく、特定の領域の回路構成だけを書き換えることが可能なものがあり、このような書き換えを部分再構成という。特に、動作中の回路の動作を停止させずに、それ以外の他の回路構成を変更することを動的部分再構成という。動的部分再構成では、動的再構成時に、コンフィグレーションメモリ全体を書き換えるのではなく、コンフィグレーションメモリの一部の領域のみを書き換えることで、FPGAの論理回路を部分的に再構成することができる。このような動的部分再構成を用いることで、例えばFPGAのある領域に、時分割で複数の論理回路を切り替えて実装できる。この結果、少ないハードウェアリソースで、用途に合わせた様々な機能を、ハードウェアによる高速の演算性能を保ったままで柔軟に実現できる。   Some FPGAs can rewrite only the circuit configuration of a specific area, not the circuit configuration of the entire FPGA chip, and such rewriting is called partial reconfiguration. In particular, changing other circuit configurations without stopping the operation of the circuit in operation is called dynamic partial reconfiguration. In dynamic partial reconfiguration, it is possible to partially reconfigure the FPGA logic circuit by rewriting only a partial area of the configuration memory instead of rewriting the entire configuration memory at the time of dynamic reconfiguration. it can. By using such dynamic partial reconfiguration, for example, a plurality of logic circuits can be switched and mounted in a certain area of the FPGA in a time division manner. As a result, with a small amount of hardware resources, various functions can be flexibly realized while maintaining high-speed computing performance by hardware.

また、MFP(Multi Function Printer)等の画像処理装置は、ユーザからの要求に応じた複数の処理(コピージョブ、プリントジョブ、SENDジョブ等)を選択可能であり、各処理に応じた画像処理は、ハードウェア又はソフトウェアにより実現される。MFPにおける画像処理機能の一部を動的再構成可能なFPGAで処理させる場合、一般的に、FPGAへの動的再構成への実施タイミングはユーザからの要求により処理内容が決定したタイミングとなる。処理内容に応じた論理回路情報がコンフィギュレーションメモリに書き込まれた後、ユーザからの要求に応じた一連の処理を実施することができる。   In addition, an image processing apparatus such as an MFP (Multi Function Printer) can select a plurality of processes (copy job, print job, SEND job, etc.) according to a request from the user. It is realized by hardware or software. When a part of the image processing function in the MFP is processed by an FPGA that can be dynamically reconfigured, generally, the execution timing for the dynamic reconfiguration to the FPGA is the timing at which the processing content is determined by a request from the user. . After the logic circuit information corresponding to the processing content is written in the configuration memory, a series of processing according to the request from the user can be performed.

ところで、FPGAの論理回路は、動作状況や、動作する論理回路の規模、動作周波数に依存して電力を消費するが、FPGA内部の論理回路の再構成を行う処理においても多くの電力を要する。一般に、LSIやFPGAといった論理回路において、急激に大量の電力消費が行われると、回路で使用される電圧に電圧降下が生じ、回路動作中に所定のレンジを超えた電圧変動が生じると、動作中の回路が誤動作する可能性がある。この再構成時の電力消費への対処方法として、特許文献1では、次に回路が使用されるまでの時間で、これから再構成処理を時分割し、分割した部分毎に順に再構成処理を実行することが記載されている。これにより、再構成処理における消費電力のピークを平準化することを可能としている。   By the way, the logic circuit of the FPGA consumes power depending on the operating state, the scale of the operating logic circuit, and the operating frequency. However, a large amount of power is required in the process of reconfiguring the logic circuit in the FPGA. In general, in a logic circuit such as LSI or FPGA, if a large amount of power is consumed rapidly, a voltage drop occurs in the voltage used in the circuit, and if a voltage fluctuation exceeding a predetermined range occurs during circuit operation, The inside circuit may malfunction. As a method for dealing with the power consumption at the time of reconfiguration, in Patent Document 1, the reconfiguration processing is time-divided from the time until the next use of the circuit, and the reconfiguration processing is sequentially executed for each divided portion. It is described to do. This makes it possible to level the power consumption peak in the reconstruction process.

特開2010−79726号公報JP 2010-79726 A

しかしながら、上記従来技術には以下に記載する問題がある。例えば、上記従来技術では、再構成を行う回路以外の電力状態を含めた制御が行われていないため、再構成処理される回路以外で多くの電力消費が行われている場合には、大量の消費電力による動作中の回路の誤動作を避けることができない。つまり、再構成処理に必要となる電力は小さいものの、その他の並列で実行されている処理で消費する電力が大きいため、当該再構成処理中に所定のレンジを超えた電圧変動が生じる場合がある。このようなケースに対応するハードウェア構成とするためには、電源ICの強化や、FPGAのパッケージを変える必要があり、コストアップを招くことになる。   However, the above prior art has the following problems. For example, in the above prior art, since control including the power state other than the circuit to be reconfigured is not performed, a large amount of power is consumed outside the circuit to be reconfigured. A malfunction of the circuit during operation due to power consumption cannot be avoided. In other words, although the power required for the reconstruction process is small, the power consumed by other processes executed in parallel is large, and thus voltage fluctuations exceeding a predetermined range may occur during the reconstruction process. . In order to achieve a hardware configuration corresponding to such a case, it is necessary to reinforce the power supply IC and change the FPGA package, resulting in an increase in cost.

本発明は、上述の問題に鑑みて成されたものであり、動的部分再構成を用いたシステムにおいて、一部の領域が動作中に他の領域を部分的に再構成する際に、装置の消費電力を所定の範囲内に収める仕組みを提供することを目的とする。   The present invention has been made in view of the above-described problems, and in a system using dynamic partial reconfiguration, when a part of a region partially operates while another part is in operation, an apparatus is provided. An object is to provide a mechanism for keeping the power consumption within a predetermined range.

本発明は、複数の部分再構成部を含み、かつ、回路構成を動的かつ部分的に再構成可能な、再構成回路を有する画像処理装置であって、前記再構成回路の一部の前記部分再構成部を再構成する際に、動作中の前記部分再構成部の消費電力の値と、再構成するため必要な追加電力の値との合計値を算出する算出手段と、記算出手段によって算出された合計値が許容電力の値に収まるか否かを判定する電力判定手段と、前記電力判定手段によって前記合計値が許容電力の値に収まると判定されると、前記再構成回路の再構成を実行する再構成手段とを備えることを特徴とする。   The present invention is an image processing apparatus including a plurality of partial reconfiguration units and having a reconfiguration circuit capable of dynamically and partially reconfiguring a circuit configuration, wherein the image processing apparatus includes a part of the reconfiguration circuit. A calculating means for calculating a total value of a power consumption value of the partial reconfiguring section in operation and a value of additional power necessary for reconfiguration when reconfiguring the partial reconfiguring section; And a power determination unit that determines whether or not the total value calculated by the method falls within an allowable power value, and the power determination unit determines that the total value falls within the allowable power value. Reconfiguration means for executing reconfiguration.

本発明によれば、動的部分再構成を用いたシステムにおいて、一部の領域が動作中に他の領域を部分的に再構成する際に、装置の消費電力を所定の範囲内に収めることができる。   According to the present invention, in a system using dynamic partial reconfiguration, the power consumption of an apparatus is kept within a predetermined range when a part of a region is partially reconfigured while another region is operating. Can do.

第1の実施形態に係る画像処理装置の構成の一例を示すブロック図。1 is a block diagram illustrating an example of a configuration of an image processing apparatus according to a first embodiment. 第1の実施形態に係る動的再構成部の構成の一例を示すブロック図。The block diagram which shows an example of a structure of the dynamic reconstruction part which concerns on 1st Embodiment. 第1の実施形態に係るユースケース1における動的再構成部に構成されるブロック図の一例を示すブロック図。The block diagram which shows an example of the block diagram comprised by the dynamic reconstruction part in the use case 1 which concerns on 1st Embodiment. 第1の実施形態に係る動作時電力管理テーブルの一例を示す図。The figure which shows an example of the operating power management table which concerns on 1st Embodiment. 第1の実施形態に係る部分再構成時電力管理テーブルの一例を示す図。The figure which shows an example of the power management table at the time of partial reconstruction which concerns on 1st Embodiment. 第1の実施形態に係る動的再構成制御フローを示すフローチャート。The flowchart which shows the dynamic reconfiguration control flow which concerns on 1st Embodiment. 第1の実施形態に係る再構成シーケンス決定フローを示すスローチャート。The slow chart which shows the reconstruction sequence determination flow which concerns on 1st Embodiment. 第1の実施形態に係る動作中回路への制御決定フローを示すフローチャート。The flowchart which shows the control decision flow to the circuit in operation | movement which concerns on 1st Embodiment. 第1の実施形態に係る再構成処理の制御決定フローを示すフローチャート。The flowchart which shows the control decision flow of the reconstruction process which concerns on 1st Embodiment. 第1の実施形態に係るを適用した場合の消費電力を示す図。The figure which shows the power consumption at the time of applying based on 1st Embodiment. 第1の実施形態に係るユースケース2における動的再構成部に構成されるブロック図の一例を示すブロック図。The block diagram which shows an example of the block diagram comprised by the dynamic reconstruction part in the use case 2 which concerns on 1st Embodiment. 第2の実施形態に係る再構成シーケンス決定フローを示すスローチャート。The slow chart which shows the reconstruction sequence determination flow which concerns on 2nd Embodiment. 第2の実施形態に係るを適用した場合の消費電力を示す図。The figure which shows the power consumption at the time of applying based on 2nd Embodiment.

以下、添付図面を参照して本発明の実施形態を詳しく説明する。なお、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the present invention according to the claims, and all combinations of features described in the present embodiments are not necessarily essential to the solution means of the present invention. .

<第1の実施形態>
<画像処理装置の構成>
以下では、図1乃至図11を参照して、本発明の第1の実施形態について説明する。まず、図1を参照して、本発明の実施形態に関わる画像処理装置の構成について説明する。本実施形態では、画像処理装置100として、スキャナ部やプリンタ部を有する複合機(多機能処理装置)を一例に説明する。当該画像処理装置100は、例えば複数種類の機能を実現する複合機である多機能処理装置(MFP:Multi Function Peripheral)で実現される。
<First Embodiment>
<Configuration of image processing apparatus>
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. First, the configuration of an image processing apparatus according to an embodiment of the present invention will be described with reference to FIG. In the present embodiment, a multifunction device (multifunctional processing device) having a scanner unit and a printer unit will be described as an example of the image processing device 100. The image processing apparatus 100 is realized by, for example, a multi-function processing apparatus (MFP) that is a multifunction machine that realizes a plurality of types of functions.

本実施形態の画像処理装置100は、画像処理装置100を使用するユーザが各種の操作を行うための操作部104と、画像処理装置100の状態を表示し、ユーザが操作する操作ボタンを表示する表示部102とを有する。なお、操作部104及び表示部102は、タッチパネル方式を用いて一体として設けられてもよい。画像処理装置100は、さらに、操作部104からの指示に従って原稿から画像情報を読み取るリーダ部105と、画像データを用紙に印刷するプリンタ部107とを有する。リーダ部105は、リーダ部105を制御するCPUや原稿読取を行うための照明ランプや走査ミラーなどを有する。プリンタ部107は、プリンタ部107の制御を行うCPUや画像形成や定着を行うための感光体ドラムや定着器を有する。画像処理装置100はさらに、論理回路構成情報を用いて機能を変更することができ、FPGA等で実装される動的再構成部(再構成回路)120を備える。   The image processing apparatus 100 according to the present embodiment displays an operation unit 104 for a user using the image processing apparatus 100 to perform various operations, the state of the image processing apparatus 100, and operation buttons operated by the user. And a display unit 102. Note that the operation unit 104 and the display unit 102 may be provided integrally using a touch panel method. The image processing apparatus 100 further includes a reader unit 105 that reads image information from a document in accordance with an instruction from the operation unit 104, and a printer unit 107 that prints image data on paper. The reader unit 105 includes a CPU for controlling the reader unit 105, an illumination lamp for scanning a document, a scanning mirror, and the like. The printer unit 107 includes a CPU that controls the printer unit 107, and a photosensitive drum and a fixing device that perform image formation and fixing. The image processing apparatus 100 further includes a dynamic reconfiguration unit (reconfiguration circuit) 120 that can change the function using the logic circuit configuration information and is implemented by an FPGA or the like.

また、画像処理装置100は、画像処理装置100の動作を統括的に制御するコントローラ部101を備える。コントローラ部101はCPU111を有し、このCPU111がこの画像処理装置の各ユニットを制御するための制御ソフトウェアを実行する。コントローラ部101と、動的再構成部120は、PCI−Express等で実装されるインターコネクト112を介して接続し、各種データをやりとりすることができる。さらに、動的再構成部120は、ビデオバス113を介して、リーダ部105から原稿を読み取ることで得られる画像データを受け取ることができる。   The image processing apparatus 100 also includes a controller unit 101 that comprehensively controls the operation of the image processing apparatus 100. The controller unit 101 includes a CPU 111, and the CPU 111 executes control software for controlling each unit of the image processing apparatus. The controller unit 101 and the dynamic reconfiguration unit 120 can be connected via an interconnect 112 implemented by PCI-Express or the like to exchange various data. Furthermore, the dynamic reconfiguration unit 120 can receive image data obtained by reading a document from the reader unit 105 via the video bus 113.

また、画像処理装置100は、CPU111が実行するブートプログラムが格納されているROM109を有する。また、画像処理装置100は、CPU101が動作するためのシステムワークメモリであり、かつ画像データを一時記憶するための画像メモリでもあるRAM110を有する。RAM111は、記憶部106に格納された論理回路構成情報を複製し格納して高速に読み出すためのメモリでもある。さらに、画像処理装置100は、FPGAなどで実装される動的再構成部120をコンフィグレーションするための複数の論理回路構成情報が格納されている記憶部106を有する。記憶部106は、例えばHDDやSDカードで実現される。コントローラ部101は、リーダ部105で読み込まれた画像データに画像処理を施し記憶部106に記憶することができ、さらに画像処理装置100の操作履歴データや、ユーザ情報データを記憶することができる。コントローラ部101は、さらに、記憶部105に記憶した各種データに対して、補正、加工、編集、解析等の各種データ処理を行う。また、画像処理装置100は、ネットワークI/F部108を介してネットワークに接続され、このネットワークを利用して、ネットワークに接続された外部機器との間で画像データや各種情報、論理回路構成情報をやりとりすることができる。   The image processing apparatus 100 includes a ROM 109 that stores a boot program executed by the CPU 111. The image processing apparatus 100 includes a RAM 110 that is a system work memory for the CPU 101 to operate and is also an image memory for temporarily storing image data. The RAM 111 is also a memory for copying, storing, and reading out the logic circuit configuration information stored in the storage unit 106 at high speed. Furthermore, the image processing apparatus 100 includes a storage unit 106 that stores a plurality of pieces of logic circuit configuration information for configuring the dynamic reconfiguration unit 120 implemented by an FPGA or the like. The storage unit 106 is realized by, for example, an HDD or an SD card. The controller unit 101 can perform image processing on the image data read by the reader unit 105 and store the image data in the storage unit 106, and can further store operation history data and user information data of the image processing apparatus 100. The controller unit 101 further performs various data processing such as correction, processing, editing, and analysis on the various data stored in the storage unit 105. The image processing apparatus 100 is connected to a network via the network I / F unit 108, and using this network, image data, various information, and logic circuit configuration information are exchanged with external devices connected to the network. Can be exchanged.

また、画像処理装置100は、動的再構成部120と接続するROM121、RAM122、及びカメラ部123を備える。ROM121は、動的再構成部120をコンフィグレーションするための論理回路構成情報を格納している。RAM122は、動的再構成部120が用いる各種データの一時記憶領域であり、後述する動的かつ部分的な再構成処理に用いる論理回路構成情報を格納するメモリである。カメラ部123は、USB等で実装されるバスで動的再構成部120と接続し、CCDや各種センサを有し、動的再構成部120からの指示に従い、画像データやセンサ出力を得ることができる。   The image processing apparatus 100 also includes a ROM 121, a RAM 122, and a camera unit 123 that are connected to the dynamic reconfiguration unit 120. The ROM 121 stores logic circuit configuration information for configuring the dynamic reconfiguration unit 120. The RAM 122 is a temporary storage area for various data used by the dynamic reconfiguration unit 120, and is a memory that stores logic circuit configuration information used for dynamic and partial reconfiguration processing described later. The camera unit 123 is connected to the dynamic reconfiguration unit 120 via a bus implemented by USB or the like, has a CCD and various sensors, and obtains image data and sensor output in accordance with instructions from the dynamic reconfiguration unit 120. Can do.

<動的再構成部>
次に、図2を参照して、動的再構成部120の詳細構成について説明する。動的再構成部120は、通信I/F211、メモリコントローラ207、リーダI/F209、USBI/F208、再構成制御部212、再構成制御部212により再構成される部分再構成領域であるPR(Partial Reconfigurable area)201、202、203、204、205、206、クロック制御部213を有する。
<Dynamic reconfiguration unit>
Next, a detailed configuration of the dynamic reconfiguration unit 120 will be described with reference to FIG. The dynamic reconfiguration unit 120 is a PR (partial reconfiguration area reconfigured by the communication I / F 211, the memory controller 207, the reader I / F 209, the USB I / F 208, the reconfiguration control unit 212, and the reconfiguration control unit 212. (Partial Reconfigurable Area) 201, 202, 203, 204, 205, 206, and a clock control unit 213.

通信I/F211は、コントローラ部101との間で送受信される信号や通信パケットの入出力部を構成するとともに、コントローラ部101との通信制御を行う。通信I/F211は、例えばPCI−Expressなどの規格で実装される。メモリコントローラ207は、システムバス210を介して行われるRAM122への書き込み、読み出し動作を制御する。リーダI/F209は、原稿から画像データを読み取るリーダ部105と、ビデオバス113を介して接続され、リーダ部105から画像データを受け取り、システムバス210を介して画像データを転送する。   The communication I / F 211 constitutes an input / output unit for signals and communication packets transmitted / received to / from the controller unit 101 and controls communication with the controller unit 101. The communication I / F 211 is implemented by a standard such as PCI-Express, for example. The memory controller 207 controls writing and reading operations to the RAM 122 performed via the system bus 210. A reader I / F 209 is connected to the reader unit 105 that reads image data from a document via the video bus 113, receives the image data from the reader unit 105, and transfers the image data via the system bus 210.

USBI/F208は、USBを介して動的再構成部120が、カメラ等の他のデバイスと通信を行うためのI/F部である。本実施形態によれば、USBI/F208は、カメラ部123と接続され、カメラ部123の制御、カメラ部123から画像データやセンサ情報を受け取る制御を行う。   The USB I / F 208 is an I / F unit for the dynamic reconfiguration unit 120 to communicate with other devices such as a camera via the USB. According to the present embodiment, the USB I / F 208 is connected to the camera unit 123 and performs control of the camera unit 123 and control of receiving image data and sensor information from the camera unit 123.

再構成制御部212は、ROM121若しくはRAM122に格納される論理回路構成情報、又は通信I/F211を介してコントローラ部101から転送される論理回路構成情報を用いて、各PRのコンフィグレーション(回路構成処理)を制御する。クロック制御部213は、動的再構成部120において供給する各種クロックの制御を行う。供給する各種クロックには、各I/F部で用いる転送クロックや、各PRで用いられる動作クロック、再構成制御部212と各PRが再構成時に用いられる再構成クロックなどがあり、クロック制御部213が周波数変更や、遮断を行うことができる。   The reconfiguration control unit 212 uses the logic circuit configuration information stored in the ROM 121 or the RAM 122 or the logic circuit configuration information transferred from the controller unit 101 via the communication I / F 211 to configure each PR configuration (circuit configuration). Control). The clock control unit 213 controls various clocks supplied by the dynamic reconfiguration unit 120. Various clocks to be supplied include a transfer clock used in each I / F unit, an operation clock used in each PR, a reconfiguration clock used when the reconfiguration control unit 212 and each PR are reconfigured, etc. 213 can change the frequency or cut off.

部分再構成領域PR201、202、203、204、205、206は、一部のPRが動作中に、それ以外の一部のPRが再構成して別の機能を行う論理回路に再構成することが可能である。再構成される論理回路は、論理回路構成情報に依存し、論理回路構成情報は、再構成制御部212を介してコントローラ部101の制御により論理回路構成情報が選択される。本実施形態によれば、部分再構成領域PR201、202、203、204、205、206以外の回路は、電源投入時に一度だけ構成し、動的再構成することはない。   Partial reconfiguration areas PR201, 202, 203, 204, 205, and 206 are reconfigured into logic circuits in which some PRs are reconfigured to perform other functions while some PRs are operating. Is possible. The reconfigured logic circuit depends on the logic circuit configuration information, and the logic circuit configuration information is selected by the control of the controller unit 101 via the reconfiguration control unit 212. According to this embodiment, circuits other than the partial reconfiguration regions PR201, 202, 203, 204, 205, and 206 are configured only once when power is turned on, and are not dynamically reconfigured.

<動的再構成部120に構成される論理回路の構成例>
次に、図3を参照して、本実施例に関わる画像処理装置100において、動的再構成部120に構成される論理回路の例について説明する。
<Configuration Example of Logic Circuit Configured in Dynamic Reconfiguration Unit 120>
Next, an example of a logic circuit configured in the dynamic reconfiguration unit 120 in the image processing apparatus 100 according to the present embodiment will be described with reference to FIG.

画像処理装置100は、ユーザにより操作部104を介して選択された機能に応じて、主にコントローラ部101において、必要な処理を行う。コントローラ部101が有しない機能や、コントローラ部のソフトウェア負荷を下げるための機能を用いる場合、動的再構成部120内のPR201、202、203、204、205、206に、必要な回路を構成し、処理を行うことができる。   The image processing apparatus 100 performs necessary processing mainly in the controller unit 101 in accordance with the function selected by the user via the operation unit 104. When using a function that the controller unit 101 does not have or a function for reducing the software load of the controller unit, configure necessary circuits in the PRs 201, 202, 203, 204, 205, and 206 in the dynamic reconfiguration unit 120. Can be processed.

301は、動的再構成部120において、PR205にAFC(アフィン変換)、PR206にFILA(アフィン変換後用フィルタ)、PR201にSENS(センサ入力定期チェッカ)が構成されている場合を示す。この構成において、コントローラ部101は記憶部106から動的再構成部120に接続されるRAM122に格納された、通信I/F211を介して転送した画像データに対して、画像処理を行う。具体的には、AFCによって回転処理を行い、FILAによってエッジ強調等の目的のフィルタ演算処理を行い、画像処理後の画像データをRAM122に書き戻す。処理の完了を検知したコントローラ部101は、RAM122にある画像データを記憶部106に転送する。一方、SENSは、USBI/F208を介して入力されるデータを定期的にチェックし、所定のパターンの入力を検知した場合、通信I/Fを介してコントローラ部101に通知する処理を行う。   Reference numeral 301 denotes a case where the dynamic reconfiguration unit 120 includes an AFC (affine transformation) in PR 205, a FILA (affine transformation filter) in PR 206, and a SENS (sensor input periodic checker) in PR 201. In this configuration, the controller unit 101 performs image processing on image data transferred from the storage unit 106 to the RAM 122 connected to the dynamic reconfiguration unit 120 and transferred via the communication I / F 211. Specifically, the rotation processing is performed by AFC, the target filter calculation processing such as edge enhancement is performed by FILA, and the image data after the image processing is written back to the RAM 122. The controller unit 101 that has detected the completion of processing transfers the image data in the RAM 122 to the storage unit 106. On the other hand, the SENS periodically checks data input via the USB I / F 208, and performs processing to notify the controller unit 101 via the communication I / F when detecting an input of a predetermined pattern.

302は、301の回路構成に加え、PR202、PR203、PR204にZS(像域分離)が構成されている場合を示す。ZSは論理回路の規模が大きいため、複数の領域PR202、PR203、PR204を用いて、それぞれZS1、ZS2、ZS3として、回路構成させている。ZSは、リーダ部105で読み取った画像データが有する各画素が、文字であるか写真であるかを検出し、検出した結果を像域データとしてRAM122に格納し、その後コントローラ部101が記憶部106に転送する。像域データを用いて、その後の画像処理を行うことにより、画像データの特性にあった適用的な画像処理が可能となる。   Reference numeral 302 denotes a case where ZS (image area separation) is configured in PR202, PR203, and PR204 in addition to the circuit configuration of 301. Since ZS has a large logic circuit scale, a plurality of regions PR202, PR203, and PR204 are used to form circuits as ZS1, ZS2, and ZS3, respectively. The ZS detects whether each pixel included in the image data read by the reader unit 105 is a character or a photograph, and stores the detected result in the RAM 122 as image area data, and then the controller unit 101 stores the storage unit 106. Forward to. By performing subsequent image processing using the image area data, it is possible to perform image processing that is suitable for the characteristics of the image data.

また、各PRは、コントローラ部101から指示を受け取れるレジスタ部を有し、指示されレジスタ部に格納された設定値に基づき各処理を行うことができる。なお、本実施形態では、再構成する論理回路としてAFC、FILA、SENS、ZS等を挙げたが、一例であって、どのような処理を行う論理回路であっても構わない。また同様の機能であっても、処理パラメータが異なるだけの論理回路を構成してもよいし、RGB画像データ用か、モノクロ画像用かで異なる論理回路を構成してもよい。   Each PR has a register unit that can receive an instruction from the controller unit 101, and can perform each process based on a set value that is instructed and stored in the register unit. In the present embodiment, AFC, FILA, SENS, ZS, and the like are given as the logic circuit to be reconfigured. However, the logic circuit may be any type of processing. Even with the same function, logic circuits with different processing parameters may be configured, or different logic circuits may be configured for RGB image data or monochrome images.

<動的再構成部120への再構成制御フロー>
図4乃至図9を参照して、本実施形態に係る画像処理装置100における動的再構成部120への再構成制御フローについて説明する。図6及び図7は、コントローラ部101のCPU111が行う動的再構成制御の手順を説明する図である。まず、図6を参照して、301に示した回路構成から302に示した回路構成に移行するために、コントローラ部101のCPU111が行う処理フローについて説明する。なお、以下で説明する処理は、CPU111がROM109や記憶部106に格納された制御プログラムをRAM110に読み込んで実行することにより実現される。301では、前述したように、PR201、PR205、PR206が動作中である。このとき、ユーザからの要求によりスキャンを行うために、302で示したZSを含む回路構成に移行する。この回路構成状態の移行をユースケース1とする。
<Reconfiguration control flow to the dynamic reconfiguration unit 120>
A reconfiguration control flow to the dynamic reconfiguration unit 120 in the image processing apparatus 100 according to the present embodiment will be described with reference to FIGS. 6 and 7 are diagrams for explaining the procedure of the dynamic reconfiguration control performed by the CPU 111 of the controller unit 101. FIG. First, a processing flow performed by the CPU 111 of the controller unit 101 in order to shift from the circuit configuration illustrated in 301 to the circuit configuration illustrated in 302 will be described with reference to FIG. Note that the processing described below is realized by the CPU 111 reading a control program stored in the ROM 109 or the storage unit 106 into the RAM 110 and executing it. In 301, PR201, PR205, and PR206 are operating as described above. At this time, in order to perform scanning according to a request from the user, the circuit configuration is shifted to a circuit configuration including ZS indicated by 302. This transition of the circuit configuration state is referred to as use case 1.

S601で、CPU111は、動的再構成部120の部分再構成領域PRにおける現在の使用領域を確認する。301の時点では、PR201、PR205、PR206が使用中であり、PR202、PR203、PR204が未使用である。続いて、S602で、CPU111は、ZSを構成可能な領域が使用可能であるか否かを判定する。例えば、他の処理のために使用不可能である場合は、S601に戻り、使用可能になるまで待機する。一方、PRが使用可能であると判定した場合、S603に進む。このときCPU111は、使用するPRと、再構成処理に必要となるPRに適合した論理回路構成情報を確定する。ここではPR203、PR202、PR204が、それぞれZS1、ZS2、ZS3として使用することを確定し、必要となる論理回路構成情報は、記憶部106に格納されているものとする。   In step S <b> 601, the CPU 111 confirms the current use area in the partial reconfiguration area PR of the dynamic reconfiguration unit 120. At the time of 301, PR201, PR205, and PR206 are in use, and PR202, PR203, and PR204 are unused. Subsequently, in S602, the CPU 111 determines whether or not an area where the ZS can be configured is usable. For example, if it cannot be used for another process, the process returns to S601 and waits until it can be used. On the other hand, if it is determined that PR can be used, the process proceeds to S603. At this time, the CPU 111 determines the logic circuit configuration information suitable for the PR to be used and the PR necessary for the reconfiguration process. Here, it is assumed that PR203, PR202, and PR204 are determined to be used as ZS1, ZS2, and ZS3, respectively, and necessary logic circuit configuration information is stored in the storage unit 106.

S603で、CPU111は、再構成処理を行うためのシーケンスを決定する。再構成シーケンスが決定すると、S604で、CPU111は、S603で決定した再構成シーケンスに基づき、再構成処理を実行し、302の状態に移行することができる。   In step S603, the CPU 111 determines a sequence for performing reconfiguration processing. When the reconfiguration sequence is determined, in S604, the CPU 111 can execute the reconfiguration process based on the reconfiguration sequence determined in S603 and shift to the state of 302.

ここで、図7を参照して、S603における、301に示した回路構成から302に示した回路構成に移行するユースケース1のための再構成シーケンスを、コントローラ部101のCPU111が決定する処理フローについて説明する。なお、以下で説明する処理は、CPU111がROM109や記憶部106に格納された制御プログラムをRAM110に読み込んで実行することにより実現される。   Here, referring to FIG. 7, the processing flow in which the CPU 111 of the controller unit 101 determines the reconfiguration sequence for use case 1 in S <b> 603 for shifting from the circuit configuration shown in 301 to the circuit configuration shown in 302. Will be described. Note that the processing described below is realized by the CPU 111 reading a control program stored in the ROM 109 or the storage unit 106 into the RAM 110 and executing it.

S701で、CPU111は、動作中回路の電力情報を、動作時電力管理テーブル401を用いて取得する。図4は、S701でCPU111が用いる動作時電力管理テーブル401の一例を示す。本実施形態では、動作時電力管理テーブル401は、PR−IDと、function、frequency、及びpowerの相関情報を各PRごとに定義する。PR−IDは、複数の領域備える部分再構成領域を区別するためのIDを表す。functionは、構成される回路の機能を表す。frequencyは、構成される回路の動作周波数を表し、その単位はMHzである。powerは構成される回路の動作時電力を表し、その単位はmWである。例えば、動作時電力管理テーブル401を参照することによって、PR205で、AFCが動作クロック200MHzで動作する場合、動作時電力として120mWという数値が得られる。   In step S <b> 701, the CPU 111 acquires power information of the operating circuit using the operating power management table 401. FIG. 4 shows an example of the operating power management table 401 used by the CPU 111 in S701. In the present embodiment, the operating power management table 401 defines PR-ID, function, frequency, and power correlation information for each PR. The PR-ID represents an ID for distinguishing a partial reconstruction area having a plurality of areas. function represents the function of the configured circuit. The frequency represents the operating frequency of the circuit to be configured, and its unit is MHz. “power” represents the operating power of the configured circuit, and its unit is mW. For example, by referring to the operating power management table 401, when the AFC operates with an operation clock of 200 MHz in the PR 205, a numerical value of 120 mW is obtained as the operating power.

図7の説明に戻る。ユースケース1では、S701の時点において、PR201、PR205、PR206が動作中であり、それぞれの動作状態・機能から以下のように動作時電力情報が得られる。即ち、PR201+PR205+PR206=40+120+160=320[mW]のように、算出することができる。   Returning to the description of FIG. In use case 1, at the time of S701, PR201, PR205, and PR206 are operating, and operating power information can be obtained from each operating state / function as follows. That is, it can be calculated as PR201 + PR205 + PR206 = 40 + 120 + 160 = 320 [mW].

次に、S702で、CPU111は、これから行う部分再構成時に必要となる追加電力を、部分再構成時電力管理テーブル501を用いて取得する。図5は、S702でCPU111が用いる部分再構成時電力管理テーブル501の一例を示す。どのPRを示すPR−IDと、構成される回路構成を示すfunction、部分再構成処理に用いられる再構成クロックの周波数を示すfrequencyと、再構成時に要する電力情報を示すpowerとの相関情報を定義している。本実施形態では、frequencyの単位はMHz、powerの単位はmWである。   Next, in step S <b> 702, the CPU 111 acquires additional power necessary for partial reconfiguration to be performed in the future using the partial reconfiguration power management table 501. FIG. 5 shows an example of the partial reconfiguration power management table 501 used by the CPU 111 in S702. Defines correlation information between PR-ID indicating which PR, function indicating the circuit configuration to be configured, frequency indicating the frequency of the reconfiguration clock used for the partial reconfiguration processing, and power indicating the power information required for reconfiguration doing. In this embodiment, the unit of frequency is MHz and the unit of power is mW.

図7の説明に戻る。PR203、PR202、PR204が、それぞれZS1、ZS2、ZS3として再構成することから、ユースケース1では、以下のように追加電力情報が得られる。即ち、PR202+PR203+PR204=200+190+240=630[mW]のように、算出することができる。   Returning to the description of FIG. Since PR203, PR202, and PR204 are reconfigured as ZS1, ZS2, and ZS3, respectively, in use case 1, additional power information is obtained as follows. That is, it can be calculated as PR202 + PR203 + PR204 = 200 + 190 + 240 = 630 [mW].

次に、S703で、CPU111は、電力判定手段として機能し、S701及びS702で得られた使用時電力(消費電力)と追加電力との合計値が、動的再構成部120が許容可能な電力の値(所定の電力範囲)に収まっているか否かによって、再構成可能か否かを判定する。動的再構成部120が許容可能な電力は、動的再構成部のデバイスとしての特性によって決定し、本実施形態としては850[mw]としている。つまり、ここでは、許容可能な電力の上限を予め規定している。S703で再構成可能と判定した場合はS704に進み、可能ではないと判定した場合はS705に進む。   Next, in S <b> 703, the CPU 111 functions as a power determination unit, and the total value of the in-use power (power consumption) and the additional power obtained in S <b> 701 and S <b> 702 is an allowable power for the dynamic reconfiguration unit 120. Whether or not reconfiguration is possible is determined based on whether or not the value is within the range (predetermined power range). The power allowable by the dynamic reconfiguration unit 120 is determined by the characteristics of the dynamic reconfiguration unit as a device, and is 850 [mw] in the present embodiment. That is, here, an upper limit of allowable power is defined in advance. If it is determined in S703 that reconfiguration is possible, the process proceeds to S704. If it is determined that reconfiguration is not possible, the process proceeds to S705.

S704で、CPU111は、使用するPRをすべて再構成するシーケンスとして、再構成シーケンスを決定する。つまり、図6のS604でPR203、PR202、PR204が、それぞれZS1、ZS2、ZS3として、並行して再構成処理することを示す。例えば、動作中の回路が1つもない場合は、S704に進むことが多くなることが想定される。   In step S704, the CPU 111 determines a reconfiguration sequence as a sequence for reconfiguring all the PRs to be used. That is, PR203, PR202, and PR204 perform reconfiguration processing in parallel as ZS1, ZS2, and ZS3 in S604 of FIG. For example, when there is no circuit in operation, it is assumed that the process often proceeds to S704.

本実施形態におけるユースケース1では、使用時電力と追加電力との合計値(320+630=950[mw])が許容可能な電力の値(850[mw])を超えているため、再構成可能ではないという判定となり、S705へ進む。なお、S705から、S709については、動作時電力及び再構成時の追加電力を、許容電力に収めるために行うステップの一例を説明している。   In use case 1 in the present embodiment, the total value (320 + 630 = 950 [mw]) of the in-use power and the additional power exceeds the allowable power value (850 [mw]). It is determined that there is not, and the process proceeds to S705. Note that, from S705 to S709, an example of steps performed to keep the power during operation and the additional power during reconfiguration within allowable power is described.

S705で、CPU111は、優先判定手段として機能し、再構成を行う予定の回路(ZS)の優先度が、実行中の回路(AFC、FLTA、SENS)の優先度に対して高いか否かを判定する。再構成を行う予定の機能の方が、実行中の機能に比べ優先度が高い場合、S706へ進み、CPU111は、動作中の回路に対して消費電力を抑える制御シーケンスを加える。これにより、再構成によって構成される論理回路が早く実行できる。一方、動作中の機能の方が再構成を行う予定の機能に比べ、優先度が低い又は同等の優先度の場合は、S708に進み、CPU111は、再構成において消費電力を抑える制御シーケンスを加える。これにより、優先度の高い処理、又はすでに同じ優先度だがすでに実行中の処理を妨げることなく再構成処理を行うことができる。   In S705, the CPU 111 functions as a priority determination unit, and determines whether the priority of the circuit (ZS) to be reconfigured is higher than the priority of the circuit (AFC, FLTA, SENS) being executed. judge. If the function to be reconfigured has a higher priority than the function being executed, the process advances to step S706, and the CPU 111 adds a control sequence for suppressing power consumption to the operating circuit. Thereby, the logic circuit constituted by reconfiguration can be executed quickly. On the other hand, when the priority of the function being operated is lower than or equal to the function scheduled to be reconfigured, the process proceeds to S708, and the CPU 111 adds a control sequence for suppressing power consumption in the reconfiguration. . As a result, it is possible to perform the reconfiguration process without interfering with a process having a high priority or a process having the same priority but already being executed.

操作部104からユーザによって指示されたスキャン処理に用いるZSは、AFC及びFLTAに対しては優先度が高いものと定義しているため、ユースケース1ではS706に進む。S706で、CPU111は、動作中の回路に対して消費電力を抑える制御を決定する。動作中の回路に対して選択可能な制御としては、動作クロックを停止する制御や、動作クロックの周波数を低下させる制御などがある。CPU111は、動作中の回路の機能に応じてこれらの制御を選択する。   Since ZS used for the scanning process instructed by the user from the operation unit 104 is defined as having a high priority for AFC and FLTA, in use case 1, the process proceeds to S706. In step S <b> 706, the CPU 111 determines control for suppressing power consumption for the circuit in operation. Controls that can be selected for the circuit in operation include control for stopping the operation clock and control for reducing the frequency of the operation clock. The CPU 111 selects these controls according to the function of the circuit in operation.

S707で、CPU111は、S706で動作中回路への制御を再構成シーケンスに加えた上で、使用時電力と追加電力との合計値が、動的再構成部120が許容可能な電力に収まっているか否かを判定することによって、再構成可能か否かをS703と同様に判定する。判定した結果、許容可能な電力に収まっていない場合、S708へ進み、他方の制御である再構成処理の制御をさらに加える。一方、許容可能な電力に十分収まっている場合、再構成シーケンス決定のフローを完了する。本実施形態におけるユースケース1では、S706で動作クロックを停止する制御を加えても、許容電力に収まらないため、S708へ進む。   In S707, the CPU 111 adds control to the operating circuit in S706 to the reconfiguration sequence, and the total value of the power in use and the additional power falls within the power allowable by the dynamic reconfiguration unit 120. Whether or not reconfiguration is possible is determined in the same manner as in S703. As a result of the determination, if the power is not within the allowable power, the process proceeds to S708, and the control of the reconstruction process which is the other control is further added. On the other hand, if the allowable power is sufficient, the flow for determining the reconstruction sequence is completed. In use case 1 in the present embodiment, even if control for stopping the operation clock is added in S706, the power does not fall within the allowable power, so the process proceeds to S708.

S708で、CPU111は、再構成処理において消費電力を抑える制御を決定する。再構成処理に対して選択可能な制御として、複数の部分再構成部PRを順に再構成処理する制御や、再構成クロックの周波数を低下させる制御などがある。CPU111は、再構成を行う論理回路情報に応じてこれらの制御を選択する。   In step S708, the CPU 111 determines control for reducing power consumption in the reconfiguration process. As control that can be selected for the reconfiguration processing, there are control for sequentially reconfiguring a plurality of partial reconfiguration units PR, control for reducing the frequency of the reconfiguration clock, and the like. The CPU 111 selects these controls according to the logic circuit information to be reconfigured.

S709で、CPU111は、S708で再構成処理への制御を再構成シーケンスに加えた上で、使用時電力と追加電力が、動的再構成部120が許容可能な電力に収まっているか否かを判定することによって、再構成可能か否かをS703と同様に判定する。判定した結果、許容可能な電力に収まっていない場合はS706へ進み、他方の制御である動作中回路への制御をさらに加える。一方、許容可能な電力に十分収まっている場合は、再構成シーケンス決定のフローを完了する。本実施形態におけるユースケース1では、S706で動作クロックを停止する制御に加え、さらにS708で他方の制御である順序再構成制御を加えることにより、許容可能な電力に収まるため、再構成シーケンス決定のフローを完了する。なお、両方の制御を加えたものの、許容電力に収まらない場合は、各制御による電力の低下の度合を大きくするか、或いは、エラー終了するようにしてもよい。   In step S709, the CPU 111 adds control to the reconfiguration process to the reconfiguration sequence in step S708, and determines whether the power in use and the additional power are within the power allowable by the dynamic reconfiguration unit 120. By determining, whether or not reconfiguration is possible is determined in the same manner as in S703. As a result of the determination, if the power is not within the allowable power, the process proceeds to S706, and the control to the operating circuit as the other control is further added. On the other hand, if the allowable power is sufficient, the flow for determining the reconstruction sequence is completed. In use case 1 in the present embodiment, in addition to the control for stopping the operation clock in S706, the order reconfiguration control that is the other control is further added in S708. Complete the flow. If both controls are added but the power does not fall within the allowable power, the degree of power reduction by each control may be increased, or an error may be terminated.

次に、図8を参照して、S706でCPU111が、動作中の回路に対して消費電力を抑える制御を決定する処理フローについて説明する。なお、以下で説明する処理は、CPU111がROM109や記憶部106に格納された制御プログラムをRAM110に読み込んで実行することにより実現される。   Next, with reference to FIG. 8, a processing flow in which the CPU 111 determines a control for suppressing power consumption for an active circuit in S706 will be described. Note that the processing described below is realized by the CPU 111 reading a control program stored in the ROM 109 or the storage unit 106 into the RAM 110 and executing it.

S801で、CPU111は、動作中回路がリアルタイム処理か否かを判定し、非リアルタイム処理の場合はS802へ進み、リアルタイム処理の場合はS803に進む。ここでは、ビデオ画像処理といったハードデバイスの動作速度に依存して停止できないような処理をリアルタイム処理と定義し、それ以外のある程度の遅延や停止を許容できる処理を非リアルタイム処理と定義している。AFC及びFLTAは、記憶部106に記憶されていた画像データへの画像処理であり、非リアルタイム処理である。   In step S801, the CPU 111 determines whether the operating circuit is a real-time process. If the circuit is a non-real-time process, the process proceeds to step S802. If the real-time process is performed, the process proceeds to step S803. Here, a process that cannot be stopped depending on the operating speed of the hard device, such as a video image process, is defined as a real-time process, and a process that can tolerate a certain amount of delay or stop is defined as a non-real-time process. AFC and FLTA are image processing on the image data stored in the storage unit 106, and are non-real time processing.

動作中回路が非リアルタイム処理の場合、S802において、動作クロックを停止する制御を再構成シーケンスに加える。このシーケンスをCPU111が選択することにより、動作時電力管理テーブル401を参照すると、PR205のAFCの消費する電力は、170[mw]から30[mw]になる。   If the circuit under operation is non-real time processing, in S802, control for stopping the operation clock is added to the reconfiguration sequence. When the CPU 111 selects this sequence and refers to the operating power management table 401, the power consumed by the AFC of the PR 205 is changed from 170 [mw] to 30 [mw].

一方、動作中回路がリアルタイム処理の場合、S803において処理速度を落としても良いか否かを判定する。例えば処理レートや処理解像度を半分にて動作クロックを半減させても、機能として成立するパターン認識処理回路が、この判定において、処理速度を落としても良いと判定させる場合がある。このときS804において、動作クロックを低下させる制御を、再構成シーケンスに加える。例えばPR205に顔認識の一部の処理を行うFDT2が構成されていた場合、動作クロックの周波数を200MHzから100MHzにすると、消費電力を60[mW]抑えることができる。S803において、処理速度を落とせないと判定した場合、動作中回路への制御決定を終了する。   On the other hand, if the operating circuit is a real-time process, it is determined in S803 whether or not the processing speed can be reduced. For example, even if the processing rate or the processing resolution is halved and the operation clock is halved, the pattern recognition processing circuit that is established as a function may determine that the processing speed may be reduced in this determination. At this time, in S804, control for lowering the operation clock is added to the reconfiguration sequence. For example, in the case where the PR 205 is configured with FDT 2 that performs a part of face recognition processing, the power consumption can be reduced by 60 [mW] when the frequency of the operation clock is changed from 200 MHz to 100 MHz. If it is determined in S803 that the processing speed cannot be reduced, the control decision for the operating circuit is terminated.

次に、図9を参照して、S708でCPU111が再構成処理に対して消費電力を抑える制御を決定する処理フローについて説明する。なお、以下で説明する処理は、CPU111がROM109や記憶部106に格納された制御プログラムをRAM110に読み込んで実行することにより実現される。   Next, with reference to FIG. 9, a processing flow in which the CPU 111 determines a control for suppressing power consumption with respect to the reconfiguration processing in S708 will be described. Note that the processing described below is realized by the CPU 111 reading a control program stored in the ROM 109 or the storage unit 106 into the RAM 110 and executing it.

S901で、CPU111は、再構成する領域が複数存在するか否かを判定する。複数のPRによって構成される機能の論理回路である場合はS902へ進み、1つのPRによってのみ構成される機能の論理回路の場合はS903へ進む。ユースケース1では、PR202、PR203、PR204の3つの領域を用いるためS902へ進む。   In step S901, the CPU 111 determines whether there are a plurality of areas to be reconfigured. If the logic circuit has a function composed of a plurality of PRs, the process proceeds to S902. If the logic circuit has a function composed of only one PR, the process proceeds to S903. In use case 1, since three regions PR202, PR203, and PR204 are used, the process proceeds to S902.

S902で、CPU111は、複数の動的再構成領域であるPRを、再構成に用いるPRをすべて並列ではなく順に再構成処理する制御(順序再構成)を、再構成シーケンスとして用いることを決定する。本実施形態におけるユースケース1では、並列に再構成処理を実行すると、630[mw]の追加電力が必要だが、1PRずつ再構成処理を実行すると、最大240[mw]の追加電力で実行できる。   In step S <b> 902, the CPU 111 determines to use, as a reconfiguration sequence, a control (order reconfiguration) for reconfiguring all PRs used for reconfiguration in order, not in parallel, for PRs that are a plurality of dynamic reconfiguration regions. . In use case 1 in the present embodiment, when the reconfiguration process is executed in parallel, 630 [mw] of additional power is required. However, if the reconfiguration process is executed for each 1 PR, the reconfiguration process can be executed with a maximum of 240 [mw] of additional power.

一方、S903で、CPU111は、再構成処理に用いられる再構成クロックの周波数を低下させる制御を再構成シーケンスとして用いることを決定する。例えば、PR204に、アフィン変換とフィルタを行うAFCF回路を再構成処理する場合、再構成クロックを160MHzから80MHzへ低下させることにより、消費電力を80[mw]に抑えることができる。   On the other hand, in step S903, the CPU 111 determines to use control for reducing the frequency of the reconfiguration clock used for the reconfiguration processing as the reconfiguration sequence. For example, when the AF 204 circuit that performs affine transformation and filtering is reconfigured in the PR 204, the power consumption can be suppressed to 80 [mw] by reducing the reconfiguration clock from 160 MHz to 80 MHz.

<消費電力>
次に、図10を参照して、本実施形態に係る画像処理装置100における動的再構成部120への再構成制御フローを適用した場合の消費電力について説明する。
<Power consumption>
Next, with reference to FIG. 10, the power consumption when applying the reconfiguration control flow to the dynamic reconfiguration unit 120 in the image processing apparatus 100 according to the present embodiment will be described.

1001は、横軸に時間、縦軸に消費電力を表している。縦軸のThは電圧変動が所定のレンジに収まるための基準となる動的再構成部120が許容できる消費電力の閾値であり、実線で本実施形態を適用した電力消費を示しており、破線は本実施形態を適用しなかった場合の電力消費を示している。一方、1002は、横軸に時間、縦軸に動的再構成部120の電圧を表している。電圧が所定のレンジに収まっていれば回路は正常に動作することが保障される。実線で本実施形態を適用した場合を示しており、破線は本実施形態を適用しなかった場合を示している。   1001 represents time on the horizontal axis and power consumption on the vertical axis. Th on the vertical axis is a threshold value of power consumption that can be allowed by the dynamic reconfiguration unit 120 serving as a reference for voltage fluctuations to fall within a predetermined range. The solid line indicates the power consumption to which the present embodiment is applied, and the broken line Indicates power consumption when this embodiment is not applied. On the other hand, 1002 represents time on the horizontal axis and the voltage of the dynamic reconfiguration unit 120 on the vertical axis. If the voltage is within a predetermined range, the circuit is guaranteed to operate normally. A solid line indicates a case where the present embodiment is applied, and a broken line indicates a case where the present embodiment is not applied.

時間Taは、301に示した回路を構成した時点である。この時点において、像域分離を行う回路ZSの再構成要求があり、CPU111は、本実施形態に係る再構成シーケンスの決定フローを実行し、さらに再構成処理を実行する。CPU111は、記憶部106に格納されているZS1、ZS2、ZS3をPR202、PR203、PR204に構成するための、論理回路構成情報を、通信I/F211を介して、動的再構成部120に接続するRAM122に転送する。さらに、CPU111は、再構成シーケンス決定のフローに基づき、時間Tcの直前で、まずクロック制御部213にPR205及びPR206の動作クロックの供給を遮断する。   Time Ta is the time when the circuit shown in 301 is configured. At this time, there is a request for reconfiguration of the circuit ZS that performs image area separation, and the CPU 111 executes the determination flow of the reconfiguration sequence according to the present embodiment, and further executes reconfiguration processing. The CPU 111 connects the logic circuit configuration information for configuring the ZS1, ZS2, and ZS3 stored in the storage unit 106 to PR202, PR203, and PR204 to the dynamic reconfiguration unit 120 via the communication I / F 211. To the RAM 122. Further, the CPU 111 first cuts off supply of the operation clocks of the PR 205 and PR 206 to the clock control unit 213 immediately before the time Tc based on the flow of the reconstruction sequence determination.

1003は、動作クロックの供給を遮断する前の動作中回路の消費電力の内訳を表している。1004は、動作クロックの供給を遮断した後の動作中回路の消費電力の内訳を表している。PR205及びPR206を用いて動作中であるAFC及びFLTAの動作クロックが遮断されたため、リーク電力といった静的電力以外の電力が削減されることを示している。   Reference numeral 1003 represents a breakdown of power consumption of the operating circuit before the supply of the operation clock is cut off. Reference numeral 1004 represents a breakdown of power consumption of the operating circuit after the supply of the operation clock is cut off. This shows that power other than static power such as leakage power is reduced because the operation clocks of AFC and FLTA that are operating using PR205 and PR206 are cut off.

次に、時間Tc、Tc2、Tc3において、RAM122に格納されている論理回路構成情報を用いて、PR204、PR203、PR202を再構成処理するように、再構成制御部212に指示することで、再構成処理を行う。1005は、本実施形態に係る再構成制御シーケンスの決定フローを適用しない場合の、消費電力の内訳を表している。PR201、PR205、PR206における動作時電力に加え、PR202、PR203、PR204への再構成処理に伴う消費電力のため、Thを超えた電力消費が発生することを示しており、この結果、回路の誤動作を起こす可能性がある。1006は、本実施形態に係る再構成制御フローを適用した場合の消費電力の内訳を示している。S708において、順に再構成処理を行う決定をしたことにより、時間TcにおいてPR204を、Tc2においてPR202、Tc3においてPR203を再構成処理する。その結果、1005で示した再構成処理に伴う消費電力が分散され、Thを下回る消費電力により再構成処理が可能となる。   Next, at times Tc, Tc2, and Tc3, the reconfiguration control unit 212 is instructed to reconfigure PR204, PR203, and PR202 using the logic circuit configuration information stored in the RAM 122. Perform configuration processing. Reference numeral 1005 represents a breakdown of power consumption when the determination flow of the reconfiguration control sequence according to the present embodiment is not applied. In addition to operating power in PR201, PR205, and PR206, power consumption associated with reconfiguration processing in PR202, PR203, and PR204 indicates that power consumption exceeding Th occurs, resulting in malfunction of the circuit. May cause. Reference numeral 1006 indicates a breakdown of power consumption when the reconfiguration control flow according to the present embodiment is applied. In S708, it is determined that the reconfiguration processing is performed in order, so that PR204 is reconfigured at time Tc, PR202 at Tc2, and PR203 at Tc3. As a result, the power consumption associated with the reconfiguration process indicated by 1005 is distributed, and the reconfiguration process can be performed with the power consumption below Th.

さらに、CPU111は、再構成処理部212の完了通知を受信した後、クロック制御部にPR205及びPR206の動作クロックの再開を指示する。この時点で、動的再構成部120は302に示す状態に移行しており、時間Tbにおいて、PR202、PR203、PR204は、像域分離を行う回路としてリーダ部105からの画像データに対して処理を行っている。   Furthermore, after receiving the completion notification from the reconfiguration processing unit 212, the CPU 111 instructs the clock control unit to resume the operation clocks of the PR 205 and PR 206. At this point, the dynamic reconfiguration unit 120 has shifted to the state indicated by 302, and at time Tb, the PR 202, PR 203, and PR 204 process image data from the reader unit 105 as a circuit that performs image area separation. It is carried out.

なお、本実施形態においては、電力を全てmWの直値として用いたが、共用可能な電力を100としたときの正規化した値として用いてもよいし、Hi、Mid、Loといった抽象的な値を用いて判定を行ってもよい。また、本実施形態では、動作する回路を全てPRにおいて、動的部分再構成される回路として説明したが、静的に構成される回路が含まれる動的再構成部120であってもよい。その場合、静的に構成される回路の機能、動作周波数に応じた電力情報を用いて、動作時電力を考慮して制御すればよい。また、本実施形態ではCPU111が、再構成制御部212の動作を制御したが、再構成制御部212が制御を行ってもよいし、動的再構成部120がCPUを備え、CPUが制御してもよい。   In this embodiment, all the power is used as a direct value of mW, but it may be used as a normalized value when the sharable power is 100, or an abstract such as Hi, Mid, or Lo. The determination may be made using the value. In the present embodiment, all the circuits that operate are described as dynamic partial reconfiguration in PR, but the dynamic reconfiguration unit 120 may include a statically configured circuit. In that case, control may be performed in consideration of operating power using power information corresponding to the function and operating frequency of the statically configured circuit. In this embodiment, the CPU 111 controls the operation of the reconfiguration control unit 212. However, the reconfiguration control unit 212 may perform control, or the dynamic reconfiguration unit 120 includes a CPU, which is controlled by the CPU. May be.

以上説明したように、本実施形態によれば、動作中の回路の電力情報と、動的部分再構成に伴う追加電力情報をもとに、動的部分再構成を行う場合の電力消費が所定の許容電力に収まるように、再構成方法及び動作中回路への制御方法を選択する。これにより、FPGAなどにより実装される動的再構成部120は、動作中回路が存在するときであっても、電圧変動を所定のレンジに収めることが可能となり、回路の誤動作を回避することができる。   As described above, according to the present embodiment, power consumption when performing dynamic partial reconfiguration is predetermined based on power information of an operating circuit and additional power information accompanying dynamic partial reconfiguration. The reconfiguration method and the control method for the operating circuit are selected so as to be within the allowable power. As a result, the dynamic reconfiguration unit 120 implemented by an FPGA or the like can keep the voltage fluctuation within a predetermined range even when there is a circuit in operation, and can avoid malfunction of the circuit. it can.

<別のユースケース>
図11を参照して、別のユースケースについて説明する。上記実施形態では、301から302で示した回路構成に移行するユースケースを用いて説明したが、別のユースケースの場合にであっても本発明を適用することができる。1101は、LRCT(低解像度画像補正)、FDTP(顔認識前処理)、FDT1(顔認識1)、FDT(顔認識2)が、それぞれPR203、PR201、PR202、PR205に構成されている。1102は、1101の回路構成に加え、PR204にアフィン変換とフィルタを行うAFCFの回路が構成されている場合を示す。この1101の回路構成から1102の回路構成への移行をユースケース2とする。
<Another use case>
Another use case will be described with reference to FIG. In the above-described embodiment, the use case for shifting to the circuit configuration indicated by reference numerals 301 to 302 has been described. However, the present invention can be applied to another use case. Reference numeral 1101 denotes LRCT (low-resolution image correction), FDTP (face recognition preprocessing), FDT1 (face recognition 1), and FDT (face recognition 2), which are configured as PR203, PR201, PR202, and PR205, respectively. Reference numeral 1102 denotes a case where an AFCF circuit that performs affine transformation and filtering is configured in the PR 204 in addition to the circuit configuration of 1101. The transition from the circuit configuration 1101 to the circuit configuration 1102 is referred to as use case 2.

ユースケース2の場合の図7のフローチャートにおける動作について説明する。S701乃至S703において、ユースケース1と同様に判定した結果、再構成可能でないため、S705に進む。S705において、CPU111は、動作中の回路と、再構成する回路の優先度を比較した結果、優先度が同等であると定義していたため、S708に進み、再構成処理の制御の決定を行う。図9を用いて説明した再構成処理の制御決定手順によると、AFCFは一つの領域からなる動的部分再構成処理であるため、CPU111が選択可能な制御は、再構成クロックの周波数を低下させることである。続いて、S709で、CPU111は、再度、再構成処理への制御を再構成シーケンスに加えた上で、使用時電力と追加電力が、動的再構成部120が許容可能な電力に収まっているか否かを判定することによって、再構成可能か否かをS703と同様に判定する。その結果、再構成可能であるため、再構成シーケンス決定手順を終了する。   The operation in the flowchart of FIG. 7 for use case 2 will be described. In S701 to S703, as a result of the determination similar to the use case 1, it is not possible to reconfigure, so the process proceeds to S705. In S <b> 705, the CPU 111 has determined that the priorities are the same as a result of comparing the priority of the circuit being operated and the circuit to be reconfigured. Therefore, the CPU 111 proceeds to S <b> 708 and determines control of the reconfiguration process. According to the control determination procedure of the reconfiguration process described with reference to FIG. 9, since the AFCF is a dynamic partial reconfiguration process including one area, the control that can be selected by the CPU 111 reduces the frequency of the reconfiguration clock. That is. Subsequently, in S709, the CPU 111 adds control to the reconfiguration process to the reconfiguration sequence again, and whether the power in use and the additional power are within the power allowable by the dynamic reconfiguration unit 120. By determining whether or not reconfiguration is possible, it is determined in the same manner as in S703. As a result, since reconfiguration is possible, the reconfiguration sequence determination procedure ends.

ユースケース1では、動作中回路への制御とともに、再構成処理制御についても消費電力を削減する制御を追加したが、ユースケース2においては、再構成処理に手順を追加することのみで、許容電力に収まるように制御することが可能であった。また、動作中の回路の状況や、再構成する回路の構成によっては、動作中の回路への追加制御を行うことによってのみ、許容電力に収まるように制御することができる場合もある。つまり、消費電力削減のために、動作中の回路への制御を追加するか、再構成処理に対して処理を追加するかに対し、優先度を設けることにより適切な制御を選択することが可能となり、優先度が高い処理を早く実行することができる。   In use case 1, control for reducing power consumption was added to the reconfiguration processing control as well as control to the operating circuit. However, in use case 2, only the procedure is added to the reconfiguration processing, and the allowable power It was possible to control so that it was settled in. Further, depending on the state of the circuit in operation and the configuration of the circuit to be reconfigured, it may be possible to control the power to be within the allowable power only by performing additional control on the circuit in operation. In other words, in order to reduce power consumption, it is possible to select an appropriate control by giving priority to whether to add control to the operating circuit or to add processing to the reconfiguration processing. Thus, processing with high priority can be executed quickly.

<第2の実施形態>
以下では、図12及び図13を用いて、本発明の第2の実施形態について説明する。上記第1の実施形態では、再構成を行う回路の優先度が、実行中の回路の優先度に対して高いか否かを判定することよって、動作中の回路に対して制御を行うか、再構成処理において制御を行うかを決定するようにした。しかしながら、必要以上に電力を抑える制御が追加されてしまう場合がある。例えば、上記第1の実施形態の場合、動作中回路への処理制御を優先して選択したが、動作中回路への制御だけでは許容電力を満たすことができず、再構成処理に対しても消費電力を抑制するための制御を追加することになった。
<Second Embodiment>
Hereinafter, a second embodiment of the present invention will be described with reference to FIGS. 12 and 13. In the first embodiment, whether to control the operating circuit by determining whether the priority of the circuit to be reconfigured is higher than the priority of the circuit being executed, Decided whether to control in the reconstruction process. However, there is a case where control for suppressing power more than necessary is added. For example, in the case of the first embodiment, the process control to the operating circuit is selected with priority. However, the control of the operating circuit alone cannot satisfy the allowable power, and the reconfiguration process is also performed. Control to reduce power consumption was added.

そこで、本実施形態では、上述した内容を考慮して、動作時電力と部分再構成に伴う電力が、許容電力に収まらない場合に行う制御の選択を、消費電力の抑制の効果の高いものから順に選択する制御を行う。なお、画像処理装置100の構成及び動的再構成部120の構成については、上記第1の実施形態と同様であるため、説明を省略する。   Therefore, in the present embodiment, in consideration of the above-described contents, the selection of the control performed when the operating power and the power accompanying the partial reconfiguration are not within the allowable power is selected from the one having a high effect of suppressing the power consumption. Control to select in order. Note that the configuration of the image processing apparatus 100 and the configuration of the dynamic reconfiguration unit 120 are the same as those in the first embodiment, and a description thereof will be omitted.

<処理フロー>
まず、図12を参照して、第2の実施形態について、S603における、301に示した回路構成から302に示した回路構成に移行するユースケース1のための再構成シーケンスを、コントローラ部101のCPU111が決定するフローについて説明する。なお、上記第1の実施形態で説明したS701乃至S703及び、S704については、上記第1の実施形態と同様であるため、説明を省略し、S1201についてのみ説明する。また、以下で説明する処理は、CPU111がROM109や記憶部106に格納された制御プログラムをRAM110に読み込んで実行することにより実現される。
<Processing flow>
First, referring to FIG. 12, in the second embodiment, the reconfiguration sequence for use case 1 for shifting from the circuit configuration shown in 301 to the circuit configuration shown in 302 in S603 is performed by the controller unit 101. A flow determined by the CPU 111 will be described. Since S701 to S703 and S704 described in the first embodiment are the same as those in the first embodiment, description thereof is omitted and only S1201 is described. The processing described below is realized by the CPU 111 reading a control program stored in the ROM 109 or the storage unit 106 into the RAM 110 and executing it.

S1201で、CPU111は、動作時電力管理テーブル401と、部分再構成時の電力管理テーブル501とを用いて選択可能な制御を抽出する。301の状態では、PR201、PR205、PR206が動作中であり、frequencyが複数用意されているPR205、PR206に対して、動作クロックの遮断、又は周波数を低下させる制御が選択可能である。さらに、PR202、PR203、PR204の再構成処理においては、再構成クロックの周波数を低下させるか、順に再構成を行う処理が選択可能である。動作時電力管理テーブル401において、frequency=0の意味は、動作クロックの遮断を行うことを意味し、frequency=0に対応する値がテーブルに存在しない場合は、リアルタイム処理等の理由により動作クロックの供給を遮断できない機能であることを示す。   In step S <b> 1201, the CPU 111 extracts selectable controls using the operating power management table 401 and the partial power reconfiguration power management table 501. In the state 301, the PR 201, PR 205, and PR 206 are operating, and the control of shutting down the operating clock or reducing the frequency can be selected for the PR 205 and PR 206 for which a plurality of frequencies are prepared. Furthermore, in the reconfiguration processing of PR202, PR203, and PR204, it is possible to select a processing that lowers the frequency of the reconfiguration clock or performs reconfiguration in order. In the operating power management table 401, the meaning of frequency = 0 means that the operation clock is cut off, and if the value corresponding to frequency = 0 does not exist in the table, the operating clock is changed for reasons such as real-time processing. Indicates that the function cannot be cut off.

次に、S1202で、CPU111は、S1201で抽出した選択可能な制御のうち、電力削減量の大きい制御を優先的に選択する。ここでは、再構成クロックの周波数を160MHzから80MHzに低下させることにより、電力削減効果が最も高い280mWの効果があるので、CPU111は、動作クロックの周波数を低下させる制御を再構成シーケンスに追加することを決定する。   Next, in S1202, the CPU 111 preferentially selects a control with a large power reduction amount from the selectable controls extracted in S1201. Here, there is an effect of 280 mW, which has the highest power reduction effect, by reducing the frequency of the reconfiguration clock from 160 MHz to 80 MHz. Therefore, the CPU 111 adds control for reducing the frequency of the operation clock to the reconfiguration sequence. To decide.

続いて、S1203で、CPU111は、S1202で動作中回路への制御を再構成シーケンスに加えた上で、使用時電力と追加電力が、動的再構成部120が許容可能な電力に収まっているか否かを判定することによって、再構成可能か否かをS703と同様に判定する。判定した結果、収まっていない場合、S1202へ進み、CPU111は、再度、追加する制御への選択を行う。許容電力に十分収まっている場合、再構成シーケンスの決定フローを完了する。   Subsequently, in step S1203, the CPU 111 adds control to the operating circuit in step S1202 to the reconfiguration sequence, and whether the in-use power and the additional power are within the power allowable by the dynamic reconfiguration unit 120. By determining whether or not reconfiguration is possible, it is determined in the same manner as in S703. As a result of the determination, if it does not fit, the process proceeds to S1202, and the CPU 111 selects again the control to be added. When it is sufficiently within the allowable power, the determination flow of the reconstruction sequence is completed.

<消費電力>
次に、図13を参照して、本実施形態に係る画像処理装置100における動的再構成部120への再構成制御フローを適用した場合の消費電力について説明する。1301、1302は、横軸に時間、縦軸に消費電力を表している。縦軸のThは電圧変動が所定のレンジに収まるための基準となる動的再構成部120が許容できる消費電力の閾値であり、実線で本実施形態を適用した電力消費を示しており、破線は本実施形態を適用しなかった場合の電力消費を示している。
<Power consumption>
Next, with reference to FIG. 13, the power consumption when the reconfiguration control flow to the dynamic reconfiguration unit 120 in the image processing apparatus 100 according to the present embodiment is applied will be described. Reference numerals 1301 and 1302 denote time on the horizontal axis and power consumption on the vertical axis. Th on the vertical axis is a threshold value of power consumption that can be allowed by the dynamic reconfiguration unit 120 serving as a reference for voltage fluctuations to fall within a predetermined range, and indicates the power consumption to which the present embodiment is applied by a solid line, and is a broken line. Indicates power consumption when this embodiment is not applied.

1301は、本実施形態に係る再構成制御シーケンス決定フローを適用しない場合の、消費電力の内訳を表している。PR201、PR205、PR206における動作時電力に加え、PR202、PR203、PR204への再構成処理に伴う消費電力のため、Thを超えた電力消費が発生することを示しており、この結果、回路の誤動作を起こす可能性がある。1302は、本実施形態に係る再構成制御フローを適用した場合の消費電力の内訳を示している。S708で、再構成クロックを低下させる処理を行う決定をしたことにより、1301で示した再構成処理に伴う消費電力が削減され、Thを下回る消費電力により再構成処理が可能となる。   Reference numeral 1301 represents a breakdown of power consumption when the reconfiguration control sequence determination flow according to the present embodiment is not applied. In addition to operating power in PR201, PR205, and PR206, power consumption associated with reconfiguration processing in PR202, PR203, and PR204 indicates that power consumption exceeding Th occurs, resulting in malfunction of the circuit. May cause. Reference numeral 1302 indicates a breakdown of power consumption when the reconfiguration control flow according to the present embodiment is applied. By determining in step S708 that the process for reducing the reconfiguration clock is performed, the power consumption associated with the reconfiguration process indicated by 1301 is reduced, and the reconfiguration process can be performed with the power consumption below Th.

以上説明したように、本実施形態によれば、動作時電力と部分再構成に伴う電力が、許容電力に収まらない場合に行う制御の選択を、消費電力の抑制の効果の高いものから順に選択する制御を行う。本実施形態の再構成シーケンスの決定を行うことにより、不要な電力削減制御を適用することなく、動的再構成処理を行うことが可能となる。   As described above, according to the present embodiment, the selection of the control performed when the operating power and the power associated with the partial reconfiguration do not fall within the allowable power is selected in descending order of the effect of suppressing the power consumption. Control. By determining the reconfiguration sequence of the present embodiment, it is possible to perform dynamic reconfiguration processing without applying unnecessary power reduction control.

<その他の実施形態>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
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, etc.) of the system or apparatus reads the program. It is a process to be executed.

100:画像処理装置、104:操作部、102:表示部、105:リーダ部、107:プリンタ部、120:動的再構成部   100: Image processing apparatus 104: Operation unit 102: Display unit 105: Reader unit 107: Printer unit 120: Dynamic reconfiguration unit

Claims (12)

複数の部分再構成部を含み、かつ、回路構成を動的かつ部分的に再構成可能な、再構成回路を有する画像処理装置であって、
前記再構成回路の一部の前記部分再構成部を再構成する際に、動作中の前記部分再構成部の消費電力の値と、再構成するため必要な追加電力の値との合計値を算出する算出手段と、
前記算出手段によって算出された合計値が許容電力の値に収まるか否かを判定する電力判定手段と、
前記電力判定手段によって前記合計値が許容電力の値に収まると判定されると、前記再構成回路の再構成を実行する再構成手段と
を備えることを特徴とする画像処理装置。
An image processing apparatus having a reconfiguration circuit, including a plurality of partial reconfiguration units, and capable of dynamically and partially reconfiguring a circuit configuration,
When reconfiguring the partial reconfiguration unit of a part of the reconfiguration circuit, the total value of the power consumption value of the partial reconfiguration unit in operation and the additional power value necessary for reconfiguration is calculated. A calculating means for calculating;
Power determining means for determining whether or not the total value calculated by the calculating means falls within the allowable power value;
An image processing apparatus comprising: a reconfiguration unit configured to reconfigure the reconfiguration circuit when the power determination unit determines that the total value falls within an allowable power value.
前記電力判定手段によって前記合計値が許容電力の値に収まらないと判定されると、前記合計値が前記許容電力の値に収まるように制御するシーケンスを決定する決定手段をさらに備えることを特徴とする請求項1に記載の画像処理装置。   When the power determination unit determines that the total value does not fall within the allowable power value, the power determination unit further includes a determination unit that determines a sequence for controlling the total value to fall within the allowable power value. The image processing apparatus according to claim 1. 前記決定手段は、
動作中の前記部分再構成部の消費電力を抑える制御と、再構成するための追加電力を抑える制御との少なくとも一方の制御を行うシーケンスを決定することを特徴とする請求項2に記載の画像処理装置。
The determining means includes
The image according to claim 2, wherein a sequence for performing at least one of control for suppressing power consumption of the partial reconfiguration unit during operation and control for suppressing additional power for reconfiguration is determined. Processing equipment.
前記決定手段は、
動作中の前記部分再構成部における機能と、前記部分再構成部に再構成される予定の機能との何れの機能を優先するかを判定する優先判定手段を備え、
前記優先判定手段によって前記部分再構成部に再構成される予定の機能の方が優先度が高いと判定されると、動作中の前記部分再構成部の消費電力を抑える制御を行うことを決定し、
前記優先判定手段によって動作中の前記部分再構成部おける機能の方が優先度が高いと判定されると、再構成するための追加電力を抑える制御を行うことを特徴とする請求項3に記載の画像処理装置。
The determining means includes
Priority determining means for determining which function of the function in the partial reconfiguration unit in operation and the function scheduled to be reconfigured in the partial reconfiguration unit is prioritized,
When the priority determination unit determines that the function scheduled to be reconfigured in the partial reconfiguration unit is higher in priority, it determines to perform control to reduce power consumption of the partial reconfiguration unit in operation. And
4. The control according to claim 3, wherein when the priority determination unit determines that the function of the partial reconfiguration unit in operation is higher in priority, control for suppressing additional power for reconfiguration is performed. 5. Image processing apparatus.
前記決定手段は、
動作中の前記部分再構成部の消費電力を抑える制御、又は、再構成するための追加電力を抑える制御の何れか一方の制御を行った場合の前記合計値を前記算出手段によって算出し、
算出した前記合計値が許容電力の値に収まらない場合は、他方の制御をさらに加えるようにシーケンスを決定することを特徴とする請求項4に記載の画像処理装置。
The determining means includes
The calculation means calculates the total value when performing either one of control for suppressing power consumption of the partial reconfiguration unit during operation or control for suppressing additional power for reconfiguration,
The image processing apparatus according to claim 4, wherein when the calculated total value does not fall within an allowable power value, the sequence is determined so as to further add the other control.
前記再構成するための追加電力を抑える制御とは、再構成する複数の前記部分再構成部を順に再構成させる制御か、又は、当該クロックの周波数を低下させる制御であることを特徴とする請求項3に記載の画像処理装置。   The control for suppressing the additional power for reconfiguration is control for sequentially reconfiguring the plurality of partial reconfiguration units to be reconfigured, or control for reducing the frequency of the clock. Item 4. The image processing apparatus according to Item 3. 前記消費電力を抑える制御とは、該当する前記部分再構成部へのクロックの周波数を低下させるか、又は、クロックの供給を遮断する制御であることを特徴とする請求項3に記載の画像処理装置。   The image processing according to claim 3, wherein the control for suppressing the power consumption is a control for reducing a frequency of a clock to the corresponding partial reconfiguration unit or blocking a supply of the clock. apparatus. 前記決定手段は、前記消費電力を抑える制御として、動作中の前記部分再構成部がリアルタイム処理を行っていれば当該クロックの周波数を低下させる制御を決定し、又は、動作中の前記部分再構成部がリアルタイム処理を行っていなければ当該クロックの供給を遮断する制御を決定することを特徴とする請求項7に記載の画像処理装置。   The determining means determines the control to lower the frequency of the clock if the partial reconfiguration unit in operation is performing real-time processing as the control for suppressing the power consumption, or the partial reconfiguration in operation The image processing apparatus according to claim 7, wherein if the unit is not performing real-time processing, control for cutting off the supply of the clock is determined. 前記決定手段は、動作中の前記部分再構成部の消費電力を抑える制御、又は、再構成するための追加電力を抑える制御のうち、電力削減量の高い制御から優先的に選択することを特徴とする請求項2乃至8の何れか1項に記載の画像処理装置。   The determining means preferentially selects from among controls that suppress power consumption of the partial reconfiguration unit in operation or controls that suppress additional power for reconfiguration from a control with a high power reduction amount. The image processing apparatus according to any one of claims 2 to 8. 前記算出手段は、前記部分再構成部に構成される機能ごとに、動作周波数及び消費電力を定義した、動作時のテーブルと、再構成時のテーブルとのそれぞれからの、前記消費電力の値及び前記追加電力の値を用いることを特徴とする請求項1乃至9の何れか1項に記載の画像処理装置。   The calculation means defines the operating frequency and power consumption for each function configured in the partial reconfiguration unit, the power consumption value from each of the operation table and the reconfiguration table, and The image processing apparatus according to claim 1, wherein the value of the additional power is used. 複数の部分再構成部を含み、かつ、回路構成を動的かつ部分的に再構成可能な、再構成回路を有する画像処理装置の制御方法であって、
算出手段が、前記再構成回路の一部の前記部分再構成部を再構成する際に、動作中の前記部分再構成部の消費電力の値と、再構成するため必要な追加電力の値との合計値を算出する算出工程と、
電力判定手段が、前記算出手段によって算出された合計値が許容電力の値に収まるか否かを判定する電力判定工程と、
再構成手段が、前記電力判定手段によって前記合計値が許容電力の値に収まると判定されると、前記再構成回路の再構成を実行する再構成工程と
を実行することを特徴とする画像処理装置の制御方法。
A method for controlling an image processing apparatus having a reconfiguration circuit, including a plurality of partial reconfiguration units and capable of dynamically and partially reconfiguring a circuit configuration,
When the calculating means reconfigures the partial reconfiguration unit of a part of the reconfiguration circuit, the power consumption value of the partial reconfiguration unit in operation and the value of additional power necessary for reconfiguration A calculation step of calculating the total value of
A power determination step for determining whether or not the total value calculated by the calculation means falls within a value of allowable power;
An image processing comprising: a reconfiguration unit that executes a reconfiguration step of reconfiguring the reconfiguration circuit when the power determination unit determines that the total value falls within an allowable power value. Control method of the device.
請求項11に記載の画像処理装置の制御方法における各工程をコンピュータに実行させるためのプログラム。   The program for making a computer perform each process in the control method of the image processing apparatus of Claim 11.
JP2014251072A 2014-12-11 2014-12-11 Image processing apparatus, control method and program thereof Pending JP2016115979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014251072A JP2016115979A (en) 2014-12-11 2014-12-11 Image processing apparatus, control method and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014251072A JP2016115979A (en) 2014-12-11 2014-12-11 Image processing apparatus, control method and program thereof

Publications (1)

Publication Number Publication Date
JP2016115979A true JP2016115979A (en) 2016-06-23

Family

ID=56142424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014251072A Pending JP2016115979A (en) 2014-12-11 2014-12-11 Image processing apparatus, control method and program thereof

Country Status (1)

Country Link
JP (1) JP2016115979A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018198501A1 (en) * 2017-04-26 2018-11-01 富士通株式会社 Information processing device, information processing method and program
JP2020098493A (en) * 2018-12-18 2020-06-25 富士ゼロックス株式会社 Image processing device
JP2020144243A (en) * 2019-03-07 2020-09-10 富士ゼロックス株式会社 Image processing device and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018198501A1 (en) * 2017-04-26 2018-11-01 富士通株式会社 Information processing device, information processing method and program
JP2018185691A (en) * 2017-04-26 2018-11-22 富士通株式会社 Apparatus, method, and program for processing information
JP2020098493A (en) * 2018-12-18 2020-06-25 富士ゼロックス株式会社 Image processing device
JP7243172B2 (en) 2018-12-18 2023-03-22 富士フイルムビジネスイノベーション株式会社 Image processing device
JP2020144243A (en) * 2019-03-07 2020-09-10 富士ゼロックス株式会社 Image processing device and program
JP7314533B2 (en) 2019-03-07 2023-07-26 富士フイルムビジネスイノベーション株式会社 Image processing device and program

Similar Documents

Publication Publication Date Title
US9407784B2 (en) Image processing apparatus, control method thereof, and storage medium
JP4090908B2 (en) Image processing apparatus and image forming apparatus
US10122883B2 (en) Image processing apparatus including circuit configuration and method of controlling the same
US20110109931A1 (en) Data processing apparatus and method for controlling the apparatus
US9432011B2 (en) Semiconductor integrated circuit, apparatus with semiconductor integrated circuit, and clock control method in semiconductor integrated circuit
JP2016115979A (en) Image processing apparatus, control method and program thereof
JP6351315B2 (en) Image processing apparatus, control method thereof, and program
US20150244898A1 (en) Image processing apparatus, method for controlling the same, and storage medium
JP4859103B2 (en) Image forming apparatus
JP2015149025A (en) Image processing device and control method therefor, and program
JP2015169945A (en) Image processor and control method thereof, and program
CN105812604A (en) Information processing apparatus and data processing method
JP5173707B2 (en) Information processing apparatus and control method thereof
JP2017129951A (en) Information processor, control method of information processor, and program
US8582153B2 (en) Image forming apparatus and method
JP2016068521A (en) Image forming apparatus, control method thereof, and program
JP6124836B2 (en) Electronic device and memory management method
JP4328689B2 (en) Image processing apparatus and image processing apparatus control method
JP6128104B2 (en) Image processing apparatus, control method thereof, and program
US10534641B2 (en) Electronic device that uses hardware corresponding to priority level of processor usage
JP6661585B2 (en) Information processing device
JP6168311B2 (en) Image forming apparatus, image forming system, and image forming method
JP6578824B2 (en) Image forming apparatus, task control method and task control program in the same
JP6481378B2 (en) Image forming apparatus, task control method and task control program in the same
JP2015191335A (en) Image processing apparatus, control method thereof, and program