JPS6318288A - Measuring apparatus for long-time timer - Google Patents
Measuring apparatus for long-time timerInfo
- Publication number
- JPS6318288A JPS6318288A JP16230286A JP16230286A JPS6318288A JP S6318288 A JPS6318288 A JP S6318288A JP 16230286 A JP16230286 A JP 16230286A JP 16230286 A JP16230286 A JP 16230286A JP S6318288 A JPS6318288 A JP S6318288A
- Authority
- JP
- Japan
- Prior art keywords
- display
- channel
- signal
- switch
- measurement
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000005259 measurement Methods 0.000 claims abstract description 30
- 238000001514 detection method Methods 0.000 abstract description 5
- 239000000523 sample Substances 0.000 abstract description 5
- 238000000034 method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 101100484217 Rattus norvegicus Slc14a1 gene Proteins 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Measurement Of Unknown Time Intervals (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明はマイクロコンピュータ等を用いた電子制御装置
の長時間タイマ用計測装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a measuring device for a long timer of an electronic control device using a microcomputer or the like.
従来の技術
従来、マイクロコンピュータ等を用いた電子制御装置の
プログラムのデバッグに、信号出力端子にLED等を接
続したデバッグ装置を用い、そのLEDの点灯および消
灯の時間を測定者が直接ストップクオソチ等により測定
していた。2. Description of the Related Art Conventionally, when debugging a program of an electronic control device using a microcomputer, etc., a debugging device with an LED, etc. connected to the signal output terminal is used, and a measurer can directly set the stop quotation time for the LED to turn on and off. It was measured by etc.
発明が解決しようとする問題点
このような従来の方法では、測定する信号の変化のタイ
ミングが長い場合には、測定者は長時間にわたって、信
号の変化を監視している必要があり、測定者への負担の
増加、デバッグ効率の低下の問題がある。また人間の操
作による測定の為、誤差が生じやすく高精度の測定は困
難であ仝。Problems to be Solved by the Invention In such conventional methods, when the timing of change in the signal to be measured is long, the measurer must monitor the change in the signal for a long time, and the measurer There are problems such as an increase in the burden on the system and a decrease in debugging efficiency. In addition, since measurements are performed by human operators, errors are likely to occur and highly accurate measurements are difficult.
本発明はかかる点に鑑みてなされたもので、簡易な構成
でプログラムのデバッグ時の測定者の負担の軽減とデバ
ッグ効率の向上を図るとともに、精度の高い測定を可能
とする長時間タイマ用計測装置を提供することを目的と
している。The present invention has been made in view of the above points, and provides a long-time timer measurement that has a simple configuration, reduces the burden on the measurer when debugging a program, improves debugging efficiency, and enables highly accurate measurement. The purpose is to provide equipment.
問題点を解決するだめの手段
本発明は上記問題点を解決するため、長時間タイマ用計
測装置を第3図に示すように、電子制御装置の制御用出
力信号を同時に1つ以上検出する信号入力手段と、表示
チャンネル指定用の=干≠スイッチと表示チャンネルセ
ット用の≠;:;千スイッチからなる表示切換手段と、
測定のスタート、ストップ、リセットを選択する#≠;
;テスイッチからなる測定モード入力手段と、制御用出
力信号、チャンネルおよび、チャンネルに対応する測定
時間等を表示する表示手段と、発振器からなる基準クロ
ック発生手段と、前記信号入力手段、表示切換入力手段
、測定モード入力手段、基準クロック発生手段からの信
号に基づいて時間をカウントし、表示信号を表示手段に
出力するや]断手段より構成したものである。Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides a long-time timer measuring device that simultaneously detects one or more control output signals of an electronic control device, as shown in FIG. an input means, a display switching means consisting of a = ≠ switch for specifying a display channel and a ≠;:; thousand switch for setting a display channel;
Select start, stop, and reset of measurement #≠;
measurement mode input means consisting of a test switch; display means for displaying control output signals, channels, measurement times corresponding to the channels, etc.; reference clock generation means consisting of an oscillator; the signal input means; display switching input means; , measurement mode input means, and means for counting time based on signals from the reference clock generation means and outputting a display signal to the display means.
作 用
本発明は上記構成により、電子制御装置の制御用出力信
号の変化を検出し、その信号がy化するまでの時間と信
号のデータを連続して、複数回(複数チャンネル)測定
および記憶しておき、表示チャンネlしをセットするこ
とにより、任意のチτンネ/I/(順番)の測定時間と
信号データを表示するため、測定者の手をわずられせる
ことなく、長時間タイマの時間測定が行なわれることに
なる。Effect: With the above configuration, the present invention detects a change in a control output signal of an electronic control device, and continuously measures and stores the time until the signal becomes Y and the signal data multiple times (multiple channels). By setting the display channel in advance, the measurement time and signal data of any channel/I/(order) can be displayed, so the measurement time and signal data can be displayed for a long time without requiring the operator's intervention. Time measurement by the timer will be performed.
実施例
以下、本発明の一実施例を添付図面第1図及び第2図に
沿って説明する。EXAMPLE Hereinafter, an example of the present invention will be described with reference to the accompanying drawings FIGS. 1 and 2.
第1図において、1はマイクロコンピュータ、2は測定
のスタート、ストップ、リセットを行なうモードスイッ
チ、3&は被測定電流制御装置の出力端子に接続する信
号検出プローブ、4は表示チャシネ/+4定スイッチ、
5は表示チャンネルセットスイッチ、6は測定の基準ク
ロックを発生する外部発振器、7はLED等からなり、
信号検出プローブにより検出した信号データを表示する
信号表示素子、8tfi7セグメントLEDからなり、
各チャンネル毎の測定時間を表示する時間表示素子、9
!I′17セグメン)LEDかもなるチャシネ/1/表
示素子である。そして、0UT1〜0UT20はマイク
ロコンピュータ1の出力端子、I N 1〜IN9はマ
イクロコンピュータ1の入力端子、INTはマイクロコ
ンピュータの割込み入力端子で、外部発振器6が接続さ
れている。In FIG. 1, 1 is a microcomputer, 2 is a mode switch that starts, stops, and resets measurement, 3 & is a signal detection probe connected to the output terminal of the current control device to be measured, 4 is a display/+4 constant switch,
5 is a display channel set switch, 6 is an external oscillator that generates a measurement reference clock, 7 is an LED, etc.
Consists of a signal display element, 8TFI 7 segment LED, that displays signal data detected by a signal detection probe.
Time display element for displaying measurement time for each channel, 9
! I'17 segment) It is a display element which can also be an LED. 0UT1 to 0UT20 are output terminals of the microcomputer 1, IN1 to IN9 are input terminals of the microcomputer 1, and INT is an interrupt input terminal of the microcomputer, to which an external oscillator 6 is connected.
また、○UT11〜0UT20にスキャン出力を発生さ
せて、時間表示素子8あるいはチャンネル表示素子9の
中のいづれか1つのLEDをアクティブにするとともに
、0UT5〜11に7セグメントテータ出力を発生させ
ることにより、時間表示素子8およびチャンネル表示素
子9の表示を制御する。Also, by generating a scan output at UT11 to 0UT20 and activating one of the LEDs in the time display element 8 or channel display element 9, and generating a 7-segment theta output at 0UT5 to 11, Controls the display of time display element 8 and channel display element 9.
第2図はマイクロコンピュータのソフトフェアを示す7
0−チャートである。図中のA〜゛〃まではステップを
表わす。ここで第2図に従って本デバッグ装置の作用の
説明を行なう。Figure 2 shows the microcomputer software7
0 - Chart. A to A in the figure represent steps. Here, the operation of the present debugging device will be explained according to FIG.
プログラムがスタートすると、まずステップAでINT
端子に外部発振器からの立上り信号が入力されるのを待
ち、立上9信号が入力されるとステップBに進む。When the program starts, first at step A the INT
It waits for the rising edge signal from the external oscillator to be input to the terminal, and when the rising edge 9 signal is inputted, the process proceeds to step B.
ステップBでIN1〜INgまでの各種スイッチおよび
被測定装置の出力信号を入力する。In step B, output signals from various switches IN1 to INg and the device under test are input.
次にステップCでCNTフラグにより、タイマカウント
判断を行う。CNTフラグがある場合には、ステップD
に進み、カウントポインタで指示されたタイマーのタイ
マカウントが行なわれる。Next, in step C, a timer count is determined based on the CNT flag. If there is a CNT flag, step D
Then, the timer count specified by the count pointer is performed.
次にステップEで、モードスイッチが押されたか否かを
判別し、押し始めの場合は、ステップFに進み、モード
用カウンタを1インクリメントする。ただし、このモー
ド用カウンタは0〜20カウンタである。Next, in step E, it is determined whether or not the mode switch has been pressed. If the mode switch has been pressed, the process proceeds to step F, where the mode counter is incremented by one. However, the counter for this mode is a 0-20 counter.
次にステップGで、モード用カウンタが0か否かを判別
し、0であればステップJにジャンプし、0でなければ
ステップHに進む。Next, in step G, it is determined whether or not the mode counter is 0. If it is 0, the process jumps to step J, and if it is not 0, the process proceeds to step H.
ステップHで、表示チャンネルセットスイッチが押され
たか否かを4!lJ別し、押されていればステップIで
、表示チャンネル指定スイッチの入力値を表示ポインタ
にセットする。In step H, check whether the display channel set switch has been pressed or not! If the switch is pressed, the input value of the display channel designation switch is set in the display pointer in step I.
次にステップJで、モード用カウンタにより判別し、同
カクンタが0の場合は、ステップKに進み、1の場合に
ステップP、2の場合はステップVに進むことになる。Next, in step J, a mode counter is used to determine the mode. If the kakunta is 0, the process proceeds to step K, if it is 1, the process proceeds to step P, and if it is 2, the process proceeds to step V.
まずモード用カウンタがOの場合について説明する。ス
テップにで各チャンネルのタイマをクリアする。次にス
テップしてモード用カウンタをOにセットする。次にス
テップMでCNT7ラグをリセットし、ステップNでカ
ウントポインタ、チャンネルポインタと表示ポインタを
クリアする。First, the case where the mode counter is O will be explained. Clear the timer for each channel in steps. Next, step and set the mode counter to O. Next, in step M, the CNT7 lag is reset, and in step N, the count pointer, channel pointer and display pointer are cleared.
このようにモード用カウンタが0の場合には、クリア動
作を行なったのちにステップOK移る。In this manner, when the mode counter is 0, the clearing operation is performed and then the step OK is entered.
ステップ○では、表示ポインタで指示されるところの、
チャンネルとチャンネルに対応するタイマ力クンタ値を
0UT5〜0UT20のスキャン出力により表示させる
とともに、同チャンネルの信号検出データを0UT1〜
0UT4のスタティック出力により表示する。そして、
L○OPにもどる。In step ○, where indicated by the display pointer,
The channel and the timer value corresponding to the channel are displayed by scanning output from 0UT5 to 0UT20, and the signal detection data of the same channel is displayed from 0UT1 to 0UT20.
Displayed by static output of 0UT4. and,
Return to L○OP.
次にステップJにおいて、モード用カウンタが1の場合
について説明する。この場合、ステップJの次1・ては
ステップPに進む。ステップPでIN6間測定及びタイ
マ値と信号データの格納処理を行なう。Next, the case where the mode counter is 1 in step J will be described. In this case, the process proceeds to step P after step J. In step P, measurement between IN6 and storage of the timer value and signal data are performed.
次にモード用カウンタが2の場合について説明する。こ
れはステップJからステップVにジャンプするか、ある
いはステップRからジャンプする場合がある。ステップ
Rで測定終了が指示されると、ステップVでモード用カ
ウンタに2がセットされる。次にステップWでCNTフ
ラグがリセットされることにより、タイマカウントが禁
止される。次にステップOを経て、ル−プを繰返す。Next, a case where the mode counter is 2 will be explained. This may be a jump from step J to step V or a jump from step R. When the end of the measurement is instructed in step R, 2 is set in the mode counter in step V. Next, in step W, the CNT flag is reset, thereby prohibiting timer counting. Next, the process goes through step O and repeats the loop.
この様に、モード用カウンタが2の場合には測定終了処
理を行なうことになるが、ステップG1H,Iにより、
表示チャンネルセットスイッチが押された場合、表示ポ
インタにチャンネル指定スイッチの値が表示ポインタに
セットされるため、任意のチャンネルのタイマ測定値と
信号データを表示させることが可能となる。In this way, when the mode counter is 2, the measurement end process is performed, but in steps G1H and I,
When the display channel set switch is pressed, the value of the channel designation switch is set to the display pointer, making it possible to display the timer measurement value and signal data of any channel.
したがって、電子制御装置等の出力信号の変化を検出す
る毎に、カウントするタイマを切換えるとともに、タイ
マ値と出力信号データをメモリす〜INgで入力した信
号データが前回入力したデータと比較して変化があるか
否かを判断する。変化の無い場合にはステップUにジャ
ンプし、変化がある場合にはステップQに進む。ステッ
プQでカウントポインタ及び、チャンネルポインタをイ
ンクリメントして、ステップDでタイマカウントするタ
イマを変更する。次にステップRではインクリメントし
たカウントポインタ及び、チャンネルポインタの値によ
り測定が終了するか否かを判別する。ここで両ポインタ
が測定終了を示す場合には、ステップVヘジャンプし、
まだ測定終了でない場合はステップSへ進む。ステップ
Sで今回入力した信号データを、チャンネルポインタで
示されたメモリに格納する。次にステップTでチャンネ
ルポインタ値を表示ポインタ値とする。次にステップU
でCNT7ラグをセットして、タイマカウントがステッ
プDで行なわれる様にする。次にステップOに進み、表
示処理を行なうと再びループを繰返す。Therefore, every time a change in the output signal of an electronic control device, etc. is detected, the counting timer is switched and the timer value and output signal data are memorized. Determine whether or not there is. If there is no change, jump to step U; if there is a change, proceed to step Q. In step Q, the count pointer and channel pointer are incremented, and in step D, the timer for counting is changed. Next, in step R, it is determined whether or not the measurement is completed based on the incremented count pointer and channel pointer values. If both pointers indicate the end of measurement, jump to step V,
If the measurement is not yet completed, proceed to step S. In step S, the signal data input this time is stored in the memory indicated by the channel pointer. Next, in step T, the channel pointer value is set as the display pointer value. Next step U
sets the CNT7 lag so that the timer count is done in step D. Next, the process proceeds to step O, where display processing is performed and the loop is repeated again.
このようにモード用カウンタが1の場合は、時ることに
より、1回の測定で連続した動作の時間を測定すること
が可能となる。In this way, when the mode counter is 1, it is possible to measure the time of continuous operation by one measurement.
発明の効果
以上述べてきたように、本発明によれば、簡易な回路構
成で、長時間タイヤ測定時の測定者の負担の軽減を図り
、測定精度及び効率の向上が得られる。Effects of the Invention As described above, according to the present invention, with a simple circuit configuration, the burden on the measurer during long-term tire measurements can be reduced, and measurement accuracy and efficiency can be improved.
第1図は本発明の一実施例における長時間タイマ用計測
装置の回路図、第2図は同長時間タイマ用計測装置の動
作を説明するフローチャート、第3図は同長時間タイヤ
用計測装置を機能実現手段で表わしたブロック図である
。
1・・・・・・マイクロフンピユータ、2・・・・モー
ドスイッチ、3・・・・信号検出プローブ、4・・・・
表示チャンネル指定7インチ、5・・・・表示チャンネ
ルセットスイッチ、6・・・・・・外部発振器、7・・
・・・信号表示素子、8・・・・・時間表示素子、9
・チャシネル表示素子。
代理人の氏名 弁理士 中 尾 歓 男 ほか1名/−
−、マイクロコンピュータ 6−1) 部
! [fi第1図
第 2 図Fig. 1 is a circuit diagram of a measuring device for a long time timer according to an embodiment of the present invention, Fig. 2 is a flowchart explaining the operation of the measuring device for a long time timer, and Fig. 3 is a measuring device for a long time tire. FIG. 2 is a block diagram showing the function implementation means. 1...Microphone computer, 2...Mode switch, 3...Signal detection probe, 4...
Display channel designation 7 inches, 5...Display channel set switch, 6...External oscillator, 7...
...Signal display element, 8...Time display element, 9
- Channel display element. Name of agent: Patent attorney Ken Nakao and 1 other person/-
-, Microcomputer 6-1) Department! [FI Figure 1 Figure 2
Claims (1)
る信号入力手段と、表示チャンネル指定用のスイッチと
表示チャンネルセット用の スイッチからなる表示切換入力手段と、 測定のスタート、ストップ、リセットを選択するスイッ
チからなる測定モード入力手段 と、制御用出力信号、チャンネルおよび、チャンネルに
対応する測定時間等を表示する表示手段と、発振器から
なる基準クロック発生手段と、前記信号入力手段、表示
切換入力手段、測定モード入力手段、基準クロック発生
手段からの信号に基づいて時間をカウントし、表示信号
を表示手段に出力する判断手段より構成される長時間タ
イマ用計測装置。[Scope of Claims] Signal input means for simultaneously detecting one or more control output signals of an electronic control device; display switching input means comprising a switch for specifying a display channel and a switch for setting a display channel; and a start of measurement. measurement mode input means consisting of a switch for selecting , stop, and reset; display means for displaying a control output signal, channel, and measurement time corresponding to the channel; reference clock generation means consisting of an oscillator; A measuring device for a long-time timer, comprising a display switching input means, a measurement mode input means, and a determination means for counting time based on a signal from a reference clock generation means and outputting a display signal to the display means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16230286A JPS6318288A (en) | 1986-07-10 | 1986-07-10 | Measuring apparatus for long-time timer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16230286A JPS6318288A (en) | 1986-07-10 | 1986-07-10 | Measuring apparatus for long-time timer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6318288A true JPS6318288A (en) | 1988-01-26 |
Family
ID=15751917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16230286A Pending JPS6318288A (en) | 1986-07-10 | 1986-07-10 | Measuring apparatus for long-time timer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6318288A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102559662B1 (en) * | 2022-08-24 | 2023-07-26 | (주)아이토브 | Illegal parking management system for electric vehicle charging stations |
-
1986
- 1986-07-10 JP JP16230286A patent/JPS6318288A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102559662B1 (en) * | 2022-08-24 | 2023-07-26 | (주)아이토브 | Illegal parking management system for electric vehicle charging stations |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4825392A (en) | Dual function DMM display | |
US4228394A (en) | Digital ohmmeter with electrical continuity tester | |
JPS6318288A (en) | Measuring apparatus for long-time timer | |
JPS6021354B2 (en) | Impedance measuring device | |
JPH09236530A (en) | Apparatus or measuring ultra-micro hardness | |
JP3556796B2 (en) | Leak current meter | |
JPH03242568A (en) | Apparatus for testing cable with connector | |
JPH05188123A (en) | Battery measuring apparatus | |
JPH0733170Y2 (en) | Digital multimeter | |
JPH0968438A (en) | Electric measuring apparatus | |
JPS5852471B2 (en) | Resistance welding timer cycle measuring device | |
JPS60201265A (en) | Insulation resistance tester | |
JPH069353Y2 (en) | Calibrator for pressure transmitter | |
JPH0415581A (en) | Method and device for discriminating mounting circuits parts | |
JP2543326Y2 (en) | Waveform measuring device | |
JPH07129680A (en) | Tact related information generating device in production line | |
JP2664067B2 (en) | Small signal detection method | |
JPH03200085A (en) | Automatic calibrating system for digital measuring instrument | |
SU543993A1 (en) | Device for monitoring the reliability of wire resistors | |
JPH04289420A (en) | Mrtd measuring apparatus | |
JPH083498B2 (en) | Oscilloscope operation support device | |
KR950013602B1 (en) | Frequency measuring device | |
JPH0371669B2 (en) | ||
JPH02159571A (en) | Measuring device of pulse signal | |
JPH08170974A (en) | Period and average current measuring instrument |