JPH0633237U - Arithmetic device with real-time arithmetic function for measurement data - Google Patents

Arithmetic device with real-time arithmetic function for measurement data

Info

Publication number
JPH0633237U
JPH0633237U JP6769092U JP6769092U JPH0633237U JP H0633237 U JPH0633237 U JP H0633237U JP 6769092 U JP6769092 U JP 6769092U JP 6769092 U JP6769092 U JP 6769092U JP H0633237 U JPH0633237 U JP H0633237U
Authority
JP
Japan
Prior art keywords
calculation
time
real
command
measurement data
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
Application number
JP6769092U
Other languages
Japanese (ja)
Inventor
政和 北林
Original Assignee
紀北電子株式会社
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 紀北電子株式会社 filed Critical 紀北電子株式会社
Priority to JP6769092U priority Critical patent/JPH0633237U/en
Publication of JPH0633237U publication Critical patent/JPH0633237U/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

(57)【要約】 【目的】 測定データを含む演算をリアルタイムに行う
ことのできる演算装置を提供することを目的とする。 【構成】 計測手段8によって計測されたデータは、演
算手段10に与えられる。一方、演算指令入力手段16
からは、演算指令が入力される。連続判定手段14は、
この演算指令に計測演算指令が含まれているか否かを判
断する。計測演算指令が含まれていなければ実時間演算
フラグを立て、含まれていなければ実時間演算フラグを
立てない。演算手段10は、実時間演算フラグが立って
いなければ演算指令を実行し、演算結果を表示手段12
に出力する。表示手段12は、この演算結果を表示す
る。一方、実時間演算フラグが立っていれば、計測手段
8からの計測データを取り込んで演算指令を実行し、演
算結果を表示手段12で表示させる。なお、実時間演算
フラグが立っている場合には、この一連の処理を繰り返
し行う。すなわち、前回の演算結果の出力が終わると、
新たに計測データを取り込み、演算を行って演算結果を
出力する。これにより、リアルタイムに演算結果を表示
することができる。
(57) [Abstract] [Purpose] It is an object to provide an arithmetic unit capable of performing arithmetic including measurement data in real time. [Structure] The data measured by the measuring means 8 is given to the calculating means 10. On the other hand, the calculation command input means 16
A calculation command is input from. The continuous determination means 14 is
It is determined whether or not this calculation command includes a measurement calculation command. If the measurement calculation command is not included, the real-time calculation flag is set, and if it is not included, the real-time calculation flag is not set. The arithmetic means 10 executes an arithmetic command if the real-time arithmetic flag is not set, and the arithmetic result is displayed on the display means 12.
Output to. The display means 12 displays the calculation result. On the other hand, if the real-time calculation flag is set, the measurement data from the measuring means 8 is fetched, the calculation command is executed, and the calculation result is displayed on the display means 12. When the real-time calculation flag is set, this series of processes is repeated. That is, when the output of the previous calculation result ends,
The measurement data is newly captured, the calculation is performed, and the calculation result is output. As a result, the calculation result can be displayed in real time.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

この考案は演算装置に関するものであり、特に計測データの実時間演算機能の 実現に関するものである。 The present invention relates to an arithmetic device, and particularly to realization of a real-time arithmetic function of measurement data.

【0002】[0002]

【従来の技術】[Prior art]

一般に、計測を行う場合に、計測したデータに基づいて演算を行う場合がある 。例えば、図15のような回路の負荷6において消費される電力を電圧計を用い て計測する場合には、次のようにして行っていた。なおここで、負荷6の抵抗値 RLは既知であり、回路網4の状態が時間と共に変化し、その出力電流Ioも時間 的に変化するものとする。In general, when performing measurement, there are cases where calculation is performed based on the measured data. For example, when the electric power consumed by the load 6 of the circuit as shown in FIG. 15 is measured by using a voltmeter, it is performed as follows. Here, it is assumed that the resistance value RL of the load 6 is known, the state of the network 4 changes with time, and the output current I o thereof also changes with time.

【0003】 まず、テスター等の電圧計によって負荷6両端の電圧Eoを計測する。次に、 電卓等の計算機により次式に基づいて演算を行い、消費電力Wを算出する。First, the voltage E o across the load 6 is measured by a voltmeter such as a tester. Then, a calculator such as a calculator is used to calculate the power consumption W based on the following equation.

【0004】 W=Eo 2/RL・・・・・・・・・・・(1) 上記のようにして、消費電力Wを算出することができる。W = E o 2 / RL ... (1) The power consumption W can be calculated as described above.

【0005】[0005]

【考案が解決しようとする課題】[Problems to be solved by the device]

しかしながら、上記のような従来の技術においては、次のような問題があった 。 However, the above conventional techniques have the following problems.

【0006】 第一に、テスター等の計測器によって計測したデータを読み取り、このデータ を電卓によって計算式と共に入力するという手順を行わねばならず、操作が煩雑 であった。Firstly, the procedure of reading the data measured by a measuring instrument such as a tester and inputting this data together with the calculation formula by a calculator was complicated, and the operation was complicated.

【0007】 第二に、図15に示す例のように、計測データが時間と共に変化する場合には 、同じ操作を繰り返さねばならず煩雑さが倍加するばかりでなく、リアルタイム に必要とする結果(上記の例では電力W)を得ることができないという問題もあ った。Secondly, as in the example shown in FIG. 15, when the measurement data changes with time, the same operation must be repeated, which not only complicates but also requires real-time results ( In the above example, there is a problem that the electric power W) cannot be obtained.

【0008】 この考案は上記のような問題点を解決して、測定データを含む演算をリアルタ イムに行うことのできる演算装置を提供することを目的とする。An object of the present invention is to solve the above problems and to provide an arithmetic unit capable of performing arithmetic including measurement data in real time.

【0009】[0009]

【課題を解決するための手段】[Means for Solving the Problems]

