JP3418582B2 - Voltage measuring device, recording medium thereof, and game machine including the voltage measuring device - Google Patents

Voltage measuring device, recording medium thereof, and game machine including the voltage measuring device

Info

Publication number
JP3418582B2
JP3418582B2 JP2000035016A JP2000035016A JP3418582B2 JP 3418582 B2 JP3418582 B2 JP 3418582B2 JP 2000035016 A JP2000035016 A JP 2000035016A JP 2000035016 A JP2000035016 A JP 2000035016A JP 3418582 B2 JP3418582 B2 JP 3418582B2
Authority
JP
Japan
Prior art keywords
voltage
signal
measured
value
memory
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
JP2000035016A
Other languages
Japanese (ja)
Other versions
JP2001228183A (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.)
Konami Corp
Original Assignee
Konami 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 Konami Corp filed Critical Konami Corp
Priority to JP2000035016A priority Critical patent/JP3418582B2/en
Publication of JP2001228183A publication Critical patent/JP2001228183A/en
Application granted granted Critical
Publication of JP3418582B2 publication Critical patent/JP3418582B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Tests Of Electronic Circuits (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ゲーム機等に供給
される交流の電源電圧を測定する電圧測定装置およびそ
の記録媒体並びにその電圧測定装置を備えたゲーム機
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voltage measuring device for measuring an AC power supply voltage supplied to a game machine , a recording medium therefor, and a game machine equipped with the voltage measuring device. is there.

【0002】[0002]

【従来の技術】ゲーム機の業界においては、商取引にお
いて、取引き対象のゲーム機の輸出を禁止する契約が交
わされる場合がある。このような契約が交わされた場
合、取引き対象のゲーム機が不正に輸出されて外国で使
用されることを防止するための措置をゲーム機に施すこ
とが必要である。
2. Description of the Related Art In the game machine industry, there are cases where a contract is entered into in a commercial transaction to prohibit the export of a game machine to be traded. When such a contract is made, it is necessary to take measures to prevent the game machine under transaction from being illegally exported and used in a foreign country.

【0003】このような外国での不正輸出による使用防
止の手段を講じる場合、その手段の装置構成を簡易化し
て高コスト化を避けることが望まれる。
When taking measures to prevent such illegal use in foreign countries, it is desirable to simplify the device structure of the means and avoid higher costs.

【0004】[0004]

【発明が解決しようとする課題】本発明者は、上記不正
輸出による使用を阻止する措置を講じる方策として商用
電源の電圧が国毎に異なる点に着目した。周知のよう
に、業務用等のゲーム機は交流の商用電源を用いて装置
駆動が行われており、したがって、電源電圧を自動的に
測定する手段をゲーム機内に備えておき、日本国内とは
異なる電源電圧が検出されたときには、ゲームが開始さ
れないような手段を講じて置くことにより、目的とする
不正輸出による使用を阻止することができる。
The present inventor has noticed that the voltage of the commercial power source differs from country to country as a measure to prevent the use due to the illegal export. As is well known, game machines for business use are driven by an AC commercial power source. Therefore, a means for automatically measuring the power supply voltage is provided in the game machine, and When a different power supply voltage is detected, it is possible to prevent the intended use by illegal export by taking measures so that the game is not started.

【0005】しかしながら、一般に知られる電圧検出装
置は装置構成が複雑で装置コストが高く、このような電
圧検出装置をゲーム機に組み込むと、ゲーム機の装置構
成が複雑になるばかりでなく、ゲーム機のコストが高く
なってしまうという事情がある。不正輸出による使用を
阻止する目的で電源電圧を測定する場合は、必ずしも超
高精度の測定を必要としない。本発明はこの点に着目
し、装置構成が簡易で安価であるにも拘らず、不正輸出
による使用阻止に必要な精度を確保して電圧測定が可能
な簡便な電圧測定装置およびその記録媒体並びにその電
圧測定装置を備えたゲーム機を提供することを目的とす
る。
However, a generally known voltage detecting device has a complicated device structure and a high device cost. When such a voltage detecting device is incorporated in a game machine, not only the device structure of the game machine becomes complicated, but also the game machine. There is a circumstance that the cost of will increase. When measuring the power supply voltage for the purpose of preventing the use due to illegal export, it is not always necessary to measure with extremely high accuracy. The present invention pays attention to this point, and a simple voltage measuring device capable of measuring voltage while ensuring the accuracy necessary for preventing use due to illegal export despite its simple and inexpensive device configuration, its recording medium , and That electric
It is an object to provide a game machine equipped with a pressure measuring device .

【0006】[0006]

【課題を解決するための手段】本発明は上記目的を達成
するために、次のような構成をもって課題を解決する手
段としている。すなわち、電圧測定装置の第1の発明
は、スレッシュホールド電圧値によって切断される交流
電圧波形の切断期間をL(ロー)又はH(ハイ)レベル
のアクティブ期間として持ち、L(ロー)とH(ハイ)
のレベルが交互に連続する2値化信号における前記アク
ティブ期間と周期を測定する2値化信号測定手段と、こ
の2値化信号測定手段によって測定されたアクティブ期
間と周期に関するデータをメモリに格納するデータ格納
手段と、基準交流電圧信号の既知の電圧値Vと前記2
値化信号測定手段によって測定された基準交流電圧信号
のアクティブ期間に対応するデータTと周期に対応す
るデータTとに基づき予め与えられた演算式を用いて前
記スレッシュホールド電圧VT0を求めるスレッシュホ
ールド電圧演算手段と、入力される被測定交流電圧信号
に対して前記2値化信号測定手段によって測定されたア
クティブ期間に対応するデータTと周期に対応するデ
ータT′と前記基準交流電圧信号の電圧値Vとに基づ
き被測定交流電圧信号から得られる2値化信号のL(ロ
ー)レベルとH(ハイ)レベルの切り換わり点の位相位
置における基準交流電圧信号の電圧値VTXを予め与え
られた演算式を用いて求めるVTX演算手段と、前記電
圧VT0とVTXの比が被測定交流電圧信号の電圧値V
と基準交流電圧信号の電圧値Vとの比に等しいこと
を利用してVとVT0とVTXの各電圧値に基づき被
測定交流電圧信号の電圧V を求めるV演算手段とを
有する構成をもって課題を解決する手段としている。
The present invention achieves the above object.
In order to solve the problem,
It is stepwise. That is, the first invention of the voltage measuring device
AC that is cut off by the threshold voltage value
Voltage waveform disconnection period is L (low) or H (high) level
It has as an active period of L, L (low) and H (high)
In the binary signal in which the levels of
Binary signal measuring means for measuring the active period and period, and
Active period measured by the binary signal measuring means of
Data storage that stores data related to intervals and cycles in memory
Means and a known voltage value V of the reference AC voltage signal0And the above 2
Reference AC voltage signal measured by the digitized signal measuring means
Data T corresponding to the active period of0And the cycle
Based on the data T and
Threshold voltage VT0Seeking a ho
Field voltage calculation means and input AC voltage signal to be measured
Is measured by the binarized signal measuring means with respect to
Data T corresponding to the active periodXAnd the data corresponding to the cycle
The voltage value V of the reference voltage signal T'and the reference AC voltage signal.0Based on
Of the binarized signal obtained from the measured AC voltage signal
-) Phase position at the switching point between H level and H level
Value V of the reference AC voltage signal in the storageTXGiven in advance
V calculated using the calculated formulaTXComputing means and
Pressure VT0And VTXIs the voltage value V of the measured AC voltage signal
XAnd the voltage value V of the reference AC voltage signal0Equal to the ratio of
Using V0And VT0And VTXBased on each voltage value of
Measured AC voltage signal voltage V XAsk for VXWith computing means
The configuration has the means for solving the problem.

【0007】また、第2の発明の電圧測定装置は、前記
第1の発明の電圧測定装置の構成を備え、スレッシュホ
ールド電圧VT0を求める演算式はVT0=VCOS
{(T/T)・(π/2)}によって与えられ、電圧
TXを求める演算式はV =VCOS{(T
T′)・(π/2)}によって与えられ、Vを求める
演算式はV=V(VT0/VTX)によって与えら
れていることをもって課題を解決する手段としている。
The voltage measuring device of the second invention comprises the structure of the voltage measuring device of the first invention, and an arithmetic expression for obtaining the threshold voltage V T0 is V T0 = V 0 COS
The arithmetic expression given by {(T 0 / T) · (π / 2)} for calculating the voltage V TX is V T X = V 0 COS {(T X /
T ′) · (π / 2)}, and the arithmetic expression for calculating V X is given by V X = V 0 (V T0 / V TX ) as a means for solving the problem.

