JP3501048B2 - Chattering generator - Google Patents

Chattering generator

Info

Publication number
JP3501048B2
JP3501048B2 JP31816899A JP31816899A JP3501048B2 JP 3501048 B2 JP3501048 B2 JP 3501048B2 JP 31816899 A JP31816899 A JP 31816899A JP 31816899 A JP31816899 A JP 31816899A JP 3501048 B2 JP3501048 B2 JP 3501048B2
Authority
JP
Japan
Prior art keywords
signal
chattering
timing
mask
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP31816899A
Other languages
Japanese (ja)
Other versions
JP2001133526A (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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP31816899A priority Critical patent/JP3501048B2/en
Publication of JP2001133526A publication Critical patent/JP2001133526A/en
Application granted granted Critical
Publication of JP3501048B2 publication Critical patent/JP3501048B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、電子回路のテスト
等に用いるためチャタリングが重畳された模擬信号を発
生させるチャタリング発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a chattering generator for generating a simulated signal on which chattering is superimposed for use in testing electronic circuits.

【0002】[0002]

【従来の技術】従来より、車両に搭載され車速を検出す
るために設けられる車速センサとして、車輪の回転速度
に応じた周期のパルス信号を発生させるものが知られて
いる。この場合、一般に、車速センサの検出信号から車
速を求める処理を行うECUでは、パルス信号をCPU
に対する割り込み信号として用い、その割り込みの発生
間隔をタイマー等にて測定して、パルス信号の発生周期
を求めることにより、車速の検出を行っている。
2. Description of the Related Art Conventionally, as a vehicle speed sensor mounted on a vehicle to detect a vehicle speed, one which generates a pulse signal having a cycle corresponding to the rotational speed of a wheel is known. In this case, generally, in an ECU that performs processing for obtaining the vehicle speed from the detection signal of the vehicle speed sensor, the pulse signal is sent to the CPU.
The vehicle speed is detected by measuring the interval of occurrence of the interrupt with a timer or the like and obtaining the generation period of the pulse signal.

【0003】このような車速センサの一つとして、リー
ドスイッチを用いて構成されたものが知られている。但
し、リードスイッチは機械的な接点を有しているため、
その接点の断続動作時に接点がバウンドすると、車速セ
ンサの検出信号にチャタリングが重畳されてしまうこと
になる。そして、検出信号に重畳されたチャタリング
は、上述のCPUに対して不必要な割り込みを発生さ
せ、その結果、車速の検出精度を低下させたり、場合に
よっては多重割り込みによりCPUをハングアップさせ
てしまうおそれがあった。
As one of such vehicle speed sensors, there is known one constituted by using a reed switch. However, since the reed switch has mechanical contacts,
If the contact bounces during the intermittent operation of the contact, chattering will be superimposed on the detection signal of the vehicle speed sensor. The chattering superimposed on the detection signal causes an unnecessary interrupt to the CPU, resulting in a decrease in vehicle speed detection accuracy and, in some cases, a hang-up of the CPU due to multiple interrupts. There was a fear.

【0004】このため、リードスイッチ等の機械的接点
を有する素子にて構成されたセンサを用いる場合、その
検出信号に重畳されるチャタリングを除去するためにC
Rフィルタ回路を設けたり、短期間の間に同じ信号によ
る割り込みをCPUが受け付けないようにマスク処理を
行う等の対策が施されている。
For this reason, when a sensor composed of an element having a mechanical contact such as a reed switch is used, C is removed in order to remove chattering superimposed on the detection signal.
Measures are taken such as providing an R filter circuit and performing mask processing so that the CPU does not accept an interrupt due to the same signal in a short period of time.

【0005】そして、ECU等の製造時には、実際に、
CRフィルタ回路やマスク処理が、設計通りにチャタリ
ングの影響を除去できるか検査する必要がある。
When manufacturing the ECU, etc.,
It is necessary to test whether the CR filter circuit and the mask processing can remove the influence of chattering as designed.

【0006】[0006]

【発明が解決しようとする課題】しかし、現状では、C
Rフィルタ回路単体の特性を検査したり、マスク処理が
正常に動作するか否かを検査するに止まり、実際に、チ
ャタリングが重畳された検出信号を入力して動作を確認
することができないという問題があった。
However, at present, C
The problem is that it is only possible to inspect the characteristics of the R filter circuit itself or to inspect whether the mask processing normally operates, and it is not possible to actually input the detection signal on which chattering is superimposed to confirm the operation. was there.

【0007】即ち、チャタリングは、リードスイッチ自
身の特性やリードスイッチの使用環境等の様々な要因に
よって、その発生の仕方、即ち、チャタリングの発生タ
イミング(立上りエッジ/立下りエッジ)、チャタリン
グのパルス幅、その継続期間(バウンド回数)等が異な
っており、これらに対応して任意のチャタリングを発生
させる装置がないため実際の動作を確認できないのであ
る。
That is, the chattering occurs depending on various factors such as the characteristics of the reed switch itself and the environment in which the reed switch is used, that is, the chattering occurrence timing (rising edge / falling edge) and the chattering pulse width. However, since the durations (the number of times of bounces) and the like are different and there is no apparatus for generating arbitrary chattering corresponding to these, the actual operation cannot be confirmed.

【0008】そこで本発明は、上記問題点を解決するた
めに、チャタリングが重畳された信号を任意に発生させ
ることが可能なチャタリング発生装置を提供することを
目的とする。
Therefore, an object of the present invention is to provide a chattering generator capable of arbitrarily generating a signal on which chattering is superimposed in order to solve the above problems.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
になされた本発明のチャタリング発生装置では、チャタ
リング信号発生手段が、予め設定された波形情報にて特
定される波形を有したチャタリング信号を繰り返し発生
すると共に、マスク信号生成手段が、予め設定されたタ
イミング情報にて特定される開始タイミングから、予め
設定された期間情報にて特定される継続期間の間、アク
ティブレベルとなるマスク信号を生成する。そして、信
号合成手段が、マスク信号生成手段にて生成されたマス
ク信号がアクティブレベルである間、チャタリングを重
畳すべき元信号に、チャタリング信号生成手段にて発生
させたチャタリング信号を合成して出力する。なお、チ
ャタリング信号の波形を規定する波形情報としては、チ
ャタリング信号のハイレベル期間及びロウレベル期間の
長さを特定する情報が用いられる。そして、チャタリン
グ信号発生手段では、タイマーカウンタが、所定の基準
クロックに従ってカウント動作し、予め設定された設定
値分のカウントが行われるとタイミング信号を出力する
と共に、カウント値設定手段が、このタイマーカウンタ
の設定値として、ハイレベル期間に相当するカウント
値、及びロウレベル期間に相当するカウント値を交互に
設定する。つまり、チャタリング信号発生手段は、タイ
マーカウンターが生成するタイミング信号、即ち、チャ
タリング信号の信号レベルが反転するタイミングを表し
たタイミング信号によりチャタリング信号を生成する。
In the chattering generator of the present invention made to achieve the above object, the chattering signal generating means generates a chattering signal having a waveform specified by preset waveform information. The mask signal generation means generates a mask signal which is repeatedly generated and becomes an active level for a duration specified by preset period information from a start timing specified by preset timing information. To do. Then, while the mask signal generated by the mask signal generation means is at an active level, the signal synthesizing means synthesizes the chattering signal generated by the chattering signal generating means with the original signal on which chattering should be superimposed and outputs the synthesized signal. To do. In addition,
The waveform information that defines the waveform of the chattering signal is
Of the high level period and low level period of the chattering signal.
Information specifying the length is used. And Chatterin
In the signal generator, the timer counter is
Counting according to the clock, preset settings
Outputs a timing signal when counting for the value
Together with the count value setting means, this timer counter
As the setting value of, the count corresponding to the high level period
Value and the count value corresponding to the low level period alternately
Set. In other words, the chattering signal generation means is
The timing signal generated by the counter
Indicates the timing at which the signal level of the
The chattering signal is generated by the timing signal.

【0010】従って、本発明のチャタリング発生装置に
よれば、チャタリングが重畳された元信号(車速信号
等)を発生させることができ、しかも、波形情報,タイ
ミング情報,期間情報の設定を適宜変更することによ
り、様々なタイプのチャタリングを実現することができ
る。その結果、入力信号にチャタリングが重畳される可
能性のある各種電子回路の検査等に好適に用いることが
できる。
Therefore, according to the chattering generator of the present invention, the original signal (vehicle speed signal or the like) on which chattering is superimposed can be generated, and the setting of the waveform information, the timing information, and the period information is appropriately changed. As a result, various types of chattering can be realized. As a result, it can be suitably used for inspection of various electronic circuits in which chattering may be superimposed on the input signal.

【0011】なお、チャタリングは、上述のリードスイ
ッチの例からもわかるように、通常、信号レベルが反転
するエッジにて発生するため、チャタリングを重畳する
タイミングを決めるタイミング情報としては、請求項2
記載のように、元信号の立上りエッジ、又は立下りエッ
ジ、或いは両エッジのいずれかが設定されるようにすれ
ばよい。
As can be seen from the example of the reed switch described above, chattering normally occurs at the edge at which the signal level is inverted. Therefore, the timing information for determining the timing of superimposing chattering is defined in claim 2.
As described above, either the rising edge, the falling edge, or both edges of the original signal may be set.

【0012】この場合、マスク信号生成手段は、例え
ば、元信号の立上りエッジから継続期間の間、マスク信
号をアクティブレベルとする立上り側マスク生成部と、
元信号の立下りエッジ後、継続期間の間、マスク信号を
アクティブレベルとする立下り側マスク生成部と、タイ
ミング情報の設定に従って、立上り側生成部及び立下り
側生成部の動作を許可する動作許可部とにより構成する
ことができる。
In this case, the mask signal generation means includes, for example, a rising-side mask generation section that sets the mask signal to the active level for a duration from the rising edge of the original signal,
After the falling edge of the original signal, the operation to permit the operation of the falling-side mask generation unit that sets the mask signal to the active level and the operation of the rising-side generation unit and the falling-side generation unit according to the timing information setting for the duration. It can be configured with a permission unit.

【0013】そして、このように元信号の信号レベルが
反転するエッジにてチャタリングを発生させる場合、請
求項3記載のように、チャタリング信号発生手段は、チ
ャタリング信号の信号レベルが元信号の立上りエッジの
タイミングでハイレベルとなり、且つ元信号の立下りエ
ッジのタイミングでロウレベルとなるよう、元信号の両
エッジにてチャタリング信号の生成タイミングを再設定
することが望ましい。
When chattering is generated at the edge at which the signal level of the original signal is inverted in this way, the chattering signal generating means has a chattering signal generating means in which the signal level of the chattering signal is a rising edge of the original signal. It is desirable to reset the generation timing of the chattering signal at both edges of the original signal so that it becomes high level at the timing of and the low level at the timing of the falling edge of the original signal.

【0014】即ち、例えば、元信号の立上りエッジのタ
イミングで、チャタリング信号がロウレベルとなってい
た場合、両信号を合成すると、実質的に元信号の立上り
エッジのタイミングが遅延してしまうことになるが、上
述のように、タイミングを再設定することにより、元信
号の立上りエッジ及び立下りエッジのタイミングを忠実
に保持したままチャタリング信号を重畳することができ
るのである。
That is, for example, when the chattering signal is at a low level at the timing of the rising edge of the original signal, combining the two signals substantially delays the timing of the rising edge of the original signal. However, by resetting the timing as described above, the chattering signal can be superimposed while the timings of the rising edge and the falling edge of the original signal are faithfully maintained.

【0015】[0015]

【0016】 また、チャタリングの継続期間を特定す
る期間情報としては、例えば、請求項4記載のように、
チャタリングのバウンド数を用いることができる。この
場合、マスク信号生成手段は、チャタリング信号の信号
レベルの反転回数をカウントし、開始タイミング後に予
め設定されたしきい値分のカウントが行われるとタイミ
ング信号を出力するエッジカウンタを用い、しきい値設
定手段に、期間情報の設定に従って、バウンド数により
決まる継続期間内でのチャタリング信号の信号レベルの
反転回数を、エッジカウンタのしきい値として設定さ
せ、その結果、エッジカウンタが出力するタイミング信
号のタイミングを、アクティブレベルの終了タイミング
としてマスク信号を生成するように構成すればよい。
Further, as the period information for specifying the chattering continuation period, for example, as described in claim 4 ,
The number of chattering bounces can be used. In this case, the mask signal generation means uses an edge counter that counts the number of times the signal level of the chattering signal is inverted, and outputs a timing signal when counting for a preset threshold value after the start timing, using a threshold value. According to the setting of the period information, the value setting means sets the number of inversions of the signal level of the chattering signal within the duration determined by the number of bounds as the threshold value of the edge counter, and as a result, the timing signal output by the edge counter. The timing may be configured to generate the mask signal as the end timing of the active level.

【0017】[0017]

【発明の実施の形態】以下に本発明の実施例を図面と共
に説明する。図1は、本発明が適用されたECU検査装
置の全体構成を表すブロック図である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of an ECU inspection device to which the present invention is applied.

【0018】図1に示すように、本実施形態のECU検
査装置2は、検査対象ECU8に接続され、該検査対象
ECU8との間で各種信号を入出力する信号処理装置4
と、信号処理装置4を制御するための各種指令の入力
や、信号処理装置4での検出結果の表示等を行うワーク
ステーションからなる制御装置6とを備えている。
As shown in FIG. 1, the ECU inspection device 2 of this embodiment is connected to an inspection target ECU 8 and inputs and outputs various signals to and from the inspection target ECU 8.
And a control device 6 including a workstation for inputting various commands for controlling the signal processing device 4 and displaying a detection result of the signal processing device 4.

【0019】このうち、信号処理装置4は、検査対象E
CU8に入力する各種信号を発生させる信号発生部10
と、信号発生部10にて発生させた各種信号を検査対象
ECUに出力すると共に、これらの信号等に基づいてア
イドルスピード制御(ISC),燃料噴射制御,点火制
御,燃料ポンプ制御等のために、検査対象ECU8にて
アクチュエータ(負荷)を駆動することにより生成され
た各種信号を該検査対象ECU8から入力するためのE
CUインタフェース部12と、検査対象ECU8からの
入力信号によって駆動される各種アクチュエータが実装
された負荷部14と、ECUインタフェース部12を介
して入力される各種信号の状態を計測する信号計測部1
6と、制御装置6からの指令に従って、信号発生部10
にて発生させる信号を設定したり、信号計測部16での
計測結果に基づき検査対象ECU8の動作状態の判定
し、その判定結果を、制御装置6に転送する等の処理を
行う制御部18とを備えている。
Of these, the signal processing device 4 is the inspection target E.
A signal generator 10 that generates various signals to be input to the CU 8.
And outputs various signals generated by the signal generator 10 to the ECU to be inspected, and based on these signals, for idle speed control (ISC), fuel injection control, ignition control, fuel pump control, etc. , E for inputting various signals generated by driving an actuator (load) in the inspection target ECU 8 from the inspection target ECU 8
A CU interface unit 12, a load unit 14 in which various actuators driven by input signals from the inspection target ECU 8 are mounted, and a signal measuring unit 1 for measuring the states of various signals input via the ECU interface unit 12.
6 and a command from the control device 6, the signal generator 10
And a control unit 18 that performs processing such as setting a signal to be generated in step S1 or determining the operation state of the inspection target ECU 8 based on the measurement result of the signal measurement unit 16 and transferring the determination result to the control device 6. Is equipped with.

【0020】このうち、信号発生部10は、車両に装着
されている各種センサやスイッチの検出信号や設定信号
についての模擬信号を発生するものであり、ノックセン
サ,水温センサ,吸気温センサ,スロットル開度セン
サ,クランク角センサ,エアフロメータ等が出力する検
出信号を模擬したアナログ信号を発生するアナログ信号
発生回路10a、車速センサ等のパルス系センサの検出
信号を模擬したパルス信号を発生するパルス信号発生回
路10b、イグニション(IGSW)スイッチやエアコ
ンスイッチ等のスイッチ類からの設定信号を模擬したデ
ジタル信号を発生するデジタル信号発生回路10cから
なる。
Of these, the signal generator 10 generates a simulation signal for detection signals and setting signals of various sensors and switches mounted on the vehicle, and includes a knock sensor, a water temperature sensor, an intake air temperature sensor, and a throttle. A pulse signal that generates a pulse signal that simulates the detection signal of a pulse-based sensor such as a vehicle speed sensor, which generates an analog signal that simulates the detection signal output by an opening sensor, a crank angle sensor, an air flow meter, or the like. The generating circuit 10b includes a digital signal generating circuit 10c that generates a digital signal simulating a setting signal from switches such as an ignition (IGSW) switch and an air conditioner switch.

【0021】一方、負荷部14には、例えば、ガソリン
を噴射するインジェクタ,アイドル制御に使用されるロ
ータリソレノイド,フューエルポンプリレー等、実際に
車両に搭載されているものと同じアクチュエータが実装
されており、また、信号計測部16では、例えば、噴射
パルス幅,点火時期,ロータリソレノイド駆動デューテ
ィ比,燃料ポンプリレー等の状態が測定される。
On the other hand, the load section 14 is equipped with the same actuators that are actually mounted in the vehicle, such as an injector for injecting gasoline, a rotary solenoid used for idle control, a fuel pump relay, and the like. Further, the signal measuring unit 16 measures the states of the injection pulse width, the ignition timing, the rotary solenoid drive duty ratio, the fuel pump relay, etc., for example.

【0022】また、ECUインタフェース部12は、信
号処理装置4側と検査対象ECU8側の電気的なインタ
フェースを整合させるためのものであり、具体的には、
例えば、信号処理装置4側の電源電圧VDD(例えば5
V)レベルと、検査対象ECU側のバッテリー電圧+B
(例えば12V)レベルとの間の相互変換等を行うよう
に構成されている。
The ECU interface section 12 is for matching the electrical interface between the signal processing device 4 side and the inspection target ECU 8 side, and specifically,
For example, the power source voltage VDD (for example, 5
V) level and battery voltage on the ECU side to be inspected + B
It is configured to perform mutual conversion and the like with (for example, 12 V) level.

【0023】ここで、本発明の主要部であるパルス信号
発生回路10bについて詳細に説明する。パルス信号発
生回路10bは、N個の信号生成ブロックB1〜BNか
らなり、N種類のパルス信号を同時に生成できるよう構
成されている。そして、各信号生成ブロックBi(i=
1,2,…,N)は、チャタリングが重畳されていない
パルス信号(「元信号」とも呼ぶ)を出力するノーマル
モード(図2(a)参照)、元信号の立下りエッジのみ
チャタリングが重畳されたパルス信号を出力する立下り
エッジモード(図2(b)参照)、元信号の立上りエッ
ジのみチャタリングが重畳されたパルス信号を出力する
立上りエッジモード(図2(c)参照)、元信号の両エ
ッジにチャタリングが重畳された両エッジモード(図2
(d)参照)からなる4種類の動作モードを有し、適宜
選択されるいずれかの動作モードにて動作する。
Here, the pulse signal generating circuit 10b which is the main part of the present invention will be described in detail. The pulse signal generation circuit 10b includes N signal generation blocks B1 to BN and is configured to generate N types of pulse signals at the same time. Then, each signal generation block Bi (i =
1, 2, ..., N) is a normal mode (see FIG. 2A) that outputs a pulse signal (also referred to as “original signal”) on which chattering is not superimposed, and chattering is superimposed only on the falling edge of the original signal. Falling edge mode (see FIG. 2B) that outputs a pulsed pulse signal, rising edge mode (see FIG. 2C) that outputs a pulse signal in which chattering is superimposed only on the rising edge of the original signal, the original signal Both-edge mode in which chattering is superimposed on both edges of
(See (d)), there are four kinds of operation modes, and the operation is performed in any operation mode selected appropriately.

【0024】なお、各信号生成ブロックB1〜BNは、
いずれも全く同様の構成をしているため、ここでは、一
つの信号生成ブロックBiについてのみ説明する。但
し、図3は信号生成ブロックBiの詳細な構成を表すブ
ロック図、図4は、その各部の動作を表すタイミング図
である。
The signal generation blocks B1 to BN are
Since all have the same configuration, only one signal generation block Bi will be described here. However, FIG. 3 is a block diagram showing the detailed configuration of the signal generation block Bi, and FIG. 4 is a timing diagram showing the operation of each part thereof.

【0025】図3に示すように、信号生成ブロックBi
は、チャタリングが重畳される元信号Sgを発生させる
元信号発生部20と、元信号Sgに同期させたチャタリ
ング信号Scを発生させるチャタリング信号発生部22
と、チャタリングを重畳すべき期間を表すマスク信号S
mを生成するマスク信号生成部24と、マスク信号Sm
の生成タイミングを指定するためのタイミング指定部2
6と、マスク信号Smに従って、元信号Sgとチャタリ
ング信号Scを合成してなるパルス信号Soを生成し、
ECUインタフェース部12に供給する信号合成部28
とからなる。
As shown in FIG. 3, the signal generation block Bi
Is an original signal generator 20 for generating an original signal Sg on which chattering is superimposed, and a chattering signal generator 22 for generating a chattering signal Sc synchronized with the original signal Sg.
And a mask signal S representing a period in which chattering should be superimposed.
and a mask signal Sm for generating a mask signal Sm.
Designating part 2 for designating the generation timing of
6 and the mask signal Sm, a pulse signal So is generated by combining the original signal Sg and the chattering signal Sc,
Signal synthesizer 28 supplied to ECU interface 12
Consists of.

【0026】そして、元信号発生部20は、制御部18
の操作によってカウント値C1が書き込まれるレジスタ
30a,及び同じくカウント値C2が書き込まれるレジ
スタ30bと、基準クロックCLK(周期Tck)に従っ
てカウント動作し、レジスタ30aから取り込んだカウ
ント値C1のカウントが終了するとキャリー信号Y1を
出力するカウンタ31a,及び同じくレジスタ30bか
ら取り込んだカウント値C2のカウントが終了するとキ
ャリー信号Y2を出力するカウンタ31bとを備えてい
る。
The original signal generator 20 is connected to the controller 18
The register 30a to which the count value C1 is written and the register 30b to which the count value C2 is also written by the operation of, and count operation according to the reference clock CLK (cycle Tck) are carried out when the count value C1 fetched from the register 30a is finished. The counter 31a outputs the signal Y1 and the counter 31b outputs the carry signal Y2 when the count value C2 fetched from the register 30b is finished.

【0027】なお、各カウンタ31a,31bは、カウ
ンタ31aのキャリー信号Y1を、いずれもカウント値
C1,C2を取り込むためのロード信号として用いるよ
う接続されており、カウント値C1に対応した周期(T
ck・C1)毎に同様のカウント処理を繰り返し実行す
る。
Each of the counters 31a and 31b is connected to use the carry signal Y1 of the counter 31a as a load signal for fetching the count values C1 and C2, and the cycle (T
The same counting process is repeatedly executed for each ck · C1).

【0028】また、元信号発生部20は、カウンタ31
aからのキャリー信号(以下「立上りタイミング信号」
ともいう)Y1をセット入力、カウンタ31bからのキ
ャリー信号(以下「立下りタイミング信号」ともいう)
Y2をリセット入力とするSRフリップフロップ回路3
2を備えており、立上りタイミング信号Y1のタイミン
グにて立ち上がり、立下りタイミング信号Y2のタイミ
ングにて立ち下がる元信号Sg(周期Tck・C1、デュ
ーティ比C2/C1)を生成する。
Further, the original signal generator 20 includes a counter 31.
Carry signal from a (hereinafter "rise timing signal")
(Also called) Y1 set input, carry signal from counter 31b (hereinafter also referred to as "falling timing signal")
SR flip-flop circuit 3 having Y2 as a reset input
2 to generate an original signal Sg (cycle Tck · C1, duty ratio C2 / C1) that rises at the timing of the rising timing signal Y1 and falls at the timing of the falling timing signal Y2.

【0029】つまり、図4に示すように、カウンタ31
aが生成するタイミング信号Y1は、元信号Sgの一周
期毎の区切りタイミングを表しており、また、カウンタ
31bが生成するタイミング信号Y2は、元信号Sgの
一周期内における信号レベルの反転タイミングを表して
いる。
That is, as shown in FIG. 4, the counter 31
The timing signal Y1 generated by a represents the delimiter timing for each cycle of the original signal Sg, and the timing signal Y2 generated by the counter 31b represents the inversion timing of the signal level within one cycle of the original signal Sg. It represents.

【0030】次に、チャタリング信号発生部22は、図
3に示すように、制御部18の操作によりカウント値C
3が書き込まれるレジスタ33a,及び同じくカウント
値C4が書き込まれるレジスタ33bと、これらレジス
タ33a,33bに記憶されたカウント値C3,C4の
いずれか一方を、元信号Sg及びチャタリング信号Sc
に従って選択し出力するセレクタ34と、基準クロック
CLKに従ってカウント動作し、セレクタ34を介して
取り込んだカウント値分のカウントを終了するとキャリ
ー信号Y3を出力するカウンタ35と、キャリー信号Y
3,立上りタイミング信号Y1,立下りタイミング信号
Y2を入力としてチャタリングエッジ信号Y4を生成す
る論理和(OR)回路36と、OR回路36からのチャ
タリングエッジ信号Y4を分周する分周器を構成するよ
う接続されたフリップフロップ(FF)回路37とを備
えており、FF回路37が構成する分周器の出力をチャ
タリング信号Scとしている。
Next, as shown in FIG. 3, the chattering signal generation unit 22 operates the control unit 18 to count the count value C.
3 and the register 33b in which the count value C4 is similarly written, and one of the count values C3 and C4 stored in these registers 33a and 33b is used as the original signal Sg and the chattering signal Sc.
A selector 34 that selects and outputs according to the reference clock CLK, a counter 35 that counts according to the reference clock CLK, and that outputs a carry signal Y3 when the counting of the count value fetched through the selector 34 ends, and a carry signal Y.
3, a logical sum (OR) circuit 36 that receives the rising timing signal Y1 and the falling timing signal Y2 as input and generates a chattering edge signal Y4, and a frequency divider that divides the chattering edge signal Y4 from the OR circuit 36 The flip-flop (FF) circuit 37 connected in this manner is provided, and the output of the frequency divider formed by the FF circuit 37 is used as the chattering signal Sc.

【0031】なお、カウンタ35は、カウント値C3又
はC4を取り込むためのロード信号としてチャタリング
エッジ信号Y4を用いるよう接続されており、また、チ
ャタリング信号Scの信号レベルに従って交互にカウン
ト値C3,C4をカウンタ35に供給するセレクタ34
は、元信号Sgがハイレベルの時にはカウント値C3を
初期値として、元信号Sgがロウレベルの時にはカウン
ト値C4を初期値として供給するよう構成されている。
更に、FF回路37は、図示しないが、その出力が、立
上りタイミング信号Y1によりセットされ、立下りタイ
ミング信号Y2によりプリセットされるように構成され
ている。
The counter 35 is connected to use the chattering edge signal Y4 as a load signal for fetching the count value C3 or C4, and the count values C3 and C4 are alternately set according to the signal level of the chattering signal Sc. Selector 34 to supply to counter 35
Is configured to supply the count value C3 as an initial value when the original signal Sg is at a high level and the count value C4 as an initial value when the original signal Sg is at a low level.
Further, although not shown, the FF circuit 37 is configured so that its output is set by the rising timing signal Y1 and preset by the falling timing signal Y2.

【0032】つまり、チャタリング信号発生部22にて
生成されるチャタリング信号Scは、図4に示すよう
に、カウント値C3に対応したハイレベル幅tH(=T
ck・C3)、及びカウント値C4に対応したロウレベル
幅tL(=Tck・C4)を有し、しかも、元信号Sgの
立上りタイミングにて必ずハイレベルとなり、また元信
号Sgの立下りタイミングにて必ずロウレベルとなるよ
う、元信号Sgの両エッジにてタイミングが再設定され
たものとなる。なお、チャタリングエッジ信号Y4は、
このチャタリング信号Scの反転タイミング及び元信号
Sgの反転タイミングを表している。
That is, the chattering signal Sc generated by the chattering signal generator 22 has a high level width tH (= T) corresponding to the count value C3, as shown in FIG.
ck · C3) and a low level width tL (= Tck · C4) corresponding to the count value C4, and at the rising timing of the original signal Sg, it always becomes a high level, and at the falling timing of the original signal Sg. The timing is reset at both edges of the original signal Sg so that it is always at the low level. The chattering edge signal Y4 is
The inversion timing of the chattering signal Sc and the inversion timing of the original signal Sg are shown.

