JPS6353727B2 - - Google Patents
Info
- Publication number
- JPS6353727B2 JPS6353727B2 JP54153402A JP15340279A JPS6353727B2 JP S6353727 B2 JPS6353727 B2 JP S6353727B2 JP 54153402 A JP54153402 A JP 54153402A JP 15340279 A JP15340279 A JP 15340279A JP S6353727 B2 JPS6353727 B2 JP S6353727B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- binary counter
- significant bit
- bits
- inverter
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K4/00—Generating pulses having essentially a finite slope or stepped portions
- H03K4/02—Generating pulses having essentially a finite slope or stepped portions having stepped portions, e.g. staircase waveform
- H03K4/026—Generating pulses having essentially a finite slope or stepped portions having stepped portions, e.g. staircase waveform using digital techniques
Landscapes
- Filters That Use Time-Delay Elements (AREA)
- Analogue/Digital Conversion (AREA)
Description
【発明の詳細な説明】
本発明は、カウンタのカウント内容に従つて抵
抗で分圧された電圧を選択し、正弦波の信号を出
力する発振器に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an oscillator that selects a voltage divided by resistors according to the count contents of a counter and outputs a sine wave signal.
クロツクをアツプダウンカウンタによりカウン
トし、そのカウント内容をデコードし、デコード
出力によりアナログゲートを制御し、そのアナロ
グゲートを介して抵抗で分圧された電圧を選択出
力することにより正弦波信号を出力する発振器が
知られている。この従来の発振器に於いては、正
弦波信号の波形の上昇部分と下降部分とを出力す
る為に前述の如くアツプダウンカウンタを用い、
例えばアツプカウントによりキヤリが発生すると
ダウンカウントに移行するように制御するもの
で、その構成は単純な2進カウンタに比較して複
雑になる欠点があつた。 The clock is counted by an up-down counter, the count contents are decoded, an analog gate is controlled by the decoded output, and a voltage divided by a resistor is selectively output via the analog gate, thereby outputting a sine wave signal. Oscillators are known. In this conventional oscillator, an up-down counter is used as described above to output the rising and falling parts of the waveform of the sine wave signal.
For example, when a offset occurs due to an up count, the counter is controlled to shift to a down count, and its configuration has the disadvantage of being more complex than a simple binary counter.
本発明は、前述の従来の欠点を改善したもの
で、構成が簡単な2進カウンタを用いて正弦波を
発生し得るようにすることを目的とするものであ
る。以下実施例について詳細に説明する。 The present invention improves the above-mentioned drawbacks of the conventional art, and aims to make it possible to generate a sine wave using a binary counter with a simple configuration. Examples will be described in detail below.
第1図は本発明の実施例のブロツク線図であ
り、1は2進カウンタ、2はデコーダを含むアナ
ログゲート回路、3,4は可変分周器、5,6は
分周比を定めるデータをラツチするラツチ回路、
7はインバータ、CLKはクロツク、OUTは出力
端子、R1〜R7は抵抗である。可変分周器3,
4はそれぞれ集積回路のMC14526(米国モトロー
ラ社製)を用いた場合を示し、1〜6,11〜1
4は端子番号を示し、ラツチ回路5,6のビツト
(1)〜(6)の指定により分周する機能を有する。例え
ば、ラツチ回路5,6のビツト(1)〜(6)を
“000001”としたとき全体でクロツクCLKを32分
周することになる。分周出力は2進カウンタ1で
カウントするクロツクとなる。 FIG. 1 is a block diagram of an embodiment of the present invention, where 1 is a binary counter, 2 is an analog gate circuit including a decoder, 3 and 4 are variable frequency dividers, and 5 and 6 are data determining the frequency division ratio. A latch circuit that latches the
7 is an inverter, CLK is a clock, OUT is an output terminal, and R1 to R7 are resistors. variable frequency divider 3,
4 indicates the case where integrated circuit MC14526 (manufactured by Motorola, USA) is used; 1 to 6, 11 to 1
4 indicates the terminal number, and the bits of latch circuits 5 and 6
It has a function to divide the frequency according to the specifications of (1) to (6). For example, when bits (1) to (6) of latch circuits 5 and 6 are set to "000001", the total frequency of the clock CLK is divided by 32. The frequency-divided output becomes a clock counted by binary counter 1.
2進カウンタ1は4ビツトの場合を示し、最上
位ビツトQ4により抵抗R1〜R7に印加する電
圧極性を反転するか否か制御し、その為にインバ
ータ7に最上位ビツトQ4が入力される。例えば
最上位ビツトQ4が“1”であると、抵抗R7側
が正となり、R1側はアース電位となり、又最上
位ビツトが“0”であると抵抗R1側が正とな
り、R7側がアース電位となる。又抵抗R1〜R
7の値は、正弦波の正,負の最大値間のレベルが
8段階で順次得られるように選定されているもの
である。又2進カウンタ1の最上位ビツトを除く
下位3ビツトがアナログゲート回路2に入力さ
れ、その3ビツトによりアナログゲート回路2の
8個の端子a〜hが選択されて出力端子OUTに
接続される。 The binary counter 1 shows the case of 4 bits, and the most significant bit Q4 controls whether or not to invert the polarity of the voltage applied to the resistors R1 to R7. For example, when the most significant bit Q4 is "1", the resistor R7 side becomes positive and the R1 side becomes a ground potential, and when the most significant bit is "0", the resistor R1 side becomes positive and the R7 side becomes a ground potential. Also resistance R1~R
The value 7 is selected so that the levels between the positive and negative maximum values of the sine wave can be sequentially obtained in eight steps. Furthermore, the lower three bits of the binary counter 1 excluding the most significant bit are input to the analog gate circuit 2, and the eight terminals a to h of the analog gate circuit 2 are selected by these three bits and connected to the output terminal OUT. .
第2図は動作説明図であり、aは出力波形、b
は2進カウンタ1の下位3ビツトによるカウント
内容、cはインバータ7の出力を示す。例えば2
進カウンタ1のカウント内容Q4,Q3,Q2,
Q1が“0000”であると、インバータ7の出力は
“1”となり、又下位3ビツトQ3,Q2,Q1
の“000”によりアナログゲート回路2の端子a
が出力端子OUTに接続されるから、最も低いレ
ベルが出力されることになる。又カウント内容Q
4,Q3,Q2,Q1が“0001”となると、アナ
ログゲート回路2の端子bが出力端子OUTに接
続され、抵抗R6,R7の接続点のレベルが出力
される。以下同様にしてカウント内容に従つてア
ナログゲート回路2の端子a〜hが選択されて出
力端子OUTに接続されるので、正弦波状に順次
レベルが上昇する出力となる。そしてカウント内
容Q4,Q3,Q2,Q1が“0111”となつて端
子hが選択接続され、最も高いレベルが出力さ
れ、次にカウント内容Q4,Q3,Q2,Q1が
“1000”となると、下位3ビツトQ3,Q2,Q
1の“000”によりアナログゲート回路2の端子
aが選択接続されるが、最上位ビツトQ4が
“1”であるので、インバータ7の出力は“0”
となり、抵抗R1〜R7に印加する電圧は反転さ
れる。従つて端子aの選択接続によつても最も高
いレベルが出力されることになる。 Figure 2 is an explanatory diagram of the operation, where a is the output waveform, b
indicates the count contents of the lower three bits of the binary counter 1, and c indicates the output of the inverter 7. For example 2
Count contents of decimal counter 1 Q4, Q3, Q2,
When Q1 is “0000”, the output of inverter 7 is “1”, and the lower three bits Q3, Q2, Q1
“000” causes terminal a of analog gate circuit 2 to
is connected to the output terminal OUT, so the lowest level will be output. Also, count contents Q
4, Q3, Q2, and Q1 become "0001", the terminal b of the analog gate circuit 2 is connected to the output terminal OUT, and the level at the connection point of the resistors R6 and R7 is output. Thereafter, terminals a to h of the analog gate circuit 2 are similarly selected according to the count contents and connected to the output terminal OUT, resulting in an output whose level increases sequentially in a sine wave shape. Then, when the count contents Q4, Q3, Q2, Q1 become "0111", terminal h is selectively connected and the highest level is output, and then when the count contents Q4, Q3, Q2, Q1 become "1000", the lower 3 bits Q3, Q2, Q
1's "000" selectively connects the terminal a of the analog gate circuit 2, but since the most significant bit Q4 is "1", the output of the inverter 7 is "0".
Therefore, the voltages applied to the resistors R1 to R7 are inverted. Therefore, the highest level is also output by selectively connecting terminal a.
2進カウンタ1のカウント内容Q4,Q3,Q
2,Q1が“1000”〜“1111”の間は、正弦波状
に順次レベルが低下する出力となり、カウント内
容Q4,Q3,Q2,Q1が“1111”のとき端子
hが選択接続されて最も低いレベルの出力とな
り、次にカウント内容Q4,Q3,Q2,Q1が
“0000”となつて端子aが選択接続されるが、イ
ンバータ7の出力が“1”となつて、抵抗R1〜
R7に印加される電圧極性が反転され、最も低い
レベルが出力されることになる。このような動作
を繰返して第2図aに示す階段波状の正弦波が出
力される。この正弦波出力の周波数は、クロツク
CLKの周波数をとすると、分周器3,4によ
りN分周したとき、2進カウンタ1が4ビツトで
あるから、更に16分周したものに相当し、
/16・Nとなる。 Count contents of binary counter 1 Q4, Q3, Q
2. When Q1 is between “1000” and “1111”, the output level decreases sequentially in a sine wave pattern, and when the count contents Q4, Q3, Q2, and Q1 are “1111”, terminal h is selectively connected and is the lowest. Then, the count contents Q4, Q3, Q2, Q1 become "0000" and the terminal a is selectively connected, but the output of the inverter 7 becomes "1" and the resistors R1 to
The polarity of the voltage applied to R7 is reversed, and the lowest level is output. By repeating this operation, a staircase-shaped sine wave shown in FIG. 2a is output. The frequency of this sine wave output is
Assuming the frequency of CLK, when the frequency is divided by N by frequency dividers 3 and 4, since binary counter 1 has 4 bits, it corresponds to the frequency further divided by 16.
/16・N.
前述の実施例は、4ビツトの2進カウンタ1に
より16ステツプで正弦波の1サイクルを形成し、
そのうちの8ステツプ毎に抵抗R1〜R7に印加
する電圧を反転するものであるが、2進カウンタ
1のビツト数を更に多くし、且つ抵抗の数を多く
することにより滑らかなレベル変化の正弦波を出
力するようにすることができ、又可変分周器3,
4の段数を増やせば出力周波数の幅を拡げる事が
出来る。 In the above embodiment, one cycle of a sine wave is formed in 16 steps by a 4-bit binary counter 1,
The voltage applied to the resistors R1 to R7 is inverted every 8 steps, but by increasing the number of bits in the binary counter 1 and increasing the number of resistors, a sine wave with smooth level changes can be created. The variable frequency divider 3,
By increasing the number of stages (4), the range of output frequencies can be expanded.
以上説明したように、本発明は、2進カウンタ
1と、抵抗R1〜R7等からなる抵抗群と、この
抵抗群の一端に2進カウンタ1の最上位ビツトの
出力を印加し、且つ他端に最上位ビツトの出力を
反転して印加するように接続したインバータ7
と、2進カウンタ1の最上位ビツトを除く他のビ
ツトの出力を加えて抵抗群による分圧電圧を選択
出力するアナログゲート回路2とを備えたもので
あり、2進カウンタ1は、アツプカウントとダウ
ンカウントとを切替えるような構成を必要とせ
ず、単純にクロツクをカウントする比較的簡単な
構成で良い利点がある。 As explained above, the present invention includes a binary counter 1, a resistor group consisting of resistors R1 to R7, etc., the output of the most significant bit of the binary counter 1 is applied to one end of this resistor group, and the output of the most significant bit of the binary counter 1 is applied to the other end. Inverter 7 is connected so as to invert and apply the output of the most significant bit to
and an analog gate circuit 2 which selects and outputs the divided voltage by the resistor group by adding the outputs of the other bits except the most significant bit of the binary counter 1. It is advantageous to have a relatively simple configuration that simply counts clocks without requiring a configuration for switching between clock and down-counting.
又2進カウンタ1の最上位ビツトを除く他のビ
ツトをアナログゲート回路2に加えるもので、ア
ナログゲート回路2に於けるデコード機能を簡単
化することができる。更に、1個のインバータ7
を追加するのみで、2進カウンタ1の最上位ビツ
トをこのインバータ7により反転して、抵抗群に
印加する電圧極性を反転し、正弦波形の上昇部分
と下降部分とを容易に発生することができるか
ら、経済的な発振器を提供することができる。 Further, by adding bits other than the most significant bit of the binary counter 1 to the analog gate circuit 2, the decoding function in the analog gate circuit 2 can be simplified. Furthermore, one inverter 7
By simply adding , the most significant bit of the binary counter 1 is inverted by the inverter 7, the polarity of the voltage applied to the resistor group is inverted, and the rising and falling parts of the sine waveform can be easily generated. Therefore, an economical oscillator can be provided.
第1図は本発明の実施例のブロツク線図、第2
図は動作説明図である。
1は2進カウンタ、2はアナログゲート回路、
3,4は分周器、5,6はラツチ回路、7はイン
バータ、R1〜R7は抵抗、CLKはクロツクで
ある。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG.
The figure is an explanatory diagram of the operation. 1 is a binary counter, 2 is an analog gate circuit,
3 and 4 are frequency dividers, 5 and 6 are latch circuits, 7 is an inverter, R1 to R7 are resistors, and CLK is a clock.
Claims (1)
電圧を順次選択することにより正弦波電圧を形成
する抵抗群、該抵抗群の一端に前記2進カウンタ
の最上位ビツトの出力を印加し、且つ他端に該最
上位ビツトの出力を反転して印加するように接続
したインバータ、前記2進カウンタの最上位ビツ
トを除く他のビツトの出力を加えて前記抵抗群に
よる分圧電圧を選択出力するアナログゲート回路
を具備したことを特徴とする発振器。1. A binary counter that counts clocks, a resistor group that forms a sine wave voltage by sequentially selecting divided voltages, the output of the most significant bit of the binary counter being applied to one end of the resistor group, and the other end an inverter connected to invert and apply the output of the most significant bit to the inverter; and an analog gate that adds the outputs of the other bits other than the most significant bit of the binary counter and selectively outputs the divided voltage by the resistor group. An oscillator characterized by being equipped with a circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15340279A JPS5676623A (en) | 1979-11-27 | 1979-11-27 | Oscillator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15340279A JPS5676623A (en) | 1979-11-27 | 1979-11-27 | Oscillator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5676623A JPS5676623A (en) | 1981-06-24 |
| JPS6353727B2 true JPS6353727B2 (en) | 1988-10-25 |
Family
ID=15561698
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15340279A Granted JPS5676623A (en) | 1979-11-27 | 1979-11-27 | Oscillator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5676623A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59167115A (en) * | 1983-03-11 | 1984-09-20 | Seiko Instr & Electronics Ltd | Voltage generating circuit for channel selection |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4852216A (en) * | 1971-11-02 | 1973-07-23 | ||
| JPS5829886B2 (en) * | 1977-12-22 | 1983-06-25 | ヤマハ株式会社 | polyphase signal generator |
-
1979
- 1979-11-27 JP JP15340279A patent/JPS5676623A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5676623A (en) | 1981-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4150092B2 (en) | Frequency divider and digital PLL circuit | |
| US4623846A (en) | Constant duty cycle, frequency programmable clock generator | |
| JP3918777B2 (en) | Pulse width modulation circuit | |
| JP3649874B2 (en) | Frequency divider circuit | |
| JPS6353727B2 (en) | ||
| US4117476A (en) | Digital-to-analog converter | |
| US4331926A (en) | Programmable frequency divider | |
| KR200164990Y1 (en) | 50% duty odd frequency demultiplier | |
| JPS62251674A (en) | Frequency abnormality detecting circuit | |
| JPS6328368B2 (en) | ||
| JPS6128422Y2 (en) | ||
| US4081755A (en) | Baud rate generator utilizing single clock source | |
| JPS6130451B2 (en) | ||
| JP2769777B2 (en) | Demodulation circuit of pulse width modulation signal to digital signal | |
| JPH08154044A (en) | 90 degree phase shifter | |
| JPS60201724A (en) | Digital voltage controlled oscillator | |
| JPH06104740A (en) | Input signal edge time measuring circuit and digital PLL device | |
| JP2689539B2 (en) | Divider | |
| JPH02166808A (en) | Sine wave generator circuit | |
| JPH0247642Y2 (en) | ||
| JPH06224748A (en) | Variable frequency divider circuit | |
| JPS6128424Y2 (en) | ||
| KR890000088B1 (en) | Pulse precision delay circuit | |
| JPH01236813A (en) | N-phase clock generating circuit | |
| JP2692976B2 (en) | Synchronous counter |