【0008】さらに、第3の発明の電圧測定装置は、前
記第1又は第2の発明の電圧測定装置の構成を備えたも
のにおいて、入力される交流電圧信号の電圧を後流側の
信号処理レベルの電圧に変換する電圧変換器と、この電
圧変換器によって電圧変換された交流電圧信号をスレッ
シュホールド電圧VT0によって切断し、この交流電圧
波形の切断期間をL(ロー)又はH(ハイ)レベルのア
クティブ期間として持たせ、L(ロー)とH(ハイ)の
レベルが交互に連続する2値化信号を作成する2値化回
路とが備えられていることをもって課題を解決する手段
としている。
Further, a voltage measuring device according to a third aspect of the invention is the voltage measuring device having the configuration of the voltage measuring device according to the first or the second aspect of the invention, in which the voltage of the input AC voltage signal is processed on the downstream side. A voltage converter that converts the voltage into a level and an AC voltage signal that has been voltage-converted by the voltage converter are cut by a threshold voltage V T0 , and a cutting period of this AC voltage waveform is L (low) or H (high). A means for solving the problem is provided with a binarization circuit which has a level active period and creates a binarized signal in which L (low) and H (high) levels are alternately continuous. .

【0009】さらに、電圧測定装置の記録媒体の発明
は、スレッシュホールド電圧値によって切断される交流
電圧波形の切断期間をL(ロー)又はH(ハイ)レベル
のアクティブ期間として持ち、L(ロー)とH(ハイ)
のレベルが交互に連続する2値化信号における前記アク
ティブ期間と周期を測定する2値化信号測定手順と、こ
の測定したアクティブ期間と周期に関するデータをメモ
リに格納するデータ格納の手順と、基準交流電圧信号の
既知の電圧値Vと前記メモリに格納された基準交流電
圧信号に基づくアクティブ期間と周期に関するデータを
メモリから読み出しこの読み出しデータに基づき予め与
えられた演算式を用いて前記スレッシュホールド電圧V
T0を求めてメモリに格納するスレッシュホールド電圧
演算の手順と、入力される被測定交流電圧信号に対して
前記2値化信号測定手順によって測定されてメモリに格
納されたアクティブ期間と周期に関するデータと前記基
準交流電圧信号の電圧値Vとをメモリから読み出しこ
の読み出したデータに基づき被測定交流電圧信号から得
られる2値化信号のL(ロー)レベルとH(ハイ)レベ
ルの切り換わり点の位相位置における基準交流電圧信号
の電圧値VTXを予め与えられた演算式を用いて求めて
メモリに格納するVTX演算の手順と、前記演算された
電圧VT0とVTXの比が被測定交流電圧信号の電圧V
と基準交流電圧信号の電圧値Vとの比に等しいこと
を利用してメモリから読み出したVとVT0とVTX
の各電圧値に基づき被測定交流電圧信号の電圧Vを求
めるV演算手順とが格納されていることをもって課題
を解決する手段としている。さらに、本発明のゲーム機
は、前記第1又は第2又は第3の発明の電圧測定装置が
組み込まれ、V 演算手段によって求められた被測定交
流電圧信号の電圧V が予め与えられた判定基準から外
れたときにゲームプレーを不能状態にする手段が設けら
れていることを特徴とする。
Further, the invention of the recording medium of the voltage measuring device has a disconnection period of an AC voltage waveform disconnected by the threshold voltage value as an active period of L (low) or H (high) level, and L (low). And H (high)
Signal measurement procedure for measuring the active period and cycle in a binary signal in which the levels of the signals are alternately continuous, a data storage procedure for storing data on the measured active period and cycle in a memory, and a reference alternating current The threshold voltage is read from the memory by reading out data relating to the active period and the cycle based on the known voltage value V 0 of the voltage signal and the reference AC voltage signal stored in the memory, using an arithmetic expression given in advance based on the read data. V
A threshold voltage calculation procedure for obtaining T0 and storing it in the memory, and data relating to the active period and period measured in the binarized signal measurement procedure for the input AC voltage signal to be measured and stored in the memory. The voltage value V 0 of the reference AC voltage signal is read from the memory, and the switching point between the L (low) level and the H (high) level of the binary signal obtained from the measured AC voltage signal based on the read data. The procedure of the V TX calculation for obtaining the voltage value V TX of the reference AC voltage signal at the phase position using a predetermined calculation formula and storing it in the memory, and the ratio of the calculated voltages V T0 and V TX are measured. Voltage V of AC voltage signal
V 0 , V T0, and V TX read from the memory by utilizing the fact that it is equal to the ratio of X and the voltage value V 0 of the reference AC voltage signal.
And a V X calculation procedure for obtaining the voltage V X of the AC voltage signal to be measured based on the respective voltage values of 1) are stored as means for solving the problem. Furthermore, the game machine of the present invention
Is the voltage measuring device of the first, second or third invention,
The measured signal which is incorporated and obtained by the V X calculation means
The voltage V X of the flow voltage signal is outside the predetermined criteria.
Provided with a means to disable gameplay
It is characterized by being.

【0010】本発明においては、2値化回路のスレッシ
ュホールド電圧VT0を求める演算式と、電圧VTX
求める演算式と、被測定交流電圧の電圧Vを求める演
算式は予め装置に与えられている。この状態で、電圧値
が既知の基準交流電圧信号が入力されることによ
り、2値化回路によって2値化信号が作成される。そし
て、2値化信号測定手段によりその2値化信号のアクテ
ィブ期間と周期が測定され、そのアクティブ期間と周期
に関するデータがデータ格納手段によりメモリに格納さ
れる。なお、既知の電圧値Vのデータはアクティブ期
間と周期の測定を行う前の装置製造段階において予めメ
モリに格納しておくか、あるいはそのアクティブ期間と
周期の測定時にメモリに格納される。
In the present invention, an arithmetic expression for obtaining the threshold voltage V T0 of the binarization circuit, an arithmetic expression for obtaining the voltage V TX, and an arithmetic expression for obtaining the voltage V X of the AC voltage to be measured are given to the device in advance. Has been. In this state, a reference AC voltage signal having a known voltage value V 0 is input, so that the binarization circuit creates a binarized signal. Then, the binarized signal measuring means measures the active period and cycle of the binarized signal, and the data storage means stores data relating to the active period and cycle in the memory. The data of the known voltage value V 0 is stored in the memory in advance in the device manufacturing stage before the measurement of the active period and the cycle, or is stored in the memory when the active period and the cycle are measured.

【0011】次に、電源等から電圧値Vが未知の被測
定交流電圧信号が入力され、同様に2値化回路により、
2値化処理された後、2値化信号測定手段によりその2
値化信号のアクティブ期間と周期が測定され、そのアク
ティブ期間と周期に関するデータがデータ格納手段によ
りメモリに格納される。
Next, an AC voltage signal to be measured whose voltage value V X is unknown is input from a power source or the like, and similarly, by a binarizing circuit,
After being binarized, the binarized signal measuring means 2
The active period and cycle of the binarized signal are measured, and data relating to the active period and cycle is stored in the memory by the data storage means.

【0012】スレッシュホールド電圧演算手段はメモリ
からVと、基準交流電圧信号に対する2値化信号の周
期に対応するデータTとアクティブ期間に対応するデー
タT とに関するデータを読み出し、スレッシュホール
ド電圧を求める演算式VT0=VCOS{(T
T)・(π/2)}を用い、2値化回路のスレッシュホ
ールド電圧VT0を求め、この求めた演算値はメモリに
格納する。また、VTX演算部はメモリからVと、被
測定交流電圧信号に対する2値化信号の周期に対応する
データT′とアクティブ期間に対応するデータTに関
するデータを読み出し、VTXを求める演算式VTX
COS{(T/T′)・(π/2)}を用いて電
圧VTXを求め、この求めた演算値はメモリに格納す
る。そして、V演算部はメモリからV、VT0、V
TXのデータを読み出し、演算式V=V(VT0
TX)を用いて、被測定交流電圧信号の電圧Vを求
める。このようにして、未知の被測定交流電圧信号の電
圧Vが本発明の簡便な電圧測定装置を用いて効果的に
求められる。
The threshold voltage calculation means is a memory
To V0And the frequency of the binarized signal with respect to the reference AC voltage signal.
Data corresponding to the period and data corresponding to the active period
T 0Read the data about and the threshold
Formula V for calculating the voltageT0= V0COS {(T0/
T) · (π / 2)} and the threshold value of the binarization circuit
Field voltage VT0And the calculated value is stored in memory.
Store. Also, VTXThe calculation unit is V from the memory0And
Corresponds to the period of the binarized signal for the measured AC voltage signal
Data T'and data T corresponding to the active periodXRelated
Read the data toTXFormula V for calculatingTX=
V0COS {(TX/ T ') · (π / 2)}
Pressure VTXAnd the calculated value is stored in memory.
It And VXThe calculation unit is V from the memory0, VT0, V
TXData is read and the calculation formula VX= V0(VT0/
VTX) Is used to measure the voltage V of the AC voltage signal to be measured.XSeeking
Meru. In this way, the unknown AC voltage signal
Pressure VXEffectively using the simple voltage measuring device of the present invention
Desired.

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施形態例を図
面に基づき説明する。図1には本発明に係る電圧測定装
置1がゲーム機2に組み込まれた状態で示されている。
本実施形態例の電圧測定装置1は、電圧変換器3と、2
値化回路5と、電圧測定回路6とを有して構成されてい
る。電圧変換器3には入力端子7が接続されており、こ
の入力端子7は電源(交流商用電源)のソケットに差し
込むプラグ等により形成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a voltage measuring device 1 according to the present invention incorporated in a game machine 2.
The voltage measuring device 1 according to the present embodiment includes a voltage converter 3 and a voltage converter 2.
It is configured to have a value conversion circuit 5 and a voltage measurement circuit 6. An input terminal 7 is connected to the voltage converter 3, and the input terminal 7 is formed by a plug or the like inserted into a socket of a power source (AC commercial power source).

【0014】電圧変換器3は入力される電源電圧を次の
2値化回路5での信号処理に適した電圧に変換するとと
もに、2値化回路5側と電源側とのAC絶縁を図る機能
を備えた回路であり、例えば、フォトカプラあるいはト
ランス等によって構成される。
The voltage converter 3 has a function of converting an input power supply voltage into a voltage suitable for signal processing in the next binarization circuit 5 and performing AC insulation between the binarization circuit 5 side and the power supply side. And a circuit such as a photocoupler or a transformer.

【0015】2値化回路5に接続されている直流入力電
圧端子4は直流電圧を取り込む端子であり、この直流入
力電圧端子4から直流の駆動電圧(直流電源電圧)が2
値化回路5に供給されることにより、2値化回路5は動
作状態となる。
A DC input voltage terminal 4 connected to the binarization circuit 5 is a terminal for taking in a DC voltage, and a DC drive voltage (DC power supply voltage) is 2 from this DC input voltage terminal 4.
By being supplied to the binarization circuit 5, the binarization circuit 5 is in an operating state.

【0016】前記2値化回路5は電圧変換器3から供給
される交流電圧信号を信号処理して2値化信号を作成す
る。図3はこの2値化信号の作成例を示す。同図におい
て、VT0は2値化回路5に与えられているスレッシュ
ホールド電圧(スレッシュホールド電圧値)であり、正
側と負側の両側に絶対値が等しい値でそれぞれ与えられ
ている。図3(a)は電圧変換器3を介して供給される
交流電圧信号の正弦波形であり、実線は電圧値(ピーク
電圧値)Vが既知の基準交流電圧信号を示し、鎖線は
測定対象の被測定交流電圧信号の正弦波を示す。
The binarization circuit 5 processes the AC voltage signal supplied from the voltage converter 3 to create a binarized signal. FIG. 3 shows an example of creating this binarized signal. In the figure, V T0 is a threshold voltage (threshold voltage value) given to the binarization circuit 5, and is given to both the positive side and the negative side with the same absolute value. FIG. 3A is a sine waveform of an AC voltage signal supplied via the voltage converter 3, a solid line represents a reference AC voltage signal with a known voltage value (peak voltage value) V 0 , and a chain line represents a measurement target. 3 shows a sine wave of the measured AC voltage signal of.

【0017】2値化回路5はスレッシュホールド電圧V
T0によって、交流電圧信号波形を切断し、その切断期
間をL(ロー)レベルのアクティブ期間とし、非切断期
間をH(ハイ)レベルとした2値化信号を作り出す。図
3(b)の実線のデジタル信号は基準交流電圧信号から
作成された2値化信号を示し、鎖線のデジタル信号は被
測定交流電圧信号から作成された2値化信号を示してい
る。2値化回路5は作成した2値化信号を電圧測定回路
6に加える。
The binarization circuit 5 has a threshold voltage V
The AC voltage signal waveform is cut by T0 , and the cutoff period is set to the L (low) level active period and the non-cutting period is set to the H (high) level to generate a binary signal. The solid line digital signal in FIG. 3B represents a binarized signal created from the reference AC voltage signal, and the chain line digital signal represents a binarized signal created from the measured AC voltage signal. The binarization circuit 5 applies the created binarized signal to the voltage measurement circuit 6.

【0018】図2は電圧測定回路6のより詳細なブロッ
ク構成を示すもので、電圧測定回路6は、2値化信号測
定手段10と、データ格納手段11と、メモリ12と、
書込み・読み出し手段19と、演算手段13と、制御回
路8と、記録媒体9とを有して構成され、演算手段13
はスレッシュホールド電圧演算手段14と、VTX演算
手段15と、V演算手段16とを備えている。記録媒
体9には各手段10、11、13、19等の動作手順が
記録されており、この記録媒体に記録されている手順に
従い、制御回路8は各手段の動作手順および動作タイミ
ングを制御管理する。
FIG. 2 shows a more detailed block configuration of the voltage measuring circuit 6. The voltage measuring circuit 6 includes a binarized signal measuring means 10, a data storing means 11, a memory 12, and
The writing / reading means 19, the calculating means 13, the control circuit 8, and the recording medium 9 are included in the calculating means 13.
Is provided with a threshold voltage calculation means 14, a V TX calculation means 15, and a V X calculation means 16. The operation procedure of each means 10, 11, 13, 19, etc. is recorded in the recording medium 9, and the control circuit 8 controls and manages the operation procedure and operation timing of each means according to the procedure recorded in this recording medium. To do.

【0019】前記2値化信号測定手段10は、2値化回
路5から加えられる2値化信号のアクティブ期間(Lレ
ベル期間)と周期を記録媒体9に記録されている2値化
信号測定手順に従い測定する。この測定は各種の手法を
用いて実現される。
The binarized signal measuring means 10 is a binarized signal measuring procedure in which the active period (L level period) and period of the binarized signal added from the binarization circuit 5 are recorded in the recording medium 9. Measure according to. This measurement is realized using various methods.

【0020】例えば、2値化信号測定手段10にタイマ
等の時計機構を内蔵し、2値化信号がH(ハイ)からL
(ロー)レベルに切り換わる点を起点とし、次に信号レ
ベルがLからHレベルに切り換わる点までの時間を計測
することによりアクティブ期間が測定される。また、2
値化信号がHからLレベルに切り換わる点を起点とし、
次に信号レベルがHレベル区間を経過して再びLレベル
に切り換わる点までの時間を計測することにより周期が
測定される。この測定手法により、図3に示すように、
基準交流電圧信号に基づく2値化信号のアクティブ期間
は2Tの値として測定され、周期は2Tの値として測
定される。同様に、被測定交流電圧信号に基づく2値化
信号のアクティブ期間は2Tの値として測定され、周
期は2T′の値として測定される。
For example, the binarized signal measuring means 10 has a built-in timepiece mechanism such as a timer, and the binarized signal changes from H (high) to L.
The active period is measured by setting the point at which the signal level switches to the (low) level as a starting point and then measuring the time from the point at which the signal level switches from the L level to the H level. Also, 2
Starting from the point where the digitized signal switches from H level to L level,
Next, the period is measured by measuring the time until the signal level passes through the H level section and switches to the L level again. With this measurement method, as shown in FIG.
The active period of the binarized signal based on the reference AC voltage signal is measured as a value of 2T 0 , and the period is measured as a value of 2T. Similarly, the active period of the binary signal based on the AC voltage signal to be measured is measured as the value of 2T X, period is measured as the value of 2T '.

【0021】2値化信号のアクティブ期間と周期の別の
測定手法としては、例えば、2値化信号測定手段10に
カウンタ回路を内蔵し、2値化信号がH(ハイ)からL
(ロー)レベルに切り換わる点を起点とし、次に信号レ
ベルがLからHレベルに切り換わる点までの時間を積算
カウントすることによりアクティブ期間が測定される。
また、2値化信号がHからLレベルに切り換わる点を起
点とし、次に信号レベルがHレベル区間を経過して再び
Lレベルに切り換わる点までの時間を積算カウントする
ことにより周期が測定可能であり、適宜の手法を採用し
て2値化信号のアクティブ期間と周期が測定されるもの
である。
As another measuring method of the active period and the cycle of the binarized signal, for example, a counter circuit is built in the binarized signal measuring means 10 and the binarized signal is changed from H (high) to L.
The active period is measured by counting the time from the point at which the signal level switches to the (low) level as a starting point and then counting the time from the point at which the signal level switches from the L level to the H level.
In addition, the cycle is measured by integrating the time from the point where the binarized signal switches from H level to L level to the point where the signal level next switches to L level after passing the H level section. This is possible, and the active period and cycle of the binarized signal are measured by using an appropriate method.

【0022】データ格納手段11は2値化信号測定手段
10によって測定された2値化信号のアクティブ期間に
対応するデータと周期に対応するデータとを記録媒体9
に記録されているデータ格納手順に従いメモリ12に格
納する。本実施形態例では、基準交流電圧信号に基づく
2値化信号のアクティブ期間に対応するデータとしてT
の値(測定値の1/2の値)を格納し、周期に対応す
るデータとしてTの値(測定値の1/2の値)を格納す
る構成と成している。同様に、被測定交流電圧信号に基
づく2値化信号のアクティブ期間に対応するデータとし
てTの値が格納され、周期に対応するデータとして
T′の値が格納される。
The data storage means 11 records the data corresponding to the active period and the data corresponding to the period of the binarized signal measured by the binarized signal measuring means 10 on the recording medium 9.
The data is stored in the memory 12 according to the data storage procedure recorded in. In the present embodiment, the data corresponding to the active period of the binarized signal based on the reference AC voltage signal is T
A value of 0 (1/2 of the measured value) is stored, and a value of T (1/2 of the measured value) is stored as data corresponding to the cycle. Similarly, the value of T X is stored as the data corresponding to the active period of the binarized signal based on the measured AC voltage signal, and the value of T ′ is stored as the data corresponding to the period.

【0023】本実施形態例では上記のように測定値の1
/2の値をアクティブ期間と周期に関するデータとして
格納しているがこの必要な演算は2値化信号測定手段1
0の出力側に設けられる演算部17によって行われる。
勿論このような1/2の演算加工を行うことなく測定値
のデータ(2T、2T、2T、2T′)をそのまま
アクティブ期間と周期に関するデータとしてメモリ12
に格納してもよい。
In the present embodiment, the measured value 1
The value of / 2 is stored as data relating to the active period and the cycle, but this necessary calculation is performed by the binarized signal measuring means 1.
This is performed by the arithmetic unit 17 provided on the output side of 0.
Of course, the data of the measured value (2T 0 , 2T, 2T X , 2T ′) is directly stored in the memory 12 as the data relating to the active period and the cycle without performing the calculation processing of 1/2.
May be stored in.

【0024】本実施形態例では基準交流電圧信号の既知
の電圧値Vの値は外部入力によりデータ格納手段11
に供給されるようになっており、データ格納手段11は
外部入力によりこの電圧値Vが供給されてきたときに
はメモリ12にこの電圧値V を格納する。もちろん、
この既知の電圧値Vの値は装置製造時(装置製造段
階)において、予めメモリ12に格納しておいてもよ
い。
In the present embodiment, the reference AC voltage signal is known.
Voltage value V0The value of is stored in the data storage means 11 by external input.
And the data storage means 11
This voltage value V0When is supplied
Shows the voltage value V in the memory 12. 0To store. of course,
This known voltage value V0The value of
It may be stored in the memory 12 in advance on the floor)
Yes.

【0025】メモリ12はデータ格納手段11により格
納されるデータと演算手段13によって演算される演算
値のデータを格納する。なお、図2ではメモリ12は1
つのブロックで示されているが、格納するデータの種類
や性質を考慮し、必要に応じ、性質や機能の異なる複数
のメモリが使用されるものである。
The memory 12 stores the data stored by the data storage means 11 and the data of the arithmetic value calculated by the arithmetic means 13. In addition, in FIG.
Although it is shown by one block, a plurality of memories having different properties and functions are used as necessary in consideration of the type and property of the data to be stored.

【0026】本件明細書では、このメモリの用語は、R
AM等の揮発性メモリ、フラッシュメモリ等の不揮発性
メモリ、ハードデスク等の情報を記憶保持できる全ての
ものを含む広い概念で使用されており、例えば、2値化
信号測定手段10の測定値に関するデータや、演算手段
13によって一時的に記憶するデータは揮発性メモリに
格納し、既知の電圧値Vの値や後述のスレッシュホー
ルド電圧の演算値V の値は被測定交流電圧信号の電
圧値Vを求めるための不変の基本的データであるの
で、不揮発性メモリに格納される。
As used herein, this memory term is R
It is used in a wide concept including a volatile memory such as AM, a non-volatile memory such as a flash memory, and a hard disk or the like that can store and hold information. For example, it relates to a measurement value of the binarized signal measuring means 10. The data and the data temporarily stored by the calculating means 13 are stored in a volatile memory, and the value of the known voltage value V 0 and the value of the threshold voltage calculation value V T 0 to be described later are the values of the measured AC voltage signal. Since it is the basic data that is invariant for obtaining the voltage value V X , it is stored in the nonvolatile memory.

【0027】前記書込み・読み出し手段19は演算手段
13(14、15、16)で演算された演算値のメモリ
12への書込みと、メモリ12に格納されているデータ
(情報)の演算手段13への読み出しの駆動を行う。つ
まり、演算手段13(14、15、16)とメモリ12
間のデータの書込みと読み出しの動作は書込み・読み出
し手段19を介して行われる。
The writing / reading means 19 writes the calculated values calculated by the calculating means 13 (14, 15, 16) to the memory 12 and the data (information) stored in the memory 12 to the calculating means 13. The reading of is driven. That is, the calculation means 13 (14, 15, 16) and the memory 12
The operation of writing and reading the data between them is performed via the writing / reading means 19.

【0028】スレッシュホールド電圧演算手段14には
前記2値化回路5に設定されているスレッシュホールド
電圧VT0を求めるための次の(1)式の演算式が与え
られている。
The threshold voltage calculation means 14 is provided with the following calculation formula (1) for obtaining the threshold voltage V T0 set in the binarization circuit 5.

【0029】 VT0=VCOS{(T/T)・(π/2)}・・・・・・・(1)V T0 = V 0 COS {(T 0 / T) · (π / 2)} ··· (1)

【0030】スレッシュホールド電圧演算手段14は記
録媒体9に記録されているスレッシュホールド電圧演算
の手順に従い、メモリ12からV、T、Tのデータ
を読み出し、前記(1)式を用いてスレッシュホールド
電圧の値VT0を求め、これをメモリ12に格納する。
The threshold voltage calculation means 14 reads the data of V 0 , T 0 and T from the memory 12 according to the procedure of the threshold voltage calculation recorded in the recording medium 9 and uses the equation (1) to obtain the threshold value. The hold voltage value V T0 is obtained and stored in the memory 12.

【0031】VTX演算手段15には被測定交流電圧信
号によって作成された2値化信号がHレベルからLレベ
ルに切り換わる位相位置A(図3参照)、つまり、
{(T/T′)・(π/2)}の位相位置における基
準交流電圧信号の電圧値VTXを求めるための次の
(2)式の演算式が与えられている。
The V TX calculation means 15 has a phase position A (see FIG. 3) at which the binarized signal generated by the measured AC voltage signal switches from H level to L level, that is,
The following equation (2) for calculating the voltage value V TX of the reference AC voltage signal at the phase position of {(T X / T ′) · (π / 2)} is given.

【0032】 VTX=VCOS{(T/T′)・(π/2)}・・・・・・・(2)V TX = V 0 COS {(T X / T ') · (π / 2)} ... (2)

【0033】VTX演算手段15は記録媒体9に記録さ
れているVTX演算の手順に従い、メモリ12から
、T、T′のデータを読み出し、前記(2)式を
用いて電圧値VTXを求め、これをメモリ12に格納す
る。
The V TX calculation means 15 reads the data of V 0 , T X , and T ′ from the memory 12 according to the procedure of the V TX calculation recorded on the recording medium 9, and uses the equation (2) to calculate the voltage value. Calculate V TX and store it in memory 12.

【0034】V演算手段16には、前記V
T0、VTXの値から被測定交流電圧信号の電圧値
(ピーク電圧値)Vを求めるための次の(3)式の演
算式が与えられている。
The V X calculating means 16 has V 0 ,
The following formula (3) for calculating the voltage value (peak voltage value) V X of the measured AC voltage signal from the values of V T0 and V TX is given.

【0035】 V=V(VT0/VTX)・・・・・・・(3)V X = V 0 (V T0 / V TX ) ... (3)

【0036】この演算式は、次のようにして導かれるも
のである。すなわち、図3(a)から明らかなように、
T0とVTXの比はVとVの比に等しく、この比
例関係から(VT0/VTX)=(V/V)の式が
成り立ち、この式を変形することにより、前記(3)式
が得られる。
This arithmetic expression is derived as follows. That is, as is clear from FIG.
The ratio of V T0 and V TX is equal to the ratio of V X and V 0 , and from this proportional relationship, the formula (V T0 / V TX ) = (V X / V 0 ) holds, and by modifying this formula, The above formula (3) is obtained.

【0037】V演算手段16は、記録媒体9に記録さ
れているV演算手順に従いメモリ12からV、V
T0、VTXのデータを読み出し、前記(3)式を用い
て被測定交流電圧信号の電圧値Vを求め、この電圧値
のデータ信号を入力レベル判定部18に加える。
The V X calculating means 16 reads V 0 , V from the memory 12 in accordance with the V X calculating procedure recorded on the recording medium 9.
The data of T 0 and V TX are read, the voltage value V X of the AC voltage signal to be measured is calculated using the equation (3), and the data signal of this voltage value V X is added to the input level determination unit 18.

【0038】入力レベル判定部18には入力交流電圧信
号の許容電圧範囲又は許容上限値の判定基準が与えられ
ており、入力レベル判定部18は前記V演算手段16
から加えられる演算値Vを判定基準と照合し、演算値
が判定基準から外れたとき、つまり、演算値V
許容電圧範囲から外れたとき又は許容上限値を超えたと
きには異常検知信号を出力する。
The input level determination unit 18 is provided with a determination standard of the allowable voltage range or the allowable upper limit value of the input AC voltage signal, and the input level determination unit 18 receives the V X calculator 16.
The calculation value V X applied from against the criteria, when the operation value V X is out of the criterion, that is, the abnormality detection when the calculated value V X exceeds a or allowable upper limit value when out of the allowable voltage range Output a signal.

【0039】この異常検知信号は例えばゲーム機2のゲ
ームプログラムのドライブ制御回路(図示せず)に供給
され、ドライブ制御回路はこの異常検知信号を受けたと
きにゲームプログラムの進行開始を阻止し、ゲームプレ
ーを不能状態にする。
This abnormality detection signal is supplied to, for example, a drive control circuit (not shown) of the game program of the game machine 2, and when the drive control circuit receives this abnormality detection signal, it prevents the game program from proceeding. Disables gameplay.

【0040】次に、本実施形態例の電圧測定装置を用い
た被測定交流電圧信号の測定動作を簡単に説明する。先
ず、基準交流電源を用いて、電圧測定装置1の入力端子
7に電圧値Vが既知の基準交流電圧信号を入力する。
既知の電圧値Vの値は外部からキーボード等の入力手
段を用いて入力しデータ格納手段11によりメモリ12
に格納する。前述したように、この既知電圧値Vは予
めメモリ12に予め格納されていることもある。
Next, the measuring operation of the AC voltage signal to be measured using the voltage measuring device of this embodiment will be briefly described. First, using a reference AC power supply, a reference AC voltage signal having a known voltage value V 0 is input to the input terminal 7 of the voltage measuring device 1.
The known voltage value V 0 is input from the outside using an input means such as a keyboard, and the data storage means 11 causes the memory 12 to operate.
To store. As described above, the known voltage value V 0 may be stored in the memory 12 in advance.

【0041】入力端子7から基準交流電圧信号が入力さ
れることにより、その基準交流電圧信号に基づく2値化
信号が2値化回路5によって作成され、その2値化信号
は電圧測定回路6に加えられる。電圧測定回路6の2値
化信号測定手段10は2値化信号のアクティブ期間2T
と周期2Tとを測定する。そして、これらの測定値
は、演算部17で1/2の値に変換され、データ格納手
段11によりアクティブ期間に対応する値Tと周期に
対応するTの値が、基準交流電圧信号に対する値として
メモリ12に格納される。
By inputting the reference AC voltage signal from the input terminal 7, a binarized signal based on the reference AC voltage signal is created by the binarizing circuit 5, and the binarized signal is supplied to the voltage measuring circuit 6. Added. The binarized signal measuring means 10 of the voltage measuring circuit 6 has an active period 2T of the binarized signal.
0 and period 2T are measured. Then, these measured values are converted into a value of 1/2 in the calculation unit 17, and the value T 0 corresponding to the active period and the value of T corresponding to the period are converted into values with respect to the reference AC voltage signal by the data storage unit 11. Is stored in the memory 12.

【0042】上記のように、メモリ12にV、T
Tの値が格納された後、スレッシュホールド電圧演算手
段14はメモリ12からV、T、Tの値を読み出
し、前記(1)式を用いて2値化回路5に設定されてい
るスレッシュホールド電圧V を求め、この求めた値
をメモリ12に格納する。一般に、2値化回路5に与え
られているスレッシュホールド電圧VT0は2値化回路
5を構成する回路素子の特性ばらつきにより必ずしも設
計値に一致しているとは限らず、装置毎にばらつくこと
が想定される。本実施形態例では、上記のように、
、T、Tの値からVT0の値を求めるので、2値
化回路5の回路素子に特性のばらつきが生じたとして
も、個々の装置のスレッシュホールド電圧VT0を正確
に求めることが可能である。
As described above, V 0 , T 0 ,
After the value of T is stored, the threshold voltage calculation means 14 reads the values of V 0 , T 0 , and T from the memory 12 and sets the threshold value in the binarization circuit 5 using the equation (1). The hold voltage V T 0 is calculated, and the calculated value is stored in the memory 12. In general, the threshold voltage V T0 given to the binarization circuit 5 does not always match the design value due to the characteristic variation of the circuit elements forming the binarization circuit 5, and may vary from device to device. Is assumed. In the present embodiment example, as described above,
Since the value of V T0 is obtained from the values of V 0 , T 0 , and T, the threshold voltage V T0 of each device can be accurately obtained even if the characteristics of the circuit elements of the binarization circuit 5 vary. Is possible.

【0043】上記のように、V、T、T、VT0
値がメモリ12に格納されることにより、目的とする被
測定交流電圧信号の電圧Vを測定する態勢が整う。被
測定交流電圧信号の電圧(交流ピーク電圧)を測定する
場合には、その測定対象の被測定交流電圧信号を入力端
子7から装置内に入力する。通常は商用の電源電圧を測
定するので、入力端子7を商用電源のソケットに差し込
むことにより被測定交流電圧信号が装置内に入力され
る。
By storing the values of V 0 , T 0 , T, and V T0 in the memory 12 as described above, the system is ready to measure the target voltage V X of the measured AC voltage signal. When measuring the voltage (AC peak voltage) of the measured AC voltage signal, the measured AC voltage signal of the measurement target is input from the input terminal 7 into the apparatus. Since the commercial power supply voltage is usually measured, the AC voltage signal to be measured is input into the device by inserting the input terminal 7 into the socket of the commercial power supply.

【0044】入力端子7から入力した被測定交流電圧信
号は2値化回路5に導かれ、2値化回路5によって2値
化信号が作成され、作成された2値化信号は電圧測定回
路6の2値化信号測定手段10に導入される。2値化信
号測定手段10は前記基準交流電圧信号の場合と同様
に、被測定交流電圧信号の2値化信号からアクティブ期
間2Tと周期2T′を測定する。この測定値は、演算
部17によって1/2の値に変換され、データ格納手段
11により、Tの値がアクティブ期間に対応する値と
して、また、T′の値が周期に対応する値としてそれぞ
れメモリ12に格納される。
The AC voltage signal to be measured input from the input terminal 7 is guided to the binarizing circuit 5, the binarizing circuit 5 creates a binarized signal, and the created binarized signal is the voltage measuring circuit 6. Is introduced into the binarized signal measuring means 10. Binary signal measuring means 10 as in the case of the reference alternating voltage signal, measuring the active period 2T X and period 2T 'from the binary signal of the measured AC voltage signal. This measured value is converted into a value of ½ by the calculation unit 17, and the data storage means 11 makes the value of T X correspond to the active period and the value of T ′ corresponds to the period. Each is stored in the memory 12.

【0045】前記TとT′の値がメモリ12に格納さ
れた後、VTX演算手段15はメモリ12からV、T
、T′の値を読み出し、前記(2)式を用いてVTX
の値を求め、求めた値をメモリ12に格納する。
After the values of T X and T'are stored in the memory 12, the V TX calculation means 15 outputs V 0 , T from the memory 12.
The values of X and T'are read out and V TX is calculated using the above equation (2).
Is calculated, and the calculated value is stored in the memory 12.

【0046】次に、V演算手段16はメモリ12から
、VT0、VTXの値を読み出し、前記(3)式を
用いて目的とする被測定交流電圧信号の電圧Vを求め
る。
Next, the V X calculating means 16 reads the values of V 0 , V T0 and V TX from the memory 12 and obtains the target voltage V X of the measured AC voltage signal by using the equation (3). .

【0047】本実施形態例によれば、簡易な構成の電圧
測定装置1によって未知の被測定交流電圧信号の電圧V
を正確に求めることができる。この電圧測定に際し、
基準交流電圧信号は測定の度に入力する必要はなく、例
えば、装置の出荷時等に既知の電圧値Vの値とともに
基準交流電圧信号を1回入力しておけば、自動的に基準
交流電圧信号に対する2値化信号のアクティブ期間と周
期が測定されるとともに、スレッシュホールド電圧V
T0が求められて、メモリ12にV、VT0の値が保
持され、被測定交流電圧信号の電圧Vを測定する態勢
が整うこととなる。
According to the present embodiment, the voltage V of the unknown AC voltage signal to be measured which is unknown by the voltage measuring device 1 having a simple structure.
It is possible to accurately obtain X. When measuring this voltage,
The reference AC voltage signal does not need to be input each time measurement is performed. For example, if the reference AC voltage signal is input once together with the known voltage value V 0 at the time of shipment of the device, the reference AC voltage signal is automatically input. The active period and period of the binarized signal with respect to the voltage signal are measured, and the threshold voltage V
The value of T 0 is obtained, the values of V 0 and V T0 are held in the memory 12, and the system is ready to measure the voltage V X of the measured AC voltage signal.

【0048】したがって、その後は、使用場所の如何に
拘らず、被測定交流電圧信号を入力端子7から装置内に
入力するだけで、その被測定交流電圧信号の電圧値V
が自動的に求められることとなり、使用上非常に好都合
である。
Therefore, thereafter, regardless of the place of use, simply by inputting the measured AC voltage signal into the apparatus from the input terminal 7, the voltage value V X of the measured AC voltage signal is measured.
Is automatically calculated, which is very convenient for use.

【0049】なお、本発明は上記実施形態例に限定され
ることなく様々な実施の形態を取り得る。例えば、上記
実施形態例では、2値化信号測定手段10により、アク
ティブ期間と周期を測定したのち、アクティブ期間に対
応する値T、Tと周期に対応する値T、T′とをア
クティブ期間と周期に関するデータとしてメモリ12に
格納し、それらの値を(1)式および(2)式に代入し
たが、これとは異なり、2値化信号測定手段10によ
り、アクティブ期間と周期を測定したのち、演算部17
によりT/T、T/T′の演算値を求めてそれらの
値をアクティブ期間と周期に関するデータとしてメモリ
12に格納し、VT0とVTXを求めるときは上記T/
、T/T′の演算値を(1)式、(2)式に代入
してVT0とVTXを求めるようにしてもよい。
The present invention is not limited to the above-mentioned embodiments, but can take various embodiments. For example, in the above-described embodiment, the binary signal measuring means 10 measures the active period and the period, and then activates the values T 0 and T X corresponding to the active period and the values T and T ′ corresponding to the period. The data regarding the period and the period are stored in the memory 12 and those values are substituted into the equations (1) and (2), but unlike this, the binary signal measuring means 10 measures the active period and the period. After that, the calculation unit 17
The calculated values of T / T 0 and T X / T ′ are stored in the memory 12 as data relating to the active period and the cycle, and V T0 and V TX are calculated by the above T / T 0 and T X / T ′.
T 0, T the calculated value of X / T '(1) below, may be obtained V T0 and V TX is substituted into equation (2).

【0050】また、上記実施形態例では図3に示すよう
にアクティブ期間2T、2TをLレベルとする2値
化信号を作成するようにしたが、それとは逆にアクティ
ブ期間をHレベルとする2値化信号を作成するようにし
てもよい。この場合も同様な演算処理によりVを求め
ることができる。
Further, in the above embodiment, as shown in FIG. 3, the binarized signal in which the active periods 2T 0 and 2T X are set to the L level is created. On the contrary, the active period is set to the H level. You may make it produce | generate the binarization signal which does. Also in this case, V X can be obtained by the same calculation process.

【0051】さらに、上記実施形態例では、VTXをア
クティブ期間2Tの始端位置Aの位相位置で求めた
が、アクティブ期間2Tの終端位置Bの位相位置(図
3参照)で求めてもよい。
[0051] Further, in the above embodiment, although sought V TX phase position of the starting end position A of the active period 2T X, be determined by the phase position of the end position B of the active period 2T X (see FIG. 3) Good.

【0052】さらに、本実施形態例では電圧変換器3と
2値化回路5を電圧測定装置1の構成要素としたが、電
圧変換器3と2値化回路5を除いた構成部分を電圧測定
装置の構成としてもよい。
Further, in the present embodiment, the voltage converter 3 and the binarization circuit 5 are the constituent elements of the voltage measuring device 1, but the constituent parts excluding the voltage converter 3 and the binarization circuit 5 are used for voltage measurement. It may be configured as a device.

【0053】さらに、上記実施形態例では、電圧測定装
置1はゲーム機2に組み込まれてゲーム機2に入力する
電源電圧を測定するように構成したが、本発明の電圧測
定装置は測定対象の交流電圧信号が正弦波であればよ
く、正弦波を持つ様々な交流電圧信号の電圧測定の用途
に使用できるものである。
Further, in the above embodiment, the voltage measuring device 1 is built in the game machine 2 and is configured to measure the power supply voltage input to the game machine 2. However, the voltage measuring device of the present invention is a measuring object. The AC voltage signal may be a sine wave and can be used for voltage measurement of various AC voltage signals having a sine wave.

【0054】さらに、上記実施形態例では、測定した被
測定交流電圧信号の電圧値Vが許容電圧範囲から外れ
たり、許容上限値を越えたりしたときにゲームのプログ
ラムの進行開始を阻止するようにしたが、ゲーム機の入
力電圧を保護回路により遮断するようにしてもよい。こ
のように入力電圧を遮断することにより、異常な交流電
源電圧がゲーム機2に印加されることによって、回路素
子が劣化したり、損傷を受けたりするのを防止すること
ができる。
Further, in the above embodiment, when the measured voltage value V X of the measured AC voltage signal is out of the allowable voltage range or exceeds the allowable upper limit value, the progress of the game program is prevented from starting. However, the input voltage of the game machine may be cut off by a protection circuit. By cutting off the input voltage in this manner, it is possible to prevent the circuit element from being deteriorated or damaged due to the abnormal AC power supply voltage being applied to the game machine 2.

【0055】さらに、上記実施形態例では、2値化回路
5に与えるスレッシュホールド電圧VT0は交流電圧信
号を最初に切る電圧(2値化信号がHレベルからLレベ
ルに切り替わる位相位置の電圧)と交流電圧信号を終り
に切る電圧(2値化信号がLレベルからHレベルに切り
替わる位相位置の電圧)とが同じ一定電圧によって与え
られていたが、図4(a)に示すようにVT0をヒステ
リシス差を持たせたV TH+とVTH−の2つの電圧値
によって与えてもよい。図4(a)の例ではスレッシュ
ホールド電圧値VTH+は交流電圧信号の最初の切断位
置でHレベルからLレベルに切り替わる2値化信号(図
4(b))のレベル変換部を形成し、スレッシュホール
ド電圧値VTH−は交流電圧信号の終りの切断位置でL
レベルからHレベルに切り替わる2値化信号のレベル変
換部を形成するしきい値として機能する。
Further, in the above embodiment, the binarization circuit
Threshold voltage V given to 5T0AC voltage signal
The voltage that cuts the signal first (the binarized signal changes from H level to L level
The voltage at the phase position at which the
Voltage to turn off (the binary signal is turned from L level to H level
Alternate phase position voltage) is given by the same constant voltage
However, as shown in FIG. 4 (a), VT0The hysteria
V with a lysis difference TH +And VTH-Two voltage values
May be given by. In the example of FIG. 4A, the threshold
Hold voltage value VTH +Is the first disconnection point of the AC voltage signal
Binary signal that switches from H level to L level (Fig.
4 (b)) level conversion part is formed and the threshold hole is formed.
Voltage value VTH-Is L at the cutting position at the end of the AC voltage signal
Level change of the binarized signal that switches from level to H level
It functions as a threshold that forms a replacement portion.

【0056】このようにスレッシュホールド電圧VT0
を2つの電圧VTH+、VTH−によって与えた場合
は、作成された2値化信号のLレベル期間は交流電圧信
号の左右対称中心線(位相π/2を通る垂直線)m
対して左右非対称となる。この場合、Lレベル期間を2
等分する線はm′で表され、 とm′の間にΔTの間
隔が生じる。つまり、Lレベル期間を1/2に分割した
期間は求めようとするアクティブ期間に対応する期間
(アクティブ期間の1/2の期間)T、Tよりもそ
れぞれΔTだけ大きい。
Thus, the threshold voltage V T0
Is given by two voltages V TH + and V TH− , the L level period of the created binarized signal is for the left-right symmetric center line (vertical line passing through phase π / 2) m 0 of the AC voltage signal. It becomes asymmetrical. In this case, the L level period is 2
The dividing line is represented by m ', and there is a ΔT interval between m 0 and m'. That is, the period obtained by dividing the L level period into 1/2 is larger than the period (1/2 of the active period) T 0 and T X corresponding to the active period to be obtained by ΔT.

【0057】そのため、このように、スレッシュホール
ド電圧にヒステリシス差を持たせた場合には、Lレベル
期間を単純に1/2に分割してもアクティブ期間に対応
する正確な期間T、Tを求めることができず、正確
なT、Tの値を求めるためには別の工夫が必要とな
る。このような事情を考慮し、本実施形態例では図4
(c)に示すように、交流電圧信号が零電圧を切る位置
でパルスPを発生させ、この2つのパルスPのパル
ス間隔Tを測定し、この値Tを1/2に分割した位
置をアクティブ期間の2分割中心線mの位置として求
め、2値化信号がHレベルからLレベルに切り替わった
位相位置を起点とし、その起点位置から中心線mに至
るまでの時間を求めてこれをアクティブ期間に対応する
期間T、Tとして求めている。
Therefore, when the threshold voltage has a hysteresis difference as described above, even if the L level period is simply divided into ½, the accurate periods T 0 and T X corresponding to the active period are obtained. Cannot be obtained, and another device is required to obtain accurate values of T 0 and T X. In consideration of such a situation, FIG.
As shown in (c), a pulse P 0 is generated at a position where the AC voltage signal cuts zero voltage, the pulse interval T L between these two pulses P 0 is measured, and this value T L is divided into ½. The obtained position is determined as the position of the center line m 0 of the two-divided active period, and the phase position at which the binarized signal switches from the H level to the L level is used as the starting point, and the time from the starting point position to the center line m 0 is determined. Then, this is obtained as the periods T 0 and T X corresponding to the active period.

【0058】厳密にはパルスPには幅があり、パルス
の中心位置を求めるときに多少の誤差を伴うこと
で、パルス期間Tの測定に誤差が生じることが有り得
るが、この誤差は許容範囲の微小誤差であり、本発明の
目的を達成する上で、特に問題となることがない。
Strictly speaking, the pulse P 0 has a width, and an error may occur in the measurement of the pulse period T L due to a slight error when the center position of the pulse P 0 is obtained. Is a minute error within an allowable range and does not cause any particular problem in achieving the object of the present invention.

【0059】もちろん、パルスPの幅に起因する誤差
を無くして精密にアクティブ期間に対応する期間T
を求める場合は、パルス期間Tの2分割位置を仮
の中心位置mとした後、上記のようにしてTを仮の
値として求め、次にmの位置を中心として左右にT
離れた期間の位相位置においてそれぞれ被測定交流電圧
信号の電圧VTXを求め、両者のVTXの値が一致した
場合にはmの仮の位置は正確な位置として確定し、両
者のVTXの値が不一致の場合は例えば一方側のパルス
の中心線nをパルス幅の範囲内で両者のVTXの値
が一致する方向に少しずつ水平方向(位相が増減する方
向)に移動して、Tの測定 → mの仮決定 → T
の仮決定 → mの位置を中心として左右にT離れた
期間の位相位置でのVTXの演算、の動作を繰り返し行
い、両者のVTXの演算値が一致したしたときのm
仮の位置を正式なmの位置として確定することによ
り、パルスPの幅に影響を受けない正確なT、T
の測定が可能となる。
Of course, the error caused by the width of the pulse P 0 is eliminated and the period T 0 corresponding to the active period is precisely defined,
To obtain T X , the halving position of the pulse period T L is set as a temporary center position m 0 , then T X is obtained as a temporary value as described above, and then the position of m 0 is centered on the left and right. to T X
The voltage V TX of the measured AC voltage signal is obtained at the phase positions in the distant periods, and when the values of V TX of both are the same, the provisional position of m 0 is determined as an accurate position, and V TX of both If the values of the two do not match, for example, the center line n of the pulse P 0 on one side is gradually moved in the horizontal direction (the direction in which the phase is increased or decreased) within the range of the pulse width in the direction in which the V TX values of the two match. , T L measurement → provisional determination of m 0 → T X
Temporarily determined → calculation of V TX at positions phase position of periods apart T X to the right and left around the m 0, repeats the operations of, of both V TX operation value is the the of m 0 when matching By determining the provisional position as the position of the official m 0 , accurate T 0 , T X that is not affected by the width of the pulse P 0
Can be measured.

【0060】[0060]

【発明の効果】本発明は既知の基準交流電圧信号を入力
するとともに、その既知の電圧値(交流ピーク電圧値)
を入力格納することにより、被測定交流電圧信号の
未知の電圧を測定することが可能な状態となり、その後
は測定対象の交流電圧信号を入力するだけで、その交流
電圧信号の電圧値を自動的に測定することが可能とな
る。また、電圧測定装置の構成を簡易化でき、電圧測定
の操作(取り扱い)も極めて容易であり、使用上非常に
便利である。
According to the present invention, a known reference AC voltage signal is input, and the known voltage value (AC peak voltage value) is input.
By inputting and storing V 0 , it becomes possible to measure an unknown voltage of the measured AC voltage signal. After that, by simply inputting the AC voltage signal to be measured, the voltage value of the AC voltage signal is measured. It becomes possible to measure automatically. In addition, the configuration of the voltage measuring device can be simplified, and the operation (handling) of voltage measurement is extremely easy, which is very convenient in use.

【0061】また、交流電圧信号を2値化信号に変換す
るスレッシュホールド電圧値が回路素子の特性ばらつき
により個々の装置毎にばらついていたとしても、基準交
流電圧信号に基づく2値化信号のアクティブ期間と周期
の測定値に基づき正確にスレッシュホールド電圧が求め
られ、その正確に求められたスレッシュホールド電圧値
を用いて、最終的に被測定交流電圧信号の電圧値V
求められるので、個々の装置のスレッシュホールド電圧
の設定値にばらつきが生じていたとしても、被測定交流
電圧信号の電圧を正確に求めることが可能である。
Further, even if the threshold voltage value for converting an AC voltage signal into a binary signal varies from device to device due to variations in the characteristics of circuit elements, the active binary signal based on the reference AC voltage signal is activated. Since the threshold voltage is accurately obtained based on the measured values of the period and the cycle, and the accurately obtained threshold voltage value is used to finally obtain the voltage value V X of the measured AC voltage signal, Even if there is a variation in the set value of the threshold voltage of the device, it is possible to accurately obtain the voltage of the measured AC voltage signal.

【0062】さらに、本発明の電圧測定装置は上記のよ
うに装置構成を簡易化できるので、装置コストの低減化
が可能であり、測定性能に優れた電圧測定装置を安価に
提供することが可能である。
Further, since the voltage measuring device of the present invention can simplify the device structure as described above, the device cost can be reduced, and the voltage measuring device having excellent measurement performance can be provided at low cost. Is.

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

【図1】本発明の一実施形態例の電圧測定装置1をゲー
ム機2に組み込み状態で示す使用状態説明図である。
FIG. 1 is a usage state explanatory diagram showing a state in which a voltage measuring device 1 according to an embodiment of the present invention is incorporated in a game machine 2.

【図2】図1に示されている電圧測定回路6の詳細ブロ
ック図である。
2 is a detailed block diagram of the voltage measurement circuit 6 shown in FIG. 1. FIG.

【図3】交流電圧信号とその交流電圧信号により作成さ
れる2値化信号との関係を示す説明図である。
FIG. 3 is an explanatory diagram showing a relationship between an AC voltage signal and a binarized signal created by the AC voltage signal.

【図4】スレッシュホールド電圧をヒステリシス差を持
った2つの電圧VTH+、V H−で与えた例を示す他
の実施形態例の説明図である。
[4] the threshold voltage of two voltages having hysteresis difference V TH +, is an illustration of another embodiment showing an example given V T H-.

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

1 電圧測定装置 3 電圧変換器 5 2値化回路 10 2値化信号測定手段 11 データ格納手段 12 メモリ 14 スレッシュホールド電圧演算手段 15 VTX演算手段 16 V演算手段1 voltage measuring device 3 voltage converter 5 binarizing circuit 10 binarizing signal measuring means 11 data storing means 12 memory 14 threshold voltage calculating means 15 V TX calculating means 16 V X calculating means

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 スレッシュホールド電圧値によって切断
される交流電圧波形の切断期間をL(ロー)又はH(ハ
イ)レベルのアクティブ期間として持ち、L(ロー)と
H(ハイ)のレベルが交互に連続する2値化信号におけ
る前記アクティブ期間と周期を測定する2値化信号測定
手段と、この2値化信号測定手段によって測定されたア
クティブ期間と周期に関するデータをメモリに格納する
データ格納手段と、基準交流電圧信号の既知の電圧値V
と前記2値化信号測定手段によって測定された基準交
流電圧信号のアクティブ期間に対応するデータTと周
期に対応するデータTとに基づき予め与えられた演算式
を用いて前記スレッシュホールド電圧VT0を求めるス
レッシュホールド電圧演算手段と、入力される被測定交
流電圧信号に対して前記2値化信号測定手段によって測
定されたアクティブ期間に対応するデータTと周期に
対応するデータT′と前記基準交流電圧信号の電圧値V
とに基づき被測定交流電圧信号から得られる2値化信
号のL(ロー)レベルとH(ハイ)レベルの切り換わり
点の位相位置における基準交流電圧信号の電圧値VTX
を予め与えられた演算式を用いて求めるVTX演算手段
と、前記電圧VT0とVTXの比が被測定交流電圧信号
の電圧値Vと基準交流電圧信号の電圧値Vとの比に
等しいことを利用してVとVT0とVTXの各電圧値
に基づき被測定交流電圧信号の電圧Vを求めるV
算手段とを有することを特徴とする電圧測定装置。
1. A disconnection period of an AC voltage waveform disconnected by a threshold voltage value is set as an active period of L (low) or H (high) level, and L (low) and H (high) levels alternate. A binarized signal measuring means for measuring the active period and the cycle in a continuous binarized signal, and a data storage means for storing in the memory the data relating to the active period and the cycle measured by the binarized signal measuring means, Known voltage value V of the reference AC voltage signal
0 and the data T 0 corresponding to the active period of the reference AC voltage signal measured by the binarized signal measuring means and the data T corresponding to the period, the threshold voltage V is calculated by using an arithmetic expression given in advance. Threshold voltage calculating means for obtaining T0 , data T X corresponding to the active period measured by the binarized signal measuring means with respect to the input AC voltage signal to be measured, data T'corresponding to the period, and Voltage value V of the reference AC voltage signal
The voltage value V TX of the reference AC voltage signal at the phase position of the switching point between the L (low) level and the H (high) level of the binary signal obtained from the measured AC voltage signal based on 0
The ratio of the V TX calculating means for calculating using the previously given arithmetic expression, the ratio of the voltage V T0 and V TX is the voltage value V 0 which voltage V X and the reference alternating voltage signal of the measured AC voltage signal And a V X calculating means for obtaining the voltage V X of the AC voltage signal under measurement based on the respective voltage values of V 0 , V T0, and V TX .
【請求項2】 スレッシュホールド電圧VT0を求める
演算式はVT0=VCOS{(T/T)・(π/
2)}によって与えられ、電圧VTXを求める演算式は
TX=VCOS{(T/T′)・(π/2)}に
よって与えられ、Vを求める演算式はV=V(V
T0/VTX)によって与えられていることを特徴とす
る請求項1記載の電圧測定装置。
2. An arithmetic expression for obtaining the threshold voltage V T0 is V T0 = V 0 COS {(T 0 / T) · (π /
Given by 2)}, is given by the calculation equation V TX = V 0 COS seeking voltage V TX {(T X / T ') · (π / 2)}, calculation formula for obtaining the V X is V X = V 0 (V
Voltage measuring device according to claim 1, characterized in that it is given by T0 / VTX ).
【請求項3】 入力される交流電圧信号の電圧を後流側
の信号処理レベルの電圧に変換する電圧変換器と、この
電圧変換器によって電圧変換された交流電圧信号をスレ
ッシュホールド電圧VT0によって切断し、この交流電
圧波形の切断期間をL(ロー)又はH(ハイ)レベルの
アクティブ期間として持たせ、L(ロー)とH(ハイ)
のレベルが交互に連続する2値化信号を作成する2値化
回路とが備えられていることを特徴とする請求項1又は
請求項2記載の電圧測定装置。
3. A voltage converter for converting a voltage of an input AC voltage signal into a voltage of a signal processing level on the downstream side, and an AC voltage signal voltage-converted by the voltage converter by a threshold voltage V T0 . By disconnecting, the disconnection period of this AC voltage waveform is provided as an active period of L (low) or H (high) level, and L (low) and H (high)
3. A voltage measuring device according to claim 1, further comprising: a binarizing circuit that creates a binarizing signal in which the levels of 1 are alternately continuous.
【請求項4】 スレッシュホールド電圧値によって切断
される交流電圧波形の切断期間をL(ロー)又はH(ハ
イ)レベルのアクティブ期間として持ち、L(ロー)と
H(ハイ)のレベルが交互に連続する2値化信号におけ
る前記アクティブ期間と周期を測定する2値化信号測定
手順と、この測定したアクティブ期間と周期に関するデ
ータをメモリに格納するデータ格納の手順と、基準交流
電圧信号の既知の電圧値Vと前記メモリに格納された
基準交流電圧信号に基づくアクティブ期間と周期に関す
るデータをメモリから読み出しこの読み出しデータに基
づき予め与えられた演算式を用いて前記スレッシュホー
ルド電圧VT0を求めてメモリに格納するスレッシュホ
ールド電圧演算の手順と、入力される被測定交流電圧信
号に対して前記2値化信号測定手順によって測定されて
メモリに格納されたアクティブ期間と周期に関するデー
タと前記基準交流電圧信号の電圧値Vとをメモリから
読み出しこの読み出したデータに基づき被測定交流電圧
信号から得られる2値化信号のL(ロー)レベルとH
(ハイ)レベルの切り換わり点の位相位置における基準
交流電圧信号の電圧値VTXを予め与えられた演算式を
用いて求めてメモリに格納するVTX演算の手順と、前
記演算された電圧VT0とVTXの比が被測定交流電圧
信号の電圧Vと基準交流電圧信号の電圧値Vとの比
に等しいことを利用してメモリから読み出したVとV
T0とVTXの各電圧値に基づき被測定交流電圧信号の
電圧Vを求めるV演算手順とが格納されていること
を特徴とする電圧測定装置の記録媒体。
4. An L (low) or H (high) level active period having a disconnection period of an AC voltage waveform that is disconnected by a threshold voltage value, and L (low) and H (high) levels alternate. A binarized signal measurement procedure for measuring the active period and cycle in a continuous binarized signal, a data storage procedure for storing data regarding the measured active period and cycle in a memory, and a known reference AC voltage signal. Data about the active period and cycle based on the voltage value V 0 and the reference AC voltage signal stored in the memory is read out from the memory, and the threshold voltage V T0 is calculated using an arithmetic expression given in advance based on the read data. The threshold voltage calculation procedure to be stored in the memory and the above-mentioned 2 for the input measured AC voltage signal. Signal measurement procedures obtained from the measured the voltage value V 0 and reading from the memory under test AC voltage signal on the basis of the read data of data and the reference AC voltage signal associated with the active time and the period stored in the memory by 2 L (low) level and H of the digitized signal
The procedure of the V TX calculation for obtaining the voltage value V TX of the reference AC voltage signal at the phase position of the switching point of the (high) level by using a predetermined calculation formula and storing it in the memory, and the calculated voltage V Utilizing the fact that the ratio of T0 and V TX is equal to the ratio of the voltage V X of the measured AC voltage signal and the voltage value V 0 of the reference AC voltage signal, V 0 and V read from the memory
A recording medium for a voltage measuring device, which stores a V X calculation procedure for obtaining a voltage V X of an AC voltage signal to be measured based on each voltage value of T0 and V TX .
【請求項5】 請求項1又は請求項2又は請求項3記載5. The method according to claim 1, claim 2 or claim 3.
の電圧測定装置が組み込まれ、VThe voltage measuring device of X 演算手段によって求Calculated by calculation means
められた被測定交流電圧信号の電圧VThe measured voltage V of the measured AC voltage signal X が予め与えられIs given in advance
た判定基準から外れたときにゲームプレーを不能状態にGame play is disabled when it falls outside the criteria
する手段が設けられていることを特徴とするゲーム機。A game machine provided with means for performing.
JP2000035016A 2000-02-14 2000-02-14 Voltage measuring device, recording medium thereof, and game machine including the voltage measuring device Expired - Fee Related JP3418582B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000035016A JP3418582B2 (en) 2000-02-14 2000-02-14 Voltage measuring device, recording medium thereof, and game machine including the voltage measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000035016A JP3418582B2 (en) 2000-02-14 2000-02-14 Voltage measuring device, recording medium thereof, and game machine including the voltage measuring device

Publications (2)

Publication Number Publication Date
JP2001228183A JP2001228183A (en) 2001-08-24
JP3418582B2 true JP3418582B2 (en) 2003-06-23

Family

ID=18559274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000035016A Expired - Fee Related JP3418582B2 (en) 2000-02-14 2000-02-14 Voltage measuring device, recording medium thereof, and game machine including the voltage measuring device

Country Status (1)

Country Link
JP (1) JP3418582B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103339518A (en) * 2011-02-04 2013-10-02 富士通株式会社 Power strip and power measurement method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119110A (en) * 2015-08-27 2015-12-02 徐业友 Audio-video expansion device having power supply function

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103339518A (en) * 2011-02-04 2013-10-02 富士通株式会社 Power strip and power measurement method
CN103339518B (en) * 2011-02-04 2015-12-16 富士通株式会社 Power distributor and power measurement method
US9316672B2 (en) 2011-02-04 2016-04-19 Fujitsu Limited Power strip and power measurement method

Also Published As

Publication number Publication date
JP2001228183A (en) 2001-08-24

Similar Documents

Publication Publication Date Title
KR100797861B1 (en) A method and system for determining rotor position in a switched reluctance machine
JP4622725B2 (en) Magnetic absolute encoder
JPS59501725A (en) position measuring device
JP2005514610A (en) Encoder with reference mark
CN108476355A (en) Protective device
US5396370A (en) Process for evaluating binary data of a magnetic storage card
JP3418582B2 (en) Voltage measuring device, recording medium thereof, and game machine including the voltage measuring device
JP2008020364A (en) Electromagnetic flowmeter
US5663557A (en) Multiple rotating absolute encoder capable of accurately latching absolute address data with data on number of rotations
JP4488344B2 (en) Water meter
JPH04337565A (en) Peak detector
US8274398B2 (en) USB flash drive and method for determining available storage capacity of the USB flash drive
JPS61266964A (en) Processor for period data on pulse signal
US6040693A (en) User initiated magnetic head wear measuring and display system
SU1365121A1 (en) Device for searching section on tape recording medium
KR910001846B1 (en) Checking machine of velocity of motor
JPH08327396A (en) Device for detecting amount of displacement
JPH04175626A (en) Method of compensating characteristic of torque sensor
JPH0814971A (en) Electromagnetic flowmeter
JP4489105B2 (en) Magnetic detector
JP3106272B2 (en) Information conversion method
JP4514776B2 (en) Crank angle detection device for internal combustion engine
SU972298A2 (en) Device for measuring non-uniformity of data medium speed
JPH02244291A (en) Optical sensor output binarizing system
WO2005121708A1 (en) A variable differential transformer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090411

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090411

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090411

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090411

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100411

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110411

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees