JP6843543B2 - Microprocessors, methods of inspecting external circuits in microprocessors, and programs - Google Patents

Microprocessors, methods of inspecting external circuits in microprocessors, and programs Download PDF

Info

Publication number
JP6843543B2
JP6843543B2 JP2016151294A JP2016151294A JP6843543B2 JP 6843543 B2 JP6843543 B2 JP 6843543B2 JP 2016151294 A JP2016151294 A JP 2016151294A JP 2016151294 A JP2016151294 A JP 2016151294A JP 6843543 B2 JP6843543 B2 JP 6843543B2
Authority
JP
Japan
Prior art keywords
input
output port
voltage
external circuit
inspection
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
JP2016151294A
Other languages
Japanese (ja)
Other versions
JP2018022227A5 (en
JP2018022227A (en
Inventor
啓二 原田
啓二 原田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2016151294A priority Critical patent/JP6843543B2/en
Publication of JP2018022227A publication Critical patent/JP2018022227A/en
Publication of JP2018022227A5 publication Critical patent/JP2018022227A5/ja
Application granted granted Critical
Publication of JP6843543B2 publication Critical patent/JP6843543B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、双方向入出力ポートに接続される外部回路の状態を自己検査する技術に関する。 The present invention relates to a technique for self-inspecting the state of an external circuit connected to a bidirectional input / output port.

双方向入出力ポート(以下、単に入出力ポートという)に接続される受動部品の自己検査をする手法が、特許文献1に開示されている。特許文献1に記載された検査手法では、出力ポートからHigh/Lowレベルを出力した時に、入力ポートにおいて両ポートの間に配置された外部回路の特性に応じた位相変化が得られるかどうかを判定する。 Patent Document 1 discloses a method for self-inspecting a passive component connected to a bidirectional input / output port (hereinafter, simply referred to as an input / output port). In the inspection method described in Patent Document 1, when a High / Low level is output from an output port, it is determined whether or not a phase change can be obtained at the input port according to the characteristics of an external circuit arranged between the two ports. To do.

特開2011−043440号公報Japanese Unexamined Patent Publication No. 2011-043440

特許文献1に記載された手法はGNDショート以外の状態も検出することができるが、入力ポートと出力ポートとを別個に設ける必要があり、さらに検査時には両ポートを装置外部でショートしなければならず、複雑な構成を必要とする。そこで、本発明は、入出力ポートに接続される外部回路の電気的特性や状態を簡易な構成で検査することができるマイクロプロセッサ、検査方法、及びプログラムを提供することを目的とする。 The method described in Patent Document 1 can detect states other than GND shorts, but it is necessary to provide an input port and an output port separately, and both ports must be shorted outside the device at the time of inspection. However, it requires a complicated configuration. Therefore, an object of the present invention is to provide a microprocessor, an inspection method, and a program capable of inspecting the electrical characteristics and states of an external circuit connected to an input / output port with a simple configuration.

本発明によるマイクロプロセッサは、入出力ポートを備え、当該入出力ポートに接続される外部回路を検査可能なマイクロプロセッサであって、特定レベルの電圧を出力中である前記入出力ポートの電圧出力をオフにした後、前記入出力ポートの電圧を一定の間隔で監視する監視手段と、前記監視手段で監視された電圧が所定の閾値を超えたか否かを検査する検査手段と、前記入出力ポートに前記外部回路が接続されていない場合に得られる検査結果を校正値として用いて、前記入出力ポートに前記外部回路が接続されている場合に得られる前記検査結果を校正する校正手段と、を有し、前記校正手段によって校正されたデータ列における1と0との分布状況に基づき、前記外部回路の電気的特性に加えて、少なくとも前記入出力ポートのGNDショート、オープン、及び前記外部回路の接続の有無が判定されることを特徴とする。 The microprocessor according to the present invention is a microprocessor having an input / output port and capable of inspecting an external circuit connected to the input / output port, and outputs a voltage of the input / output port that is outputting a specific level of voltage. After turning off, a monitoring means that monitors the voltage of the input / output port at regular intervals, an inspection means that inspects whether the voltage monitored by the monitoring means exceeds a predetermined threshold, and the input / output port. A calibration means for calibrating the inspection result obtained when the external circuit is connected to the input / output port by using the inspection result obtained when the external circuit is not connected to the input / output port. Based on the distribution of 1s and 0s in the data string calibrated by the calibration means, in addition to the electrical characteristics of the external circuit, at least the GND short, open, and the external circuit of the input / output port. It is characterized in that the presence / absence of connection is determined.

本発明によれば、マイクロプロセッサの入出力ポートに接続される外部回路の電気的特性や状態を簡易な構成で検査することができる。 According to the present invention, it is possible to inspect the electrical characteristics and state of an external circuit connected to an input / output port of a microprocessor with a simple configuration.

本発明の第1の実施例に係るマイクロプロセッサのハードウエア構成の一例を示すブロック図である。It is a block diagram which shows an example of the hardware configuration of the microprocessor which concerns on 1st Embodiment of this invention. 図1に示す入出力ポートの構成の一例を示す図である。It is a figure which shows an example of the configuration of the input / output port shown in FIG. 検査電圧波形の一例を示す図である。It is a figure which shows an example of the inspection voltage waveform. 第1の実施例における検査フローを示す図である。It is a figure which shows the inspection flow in 1st Example. 被検査回路の一例を示す図である。It is a figure which shows an example of the circuit to be inspected. 所定数のサンプルに対して図4に示す検査フローを実行した場合における、検出回数の分布を説明するための図である。It is a figure for demonstrating the distribution of the number of detections when the inspection flow shown in FIG. 4 is executed with respect to a predetermined number of samples. 校正値の取得フローを示す図である。It is a figure which shows the acquisition flow of the calibration value. 検査結果の判定フローを示す図である。It is a figure which shows the determination flow of the inspection result. インクジェットプリンタのプリンタユニットの一例を示す図である。It is a figure which shows an example of the printer unit of an inkjet printer. 制御基板の構成の一例を示すブロック図である。It is a block diagram which shows an example of the structure of a control board. フィルタ回路が接続された制御基板の一例を示す図である。It is a figure which shows an example of the control board to which a filter circuit is connected.

以下、本発明を実施するための形態について図面を用いて説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

[実施例1]
図1は、本発明の第1の実施例に係るマイクロプロセッサのハードウエア構成の一例を示すブロック図である。第1の実施例に係るマイクロプロセッサ(MPU)10は、CPU104と、タイマ105と、カウンタ106と、入出力ポート107と、入出力ポート108とを備える。MPU10は、さらに、後述するウェイト時間を記憶するメモリ101と、後述するデータ列を記憶するメモリ102と、後述する、検査電圧の読み込み回数の設定値を記憶するメモリ103とを備える。
[Example 1]
FIG. 1 is a block diagram showing an example of a hardware configuration of a microprocessor according to a first embodiment of the present invention. The microprocessor (MPU) 10 according to the first embodiment includes a CPU 104, a timer 105, a counter 106, an input / output port 107, and an input / output port 108. The MPU 10 further includes a memory 101 for storing the wait time described later, a memory 102 for storing the data string described later, and a memory 103 for storing the set value of the number of times the inspection voltage is read, which will be described later.

入出力ポート107には、被検査回路として、抵抗110とコンデンサ111とが接続されている。なお、図1に示される被検査回路は一例であって、入出力ポート107にはその他の被検査回路が接続されていてもよい。一方、入出力ポート108には何も接続されていない。入出力ポート108は、本実施例では、後述するようにMPU10の固有特性を取得するために用いられる。後述するように本実施例のMPUは、入出力ポートを備え、入出力ポートに接続される外部回路を検査することが可能である。 A resistor 110 and a capacitor 111 are connected to the input / output port 107 as a circuit to be inspected. The circuit to be inspected shown in FIG. 1 is an example, and other circuits to be inspected may be connected to the input / output port 107. On the other hand, nothing is connected to the input / output port 108. In this embodiment, the input / output port 108 is used to acquire the unique characteristics of the MPU 10, as will be described later. As will be described later, the MPU of this embodiment has an input / output port and can inspect an external circuit connected to the input / output port.

図2は、図1に示す入出力ポート107,108の構成の一例を示す図である。図2(a)には、入出力ポート108の構成が示されている。図2(b)には、入出力ポート107の構成が示されている。図2(a),(b)に示すように、入出力ポート107,108の構成は同じであり、それぞれ、出力バッファ201と、入力バッファ202と、プルダウン抵抗203とを含む。出力バッファ201は、出力ディセーブル機能を有し、出力のオンとオフとを制御可能である。本実施例では、出力バッファ201と入力バッファ202とを図2に示すように接続することで、入力と出力との両方の機能を備えた入出力バッファを構成する。上述したように、入出力ポート107には、抵抗110とコンデンサ111とが接続されるが、入出力ポート108には、何も接続されない。 FIG. 2 is a diagram showing an example of the configuration of the input / output ports 107 and 108 shown in FIG. FIG. 2A shows the configuration of the input / output port 108. FIG. 2B shows the configuration of the input / output port 107. As shown in FIGS. 2A and 2B, the I / O ports 107 and 108 have the same configuration, and include an output buffer 201, an input buffer 202, and a pull-down resistor 203, respectively. The output buffer 201 has an output disable function and can control whether the output is on or off. In this embodiment, the output buffer 201 and the input buffer 202 are connected as shown in FIG. 2 to form an input / output buffer having both input and output functions. As described above, the resistor 110 and the capacitor 111 are connected to the input / output port 107, but nothing is connected to the input / output port 108.

入出力ポート107,108は、周辺デバイスとのインターフェースとして使用される、汎用性が高いポートである。図1には、2つの入出力ポート107,108が例示されているが、通常、MPUには多数の入出力ポートが用意されていて、各入出力ポートは例えば、モータドライバICに対して制御信号を出力したり、センサやスイッチの電圧レベルを読み込んだりする。 Input / output ports 107 and 108 are highly versatile ports used as interfaces with peripheral devices. Although two input / output ports 107 and 108 are illustrated in FIG. 1, a large number of input / output ports are usually prepared in the MPU, and each input / output port is controlled by, for example, a motor driver IC. It outputs signals and reads voltage levels of sensors and switches.

図3は、検査電圧波形の一例を示す図である。Vp(t)は、図2に示すVpラインにおける電圧(以下、検査電圧という)の電圧値の時間変化を示す。tは、経過時間を示す。 FIG. 3 is a diagram showing an example of the inspection voltage waveform. Vp (t) indicates the time change of the voltage value of the voltage (hereinafter referred to as the inspection voltage) in the Vp line shown in FIG. t indicates the elapsed time.

まず、t0において、図2に示す出力バッファ201からHighレベルの電圧が出力される。そのため、t0におけるVp(t)は3.3Vとなる。なお、3.3Vは一例であり、他の電圧値でも良い。なお、Highレベルの電圧を、特定レベルの電圧と呼ぶこともある。 First, at t 0 , a high level voltage is output from the output buffer 201 shown in FIG. Therefore, Vp (t) at t 0 is 3.3V. Note that 3.3V is an example, and other voltage values may be used. The high level voltage may be referred to as a specific level voltage.

次に、t1において、出力バッファ201の出力(電圧出力)がディセーブルに設定される。そのため、t1におけるVp(t)は、時間経過とともに図2に示すプルダウン抵抗203と被検査回路(抵抗110及びコンデンサ111)とからなる時定数に応じて徐々に垂下する。 Next, at t 1 , the output (voltage output) of the output buffer 201 is disabled. Therefore, Vp (t) at t 1 gradually hangs down with the passage of time according to the time constant including the pull-down resistor 203 and the circuit to be inspected (resistor 110 and capacitor 111) shown in FIG.

CPU104は、t1以降におけるVp(t)を監視する。具体的には、CPU104は、図2に示す入力バッファ202を用いて一定の間隔でVp(t)を繰り返し読み出す。そして、CPU104は、監視結果に基づき検査の合否を判定する。 The CPU 104 monitors Vp (t) after t 1. Specifically, the CPU 104 repeatedly reads Vp (t) at regular intervals using the input buffer 202 shown in FIG. Then, the CPU 104 determines the pass / fail of the inspection based on the monitoring result.

Vthは、入力バッファ202の読み値が、0(Lowレベル)であるか1(Highレベル)であるかを判定するための閾値である。本実施例では、図3の下図に示されるように、各読み出しタイミングにおける、入力バッファ202の読み値を0または1としてデータ列301に格納する。当該データ列301は、メモリ102に格納される。t2は、Vp(t)がこのVthと交差する時間を示す。 Vth is a threshold value for determining whether the reading value of the input buffer 202 is 0 (Low level) or 1 (High level). In this embodiment, as shown in the lower figure of FIG. 3, the reading value of the input buffer 202 at each read timing is stored in the data string 301 as 0 or 1. The data string 301 is stored in the memory 102. t 2 indicates the time when Vp (t) intersects this Vth.

図3に示す例では、入力バッファ202の読み値として、t1からt2まで1が4回検出され、t2以降は0が検出される。CPU104は、検出された回数(ここでは、4)を判定値と比較することで被検査回路の状態を判断する。なお、判定値は、予め実験的に求めプログラムROM(不図示)に保存されている。 In the example shown in FIG. 3, 1 is detected four times from t 1 to t 2 as the reading value of the input buffer 202, and 0 is detected after t 2. The CPU 104 determines the state of the circuit to be inspected by comparing the number of detections (here, 4) with the determination value. The determination value is experimentally obtained in advance and stored in the program ROM (not shown).

図4は、第1の実施例における検査フローを示す図である。本実施例では、MPU10(具体的にはCPU104)が被検査回路に対して信号出力を行い、当該信号出力に対する被検査回路特有の反応をMPU10が検出する。 FIG. 4 is a diagram showing an inspection flow in the first embodiment. In this embodiment, the MPU 10 (specifically, the CPU 104) outputs a signal to the circuit to be inspected, and the MPU 10 detects a reaction peculiar to the circuit to be inspected to the signal output.

まず、MPU10は、カウンタ106が記憶する読み出し回数Nを1に初期化する(ステップS401)。 First, the MPU 10 initializes the read count N stored in the counter 106 to 1 (step S401).

次に、MPU10は、出力バッファ201からHighレベルの電圧を出力する(ステップS402)。そして、MPU10は、Vpラインの電圧がHighレベル(ここでは、3.3V)になるまで一定時間ウェイトして、出力バッファ201をディセーブル(非駆動)状態にする(ステップS403)。 Next, the MPU 10 outputs a high level voltage from the output buffer 201 (step S402). Then, the MPU 10 waits for a certain period of time until the voltage of the Vp line reaches the High level (here, 3.3 V) to disable (non-drive) the output buffer 201 (step S403).

次に、MPU10は、タイマ105を用いて、予め設定されたウェイト時間が経過するまでウェイトする(ステップS404)。本実施例では、上記ウェイト時間を示す情報が予めメモリ101に格納される。そして、MPU10は、入力バッファ202から現時点tの信号レベルを読み出す(ステップS405)。このとき、Vp(t)が上記閾値を超えていれば、MPU10は、信号レベルを1(Highレベル)と判断する。Vp(t)が上記閾値以下であれば、MPU10は、信号レベルを0(Lowレベル)と判断する。そして、MPU10は、信号レベルの読み値をメモリ102に格納されたデータ列のNビット目(最下位ビット(LSB:Least Significant Bit)から数えてNビット目)に書き込む(ステップS406)。 Next, the MPU 10 waits using the timer 105 until a preset wait time elapses (step S404). In this embodiment, the information indicating the wait time is stored in the memory 101 in advance. Then, the MPU 10 reads the signal level at the present time t from the input buffer 202 (step S405). At this time, if Vp (t) exceeds the above threshold value, the MPU 10 determines that the signal level is 1 (High level). If Vp (t) is equal to or less than the above threshold value, the MPU 10 determines that the signal level is 0 (Low level). Then, the MPU 10 writes the reading value of the signal level to the Nth bit (the Nth bit counting from the least significant bit (LSB)) of the data string stored in the memory 102 (step S406).

次に、MPU10は、読み込み回数Nが予め定められた設定値に達しているかどうかを判断する(ステップS407)。なお、設定値を示す情報は予めメモリ103に格納されている。読み込み回数Nが設定値に達していない場合は(ステップS407のNo)、MPU10は、読み込み回数Nを1インクリメントしてステップS404の処理に戻る。読み込み回数Nが設定値に達している場合は(ステップS407のYes)、MPU10はステップS408の処理に進む。 Next, the MPU 10 determines whether or not the number of readings N has reached a predetermined set value (step S407). Information indicating the set value is stored in the memory 103 in advance. If the read count N has not reached the set value (No in step S407), the MPU 10 increments the read count N by 1 and returns to the process of step S404. If the number of readings N has reached the set value (Yes in step S407), the MPU 10 proceeds to the process of step S408.

最後に、MPU10は、メモリ102に格納されたデータ列において、LSB(図3の301の一番左端)から連続して1が格納されているビット数をカウントし、当該ビット数を検査結果として取得する(ステップS408)。このように、本実施例では、入力バッファ202の読み値が1から0に切り替わるまでに行われた読み出し回数が検査結果として取得される。 Finally, the MPU 10 counts the number of bits in which 1 is continuously stored from the LSB (the leftmost end of 301 in FIG. 3) in the data string stored in the memory 102, and uses the number of bits as the inspection result. Acquire (step S408). As described above, in this embodiment, the number of readings performed until the reading value of the input buffer 202 is switched from 1 to 0 is acquired as the inspection result.

以上の処理を実行することで、本実施例のMPU10は、Highレベル(特定レベル)の電圧を出力中である入出力ポートの電圧出力をオフにした後、入出力ポートの電圧を一定の間隔で監視する。そして、MPU10は、監視された電圧が所定の閾値(Vth)を超えたか否かを検査する。よって、図3に示すような検査電圧波形とデータ列301が出力されるとともに、被検査回路に対する検査を実行するためのデータ取得が完了する。 By executing the above processing, the MPU 10 of the present embodiment turns off the voltage output of the input / output port that is outputting the high level (specific level) voltage, and then sets the voltage of the input / output port at regular intervals. Monitor with. Then, the MPU 10 inspects whether or not the monitored voltage exceeds a predetermined threshold value (Vth). Therefore, the inspection voltage waveform and the data string 301 as shown in FIG. 3 are output, and the data acquisition for executing the inspection for the circuit to be inspected is completed.

図5は、被検査回路の一例を示す図である。図5に示すMPU50の構成は、図1に示すMPU10と同様である。ただし、MPU50は、入出力ポート501〜504を有する。MPU50には、抵抗アレイ(RA)51とコンデンサ(アレイCA)52とからなる被検査回路が接続されている。MPU50の各入出力ポートはそれぞれ、図5に示すようにCRフィルタに接続される。具体的には、入出力ポート501は、RA51のピン(Pin)1とPin8とを介して、さらにCA52のPin8とPin1とを介してグランド(GND)に接続される。入出力ポート502〜504も同様にして、GNDに接続される。なお、RA51の、Pin1とPin8との間、Pin2とPin7との間、Pin3とPin6との間、及びPin4とPin5との間にはそれぞれ、同じ抵抗値の抵抗が配置されている。CA52も同様に、各ピンの間に同じ容量のコンデンサが配置されている。 FIG. 5 is a diagram showing an example of the circuit to be inspected. The configuration of the MPU 50 shown in FIG. 5 is the same as that of the MPU 10 shown in FIG. However, the MPU 50 has input / output ports 501 to 504. A circuit to be inspected including a resistor array (RA) 51 and a capacitor (array CA) 52 is connected to the MPU 50. Each input / output port of the MPU 50 is connected to a CR filter as shown in FIG. Specifically, the input / output port 501 is connected to the ground (GND) via the pins 1 and 8 of the RA51 and further via the Pin8 and Pin1 of the CA52. Input / output ports 502 to 504 are similarly connected to the GND. In RA51, resistors having the same resistance value are arranged between Pin1 and Pin8, between Pin2 and Pin7, between Pin3 and Pin6, and between Pin4 and Pin5, respectively. Similarly, in the CA52, a capacitor having the same capacitance is arranged between each pin.

なお、ここでは被検査回路としてCRフィルタを例に挙げたが、被検査回路は、一定以上の時定数を有する回路であればどのような回路であってよい。 Although the CR filter is taken as an example of the circuit to be inspected here, the circuit to be inspected may be any circuit as long as it has a time constant of a certain value or more.

図5に示す被検査回路に対する検査においては、MPU50の各入出力ポートから出力される信号のそれぞれに対して、図4に示す処理が行われる。すなわち、MPU50は、入出力ポート501からHighレベルの電圧を出力して、RA51のPin1とPin8との間に配置された抵抗を介して、CA52のPin8とPin1との間に配置されたコンデンサを充電する。次に、MPU50は、Highレベルの電圧を出力中である入出力ポート501の出力をディセーブルにする。すると、上記コンデンサに充電された電荷の放電が開始される。それと同時に、MPU50は、入出力ポート501のリードを開始する。MPU50は、一定の周期で複数回(例えば1usの周期で128回)リードする。MPU50は、入出力ポート502〜504に対しても同様の処理を行う。 In the inspection of the circuit to be inspected shown in FIG. 5, the processing shown in FIG. 4 is performed for each of the signals output from each input / output port of the MPU 50. That is, the MPU 50 outputs a high level voltage from the input / output port 501, and transmits a capacitor arranged between Pin 8 and Pin 1 of CA 52 via a resistor arranged between Pin 1 and Pin 8 of RA51. Charge. Next, the MPU 50 disables the output of the input / output port 501, which is outputting a high level voltage. Then, the discharge of the electric charge charged in the capacitor is started. At the same time, the MPU 50 starts reading the input / output port 501. The MPU 50 is read a plurality of times in a fixed cycle (for example, 128 times in a 1us cycle). The MPU 50 performs the same processing on the input / output ports 502 to 504.

仮に、入出力ポート501に対応する、CRフィルタと対GND抵抗(図2に示すプルダウン抵抗203に相当)とからなる回路の時定数τが25usであるとする。また、入出力ポート501におけるVILがVcc×36.8%であるとする。VILは、Lowレベルと認識される電圧レベルである。この場合、CRフィルタと対GND抵抗とからなる上記回路における時定数τ経過後の電圧減衰は36.8%である。したがって、1〜24回目までのリード時には1が、25〜128回目までのリード時には0が検出されるので、CRフィルタと対GND抵抗とからなる上記回路における1の検出回数は24となる。以下、1の検出回数を、単に検出回数という場合がある。 It is assumed that the time constant τ of the circuit including the CR filter and the GND resistance (corresponding to the pull-down resistor 203 shown in FIG. 2) corresponding to the input / output port 501 is 25us. Further, it is assumed that the VIL at the input / output port 501 is Vcc × 36.8%. VIL is a voltage level that is perceived as the Low level. In this case, the voltage attenuation after the lapse of the time constant τ in the circuit including the CR filter and the GND resistance is 36.8%. Therefore, since 1 is detected during the 1st to 24th reads and 0 is detected during the 25th to 128th reads, the number of detections of 1 in the circuit including the CR filter and the GND resistance is 24. Hereinafter, the number of detections of 1 may be simply referred to as the number of detections.

一方、検出回数は、被検査回路が正常な状態であっても、入出力ポートのVILやリーク電流、CRフィルタの抵抗値や静電容量など、各回路素子の特性のばらつきによって大きく変わり得る。このため、検査の判定値は、このばらつきによる検出回数の変動を考慮して、幅を持たせて設定する必要がある。しかし、判定値の幅が被検査回路の異常時に取得しうる検出回数にまで達する(オーバーラップする)場合は、後述する校正処理を行い、バラつきをキャンセルする必要がある。オーバーラップしない場合は、校正処理は不要である。したがって、その場合には、後述する図7または図8の処理において、校正値N0をゼロとして検査可能である。また、オーバーラップしない場合は、図7の処理を実行せずに図8の処理のみが実行されても良い。なお、上記判定値は、予め実験的に求められ、プログラムROM(不図示)等に格納される。 On the other hand, the number of detections can vary greatly depending on the variation in the characteristics of each circuit element such as the VIL and leakage current of the input / output port, the resistance value of the CR filter, and the capacitance even when the circuit to be inspected is in a normal state. Therefore, it is necessary to set the judgment value of the inspection with a range in consideration of the variation in the number of detections due to this variation. However, when the range of the determination values reaches (overlaps) the number of detections that can be acquired when the circuit to be inspected is abnormal, it is necessary to perform the calibration process described later to cancel the variation. If there is no overlap, no calibration process is required. Therefore, in that case, the calibration value N0 can be set to zero for inspection in the process of FIG. 7 or FIG. 8 described later. Further, when there is no overlap, only the process of FIG. 8 may be executed without executing the process of FIG. 7. The above-mentioned determination value is experimentally obtained in advance and stored in a program ROM (not shown) or the like.

図6は、所定数のサンプルに対して図4に示す検査フローを実行した場合における、検出回数の分布を説明するための図である。図6(a)には、オーバーラップしない場合の検出回数の分布の一例が示されている。図6(a)に示すように、オーバーラップしない場合には、回路正常時の分布611と回路異常時の分布612とは交差しない。このため、オーバーラップしない場合においては、正常値と異常値とを取り違えることは無い。一方、図6(b)には、オーバーラップする場合の検出回数の分布の一例が示されている。図6(b)に示すように、オーバーラップする場合には、正常時の分布621と異常時の分布622とが交差している。したがって、斜線で示される領域においては、正常と異常とを判別することは不可能である。このような場合は、後述する校正処理により、入出力ポートのVILやリーク電流変動など、MPU側のばらつきを低減させ、正常と異常とを分離させる。図6(c)には、校正後の検出回数の分布イメージが破線で示されている。 FIG. 6 is a diagram for explaining the distribution of the number of detections when the inspection flow shown in FIG. 4 is executed for a predetermined number of samples. FIG. 6A shows an example of the distribution of the number of detections when there is no overlap. As shown in FIG. 6A, when the circuits do not overlap, the distribution 611 when the circuit is normal and the distribution 612 when the circuit is abnormal do not intersect. Therefore, when there is no overlap, the normal value and the abnormal value are not mistaken for each other. On the other hand, FIG. 6B shows an example of the distribution of the number of detections in the case of overlapping. As shown in FIG. 6B, in the case of overlapping, the distribution 621 at the normal time and the distribution 622 at the abnormal time intersect. Therefore, it is impossible to distinguish between normal and abnormal in the area indicated by the diagonal line. In such a case, the calibration process described later reduces the variation on the MPU side such as the VIL of the input / output port and the leakage current fluctuation, and separates the normal and the abnormal. In FIG. 6C, the distribution image of the number of detections after calibration is shown by a broken line.

校正は、MPUにおける入出力ポートのVILやリーク電流、あるいはMPUの浮遊容量の個体差による検出結果のばらつきをキャンセルするために行われる。具体的には、まず、回路が何も接続されていない入出力ポート(空きポートまたは未使用入出力ポートという)に対して図4に示す処理が施されて、当該空きポートの検査結果が取得される。次に、被検査回路が接続された入出力ポート(検査対象ポートという)に対して図4に示す処理が施されて、当該検査対象ポートの検査結果が取得される。そして、検査対象ポートの検査結果から空きポートの検査結果が差し引かれる。こうすることでMPUの個体差による検査結果のばらつきをキャンセルすることができ、被検査回路状態が純粋に反映された検査結果を得ることができる。 The calibration is performed to cancel the variation in the detection result due to the VIL and leakage current of the input / output port in the MPU or the individual difference in the stray capacitance of the MPU. Specifically, first, the processing shown in FIG. 4 is performed on an input / output port (referred to as a free port or an unused input / output port) to which no circuit is connected, and the inspection result of the free port is acquired. Will be done. Next, the processing shown in FIG. 4 is performed on the input / output port (referred to as the inspection target port) to which the circuit to be inspected is connected, and the inspection result of the inspection target port is acquired. Then, the inspection result of the free port is subtracted from the inspection result of the inspection target port. By doing so, it is possible to cancel the variation in the inspection result due to the individual difference of the MPU, and it is possible to obtain the inspection result in which the state of the circuit to be inspected is purely reflected.

ここで、本実施例における校正処理および検査結果の判定処理について、図7および図8を用いて具体的に説明する。図7は、校正値の取得フローを示す図である。図8は、検査結果の判定フローを示す図である。 Here, the calibration process and the inspection result determination process in this embodiment will be specifically described with reference to FIGS. 7 and 8. FIG. 7 is a diagram showing a flow for acquiring calibration values. FIG. 8 is a diagram showing a determination flow of inspection results.

まず、MPU10は、未使用入出力ポート(例えば、図1に示す入出力ポート108)に対して図4に示す処理を行う(ステップS701)。そして、MPU10は、ステップS408の処理で取得された検査結果を校正値N0に代入する(ステップS702)。 First, the MPU 10 performs the process shown in FIG. 4 on the unused input / output port (for example, the input / output port 108 shown in FIG. 1) (step S701). Then, the MPU 10 substitutes the inspection result acquired in the process of step S408 into the calibration value N0 (step S702).

次に、MPU10は、検査対象ポート(例えば、図1に示す入出力ポート107)に対して図4に示す処理を行う(ステップS801)。そして、MPU10は、ステップS408の処理で取得された検査結果を、校正前検査結果N1に代入する(ステップS802)。MPU10は、校正前検査結果N1からステップS702で取得した校正値N0を差し引き、その結果を校正後検査結果N1’に代入する(ステップS803)。なお、上述したオーバーラップがない場合は、ステップS803の処理をスキップしてN1の値をそのままN1’として扱っても良い。MPU10は、校正後検査結果N1’を判定値と比較する(ステップS804)。なお、1が格納されているビット数を検査結果として取得し、そのビット数を示す検査結果と判定値に基づいてステップS804の処理が実行されても良い。その他、1が格納されているビット数から算出された経過時間(つまり電圧値が閾値以下となるまでの経過時間)を検査結果として取得し、その経過時間と判定値に基づいてS804の処理が実行されても良い。校正後検査結果N1’が判定値の範囲内である場合は(ステップS804のYes)、MPU10は、検査結果が正常(OK)である、すなわち被検査回路に異常なし、と判断する(ステップS805)。また、校正後検査結果N1’が判定値の範囲外である場合は(ステップS804のNo)、MPU10は、検査結果が異常(NG)である、すなわち被検査回路に異常あり、と判断する(ステップS806)。通常、コンデンサ付きの被検査回路と接続された検査対象ポートの検出回数(N1)は、コンデンサ付きの被検査回路が接続されていない未使用入出力ポートの検出回数(N0)よりも多くなる。この特性を踏まえて、上記判定値の範囲の一例として、1以上といった判定値が設定されても良い。 以上のように、校正後検査結果を用いて判定を行うことにより、図6(b)に示すように検出回数の分布がオーバーラップする場合であっても、被検査回路(外部回路)の電気的特性(ここでは、時定数)が正常であるか否かを適切に判断することができる。言い換えれば、正常な被検査回路(外部回路)が検査対象ポートに接続されていると判断することができる。なお、MPUの個体差を考慮しても正しく検査結果を取得できる場合には校正は不要である。 Next, the MPU 10 performs the process shown in FIG. 4 on the inspection target port (for example, the input / output port 107 shown in FIG. 1) (step S801). Then, the MPU 10 substitutes the inspection result acquired in the process of step S408 into the pre-calibration inspection result N1 (step S802). The MPU 10 subtracts the calibration value N0 acquired in step S702 from the pre-calibration inspection result N1 and substitutes the result into the post-calibration inspection result N1'(step S803). If there is no overlap described above, the process of step S803 may be skipped and the value of N1 may be treated as N1'as it is. The MPU 10 compares the post-calibration inspection result N1'with the determination value (step S804). The number of bits in which 1 is stored may be acquired as an inspection result, and the process of step S804 may be executed based on the inspection result and the determination value indicating the number of bits. In addition, the elapsed time calculated from the number of bits in which 1 is stored (that is, the elapsed time until the voltage value falls below the threshold value) is acquired as the inspection result, and the processing of S804 is performed based on the elapsed time and the determination value. May be executed. When the inspection result N1'after calibration is within the range of the determination value (Yes in step S804), the MPU 10 determines that the inspection result is normal (OK), that is, there is no abnormality in the circuit to be inspected (step S805). ). Further, when the inspection result N1'after calibration is out of the range of the determination value (No in step S804), the MPU 10 determines that the inspection result is abnormal (NG), that is, the circuit to be inspected has an abnormality (No). Step S806). Normally, the number of detections (N1) of the port to be inspected connected to the circuit to be inspected with a capacitor is larger than the number of detections (N0) of an unused input / output port to which the circuit to be inspected with a capacitor is not connected. Based on this characteristic, a determination value such as 1 or more may be set as an example of the range of the determination values. As described above, by making a judgment using the inspection result after calibration, even if the distribution of the number of detections overlaps as shown in FIG. 6B, the electricity of the circuit to be inspected (external circuit) It is possible to appropriately judge whether or not the target characteristic (here, the time constant) is normal. In other words, it can be determined that a normal circuit to be inspected (external circuit) is connected to the port to be inspected. If the test result can be obtained correctly even if the individual difference of MPU is taken into consideration, calibration is not necessary.

本実施例では、検査電圧波形が二次曲線を描きながら減衰していく外部回路を前提としている。そして、メモリ102に格納されたデータ列においてLSBから1が連続して格納されているビット数を判断基準としている。しかし、メモリ102に格納されたデータ列の全域を判断基準として用いるようにしてもよい。例えば、データ列の全域における値の分布状況を判断基準としてもよい。そのような形態によれば、入出力ポートのGNDショートやオープンなども判定可能である。例えば、データ列の全域が0である場合には、入出力ポートがGNDショートしていると判断してもよい。また例えば、データ列の全域において値がふらついている場合には、入出力ポートがオープンになっていると判断してもよい。また、入出力ポートの先にある外部回路を構成する個々の部品の有無、などを検査対象とするようにしてもよい。 In this embodiment, it is assumed that the inspection voltage waveform is attenuated while drawing a quadratic curve. Then, the number of bits in which 1 is continuously stored from the LSB in the data string stored in the memory 102 is used as a determination criterion. However, the entire area of the data string stored in the memory 102 may be used as a determination criterion. For example, the distribution of values over the entire data string may be used as a criterion. According to such a form, it is possible to determine the GND short or open of the input / output port. For example, when the entire area of the data string is 0, it may be determined that the input / output ports are GND shorted. Further, for example, when the value fluctuates over the entire data string, it may be determined that the input / output port is open. In addition, the presence or absence of individual components constituting the external circuit at the end of the input / output port may be inspected.

また、実装基板の検査は、専用の検査装置により行われるケースが多い。そのように検査装置を使うケースでは、全ての回路ブロックに検査装置との接点を設ける必要がある。このため、数十〜数百の接点を基板に設ける必要があり、さらなる高密度化の妨げとなっている。また、プローブの劣化や、ホコリ、フラックスの付着などによりプローブと接点との接触不良が発生しうるという根本的な問題を抱えている。本実施例では、専用の検査装置を用いないので、こうした接点を必要としない。それにより、実装基板のさらなる高密度化を実現することが可能になる。また、接点を必要としないので、プローブとの接触不良などの問題を考慮する必要がない。 In addition, the inspection of the mounting board is often performed by a dedicated inspection device. In the case where the inspection device is used in this way, it is necessary to provide contacts with the inspection device in all the circuit blocks. Therefore, it is necessary to provide tens to hundreds of contacts on the substrate, which hinders further increase in density. In addition, there is a fundamental problem that poor contact between the probe and the contact may occur due to deterioration of the probe, adhesion of dust, flux, and the like. In this embodiment, since a dedicated inspection device is not used, such a contact is not required. As a result, it becomes possible to realize a higher density of the mounting substrate. Moreover, since no contact is required, it is not necessary to consider problems such as poor contact with the probe.

次に、プリンタに本実施例を適用した場合の例を示す。図9は、インクジェットプリンタのプリンタユニットの一例を示す図である。図9に示すプリンタユニットは、搬送機構901と、クリーニング機構902と、シャーシ903と、キャリッジ904と、自動搬送機構905と、制御基板906と、フラットケーブル907とを備える。搬送機構901は、記録媒体を搬送する。クリーニング機構902は、プリントヘッドのノズルをクリーニングする。キャリッジ904は、プリントヘッドを搬送する。自動搬送機構905は、複数の記録媒体から最上部の一枚だけを取り出してプリントユニットに送り込む。フラットケーブル907は、制御基板906から出力されるプリントヘッド制御信号をプリントヘッドに伝送するためのケーブルである。 Next, an example when this embodiment is applied to a printer will be shown. FIG. 9 is a diagram showing an example of a printer unit of an inkjet printer. The printer unit shown in FIG. 9 includes a transport mechanism 901, a cleaning mechanism 902, a chassis 903, a carriage 904, an automatic transport mechanism 905, a control board 906, and a flat cable 907. The transport mechanism 901 transports the recording medium. The cleaning mechanism 902 cleans the nozzles of the print head. Carriage 904 carries the printhead. The automatic transfer mechanism 905 takes out only the uppermost sheet from the plurality of recording media and feeds it to the print unit. The flat cable 907 is a cable for transmitting a printhead control signal output from the control board 906 to the printhead.

図10は、制御基板906の構成の一例を示すブロック図である。MPU1001は、図1に示す構成を備える。MPU1001は、ROM1004に格納されたプログラムに基づいて装置全体を制御する。プリントヘッドは、フラットケーブル907を経由してMPU1001が生成するプリントヘッド制御信号を受信する。そして、プリントヘッド1002は、受信したプリントヘッド制御信号に基づいてインク液滴を記録媒体に吐出する。 FIG. 10 is a block diagram showing an example of the configuration of the control board 906. The MPU 1001 has the configuration shown in FIG. The MPU 1001 controls the entire device based on the program stored in the ROM 1004. The printhead receives the printhead control signal generated by the MPU 1001 via the flat cable 907. Then, the print head 1002 ejects ink droplets to the recording medium based on the received print head control signal.

プリントヘッド制御信号は数MHzの高速信号である。プリントヘッド制御信号を伝送するフラットケーブル907は通常1m程度の長さを有する。そのため、波形成形及び放射電磁界低減のために、制御基板906側にフィルタ回路を挿入する必要がある。 The printhead control signal is a high-speed signal of several MHz. The flat cable 907 that transmits the printhead control signal usually has a length of about 1 m. Therefore, it is necessary to insert a filter circuit on the control board 906 side in order to form a waveform and reduce the radiated electromagnetic field.

図11は、フィルタ回路が接続された制御基板906の一例を示す図である。フィルタ回路には、例えば、フラットケーブルのインダクタ成分による波形のリンギングを抑えたり、不要な高調波成分をキャンセルしたりするために遅延回路が用いられる。その代表例がCRフィルタである。RA1102〜1104は、図5に示すRA51と同様である。CA1105〜1107は、図5に示すCA52と同様である。コネクタ1108は、フラットケーブル907をプリントヘッド1002と接続するためのコネクタである。図11に示す例では、ヘッド制御信号を伝送するための信号ライン12本の全てにCRフィルタ回路が挿入されている。また、図11に示す例では、MPU1001が図8に示す処理を実行することで、信号ライン一本一本に対して検査が実施される。その際、MPU1001は、予め、図示しない未使用入出力ポートに対して図7に示す処理を実行して校正値N0を取得しておく。 FIG. 11 is a diagram showing an example of a control board 906 to which a filter circuit is connected. For the filter circuit, for example, a delay circuit is used to suppress ringing of the waveform due to the inductor component of the flat cable and to cancel unnecessary harmonic components. A typical example is a CR filter. RA1102-1104 is the same as RA51 shown in FIG. CA1105-1107 is similar to CA52 shown in FIG. The connector 1108 is a connector for connecting the flat cable 907 to the print head 1002. In the example shown in FIG. 11, CR filter circuits are inserted in all 12 signal lines for transmitting the head control signal. Further, in the example shown in FIG. 11, the MPU 1001 executes the process shown in FIG. 8 to perform an inspection on each signal line. At that time, the MPU 1001 acquires the calibration value N0 in advance by executing the process shown in FIG. 7 on the unused input / output ports (not shown).

このように、本実施例によれば、前述したような接点を信号ライン一つ一つに設けることなくCRフィルタ回路の状態や電気的特性を簡単な構成で検査することができる。よって、本実施例はCRフィルタ回路などの実装テストに好適である。 As described above, according to the present embodiment, the state and electrical characteristics of the CR filter circuit can be inspected with a simple configuration without providing the above-mentioned contacts in each signal line. Therefore, this embodiment is suitable for mounting tests of CR filter circuits and the like.

なお、本実施形態では、図8の処理を全てMPU10が実行するとして説明したが、例えば、ステップS803以降の処理を、別の判定装置が実行しても良い。 In the present embodiment, it has been described that the MPU 10 executes all the processes shown in FIG. 8, but for example, another determination device may execute the processes after step S803.

(その他の実施形態)
本発明は、上記実施例の1以上の機能を実現するプログラムを、ネットワークまたは記憶媒体を介してシステムまたは装置に供給し、そのシステムまたは装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

Claims (11)

入出力ポートを備え、当該入出力ポートに接続される外部回路を検査可能なマイクロプロセッサであって、
特定レベルの電圧を出力中である前記入出力ポートの電圧出力をオフにした後、前記入出力ポートの電圧を一定の間隔で監視する監視手段と、
前記監視手段で監視された電圧が所定の閾値を超えたか否かを検査する検査手段と、
前記入出力ポートに前記外部回路が接続されていない場合に得られる検査結果を校正値として用いて、前記入出力ポートに前記外部回路が接続されている場合に得られる前記検査結果を校正する校正手段と、
を有し、
前記校正手段によって校正されたデータ列における1と0との分布状況に基づき、前記外部回路の電気的特性に加えて、少なくとも前記入出力ポートのGNDショート、オープン、及び前記外部回路の接続の有無が判定される
ことを特徴とするマイクロプロセッサ。
A microprocessor that has an input / output port and can inspect external circuits connected to the input / output port.
A monitoring means that monitors the voltage of the input / output port at regular intervals after turning off the voltage output of the input / output port that is outputting a specific level of voltage.
An inspection means for inspecting whether or not the voltage monitored by the monitoring means exceeds a predetermined threshold value, and
Calibration that calibrates the inspection result obtained when the external circuit is connected to the input / output port by using the inspection result obtained when the external circuit is not connected to the input / output port as a calibration value. Means and
Have,
Based on the distribution of 1s and 0s in the data string calibrated by the calibration means, in addition to the electrical characteristics of the external circuit, at least the GND short, open, and the presence or absence of the connection of the external circuit of the input / output port. A microprocessor characterized by being determined.
前記検査手段は、前記入出力ポートの電圧を一定の間隔で監視して得られる電圧値が前記所定の閾値以下になるまでの経過時間を前記検査結果として取得し、
前記検査結果である経過時間に基づいて、前記所定の外部回路が接続されているか否かが判定されることを特徴とする
請求項1に記載のマイクロプロセッサ。
The inspection means obtains the elapsed time until the voltage value obtained by monitoring the voltage of the input / output port at regular intervals becomes equal to or less than the predetermined threshold value as the inspection result.
It is characterized in that it is determined whether or not the predetermined external circuit is connected based on the elapsed time which is the inspection result.
The microprocessor according to claim 1.
前記検査手段は、
前記入出力ポートの電圧を一定の間隔で監視して得られる電圧値のそれぞれについて、前記所定の閾値を超えているか否かを判定し、前記電圧値が前記所定の閾値を越えている場合には1を、前記所定の閾値以下である場合には0を、前記検査結果としてデータ列の最下位ビットから順に格納し、
前記データ列の値に基づき、前記所定の外部回路が接続されているか否かが判定されることを特徴とする
請求項1に記載のマイクロプロセッサ。
The inspection means
For each of the voltage values obtained by monitoring the voltage of the input / output port at regular intervals, it is determined whether or not the voltage value exceeds the predetermined threshold value, and when the voltage value exceeds the predetermined threshold value. Stores 1 in order from the least significant bit of the data string as the inspection result when it is equal to or less than the predetermined threshold value.
It is characterized in that it is determined whether or not the predetermined external circuit is connected based on the value of the data string.
The microprocessor according to claim 1.
前記検査手段は、
前記データ列において、LSBから連続して格納されている1の数が予め定められた判定値の範囲内である場合に、前記入出力ポートに前記所定の外部回路が接続されていると判断する
請求項3に記載のマイクロプロセッサ。
The inspection means
In the data string, when the number of 1s continuously stored from the LSB is within the range of the predetermined determination value, it is determined that the predetermined external circuit is connected to the input / output port.
The microprocessor according to claim 3.
前記外部回路が、CRフィルタ回路であり、
前記外部回路の電気的特性が判定され、
前記電気的特性には、少なくとも時定数が含まれる
請求項1から4のうちのいずれか1項に記載のマイクロプロセッサ。
The external circuit is a CR filter circuit.
The electrical characteristics of the external circuit are determined and
The electrical properties include at least a time constant
The microprocessor according to any one of claims 1 to 4.
入出力ポートを備えるマイクロプロセッサにおける、当該入出力ポートに接続される外部回路を検査する検査方法であって、
特定レベルの電圧を出力中である前記入出力ポートの電圧出力をオフにした後、前記入出力ポートの電圧を一定の間隔で監視するステップと、
前記監視された電圧が所定の閾値を超えたか否かを検査する検査ステップと、
前記入出力ポートに前記外部回路が接続されていない場合に得られる検査結果を校正値として用いて、前記入出力ポートに前記外部回路が接続されている場合に得られる前記検査結果を校正する校正ステップと、
を有し、
前記校正ステップにおいて校正されたデータ列における1と0との分布状況に基づき、前記外部回路の電気的特性に加えて、少なくとも前記入出力ポートのGNDショート、オープン、及び前記外部回路の接続の有無が判定される
ことを特徴とする検査方法。
An inspection method for inspecting an external circuit connected to an input / output port in a microprocessor having an input / output port.
After turning off the voltage output of the input / output port that is outputting a specific level of voltage, the step of monitoring the voltage of the input / output port at regular intervals and
An inspection step for inspecting whether the monitored voltage exceeds a predetermined threshold, and
Calibration that calibrates the inspection result obtained when the external circuit is connected to the input / output port by using the inspection result obtained when the external circuit is not connected to the input / output port as a calibration value. Steps and
Have,
Based on the distribution of 1s and 0s in the data string calibrated in the calibration step, in addition to the electrical characteristics of the external circuit, at least the GND short, open, and the presence or absence of the external circuit connection of the input / output port. An inspection method characterized in that is determined.
前記検査ステップにおいて、前記入出力ポートの電圧を一定の間隔で監視して得られる電圧値が前記所定の閾値以下になるまでの経過時間を前記検査結果として取得し、
前記検査結果である経過時間に基づいて、前記所定の外部回路が接続されているか否かが判定されることを特徴とする
請求項6に記載の検査方法。
In the inspection step, the elapsed time until the voltage value obtained by monitoring the voltage of the input / output port at regular intervals becomes equal to or less than the predetermined threshold value is acquired as the inspection result.
It is characterized in that it is determined whether or not the predetermined external circuit is connected based on the elapsed time which is the inspection result.
The inspection method according to claim 6.
前記検査ステップにおいて、
前記入出力ポートの電圧を一定の間隔で監視して得られる電圧値のそれぞれについて、前記所定の閾値を超えているか否かを判定し、前記電圧値が前記所定の閾値を越えている場合には1を、前記所定の閾値以下である場合には0を、前記検査結果としてデータ列の最下位ビットから順に格納し、
前記データ列の値に基づき、前記所定の外部回路が接続されているか否かが判定されることを特徴とする
請求項6に記載の検査方法。
In the inspection step
For each of the voltage values obtained by monitoring the voltage of the input / output port at regular intervals, it is determined whether or not the voltage value exceeds the predetermined threshold value, and when the voltage value exceeds the predetermined threshold value. Stores 1 in order from the least significant bit of the data string as the inspection result when it is equal to or less than the predetermined threshold value.
It is characterized in that it is determined whether or not the predetermined external circuit is connected based on the value of the data string.
The inspection method according to claim 6.
前記検査ステップにおいて、
前記データ列において、LSBから連続して格納されている1の数が予め定められた判定値の範囲内である場合に、前記入出力ポートに前記所定の外部回路が接続されていると判断する
請求項8に記載の検査方法。
In the inspection step
In the data string, when the number of 1s continuously stored from the LSB is within the range of the predetermined determination value, it is determined that the predetermined external circuit is connected to the input / output port.
The inspection method according to claim 8.
前記外部回路が、CRフィルタ回路であり、
前記外部回路の電気的特性が判定され、
前記電気的特性には、少なくとも時定数が含まれる
請求項6から9のうちのいずれか1項に記載の検査方法。
The external circuit is a CR filter circuit.
The electrical characteristics of the external circuit are determined and
The electrical properties include at least a time constant
The inspection method according to any one of claims 6 to 9.
コンピュータを請求項1から5のうちのいずれか1項に記載のマイクロプロセッサとして機能させるためのプログラム。 A program for operating a computer as a microprocessor according to any one of claims 1 to 5.
JP2016151294A 2016-08-01 2016-08-01 Microprocessors, methods of inspecting external circuits in microprocessors, and programs Active JP6843543B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016151294A JP6843543B2 (en) 2016-08-01 2016-08-01 Microprocessors, methods of inspecting external circuits in microprocessors, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016151294A JP6843543B2 (en) 2016-08-01 2016-08-01 Microprocessors, methods of inspecting external circuits in microprocessors, and programs

Publications (3)

Publication Number Publication Date
JP2018022227A JP2018022227A (en) 2018-02-08
JP2018022227A5 JP2018022227A5 (en) 2019-09-05
JP6843543B2 true JP6843543B2 (en) 2021-03-17

Family

ID=61165639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016151294A Active JP6843543B2 (en) 2016-08-01 2016-08-01 Microprocessors, methods of inspecting external circuits in microprocessors, and programs

Country Status (1)

Country Link
JP (1) JP6843543B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4509128A (en) * 1982-04-16 1985-04-02 Sangamo Weston, Inc. Solid-state electrical-power demand register and method
JPH01269578A (en) * 1988-04-20 1989-10-27 Brother Ind Ltd Option detector for electronic equipment
JP3262386B2 (en) * 1992-10-30 2002-03-04 京セラミタ株式会社 Electrical component connection recognition device
JPH06149687A (en) * 1992-11-06 1994-05-31 Matsushita Electric Ind Co Ltd Scsi terminal resistance detecting circuit
JP5764429B2 (en) * 2011-08-19 2015-08-19 ミネベア株式会社 Control device for electrical equipment
JP2013156911A (en) * 2012-01-31 2013-08-15 Nec Access Technica Ltd Device equipment and method for controlling the same
JP2015197820A (en) * 2014-04-01 2015-11-09 キヤノン株式会社 Electronic device and image forming apparatus
JP6364286B6 (en) * 2014-09-03 2018-08-22 エイチピー プリンティング コリア カンパニー リミテッド Electronics

Also Published As

Publication number Publication date
JP2018022227A (en) 2018-02-08

Similar Documents

Publication Publication Date Title
EP3137302B1 (en) Determining a time instant for an impedance measurement
JP7042224B2 (en) Droplet depositor and its test circuit
US10336064B2 (en) Detect circuits for print heads
US10613155B2 (en) Short circuit testing method for capacitive sensing device and the capacitive sensing device
TW201617633A (en) Device inspection method, probe card, interposer, and inspection apparatus
KR101208453B1 (en) Method for detecting abnormal nozzle using self-sensing of piezo
US20190317868A1 (en) Systems and methods for real-time fault detection
JP6843543B2 (en) Microprocessors, methods of inspecting external circuits in microprocessors, and programs
KR20070034235A (en) Nozzle inspection device and method
US10173417B2 (en) Nozzle condition evaluation
KR101279813B1 (en) Method for detecting abnormal nozzle using self-sensing of piezo and recording medium thereof
CA2894759C (en) Methods and circuits for measuring a high impedance element based on time constant measurements
JP7362396B2 (en) liquid discharge head
KR101279810B1 (en) Method for detecting abnormal nozzle using self-sensing of piezo and recording medium thereof
JP5957901B2 (en) Droplet discharge device
CN111983436B (en) Complex digital module stress damage monitoring and early warning device and method
KR101152631B1 (en) System for detecting abnormal nozzle using self-sensing of piezo
JP5352401B2 (en) Humidity detection device and humidity detection method
CN112740428B (en) Method and apparatus for detecting open state in piezoelectric element connection
KR101369230B1 (en) Image forming structure and detect method for defect
JP3645748B2 (en) Solder defect inspection device
TWI616794B (en) Photo sensing circuit and defect curing method thereof
CN112379186A (en) Capacitance testing device
WO2010044488A1 (en) Synchronous type impulse immunity evaluation device
KR20160071160A (en) Semiconductor device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190724

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200929

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210224

R151 Written notification of patent or utility model registration

Ref document number: 6843543

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151