【0033】次に、タイミング指定部26は、図3に示
すように、制御部18の操作により、上述の動作モード
に従って設定されたモード指定値Mが書き込まれるレジ
スタ44と、このモード指定値Mに従って、後述するマ
スク信号生成部24のSRFF回路42a,42bに対
するタイミング信号Y1,Y2の供給を許可/禁止する
ゲート回路45とからなる。
Next, as shown in FIG. 3, the timing designating section 26 is a register 44 into which the mode designating value M set according to the above-mentioned operation mode is written by the operation of the control section 18, and the mode designating value M. Accordingly, the gate circuit 45 permits / prohibits the supply of the timing signals Y1 and Y2 to the SRFF circuits 42a and 42b of the mask signal generation unit 24 described later.

【0034】なお、モード指定値Mは2ビット(00/
01/10/11)で表されており、ゲート回路45で
は、モード指定値Mの上位ビットを立上りタイミング信
号Y1、下位ビットを立下りタイミング信号Y2に対応
させ、そのビット値が‘0’であれば信号の供給を禁止
し、‘1’であれば信号の供給を行うように構成されて
いる。
The mode designation value M is 2 bits (00 /
01/10/11), in the gate circuit 45, the upper bit of the mode designation value M is associated with the rising timing signal Y1 and the lower bit is associated with the falling timing signal Y2, and the bit value is "0". If so, the signal supply is prohibited, and if it is "1", the signal supply is performed.

【0035】次に、マスク信号生成部24は、制御部1
8の操作によりカウント値C5が書き込まれるレジスタ
40a,及び同じくカウント値C6が書き込まれるレジ
スタ40bと、チャタリングエッジ信号Y4に従ってカ
ウント動作し、立上りタイミング信号Y1をロード信号
としてレジスタ40aから取り込んだカウント値C5の
カウントが終了すると、キャリー信号Y5を出力するカ
ウンタ41a,及び同じく立下りタイミング信号Y2を
ロード信号としてレジスタ40bから取り込んだカウン
ト値C6のカウントが終了するとキャリー信号Y6を出
力するカウンタ41bとを備えている。
Next, the mask signal generator 24 is connected to the controller 1
8, the register 40a to which the count value C5 is written, the register 40b to which the count value C6 is also written, and the count value C5 fetched from the register 40a using the rising timing signal Y1 as a load signal. Is provided with a counter 41a that outputs a carry signal Y5 when the count of the above is finished, and a counter 41b that outputs the carry signal Y6 when the count of the count value C6 fetched from the register 40b using the falling timing signal Y2 as a load signal is finished. ing.

【0036】つまり、カウンタ41aは、元信号Sgの
立上り後にチャタリング信号Scの信号レベルが反転し
た回数をカウントし、一方、カウンタ41bは、元信号
Sgの立下り後にチャタリング信号Scの信号レベルが
反転した回数をカウントするようにされている。
In other words, the counter 41a counts the number of times the signal level of the chattering signal Sc is inverted after the rising of the original signal Sg, while the counter 41b is inverted the signal level of the chattering signal Sc after the falling of the original signal Sg. It is supposed to count the number of times you do.

【0037】また、マスク信号生成部24は、ゲート回
路45を介して供給される立上りタイミング信号Y1を
セット入力、キャリー信号Y5をリセット入力として立
上り側マスク信号Smuを生成するSRFF回路42a
と、ゲート回路45を介して供給されるタイミング信号
Y2をセット入力、キャリー信号Y6をリセット入力と
として立下り側マスク信号Smdを生成するSRFF回路
42bと、立上り側マスク信号Smu及び立下り側マスク
信号Smdを入力としてマスク信号Smを生成するOR回
路43とを備えている。
Further, the mask signal generator 24 receives the rising timing signal Y1 supplied through the gate circuit 45 as a set input and the carry signal Y5 as a reset input to generate the rising side mask signal Smu, and the SRFF circuit 42a.
And a SRFF circuit 42b that generates a falling-side mask signal Smd using the timing signal Y2 supplied through the gate circuit 45 as a set input and the carry signal Y6 as a reset input, and a rising-side mask signal Smu and a falling-side mask. An OR circuit 43 that receives the signal Smd and generates a mask signal Sm is provided.

【0038】つまり、図4に示すように、SRFF回路
42aにて生成される立上り側マスク信号Smuは、タイ
ミング指定部26によりタイミング信号Y1の供給が許
可(モード指定値M=‘X1’)されている場合に、立
上りタイミング信号Y1のタイミングからキャリー信号
Y5のタイミングまで、即ち元信号Sgの立上りからカ
ウント値C5に応じた期間の間、アクティブレベル(こ
こではハイレベル)となり、一方、SRFF回路42b
にて生成される立下り側マスク信号Smdは、タイミング
指定部26によりタイミング信号Y2の供給が許可(モ
ード指定値M=‘1X’)されている場合に、立下りタ
イミング信号Y2のタイミングからキャリー信号Y6の
タイミングまで、即ち元信号Sgの立下りからカウント
値C6に応じた期間の間、アクティブレベル(ここでは
ハイレベル)となる。
That is, as shown in FIG. 4, as for the rising side mask signal Smu generated by the SRFF circuit 42a, the timing designating unit 26 permits the supply of the timing signal Y1 (mode designating value M = 'X1'). In this case, from the timing of the rising timing signal Y1 to the timing of the carry signal Y5, that is, during the period corresponding to the count value C5 from the rising of the original signal Sg, the active level (here, high level) is set, while the SRFF circuit 42b
The trailing-side mask signal Smd generated at is carried from the timing of the trailing timing signal Y2 when the timing designating unit 26 permits the supply of the timing signal Y2 (mode designation value M = '1X'). Until the timing of the signal Y6, that is, during the period corresponding to the count value C6 from the fall of the original signal Sg, the active level (here, high level) is obtained.

