JPH0470116A - Sine wave/rectangular wave conversion circuit - Google Patents
Sine wave/rectangular wave conversion circuitInfo
- Publication number
- JPH0470116A JPH0470116A JP18360790A JP18360790A JPH0470116A JP H0470116 A JPH0470116 A JP H0470116A JP 18360790 A JP18360790 A JP 18360790A JP 18360790 A JP18360790 A JP 18360790A JP H0470116 A JPH0470116 A JP H0470116A
- Authority
- JP
- Japan
- Prior art keywords
- voltage
- input
- pull
- output
- resistor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 title claims description 12
- 238000000034 method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
Landscapes
- Manipulation Of Pulses (AREA)
Abstract
Description
【発明の詳細な説明】
(al産業上の利用分野
この発明は、正弦波信号を方形波信号に変換する回路に
関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention This invention relates to a circuit for converting a sine wave signal into a square wave signal.
山)従来の技術
例えば2つの正弦波信号の位相差を測定する場合、簡易
な方法として正弦波信号を方形波信号に変換し、2つの
方形波信号の立ち上がり(または立ち下がり)間の時間
差を測定することによって位相差を求める方法がある。Conventional technology For example, when measuring the phase difference between two sine wave signals, a simple method is to convert the sine wave signal to a square wave signal and calculate the time difference between the rise (or fall) of the two square wave signals. There is a method of determining the phase difference by measurement.
また、正弦波信号の周期を測定する場合や1周期分の信
号を切り出す場合、正弦波信号を方形波信号に変換して
、この方形波信号から正弦波信号の周期やゼロクロス点
を求める方法もある。In addition, when measuring the period of a sine wave signal or cutting out a signal for one period, there is also a method of converting the sine wave signal to a square wave signal and calculating the period of the sine wave signal and the zero crossing point from this square wave signal. be.
このように正弦波信号を方形波信号に変換する回路とし
て、従来は第5図に示すように比較器が用いられていた
。同図に示すように比較器は+Vと一■の2電源により
動作し、−入力端子が0■に固定され、十入力端子との
間に正弦波信号が入力され、比較器の出力端子から方形
波信号が出力される。第6図(A)、(B)はその入出
力信号の波形を示している。比較器は一入力端子に比べ
て十入力端子の電位が高ければ+Vを出力し1、入力端
子に比べて十入力端子の電位が低ければVを出力する。Conventionally, a comparator as shown in FIG. 5 has been used as a circuit for converting a sine wave signal into a square wave signal. As shown in the figure, the comparator operates with two power supplies, +V and 1■, the - input terminal is fixed at 0■, a sine wave signal is input between the 10 input terminal, and the output terminal of the comparator A square wave signal is output. FIGS. 6A and 6B show the waveforms of the input and output signals. The comparator outputs +V if the potential of the ten input terminal is higher than that of the one input terminal, and outputs V if the potential of the ten input terminal is lower than that of the input terminal.
したがって、第6図に示すよつに入力信号が正の時は十
V、負の時は一■の電圧が発ヰされ、正弦波信号が方形
波信号に変換される(C1発明が解決しようとする課題
ところが、比較器を用いた従来の正弦波方形波変換回路
は電源として→−Vと−Vの2電源が必要であるため、
電源回路が複雑となり、全体に大型でコスト高であると
いう問題があった。Therefore, as shown in Fig. 6, when the input signal is positive, a voltage of 1 V is generated, and when it is negative, a voltage of 1 V is generated, and the sine wave signal is converted to a square wave signal (the C1 invention solves the problem). However, since the conventional sine wave/square wave conversion circuit using a comparator requires two power supplies, → -V and -V,
There were problems in that the power supply circuit was complicated, the overall size was large, and the cost was high.
この発明の目的は1電源で動作させることができ、しか
もより簡単な回路構成とし7た小型低コストの正弦波方
形波変換回路を提供することにある(a)課題を解決す
るための手段
この発明の請求項(1)に係る正弦波方形波変換回路は
、入力側グイオートと出力側ダイオードのそれぞれカソ
ード同士・を接続し、その接続点=、Z低抵抗のプルダ
ウン抵抗を接続し21、出力側ダイオ−1′のアノード
に高抵抗のプルアップ抵抗を接続してなり、入力側ダ・
イオートのアノードを入力端子、出力側ダイオードのア
ノードを出力端子としたことを特徴とする。An object of the present invention is to provide a small, low-cost sine wave/square wave conversion circuit that can be operated with a single power supply and has a simpler circuit configuration. (a) Means for Solving the Problems The sine wave square wave conversion circuit according to claim (1) of the invention connects the cathodes of the input side diodes and the output side diodes, and connects the connection point =, Z with a low resistance pull-down resistor 21, and outputs. A high-resistance pull-up resistor is connected to the anode of the side diode 1', and the input side diode
It is characterized in that the anode of the ioto is used as the input terminal, and the anode of the output side diode is used as the output terminal.
また、請求項(2)に係る正弦波方形波変換回路は、入
力側ダイオードと出力側ダイオードのそれぞれアノード
同士を接続し、その接続点に低抵抗のプルアップ抵抗を
接続し、出力側ダイオードのカソードに高抵抗のプルダ
ウン抵抗を接続してなり、入力側ダイオードのカソード
を入力端子、出力側ダイオードのカソードを出力端子と
したことを特徴とする。Further, in the sine wave square wave conversion circuit according to claim (2), the anodes of the input side diode and the output side diode are connected to each other, a low resistance pull-up resistor is connected to the connection point, and the anode of the output side diode is connected to the anode of the input side diode and the output side diode. A high-resistance pull-down resistor is connected to the cathode, and the cathode of the input side diode is used as the input terminal, and the cathode of the output side diode is used as the output terminal.
(21作用
請求項+11に係る正弦波方形波変換回路では、2人力
信号が電源電圧(→−■)より高い正電圧である時、出
力側ダイオードに逆方向電圧が加わるため、この出力側
ダイオードにより入力電圧は阻止され1、出力信号とし
てはプルアップ抵抗により接続された電圧(+ V )
が出力される。逆に、入力信号が9電圧である時、入力
側ダイオードに逆方向電圧が加わり、この入力側ダイオ
ードによ1ツ人力信号が阻止される。一方、出力側ダイ
オードにはプルアップ抵抗とプルダウン抵抗を通じて順
方向電圧が加わり、出力信号としてはほぼプルダウン抵
抗両端の電圧、すなわちプルアップ抵抗とプルダウン抵
抗による分圧電圧が出力される。ここでプルアップ抵抗
はプルダウン抵抗に比較し2て充分高抵抗であるため、
はぼOvが出力される。(21 In the sine wave square wave conversion circuit according to claim +11, when the two-power signal is a positive voltage higher than the power supply voltage (→-■), a reverse voltage is applied to the output side diode, so this output side diode The input voltage is blocked by 1, and the output signal is the voltage (+V) connected by the pull-up resistor.
is output. Conversely, when the input signal is at 9 voltage, a reverse voltage is applied to the input diode, and one human input signal is blocked by this input diode. On the other hand, a forward voltage is applied to the output side diode through a pull-up resistor and a pull-down resistor, and the output signal is approximately the voltage across the pull-down resistor, that is, the voltage divided by the pull-up resistor and the pull-down resistor. Here, the pull-up resistor has a sufficiently high resistance compared to the pull-down resistor, so
HaboOv is output.
請求項(2)に係る正弦波方形波変換回路では、入力信
号が負電圧である時、出力側ダイオードに対し逆方向電
圧が加わるので、出力信号としてはプルダウン抵抗によ
り接続されたOvが出力される。入力信号が電源電圧(
−V)より高い正電圧である時、入力側ダイオードに逆
方向電圧が加わるので、入力電圧はこの入力側ダイオー
ドにより阻止され、出力信号とと7ではプルダウン抵抗
両端の電圧、すなわちプルアップ抵抗とプルダウン抵抗
による分圧電圧が出力される。ここでプルダウン抵抗は
プルアップ抵抗より充分高抵抗であるため、はぼ電源電
圧(+■)が出力される。In the sine wave square wave conversion circuit according to claim (2), when the input signal is a negative voltage, a reverse voltage is applied to the output side diode, so Ov connected by the pull-down resistor is output as the output signal. Ru. If the input signal is the power supply voltage (
-V), a reverse voltage is applied to the input diode, so the input voltage is blocked by this input diode, and the output signal and 7 are the voltage across the pull-down resistor, i.e., the pull-up resistor. The divided voltage generated by the pull-down resistor is output. Here, since the pull-down resistor has a sufficiently higher resistance than the pull-up resistor, the power supply voltage (+■) is output.
11f)実施例
まず請求項(1)に係る第1の実施例である正弦波方形
波変換回路の回路図を第1V;jJに、またその入出力
信号波形の例を第2図に示す。11f) Embodiment First, a circuit diagram of a sine wave/square wave conversion circuit according to a first embodiment of claim (1) is shown in FIG. 1V;jJ, and an example of input/output signal waveforms thereof is shown in FIG.
第1図乙こおいてII) 1は入力側ダイオード、D2
は出力側ダイオードである。図に示ずように両ダイオ−
1のカソード同士を接続し、その接続点乙こ接続点をO
vにプルダウンする低抵抗のプルダウン抵抗R1を接続
U、ている。また出力側グイオートD2のアノードには
電源電圧である+Vにプルアップする高抵抗のプルアッ
プ抵抗R2を接続している。そして入力側ダイオードD
1のアノードを入力端子とし、出力側ダイオードD2の
アノードを出力端子としている。Figure 1 II) 1 is the input side diode, D2
is the output side diode. Both diodes are connected as shown in the figure.
Connect the cathodes of 1 and connect the connection point O.
A low-resistance pull-down resistor R1 that pulls down to V is connected to U. Further, a high-resistance pull-up resistor R2 is connected to the anode of the output-side guide D2 to pull it up to +V, which is the power supply voltage. and input side diode D
The anode of the output diode D2 is used as an input terminal, and the anode of the output diode D2 is used as an output terminal.
以十のように構成した回路で入力電圧が電源電圧+Vよ
り高電圧である時、入力側ダイオードD1には順方向電
圧、出力側ダイオードD2?こは逆方向電圧が加わる。In the circuit configured as described above, when the input voltage is higher than the power supply voltage +V, the input diode D1 has a forward voltage, and the output diode D2? A reverse voltage is applied here.
したがって、入力電圧は出力側ダイオードD2により阻
止され、出力電圧どしてはプルアップ抵抗R2を通して
+■が出力される。逆に入力電圧が負である時、入力側
ダイオードD1に逆方向電圧、出力側ダイオードD2に
順方向電圧がそれぞれ加わり、入力電圧は入力側ダイオ
ードDIにより阻止され、R2→D2→R1の経路で電
流が流れ、出力電圧としてはほぼV・R1/(R1±R
2)の電圧が出力される。ただしR1<<R2の関係で
あるため、この時の出力電圧はほぼOVである。以上の
作用によって第2図(A)に示すようなV i n>>
(十V)の電圧を有する正弦波信号が入力されたなら
、同図(B)に示すような方形波信号が得られる。Therefore, the input voltage is blocked by the output side diode D2, and the output voltage is outputted as +■ through the pull-up resistor R2. Conversely, when the input voltage is negative, a reverse voltage is applied to the input diode D1, a forward voltage is applied to the output diode D2, the input voltage is blocked by the input diode DI, and the input voltage is applied to the path R2→D2→R1. Current flows, and the output voltage is approximately V・R1/(R1±R
2) voltage is output. However, since the relationship is R1<<R2, the output voltage at this time is approximately OV. Due to the above action, V i n>> as shown in FIG. 2(A)
If a sine wave signal having a voltage of (10 V) is input, a square wave signal as shown in FIG.
次に、この発明の請求項(2)に係る第2の実施例であ
る正弦波方形波変換回路の回路図を第3図に、またその
入出力信号波形の例を第4図に示す。Next, FIG. 3 shows a circuit diagram of a sine wave/square wave conversion circuit according to a second embodiment of the present invention, and FIG. 4 shows an example of input/output signal waveforms thereof.
第3図において、Dlは入力側ダイオード、D2は出力
側ダイオードである。図に示すように両ダイオードのア
ノード同士を接続し、その接続点に接続点を+■にプル
アップする低抵抗のプルアップ抵抗R1を接続している
。また出力側ダイオードD2のカソードにはD2のカソ
ードをOvにプルダウンする高抵抗のプルダウン抵抗R
2を接続している。そして入力側ダイオードDIのカソ
ードを入力端子とし、出力側ダイオードD2のカソード
を出力端子としている。In FIG. 3, Dl is an input diode and D2 is an output diode. As shown in the figure, the anodes of both diodes are connected to each other, and a low-resistance pull-up resistor R1 is connected to the connection point to pull up the connection point to +■. In addition, the cathode of the output diode D2 has a high-resistance pull-down resistor R that pulls down the cathode of D2 to Ov.
2 is connected. The cathode of the input diode DI is used as an input terminal, and the cathode of the output diode D2 is used as an output terminal.
以上の構成からなる回路に対する入力端子が負である時
、入力側ダイオードDIに順方向電圧、出力側ダイオー
ドD2に逆方向電圧がそれぞれ加わる。したがって入力
電圧は出力側ダイオードD2により阻止され、出力電圧
としてはプルダウン抵抗R2を通してOVが出力される
。入力電圧が電源電圧(+■)を超える正電圧である時
、入力側ダイオードDIには逆方向電圧、出力側ダイオ
ードD2には順方向電圧がそれぞれ加わる。したがって
入力電圧は入力側ダイオードDIにより阻止され、R1
→D2→R2の経路で電流が流れ、V−R2/(R1+
R2)の電圧が出力される。When the input terminal to the circuit having the above configuration is negative, a forward voltage is applied to the input diode DI, and a reverse voltage is applied to the output diode D2. Therefore, the input voltage is blocked by the output side diode D2, and OV is output as the output voltage through the pull-down resistor R2. When the input voltage is a positive voltage exceeding the power supply voltage (+■), a reverse voltage is applied to the input diode DI, and a forward voltage is applied to the output diode D2. Therefore, the input voltage is blocked by the input diode DI and R1
→D2→R2 path, current flows, V-R2/(R1+
R2) voltage is output.
ただしR1<<R2の関係であるため、この時の出力電
圧はほぼ電源電圧(+V)である。以上の作用によって
、第4図(A)に示すように、Vin>> (+V)で
ある正弦波信号が入力されると、同図(B)に示すよう
に方形波信号が得られる(g)発明の効果
この発明によれば、1電源により作動させることができ
、また回路自体も簡略化される。このため、電源を含め
て全体に低コストで小型軽量の正弦波方形波変換回路を
構成することができる。However, since the relationship is R1<<R2, the output voltage at this time is approximately the power supply voltage (+V). As a result of the above action, when a sine wave signal with Vin>> (+V) is input as shown in FIG. 4(A), a square wave signal is obtained as shown in FIG. 4(B) (g ) Effects of the Invention According to the present invention, it can be operated with a single power source, and the circuit itself can be simplified. Therefore, it is possible to construct a sine wave/square wave conversion circuit that is small and lightweight at low cost as a whole including the power supply.
Dl−入力端ダイオード、 D2−出力側ダイオード、 R1−低抵抗、 R2−高抵抗。Dl-input end diode, D2 - output side diode, R1 - low resistance, R2 - High resistance.
Claims (2)
カソード同士を接続し、その接続点に低抵抗のプルダウ
ン抵抗を接続し、出力側ダイオードのアノードに高抵抗
のプルアップ抵抗を接続してなり、入力側ダイオードの
アノードを入力端子、出力側ダイオードのアノードを出
力端子とした正弦波方形波変換回路。(1) Connect the cathodes of the input side diode and the output side diode, connect a low resistance pull-down resistor to the connection point, and connect a high resistance pull-up resistor to the anode of the output side diode. A sine wave/square wave conversion circuit with the anode of the side diode as the input terminal and the anode of the output side diode as the output terminal.
アノード同士を接続し、その接続点に低抵抗のプルアッ
プ抵抗を接続し、出力側ダイオードのカソードに高抵抗
のプルダウン抵抗を接続してなり、入力側ダイオードの
カソードを入力端子、出力側ダイオードのカソードを出
力端子とした正弦波方形波変換回路。(2) Connect the anodes of the input side diode and the output side diode, connect a low resistance pull-up resistor to the connection point, and connect a high resistance pull-down resistor to the cathode of the output side diode. A sine wave/square wave conversion circuit with the cathode of the side diode as the input terminal and the cathode of the output side diode as the output terminal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18360790A JPH0470116A (en) | 1990-07-10 | 1990-07-10 | Sine wave/rectangular wave conversion circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18360790A JPH0470116A (en) | 1990-07-10 | 1990-07-10 | Sine wave/rectangular wave conversion circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0470116A true JPH0470116A (en) | 1992-03-05 |
Family
ID=16138760
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18360790A Pending JPH0470116A (en) | 1990-07-10 | 1990-07-10 | Sine wave/rectangular wave conversion circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0470116A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011147080A (en) * | 2010-01-18 | 2011-07-28 | Nuflare Technology Inc | Pulse generator and pulse generation method |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5344357U (en) * | 1976-09-20 | 1978-04-15 |
-
1990
- 1990-07-10 JP JP18360790A patent/JPH0470116A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5344357U (en) * | 1976-09-20 | 1978-04-15 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011147080A (en) * | 2010-01-18 | 2011-07-28 | Nuflare Technology Inc | Pulse generator and pulse generation method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4206641A (en) | Electromagnetic flow meter | |
| US20010033190A1 (en) | Analog voltage isolation circuit | |
| JPS6028169B2 (en) | analog to digital converter | |
| JPH0470116A (en) | Sine wave/rectangular wave conversion circuit | |
| JP6868492B2 (en) | Pulse generation circuit | |
| CN113162442B (en) | A synchronous rectification control circuit based on current detection | |
| JP2001268891A (en) | Power supply using solar cells | |
| CN112787642A (en) | Control system of multiplexing switching device | |
| EP1081858A3 (en) | Current-voltage converter | |
| TW496047B (en) | Sub-threshold bias control for burst mode optical transmitters | |
| RU192383U1 (en) | AC bipolar to positive bias voltage converter | |
| CN210807104U (en) | Control circuit for voltage and current of sine wave inverter | |
| JPH0650788Y2 (en) | Digital signal generation circuit | |
| JPH0566235A (en) | Peak holding circuit, peak detecting circuit and peak-position detecting circuit | |
| JPH0312806B2 (en) | ||
| RU7748U1 (en) | DC VOLTAGE TRANSMITTER WITH DC VOLTAGE WITH ELECTRICAL ISOLATION | |
| JPS62183612A (en) | Detection circuit | |
| JPH0831783B2 (en) | Wave shaping circuit | |
| JPH0735453Y2 (en) | Sync signal polarity constant circuit | |
| JPH05291876A (en) | Signal isolator | |
| RU2018139C1 (en) | Ac voltage-to absolute value converter | |
| SU734577A1 (en) | Converter of voltage or current into relative difference in pulse durations | |
| JPH0251144B2 (en) | ||
| JPH0122398Y2 (en) | ||
| CN116455207A (en) | Positive and negative voltage selection circuit and method |