請求項1の演算装置は、 物理量を計測して、物理量に対応する計測データを出力する計測手段、 演算指令を入力する演算指令入力手段、 入力された演算指令に計測演算指令が含まれているか否かを判定し、含まれて いれば実時間演算フラグを立てる連続判定手段、 実時間演算フラグが立っていなければ、入力された演算指令に基づいて演算を 行い演算結果を出力し、実時間演算フラグが立っていれば、入力された演算指令 および所定時間毎に取り込んだ計測手段からの計測データに基づいて所定時間毎 に演算を行い所定時間ごとに演算結果を出力する演算手段、 演算手段からの演算結果を表示する表示手段、 を備えている。 The arithmetic unit according to claim 1 measures a physical quantity and outputs measurement data corresponding to the physical quantity, an arithmetic command input means for inputting an arithmetic command, and whether the input arithmetic command includes a measurement arithmetic command. Whether or not it is included, and if it is included, a continuous determination unit that sets a real-time operation flag is set.If the real-time operation flag is not set, the operation is performed based on the input operation command, and the operation result is output. If the operation flag is set, an operation means for performing an operation every predetermined time based on the input operation command and the measurement data from the measuring means fetched at every predetermined time, and outputting an operation result every predetermined time; The display means for displaying the calculation result from is provided.

【0010】 請求項2の演算装置は、 物理量に対応する計測データを入力する計測データ入力端子、 演算指令を入力する演算指令入力手段、 入力された演算指令に計測演算指令が含まれているか否かを判定し、含まれて いれば実時間演算フラグを立てる連続判定手段、 実時間演算フラグが立っていなければ、入力された演算指令に基づいて演算を 行い演算結果を出力し、実時間演算フラグが立っていれば、入力された演算指令 および所定時間毎に取り込んだ計測データ入力端子からの計測データに基づいて 所定時間毎に演算を行い所定時間ごとに演算結果を出力する演算手段、 演算手段からの演算結果を表示する表示手段、 を備えている。According to another aspect of the present invention, there is provided a calculation device according to claim 2, wherein a measurement data input terminal for inputting measurement data corresponding to a physical quantity, a calculation command input means for inputting a calculation command, and a measurement calculation command included in the input calculation command. It is determined whether or not it is included, and if it is included, the continuous determination means that raises the real-time operation flag. If the real-time operation flag is not raised, the operation is performed based on the input operation command, and the operation result is output. If the flag is set, a calculation means for calculating at a predetermined time and outputting a calculation result at a predetermined time based on the inputted calculation command and the measurement data from the measurement data input terminal fetched at a predetermined time, Display means for displaying the calculation result from the means.

【0011】 請求項3の演算装置は、 物理量を計測して、物理量に対応する計測データを所定時間ごとに出力する計 測手段、 演算指令を入力する演算指令入力手段、 入力された演算指令に計測演算指令が含まれているか否かを判定し、含まれて いれば実時間演算フラグを立てる連続判定手段、 計測データが前回から変化したか否かを判定し、変化していれば変化出力を出 す変化判定手段、 実時間演算フラグが立っていなければ、入力された演算指令に基づいて演算を 行い演算結果を出力し、実時間演算フラグが立っており、かつ変化出力が出され ていれば、入力された演算指令および今回取込んだ計測手段からの計測データに 基づいて演算を行い演算結果を出力する演算手段、 演算手段からの演算結果を表示する表示手段、 を備えたことを特徴としている。According to a third aspect of the present invention, there is provided a calculation device for measuring a physical quantity and outputting measurement data corresponding to the physical quantity at predetermined time intervals, a calculation command input means for inputting a calculation command, and a calculation command inputted. Whether or not a measurement calculation command is included, and if it is included, a continuous judgment means that sets a real-time calculation flag, and whether or not the measurement data has changed from the previous time is judged. If the real-time calculation flag is not set, the calculation is performed based on the input calculation command, the calculation result is output, the real-time calculation flag is set, and the change output is output. If so, it is provided with a computing means for performing a computation based on the inputted computing command and the measurement data from the measuring means captured this time, and outputting a computation result, and a display means for displaying the computation result from the computing means. It is characterized in that.

【0012】 請求項4の演算装置は、 物理量に対応する計測データを所定時間ごとに入力する計測データ入力端子、 演算指令を入力する演算指令入力手段、 入力された演算指令に計測演算指令が含まれているか否かを判定し、含まれて いれば実時間演算フラグを立てる連続判定手段、 計測データが前回から変化したか否かを判定し、変化していれば変化出力を出 す変化判定手段、 実時間演算フラグが立っていなければ、入力された演算指令に基づいて演算を 行い演算結果を出力し、実時間演算フラグが立っており、かつ変化出力が出され ていれば、入力された演算指令および今回取込んだ計測データ入力端子からの計 測データに基づいて演算を行い演算結果を出力する演算手段、 演算手段からの演算結果を表示する表示手段、 を備えたことを特徴としている。According to another aspect of the present invention, there is provided a calculation data input terminal for inputting measurement data corresponding to a physical quantity at predetermined time intervals, a calculation command input means for inputting a calculation command, and a calculation calculation command included in the input calculation command. Whether the measurement data is included, and if it is included, the continuous judgment means that sets the real-time calculation flag, and whether the measurement data has changed from the previous time is judged. If the real-time calculation flag is not set, the calculation is performed based on the input calculation command and the calculation result is output.If the real-time calculation flag is set and the change output is output, it is input. And a display means for displaying the calculation result from the calculation means, which performs calculation based on the calculation command and the measurement data from the measurement data input terminal acquired this time and outputs the calculation result. It is characterized by that.

【0013】[0013]

【作用】[Action]