【0039】そして、信号合成部28では、マスク信号
Smに従って、その信号レベルがアクティブレベルであ
る期間はチャタリング信号Scを、それ以外の期間は元
信号Sgを選択するセレクタ46により、元信号Sgと
チャタリング信号Scとを合成し、パルス信号Soを出
力する。
Then, in the signal synthesizing section 28, the selector 46 that selects the chattering signal Sc while the signal level is at the active level and the original signal Sg during the other periods according to the mask signal Sm is used as the original signal Sg. The chattering signal Sc is combined and the pulse signal So is output.

【0040】つまり、上述のように構成された信号生成
ブロックBiは、モード指定値Mにて指定されたタイミ
ングにて、カウント値C5,C6により規定された期間
だけアクティブレベルとなるマスク信号Smに従い、カ
ウント値C1,C2に従って規定された波形を有する元
信号Sgに、カウント値C3,C4により規定された波
形を有するチャタリング信号Scを重畳したパルス信号
Soを生成する。
That is, the signal generation block Bi configured as described above follows the mask signal Sm which becomes the active level for the period specified by the count values C5 and C6 at the timing specified by the mode specifying value M. A pulse signal So is generated by superimposing a chattering signal Sc having a waveform defined by the count values C3 and C4 on an original signal Sg having a waveform defined according to the count values C1 and C2.

