JP2020112988A - Image processing device, image processing device malfunction detecting method and program - Google Patents

Image processing device, image processing device malfunction detecting method and program Download PDF

Info

Publication number
JP2020112988A
JP2020112988A JP2019002697A JP2019002697A JP2020112988A JP 2020112988 A JP2020112988 A JP 2020112988A JP 2019002697 A JP2019002697 A JP 2019002697A JP 2019002697 A JP2019002697 A JP 2019002697A JP 2020112988 A JP2020112988 A JP 2020112988A
Authority
JP
Japan
Prior art keywords
image processing
processing
unit
image
dual
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.)
Granted
Application number
JP2019002697A
Other languages
Japanese (ja)
Other versions
JP7251149B2 (en
Inventor
康宏 岡田
Yasuhiro Okada
康宏 岡田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2019002697A priority Critical patent/JP7251149B2/en
Publication of JP2020112988A publication Critical patent/JP2020112988A/en
Application granted granted Critical
Publication of JP7251149B2 publication Critical patent/JP7251149B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To detect a malfunction of an image processing device including multiple processing units during an operation.SOLUTION: An image processing device according to an aspect of the disclosed technique is an image processing device that executes image processing, and includes: an image processing unit that includes multiple processing units which execute the image processing; a dual-lock-step unit that includes a smaller number of dual-lock-step processing units than the multiple processing units, the dual-lock-step processing units executing the image processing same as that of the multiple processing units in parallel; a malfunction detecting unit that detects a malfunction of the image processing device on the basis of the processing result by a predetermined processing unit among the multiple processing units, and of the processing result by the dual-lock-step processing unit; and a changing unit that changes the predetermined processing unit for each predetermined time period.SELECTED DRAWING: Figure 3

Description

本願は、画像処理装置、画像処理装置の故障検知方法、及びプログラムに関する。 The present application relates to an image processing device, a failure detection method for an image processing device, and a program.

従来、車載分野等で使用される画像処理装置では、機能の安全性を確保するために、故障を検知する機能が求められる。 2. Description of the Related Art Conventionally, an image processing apparatus used in an in-vehicle field or the like requires a function of detecting a failure in order to ensure functional safety.

故障検知機能を有する画像処理装置として、メモリに保持させた期待値画像と処理後の画像が一致するか否かを判定し、画像処理装置の故障を検知するものが開示されている(例えば、特許文献1参照)。 As an image processing device having a failure detection function, there is disclosed an image processing device that determines whether or not an expected value image held in a memory and an image after processing match and detects a failure of the image processing device (for example, See Patent Document 1).

また、監視対象となるコアが複数あり、コアの数より少ない数のロックステップコアによりエラーを検知し、各コアそれぞれの故障を監視するものが開示されている(例えば、特許文献2参照)。 Further, there is disclosed one in which there are a plurality of cores to be monitored, and an error is detected by a number of lockstep cores smaller than the number of cores, and a failure of each core is monitored (for example, refer to Patent Document 2).

しかしながら、特許文献1の装置では、予め定められた画像パターンの期待値画像としか比較できないため、撮像素子から画像パターンがランダムに変化して画像が入力される画像処理装置では、画像処理装置の動作中に故障を検知することが困難な場合があった。 However, since the apparatus of Patent Document 1 can only compare with the expected value image of the predetermined image pattern, the image processing apparatus in which the image pattern is randomly changed from the image sensor and the image is input is different from the image processing apparatus. It was sometimes difficult to detect a failure during operation.

また、特許文献2の装置では、1つのロックステップコアしか動作させることができないため、画像処理装置に含まれる複数のコア(処理部)の故障を動作中に検知することが困難な場合があった。 Further, since the device of Patent Document 2 can operate only one lockstep core, it may be difficult to detect a failure of a plurality of cores (processing units) included in the image processing device during operation. It was

本発明は、上記の点に鑑みてなされたものであって、複数の処理部を備える画像処理装置の故障を動作中に検知することを課題とする。 The present invention has been made in view of the above points, and an object thereof is to detect a failure of an image processing apparatus including a plurality of processing units during operation.

開示の技術の一態様に係る画像処理装置は、画像処理を実行する画像処理装置であって、前記画像処理を実行する複数の処理部を備える画像処理部と、前記複数の処理部と同一の前記画像処理を並列に実行する、前記複数の処理部より少ない数のデュアルロックステップ処理部を備えるデュアルロックステップ部と、前記複数の処理部のうちの所定の処理部による処理結果と、前記デュアルロックステップ処理部による処理結果と、に基づき前記画像処理装置の故障を検知する故障検知部と、所定の期間毎に、前記所定の処理部を切り替える切替部と、を有する。 An image processing apparatus according to an aspect of the disclosed technology is an image processing apparatus that executes image processing, and is the same as the image processing section that includes a plurality of processing sections that execute the image processing. A dual lockstep unit that executes the image processing in parallel and includes a smaller number of dual lockstep processing units than the plurality of processing units; a processing result by a predetermined processing unit of the plurality of processing units; A failure detection unit that detects a failure of the image processing device based on the processing result by the lockstep processing unit, and a switching unit that switches the predetermined processing unit for each predetermined period.

本発明の一実施形態によれば、複数の処理部を備える画像処理装置の故障を動作中に検知することができる。 According to the embodiment of the present invention, it is possible to detect a failure of an image processing apparatus including a plurality of processing units during operation.

デュアルロックステップ方式を説明する図であり、(a)は画像処理回路に対する画像の入出力を説明する図、(b)は画像処理回路及びデュアルロックステップ回路に対する画像の入出力を説明する図である。4A and 4B are diagrams illustrating a dual lockstep system, FIG. 7A is a diagram illustrating image input/output to and from an image processing circuit, and FIG. 7B is a diagram illustrating image input/output to and from an image processing circuit and a dual lockstep circuit. is there. 実施形態に係る制御システムのハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of the hardware constitutions of the control system which concerns on embodiment. 第1の実施形態に係る画像処理装置の機能構成の一例を示すブロック図である。It is a block diagram showing an example of functional composition of an image processing device concerning a 1st embodiment. 第1の実施形態に係る画像処理装置の動作の一例を説明する図であり、(a)は演算回路21の処理結果をデュアルロックステップ回路の処理結果と比較する場合を示す図、(b)は演算回路21の処理結果をデュアルロックステップ回路の処理結果と比較する場合を示す図である。Is a diagram illustrating an example of an operation of the image processing apparatus according to the first embodiment, (a) is a diagram showing a case to be compared with the processing result of the dual lockstep circuit processing result of the arithmetic circuit 21 1, (b ) is a diagram showing a case to be compared with the processing result of the dual lockstep circuit processing result of the arithmetic circuit 21 2. 第1の実施形態に係る画像処理装置におけるフレーム期間を説明する図である。It is a figure explaining the frame period in the image processing apparatus which concerns on 1st Embodiment. 第1の実施形態に係る画像処理装置の動作の一例を示すフローチャートである。6 is a flowchart illustrating an example of operation of the image processing apparatus according to the first exemplary embodiment. 比較例に係る画像処理装置の動作を説明する図である。It is a figure explaining operation of an image processing device concerning a comparative example. 第2の実施形態に係る画像処理装置の機能構成の一例を示すブロック図である。It is a block diagram which shows an example of a functional structure of the image processing apparatus which concerns on 2nd Embodiment. 第2の実施形態に係る画像処理装置の動作の一例を示すフローチャートである。9 is a flowchart illustrating an example of operation of the image processing apparatus according to the second exemplary embodiment.

以下、図面を参照して発明を実施するための形態について説明する。各図面において、同一の構成部分には同一符号を付し、重複した説明を省略する場合がある。 Hereinafter, embodiments for carrying out the invention will be described with reference to the drawings. In each drawing, the same reference numerals are given to the same components, and duplicate description may be omitted.

実施形態に係る画像処理装置は、撮像素子等から入力された画像に対して画像処理部により各種の画像処理を実行する装置であり、また、画像処理部及びデュアルロックステップ部による処理結果を比較することで、画像処理装置の故障を検知する機能を有する装置である。 The image processing apparatus according to the embodiment is an apparatus that performs various image processing by an image processing unit on an image input from an image sensor or the like, and compares processing results by the image processing unit and the dual lockstep unit. By doing so, the apparatus has a function of detecting a failure of the image processing apparatus.

<デュアルロックステップ方式の機能>
画像処理装置等の故障を検知する方式として、デュアルロックステップ方式が知られている。デュアルロックステップとは、CPU(Central Processing Unit)等のプロセッサの動作を監視する安全機構の1つである。デュアルロックステップでは、複数のプロセッサのクロックを同期させながら、各プロセッサで同じ処理が実行される。そして、各プロセッサの処理結果が比較回路で比較され、故障が検知される。
<Dual Lockstep function>
A dual lockstep method is known as a method for detecting a failure of an image processing apparatus or the like. Dual lockstep is one of safety mechanisms that monitor the operation of a processor such as a CPU (Central Processing Unit). In dual lockstep, the same processing is executed by each processor while synchronizing the clocks of the plurality of processors. Then, the processing result of each processor is compared by the comparison circuit, and the failure is detected.

図1は、このようなデュアルロックステップ方式を説明する図である。(a)は画像処理回路に対する画像の入出力を説明する図であり、(b)は画像処理回路及びデュアルロックステップ回路に対する画像の入出力を説明する図である。 FIG. 1 is a diagram for explaining such a dual lockstep system. (A) is a figure explaining the input/output of the image with respect to an image processing circuit, (b) is a figure explaining the input/output of the image with respect to an image processing circuit and a dual lockstep circuit.

図1(a)に示すように、画像処理回路1に入力された画像は、画像処理回路1で所定の画像処理を実行され、出力される。一方、図1(b)において、画像処理回路1及びデュアルロックステップ回路2には同じ画像が入力される。 As shown in FIG. 1A, the image input to the image processing circuit 1 is subjected to predetermined image processing by the image processing circuit 1 and output. On the other hand, in FIG. 1B, the same image is input to the image processing circuit 1 and the dual lockstep circuit 2.

画像処理回路1及びデュアルロックステップ回路2は、クロックを同期させながら同じ画像処理を実行し、それぞれの処理結果を比較回路3に出力する。比較回路3は、画像処理回路1及びデュアルロックステップ回路2の処理結果を比較し、両者が一致するか否かにより、故障の有無を検知することができる。また、動作中の画像処理回路1の故障を検知することができる。 The image processing circuit 1 and the dual lockstep circuit 2 execute the same image processing while synchronizing the clocks, and output the respective processing results to the comparison circuit 3. The comparison circuit 3 compares the processing results of the image processing circuit 1 and the dual lockstep circuit 2 and can detect the presence/absence of a failure depending on whether or not they match. Further, it is possible to detect a failure of the image processing circuit 1 in operation.

このように、デュアルロックステップ回路2を用いることで、画像処理回路1の故障を検知し、画像処理回路1による画像処理の信頼性を確保することができる。 In this way, by using the dual lockstep circuit 2, it is possible to detect a failure of the image processing circuit 1 and ensure the reliability of image processing by the image processing circuit 1.

<制御システムの構成>
次に、実施形態に係る画像処理装置を有する制御システムの構成について説明する。制御システムは、自動車等の車両に搭載され、画像処理装置による処理結果に応じてブレーキ制御等の車両制御を行うシステムである。
<Control system configuration>
Next, the configuration of the control system including the image processing apparatus according to the embodiment will be described. The control system is a system that is mounted on a vehicle such as an automobile and performs vehicle control such as brake control according to the processing result by the image processing device.

図2は、制御システムのハードウェア構成の一例を示すブロック図である。図2に示すように、制御システム100は、撮像素子10と、画像処理装置20と、CPU30と、メモリ40とを有する。 FIG. 2 is a block diagram showing an example of the hardware configuration of the control system. As shown in FIG. 2, the control system 100 includes an image sensor 10, an image processing device 20, a CPU 30, and a memory 40.

撮像素子10は、画像を撮像するCCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor Device)等のイメージセンサであり、撮像した画像を画像処理装置20に出力する。 The image sensor 10 is an image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor Device) that captures an image, and outputs the captured image to the image processing device 20.

画像処理装置20は、画像処理を実行可能なASIC(Application Specific Integrated Circuit)やFPGA(Field-Programmable Gate Array)等の集積回路で構成されている。画像処理装置20は、演算回路群21と、デュアルロックステップ回路群22とを有する。 The image processing device 20 is configured by an integrated circuit such as an ASIC (Application Specific Integrated Circuit) and an FPGA (Field-Programmable Gate Array) capable of executing image processing. The image processing device 20 includes an arithmetic circuit group 21 and a dual lockstep circuit group 22.

演算回路群21は、撮像素子10から入力される画像に対して、CPU30が車両を制御するために必要な画像処理機能を実現させる複数の電気回路で構成されている。演算回路群21に含まれる各演算回路は同一の回路であり、同一の処理を各演算回路が並列に実行することで、処理速度等の仕様を満足させることができる。 The arithmetic circuit group 21 is composed of a plurality of electric circuits that realize an image processing function necessary for the CPU 30 to control the vehicle with respect to the image input from the image pickup device 10. The arithmetic circuits included in the arithmetic circuit group 21 are the same circuit, and the respective arithmetic circuits execute the same processing in parallel, so that the specifications such as the processing speed can be satisfied.

デュアルロックステップ回路群22は、複数の電気回路で構成され、デュアルロックステップ回路群22に含まれる各デュアルロックステップ回路は、それぞれ演算回路群21に含まれる各演算回路と同一の処理を並列に実行可能である。 The dual lockstep circuit group 22 is composed of a plurality of electric circuits, and each dual lockstep circuit included in the dual lockstep circuit group 22 performs the same processing in parallel as each arithmetic circuit included in the arithmetic circuit group 21. It is feasible.

デュアルロックステップ回路群22による処理結果は、演算回路群21に含まれる各演算回路による処理結果と比較され、演算回路群21の信頼性確保や故障検知のために使用される。ここで、本実施形態では、デュアルロックステップ回路群22に含まれるデュアルロックステップ回路の数は、演算回路群21に含まれる演算回路の数より少ない数としている。この詳細については、後述する。 The processing result by the dual lockstep circuit group 22 is compared with the processing result by each arithmetic circuit included in the arithmetic circuit group 21, and is used for ensuring reliability of the arithmetic circuit group 21 and detecting a failure. Here, in the present embodiment, the number of dual lockstep circuits included in the dual lockstep circuit group 22 is smaller than the number of arithmetic circuits included in the arithmetic circuit group 21. The details will be described later.

演算回路群21による処理後の画像は、CPU30及び外部装置に出力される。 The image processed by the arithmetic circuit group 21 is output to the CPU 30 and an external device.

外部装置として、後工程の画像処理装置やCPU、表示装置等が挙げられる。外部装置は、画像処理装置20から入力した処理結果に応じて後工程の画像処理や制御処理等を実行したり、処理後の画像を表示したりすることができる。 Examples of the external device include a post-process image processing device, a CPU, and a display device. The external device can execute post-process image processing, control processing, and the like according to the processing result input from the image processing apparatus 20, and can display the processed image.

CPU30は、制御システム100全体の動作を制御する演算装置である。CPU30は、画像処理装置20から入力した画像に含まれる情報に基づき、車両の制御を行う。また、CPU30は、処理後の画像をメモリ40に保持させる等のデータや信号の入出力を統括的に制御することができる。 The CPU 30 is an arithmetic device that controls the overall operation of the control system 100. The CPU 30 controls the vehicle based on the information included in the image input from the image processing device 20. Further, the CPU 30 can centrally control the input/output of data and signals such as holding the processed image in the memory 40.

メモリ40は、画像データ等のデータを保持する半導体メモリ等の記憶装置である。なお、図1に示す制御システム100の構成は、一例であって他の構成であっても良い。 The memory 40 is a storage device such as a semiconductor memory that holds data such as image data. It should be noted that the configuration of the control system 100 shown in FIG. 1 is an example and may have another configuration.

制御システム100による車両のブレーキ制御等には、非常に高い信頼性が要求され、制御システム100による制御の元となる画像処理装置20による処理にも、同様に非常に高い信頼性が求められる。そこで、画像処理装置20は、デュアルロックステップ方式による故障検知機能を備えている。 Very high reliability is required for vehicle brake control and the like by the control system 100, and processing by the image processing device 20 that is the basis of control by the control system 100 is also required to have very high reliability. Therefore, the image processing apparatus 20 has a failure detection function based on the dual lockstep method.

[第1の実施形態]
<第1の実施形態に係る画像処理装置の機能構成>
第1の実施形態に係る画像処理装置の機能構成について、図3を参照して説明する。図3は、本実施形態に係る画像処理装置の機能構成の一例を説明するブロック図である。なお、図3に示されている各機能ブロックの全部又は一部は、任意の単位で機能的又は物理的に分散・結合して構成されても良い。
[First Embodiment]
<Functional configuration of the image processing apparatus according to the first embodiment>
The functional configuration of the image processing apparatus according to the first embodiment will be described with reference to FIG. FIG. 3 is a block diagram illustrating an example of the functional configuration of the image processing apparatus according to this embodiment. All or some of the functional blocks shown in FIG. 3 may be functionally or physically dispersed/coupled in arbitrary units.

図3に示すように、画像処理装置20は、画像入力部23と、画像処理部24と、デュアルロックステップ部25と、故障検知部26と、切替部27と、処理結果出力部28とを有する。撮像素子10により撮像された画像は、画像入力部23を介して画像処理部24及びデュアルロックステップ部25に入力される。 As shown in FIG. 3, the image processing device 20 includes an image input unit 23, an image processing unit 24, a dual lockstep unit 25, a failure detection unit 26, a switching unit 27, and a processing result output unit 28. Have. The image captured by the image sensor 10 is input to the image processing unit 24 and the dual lockstep unit 25 via the image input unit 23.

画像処理部24は演算回路群21等により構成され、複数の処理部を有する。画像処理部24に含まれる複数の処理部は、撮像素子10から入力される画像に対して、CPU30が車両を制御するために必要な同一の画像処理を、それぞれ並列に実行する。そして、処理結果を処理結果出力部28に出力する。 The image processing unit 24 is composed of the arithmetic circuit group 21 and the like, and has a plurality of processing units. The plurality of processing units included in the image processing unit 24 execute the same image processing necessary for the CPU 30 to control the vehicle in parallel on the image input from the image sensor 10. Then, the processing result is output to the processing result output unit 28.

また、画像処理部24に含まれる複数の処理部のうち、故障検知の対象となる処理部による処理結果は、故障検知部26に出力される。ここで、故障検知の対象となる処理部は「所定の処理部」の一例である。 Further, of the plurality of processing units included in the image processing unit 24, the processing result by the processing unit that is the target of the failure detection is output to the failure detection unit 26. Here, the processing unit targeted for failure detection is an example of a “predetermined processing unit”.

デュアルロックステップ部25は、デュアルロックステップ回路群22等により構成され、複数のデュアルロックステップ処理部を有する。複数のデュアルロックステップ処理部は、画像処理部24に含まれる複数の処理部と同一の処理をそれぞれ並列に実行して、処理結果を故障検知部26に出力する。 The dual lockstep section 25 is composed of the dual lockstep circuit group 22 and the like, and has a plurality of dual lockstep processing sections. The plurality of dual lockstep processing units respectively execute the same processing as the plurality of processing units included in the image processing unit 24 in parallel, and output the processing result to the failure detection unit 26.

故障検知部26は、画像処理部24から入力した処理結果と、デュアルロックステップ部25から入力した処理結果とを比較し、同一か否かを判定する電気回路で構成される。より詳しくは、故障検知部26が画像処理部24から入力した処理結果は、画像処理部24に含まれる複数の処理部のうち、故障検知の対象となる処理部による処理結果である。また、故障検知部26がデュアルロックステップ部25から入力した処理結果は、デュアルロックステップ部25に含まれる複数のデュアルロックステップ処理部が、画像処理部24のうちの故障検知の対象となる処理部と同一の処理を実行した結果である。 The failure detection unit 26 is configured by an electric circuit that compares the processing result input from the image processing unit 24 with the processing result input from the dual lockstep unit 25 and determines whether or not they are the same. More specifically, the processing result input by the failure detection unit 26 from the image processing unit 24 is a processing result by a processing unit that is a failure detection target among a plurality of processing units included in the image processing unit 24. Further, the processing result input from the dual lockstep unit 25 by the failure detection unit 26 is a process in which a plurality of dual lockstep processing units included in the dual lockstep unit 25 are targets of failure detection in the image processing unit 24. This is the result of executing the same process as the copy.

故障検知部26は、画像処理部24から入力した処理結果と、デュアルロックステップ部25から入力した処理結果が同一の場合は、故障検知の対象とする処理部に故障がないことを示す信号を処理結果出力部28に出力する。また、同一でない場合は、故障検知の対象とする処理部で故障が発生したことを示す信号を、処理結果出力部28に出力する。つまり、故障検知部26は、画像処理部24による処理結果と、デュアルロックステップ部25による処理結果とを比較することで、画像処理部24の故障を検知し、故障の検知結果を示す故障検知信号を出力することができる。 When the processing result input from the image processing unit 24 and the processing result input from the dual lockstep unit 25 are the same, the failure detection unit 26 outputs a signal indicating that there is no failure in the processing unit targeted for failure detection. It is output to the processing result output unit 28. If they are not the same, a signal indicating that a failure has occurred in the processing unit targeted for failure detection is output to the processing result output unit 28. That is, the failure detection unit 26 detects the failure of the image processing unit 24 by comparing the processing result of the image processing unit 24 and the processing result of the dual lockstep unit 25, and detects the failure detection result. A signal can be output.

上述したように、デュアルロックステップ回路(デュアルロックステップ処理部の一例)の数は、演算回路(処理部の一例)の数より少ないため、デュアルロックステップ回路と処理結果を比較できない演算回路が生じるが、このような演算回路による処理結果は、故障検知部26で比較処理が行われることなく、そのまま処理結果出力部28に出力される。 As described above, the number of dual lockstep circuits (an example of a dual lockstep processing unit) is smaller than the number of arithmetic circuits (an example of a processing unit), so that an arithmetic circuit in which the processing result cannot be compared with the dual lockstep circuit occurs. However, the processing result by such an arithmetic circuit is directly output to the processing result output unit 28 without being compared by the failure detection unit 26.

切替部27は、スイッチング回路等の電気回路で構成され、また、フレーム期間検知部271を備えている。フレーム期間検知部271は、画像処理装置20のクロックをカウントして計測した時間が、入力される画像のフレーム期間(フレーム周期)と一致した場合に、フレーム期間に該当する時間が経過したことを検知する。 The switching unit 27 is configured by an electric circuit such as a switching circuit, and includes a frame period detection unit 271. The frame period detection unit 271 determines that the time corresponding to the frame period has elapsed when the time measured by counting the clock of the image processing device 20 matches the frame period (frame cycle) of the input image. Detect.

ここで、フレーム期間は、画像処理装置20に入力される画像において、1フレーム分の画素データが入力される期間をいい、撮像素子10、又は画像処理装置20の仕様に応じて決定されている。またフレーム期間検知部271は、「期間検知部」の一例である。 Here, the frame period refers to a period in which pixel data for one frame is input in an image input to the image processing device 20, and is determined according to the specifications of the image sensor 10 or the image processing device 20. .. The frame period detection unit 271 is an example of a “period detection unit”.

切替部27は、検知されたフレーム期間毎に故障検知部26にアクセスし、画像処理部24に含まれる複数の処理部のうち、故障検知の対象となる処理部を切り替えることができる。換言すると、切替部27は、画像処理部24に含まれる複数の処理部のうち、デュアルロックステップ部25と処理結果を比較する処理部を切り替えることができる。 The switching unit 27 can access the failure detection unit 26 for each detected frame period and switch the processing unit to be the failure detection target among the plurality of processing units included in the image processing unit 24. In other words, the switching unit 27 can switch the processing unit that compares the processing result with the dual lockstep unit 25 among the plurality of processing units included in the image processing unit 24.

画像処理部24による処理結果(出力画像)及び故障検知信号は、処理結果出力部28を介して、CPU30及び外部装置に出力される。 The processing result (output image) by the image processing unit 24 and the failure detection signal are output to the CPU 30 and an external device via the processing result output unit 28.

次に、図4は、第1の実施形態に係る画像処理装置の動作の一例を説明する図であり、(a)は演算回路21の処理結果をデュアルロックステップ回路の処理結果と比較する場合を示す図であり、(b)は演算回路21の処理結果をデュアルロックステップ回路の処理結果と比較する場合を示す図である。 Next, FIG. 4 is a diagram illustrating an example of operation of the image processing apparatus according to the first embodiment, (a) is compared with the processing result of the dual lockstep circuit processing result of the arithmetic circuit 21 1 it is a diagram showing a case is a diagram showing a case to be compared with (b) the processing result of the dual lockstep circuit processing result of the arithmetic circuit 21 2.

図4に示すように、画像処理装置20は、同一の並列電気回路である演算回路21、21、・・・、21n−1、21により構成された演算回路群21と、演算回路群21に含まれる演算回路と同一の電気回路であるデュアルロックステップ回路22とを有している。演算回路21、21、・・・、21n−1、21、及びデュアルロックステップ回路22にはそれぞれ画素データが入力され、それぞれ同一の画像処理が並列に実行されて、処理後の画像等の処理結果が画像処理装置20から出力される。例えば、演算回路群21が3×3画素のフィルタ演算を行う場合、演算回路群21は、演算回路21、21、・・・、21、21の9つの演算回路により構成される。そして、3×3画素(9画素)分の画素データが演算回路21、21、・・・、21、21のそれぞれに入力され、画像処理が並列に実行される。 As shown in FIG. 4, the image processing apparatus 20 includes an arithmetic circuit group 21 including arithmetic circuits 21 1 , 21 2 ,..., 21 n−1 , 21 n , which are the same parallel electric circuit, and an arithmetic circuit. and a dual lockstep circuit 22 1 is the same electric circuit and arithmetic circuit included in the circuit group 21. Pixel data is input to each of the arithmetic circuits 21 1 , 21 2 ,..., 21 n−1 , 21 n , and the dual lockstep circuit 22 1 , and the same image processing is executed in parallel, and after processing, The processing result of the image and the like is output from the image processing apparatus 20. For example, when the arithmetic circuit group 21 performs a filter calculation of 3×3 pixels, the arithmetic circuit group 21 is composed of nine arithmetic circuits 21 1 , 21 2 ,..., 21 8 and 21 9. .. Then, 3 × 3 pixels (nine pixels) of pixel data calculating circuit 21 1, 21 2, ..., are input to each of the 21 8, 21 9, the image processing is executed in parallel.

図4(a)では、演算回路21の処理結果とデュアルロックステップ回路22による処理結果とが一致するか否かの判定が行われている。一方、図4(b)では、デュアルロックステップ回路22の比較対象となる演算回路が演算回路21に切り替えられ、演算回路21の処理結果とデュアルロックステップ回路22による処理結果が一致するか否かの判定が行われている。デュアルロックステップ回路22の比較対象となる演算回路の切り替えは、フレーム期間毎に行われる。 In FIG. 4A, it is determined whether the processing result of the arithmetic circuit 21 1 and the processing result of the dual lockstep circuit 22 1 match. On the other hand, in FIG. 4 (b), the calculation circuit to be compared to a dual lockstep circuit 22 1 is switched to the arithmetic circuit 21 2, arithmetic circuit 21 and second processing result and dual lockstep circuit 22 1 by the processing result matches It is determined whether or not to do it. Switching of the arithmetic circuits to be compared by the dual lockstep circuit 22 1 is performed for each frame period.

フレーム期間毎に比較対象とする演算回路を切り替えるため、1つのフレーム期間内に演算回路21、21、・・・、21n−1、21の全ての故障検知を行うことはできないが、例えば、図4に示すように、演算回路がn個で、デュアルロックステップ回路が1個の場合は、nフレームの期間毎に、全ての演算回路の故障検知を行うことができる。全ての演算回路の故障検知を行うための要求期間に応じて、デュアルロックステップ回路の数を決定することが好適である。 Since the arithmetic circuits to be compared are switched for each frame period, it is not possible to detect all failures of the arithmetic circuits 21 1 , 21 2 ,..., 21 n−1 , 21 n within one frame period. For example, as shown in FIG. 4, when the number of arithmetic circuits is n and the number of dual lockstep circuits is one, it is possible to detect the failure of all arithmetic circuits every n frames. It is preferable to determine the number of dual lockstep circuits according to the required period for detecting the failure of all the arithmetic circuits.

次に、図5は、本実施形態に係る画像処理装置におけるフレーム期間を説明する図である。図5において、横軸は時間を示している。1つの画像のフレーム期間T内には、無効期間(ブランキング期間)と有効画像期間とが含まれる。 Next, FIG. 5 is a diagram illustrating a frame period in the image processing apparatus according to the present embodiment. In FIG. 5, the horizontal axis represents time. The invalid period (blanking period) and the valid image period are included in the frame period T of one image.

本実施形態では、フレーム期間Tがフレーム期間検知部271により検知され、フレーム期間T毎で1回、切替部27によって、デュアルロックステップ回路の比較対象となる演算回路が切り替えられる。 In the present embodiment, the frame period T is detected by the frame period detection unit 271 and the switching unit 27 switches the arithmetic circuit to be compared with the dual lockstep circuit once every frame period T.

図6は、本実施形態に係る画像処理装置の動作の一例を示すフローチャートである。 FIG. 6 is a flowchart showing an example of the operation of the image processing apparatus according to this embodiment.

先ず、ステップS61において、画像入力部23は、撮像素子10から入力した画像を、画像処理部24及びデュアルロックステップ部25に出力する。 First, in step S61, the image input unit 23 outputs the image input from the image sensor 10 to the image processing unit 24 and the dual lockstep unit 25.

続いて、ステップS62において、画像処理部24は、所定の画像処理を実行し、処理結果を処理結果出力部28に出力する。また、画像処理部24は、画像処理部24に含まれる複数の処理部(演算回路群21)のうち、故障検知の対象となる処理部による処理結果を故障検知部26に出力する。 Subsequently, in step S62, the image processing unit 24 executes predetermined image processing and outputs the processing result to the processing result output unit 28. Further, the image processing unit 24 outputs, to the failure detection unit 26, a processing result of a processing unit that is a target of failure detection among the plurality of processing units (arithmetic circuit group 21) included in the image processing unit 24.

また、画像処理部24による画像処理と並行して、デュアルロックステップ部25は、画像処理部24と同一の画像処理を実行し、処理結果を故障検知部26に出力する。 Further, in parallel with the image processing by the image processing unit 24, the dual lockstep unit 25 executes the same image processing as the image processing unit 24, and outputs the processing result to the failure detection unit 26.

続いて、ステップS63において、故障検知部26は、画像処理部24から入力した処理結果と、デュアルロックステップ部25から入力した処理結果とを比較し、画像処理部24に含まれる複数の処理部のうち、故障検知の対象となる処理部の故障を検知する。そして、故障検知結果を示す信号を処理結果出力部28に出力する。 Subsequently, in step S63, the failure detection unit 26 compares the processing result input from the image processing unit 24 with the processing result input from the dual lockstep unit 25, and a plurality of processing units included in the image processing unit 24. Among them, the failure of the processing unit that is the target of the failure detection is detected. Then, a signal indicating the failure detection result is output to the processing result output unit 28.

続いて、ステップS64において、処理結果出力部28は、入力した画像処理後の画像、及び故障検知結果をCPU30及び外部装置に出力する。 Subsequently, in step S64, the processing result output unit 28 outputs the input image-processed image and the failure detection result to the CPU 30 and the external device.

続いて、ステップS65において、フレーム期間検知部271は、フレーム期間が経過したか否かを判定する。ステップS65でフレーム期間が経過していないと判定された場合は(ステップS65、No)、ステップS65の処理が繰り返される。一方、ステップS65でフレーム期間が経過したと判定された場合は(ステップS65、Yes)、ステップS66に移行される。 Subsequently, in step S65, the frame period detection unit 271 determines whether or not the frame period has elapsed. When it is determined in step S65 that the frame period has not elapsed (step S65, No), the process of step S65 is repeated. On the other hand, when it is determined in step S65 that the frame period has elapsed (step S65, Yes), the process proceeds to step S66.

続いて、ステップS66において、切替部27は、故障検知部26にアクセスし、画像処理部24に含まれる複数の処理部のうち、故障検知の対象となる処理部を切り替える。 Subsequently, in step S66, the switching unit 27 accesses the failure detection unit 26 and switches the processing unit that is the target of the failure detection among the plurality of processing units included in the image processing unit 24.

続いて、ステップS67において、画像処理装置20は、処理を終了するか否かを判定する。或いは、画像処理装置20は、処理を終了するか否かを判定する信号をCPU30から入力する。 Subsequently, in step S67, the image processing device 20 determines whether or not to end the process. Alternatively, the image processing apparatus 20 inputs a signal for determining whether or not to end the processing from the CPU 30.

ステップS67において、処理を終了すると判定された場合は(ステップS67、Yes)、画像処理装置20は画像処理を終了する。一方、処理を終了しないと判定された場合は(ステップS67、No)、ステップS61に戻り、ステップS61以降の処理が継続される。 If it is determined in step S67 that the processing is to be ended (step S67, Yes), the image processing apparatus 20 ends the image processing. On the other hand, when it is determined that the process is not to be ended (step S67, No), the process returns to step S61, and the processes after step S61 are continued.

このようにして、画像処理装置20は、画像処理を実行し、また、画像処理装置20の故障検知処理を実行することができる。 In this way, the image processing apparatus 20 can execute the image processing and also the failure detection processing of the image processing apparatus 20.

<効果>
本実施形態では、画像処理装置20は、画像処理を並列に実行する複数の処理部(演算回路群21)を備える画像処理部24と、複数の処理部と同一の画像処理を並列に実行する、複数の処理部より少ない数のデュアルロックステップ処理部(デュアルロックステップ回路群22)を備えるデュアルロックステップ部25と、複数の処理部のうちの所定の処理部による処理結果とデュアルロックステップ処理部による処理結果とに基づき画像処理装置の故障を検知する故障検知部26と、入力される画像のフレーム期間毎に所定の処理部を切り替える切替部27と、を有する。
<Effect>
In the present embodiment, the image processing device 20 executes the same image processing as the image processing unit 24 including a plurality of processing units (arithmetic circuit group 21) that execute the image processing in parallel and the plurality of processing units. , A dual lockstep processing unit 25 having a smaller number of dual lockstep processing units (dual lockstep circuit group 22) than the plurality of processing units, processing results by a predetermined processing unit of the plurality of processing units, and dual lockstep processing A failure detection unit 26 that detects a failure of the image processing device based on a processing result by the unit, and a switching unit 27 that switches a predetermined processing unit for each frame period of an input image.

複数の処理部とデュアルロックステップ処理部が同一の画像処理を並列に実行した結果に基づき、画像処理装置20の故障を検知するため、動作中の画像処理装置20の故障を検知することができる。 Since the failure of the image processing apparatus 20 is detected based on the result of parallel execution of the same image processing by the plurality of processing sections and the dual lockstep processing section, the failure of the image processing apparatus 20 in operation can be detected. ..

また、複数の処理部のうちの所定の処理部を切替部27で切り替えながら、所定の処理部による処理結果とデュアルロックステップ処理部による処理結果とを比較して故障を検知する。そのため、画像処理装置20が備える複数の処理部の全ての故障を、動作中に検知することができる。 Further, while switching the predetermined processing unit of the plurality of processing units by the switching unit 27, the failure is detected by comparing the processing result by the predetermined processing unit and the processing result by the dual lockstep processing unit. Therefore, all failures of the plurality of processing units included in the image processing apparatus 20 can be detected during operation.

ここで、比較例に係る画像処理装置について、図7を参照して説明する。 Here, an image processing apparatus according to a comparative example will be described with reference to FIG. 7.

図7は、比較例に係る画像処理装置の動作を説明する図である。図7に示すように、画像処理装置50は、同一の並列電気回路である演算回路51、51、・・・、51n−1、51により構成された演算回路群51と、演算回路群51に含まれる各演算回路と同じ電気回路であるデュアルロックステップ回路52、52、・・・、52n−1、52により構成されたデュアルロックステップ回路群52とを有している。ここで、演算回路群51に含まれる演算回路の数と、デュアルロックステップ回路群52に含まれるデュアルロックステップ回路の数は等しい。 FIG. 7 is a diagram for explaining the operation of the image processing apparatus according to the comparative example. As shown in FIG. 7, the image processing apparatus 50 includes an arithmetic circuit group 51 including arithmetic circuits 51 1 , 51 2 ,..., 51 n−1 , 51 n , which are the same parallel electric circuit, and an arithmetic circuit. And a dual lockstep circuit group 52 composed of dual lockstep circuits 52 1 , 52 2 ,..., 52 n-1 , 52 n , which are the same electric circuits as the arithmetic circuits included in the circuit group 51. ing. Here, the number of arithmetic circuits included in the arithmetic circuit group 51 is equal to the number of dual lockstep circuits included in the dual lockstep circuit group 52.

演算回路51、51、・・・、51n−1、51、及びデュアルロックステップ回路52、52、・・・、52n−1、52には、それぞれ画素データが入力され、それぞれ同一の画像処理が並列で実行されて、処理後の画像等の処理結果が画像処理装置50から出力される。演算回路51、51、・・・、51n−1、51による処理後の画像は、画像処理装置50から出力される。 Arithmetic circuits 51 1, 51 2, ···, 51 n-1, 51 n, and dual lockstep circuit 52 1, 52 2, ..., 52 to the n-1, 52 n, respectively the pixel data is input Then, the same image processing is performed in parallel, and the processing result of the processed image or the like is output from the image processing device 50. Arithmetic circuits 51 1, 51 2, ···, 51 n-1, 51 n by the processed image is output from the image processing apparatus 50.

また、演算回路51による処理結果とデュアルロックステップ回路52による処理結果とが一致するか否かが判定され、演算回路51による処理結果とデュアルロックステップ回路52による処理結果とが一致するか否かが判定される。さらに、演算回路51n−1による処理結果とデュアルロックステップ回路52n−1による処理結果とが一致するか否かが判定され、演算回路51による処理結果とデュアルロックステップ回路52による処理結果とが一致するか否かが判定される。判定結果に基づき、演算回路51、51、・・・、51n−1、51の故障が検知される。 Further, it is determined whether or not the processing result by the arithmetic circuit 51 1 and the processing result by the dual lockstep circuit 52 1 match, and the processing result by the arithmetic circuit 51 2 matches the processing result by the dual lockstep circuit 52 2. It is determined whether or not to do it. Further, it is determined whether or not the processing result by the arithmetic circuit 51 n-1 matches the processing result by the dual lockstep circuit 52 n-1 , and the processing result by the arithmetic circuit 51 n and the processing by the dual lockstep circuit 52 n are determined. It is determined whether or not the result matches. Based on the determination result, the failure of the arithmetic circuits 51 1 , 51 2 ,..., 51 n−1 , 51 n is detected.

このような画像処理装置50の構成により、演算回路群51に含まれる全ての演算回路の故障を検知できる。しかし、演算回路群51に含まれる演算回路と同じ数のデュアルロックステップ回路を備えているため、回路規模が大きくなってしまう。 With such a configuration of the image processing device 50, it is possible to detect failures in all the arithmetic circuits included in the arithmetic circuit group 51. However, since the same number of dual lockstep circuits as the arithmetic circuits included in the arithmetic circuit group 51 are provided, the circuit scale becomes large.

本実施形態では、入力される画像のフレーム期間毎で、故障検知の対象となる所定の処理部を切り替えるため、複数の処理部と同じ数のデュアルロックステップ処理部を備えなくても、複数の処理部(演算回路群21)に含まれる全ての処理部(演算回路21、21、・・・、21n−1、21)の故障を検知することができる。従って、回路規模を大きくすることなく、複数の処理部を備える画像処理装置20の故障を動作中に検知することができる。 In the present embodiment, a predetermined processing unit that is a target of failure detection is switched for each frame period of an input image. Therefore, even if the same number of dual lockstep processing units as a plurality of processing units are not provided, It is possible to detect failures in all the processing units (arithmetic circuits 21 1 , 21 2 ,..., 21 n−1 , 21 n ) included in the processing units (arithmetic circuit group 21 ). Therefore, it is possible to detect a failure of the image processing device 20 including a plurality of processing units during operation without increasing the circuit scale.

[第2の実施形態]
次に、第2の実施形態に係る画像処理装置について説明する。なお、既に説明した実施形態と同一の構成部についての説明を省略する。
[Second Embodiment]
Next, an image processing apparatus according to the second embodiment will be described. Note that the description of the same components as those of the above-described embodiment will be omitted.

図8は、本実施形態に係る画像処理装置の機能構成の一例を示すブロック図である。画像処理装置20aは、切替部27aを有する。 FIG. 8 is a block diagram showing an example of the functional configuration of the image processing apparatus according to this embodiment. The image processing device 20a has a switching unit 27a.

切替部27aは、スイッチング回路等の電気回路で構成され、また、水平帰線期間検知部272を備えている。水平帰線期間検知部272は、画像処理装置20aのクロックをカウントして計測した時間が、入力される画像の水平帰線期間と一致した場合に、水平帰線期間に該当する時間が経過したことを検知する。 The switching unit 27a is configured by an electric circuit such as a switching circuit, and includes a horizontal blanking period detection unit 272. The horizontal blanking interval detection unit 272 has passed the time corresponding to the horizontal blanking interval when the time measured by counting the clock of the image processing device 20a matches the horizontal blanking interval of the input image. Detect that.

ここで、水平帰線期間は、画像処理装置20aに入力された画像において、水平方向の1ライン分の画素データが入力される期間をいい、撮像素子10、又は画像処理装置20aの仕様に応じて決定されている。また、水平帰線期間検知部272は、「期間検知部」の一例である。 Here, the horizontal blanking period refers to a period in which pixel data for one line in the horizontal direction is input in the image input to the image processing device 20a, and depends on the specifications of the image sensor 10 or the image processing device 20a. Has been decided. The horizontal blanking period detection unit 272 is an example of a “period detection unit”.

切替部27aは、検知された水平帰線期間毎に故障検知部26にアクセスし、画像処理部24に含まれる複数の処理部のうち、故障検知の対象となる処理部を切り替えることができる。換言すると、切替部27aは、画像処理部24に含まれる複数の処理部のうち、デュアルロックステップ処理部と処理結果を比較する処理部を切り替えることができる。 The switching unit 27a can access the failure detection unit 26 for each detected horizontal blanking period and switch the processing unit that is the target of failure detection among the plurality of processing units included in the image processing unit 24. In other words, the switching unit 27a can switch the processing unit that compares the processing result with the dual lockstep processing unit among the plurality of processing units included in the image processing unit 24.

図9は、本実施形態に係る画像処理装置の動作の一例を示すフローチャートである。図9のステップS91〜S94の処理は、図6のステップS61〜S64の処理と同様であるため、これらの説明を省略する。 FIG. 9 is a flowchart showing an example of the operation of the image processing apparatus according to this embodiment. The processes of steps S91 to S94 of FIG. 9 are the same as the processes of steps S61 to S64 of FIG. 6, so description thereof will be omitted.

ステップS95において、水平帰線期間検知部272は、水平帰線期間が経過したか否かを判定する。ステップS95で水平帰線期間が経過していないと判定された場合は(ステップS95、No)、ステップS95の処理が繰り返される。一方、ステップS95で水平帰線期間が経過したと判定された場合は(ステップS95、Yes)、ステップS96に移行される。 In step S95, the horizontal blanking period detection unit 272 determines whether the horizontal blanking period has elapsed. When it is determined in step S95 that the horizontal blanking period has not elapsed (step S95, No), the process of step S95 is repeated. On the other hand, when it is determined in step S95 that the horizontal blanking period has elapsed (step S95, Yes), the process proceeds to step S96.

続いて、ステップS96において、切替部27aは、故障検知部26にアクセスし、画像処理部24に含まれる複数の処理部のうち、故障検知の対象となる処理部を切り替える。 Subsequently, in step S96, the switching unit 27a accesses the failure detection unit 26 and switches the processing unit that is the target of the failure detection among the plurality of processing units included in the image processing unit 24.

続いて、ステップS97において、画像処理装置20aは、処理を終了するか否かを判定する。或いは、画像処理装置20aは、処理を終了するか否かを判定する信号をCPU30から入力する。 Subsequently, in step S97, the image processing device 20a determines whether or not to end the process. Alternatively, the image processing apparatus 20a inputs from the CPU 30 a signal for determining whether or not to end the processing.

ステップS97において、処理を終了すると判定された場合は(ステップS97、Yes)、画像処理装置20aは画像処理を終了する。一方、処理を終了しないと判定された場合は(ステップS97、No)、ステップS91に戻り、ステップS91以降の処理が継続される。 When it is determined in step S97 that the processing is to be ended (step S97, Yes), the image processing apparatus 20a ends the image processing. On the other hand, when it is determined that the process is not to be ended (step S97, No), the process returns to step S91, and the processes after step S91 are continued.

このようにして、画像処理装置20aは、画像処理を実行し、また、画像処理装置20aの故障を検知する処理を実行することができる。 In this way, the image processing apparatus 20a can execute the image processing and also the processing of detecting the failure of the image processing apparatus 20a.

本実施形態では、入力される画像の水平帰線期間毎で、故障検知の対象となる所定の処理部を切り替える。これにより、フレーム期間と比較してより短い期間で故障検知の対象となる所定の処理部を切り替えることができ、全ての演算回路の故障検知をより短期間で行うことができる。 In the present embodiment, a predetermined processing unit that is a target of failure detection is switched for each horizontal blanking period of an input image. As a result, it is possible to switch the predetermined processing unit that is the target of failure detection in a shorter period than the frame period, and it is possible to perform failure detection of all arithmetic circuits in a shorter period.

なお、これ以外の効果は、上述の実施形態で説明したものと同様である。 The other effects are similar to those described in the above embodiment.

本発明は、具体的に開示された上記の実施形態に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。 The present invention is not limited to the above specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.

また、実施形態は、画像処理装置の故障検知方法も含む。例えば、画像処理装置の故障検知方法は、画像処理を実行する画像処理装置の故障検知方法であって、前記画像処理を並列に実行する複数の処理工程を備える画像処理工程と、前記複数の処理工程と同一の前記画像処理を並列に実行する、前記複数の処理工程より少ない数のデュアルロックステップ処理工程を備えるデュアルロックステップ工程と、前記複数の処理工程のうちの所定の処理工程よる処理結果と、前記デュアルロックステップ処理工程による処理結果と、に基づき前記画像処理装置の故障を検知する故障検知工程と、所定の期間毎に、前記所定の処理工程を切り替える切替工程と、を含む。 The embodiment also includes a failure detection method for the image processing apparatus. For example, a failure detection method for an image processing apparatus is a failure detection method for an image processing apparatus that executes image processing, and includes an image processing step including a plurality of processing steps for executing the image processing in parallel, and the plurality of processing steps. The same image processing as the process is executed in parallel, a dual lockstep process including a smaller number of dual lockstep process steps than the plurality of process steps, and a processing result by a predetermined process step of the plurality of process steps And a failure detection step of detecting a failure of the image processing apparatus based on the processing result of the dual lockstep processing step, and a switching step of switching the predetermined processing step for each predetermined period.

このような画像処理装置の故障検知方法により、上述した画像処理装置と同様の効果を得ることができる。 With such a failure detection method for an image processing apparatus, it is possible to obtain the same effect as the above-described image processing apparatus.

さらに、実施形態は、プログラムも含む。例えば、プログラムは、画像処理を実行する画像処理装置で実行されるプログラムであって、コンピュータを、前記画像処理を並列に実行する複数の処理部を備える画像処理部、前記複数の処理部と同一の前記画像処理を並列に実行する、前記複数の処理部より少ない数のデュアルロックステップ処理部を備えるデュアルロックステップ部、前記複数の処理部のうちの所定の処理部による処理結果と、前記デュアルロックステップ処理部による処理結果と、に基づき前記画像処理装置の故障を検知する故障検知部、所定の期間毎に、前記所定の処理部を切り替える切替部、として機能させる。 Further, the embodiment also includes a program. For example, the program is a program that is executed by an image processing device that executes image processing, and is the same as the image processing unit that includes a plurality of processing units that execute the image processing in parallel, and the plurality of processing units. A dual lockstep unit that executes the image processing in parallel in parallel with a number of dual lockstep processing units that is smaller in number than the plurality of processing units; a processing result by a predetermined processing unit of the plurality of processing units; It functions as a failure detection unit that detects a failure of the image processing device based on the processing result by the lockstep processing unit, and a switching unit that switches the predetermined processing unit for each predetermined period.

このようなプログラムにより、上述した画像処理装置と同様の効果を得ることができる。 With such a program, it is possible to obtain the same effects as those of the image processing apparatus described above.

1 画像処理回路
2 デュアルロックステップ回路
3 比較回路
10 撮像素子
20、20a 画像処理装置
21 演算回路群
22 デュアルロックステップ回路群
23 画像入力部
24 画像処理部
25 デュアルロックステップ部
26 故障検知部
27、27a 切替部
271 フレーム期間検知部
272 水平帰線期間検知部
28 処理結果出力部
100 制御システム
T フレーム期間
DESCRIPTION OF SYMBOLS 1 image processing circuit 2 dual lockstep circuit 3 comparison circuit 10 image pickup device 20, 20a image processing device 21 arithmetic circuit group 22 dual lockstep circuit group 23 image input unit 24 image processing unit 25 dual lockstep unit 26 failure detection unit 27, 27a Switching unit 271 Frame period detection unit 272 Horizontal blanking period detection unit 28 Processing result output unit 100 Control system T frame period

特開2012−058123号公報JP 2012-058123 A 特開2016−157247号公報JP, 2016-157247, A

Claims (6)

画像処理を実行する画像処理装置であって、
前記画像処理を実行する複数の処理部を備える画像処理部と、
前記複数の処理部と同一の前記画像処理を並列に実行する、前記複数の処理部より少ない数のデュアルロックステップ処理部を備えるデュアルロックステップ部と、
前記複数の処理部のうちの所定の処理部による処理結果と、前記デュアルロックステップ処理部による処理結果と、に基づき前記画像処理装置の故障を検知する故障検知部と、
所定の期間毎に、前記所定の処理部を切り替える切替部と、を有する
画像処理装置。
An image processing device that executes image processing,
An image processing unit including a plurality of processing units for executing the image processing,
A dual lockstep unit that executes the same image processing as the plurality of processing units in parallel, and includes a dual lockstep processing unit that is smaller in number than the plurality of processing units,
A failure detection unit that detects a failure of the image processing device based on a processing result by a predetermined processing unit of the plurality of processing units and a processing result by the dual lockstep processing unit,
An image processing apparatus comprising: a switching unit that switches the predetermined processing unit for each predetermined period.
前記所定の期間に該当する時間の経過を検知する期間検知部を有する
請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1, further comprising a period detection unit that detects a lapse of time corresponding to the predetermined period.
前記期間検知部は、前記画像処理装置に入力された画像のフレーム期間を検知する
請求項2に記載の画像処理装置。
The image processing device according to claim 2, wherein the period detection unit detects a frame period of an image input to the image processing device.
前記期間検知部は、前記画像処理装置に入力された画像の水平帰線期間を検知する
請求項2に記載の画像処理装置。
The image processing device according to claim 2, wherein the period detection unit detects a horizontal blanking period of an image input to the image processing device.
画像処理を実行する画像処理装置の故障検知方法であって、
前記画像処理を実行する複数の処理工程を備える画像処理工程と、
前記複数の処理工程と同一の前記画像処理を並列に実行する、前記複数の処理工程より少ない数のデュアルロックステップ処理工程を備えるデュアルロックステップ工程と、
前記複数の処理工程のうちの所定の処理工程による処理結果と、前記デュアルロックステップ処理工程による処理結果と、に基づき前記画像処理装置の故障を検知する故障検知工程と、
所定の期間毎に、前記所定の処理工程を切り替える切替工程と、を含む
画像処理装置の故障検知方法。
A method for detecting a failure of an image processing apparatus that executes image processing, comprising:
An image processing step including a plurality of processing steps for executing the image processing;
A dual lockstep process comprising a plurality of dual lockstep process steps, the number of which is smaller than that of the plurality of process steps, for executing the same image processing in parallel as the plurality of process steps;
A failure detection step of detecting a failure of the image processing device based on a processing result of a predetermined processing step of the plurality of processing steps and a processing result of the dual lockstep processing step,
A failure detection method for an image processing apparatus, comprising: a switching step of switching the predetermined processing steps for each predetermined period.
画像処理を実行する画像処理装置で実行されるプログラムであって、
コンピュータを、
前記画像処理を実行する複数の処理部を備える画像処理部、
前記複数の処理部と同一の前記画像処理を並列に実行する、前記複数の処理部より少ない数のデュアルロックステップ処理部を備えるデュアルロックステップ部、
前記複数の処理部のうちの所定の処理部による処理結果と、前記デュアルロックステップ処理部による処理結果と、に基づき前記画像処理装置の故障を検知する故障検知部、
所定の期間毎に、前記所定の処理部を切り替える切替部、
として機能させるためのプログラム。
A program executed by an image processing device that executes image processing,
Computer,
An image processing unit including a plurality of processing units that execute the image processing,
A dual lockstep unit that includes the same number of dual lockstep processing units as the plurality of processing units in parallel and that performs the same image processing in parallel,
A failure detection unit that detects a failure of the image processing device based on a processing result by a predetermined processing unit of the plurality of processing units and a processing result by the dual lockstep processing unit,
A switching unit that switches the predetermined processing unit for each predetermined period,
Program to function as.
JP2019002697A 2019-01-10 2019-01-10 IMAGE PROCESSING DEVICE, FAILURE DETECTION METHOD FOR IMAGE PROCESSING DEVICE, AND PROGRAM Active JP7251149B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019002697A JP7251149B2 (en) 2019-01-10 2019-01-10 IMAGE PROCESSING DEVICE, FAILURE DETECTION METHOD FOR IMAGE PROCESSING DEVICE, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019002697A JP7251149B2 (en) 2019-01-10 2019-01-10 IMAGE PROCESSING DEVICE, FAILURE DETECTION METHOD FOR IMAGE PROCESSING DEVICE, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2020112988A true JP2020112988A (en) 2020-07-27
JP7251149B2 JP7251149B2 (en) 2023-04-04

Family

ID=71666365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019002697A Active JP7251149B2 (en) 2019-01-10 2019-01-10 IMAGE PROCESSING DEVICE, FAILURE DETECTION METHOD FOR IMAGE PROCESSING DEVICE, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP7251149B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63273141A (en) * 1987-04-30 1988-11-10 Nec Corp Error self-checking processor and its driving method
JP2011145900A (en) * 2010-01-14 2011-07-28 Toyota Motor Corp Multiprocessor device
JP2011178237A (en) * 2010-02-26 2011-09-15 Autonetworks Technologies Ltd Signal input device and on-vehicle processing system
JP2012058123A (en) * 2010-09-10 2012-03-22 Olympus Corp Image processing circuit inspection device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63273141A (en) * 1987-04-30 1988-11-10 Nec Corp Error self-checking processor and its driving method
JP2011145900A (en) * 2010-01-14 2011-07-28 Toyota Motor Corp Multiprocessor device
JP2011178237A (en) * 2010-02-26 2011-09-15 Autonetworks Technologies Ltd Signal input device and on-vehicle processing system
JP2012058123A (en) * 2010-09-10 2012-03-22 Olympus Corp Image processing circuit inspection device

Also Published As

Publication number Publication date
JP7251149B2 (en) 2023-04-04

Similar Documents

Publication Publication Date Title
JP6214824B2 (en) Automatic test equipment
US20190147243A1 (en) Image processing apparatus, control method thereof, and non-transitory computer-readable storage medium
JP7251149B2 (en) IMAGE PROCESSING DEVICE, FAILURE DETECTION METHOD FOR IMAGE PROCESSING DEVICE, AND PROGRAM
WO2016190698A1 (en) Weighted median filtering method and device for noise removal
JP7310138B2 (en) IMAGE PROCESSING DEVICE, FAILURE DETECTION METHOD FOR IMAGE PROCESSING DEVICE, AND PROGRAM
JP2008085832A (en) Monitoring camera, control method of monitoring camera, and monitoring camera system
JP2011128821A (en) Redundant field apparatus
WO2018136123A2 (en) Switchable topology machine
CN115699124A (en) Hardware-based sensor analysis
JP4926299B1 (en) Programmable logic controller
CN112564948B (en) Information backtracking method and device, storage medium and electronic equipment
JP2017204016A (en) Image processing apparatus
JP2007164451A (en) Input/output control method, input/output control program and magnetic disk device
CN117859161A (en) Hardware-based sensor analysis
JP2017045090A (en) Semiconductor integrated circuit and electronic apparatus
CN117408704A (en) Transaction replay inspection method, block link point and apparatus therefor
CN116893955A (en) Method, data processing component, computer program and medium for testing data processing distributed over a plurality of programs
JPH0319069A (en) Diagnostic system for abnormality of multiprocessor
JP3523059B2 (en) Horizontal synchronization signal frequency detection method and horizontal synchronization signal frequency detection circuit
JPH07160521A (en) Information processor with anti-fault function
JP5768434B2 (en) Mutual monitoring system
KR0125945B1 (en) Method of operating monitoring for processor
JP2006318237A (en) Control device for event driving
JP2007080183A (en) Data processor and its control method
JP2005210332A (en) Timer counter and its operation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220802

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221220

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230210

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: 20230221

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230306

R151 Written notification of patent or utility model registration

Ref document number: 7251149

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151