この考案にかかる演算装置は、入力された演算指令に計測演算指令が含まれて いるか否かを判定し、含まれていれば実時間演算フラグを立てるとともに、実時 間演算フラグが立っていなければ、入力された演算指令に基づいて演算を行い演 算結果を出力し、実時間演算フラグが立っていれば、入力された演算指令および 所定時間毎に取り込んだ計測データ入力端子からの計測データに基づいて所定時 間毎に演算を行い所定時間ごとに演算結果を出力するようにしている。したがっ て、計測データを含む演算をリアルタイムに実行することができる。 The arithmetic unit according to the present invention judges whether or not the input arithmetic command includes a measurement arithmetic command, and if it does, the real-time arithmetic flag must be set and the real-time arithmetic flag must be set. For example, the calculation result is output based on the input calculation command, the calculation result is output, and if the real-time calculation flag is set, the calculation command input and the measurement data from the measurement data input terminal acquired at every predetermined time are output. Based on the above, the calculation is performed every predetermined time and the calculation result is output every predetermined time. Therefore, the calculation including the measurement data can be executed in real time.

【0014】 また、計測データが変化した場合にのみ演算を行うようにすれば、効率が良い 。Further, it is efficient to perform the calculation only when the measurement data changes.

【0015】[0015]

【実施例】【Example】

図1にこの考案の一実施例による演算装置のブロック図を示す。計測手段8に よって計測されたデータは、演算手段10に与えられる。一方、演算指令入力手 段16からは、演算指令が入力される。連続判定手段14は、この演算指令に計 測演算指令が含まれているか否かを判断する。計測演算指令が含まれていなけれ ば実時間演算フラグを立て、含まれていなければ実時間演算フラグを立てない。 演算手段10は、実時間演算フラグが立っていなければ演算指令を実行し、演算 結果を表示手段12に出力する。表示手段12は、この演算結果を表示する。 FIG. 1 shows a block diagram of an arithmetic unit according to an embodiment of the present invention. The data measured by the measuring means 8 is given to the calculating means 10. On the other hand, a calculation command is input from the calculation command input means 16. The continuity determination means 14 determines whether or not this calculation command includes a measurement calculation command. If the measurement calculation command is not included, the real-time calculation flag is set, and if it is not included, the real-time calculation flag is not set. The calculation means 10 executes a calculation command if the real-time calculation flag is not set, and outputs the calculation result to the display means 12. The display means 12 displays the calculation result.

【0016】 一方、実時間演算フラグが立っていれば、計測手段8からの計測データを取り 込んで演算指令を実行し、演算結果を表示手段12で表示させる。なお、実時間 演算フラグが立っている場合には、この一連の処理を繰り返し行う。すなわち、 前回の演算結果の出力が終わると、新たに計測データを取り込み、演算を行って 演算結果を出力する。これにより、リアルタイムに演算結果を表示することがで きる。On the other hand, if the real-time calculation flag is set, the measurement data from the measuring means 8 is fetched, the calculation command is executed, and the calculation result is displayed on the display means 12. If the real-time calculation flag is set, this series of processing is repeated. That is, when the output of the previous calculation result is finished, the measurement data is newly fetched, the calculation is performed, and the calculation result is output. As a result, the calculation result can be displayed in real time.

【0017】 図2に、この考案の一実施例によるテスター付電卓の外観図を示す。本体20 には、演算指令入力手段であるキーボード22、測定モード切換キー24、表示 手段であるLCD表示器26が設けられている。また、本体20には、計測を行 うためのプローブ18が接続されている。さらに、本体20の内部には、演算を 行うための回路、および計測を行うための回路が収納されている。FIG. 2 shows an external view of a calculator with a tester according to an embodiment of the present invention. The main body 20 is provided with a keyboard 22 which is a calculation command input means, a measurement mode switching key 24, and an LCD display 26 which is a display means. A probe 18 for measurement is connected to the main body 20. Further, inside the main body 20, a circuit for performing calculation and a circuit for performing measurement are housed.

【0018】 図3に、このテスター付電卓のブロック図を示す。演算処理部28は、キーボ ード22から入力された演算指令に基づいて演算を行う。なお、演算処理部28 は演算をこなうため、図4のようなRAMを有している。演算処理部28の演算 結果は、LCD表示部26に送られて表示される。また、キーボード22の測定 モード切換キー24が押されると、演算処理部28は切換回路34に切換指令を 与える。これを受けて、切換回路34は、分圧回路38、分流回路40、定電流 回路42を制御して、対応する測定モード(抵抗測定モード、電圧測定モード、 電流測定モード)に設定する。測定結果は、二重積分A/D変換回路36におい てディジタルデータ(測定データ)に変換されて演算処理部28に与えられる。 次に、このテスター付き電卓を用いて、図15に示す回路の負荷6における電 流の測定を行う場合を説明する。説明において、図5以下のフローチャートを参 照する。なお、図5が全体フローチャートであり、図6以下が詳細フローチャー トである。また、負荷6と回路網4との間の結線を切断し、テスターを挿入すれ ば電流を測定できるが、ここでは結線が切断できないものとして説明を進める。 まず、電源を入れ、負荷6の両端にプローブ18を当てるとともに、測定モー ド切り換えキー24の電圧測定キー24bを押す。これにより、図5のステップ S2において、装置の初期化が行われる。初期化の詳細なフローチャートを図6 に示す。初期化においては、演算処理部28(図3参照)のCPUの入出力ポー トの初期化が行われる(ステップS10)。次に、演算処理部28のRAMが初期 化される(ステップS11)。次に、演算処理部28は、測定モード切換えキー2 4が、何れの測定モードに設定されているかを読み込む(ステップS12)。こ こでは、電圧測定モードに設定されているので、これを読み込む。次に、LCD 表示器26の表示内容をクリアする(ステップS13)。その後、LCD表示器2 6において、測定モードの表示を行う(ステップS14)。ここでは、電圧測定モ ードであることが表示される。これに続いて、演算処理部28は、レンジ切換回 路44を制御して、適切な測定レンジを決定するよう命じる。これを受けて、レ ンジ切換回路44は、分圧回路38、分流回路40、定電流回路42を制御して 、測定に適切なレンジになるような切り換えを行う(ステップS15)。FIG. 3 shows a block diagram of this calculator with a tester. The arithmetic processing unit 28 performs an arithmetic operation based on the arithmetic command input from the keyboard 22. The arithmetic processing unit 28 has a RAM as shown in FIG. 4 in order to perform arithmetic operations. The calculation result of the calculation processing unit 28 is sent to the LCD display unit 26 and displayed. When the measurement mode switching key 24 of the keyboard 22 is pressed, the arithmetic processing section 28 gives a switching command to the switching circuit 34. In response to this, the switching circuit 34 controls the voltage dividing circuit 38, the current dividing circuit 40, and the constant current circuit 42 to set the corresponding measurement mode (resistance measurement mode, voltage measurement mode, current measurement mode). The measurement result is converted into digital data (measurement data) in the double integration A / D conversion circuit 36 and given to the arithmetic processing unit 28. Next, a case of measuring the current in the load 6 of the circuit shown in FIG. 15 using this calculator with a tester will be described. In the description, reference will be made to the flowcharts starting from FIG. Note that FIG. 5 is an overall flow chart, and FIG. 6 and subsequent figures are detailed flow charts. Also, the current can be measured by cutting the connection between the load 6 and the circuit network 4 and inserting a tester, but here, the description will be made assuming that the connection cannot be cut. First, the power is turned on, the probes 18 are applied to both ends of the load 6, and the voltage measurement key 24b of the measurement mode switching key 24 is pressed. As a result, the device is initialized in step S2 of FIG. A detailed flowchart of initialization is shown in FIG. In the initialization, the input / output port of the CPU of the arithmetic processing unit 28 (see FIG. 3) is initialized (step S10). Next, the RAM of the arithmetic processing unit 28 is initialized (step S11). Next, the arithmetic processing unit 28 reads in which measurement mode the measurement mode switching key 24 is set (step S12). Here, the voltage measurement mode is set, so read it. Next, the contents displayed on the LCD display 26 are cleared (step S13). After that, the LCD display 26 displays the measurement mode (step S14). Here, the voltage measurement mode is displayed. Subsequent to this, the arithmetic processing unit 28 controls the range switching circuit 44 and commands it to determine an appropriate measurement range. In response to this, the range switching circuit 44 controls the voltage dividing circuit 38, the current dividing circuit 40, and the constant current circuit 42 to perform switching so that the range is appropriate for measurement (step S15).

【0019】 上記のようにして初期化が終了すると、次に、測定モードのチェックが行われ る(図5、ステップS3)。測定モードチェックの詳細なフローチャートを図7 に示す。ここでは、測定モード(すなわち、どの測定モード切換キーが押された か)を読み込み(ステップS20)、前回と測定モードが変化していなければその まま終了する(ステップS21)。前回から測定モードが変化していれば、切換回 路34によって測定モードを変更する(ステップS22)。さらに、変更後の測定 モードをLCD表示器26に表示する(ステップS23)。When the initialization is completed as described above, next, the measurement mode is checked (FIG. 5, step S3). Figure 7 shows the detailed flow chart of the measurement mode check. Here, the measurement mode (that is, which measurement mode switching key has been pressed) is read (step S20), and if the measurement mode has not changed from the previous time, the processing ends (step S21). If the measurement mode has changed since the last time, the measurement mode is changed by the switching circuit 34 (step S22). Further, the changed measurement mode is displayed on the LCD display 26 (step S23).

【0020】 上記のようにして、測定モードチェックが終了すると、キーリードの処理に移 る。今、測定したいのが電流であり、実際に測定されるのは電圧であるから、測 定値を負荷6の抵抗値で割れば電流値が得られる。ここでは、次のようなキー入 力を行うものとして説明を進める。すなわち、「測定」キー、「÷」キー、「9 」キーという順に入力を行うものとする。なお、負荷6の抵抗値を9[Ω]とす る。When the measurement mode check is completed as described above, the key read process starts. Since the current is to be measured and the voltage is actually to be measured, the current value can be obtained by dividing the measured value by the resistance value of the load 6. Here, the description will proceed assuming that the following key input is performed. That is, the "measurement" key, the "÷" key, and the "9" key are input in this order. The resistance value of the load 6 is 9 [Ω].

【0021】 キーリードの詳細なフローチャートを図8〜図12に示す。まず、「測定」キ ーが入力されると、「測定」キーが入力されたことがキーワークRAM64に記 憶される。このようにキー入力があると、ステップS31に進む(ステップS30) 。ステップS31において、演算処理部28はキーワークRAM64(図4)の最 終キーの内容を読み出す。ここでは、「測定」キーが読み出される。さらに、ス テップS44(図9)においてステップS45に分岐する。ステップS45においては 、キー入力にエラーがないかどうかを判定する。例えば、「測定」キーが2回以 上押されればエラーであると判定し、ブザー30を鳴らして、キーリード処理を 終了する。Detailed flow charts of the key reading are shown in FIGS. First, when the "measurement" key is input, the keywork RAM 64 stores that the "measurement" key has been input. If there is such a key input, the process proceeds to step S31 (step S30). In step S31, the arithmetic processing unit 28 reads the contents of the last key of the keywork RAM 64 (FIG. 4). Here, the "measurement" key is read. Further, in step S44 (FIG. 9), the process branches to step S45. In step S45, it is determined whether or not there is an error in the key input. For example, if the "measurement" key is pressed more than once, it is determined that an error has occurred, the buzzer 30 is sounded, and the key read processing is terminated.

【0022】 エラーが無ければ、演算処理部28は、測定されたデータをA/D変換回路3 6によってディジタルデータとして取込む(ステップS46)。次に、リアルフラ グ62(図4)の内容を1にし、フラグを立てる(ステップS47)。次に、ワー クRAM60(図4)に、取り込んだディジタルデータを記憶する(ステップS 48)。続けて、表示ワークRAM66(図4)に、取込んだ測定データを記憶す る(ステップS49)。また、キーワークRAM64(図4)に、「測定」キーが 入力されたことを記憶する(ステップS50)。取込まれた測定データが27[V ]であるとすれば、ステップS50が終了した状態でのメモリの内容は、図13の Aのようになる。ステップS50が終了すると、キーリード処理が終了し、図5の ステップS5が実行される。If there is no error, the arithmetic processing unit 28 takes in the measured data as digital data by the A / D conversion circuit 36 (step S46). Next, the content of the real flag 62 (FIG. 4) is set to 1 and a flag is set (step S47). Next, the fetched digital data is stored in the work RAM 60 (FIG. 4) (step S48). Subsequently, the measurement data taken in is stored in the display work RAM 66 (FIG. 4) (step S49). Further, the keywork RAM 64 (FIG. 4) stores that the "measurement" key has been input (step S50). If the taken measurement data is 27 [V], the contents of the memory in the state where step S50 is completed are as shown in A of FIG. When step S50 ends, the key read process ends, and step S5 of FIG. 5 is executed.

【0023】 ステップS5、S6においては、演算処理部28は、表示ワークRAM66の内 容を読み出し、LCD表示器26にて表示させる。ここでは、「27」が表示さ れる。次に、キーワークRAM64に、「=」キーがあるか否かを判断する(ス テップS7)。ここでは、まだ「=」が入力されていないので、ステップS3に戻 る。In steps S 5 and S 6, the arithmetic processing section 28 reads the contents of the display work RAM 66 and causes the LCD display 26 to display the contents. Here, "27" is displayed. Next, it is determined whether or not there is an "=" key in the keywork RAM 64 (step S7). Here, since "=" has not been input yet, the process returns to step S3.

【0024】 ステップS3において、測定モードのチェックが行われた後、再び、キーリー ドの処理(ステップS4)が行われる。次に、「÷」キーが入力されると、キー ワークRAM64には、図13のBに示すように、「測定」キーに続いて「÷」 キーが記憶される。図8のステップS31においては、最終キーである「÷」キー が読み出される。「÷」キーは演算キーであるから、図11のステップS63にお いて、ステップS64に分岐する。ステップS64においてエラーチェックが行われ た後、キーワークRAM64の残りのデータが読み出される(ステップS65)。 ここで、キーワークRAM64にすでに演算キーが存在していれば、演算を行っ てキーリード処理を終了する(ステップS68、S69、S70)。ここでは、「÷」 キー以外に演算キーは存在しないので、キーワークRAM64の内容をそのまま にしてキーリード処理を終了する。この時の、メモリの内容を図13のBに示す 。 このようにしてキーリード処理が終了すると、図5のステップS5、S6、S 7を経て、ステップS3に戻る。ステップS3において、測定モードのチェックが 行われた後、再びキーリード処理を行う(ステップS4)。次に、「9」キーが 入力されると、キーワークRAM64には、図13のCに示すように、「測定」 キー、「÷」キーに続いて「9」キーが記憶される。図8のステップS31におい ては、最終キーである「9」キーが読み出される。「9」キーは数値キーである から、図10のステップS51において、ステップS52に分岐する。ステップS52 においてエラーチェックが行われた後、キーワークRAM64から直前に入力さ れたキーが読み出される。After the measurement mode is checked in step S3, the key reading process (step S4) is performed again. Next, when the "÷" key is input, the "÷" key is stored in the key work RAM 64 following the "Measurement" key as shown in FIG. 13B. In step S31 of FIG. 8, the final key "÷" key is read. Since the "÷" key is a calculation key, the process branches to step S64 in step S63 of FIG. After the error check is performed in step S64, the remaining data in the keywork RAM 64 is read (step S65). Here, if the operation key already exists in the keywork RAM 64, the operation is performed and the key read processing is ended (steps S68, S69, S70). Here, since there is no operation key other than the "÷" key, the contents of the keywork RAM 64 are left as they are and the key read process is terminated. The contents of the memory at this time are shown in B of FIG. When the key read process is completed in this way, the process returns to step S3 via steps S5, S6 and S7 of FIG. After the measurement mode is checked in step S3, the key read process is performed again (step S4). Next, when the "9" key is input, the "9" key is stored in the keywork RAM 64 after the "Measurement" key and the "÷" key as shown in C of FIG. In step S31 of FIG. 8, the final key "9" is read. Since the "9" key is a numerical key, the process branches to step S52 in step S51 of FIG. After the error check is performed in step S52, the key input immediately before is read from the keywork RAM 64.

【0025】 直前キーが「MI」「MO」などの一時記憶メモリへの入出力命令である場合 には、今回の数値キーがメモリワークRAMの番号(図4のメモリワークラムR AM68、70、72・・・)を示しているので、これに対応した処理を行うよ うにしている(ステップS54、S55、S56、S57、S60、S61、S62)。ここで は、直前キーは「MI」「MO」でないので、ステップS58が実行される。ステ ップS58においては、「9」が記憶される。この時の、メモリの内容を図13の Cに示す。When the immediately preceding key is an input / output instruction to the temporary storage memory such as “MI” or “MO”, the current numeric key is the number of the memory work RAM (memory work RAM RAM 68, 70 in FIG. 4, 72 ...), the process corresponding thereto is performed (steps S54, S55, S56, S57, S60, S61, S62). Here, since the immediately preceding key is not "MI" or "MO", step S58 is executed. In step S58, "9" is stored. The contents of the memory at this time are shown in C of FIG.

【0026】 以上のようにしてキーリード処理が終了すると、表示ワークRAM66の内容 を読み出し、LCD表示器26により表示する(ステップS6)。したがって、 ここでは、「9」が表示される。次に、ステップS7において、「=」キーがキ ーワークRAM64に記憶されているか否かが判断される。ここでは、まだ「= 」キーが入力されていないので、ステップS3に戻る。When the key read process is completed as described above, the contents of the display work RAM 66 are read out and displayed on the LCD display 26 (step S6). Therefore, "9" is displayed here. Next, in step S7, it is determined whether or not the "=" key is stored in the keyboard RAM 64. Here, since the "=" key has not been input yet, the process returns to step S3.

【0027】 ステップS3において、測定モードのチェックが行われた後、再び、キーリー ドの処理(ステップS4)が行われる。次に、「=」キーが入力されると、キー ワークRAM64には、「9」キーに続いて「=」キーが記憶される。図8のス テップS31においては、最終キーである「=」キーが読み出される。「=」キー は、図11のステップS71において判断され、ステップS72に分岐する。ステッ プS72においてエラーチェックが行われた後、キーワークRAM64に、「=」 キーが記憶される(ステップS76)。この状態を、図13のDに示す。After the measurement mode is checked in step S3, the key reading process (step S4) is performed again. Next, when the "=" key is entered, the key RAM 64 stores the "9" key followed by the "=" key. In step S31 of FIG. 8, the last key, the "=" key, is read. The "=" key is determined in step S71 of FIG. 11, and the process branches to step S72. After the error check is performed in step S72, the "=" key is stored in the keywork RAM 64 (step S76). This state is shown in D of FIG.

【0028】 次に、ステップS5、S6を経て、ステップS7を実行する。ステップS7におい ては、キーワークRAM64に「=」キーが記憶されているか否かが判定される 。ここでは、「=」キーが記憶されているので、ステップS8に進む。Next, through steps S5 and S6, step S7 is executed. In step S7, it is determined whether or not the "=" key is stored in the keywork RAM 64. Since the "=" key is stored here, the process proceeds to step S8.

【0029】 ステップS8においては、リアルフラグが立っているか否かの判定がなされる 。ここでは、リアルフラグが立っているので、ステップS9に進み、A/D変換 回路36からのディジタルデータを取り込む。次に、キーワークRAM64の内 容を読み出し、これに基づいて演算を行う(ステップS10、S11)。なお、この 際に、「測定」キーの部分については、測定ステップS9において取り込んだ測 定データを数値として用いる。ここでは、測定データは「27」であるから、演 算結果は「3」となる。この演算結果は、表示ワークRAM66に記憶される( ステップS12)。したがって、この時のメモリの内容は、図13のDのようにな る。 その後、ステップS3以下が実行され、ステップS6において、表示ワーク RAM66の内容がLCD表示器26に表示される。したがって、電流値が3[ A]であることが計測できる。さらに、ステップS3、S4、S5、S6、S7、S8 、S9、S10、S11、S12は繰り返して実行される。したがって、回路網4の状 態が変化して測定データが変化した場合には、測定ステップS9において取込ま れたデータにより、ステップS11によって演算されるので、リアルタイムに測定 ・演算を行うことができる。In step S8, it is determined whether or not the real flag is set. Here, since the real flag is set, the process proceeds to step S9, and the digital data from the A / D conversion circuit 36 is fetched. Next, the contents of the keywork RAM 64 are read out and the calculation is performed based on the contents (steps S10 and S11). At this time, for the "measurement" key portion, the measurement data fetched in the measurement step S9 is used as a numerical value. Here, since the measurement data is "27", the calculation result is "3". The calculation result is stored in the display work RAM 66 (step S12). Therefore, the contents of the memory at this time are as shown in D of FIG. Then, step S3 and subsequent steps are executed, and the content of the display work RAM 66 is displayed on the LCD display 26 in step S6. Therefore, it can be measured that the current value is 3 [A]. Furthermore, steps S3, S4, S5, S6, S7, S8, S9, S10, S11 and S12 are repeatedly executed. Therefore, when the state of the circuit network 4 changes and the measurement data changes, the data acquired in the measurement step S9 is used for the calculation in step S11, so that the measurement and calculation can be performed in real time. .

【0030】 なお、測定キーが押されない場合には、リアルフラグが立たないので、通常の 電卓と同様にして、「=」キーの入力により一度だけ演算が行われる。If the measurement key is not pressed, the real flag is not set, so that the calculation is performed only once by inputting the “=” key, as in a normal calculator.

【0031】 上記実施例においては、所定時間ごとに演算を繰り返すようにしているが、取 込んだ測定データが前回から変化した場合のみ演算を行うようにしても良い。こ の場合には、図14に示すように、計測データが変化したか否かを判定する変化 判定手段9を設けると良い。In the above embodiment, the calculation is repeated every predetermined time, but the calculation may be performed only when the captured measurement data has changed from the previous time. In this case, as shown in FIG. 14, it is advisable to provide a change determination means 9 for determining whether or not the measurement data has changed.

【0032】 また、上記実施例では、計測手段であるテスターを内蔵した電卓として説明し たが、テスターからの計測データを入力する端子を有する電卓であってもよい。 さらに、計測手段としては、テスターだけでなく、電子ノギス、圧力計等の物理 量を計測するものであればどのようなものであってもよい。Further, in the above-mentioned embodiment, the calculator having the tester as the measuring means built therein is described, but a calculator having a terminal for inputting measurement data from the tester may be used. Further, the measuring means is not limited to the tester, and may be any means such as an electronic caliper or a pressure gauge as long as it measures a physical quantity.

【0033】[0033]

【考案の効果】[Effect of device]

請求項1、2にかかる演算装置は、入力された演算指令に計測演算指令が含ま れているか否かを判定し、含まれていれば実時間演算フラグを立てるとともに、 実時間演算フラグが立っていなければ、入力された演算指令に基づいて演算を行 い演算結果を出力し、実時間演算フラグが立っていれば、入力された演算指令お よび所定時間毎に取り込んだ計測データ入力端子からの計測データに基づいて所 定時間毎に演算を行い所定時間ごとに演算結果を出力するようにしている。した がって、計測データを含む演算をリアルタイムに実行することができる。 The arithmetic unit according to claim 1 or 2 determines whether or not the input arithmetic command includes a measurement arithmetic command, and if it is included, sets a real-time arithmetic flag and sets a real-time arithmetic flag. If not, the calculation is performed based on the input calculation command and the calculation result is output.If the real-time calculation flag is set, the input calculation command and the measurement data input terminal acquired at every predetermined time are input. The calculation is performed at a predetermined time based on the measurement data of, and the calculation result is output at a predetermined time. Therefore, the calculation including the measurement data can be executed in real time.

【0034】 請求項3、4にかかる演算装置は、さらに、計測データが変化した場合にのみ 演算を行うようにしている。したがって、さらに演算効率が良い。The arithmetic unit according to the third and fourth aspects is further adapted to perform the arithmetic only when the measurement data changes. Therefore, the calculation efficiency is further improved.

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

【図1】この考案の演算装置の一実施例を示すブロック
図である。
FIG. 1 is a block diagram showing an embodiment of an arithmetic unit of the present invention.

【図2】この考案の演算装置をテスター付き電卓に適用
した場合の外観図である。
FIG. 2 is an external view of the calculator of the present invention applied to a calculator with a tester.

【図3】図2のテスター付き電卓のブロック図である。FIG. 3 is a block diagram of the calculator with a tester of FIG.

【図4】演算処理部28のメモリの詳細を示す図であ
る。
FIG. 4 is a diagram showing details of a memory of an arithmetic processing unit 28.

【図5】処理の全体を示すフローチャートである。FIG. 5 is a flowchart showing the overall processing.

【図6】初期化処理の詳細を示すフローチャートであ
る。
FIG. 6 is a flowchart showing details of initialization processing.

【図7】測定モードチェック処理の詳細を示すフローチ
ャートである。
FIG. 7 is a flowchart showing details of measurement mode check processing.

【図8】キーリード処理の詳細を示すフローチャートで
ある。
FIG. 8 is a flowchart showing details of key read processing.

【図9】キーリード処理の詳細を示すフローチャートで
ある。
FIG. 9 is a flowchart showing details of key read processing.

【図10】キーリード処理の詳細を示すフローチャート
である。
FIG. 10 is a flowchart showing details of key read processing.

【図11】キーリード処理の詳細を示すフローチャート
である。
FIG. 11 is a flowchart showing details of key read processing.

【図12】キーリード処理の詳細を示すフローチャート
である。
FIG. 12 is a flowchart showing details of key read processing.

【図13】メモリの内容変化を示す図である。FIG. 13 is a diagram showing changes in the contents of memory.

【図14】他の実施例による演算装置を示すブロック図
である。
FIG. 14 is a block diagram showing an arithmetic unit according to another embodiment.

【図15】測定対象となる回路の一例を示す図である。FIG. 15 is a diagram showing an example of a circuit to be measured.

【符号の説明】[Explanation of symbols]

8・・・計測手段 9・・・変化判定手段 10・・・演算手段 12・・・表示手段 14・・・連続判定手段 16・・・演算指令入力手段 8 ... Measuring means 9 ... Change determination means 10 ... Calculation means 12 ... Display means 14 ... Continuous determination means 16 ... Calculation command input means

Claims (4)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】物理量を計測して、物理量に対応する計測
データを出力する計測手段、 演算指令を入力する演算指令入力手段、 入力された演算指令に計測演算指令が含まれているか否
かを判定し、含まれていれば実時間演算フラグを立てる
連続判定手段、 実時間演算フラグが立っていなければ、入力された演算
指令に基づいて演算を行い演算結果を出力し、実時間演
算フラグが立っていれば、入力された演算指令および所
定時間毎に取り込んだ計測手段からの計測データに基づ
いて所定時間毎に演算を行い所定時間ごとに演算結果を
出力する演算手段、 演算手段からの演算結果を表示する表示手段、 を備えた計測データの実時間演算機能を有する演算装
置。
1. A measuring means for measuring a physical quantity and outputting measurement data corresponding to the physical quantity, a calculation command inputting means for inputting a calculation command, and whether or not the input calculation command includes a measurement calculation command. Judgment, if it is included, the continuous determination means that raises the real-time calculation flag, and if the real-time calculation flag is not set, calculates based on the input calculation command and outputs the calculation result, and the real-time calculation flag is set. If standing, a calculation means for calculating at a predetermined time based on the input calculation command and the measurement data taken at a predetermined time from the measuring means and outputting a calculation result at a predetermined time, calculation from the calculation means An arithmetic unit having a real-time arithmetic function of measurement data, comprising: display means for displaying a result.
【請求項2】物理量に対応する計測データを入力する計
測データ入力端子、 演算指令を入力する演算指令入力手段、 入力された演算指令に計測演算指令が含まれているか否
かを判定し、含まれていれば実時間演算フラグを立てる
連続判定手段、 実時間演算フラグが立っていなければ、入力された演算
指令に基づいて演算を行い演算結果を出力し、実時間演
算フラグが立っていれば、入力された演算指令および所
定時間毎に取り込んだ計測データ入力端子からの計測デ
ータに基づいて所定時間毎に演算を行い所定時間ごとに
演算結果を出力する演算手段、 演算手段からの演算結果を表示する表示手段、 を備えた計測データの実時間演算機能を有する演算装
置。
2. A measurement data input terminal for inputting measurement data corresponding to a physical quantity, a calculation command input means for inputting a calculation command, it is determined whether or not the input calculation command includes a measurement calculation command, and it is included. If it is set, the continuous determination means that sets the real-time calculation flag, if the real-time calculation flag is not set, calculates based on the input calculation command and outputs the calculation result, and if the real-time calculation flag is set , A calculation means for calculating the calculation result every predetermined time based on the inputted calculation command and the measurement data from the measurement data input terminal fetched at every predetermined time, and outputting the calculation result every predetermined time, An arithmetic unit having a real-time arithmetic function of measurement data, comprising a display unit for displaying.
【請求項3】物理量を計測して、物理量に対応する計測
データを所定時間ごとに出力する計測手段、 演算指令を入力する演算指令入力手段、 入力された演算指令に計測演算指令が含まれているか否
かを判定し、含まれていれば実時間演算フラグを立てる
連続判定手段、 計測データが前回から変化したか否かを判定し、変化し
ていれば変化出力を出す変化判定手段、 実時間演算フラグが立っていなければ、入力された演算
指令に基づいて演算を行い演算結果を出力し、実時間演
算フラグが立っており、かつ変化出力が出されていれ
ば、入力された演算指令および今回取込んだ計測手段か
らの計測データに基づいて演算を行い演算結果を出力す
る演算手段、 演算手段からの演算結果を表示する表示手段、 を備えた計測データの実時間演算機能を有する演算装
置。
3. A measurement means for measuring a physical quantity and outputting measurement data corresponding to the physical quantity at predetermined time intervals, a calculation command input means for inputting a calculation command, and a measurement calculation command included in the input calculation command. It is determined whether or not it is included, and if it is included, a continuous determination unit that sets a real-time operation flag, a determination unit that determines whether or not the measurement data has changed from the previous time, and outputs a change output if it has changed, If the time calculation flag is not set, the calculation is performed based on the input calculation command and the calculation result is output. If the real-time calculation flag is set and the change output is output, the input calculation command And a real-time calculation function of measurement data, which includes calculation means for performing calculation based on the measurement data from the measurement means acquired this time and outputting the calculation result, and display means for displaying the calculation result from the calculation means. Computing device having.
【請求項4】物理量に対応する計測データを所定時間ご
とに入力する計測データ入力端子、 演算指令を入力する演算指令入力手段、 入力された演算指令に計測演算指令が含まれているか否
かを判定し、含まれていれば実時間演算フラグを立てる
連続判定手段、 計測データが前回から変化したか否かを判定し、変化し
ていれば変化出力を出す変化判定手段、 実時間演算フラグが立っていなければ、入力された演算
指令に基づいて演算を行い演算結果を出力し、実時間演
算フラグが立っており、かつ変化出力が出されていれ
ば、入力された演算指令および今回取込んだ計測データ
入力端子からの計測データに基づいて演算を行い演算結
果を出力する演算手段、 演算手段からの演算結果を表示する表示手段、 を備えた計測データの実時間演算機能を有する演算装
置。
4. A measurement data input terminal for inputting measurement data corresponding to a physical quantity at predetermined time intervals, calculation command input means for inputting a calculation command, and whether or not the input calculation command includes a measurement calculation command. Judgment, if included, continuous judgment means that raises the real-time calculation flag, change judgment means that judges whether or not the measurement data has changed from the previous time, and if it has changed, real-time calculation flag If it is not set, the calculation is performed based on the input calculation command and the calculation result is output. If the real-time calculation flag is set and the change output is output, the input calculation command and this time are loaded. A real-time computer for measuring data, which includes a calculating means for performing calculation based on the measured data from the measured data input terminal and outputting the calculated result, and a display means for displaying the calculated result from the calculating means. Computing device having a.
JP6769092U 1992-09-29 1992-09-29 Arithmetic device with real-time arithmetic function for measurement data Pending JPH0633237U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6769092U JPH0633237U (en) 1992-09-29 1992-09-29 Arithmetic device with real-time arithmetic function for measurement data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6769092U JPH0633237U (en) 1992-09-29 1992-09-29 Arithmetic device with real-time arithmetic function for measurement data

Publications (1)

Publication Number Publication Date
JPH0633237U true JPH0633237U (en) 1994-04-28

Family

ID=13352233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6769092U Pending JPH0633237U (en) 1992-09-29 1992-09-29 Arithmetic device with real-time arithmetic function for measurement data

Country Status (1)

Country Link
JP (1) JPH0633237U (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5227674A (en) * 1975-08-27 1977-03-02 Seiko Epson Corp Digital multimeter
JPS5280180A (en) * 1975-12-26 1977-07-05 Casio Comput Co Ltd Digital measuring apparatus
JPH02202682A (en) * 1989-02-01 1990-08-10 Mitsubishi Electric Corp Data input processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5227674A (en) * 1975-08-27 1977-03-02 Seiko Epson Corp Digital multimeter
JPS5280180A (en) * 1975-12-26 1977-07-05 Casio Comput Co Ltd Digital measuring apparatus
JPH02202682A (en) * 1989-02-01 1990-08-10 Mitsubishi Electric Corp Data input processing method

Similar Documents

Publication Publication Date Title
US6388450B2 (en) Method for determining the state of charge of storage batteries
CN105144174A (en) Bioage prediction apparatus and method
CN108932390A (en) A kind of load calculates method, apparatus, computer installation and readable storage medium storing program for executing
KR950004454B1 (en) Apparatus for inference operation
JPH0633237U (en) Arithmetic device with real-time arithmetic function for measurement data
US6519538B1 (en) Method for predicting stability characteristics of power supplies
CN116227045A (en) Local stress strain field construction method and system for structural test piece
JP2003083874A (en) Method and system for analyzing viscoelastic material characteristic and storage medium
JP7424130B2 (en) Load apportionment method, load apportionment program, and distribution system control system in power distribution system
JPH0943124A (en) Data processor for material testing machine
KR200309217Y1 (en) digital vernier calipers
US20010044703A1 (en) Calculation device and method therefor
JP2851145B2 (en) Insulation degradation diagnosis method
JPS61250689A (en) Forecast display unit for data
JPH07270501A (en) Method for storing characteristic data of electronic element
JP3286852B2 (en) Standard change amount setting device for load change point detection device
JP3057384B2 (en) Waveform display method of waveform recording device
JP2583305Y2 (en) Measuring instrument
JP3231251B2 (en) Watt hour meter
JP2023143319A (en) Information processor, information processing method, and information processing program
JPH02154112A (en) Digital meter with bar graph
CN115480555A (en) Method, device and equipment for checking simulation model of servo drive system and storage medium
JP5717344B2 (en) Measuring apparatus and measuring method
JPH10161799A (en) Coordinate input device and processing method for writing track
JPS6190227A (en) Input device with analogue touch switch