【0041】次に、信号生成ブロックBiが生成するパ
ルス信号Soを規定するためのモード指定値M、及びカ
ウント値C1〜C6を設定する制御部18について説明
する。制御部18は、CPU,ROM,RAMを中心に
構成された周知のマイクロコンピュータからなり、信号
計測部16や信号発生部10との間でデータを入出力す
るためのIOポートや、制御装置6との間でデータを送
受するための外部インタフェース回路等を備えている。
Next, the control section 18 for setting the mode designation value M for defining the pulse signal So generated by the signal generation block Bi and the count values C1 to C6 will be described. The control unit 18 is composed of a well-known microcomputer mainly composed of a CPU, a ROM, and a RAM, and has an IO port for inputting / outputting data to / from the signal measuring unit 16 and the signal generating unit 10, and a control device 6. An external interface circuit or the like for transmitting and receiving data to and from is provided.

【0042】そして、制御装置6を操作することにより
入力される各種指令や設定値を、外部インタフェース回
路を介して取り込み、これら指令や設定値に従って、信
号計測部16や信号発生部10を動作させる。なお、信
号生成ブロックBiに対する設定項目としては、図5に
示すように、上述した動作モード(ノーマル/立下りエ
ッジ/立上りエッジ/両エッジ)の他、チャタリング信
号のハイレベル幅tH,ロウレベル幅tL、立上りエッ
ジでのチャタリングのバウンド回数n1及び立下りエッ
ジでのチャタリングのバウンド回数n2がある。このう
ち、ハイレベル幅tH,ロウレベル幅tLは、0.1m
secの分解能にて、0.1〜10msecの範囲で設
定され、一方、バウンド回数n1,n2は、いずれも1
〜15回の範囲で設定される。
Then, various commands and set values input by operating the control device 6 are fetched through the external interface circuit, and the signal measuring section 16 and the signal generating section 10 are operated in accordance with these commands and set values. . As setting items for the signal generation block Bi, as shown in FIG. 5, in addition to the above-described operation mode (normal / falling edge / rising edge / both edges), the chattering signal has a high level width tH and a low level width tL. , The chattering bound number n1 at the rising edge and the chattering bound number n2 at the falling edge. Of these, the high level width tH and the low level width tL are 0.1 m.
With a resolution of sec, it is set in the range of 0.1 to 10 msec, while the number of bounds n1 and n2 is 1 in both cases.
It is set within a range of up to 15 times.

【0043】そして、これらの設定項目の内容は、具体
的には、制御装置6にて、図6に示すチャタリング設定
画面を用いて設定する。このチャタリング設定画面で
は、チャタリング信号のハイレベル幅tH,ロウレベル
幅tL、バウンド回数n1,n2の設定を、信号名(S
P1:第1の車速センサ,SP2:第2の車速センサ,
NC0:エンジン回転数センサ等)毎に行うようにされ
ており、これら信号名により信号生成ブロックB1〜B
Nのいずれかが特定されるよう対応づけられている。
The contents of these setting items are specifically set by the controller 6 using the chattering setting screen shown in FIG. On the chattering setting screen, the chattering signal high level width tH, low level width tL, and the number of bounds n1 and n2 are set to the signal name (S
P1: first vehicle speed sensor, SP2: second vehicle speed sensor,
NC0: engine speed sensor, etc.), and signal generation blocks B1 to B according to these signal names.
It is associated so that any one of N is specified.

【0044】そして、これら信号生成ブロックBiに関
する設定内容を制御装置6から受信した制御部18で
は、まず、信号名によって特定される元信号Sgの周期
Tg,デューティ比DT、及び信号生成ブロックBiに
て用いられる基準クロックCLKの周期Tck(本実施形
態では、1μsec)に基づき、(1)(2)式に従っ
て、カウント値C1及びC2を求める。
Then, the control unit 18, which has received the setting contents relating to the signal generation block Bi from the control device 6, first sets the period Tg of the original signal Sg specified by the signal name, the duty ratio DT, and the signal generation block Bi. The count values C1 and C2 are obtained according to the equations (1) and (2) based on the cycle Tck (1 μsec in the present embodiment) of the reference clock CLK used in the above.

【0045】但し、元信号Sgの周期Tg,デューティ
比DTは、パラメータNO.(図6参照)にて管理され
る検査対象ECU8の種別毎に、その検査対象ECU8
に実装される各センサの特性等に応じて予め固定値が設
定されている。 C1=Tg/Tck (1) C2=Tg・DT/Tck=C1・DT (2) また、チャタリング信号Scのハイレベル幅tH及びロ
ウレベル幅tLと基準クロック周期Tckとに基づき、
(3)(4)式に従って、カウント値C3及びC4を求
める。
However, the period Tg of the original signal Sg and the duty ratio DT are the parameters NO. For each type of the inspection target ECU 8 managed by (see FIG. 6), the inspection target ECU 8
A fixed value is set in advance in accordance with the characteristics of each sensor mounted in. C1 = Tg / Tck (1) C2 = Tg.DT / Tck = C1.DT (2) Further, based on the high level width tH and low level width tL of the chattering signal Sc and the reference clock cycle Tck,
The count values C3 and C4 are obtained according to the equations (3) and (4).

【0046】 C3=tH/Tck (3) C4=tL/Tck (4) 更に、立上りバウンド回数n1及び立下りバウンド回数
n2に基づき、(5)(6)式に従って、カウント値C
5及びC6を求める。
C3 = tH / Tck (3) C4 = tL / Tck (4) Further, based on the number of rising bounds n1 and the number of falling bounds n2, the count value C is calculated according to the equations (5) and (6).
Determine 5 and C6.

【0047】 C5=2・n1 (5) C6=2・n2 (6) また、動作モードの設定に従って、ノーマルモードであ
ればM=‘00’、立下りエッジモードであればM=
‘01’、立上りエッジモードであればM=‘10’、
両エッジモードであればM=‘11’となるよう、モー
ド指定値Mを設定する。
C5 = 2 · n1 (5) C6 = 2 · n2 (6) Further, according to the setting of the operation mode, M = '00 'in the normal mode, M = in the falling edge mode.
'01', M = '10' in rising edge mode,
In the case of the double edge mode, the mode designation value M is set so that M = '11 '.

【0048】このようにして算出,設定されたカウント
値C1〜C6、及びモード指定値Mを、制御部18は、
信号名にて特定される信号生成ブロックBiの各レジス
タ30a,30b,33a,33b,40a,40b,
44に設定する。これにより、チャタリング設定画面で
の設定内容に応じてチャタリングが重畳された所望のパ
ルス信号Soが、各信号生成ブロックBiにて生成さ
れ、ECUインタフェース部12を介して検査対象EC
U8に供給されることになる。
The control unit 18 controls the count values C1 to C6 and the mode designation value M calculated and set in this manner.
Each register 30a, 30b, 33a, 33b, 40a, 40b of the signal generation block Bi specified by the signal name,
Set to 44. As a result, the desired pulse signal So in which chattering is superimposed according to the setting content on the chattering setting screen is generated in each signal generation block Bi, and is inspected via the ECU interface unit 12 as the inspection target EC.
It will be supplied to U8.

【0049】以上説明したように、本実施例のECU検
査装置2では、パルス信号発生回路10bを構成する各
信号生成ブロックB1〜BNにて、チャタリングが重畳
されたパルス信号Soを任意に発生させることができ、
しかも、チャタリング信号Scのハイレベル幅tH,ロ
ウレベル幅tL,チャタリングのバウンド回数n1,n
2を適宜設定することにより、様々なタイプのチャタリ
ングを実現することができる。
As described above, in the ECU inspection apparatus 2 of the present embodiment, the pulse signal So with chattering superimposed is arbitrarily generated in each of the signal generation blocks B1 to BN forming the pulse signal generation circuit 10b. It is possible,
Moreover, the high level width tH, the low level width tL of the chattering signal Sc, and the number of bounds of chattering n1, n
Various types of chattering can be realized by appropriately setting 2.

【0050】その結果、車速センサやエンジン回転数セ
ンサの検出信号など、チャタリングが生じる可能性のあ
る様々なパルス信号を模擬して生成することができ、こ
れらの検出信号に重畳されるチャタリングを除去するた
めに施された対策(フィルタ回路やマスク処理等)が有
効に動作するか否かを実際に確かめることができ、検査
対象ECU8に対して信頼性の高い検査を行うことがで
きる。
As a result, various pulse signals that may cause chattering, such as the detection signals of the vehicle speed sensor and the engine speed sensor, can be simulated and generated, and the chattering superimposed on these detection signals can be removed. It is possible to actually confirm whether or not the countermeasures (filter circuit, mask processing, etc.) that have been taken to do so operate effectively, and it is possible to perform highly reliable inspection on the inspection target ECU 8.

【0051】ここでは、パルス信号にチャタリングを重
畳するように構成したが、デジタル波形を有する信号で
あれば、どのような信号に適用してもよい。なお、本実
施形態において、チャタリング信号発生部22がチャタ
リング信号発生手段、マスク信号生成部24及びタイミ
ング指定部26がマスク信号生成手段、信号合成部28
が信号合成手段、カウント値C3,C4が波形情報、カ
ウント値C5,C6が期間情報、モード指定情報Mがタ
イミング情報に相当する。また、レジスタ40a,カウ
ンタ41a,SRFF回路42aが立上り側マスク生成
部、レジスタ40b,カウンタ41b,SRFF回路4
2bが立下り側マスク生成部、ゲート回路45が動作許
可部に相当する。更に、カウンタ35がタイマーカウン
タ、レジスタ33a,33b及びセレクタ34がカウン
ト値設定手段、カウンタ41a,41bがエッジカウン
タ、レジスタ40a,40bがしきい値設定手段に相当
する。
Although the chattering is superposed on the pulse signal here, it may be applied to any signal as long as it has a digital waveform. In the present embodiment, the chattering signal generation unit 22 is the chattering signal generation means, the mask signal generation unit 24, and the timing designation unit 26 is the mask signal generation means, the signal synthesis unit 28.
Is signal synthesizing means, count values C3, C4 are waveform information, count values C5, C6 are period information, and mode designation information M is timing information. Further, the register 40a, the counter 41a, and the SRFF circuit 42a are the rising-side mask generator, the register 40b, the counter 41b, and the SRFF circuit 4.
2b corresponds to the trailing-side mask generation unit, and the gate circuit 45 corresponds to the operation permission unit. Further, the counter 35 corresponds to a timer counter, the registers 33a and 33b and the selector 34 correspond to count value setting means, the counters 41a and 41b correspond to edge counters, and the registers 40a and 40b correspond to threshold value setting means.

【図面の簡単な説明】[Brief description of drawings]

【図1】 ECU検査装置の全体構成を表すブロック図
である。
FIG. 1 is a block diagram showing an overall configuration of an ECU inspection device.

【図2】 信号生成ブロックの動作モードを示す説明図
である。
FIG. 2 is an explanatory diagram showing operation modes of a signal generation block.

【図3】 信号生成ブロックの構成を表す回路図であ
る。
FIG. 3 is a circuit diagram showing a configuration of a signal generation block.

【図4】 信号生成ブロック各部の動作を表すタイミン
グ図である。
FIG. 4 is a timing chart showing the operation of each part of the signal generation block.

【図5】 信号生成ブロックに関する設定項目を示す説
明図である。
FIG. 5 is an explanatory diagram showing setting items related to a signal generation block.

【図6】 チャタリング設定画面を表す説明図である。FIG. 6 is an explanatory diagram showing a chattering setting screen.

【符号の説明】 2…ECU検査装置 4…信号処理装置 6…制
御装置 8…検査対象ECU 10…信号発生部 10a…アナログ信号発生回路 10b…パルス信号
発生回路 10c…デジタル信号発生回路 12…ECUインタ
フェース部 14…負荷部 16…信号計測部 18…制御部 20…元信号発生部 22…チャタリング信号発生部 24…マスク信号生成部 26…タイミング指定部
28…信号合成部 30a,30b,33a,33b,40a,40b,4
4…レジスタ 31a,31b,35,41a,41b…カウンタ 32,42a,42b…SRフリップフロップ回路 34,46…セレクタ 36,43…OR回路 3
7…FF回路 45…ゲート回路 Bi…信号生成ブロック
[Description of Reference Signs] 2 ... ECU inspection device 4 ... Signal processing device 6 ... Control device 8 ... Inspection target ECU 10 ... Signal generation unit 10a ... Analog signal generation circuit 10b ... Pulse signal generation circuit 10c ... Digital signal generation circuit 12 ... ECU Interface unit 14 ... Load unit 16 ... Signal measuring unit 18 ... Control unit 20 ... Original signal generating unit 22 ... Chattering signal generating unit 24 ... Mask signal generating unit 26 ... Timing designating unit
28 ... Signal synthesizers 30a, 30b, 33a, 33b, 40a, 40b, 4
4 ... Registers 31a, 31b, 35, 41a, 41b ... Counters 32, 42a, 42b ... SR flip-flop circuits 34, 46 ... Selectors 36, 43 ... OR circuits 3
7 ... FF circuit 45 ... Gate circuit Bi ... Signal generation block

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01R 31/00 G01R 31/3183 H01H 9/54 H03K 3/64 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) G01R 31/00 G01R 31/3183 H01H 9/54 H03K 3/64

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 予め設定された波形情報にて特定される
波形を有したチャタリング信号を繰り返し発生するチャ
タリング信号発生手段と、 予め設定されたタイミング情報にて特定される開始タイ
ミングから、予め設定された期間情報にて特定される継
続期間の間、アクティブレベルとなるマスク信号を生成
するマスク信号生成手段と、 該マスク信号生成手段にて生成されたマスク信号がアク
ティブレベルである間、チャタリングを重畳すべき元信
号に、前記チャタリング信号生成手段にて発生させたチ
ャタリング信号を合成して出力する信号合成手段と、 を備えチャタリング発生装置において、 前記波形情報として、生成すべきチャタリング信号のハ
イレベル期間及びロウレベル期間の長さを特定する情報
が設定され、 前記チャタリング信号発生手段は、 所定の基準クロックに従ってカウント動作し、予め設定
された設定値分のカウントが行われるとタイミング信号
を出力するタイマーカウンタと、 該タイマーカウンタの設定値として、前記ハイレベル期
間に相当するカウント値、及びロウレベル期間に相当す
るカウント値を交互に設定するカウント値設定手段と、 を備え、前記タイマーカウンタが出力するタイミング信
号に従い、該タイミング信号のタイミングにて信号レベ
ルが反転するチャタリング信号を生成することを特徴と
するチャタリング発生装置。
1. A chattering signal generating means for repeatedly generating a chattering signal having a waveform specified by preset waveform information, and a start timing specified by preset timing information. Mask signal generating means for generating a mask signal that becomes an active level for the duration specified by the period information, and chattering is superimposed while the mask signal generated by the mask signal generating means is at an active level. in should do the original signal, the chattering apparatus and a signal synthesizing means for synthesizing and outputting a chattering signal generated by the chattering signal generating means, as the waveform information, the chattering signal to be generated Ha
Information that identifies the length of the level and low-level periods
Is set, the chattering signal generating means counts according to a predetermined reference clock, and is set in advance.
When the count for the set value that has been set is performed, the timing signal
And a high-level period as a set value of the timer counter.
Corresponding to the count value and low level period
A count value setting means for alternately setting the count value, and the timing signal output from the timer counter.
Signal level at the timing of the timing signal.
It is characterized by generating a chattering signal in which
A chattering generator.
【請求項2】 請求項1記載のチャタリング発生装置に
おいて、 前記タイミング情報として、前記元信号の立上りエッ
ジ、又は立下りエッジ、或いは両エッジのいずれかが設
定され、 前記マスク信号生成手段は、 前記元信号の立上りエッジから前記継続期間の間、前記
マスク信号をアクティブレベルとする立上り側マスク生
成部と、 前記元信号の立下りエッジ後、前記継続期間の間、前記
マスク信号をアクティブレベルとする立下り側マスク生
成部と、 前記タイミング情報の設定に従って、前記立上り側生成
部及び立下り側生成部の動作を許可する動作許可部と、 を備えることを特徴とする請求項1記載のチャタリング
発生装置。
2. The chattering generator according to claim 1, wherein the timing information is set to a rising edge, a falling edge, or both edges of the original signal, and the mask signal generating means A rising-side mask generation unit that sets the mask signal to an active level during the continuation period from the rising edge of the original signal, and sets the mask signal to an active level during the continuation period after the falling edge of the original signal. The chattering occurrence according to claim 1, further comprising: a falling-side mask generation unit, and an operation permission unit that permits the operations of the rising-side generation unit and the falling-side generation unit according to the setting of the timing information. apparatus.
【請求項3】 請求項1又は請求項2記載のチャタリン
グ発生装置において、 前記チャタリング信号発生手段は、前記チャタリング信
号の信号レベルが前記元信号の立上りエッジのタイミン
グでハイレベルとなり、且つ前記元信号の立下りエッジ
のタイミングでロウレベルとなるよう、前記元信号の両
エッジにて前記チャタリング信号の生成タイミングを再
設定することを特徴とするチャタリング発生装置。
3. The chattering generator according to claim 1 or 2, wherein the chattering signal generating means changes the signal level of the chattering signal to a high level at a timing of a rising edge of the original signal, and further, the original signal. A chattering generation device, wherein the generation timing of the chattering signal is reset at both edges of the original signal so that the chattering signal becomes low level at the timing of the falling edge thereof.
【請求項4】 請求項1ないし請求項3いずれか記載の
チャタリング発生装置において、 前記期間情報として、チャタリングのバウンド数が設定
され、 前記マスク信号生成手段は、 前記チャタリング信号の信号レベルの反転回数をカウン
トし、前記開始タイミング後に予め設定されたしきい値
分のカウントが行われるとタイミング信号を出力するエ
ッジカウンタと、 前記期間情報の設定に従って、前記バウンド数により決
まる前記継続期間内での前記チャタリング信号の信号レ
ベルの反転回数を、前記エッジカウンタのしきい値とし
て設定するしきい値設定手段と、 を備え、前記エッジカウンタが出力するタイミング信号
のタイミングを、アクティブレベルの終了タイミングと
するマスク信号を生成することを特徴とするチャタリン
グ発生装置。
4. The chattering generator according to claim 1 , wherein a chattering bound number is set as the period information, and the mask signal generation means sets the number of times of inversion of the chattering signal. And an edge counter that outputs a timing signal when a preset threshold value is counted after the start timing, and according to the setting of the period information, the edge counter within the continuation period determined by the number of bounds. Threshold value setting means for setting the number of inversions of the signal level of the chattering signal as the threshold value of the edge counter, and a mask for setting the timing of the timing signal output by the edge counter as the end timing of the active level. Chattering generation characterized by generating a signal Location.
JP31816899A 1999-11-09 1999-11-09 Chattering generator Expired - Fee Related JP3501048B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31816899A JP3501048B2 (en) 1999-11-09 1999-11-09 Chattering generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31816899A JP3501048B2 (en) 1999-11-09 1999-11-09 Chattering generator

Publications (2)

Publication Number Publication Date
JP2001133526A JP2001133526A (en) 2001-05-18
JP3501048B2 true JP3501048B2 (en) 2004-02-23

Family

ID=18096242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31816899A Expired - Fee Related JP3501048B2 (en) 1999-11-09 1999-11-09 Chattering generator

Country Status (1)

Country Link
JP (1) JP3501048B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4681414B2 (en) * 2005-09-28 2011-05-11 アルパイン株式会社 Vehicle speed detection device and navigation device
TWI736497B (en) * 2020-02-25 2021-08-11 瑞昱半導體股份有限公司 Electronic device and electronic product

Also Published As

Publication number Publication date
JP2001133526A (en) 2001-05-18

Similar Documents

Publication Publication Date Title
US4878209A (en) Macro performance test
US6651199B1 (en) In-system programmable flash memory device with trigger circuit for generating limited duration program instruction
JP3501048B2 (en) Chattering generator
US7809521B1 (en) Precise delay measurement through combinatorial logic
US20040133825A1 (en) Path delay measuring circuitry
Maka et al. ATPG for scan chain latches and flip-flops
CN100523847C (en) Test access port
JP2000304816A (en) Logic integrated circuit with diagnostic function and its diagnostic method
KR900008788B1 (en) Semiconductor integrated circuit device having testing circuit
JPH06160489A (en) Boundary scan interior test system
Sedaghat-Maman et al. A new approach to fault emulation
JP2002041130A (en) Automatic inspecting device
US5734662A (en) Period generating device
El-Mahlawy et al. New Hybrid-Based Self-Test Strategy for Faulty Modules of Complex Microcontroller Systems
JP4422223B2 (en) IC test equipment
JP3698269B2 (en) LSI delay measurement method
JPH061890B2 (en) Waveform simulator
JPH0210178A (en) Logic circuit
JPS60125573A (en) Timing pulse generator
JPH0321879A (en) Timing signal generating circuit of tester
JPH1123660A (en) Test simplifying circuit of integrated circuit
JP2002350509A (en) Semiconductor device
SU1652858A1 (en) Device for monitoring performance parameters of internal combustion engine
JPH0329871A (en) Logical integrated circuit
JPH09304488A (en) Method and apparatus for calibrating timing generator

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees