JP6563250B2 - Semiconductor device, display system, and signal monitoring method - Google Patents

Semiconductor device, display system, and signal monitoring method Download PDF

Info

Publication number
JP6563250B2
JP6563250B2 JP2015107180A JP2015107180A JP6563250B2 JP 6563250 B2 JP6563250 B2 JP 6563250B2 JP 2015107180 A JP2015107180 A JP 2015107180A JP 2015107180 A JP2015107180 A JP 2015107180A JP 6563250 B2 JP6563250 B2 JP 6563250B2
Authority
JP
Japan
Prior art keywords
signal
monitoring
display
counter
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015107180A
Other languages
Japanese (ja)
Other versions
JP2016225685A (en
Inventor
大介 深瀬
大介 深瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lapis Semiconductor Co Ltd
Original Assignee
Lapis Semiconductor 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 Lapis Semiconductor Co Ltd filed Critical Lapis Semiconductor Co Ltd
Priority to JP2015107180A priority Critical patent/JP6563250B2/en
Publication of JP2016225685A publication Critical patent/JP2016225685A/en
Application granted granted Critical
Publication of JP6563250B2 publication Critical patent/JP6563250B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Studio Devices (AREA)

Description

本発明は、半導体装置、表示システム及び信号監視方法に関し、特に画像表示に関連する信号の故障の有無を検出して監視する機能を備えた半導体装置、表示システム及び信号監視方法に関する。   The present invention relates to a semiconductor device, a display system, and a signal monitoring method, and more particularly to a semiconductor device, a display system, and a signal monitoring method having a function of detecting and monitoring the presence or absence of a signal failure related to image display.

表示システムの従来技術の一例として、車両における車載用後方監視装置(バックモニタ)が知られている。車載用後方監視装置では、車両の後部が運転者の死角となるので、車体の後部にカメラを設置し、バックギヤの入力に連動してカメラを作動させ、車両後部周辺の映像を取得して、この映像を車両内に設置されたモニタに表示させる。その際、たとえばバック運転の操舵角に応じた車両走行予測軌跡を、カメラで撮像された映像にスーパーインポーズした合成映像を出力すること、あるいはカメラで撮像された映像に線描画等の加工処理を施した合成映像を出力することが行われている。   As an example of a conventional display system, an in-vehicle rear monitoring device (back monitor) in a vehicle is known. In the in-vehicle rear monitoring device, the rear part of the vehicle becomes the blind spot of the driver, so a camera is installed at the rear part of the vehicle body, the camera is operated in conjunction with the input of the back gear, and the image around the rear part of the vehicle is acquired, This video is displayed on a monitor installed in the vehicle. At that time, for example, outputting a composite image obtained by superimposing a vehicle traveling prediction trajectory according to the steering angle of the back operation on the image captured by the camera, or processing such as line drawing on the image captured by the camera A composite video that has been subjected to is output.

このような表示システムには画像表示装置が含まれ、該画像表示装置によって、カメラから入力された映像信号あるいは合成映像信号のモニタへの表示が制御されるが、その際、画像表示装置において処理された同期信号等の画像表示に関連する信号(画像表示用信号)の監視が必要となる場合がある。カメラ本体又は周辺回路の故障や、信号ラインの断線や、信号ラインに入り込むノイズの影響を受けて画像データの異常や画像表示用信号の異常が起きているにもかかわらずモニタへの表示制御を継続すると、表示のずれや不意の停止といった誤動作が発生するからである(たとえば、特許文献1)。   Such a display system includes an image display device, and the image display device controls display of a video signal or a composite video signal input from a camera on the monitor. It may be necessary to monitor a signal related to image display (image display signal) such as a synchronized signal. Display control on the monitor is performed even if there is an abnormality in the image data or image display signal due to the camera body or peripheral circuit failure, signal line disconnection, or noise entering the signal line. This is because if it continues, a malfunction such as a display shift or an unexpected stop occurs (for example, Patent Document 1).

一方、画像表示用信号の異常検出方法として、特許文献2に開示されたものが知られている。特許文献2に開示された画像表示用信号の異常検出方法では、画像表示装置に画像を表示するために使用される複数の画像表示用信号のうち、第1の信号と、第1の信号よりも周期が短い第2の信号とに関して、第1の信号が入力されてから次の第1の信号が入力されるまでの期間に、第2の信号が入力される入力数を計数し、計数された入力数が所定範囲外であるときには、第1の信号又は第2の信号が異常であると判定する。   On the other hand, a method disclosed in Patent Document 2 is known as an abnormality detection method for an image display signal. In the method for detecting an abnormality of an image display signal disclosed in Patent Document 2, among a plurality of image display signals used for displaying an image on an image display device, a first signal and a first signal are used. For the second signal having a short cycle, the number of inputs of the second signal is counted during the period from the input of the first signal to the input of the next first signal. When the input number is out of the predetermined range, it is determined that the first signal or the second signal is abnormal.

図8に、特許文献2に開示された画像表示用信号の異常検出方法を採用した比較例に係る信号監視回路100を示す。信号監視回路100は、画像表示装置における画像処理部と、LCD(Liquid Crystal Display)160とのインタフェースであるLCD I/F(インタフェース)200に含まれ、水平同期信号停止検出回路520及びデータイネーブル信号停止検出回路540を備えている。LCD I/F200は、MCU(Micro Control Unit)240からLCD制御信号を受け取り、LCDを制御するためのLCD制御信号をLCD160に送出する。   FIG. 8 shows a signal monitoring circuit 100 according to a comparative example employing the image display signal abnormality detection method disclosed in Patent Document 2. The signal monitoring circuit 100 is included in an LCD I / F (interface) 200 that is an interface between an image processing unit in the image display device and an LCD (Liquid Crystal Display) 160, and includes a horizontal synchronization signal stop detection circuit 520 and a data enable signal. A stop detection circuit 540 is provided. The LCD I / F 200 receives an LCD control signal from an MCU (Micro Control Unit) 240 and sends an LCD control signal for controlling the LCD to the LCD 160.

水平同期信号停止検出回路520は水平同期信号の異常の有無を検出し、異常がない場合にはそのままLCD160に出力するとともに、異常が検出された場合には信号停止検出フラグをMCU240に送信する。データイネーブル信号停止検出回路540はデータイネーブル信号の異常の有無を検出し、異常がない場合にはそのままLCD160に出力するとともに、異常が検出された場合には信号停止検出フラグをMCU240に送信する。   The horizontal synchronization signal stop detection circuit 520 detects whether there is an abnormality in the horizontal synchronization signal. If there is no abnormality, the horizontal synchronization signal stop detection circuit 520 outputs it to the LCD 160 as it is, and if an abnormality is detected, transmits a signal stop detection flag to the MCU 240. The data enable signal stop detection circuit 540 detects whether there is an abnormality in the data enable signal. If there is no abnormality, the data enable signal stop detection circuit 540 outputs it to the LCD 160 as it is, and if an abnormality is detected, transmits a signal stop detection flag to the MCU 240.

水平同期信号停止検出回路520は、上記特許文献2に開示された異常検出方法と同様の方法を用いた異常検出回路であり、水平同期信号が入力されてからつぎの水平同期信号が入力されるまでの期間に、参照クロックが入力される入力数を計数し、計数された入力数が所定範囲外であるときには、水平同期信号又は参照クロックが異常であると判定する。同様に、データイネーブル信号停止検出回路540は、データイネーブル信号が入力されてからつぎのデータイネーブル信号が入力されるまでの期間に、参照クロックが入力される入力数を計数し、計数された入力数が所定範囲外であるときには、データイネーブル信号又は参照クロックが異常であると判定する。なお、参照クロックとは、画像表示装置の全体を制御するための基準となるクロックである。一方、比較例に係る信号監視回路100では、ピクセルクロックの異常検出は行っておらず、画像表示装置内において処理されたピクセルクロックはそのままLCD供給される。   The horizontal synchronization signal stop detection circuit 520 is an abnormality detection circuit using a method similar to the abnormality detection method disclosed in Patent Document 2, and the next horizontal synchronization signal is input after the horizontal synchronization signal is input. The number of inputs to which the reference clock is input is counted until the period until the horizontal synchronization signal or the reference clock is abnormal when the counted number of inputs is outside the predetermined range. Similarly, the data enable signal stop detection circuit 540 counts the number of inputs to which the reference clock is input during the period from the input of the data enable signal to the input of the next data enable signal. When the number is out of the predetermined range, it is determined that the data enable signal or the reference clock is abnormal. The reference clock is a reference clock for controlling the entire image display apparatus. On the other hand, the signal monitoring circuit 100 according to the comparative example does not detect abnormality of the pixel clock, and the pixel clock processed in the image display apparatus is supplied to the LCD as it is.

特開2007−318558号公報JP 2007-318558 A 特開2003−167545号公報JP 2003-167545 A

上記比較例に係る信号監視回路100では、水平同期信号及びデータイネーブル信号の各々の1周期に含まれる参照クロックの数を計数する。水平同期信号及びデータイネーブル信号は、双方とも映像ブランキング期間を含むこともあって比較的周期が長いのに対し、参照クロックは比較的周波数が高い。そのため、参照クロック計数のためのカウンタのビット数を大きくしておく必要が生じ、その結果、異常検出回路の回路規模が大きくなってしまうという問題があった。また、ピクセルクロックの異常検出を行っていないので、ピクセルクロックに異常が発生した場合には、LCDに表示される画像に乱れ等が発生するという問題があった。しかしながら、ピクセルクロックの異常検出も行おうとするとさらに回路規模が大きくなってしまうという問題があった。   In the signal monitoring circuit 100 according to the comparative example, the number of reference clocks included in one period of each of the horizontal synchronization signal and the data enable signal is counted. Both the horizontal synchronization signal and the data enable signal include a video blanking period and have a relatively long period, whereas the reference clock has a relatively high frequency. Therefore, it is necessary to increase the number of bits of the counter for counting the reference clock, and as a result, there is a problem that the circuit scale of the abnormality detection circuit is increased. In addition, since the pixel clock abnormality is not detected, there is a problem that, when an abnormality occurs in the pixel clock, the image displayed on the LCD is disturbed. However, there has been a problem that the circuit scale becomes even larger if pixel pixel abnormality detection is to be performed.

本発明は、上述した課題を解決するためになされたものであり、故障検出の対象となる信号を増やしても回路規模の削減が可能な半導体装置、表示システム、及び信号監視方法を提供することを目的とする。   The present invention has been made to solve the above-described problems, and provides a semiconductor device, a display system, and a signal monitoring method capable of reducing the circuit scale even when the number of signals to be subjected to failure detection is increased. With the goal.

本発明に係る半導体装置は、N個(Nは以上の整数)の故障検出部を備え、第1の故障検出部は、クロック源で生成された基準クロックを監視信号として被監視信号である第1の信号の故障を検出し、第i(iは、2≦i≦Nの整数)の故障検出部は、第(i−1)の信号を監視信号として被監視信号である第iの信号の故障を検出するものである。 The semiconductor device according to the present invention includes N (N is an integer of 3 or more) failure detection units, and the first failure detection unit is a monitored signal using a reference clock generated by a clock source as a monitoring signal. The failure of the first signal is detected, and the i-th (i is an integer of 2 ≦ i ≦ N) failure detection unit is the i-th monitored signal with the (i−1) -th signal as the monitoring signal. It detects signal failure.

また、本発明に係る表示システムは、上記の半導体装置と、対象物の映像を取得し映像信号を出力する撮像部と、前記映像信号と合成する合成用映像信号を生成する情報処理部と、前記映像信号又は前記映像信号と前記合成用映像信号とを合成した合成映像信号を表示部に表示させるための画像データに変換する表示制御部と、前記表示制御部を制御する前記基準クロックを生成する前記クロック源と、前記画像データに基づいて画像を表示する表示部と、を備え、前記第1の信号ないし第Nの信号の各々は、前記表示制御部から出力される複数の画像表示用信号のいずれかであるものである。   A display system according to the present invention includes the semiconductor device, an imaging unit that acquires a video of an object and outputs a video signal, an information processing unit that generates a video signal for synthesis to be combined with the video signal, A display control unit that converts the video signal or a synthesized video signal obtained by synthesizing the video signal and the synthesis video signal into image data for display on a display unit, and generates the reference clock that controls the display control unit And a display unit that displays an image based on the image data, wherein each of the first to Nth signals is for a plurality of image displays output from the display control unit. One of the signals.

一方、本発明に係る信号監視方法は、N個(Nは以上の整数)の故障検出部を備えた信号監視装置による信号監視方法であって、第1の故障検出部により、クロック源で生成された基準クロックを監視信号として被監視信号である第1の信号の故障を検出し、第i(iは、2≦i≦Nの整数)の故障検出部により、第(i−1)の信号を監視信号として被監視信号である第iの信号の故障を検出するものである。 On the other hand, the signal monitoring method according to the present invention is a signal monitoring method by a signal monitoring device having N (N is an integer of 3 or more) failure detection units, and the first failure detection unit uses a clock source as a clock source. The generated reference clock is used as a monitoring signal to detect a failure of the first signal that is the monitored signal, and the i-th (i is an integer of 2 ≦ i ≦ N) failure detection unit (i−1) The failure of the i-th signal that is the monitored signal is detected using the above signal as a monitoring signal.

本発明によれば、故障検出の対象となる信号を増やしても回路規模の削減が可能な半導体装置、表示システム、及び信号監視方法を提供することができる。   According to the present invention, it is possible to provide a semiconductor device, a display system, and a signal monitoring method capable of reducing the circuit scale even when the number of signals to be subjected to failure detection is increased.

実施の形態に係る表示システムの構成の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of a structure of the display system which concerns on embodiment. 実施の形態に係る画像表示装置における各画像表示用信号の動作状態を示すタイムチャートである。It is a time chart which shows the operation state of each image display signal in the image display apparatus which concerns on embodiment. 実施の形態に係る信号監視回路の全体の構成の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the whole structure of the signal monitoring circuit which concerns on embodiment. 実施の形態に係るピクセルクロック停止検出回路の一例を示す機能ブロック図、及びピクセルクロックの停止検出におけるタイムチャートを示す図である。FIG. 3 is a functional block diagram illustrating an example of a pixel clock stop detection circuit according to an embodiment, and a time chart in pixel clock stop detection. 実施の形態に係る水平同期信号停止検出回路の一例を示す機能ブロック図、及び水平同期信号の停止検出におけるタイムチャートを示す図である。It is a functional block diagram which shows an example of the horizontal synchronizing signal stop detection circuit which concerns on embodiment, and the figure which shows the time chart in the stop detection of a horizontal synchronizing signal. 実施の形態に係る信号停止検出回路の動作を説明するためのタイムチャートである。It is a time chart for demonstrating operation | movement of the signal stop detection circuit which concerns on embodiment. 実施の形態に係るデータイネーブル信号停止検出回路の一例を示す機能ブロック図、及びデータイネーブル信号の停止検出におけるタイムチャートを示す図である。FIG. 3 is a functional block diagram showing an example of a data enable signal stop detection circuit according to the embodiment, and a time chart in detecting the stop of the data enable signal. 比較例に係る信号監視回路の全体の構成を示す機能ブロック図である。It is a functional block diagram which shows the whole structure of the signal monitoring circuit which concerns on a comparative example.

以下、図面を参照して、本発明を実施するための形態について詳細に説明する。本実施の形態では、本発明に係る表示システムを、車両における車載用後方監視装置(バックモニタ)に適用した形態を例示して説明する。また、本実施の形態に係る半導体装置は、たとえば、以下に説明する信号監視回路10を含む回路を半導体集積回路技術を用いて実現することにより得られる。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings. In the present embodiment, an example in which the display system according to the present invention is applied to an in-vehicle rear monitoring device (back monitor) in a vehicle will be described. Further, the semiconductor device according to the present embodiment can be obtained, for example, by realizing a circuit including a signal monitoring circuit 10 described below using a semiconductor integrated circuit technology.

図1を参照して、本実施の形態に係る表示システム1について説明する。図1に示すように、本実施の形態に係る表示システム1は、画像表示装置(表示制御部)12、カメラ14、LCD16、クロック源22、及びMCU24を含んで構成されている。   A display system 1 according to the present embodiment will be described with reference to FIG. As shown in FIG. 1, the display system 1 according to the present embodiment includes an image display device (display control unit) 12, a camera 14, an LCD 16, a clock source 22, and an MCU 24.

カメラ14は、一例として車両の後部に設置された車載カメラであり、車両後部周辺の映像を撮像し映像信号として画像表示装置12へ出力する。   The camera 14 is an in-vehicle camera installed at the rear part of the vehicle as an example, images a video around the rear part of the vehicle, and outputs it to the image display device 12 as a video signal.

MCU24は、表示システム1を統括制御するとともに、カメラ14で撮像された映像に合成する映像を生成し、合成用映像信号として画像表示装置12へ出力する。   The MCU 24 performs overall control of the display system 1, generates a video to be synthesized with the video captured by the camera 14, and outputs the video to the image display device 12 as a synthesis video signal.

LCD16は、カメラ14によって撮像された画像等を表示する液晶ディスプレイである。本実施の形態では、ディスプレイとしてLCDを用いているが、これに限定されず、CRT(Cathode Ray Tube)ディスプレイ等他のディスプレイを用いてもよい。   The LCD 16 is a liquid crystal display that displays an image captured by the camera 14. In this embodiment, an LCD is used as a display. However, the present invention is not limited to this, and other displays such as a CRT (Cathode Ray Tube) display may be used.

クロック源22は、画像表示装置12の動作を制御する基準クロックである参照クロック(REF_CLK)を生成する回路である。クロック源22は、一例として、水晶振動子を用いた水晶発振器により構成され、本実施の形態では、画像表示装置12の外部に独立して設けられている。本実施の形態に係るクロック源22は、たとえば二重化され、表示システム1とは独立した監視回路を設けることにより高信頼度とされているので、本実施の形態では、参照クロックREF_CLKの故障は考慮しなくてよい。   The clock source 22 is a circuit that generates a reference clock (REF_CLK) that is a reference clock for controlling the operation of the image display device 12. As an example, the clock source 22 is configured by a crystal oscillator using a crystal resonator, and is provided independently outside the image display device 12 in the present embodiment. Since the clock source 22 according to the present embodiment is made highly reliable by providing a monitoring circuit independent from the display system 1, for example, in the present embodiment, the failure of the reference clock REF_CLK is considered. You don't have to.

画像表示装置12は、画像処理部18、及びLCD I/F20を含んで構成されており、画像処理部18は、カメラ14から入力された映像信号、あるいはMCU24から入力された合成用映像信号を処理して、LCD16を駆動するための画像データ信号を生成する。より具体的には、画像表示装置12は、カメラ14から入力されたアナログの映像信号に対してアナログ/ディジタル変換処理、サンプリング処理を行い、フレーム単位のディジタル形式の画像データ信号としてLCD16に送る。また、画像表示装置12は、MCU24で生成された映像信号、たとえばバック運転の操舵角に応じた車両走行予測軌跡を、カメラ14で撮像された映像にスーパーインポーズした映像の画像データ信号を生成する。   The image display device 12 includes an image processing unit 18 and an LCD I / F 20, and the image processing unit 18 receives a video signal input from the camera 14 or a composite video signal input from the MCU 24. Processing is performed to generate an image data signal for driving the LCD 16. More specifically, the image display device 12 performs analog / digital conversion processing and sampling processing on the analog video signal input from the camera 14 and sends it to the LCD 16 as a digital image data signal in frame units. Further, the image display device 12 generates a video signal generated by the MCU 24, for example, an image data signal of a video obtained by superimposing a vehicle travel prediction trajectory according to the steering angle of the back operation on a video captured by the camera 14. To do.

画像表示装置12では、画像データ信号とともに、画像表示用信号、すなわち、同期信号、データイネーブル信号DE、ピクセルクロックPIX_CLK等が生成される。同期信号とは、LCD等のディスプレイで画面を走査するタイミングを決定するために用いられる信号であり、垂直同期信号と水平同期信号とがある。垂直同期信号V_SYNCは、フレーム単位の画像データ信号を処理する際の1フレームの期間を規定する同期信号であり、水平同期信号H_SYNCは、当該画像データ信号の1ラインの期間を規定する同期信号である。   In the image display device 12, an image display signal, that is, a synchronization signal, a data enable signal DE, a pixel clock PIX_CLK, and the like are generated together with the image data signal. The synchronization signal is a signal used to determine the timing for scanning the screen with a display such as an LCD, and includes a vertical synchronization signal and a horizontal synchronization signal. The vertical synchronization signal V_SYNC is a synchronization signal that defines the period of one frame when processing the image data signal in units of frames, and the horizontal synchronization signal H_SYNC is a synchronization signal that defines the period of one line of the image data signal. is there.

一方、データイネーブル信号DEは、有効な画像データ信号をLCD16に入力するタイミングを示す信号であり、ピクセルクロックは、LCD16に表示する各画素データを更新するタイミングを示すクロック信号である。   On the other hand, the data enable signal DE is a signal indicating the timing at which a valid image data signal is input to the LCD 16, and the pixel clock is a clock signal indicating the timing at which each pixel data displayed on the LCD 16 is updated.

本実施の形態に係る信号監視回路では、上記の画像表示用信号のうち、ピクセルクロックPIX_CLK、水平同期信号H_SYNC、及びデータイネーブル信号DEの監視を行う。図1では、画像処理部18で生成されたピクセルクロックPIX_CLK、水平同期信号H_SYNC、データイネーブル信号DEが、LCD I/F20に入力されている。LCD I/F20は、画像表示用信号を一旦終端し、異常の有無等について監視するためのインタフェースであり、異常がなければ該画像表示用信号をそのままLCD16に送る。なお、画像データ信号も、画像処理部18からLCD I_F20を介してLCD16に送られるが、図1では省略している。   The signal monitoring circuit according to the present embodiment monitors the pixel clock PIX_CLK, the horizontal synchronization signal H_SYNC, and the data enable signal DE among the image display signals. In FIG. 1, the pixel clock PIX_CLK, the horizontal synchronization signal H_SYNC, and the data enable signal DE generated by the image processing unit 18 are input to the LCD I / F 20. The LCD I / F 20 is an interface for once terminating the image display signal and monitoring whether or not there is an abnormality. If there is no abnormality, the image display signal is sent to the LCD 16 as it is. The image data signal is also sent from the image processing unit 18 to the LCD 16 via the LCD I_F 20, but is omitted in FIG.

図2は、ピクセルクロックPIX_CLK、水平同期信号H_SYNC、データイネーブル信号DEの動作を、参照クロックREF_CLKの動作とともに示したタイムチャートである。   FIG. 2 is a time chart showing the operations of the pixel clock PIX_CLK, the horizontal synchronization signal H_SYNC, and the data enable signal DE together with the operation of the reference clock REF_CLK.

参照クロックREF_CLKは、上述したようにクロック源22から供給されるクロックであり、その周波数は、一例として32MHzである。ピクセルクロックPIX_CLKの周波数は、LCD16の解像度によって異なるが、本実施の形態では、一例として33〜100MHzである。   The reference clock REF_CLK is a clock supplied from the clock source 22 as described above, and the frequency thereof is, for example, 32 MHz. The frequency of the pixel clock PIX_CLK varies depending on the resolution of the LCD 16, but is 33 to 100 MHz as an example in the present embodiment.

図2に示すように、水平同期信号H_SYNCは、水平走査期間Thごとに1つのパルスを出力し、その周波数は、一例として33〜40kHzである。   As shown in FIG. 2, the horizontal synchronization signal H_SYNC outputs one pulse for each horizontal scanning period Th, and the frequency thereof is 33 to 40 kHz as an example.

データイネーブル信号DEは、垂直走査期間Tvを1周期として構成されており、垂直走査期間Tvは、垂直データ有効期間Tvdと垂直ブランキング期間Tvbから構成されている。垂直ブランキング期間Tvbは、1フレームごとの帰線期間であり、この期間においては画像が表示されず、垂直データ有効期間Tvd内の画素データが画像として表示される。   The data enable signal DE is configured with the vertical scanning period Tv as one cycle, and the vertical scanning period Tv includes a vertical data valid period Tvd and a vertical blanking period Tvb. The vertical blanking period Tvb is a blanking period for each frame. During this period, no image is displayed, and pixel data within the vertical data valid period Tvd is displayed as an image.

一方、垂直データ有効期間Tvdには1フレーム内のライン数分の水平走査期間Thが含まれ、各水平走査期間Thには、水平データ有効期間Thd及び水平ブランキング期間Thbが含まれる。水平ブランキング期間Thbは、1ラインごとの帰線期間でありこの期間は画像の表示を停止するので、実際に表示される画素データは水平データ有効期間Thd内の画素データである。したがって、データイネーブル信号DEの周波数は、水平データ有効期間Thdを1周期とすれば、水平同期信号H_SYNCの周波数と同じ33〜40kHzとなるが、データイネーブル信号DEの1周期の周波数でみた場合には、垂直同期信号の周波数(リフレッシュレート)となり、本実施の形態では、一例として60Hzとなっている。   On the other hand, the vertical data effective period Tvd includes horizontal scanning periods Th corresponding to the number of lines in one frame, and each horizontal scanning period Th includes a horizontal data effective period Thd and a horizontal blanking period Thb. The horizontal blanking period Thb is a blanking period for each line. During this period, display of an image is stopped. Therefore, actually displayed pixel data is pixel data within the horizontal data effective period Thd. Therefore, the frequency of the data enable signal DE is 33 to 40 kHz which is the same as the frequency of the horizontal synchronization signal H_SYNC if the horizontal data effective period Thd is one cycle, but when viewed at the frequency of one cycle of the data enable signal DE. Is the frequency of the vertical synchronization signal (refresh rate), and in this embodiment, is 60 Hz as an example.

つぎに、図3を参照して、本実施の形態に係る信号監視回路10について説明する。図3に示すように、信号監視回路10はLCD I/F20に含まれ、ピクセルクロック停止検出回路50、水平同期信号停止検出回路52、及びデータイネーブル信号停止検出回路54を備えている。LCD I/F20は、MCU24からLCD制御信号を受け取り、LCDを制御するための信号をLCD16に送出する。   Next, the signal monitoring circuit 10 according to the present embodiment will be described with reference to FIG. As shown in FIG. 3, the signal monitoring circuit 10 is included in the LCD I / F 20 and includes a pixel clock stop detection circuit 50, a horizontal synchronization signal stop detection circuit 52, and a data enable signal stop detection circuit 54. The LCD I / F 20 receives an LCD control signal from the MCU 24 and sends a signal for controlling the LCD to the LCD 16.

ピクセルクロック停止検出回路50には、監視信号としての参照クロックREF_CLKとともに被監視信号としてのピクセルクロックPIX_CLKが入力され、ピクセルクロックPIX_CLKの異常の有無が監視される。本実施の形態では、ある信号の監視を他の信号を用いて行っており、この場合の監視の対象となる信号を「被監視信号」といい、監視に用いる信号を「監視信号」という。監視の結果、異常がなければそのままLCD16に出力され、異常があった場合には、アクティブにされた(異常を示す値に設定された)信号停止検出フラグSFがMCU24に出力される。   The pixel clock stop detection circuit 50 receives a pixel clock PIX_CLK as a monitored signal together with a reference clock REF_CLK as a monitoring signal, and monitors whether the pixel clock PIX_CLK is abnormal. In this embodiment, a certain signal is monitored using another signal. In this case, a signal to be monitored is referred to as a “monitored signal”, and a signal used for monitoring is referred to as a “monitoring signal”. If there is no abnormality as a result of monitoring, the signal is output to the LCD 16 as it is. If there is an abnormality, the signal stop detection flag SF activated (set to a value indicating abnormality) is output to the MCU 24.

なお、信号停止検出フラグSFは、画像表示用信号に停止等の異常が発生したことを画像表示用信号ごとに示すフラグであり、アクティブにされた信号停止検出フラグSFを受信したMCU24は、LCD16の表示の停止等、表示システム1で規定された必要な処理を実行する。なお、信号停止検出フラグSFの詳細については後述する。   The signal stop detection flag SF is a flag indicating that an abnormality such as a stop has occurred in the image display signal for each image display signal, and the MCU 24 that has received the activated signal stop detection flag SF receives the LCD 16 Necessary processing defined by the display system 1 is executed, such as stopping the display of. Details of the signal stop detection flag SF will be described later.

水平同期信号停止検出回路52には、監視信号であるピクセルクロックPIX_CLKとともに被監視信号である水平同期信号H_SYNCが入力され、水平同期信号H_SYNCの異常の有無が監視される。監視の結果、異常がなければそのままLCD16に出力され、異常があった場合には、アクティブにされた信号停止検出フラグSFがMCU24に出力される。   The horizontal synchronization signal stop detection circuit 52 receives a horizontal synchronization signal H_SYNC that is a monitored signal together with a pixel clock PIX_CLK that is a monitoring signal, and monitors whether there is an abnormality in the horizontal synchronization signal H_SYNC. As a result of the monitoring, if there is no abnormality, it is output to the LCD 16 as it is, and if there is an abnormality, the activated signal stop detection flag SF is output to the MCU 24.

データイネーブル信号停止検出回路54には、監視信号である水平同期信号H_SYNCとともに被監視信号であるデータイネーブル信号DEが入力され、データイネーブル信号DEの異常の有無が監視される。監視の結果、異常がなければそのままLCD16に出力され、異常があった場合には、アクティブにされた信号停止検出フラグSFがMCU24に出力される。   The data enable signal stop detection circuit 54 receives a data enable signal DE as a monitored signal together with a horizontal synchronization signal H_SYNC as a monitoring signal, and monitors whether the data enable signal DE is abnormal. As a result of the monitoring, if there is no abnormality, it is output to the LCD 16 as it is, and if there is an abnormality, the activated signal stop detection flag SF is output to the MCU 24.

以上のように、本実施の形態では、画像表示装置12とは独立した外部クロックである参照クロックREF_CLKを監視信号としてピクセルクロックPIX_CLKを監視し、異常の有無が監視されたピクセルクロックPIX_CLKを監視信号として水平同期信号H_SYNCを監視し、異常の有無が監視された水平同期信号H_SYNCを監視信号としてデータイネーブル信号DEを監視する構成となっている。   As described above, in the present embodiment, the pixel clock PIX_CLK is monitored using the reference clock REF_CLK, which is an external clock independent of the image display device 12, as a monitoring signal, and the pixel clock PIX_CLK monitored for the presence or absence of abnormality is monitored. The horizontal synchronization signal H_SYNC is monitored, and the data enable signal DE is monitored using the horizontal synchronization signal H_SYNC whose presence or absence is monitored as a monitoring signal.

つぎに、図4ないし図7を参照し、ピクセルクロック停止検出回路50、水平同期信号停止検出回路52、及びデータイネーブル信号停止検出回路54についてより詳細に説明する。   Next, the pixel clock stop detection circuit 50, the horizontal synchronization signal stop detection circuit 52, and the data enable signal stop detection circuit 54 will be described in more detail with reference to FIGS.

図4(a)は、ピクセルクロック停止検出回路50の構成の一例を示す機能ブロック図であり、図4(b)は、ピクセルクロックPIX_CLKの停止を検出する場合のタイムチャートである。図4(a)に示すように、ピクセルクロック停止検出回路50は、トグル検出回路60a、及びカウンタ62aを含んで構成されている。   FIG. 4A is a functional block diagram showing an example of the configuration of the pixel clock stop detection circuit 50, and FIG. 4B is a time chart when detecting the stop of the pixel clock PIX_CLK. As shown in FIG. 4A, the pixel clock stop detection circuit 50 includes a toggle detection circuit 60a and a counter 62a.

トグル検出回路60aは、入力された被監視信号であるピクセルクロックPIX_CLKの0と1(ロウレベルとハイレベル)とが反転するごとに状態を遷移させる回路、たとえばT−FF(Toggle−Flip Flop)を備え、遷移させるタイミングにおいてカウンタ62aをリセットするためのカウンタリセット信号CRaを発生する。   The toggle detection circuit 60a is a circuit that changes the state every time 0 and 1 (low level and high level) of the pixel clock PIX_CLK that is the input monitored signal is inverted, such as a T-FF (Toggle-Flip Flop). A counter reset signal CRa for resetting the counter 62a is generated at the timing of the transition.

カウンタ62aは、監視信号である参照クロックREF_CLKの0と1とが反転するタイミングで、参照クロックREF_CLKの入力数(パルス数)を計数する計数器である。そして、カウンタ62aで計数された計数値が、予め定められた許容範囲内の場合には、ピクセルクロックPIX_CLKに異常(停止)は発生していないと判定し、予め定められた許容範囲外の場合には、ピクセルクロックPIX_CLKに異常(停止)が発生していると判定する。   The counter 62a is a counter that counts the number of inputs (number of pulses) of the reference clock REF_CLK at the timing at which 0 and 1 of the reference clock REF_CLK that is a monitoring signal are inverted. If the count value counted by the counter 62a is within a predetermined allowable range, it is determined that no abnormality (stop) has occurred in the pixel clock PIX_CLK, and is outside the predetermined allowable range. Is determined to be abnormal (stopped) in the pixel clock PIX_CLK.

さらに、本実施の形態では、ピクセルクロックPIX_CLKの異常の発生/非発生に応じて、信号停止検出フラグSFaの値が設定される。より具体的には、本実施の形態では、信号停止検出フラグSFaの初期値は0に設定されており、ピクセルクロックPIX_CLKに異常が発生した場合には、信号停止検出フラグSFaの値が1に設定される。   Furthermore, in the present embodiment, the value of the signal stop detection flag SFa is set according to the occurrence / non-occurrence of abnormality of the pixel clock PIX_CLK. More specifically, in the present embodiment, the initial value of the signal stop detection flag SFa is set to 0, and when the abnormality occurs in the pixel clock PIX_CLK, the value of the signal stop detection flag SFa is set to 1. Is set.

図4(b)に示すように、本実施の形態に係るトグル検出回路60aは、ピクセルクロックPIX_CLKの立ち上がりのタイミングで、カウンタリセット信号CRaをカウンタ62aに出力する。一方、カウンタ62aは、参照クロックREF_CLKの立ち上がりのタイミングで参照クロックREF_CLKの入力数を計数している。   As shown in FIG. 4B, the toggle detection circuit 60a according to the present embodiment outputs a counter reset signal CRa to the counter 62a at the rising timing of the pixel clock PIX_CLK. On the other hand, the counter 62a counts the number of inputs of the reference clock REF_CLK at the rising timing of the reference clock REF_CLK.

本実施の形態に係るカウンタ62aでは、ピクセルクロックPIX_CLKに異常がない場合には、カウンタ62aによる参照クロックREF_CLKの計数がカウンタリセット信号CRaによってリセット(初期化)されるので、ピクセルクロックPIX_CLKに異常がない場合のカウンタ62aの計数値CNaは、0又は1となる。CNa=1を正常とするのは、ジッタ等によりピクセルクロックPIX_CLKと参照クロックREF_CLKとの間のタイミングが瞬間的にずれる場合を許容するためである。   In the counter 62a according to the present embodiment, when there is no abnormality in the pixel clock PIX_CLK, the count of the reference clock REF_CLK by the counter 62a is reset (initialized) by the counter reset signal CRa, so that there is an abnormality in the pixel clock PIX_CLK. The count value CNa of the counter 62a when there is not is 0 or 1. The reason why CNa = 1 is normal is to allow a case where the timing between the pixel clock PIX_CLK and the reference clock REF_CLK is momentarily shifted due to jitter or the like.

一方、ピクセルクロックPIX_CLKに異常が発生し、停止した場合には、トグル検出回路60aからカウンタリセット信号CRaが発出されないので、カウンタ62aは、参照クロックREF_CLKの計数をリセットしない。したがって、カウンタ62aによる計数値は、1より大きな値となる。   On the other hand, when the pixel clock PIX_CLK is abnormal and stopped, the counter reset signal CRa is not issued from the toggle detection circuit 60a, so the counter 62a does not reset the count of the reference clock REF_CLK. Therefore, the count value by the counter 62a is a value larger than 1.

以上から、カウンタ62aにおける異常の有無の判定は、カウンタ62aにおける計数値CNaを用いた以下に示す(判定式1)にしたがって判定される。
(判定式1)
CNa=0又は1 ・・・ 正常
CNa>1 ・・・ 異常
From the above, the presence / absence of abnormality in the counter 62a is determined according to the following (determination formula 1) using the count value CNa in the counter 62a.
(Judgment formula 1)
CNa = 0 or 1 ・ ・ ・ Normal CNa> 1 ・ ・ ・ Abnormal

ここで、カウンタ62aのビット数は計数値CNaの最大値に設定すればよいから、本実施の形態では、たとえば1ビットとし、計数値CNaが2以上となったらオーバーフローするようにすればカウンタ62aは簡易な回路ですむ。その結果、信号監視回路10の回路規模を非常に小さくすることができる。   Here, since the number of bits of the counter 62a may be set to the maximum value of the count value CNa, in this embodiment, the counter 62a is set to 1 bit, for example, and overflows when the count value CNa becomes 2 or more. Is a simple circuit. As a result, the circuit scale of the signal monitoring circuit 10 can be greatly reduced.

また、信号停止検出フラグSFaの設定は、以下に示す(フラグ設定式1)にしたがって設定される。
(フラグ設定式1)
CNa=0又は1 ・・・ SFa=0
CNa>1 ・・・ SFa=1
The signal stop detection flag SFa is set according to the following (flag setting formula 1).
(Flag setting formula 1)
CNa = 0 or 1 ... SFa = 0
CNa> 1... SFa = 1

つぎに、図5を参照して、本実施の形態に係る水平同期信号停止検出回路52について説明する。図5(a)は、水平同期信号停止検出回路52の構成の一例を示す機能ブロック図であり、図5(b)は、水平同期信号H_SYNCの停止を検出する場合のタイムチャートである。図5(a)に示すように、水平同期信号停止検出回路52は、トグル検出回路60b、及びカウンタ62bを含んで構成されている。   Next, the horizontal synchronization signal stop detection circuit 52 according to the present embodiment will be described with reference to FIG. FIG. 5A is a functional block diagram showing an example of the configuration of the horizontal synchronization signal stop detection circuit 52, and FIG. 5B is a time chart when detecting the stop of the horizontal synchronization signal H_SYNC. As shown in FIG. 5A, the horizontal synchronization signal stop detection circuit 52 includes a toggle detection circuit 60b and a counter 62b.

トグル検出回路60bは、入力された被監視信号である水平同期信号H_SYNCの0と1(ロウレベルとハイレベル)とが反転するごとに状態を遷移させる回路、たとえばT−FFを備え、遷移させるタイミングにおいてカウンタ62bをリセットするためのカウンタリセット信号CRbを発生する。   The toggle detection circuit 60b includes a circuit that transitions the state every time the horizontal synchronization signal H_SYNC that is an input monitored signal is inverted between 0 and 1 (low level and high level), for example, T-FF, and the transition timing Generates a counter reset signal CRb for resetting the counter 62b.

カウンタ62bは、監視信号であるピクセルクロックPIX_CLKの0と1とが反転するタイミングで、ピクセルクロックPIX_CLKの入力数を計数する計数器である。
そして、カウンタ62bで計数された計数値が、予め定められた許容範囲内の場合には、水平同期信号H_SYNCに異常(停止)は発生していないと判定し、予め定められた許容範囲外の場合には、水平同期信号H_SYNCに異常(停止)が発生していると判定する。
The counter 62b is a counter that counts the number of input pixel clocks PIX_CLK at the timing at which 0 and 1 of the pixel clock PIX_CLK that is a monitoring signal are inverted.
Then, if the count value counted by the counter 62b is within a predetermined allowable range, it is determined that no abnormality (stop) has occurred in the horizontal synchronization signal H_SYNC, and is outside the predetermined allowable range. In this case, it is determined that an abnormality (stop) has occurred in the horizontal synchronization signal H_SYNC.

さらに、本実施の形態では、水平同期信号H_SYNCの異常の発生/非発生に応じて、信号停止検出フラグSFbの値が設定される。より具体的には、本実施の形態では、信号停止検出フラグSFbの初期値は0に設定されており、水平同期信号H_SYNCに異常が発生した場合には、信号停止検出フラグSFbの値が1に設定される。   Further, in the present embodiment, the value of the signal stop detection flag SFb is set in accordance with the occurrence / non-occurrence of the abnormality of the horizontal synchronization signal H_SYNC. More specifically, in the present embodiment, the initial value of the signal stop detection flag SFb is set to 0, and when an abnormality occurs in the horizontal synchronization signal H_SYNC, the value of the signal stop detection flag SFb is 1. Set to

図5(b)に示すように、本実施の形態に係るトグル検出回路60bは、水平同期信号H_SYNCの立ち下がりのタイミングで、カウンタリセット信号CRbをカウンタ62bに出力する。一方、カウンタ62bは、ピクセルクロックPIX_CLKの立ち上がりでピクセルクロックPIX_CLKの入力数を計数している。   As shown in FIG. 5B, the toggle detection circuit 60b according to the present embodiment outputs a counter reset signal CRb to the counter 62b at the falling timing of the horizontal synchronization signal H_SYNC. On the other hand, the counter 62b counts the number of input pixel clocks PIX_CLK at the rising edge of the pixel clock PIX_CLK.

本実施の形態に係るカウンタ62bでは、水平同期信号H_SYNCに異常がない場合には、カウンタ62bによる計数値CNbが所定の値Mになった時点で、カウンタリセット信号CRbによりカウンタ62bによるピクセルクロックPIX_CLKの計数がリセットされる。   In the counter 62b according to the present embodiment, when there is no abnormality in the horizontal synchronization signal H_SYNC, when the count value CNb by the counter 62b reaches a predetermined value M, the pixel clock PIX_CLK by the counter 62b is received by the counter reset signal CRb. The count is reset.

一方、水平同期信号H_SYNCに異常が発生し、停止した場合には、トグル検出回路60bからカウンタリセット信号CRb発出されないので、カウンタ62bは、ピクセルクロックPIX_CLKの計数をリセットしない。したがって、カウンタ62bによる計数値は、Mより大きな値となる。   On the other hand, when an abnormality occurs in the horizontal synchronization signal H_SYNC and stops, the counter detection signal CRb is not issued from the toggle detection circuit 60b, so the counter 62b does not reset the count of the pixel clock PIX_CLK. Therefore, the count value by the counter 62b is a value larger than M.

図6を参照して、カウンタ62bの動作と信号停止検出フラグSFbの設定動作について、より詳細に説明する。図6(a)は、トグル検出回路60bの入力信号である水平同期信号H_SYNCを、図6(b)は、カウンタ62bにおける計数値CNbを、図6(c)は、信号停止検出フラグSFbを、各々示している。図6(a)に示すように、水平同期信号H_SYNCのトグルが正常に行われた場合には、図6(b)に示すようにカウンタ62bの計数値CNbはMでリセットされる。この場合、図6(c)に示すように信号停止検出フラグSFbの値は0のままである。   With reference to FIG. 6, the operation of the counter 62b and the setting operation of the signal stop detection flag SFb will be described in more detail. 6A shows the horizontal synchronization signal H_SYNC that is an input signal of the toggle detection circuit 60b, FIG. 6B shows the count value CNb in the counter 62b, and FIG. 6C shows the signal stop detection flag SFb. , Each showing. As shown in FIG. 6A, when the horizontal synchronization signal H_SYNC is normally toggled, the count value CNb of the counter 62b is reset to M as shown in FIG. In this case, the value of the signal stop detection flag SFb remains 0 as shown in FIG.

一方、図6(a)に示すように、水平同期信号H_SYNCが停止して信号の欠落が発生すると、トグル検出回路60bからカウンタリセット信号CRbが発出しないので、図6(b)に示すようにカウンタ62bの計数値CNbはM+1以上となり、カウンタ62bのオーバーフローが発生する。図6(c)に示すように、このタイミングで信号停止検出フラグSFbの値が1とされ、信号停止検出フラグSFbがアクティブとされる。   On the other hand, as shown in FIG. 6 (a), when the horizontal synchronization signal H_SYNC is stopped and a signal loss occurs, the counter reset signal CRb is not issued from the toggle detection circuit 60b. The count value CNb of the counter 62b becomes M + 1 or more, and the counter 62b overflows. As shown in FIG. 6C, at this timing, the value of the signal stop detection flag SFb is set to 1, and the signal stop detection flag SFb is made active.

以上から、カウンタ62bにおける異常の有無の判定は、カウンタ62bにおける計数値CNbを用いた以下に示す(判定式2)にしたがって判定される。
(判定式2)
CNb≦M ・・・ 正常
CNb>M+1 ・・・ 異常
From the above, the presence / absence of abnormality in the counter 62b is determined according to the following (determination formula 2) using the count value CNb in the counter 62b.
(Judgment formula 2)
CNb ≦ M ... Normal CNb> M + 1 ... Abnormal

このように、本実施の形態では、比較的周波数の高いピクセルクロックPIX_CLKを監視信号とする場合には、画像表示用信号の中では周波数が高めの水平同期信号H_SYNCを被監視信号として選択することにより、つまり、監視信号の周波数に近い周波数を有する被監視信号を選択することにより、極力カウンタ62bのビット数を削減すようにしている。   Thus, in the present embodiment, when the pixel clock PIX_CLK having a relatively high frequency is used as the monitoring signal, the horizontal synchronization signal H_SYNC having a higher frequency is selected as the monitored signal among the image display signals. In other words, the number of bits of the counter 62b is reduced as much as possible by selecting a monitored signal having a frequency close to the frequency of the monitoring signal.

一方、信号停止検出フラグSFbの設定は、以下に示す(フラグ設定式2)にしたがって設定される。
(フラグ設定式2)
CNb≦M ・・・ SFb=0
CNb>M+1 ・・・ SFb=1
On the other hand, the signal stop detection flag SFb is set according to the following (flag setting formula 2).
(Flag setting formula 2)
CNb ≦ M... SFb = 0
CNb> M + 1... SFb = 1

つぎに、図7を参照して、本実施の形態に係るデータイネーブル信号停止検出回路54について説明する。図7(a)は、データイネーブル信号停止検出回路54の構成の一例を示す機能ブロック図であり、図7(b)は、データイネーブル信号DEの停止を検出する場合のタイムチャートである。図7(a)に示すように、データイネーブル信号停止検出回路54は、トグル検出回路60c、及びカウンタ62cを含んで構成されている。   Next, the data enable signal stop detection circuit 54 according to the present embodiment will be described with reference to FIG. FIG. 7A is a functional block diagram showing an example of the configuration of the data enable signal stop detection circuit 54, and FIG. 7B is a time chart when detecting the stop of the data enable signal DE. As shown in FIG. 7A, the data enable signal stop detection circuit 54 includes a toggle detection circuit 60c and a counter 62c.

トグル検出回路60cは、入力された被監視信号であるデータイネーブル信号DEの0と1(ロウレベルとハイレベル)とが反転するごとに状態を遷移させる回路、たとえばT−FFを備え、遷移させるタイミングにおいてカウンタ62cをリセットするためのカウンタリセット信号CRcを発生する。   The toggle detection circuit 60c includes a circuit for changing the state every time 0 and 1 (low level and high level) of the data enable signal DE that is an input monitored signal is inverted, for example, T-FF. Generates a counter reset signal CRc for resetting the counter 62c.

カウンタ62cは、監視信号である水平同期信号H_SYNCの0と1とが反転するタイミングで、水平同期信号H_SYNCの入力数を計数する計数器である。そして、カウンタ62cで計数された計数値が、予め定められた許容範囲内の場合には、データイネーブル信号DEに異常(停止)は発生していないと判定し、予め定められた許容範囲外の場合には、データイネーブル信号DEに異常(停止)が発生していると判定する。   The counter 62c is a counter that counts the number of inputs of the horizontal synchronization signal H_SYNC at a timing at which 0 and 1 of the horizontal synchronization signal H_SYNC that is a monitoring signal are inverted. If the count value counted by the counter 62c is within a predetermined allowable range, it is determined that an abnormality (stop) has not occurred in the data enable signal DE, and is outside the predetermined allowable range. In this case, it is determined that an abnormality (stop) has occurred in the data enable signal DE.

さらに、本実施の形態では、データイネーブル信号DEの異常の発生/非発生に応じて、信号停止検出フラグSFcの値が設定される。より具体的には、本実施の形態では、信号停止検出フラグSFcの初期値は0に設定されており、データイネーブル信号DEに異常が発生した場合には、信号停止検出フラグSFcの値が1に設定される。   Further, in the present embodiment, the value of the signal stop detection flag SFc is set according to the occurrence / non-occurrence of the abnormality of the data enable signal DE. More specifically, in the present embodiment, the initial value of the signal stop detection flag SFc is set to 0, and when an abnormality occurs in the data enable signal DE, the value of the signal stop detection flag SFc is set to 1. Set to

図7(b)に示すように、本実施の形態に係るトグル検出回路60cは、データイネーブル信号DEの垂直ブランキング期間Tvbの立ち下がりのタイミングで、カウンタリセット信号CRcをカウンタ62cに出力する。この際、垂直ブランキング期間Tvbの立ち下がりのタイミング以外の立ち下りにおけるカウンタリセット信号はマスキングされている。一方、カウンタ62cは、水平同期信号H_SYNCの立ち下がりのタイミングで水平同期信号H_SYNCの入力パルス数を計数している。   As shown in FIG. 7B, the toggle detection circuit 60c according to the present embodiment outputs the counter reset signal CRc to the counter 62c at the falling timing of the vertical blanking period Tvb of the data enable signal DE. At this time, the counter reset signal at the falling edge other than the falling timing of the vertical blanking period Tvb is masked. On the other hand, the counter 62c counts the number of input pulses of the horizontal synchronization signal H_SYNC at the falling timing of the horizontal synchronization signal H_SYNC.

本実施の形態に係るカウンタ62cでは、データイネーブル信号DEに異常がない場合には、カウンタ62cによる計数値CNcが所定の値N1になった時点で、カウンタリセット信号CRcによりカウンタ62cによる水平同期信号H_SYNCの計数がリセットされる。   In the counter 62c according to the present embodiment, when there is no abnormality in the data enable signal DE, the horizontal synchronization signal by the counter 62c is received by the counter reset signal CRc when the count value CNc by the counter 62c becomes a predetermined value N1. The H_SYNC count is reset.

一方、データイネーブル信号DEに異常が発生し、停止した場合には、トグル検出回路60cからカウンタリセット信号CRc発出されないので、カウンタ62cは、水平同期信号H_SYNCの計数をリセットしない。したがって、カウンタ62cによる計数値は、N1より大きな値となる。カウンタ62cの動作と信号停止検出フラグSFcの設定動作は、図6で説明した内容と同様であるので説明を省略する。   On the other hand, if an abnormality occurs in the data enable signal DE and the operation is stopped, the counter reset signal CRc is not issued from the toggle detection circuit 60c, so the counter 62c does not reset the count of the horizontal synchronization signal H_SYNC. Therefore, the count value by the counter 62c is a value larger than N1. The operation of the counter 62c and the setting operation of the signal stop detection flag SFc are the same as the contents described with reference to FIG.

以上から、カウンタ62cにおける異常の有無の判定は、カウンタ62cにおける計数値CNcを用いた以下に示す(判定式3)にしたがって判定される。
(判定式3)
CNc≦N1 ・・・ 正常
CNc>N1+1 ・・・ 異常
From the above, the presence / absence of abnormality in the counter 62c is determined according to the following (determination formula 3) using the count value CNc in the counter 62c.
(Judgment formula 3)
CNc ≦ N1 ・ ・ ・ Normal CNc> N1 + 1 ・ ・ ・ Abnormal

また、信号停止検出フラグSFcの設定は、以下に示す(フラグ設定式3)にしたがって設定される。
(フラグ設定式3)
CNc≦N1 ・・・ SFc=0
CNc>N1+1 ・・・ SFc=1
The signal stop detection flag SFc is set according to the following (flag setting formula 3).
(Flag setting formula 3)
CNc ≦ N1... SFc = 0
CNc> N1 + 1... SFc = 1

なお、上記実施の形態に係るトグル検出回路60cでは、データイネーブル信号DEの垂直ブランキング期間Tvbの立ち下がりのタイミングで、カウンタリセット信号CRcをカウンタ62cに出力する形態を例示して説明したが、これに限られない。たとえば、データイネーブル信号DEのすべての立ち下りのタイミングでカウンタリセット信号CRcをカウンタ62cに出力する形態としてもよい。   In the toggle detection circuit 60c according to the above-described embodiment, the counter reset signal CRc is output to the counter 62c at the falling timing of the vertical blanking period Tvb of the data enable signal DE. It is not limited to this. For example, the counter reset signal CRc may be output to the counter 62c at every falling timing of the data enable signal DE.

この場合、水平同期信号H_SYNCの周波数と、水平同期信号H_SYNCに対応する部分のデータイネーブル信号DEの周波数とは同じであるので、基本的に、水平同期信号H_SYNCはパルスごとにカウンタリセット信号CRcによりリセットされる。ただし、垂直ブランキング期間Tvbでは、データイネーブル信号DEが正常であっても水平同期信号H_SYNCが計数されるので、この計数値をN2とすれば、カウンタ62cにおける異常の有無の判定は、カウンタ62cにおける計数値CNcを用いた以下に示す(判定式4)にしたがって判定される。
(判定式4)
CNc≦N2 ・・・ 正常
CNc>N2+1 ・・・ 異常
In this case, since the frequency of the horizontal synchronization signal H_SYNC and the frequency of the data enable signal DE corresponding to the horizontal synchronization signal H_SYNC are the same, the horizontal synchronization signal H_SYNC is basically determined by the counter reset signal CRc for each pulse. Reset. However, in the vertical blanking period Tvb, even if the data enable signal DE is normal, the horizontal synchronization signal H_SYNC is counted. Therefore, if this count value is N2, the determination of the presence or absence of abnormality in the counter 62c is made by the counter 62c. Is determined according to the following (determination formula 4) using the count value CNc.
(Judgment formula 4)
CNc ≦ N2 ・ ・ ・ Normal CNc> N2 + 1 ・ ・ ・ Abnormal

また、信号停止検出フラグSFcの設定は、以下に示す(フラグ設定式4)にしたがって設定される。
(フラグ設定式4)
CNc≦N2 ・・・ SFc=0
CNc>N2+1 ・・・ SFc=1
The signal stop detection flag SFc is set according to the following (flag setting formula 4).
(Flag setting formula 4)
CNc ≦ N2... SFc = 0
CNc> N2 + 1... SFc = 1

上記のようにトグル検出回路60cを構成すると、一般的にN2<N1であるので、さらにカウンタ62cのビット数を小さくすることができ、その結果さらに信号監視回路10の回路規模を削減することが可能となる。   When the toggle detection circuit 60c is configured as described above, generally, N2 <N1, so that the number of bits of the counter 62c can be further reduced, and as a result, the circuit scale of the signal monitoring circuit 10 can be further reduced. It becomes possible.

以上詳述したように、本実施の形態に係る信号監視回路によれば、3つの信号停止検出回路(ピクセルクロック停止検出回路、水平同期信号停止検出回路、データイネーブル信号停止検出回路)が従属して接続され、最初の信号停止検出回路では故障が発生していない参照ロックを監視信号とし、2段目以降の信号停止検出回路では、前段で故障のないことが確認された信号を監視信号として各信号の監視を行っている。したがって、監視信号と被監視信号の故障の切り分け(いずれが故障しているかの区別)が可能となる。   As described above in detail, according to the signal monitoring circuit of this embodiment, three signal stop detection circuits (pixel clock stop detection circuit, horizontal synchronization signal stop detection circuit, and data enable signal stop detection circuit) are subordinate. In the first signal stop detection circuit, the reference lock in which no failure has occurred is used as a monitoring signal, and in the second and subsequent signal stop detection circuits, a signal that has been confirmed to have no failure in the previous stage is used as a monitoring signal. Each signal is monitored. Therefore, it becomes possible to distinguish between the failure of the monitoring signal and the monitored signal (distinguish which is broken).

また、本実施の形態に係る信号監視回路によれば、監視信号として、被監視信号の周波数に近い周波数を有する信号を選択しているので、被監視信号のパルス数を計数するカウンタの最大ビット数が少なくてすみ、その結果半導体装置の回路規模を削減することが可能となる。   Further, according to the signal monitoring circuit according to the present embodiment, since a signal having a frequency close to the frequency of the monitored signal is selected as the monitoring signal, the maximum bit of the counter that counts the number of pulses of the monitored signal The number can be reduced, and as a result, the circuit scale of the semiconductor device can be reduced.

なお、上記実施の形態では、ピクセルクロックPIX_CLK、水平同期信号H_SYNC、及びデータイネーブル信号DEの3つの信号を被監視信号とする形態を例示して説明したが、これに限られず、これらのうちのいずれか2つとしてもよいし、あるいは、たとえば垂直同期信号V_SYNC等を加えて、監視信号を4つ以上としてもよい。また、被監視信号と監視信号との組み合わせも上記実施の形態に限定されることなく、許容されるカウンタの最大ビット数等に応じて他の組み合わせとしてもよい。   In the above-described embodiment, an example in which the three signals of the pixel clock PIX_CLK, the horizontal synchronization signal H_SYNC, and the data enable signal DE are used as the monitored signals has been described. However, the present invention is not limited to this. Either two may be used, or four or more monitoring signals may be added by adding, for example, a vertical synchronization signal V_SYNC. Further, the combination of the monitored signal and the monitoring signal is not limited to the above-described embodiment, and other combinations may be used according to the maximum number of bits of the allowed counter.

1 表示システム
10 信号監視回路
12 画像表示装置
14 カメラ
16 LCD
18 画像処理部
20 LCD I/F
22 クロック源
24 MCU
50 ピクセルクロック停止検出回路
52 水平同期信号停止検出回路
54 データイネーブル信号停止検出回路
60 トグル検出回路
62 カウンタ
100 信号監視回路
160 LCD
200 LCD I/F
240 MCU
520 水平同期信号停止検出回路
540 データイネーブル信号停止検出回路
PIX_CLK ピクセルクロック
H_SYNC 水平同期信号
DE データイネーブル信号
CR カウンタリセット信号
CN 計数値
SF 信号停止検出フラグ
Tv 垂直走査期間
Tvd 垂直データ有効期間
Tvb 垂直ブランキング期間
Th 水平走査期間
Thd 水平データ有効期間
Thb 水平ブランキング期間
DESCRIPTION OF SYMBOLS 1 Display system 10 Signal monitoring circuit 12 Image display apparatus 14 Camera 16 LCD
18 Image processing unit 20 LCD I / F
22 Clock source 24 MCU
50 pixel clock stop detection circuit 52 horizontal synchronization signal stop detection circuit 54 data enable signal stop detection circuit 60 toggle detection circuit 62 counter 100 signal monitoring circuit 160 LCD
200 LCD I / F
240 MCU
520 Horizontal synchronization signal stop detection circuit 540 Data enable signal stop detection circuit PIX_CLK Pixel clock H_SYNC Horizontal synchronization signal DE Data enable signal CR Counter reset signal CN Count value SF Signal stop detection flag Tv Vertical scanning period Tvd Vertical data valid period Tvb Vertical blanking Period Th Horizontal scanning period Thd Horizontal data valid period Thb Horizontal blanking period

Claims (8)

N個(Nは以上の整数)の故障検出部を備え、
第1の故障検出部は、クロック源で生成された基準クロックを監視信号として被監視信号である第1の信号の故障を検出し、
第i(iは、2≦i≦Nの整数)の故障検出部は、第(i−1)の信号を監視信号として被監視信号である第iの信号の故障を検出する
半導体装置。
N fault detection units (N is an integer of 3 or more),
The first failure detection unit detects a failure of the first signal which is a monitored signal using the reference clock generated by the clock source as a monitoring signal,
An i-th (i is an integer of 2 ≦ i ≦ N) failure detection unit detects a failure of an i-th signal, which is a monitored signal, using the (i−1) -th signal as a monitoring signal.
前記第1の故障検出部ないし第Nの故障検出部の各々における監視信号は、当該故障検出部の被監視信号の周波数と近い周波数を有する信号から選択された
請求項1に記載の半導体装置。
The semiconductor device according to claim 1, wherein the monitoring signal in each of the first failure detection unit to the Nth failure detection unit is selected from signals having a frequency close to the frequency of the monitored signal of the failure detection unit.
前記第1の故障検出部ないし第Nの故障検出部の各々は、監視信号の入力数を計数するカウンタ、及び被監視信号のトグルを検出するとともに前記カウンタの計数を初期化させるリセット信号を生成するトグル検出部を備える
請求項1又は請求項2に記載の半導体装置。
Each of the first failure detection unit to the Nth failure detection unit generates a counter for counting the number of monitoring signal inputs and a reset signal for detecting a toggle of the monitored signal and initializing the counting of the counter. The semiconductor device according to claim 1, further comprising a toggle detection unit.
前記カウンタの各々は、前記被監視信号に故障が発生して前記リセット信号の生成が停止したことにより前記カウンタにオーバーフローが発生した場合に、前記被監視信号に故障が発生したことを報知する報知部を備える
請求項3に記載の半導体装置。
Each of the counters notifies that a failure has occurred in the monitored signal when an overflow has occurred in the counter due to the occurrence of a failure in the monitored signal and the generation of the reset signal being stopped. The semiconductor device according to claim 3.
請求項1〜請求項4のいずれか1項に記載の半導体装置と、
対象物の映像を取得し映像信号を出力する撮像部と、
前記映像信号と合成する合成用映像信号を生成する情報処理部と、
前記映像信号又は前記映像信号と前記合成用映像信号とを合成した合成映像信号を表示部に表示させるための画像データに変換する表示制御部と、
前記表示制御部を制御する前記基準クロックを生成する前記クロック源と、
前記画像データに基づいて画像を表示する表示部と、を備え、
前記第1の信号ないし第Nの信号の各々は、前記表示制御部から出力される複数の画像表示用信号のいずれかである
表示システム。
The semiconductor device according to any one of claims 1 to 4,
An imaging unit for acquiring an image of an object and outputting a video signal;
An information processing unit for generating a composite video signal to be combined with the video signal;
A display control unit that converts the video signal or a synthesized video signal obtained by synthesizing the video signal and the synthesis video signal into image data for display on a display unit;
The clock source for generating the reference clock for controlling the display control unit;
A display unit that displays an image based on the image data,
Each of the first signal to the Nth signal is one of a plurality of image display signals output from the display control unit.
請求項4に記載の半導体装置と、
対象物の映像を取得し映像信号を出力する撮像部と、
前記映像信号と合成する合成用映像信号を生成する情報処理部と、
前記映像信号又は前記映像信号と前記合成用映像信号とを合成した合成映像信号を表示部に表示させるための画像データに変換する表示制御部と、
前記表示制御部を制御する前記基準クロックを生成する前記クロック源と、
前記画像データに基づいて画像を表示する表示部と、を備え、
前記第1の信号ないし第Nの信号の各々は、前記表示制御部から出力される複数の画像表示用信号のいずれかであり、
前記表示制御部は、前記報知部からの報知に基づいて前記表示部での画像の表示を停止させる
表示システム。
A semiconductor device according to claim 4;
An imaging unit for acquiring an image of an object and outputting a video signal;
An information processing unit for generating a composite video signal to be combined with the video signal;
A display control unit that converts the video signal or a synthesized video signal obtained by synthesizing the video signal and the synthesis video signal into image data for display on a display unit;
The clock source for generating the reference clock for controlling the display control unit;
A display unit that displays an image based on the image data,
Each of the first signal to the Nth signal is one of a plurality of image display signals output from the display control unit,
The display control unit stops display of an image on the display unit based on notification from the notification unit.
前記半導体装置は3個の故障検出部を備え、
前記第1の信号はピクセルクロックであり、前記第2の信号は水平同期信号であり、前記第3の信号はデータイネーブル信号である
請求項5又は請求項6に記載の表示システム。
The semiconductor device includes three failure detection units,
The display system according to claim 5, wherein the first signal is a pixel clock, the second signal is a horizontal synchronization signal, and the third signal is a data enable signal.
N個(Nは以上の整数)の故障検出部を備えた信号監視装置による信号監視方法であって、
第1の故障検出部により、クロック源で生成された基準クロックを監視信号として被監視信号である第1の信号の故障を検出し、
第i(iは、2≦i≦Nの整数)の故障検出部により、第(i−1)の信号を監視信号として被監視信号である第iの信号の故障を検出する
信号監視方法。
A signal monitoring method by a signal monitoring device provided with N (N is an integer of 3 or more) failure detection units,
The first failure detection unit detects a failure of the first signal that is a monitored signal using the reference clock generated by the clock source as a monitoring signal,
A signal monitoring method in which a failure detection unit of an i-th (i is an integer of 2 ≦ i ≦ N) detects a failure of an i-th signal as a monitored signal using the (i−1) -th signal as a monitoring signal.
JP2015107180A 2015-05-27 2015-05-27 Semiconductor device, display system, and signal monitoring method Active JP6563250B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015107180A JP6563250B2 (en) 2015-05-27 2015-05-27 Semiconductor device, display system, and signal monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015107180A JP6563250B2 (en) 2015-05-27 2015-05-27 Semiconductor device, display system, and signal monitoring method

Publications (2)

Publication Number Publication Date
JP2016225685A JP2016225685A (en) 2016-12-28
JP6563250B2 true JP6563250B2 (en) 2019-08-21

Family

ID=57748572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015107180A Active JP6563250B2 (en) 2015-05-27 2015-05-27 Semiconductor device, display system, and signal monitoring method

Country Status (1)

Country Link
JP (1) JP6563250B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7119948B2 (en) 2018-11-28 2022-08-17 セイコーエプソン株式会社 Circuit devices, electro-optical devices, electronic devices and moving bodies

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54158209A (en) * 1978-06-02 1979-12-13 Nippon Gakki Seizo Kk Pcm type recording and reproducing apparatus
JPH08254969A (en) * 1995-03-17 1996-10-01 Hitachi Ltd Liquid crystal display device
JP2007318558A (en) * 2006-05-26 2007-12-06 Fujitsu Ten Ltd Image processor
JP5241361B2 (en) * 2008-07-22 2013-07-17 ラピスセミコンダクタ株式会社 Fail-safe circuit and control circuit

Also Published As

Publication number Publication date
JP2016225685A (en) 2016-12-28

Similar Documents

Publication Publication Date Title
KR101319088B1 (en) Picture Mode Controller for Flat Panel and Flat Panel Display Device Including the same
US7719614B2 (en) Apparatus and method for converting frame rate without external memory in display system
US20060092100A1 (en) Display controlling device and controlling method
US10070018B2 (en) Device for vertical and horizontal synchronization in display system
US9344607B2 (en) Method and device for synchronizing an image display in a motor vehicle
JP6563250B2 (en) Semiconductor device, display system, and signal monitoring method
JP3442322B2 (en) Display device and driving method thereof
CN107317980B (en) Semiconductor device, image display system, and image signal output method
US20060066593A1 (en) Phase-tolerant pixel rendering of high-resolution analog video
US20080278465A1 (en) Dot clock generating circuit, semiconductor device, and dot clock generating method
US7576771B1 (en) Method and apparatus of providing video synchronization
US7280091B2 (en) Analog front-end circuit for digital displaying apparatus and control method thereof
JP6128901B2 (en) Video processing apparatus, control method therefor, timing generator, and synchronization signal generation method
US8457213B2 (en) Video system and scaler
US7599005B2 (en) Method for synchronizing video signals
JP4472098B2 (en) Synchronization signal processing circuit and display device
JP6634586B2 (en) Signal transceiver
KR100792399B1 (en) Apparatus and method for preventing noise of image display device
US11184530B2 (en) Drive substrate for camera and broadcast camera
JP2018019284A (en) Video receiver
WO2012157650A1 (en) Image processing apparatus
JP2005142624A (en) Digital signal processing apparatus
JP5498088B2 (en) Video processing apparatus and video processing method
JP2023167637A (en) Display device and display control method
JP3751910B2 (en) Vertical synchronous reproduction circuit and vertical synchronous reproduction method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190108

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190311

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190426

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190724

R150 Certificate of patent or registration of utility model

Ref document number: 6563250

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150