JPS6014368B2 - Arbitrary waveform generation circuit - Google Patents
Arbitrary waveform generation circuitInfo
- Publication number
- JPS6014368B2 JPS6014368B2 JP55103233A JP10323380A JPS6014368B2 JP S6014368 B2 JPS6014368 B2 JP S6014368B2 JP 55103233 A JP55103233 A JP 55103233A JP 10323380 A JP10323380 A JP 10323380A JP S6014368 B2 JPS6014368 B2 JP S6014368B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- waveform
- frequency
- output
- address
- 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/02—Digital function generators
- G06F1/03—Digital function generators working, at least partly, by table look-up
- G06F1/0321—Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers
- G06F1/0328—Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers in which the phase increment is adjustable, e.g. by using an adder-accumulator
- G06F1/0335—Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers in which the phase increment is adjustable, e.g. by using an adder-accumulator the phase increment itself being a composed function of two or more variables, e.g. frequency and phase
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】 〔技術分野〕 本発明はデジタル制御の任意波形発生回路に関する。[Detailed description of the invention] 〔Technical field〕 The present invention relates to a digitally controlled arbitrary waveform generation circuit.
従来、特定の波形だけを発生し得る専用の回路は数多〈
知られているが、一般に同一回路構成で任意の異なる出
力波形を得られるならば非常に便利なことは明らかであ
る。Conventionally, there are many dedicated circuits that can generate only specific waveforms.
However, it is clear that it would be very convenient if arbitrary different output waveforms could be obtained with the same circuit configuration.
例えばビデオゲーム機械等においては、一機種毎にそれ
ぞれ特殊の疑音を発生させることが要求されるところか
ら、従来、一機種毎にそれぞれ尊用の音発生回路を設計
し付加している。For example, in video game machines, it is required to generate a special sound for each model, so conventionally, a special sound generating circuit is designed and added to each model.
しかしこのような多種少量生産の機器のおいて一機種毎
に専用の音発生回路に従って波形発生回路を設計し付加
することは非常に不経済であり、同一回路で色々異なっ
た音を出せること並びに複数の音が同時に出せることが
要望され、そのための任意波形発生回路の提供が望まれ
ていた。一方、この種の自由度をもつ波形発生回路とし
ては、従来ファンクション・ジヱネレータが知られてい
るが、その出力として取り出し得る波形は、三角波、方
形波、正弦波あるいはそれらの組合わせで得られるのこ
ぎり波、ランプ波、指数関数彼等であり、特定の波形に
限られている。However, it is very uneconomical to design and add a waveform generation circuit according to a dedicated sound generation circuit for each type of equipment that is produced in a wide variety of small quantities. It has been desired to be able to produce multiple sounds simultaneously, and it has been desired to provide an arbitrary waveform generation circuit for this purpose. On the other hand, a function generator is conventionally known as a waveform generating circuit with this kind of degree of freedom, but the waveforms that can be extracted as its output are triangular waves, square waves, sine waves, or a sawtooth waveform obtained by a combination of these. They are waves, ramp waves, exponential waves, and are limited to certain waveforms.
従ってファンクション・ジェネレータではそれら以外の
任意波形を発生させるためには、その都度別の専用回路
を設定し付加しなければならない。〔発明の目的)本発
明の目的は、波形メモリに予め記憶された波形データか
ら所望種類の複数の波形を所望周期で謙出すことにより
任意の周波数及び形状の波形を発生されることができる
波形発生回路を提供することにある。Therefore, in order to generate arbitrary waveforms other than these in a function generator, a separate dedicated circuit must be set and added each time. [Object of the Invention] The object of the present invention is to generate a waveform of any frequency and shape by extracting a plurality of desired types of waveforms at a desired period from waveform data stored in advance in a waveform memory. The purpose of this invention is to provide a generating circuit.
本発明においては、疑音あるいは映像作成用の複数種の
異なる波形を有し、該波形はそれぞれ対応する波形デー
タとして予め波形メモリに記憶保持されている。In the present invention, a plurality of different waveforms for creating suspicious sounds or images are provided, and the waveforms are stored and held in a waveform memory in advance as corresponding waveform data.
周知のように、一般の波形は波形(状)、繰返し周波数
(周期)及び振幅の三要素を有し、これらのいづれかが
相違すれば異なる波形となり、例えば疑音の場合、音色
、高低及び音圧の差となって現出し、また映像の場合、
画形の差となって現われる。As is well known, a general waveform has three elements: waveform (shape), repetition frequency (period), and amplitude, and if any one of these is different, it will be a different waveform. It appears as a difference in pressure, and in the case of images,
This appears as a difference in image shape.
なお、前記周波数には初期位相も含まれ、これによって
特に映像の場合に画の座標位置が定まる。以上の三要素
に対応して、本発明の波形発生回路においても各要素の
任意指定が行われ、波形メモ川こ記憶保持された波形デ
ータ種の選択によって波形状が定まり、またこの選択さ
れたデ−夕の読出分周比の設定によって周波数(周期及
び初期位相)が定まる。Note that the frequency also includes the initial phase, which determines the coordinate position of the image, especially in the case of an image. Corresponding to the above three elements, each element is arbitrarily designated in the waveform generation circuit of the present invention, and the waveform is determined by the selection of the waveform data type stored in the waveform memo. The frequency (period and initial phase) is determined by setting the data readout frequency division ratio.
そして、これら波形状と周波数とがデジタル的に設定さ
れた後、その振幅が設定される。〔発明の構成〕
発明において特徴的なことは、波形データの選択と読出
分周比の設定が別個に処理されていることであり、、特
に謙出分周比は謎出周波数(周期)を外部より入力する
のみで任意の周波数を設定可能であり、波形メモリの記
憶データが限られた量であるにも拘らず多数の波形を発
生し得る利点がある。After the waveform and frequency are set digitally, the amplitude is set. [Structure of the Invention] The characteristic feature of the invention is that the selection of waveform data and the setting of the readout frequency division ratio are processed separately, and in particular, the frequency division ratio of the output is processed separately. It has the advantage that any frequency can be set simply by inputting it from the outside, and that a large number of waveforms can be generated even though the amount of data stored in the waveform memory is limited.
すなわち、本発明によれば、各波形データに対してその
謙出周期(謙出アドレス間隔)を変えることにより、デ
ー外ま適当に間引かれあるいは適当に多重読みされて読
出され、これによって所望の繰返し周波数が設定可能と
なる。That is, according to the present invention, by changing the extraction cycle (the extraction address interval) for each waveform data, the outside of the data can be appropriately thinned out or appropriately multiplexed and read. The repetition frequency can be set.
また、本発明において、前記論出周波数の設定は入力さ
れた周波数データを一定のサイクル毎にデジタル加算し
て、この加算結果にて波形データのアドレスを指定する
ことが好適である。Further, in the present invention, it is preferable that the setting of the discussion frequency is performed by digitally adding the input frequency data every fixed cycle, and specifying the address of the waveform data based on the addition result.
更に、前述した読出周波数の初期位相を決定するために
、周波数データとは別個に初期位相デー夕を入力し、第
1加算時にこの初期位相データを読込むことが好適であ
る。Further, in order to determine the initial phase of the readout frequency described above, it is preferable to input initial phase data separately from the frequency data and read this initial phase data at the time of the first addition.
〔実施例〕
以下に添附の図面について、本発明の任意波形発生回路
の具体例を第1図ないし第4図を使って説明する。[Embodiment] A specific example of the arbitrary waveform generation circuit of the present invention will be described below with reference to the accompanying drawings, with reference to FIGS. 1 to 4.
この具体例の回路は時分割で作動され3つの波形が得ら
れるようになっている。従って、所定の3つの波形が見
掛け上重ね合されて出力され、例えば疑音発生回路に対
しては3種類の異なる音を同時に出力可能とし、また映
像発生回路に対してはディスプレイ上に異なる波形ある
いは色の映像を描出可能とする。The circuit in this specific example operates in a time-division manner so that three waveforms are obtained. Therefore, three predetermined waveforms are apparently superimposed and output. For example, three different types of sounds can be simultaneously output to a suspicious sound generation circuit, and different waveforms can be displayed on a display to a video generation circuit. Alternatively, it is possible to depict color images.
もっとも本発明においては単一の波形のみを処理するこ
とを基本としているので、以下主としていずれか1つの
波形処理の説明を行い他の説明を略すことが多い。第1
実施例において、波形メモリから所望の波形を選択しま
たその繰返し周波数をデジタル的に設定する波形選択及
び分周比設定回路はマルチプレクサ1,2、データレジ
スタ3、累算器4、加算器5そしてラッチ6からなる。However, since the present invention is based on processing only a single waveform, hereinafter, only one waveform processing will be mainly explained, and other explanations will often be omitted. 1st
In the embodiment, a waveform selection and division ratio setting circuit for selecting a desired waveform from a waveform memory and digitally setting its repetition frequency includes multiplexers 1 and 2, a data register 3, an accumulator 4, an adder 5, and It consists of a latch 6.
第1図中において、1は入力端子Aが中央処理装置CP
UのアドレスバスABに接続されたマルチプレクサ、2
は入力端子AがCPUのデータバスDBに接続されたマ
ルチプレクサである。In Figure 1, 1 indicates that the input terminal A is the central processing unit CP.
multiplexer connected to address bus AB of U, 2
is a multiplexer whose input terminal A is connected to the data bus DB of the CPU.
マルチプレクサ1の出力端子Yはデータレジス夕3及び
累算器4の両アドレス入力端子Aに接続され、マルチプ
レクサ2の出力端子Yはデータレジスタ3及び累算器4
の両データ入力端子Dに接続されている。すなわちマル
チプレクサー及び2はCPUがデータレジスタ3及び累
算器4にデータを書き込む場合、CPUのアドレスバス
AB及びデータバスDBをデータレジスタ3と累算器4
のアドレス及びデータ入力に接続する役目をする。デー
タレジスタ3は、本実施例においては、第2図の上段に
示すように、16ビットの周波数データDと4ビットの
振幅データAとを一群とするデータを2組、更に20ビ
ットの周波数データDと4ビットの振幅データAを1組
計3組保持し時分割で3種類の異なる波形を処理してい
る。The output terminal Y of multiplexer 1 is connected to both address input terminals A of data register 3 and accumulator 4, and the output terminal Y of multiplexer 2 is connected to both address input terminals A of data register 3 and accumulator 4.
is connected to both data input terminals D of. That is, when the CPU writes data to the data register 3 and accumulator 4, the multiplexer 2 connects the address bus AB and data bus DB of the CPU to the data register 3 and accumulator 4.
Serves as a connection to address and data inputs. In this embodiment, as shown in the upper part of FIG. 2, the data register 3 stores two sets of data consisting of 16-bit frequency data D and 4-bit amplitude data A, and further 20-bit frequency data. A total of three sets of D and 4-bit amplitude data A are held, and three different waveforms are processed in a time-division manner.
ただし周波数データDは4ビットずつ4桁に分割されて
おり、20ビットの周波数データは4ビットずつ5桁に
分割されている。分割されて得られた部分周波数データ
はDmmで表わされている。この場合添字nは部分周波
数データの属する群を表わし、mは桁の重みを表わす。
周波数データDは最終的に得られる出力信号の周波数(
波形メモリ7のアドレス指定周期)を指定し、また振幅
データAnは(nはデータの属する群を表わす)は出力
信号の振幅を指定するものである。一方、累算器4は、
レジスタの一種で、初期設定値(零を含む)に入力値が
順次加遣され、この演算結果が元の値に置換される装置
であり、第2図の下段に示すように、必要に応じて波形
の初期位相を設定するための16ビットの被加算データ
Cと4ビットの波形選択データWとを一群とするデータ
を2組、更に20ビットの初期位相設定用被加算データ
Cと4ビットの波形データWを一群とするデータを1組
計3組保持している。However, the frequency data D is divided into four digits each having four bits, and the 20-bit frequency data is divided into five digits each having four bits. Partial frequency data obtained by division is expressed as Dmm. In this case, the subscript n represents the group to which the partial frequency data belongs, and m represents the weight of the digit.
Frequency data D is the frequency of the output signal finally obtained (
The address designation cycle of the waveform memory 7) is designated, and the amplitude data An (n represents the group to which the data belongs) designates the amplitude of the output signal. On the other hand, the accumulator 4 is
A type of register, it is a device in which input values are sequentially added to the initial setting value (including zero), and the result of this operation is replaced with the original value. 2 sets of data consisting of 16-bit augend data C and 4-bit waveform selection data W for setting the initial phase of the waveform, and further 20-bit augend data C for initial phase setting and 4 bits. A total of three sets of data each containing waveform data W as a group are held.
ここで、累算器4に初期設定されていたデータが波形の
初期位相を設定する。被加算データCは同様に4ビット
ずつ4又は5桁に分割されており、その1桁分の部分被
加算データCnmで表わされている。この部分被加算デ
ータCnm及び被波形選択データWnに付けた添字nが
それらのデータが属する群を表わし、添字m桁位置を表
わすことは上記と同様である。上記の3群のデータのう
ち、各々1群(例えばD,o〜D,3,A,,C,3,
C,o〜C,3,W,)が1つの波形に関するデータ(
周波数データ、振幅データ、初期位相データ、波形選択
データ)を取扱っている訳である。Here, the data initially set in the accumulator 4 sets the initial phase of the waveform. The augend data C is similarly divided into 4 or 5 digits of 4 bits each, and is represented by partial augend data Cnm for one digit. As described above, the subscript n added to the partial addend data Cnm and the waveform selection data Wn represents the group to which these data belong, and the subscript m digit position. Of the three groups of data above, each group has one group (for example, D, o to D, 3, A,, C, 3,
C,o~C,3,W,) is data regarding one waveform (
It handles frequency data, amplitude data, initial phase data, waveform selection data).
第2図の上段及び下段の各ブロック上方の符号は、各デ
ータ部のアドレスを16隻で表記したものである。The symbols above each block in the upper and lower rows of FIG. 2 represent the addresses of each data section in 16 units.
このアドレスは次に述べる制御信号発生装置11からの
同期信号SSによって指定される。 −制御
信号発生装置11は第3図に示すような同期信号SS及
び制御信号CSを発生する。This address is designated by a synchronization signal SS from the control signal generator 11, which will be described below. - The control signal generator 11 generates a synchronization signal SS and a control signal CS as shown in FIG.
同期信号SSは4日(750KHZ)、細(37郎HZ
)、1班(187.斑Hz)及び3班(93.7郎Hz
)からなる4ビットのバィナリ信号である。制御信号C
Sは、マルチプレクサ切操信号M円X、累算器書込信号
WR○、データレジスタ書込信号WR,、第1ラツチ信
号PCK、第1ラッチクリア信号CLR、そして第2ラ
ッチ信号TCKである。ただしWR○,WR,はCPU
より書込制御信号WRCを受けて制御信号発生装置11
内で合成された信号である。第2図及び第3図から判る
ように、マルチプレクサ1の制御入力端子Sに加えられ
ている切換信号MPXは、同期信号SSの1アドレス区
間のそれぞれ後半約1′2の区間において論理“1”と
なり、その都度マルチブレクサ1を入力端子B側に切換
える。それゆえ同入力端子に加えられている同期信号S
Sがマルチプレクサ1を通って、データレジスタ3及び
累算器4に入力されてアドレスを指定する。従ってデー
タレジスタ3及び累算器4からは、指定されたアドレス
“0”〜“F”までのデータが順次出力されることにな
る。加算器5はデータレジスタ3から出力される周波数
データDと累算器4から出力される被加算(初期位相)
データCとをビット並列桁直列の形で加算する。The synchronization signal SS is 4th (750KHZ), Hoso (37roHZ)
), Group 1 (187.Hz) and Group 3 (93.7Hz)
) is a 4-bit binary signal. Control signal C
S is a multiplexer operation signal M, an accumulator write signal WR, a data register write signal WR, a first latch signal PCK, a first latch clear signal CLR, and a second latch signal TCK. However, WR○, WR, is the CPU
The control signal generator 11 receives the write control signal WRC from
This is a signal synthesized within. As can be seen from FIGS. 2 and 3, the switching signal MPX applied to the control input terminal S of the multiplexer 1 is at logic "1" in the latter half of each address section of the synchronizing signal SS. Therefore, the multiplexer 1 is switched to the input terminal B side each time. Therefore, the synchronization signal S applied to the same input terminal
S passes through multiplexer 1 and is input to data register 3 and accumulator 4 to specify the address. Therefore, the data register 3 and accumulator 4 sequentially output data from designated addresses "0" to "F". The adder 5 receives the frequency data D output from the data register 3 and the augend (initial phase) output from the accumulator 4.
Data C is added in a bit-parallel digit-series format.
すなわち同期信号SSのアドレス“0”〜“F”につき
、同じ桁同志の部分データDmmとCnmの加算結果す
なわち和(4ビット)と桁上データ(1ビット)とを出
力する。ただしこの桁上げはデータDnmとCmmの実
際の値し、かんにより生じたり生じなかったりする性質
のものである。加算器5からの和及び桁上デー外ま、そ
の都度ラツチ6に送られ、同ラツチ6にラッチされる。That is, for addresses "0" to "F" of the synchronization signal SS, the addition result of the partial data Dmm and Cnm of the same digit, that is, the sum (4 bits) and carry data (1 bit) is output. However, this carry is the actual value of the data Dnm and Cmm, and may or may not occur depending on the nature of the carry. The sum and carry data from adder 5 are each sent to latch 6 and latched therein.
このラッテ信号PCKが上記マルチプレクサ切換信号M
円Xの論理“1”の区間の前半約1/2の区間において
発生されてラッチ6に入力されることにより行われる。
このラッチ6にラッチされた和は、ラツチ6の出力端子
からライン12を通りマルチプレクサ2の入力端子Bに
送られ、同マルチプレクサ2を通って累算器41こ入力
される。この場合累算器書込信号WRは上記マルチプレ
クサ切換信号M円Xの論理“1”の区間の後半1′2の
区間に生ずるパルスであるから、ラッチ6からの和のデ
ータはその和を作ったものと被加算データのアドレスの
場所に書込まれる。例えばデータD,。とC,oの和は
データC,oのアドレスに書込まれる。一方、加算結果
に桁上げが生じたときは、その桁上データはラッチ6の
出力端子からライン13を通して加算器5の入力端子C
に送られる。従って、例えばデータD,。とC,。との
加算において桁上げが生じた場合には、結果的に、次の
データD・1とCI・との加算はこの桁上データを加味
して行われる。発明において前記累算器4、加算器5及
びラツチ6が加算手段を形成する。7は複数の波形デー
タ記憶された波形メモリであり、この波形メモリ7の下
位5ビットのアドレス入力端子は被加算データCの上位
5ビットが分周比データとして入力されるようにラッチ
6の出力端子に接続されている。This latte signal PCK is the multiplexer switching signal M
This is done by being generated in about the first half of the logic "1" section of the circle X and being input to the latch 6.
The sum latched in latch 6 is sent from the output terminal of latch 6 through line 12 to input terminal B of multiplexer 2, through which it is input to accumulator 41. In this case, since the accumulator write signal WR is a pulse generated in the latter half 1'2 of the logical "1" interval of the multiplexer switching signal M, the sum data from the latch 6 is used to create the sum. is written to the address location of the added data and the augend data. For example, data D. The sum of C and o is written to the address of data C and o. On the other hand, when a carry occurs in the addition result, the carry data is passed from the output terminal of the latch 6 to the input terminal C of the adder 5 through the line 13.
sent to. Therefore, for example, data D,. and C,. If a carry occurs in the addition of data D.1 and CI., as a result, the next data D.1 and CI. are added by taking this carry data into consideration. In the invention, the accumulator 4, the adder 5 and the latch 6 form the adding means. Reference numeral 7 denotes a waveform memory in which a plurality of waveform data are stored, and the address input terminal of the lower 5 bits of this waveform memory 7 is connected to the output of the latch 6 so that the upper 5 bits of the augend data C are input as frequency division ratio data. connected to the terminal.
残りの上位3ビットのアドレス入力端子は波形選択デー
タWnが入力されるように累算器4の出力端子に接続さ
れている。波形メモリ7の4ビットの出力端子にはラッ
チ8が接続され、またデータレジスタ3の出力端子には
振幅設定回路を形成するラッチ9が接続されている。The address input terminals of the remaining three upper bits are connected to the output terminal of the accumulator 4 so that the waveform selection data Wn is input. A latch 8 is connected to the 4-bit output terminal of the waveform memory 7, and a latch 9 forming an amplitude setting circuit is connected to the output terminal of the data register 3.
両ラッチ8及び9は、ともに第2ラッチ信号TCKによ
りラッチ動作する。この第2ラッチ信号TCKは、第3
図から判るように、振幅データAhと波形選択データW
nのアドレスを同期信号SSが指定している区間(t=
4、9、F)において生ずる。この時点においては、累
算器4からは波形選択データWnが、またデータレジス
タ3からは振幅データAnが出力される。従ってラッチ
8にラッチされるデータは波形選択データWnで上位ア
ドレスを指定され、ラツチ6にラツチされている加算結
果により分周比データとして下位アドレスを指定された
波形メモリ7からのデータであり、またラッチ9にラツ
チされるのは振幅データMである。ラツチ6においては
、波形メモリ7からのデータと振幅データAnがラッチ
8,9にラッチされた直後にクリア信号CLRにより直
前の桁上データがクリアされる。その理由は1群の周波
数データDと被加算データCとの加算処理が終了した後
、時分割処理を行ための次の群の同機な加算処理におい
て、前の加算処理時に生じた桁上データが影響するのを
阻止するためである。Both latches 8 and 9 perform a latching operation in response to the second latch signal TCK. This second latch signal TCK is
As can be seen from the figure, amplitude data Ah and waveform selection data W
The period in which the synchronization signal SS specifies the address of n (t=
4, 9, F). At this point, the accumulator 4 outputs waveform selection data Wn, and the data register 3 outputs amplitude data An. Therefore, the data latched in the latch 8 is data from the waveform memory 7 whose upper address is specified by the waveform selection data Wn, and whose lower address is specified as frequency division ratio data by the addition result latched in the latch 6. Also, what is latched in latch 9 is amplitude data M. In the latch 6, immediately after the data from the waveform memory 7 and the amplitude data An are latched into the latches 8 and 9, the immediately preceding carry data is cleared by the clear signal CLR. The reason for this is that after the addition processing of the first group of frequency data D and the augend data C is completed, in the simultaneous addition processing of the next group for time-sharing processing, the carryover data generated during the previous addition processing is This is to prevent the influence of
このようにしないと、1つの群のデータの加算処理にお
ける桁上データが次の群の加算に影響し、その群の加算
処理によって得られる出力波形の周波数が若干異なった
ものとなる。もちろん、周波数以外には影響を与えない
から、周波数′の多少の変動は許容し得るような用途に
使用する場合には各群の加算終了毎にラツチ6の桁上デ
ータをクリアする必要はない。10はラッチ8からのデ
ジタル信号を対応するアナログ電圧信号に変換するD/
Aコンバータであり、該コンバータのゲインはラッチ9
(振幅設定回路)からの振幅デー外こよって変化せしめ
られる。If this is not done, the carry data in the addition process of one group of data will affect the addition of the next group, and the frequency of the output waveform obtained by the addition process of that group will be slightly different. Of course, it does not affect anything other than the frequency, so if it is used for purposes where some fluctuations in frequency' can be tolerated, there is no need to clear the carry data in latch 6 every time the addition of each group is completed. . 10 is a D/ that converts the digital signal from latch 8 into a corresponding analog voltage signal.
A converter, the gain of the converter is latch 9
(amplitude setting circuit).
このD/Aコンバータ10から所望の出力波形が得られ
る。第4図は第1図の実際の回路例であり、同一構成要
素には第1図と同じ符号を付してある。A desired output waveform can be obtained from this D/A converter 10. FIG. 4 shows an example of the actual circuit shown in FIG. 1, and the same components are given the same reference numerals as in FIG. 1.
マルチプレクサー,2にはテキサスインスツルメント社
製のICであるSN74SI57、SN74SI58が
、データレジスタ3及び累算器4には同社のICSN7
489が、加算器5には同社のICSN74S283が
、ラッチ6には同社のSN74SI74が、そしてラッ
チ8,9には同社のICSN74S273が使用され、
また波形メモリ7及び制御信号発生装置11の部分構成
要素11′にはインターシル社製のICM5623Aが
使用されている。Multiplexer 2 uses Texas Instruments' ICs SN74SI57 and SN74SI58, and data register 3 and accumulator 4 use Texas Instruments' ICSN7.
489, adder 5 uses the company's ICSN74S283, latch 6 uses the company's SN74SI74, and latches 8 and 9 use the company's ICSN74S273.
Further, ICM5623A manufactured by Intersil Corporation is used for the waveform memory 7 and the partial component 11' of the control signal generator 11.
第1図ないし第4図において、本発明の任意波形発生回
路の動作例を説明しよう。An example of the operation of the arbitrary waveform generating circuit of the present invention will be explained with reference to FIGS. 1 to 4.
説明の便宜上、任意の疑音を発生させる場合を考えよう
。音の種類は、周知のようにスピーカ等に加える信号に
関し「その周波数「振幅及び波形の三要素によって決定
される。従って任意の音を得るためには、これらの三要
素を自由にかつ正確に設定できなければならない。再び
第2図及び第3図を参照して同期信号のアドレスt=0
のとき、データレジスタ3から周波数データD,。For convenience of explanation, let's consider a case where an arbitrary question sound is generated. As is well known, the type of sound is determined by the three elements of the signal applied to a speaker etc.: its frequency, amplitude, and waveform.Therefore, in order to obtain any sound, these three elements must be freely and accurately controlled. Referring again to FIGS. 2 and 3, the synchronization signal address t=0
When , frequency data D, is sent from data register 3.
が、累算器4から初期位相データC,。が出力され、そ
れぞれを加算器5が加算し、和及び桁上げ出力をうッチ
6がラツチし、そしてこの和がもとのC,oのアドレス
に書込まれる。アドレスがt=1のとき「同様にD,.
とC,.が出力され、和及び桁上出力をラツチ6がラッ
チし、和が元のC,.のアドレスに書込まれる。アドレ
スがt=2のときはD,2とC,2につき同様に処理さ
れ、そしてアドレスがt=3のとき○,3とC,3につ
き同様の処理がなされる。この間においてもし加算器5
に桁上出力が生ずれば、加算器5にその桁上データが加
えられる。このことは、被加算データCの上位5ビット
(分周比データ)すなわちC,3の4ビットとC,2の
1ビットに実際に論理“1”の出力が表われる時期が、
周波数データD及び被加算(初期位相)データCの実際
の値が大きいものほど、早く到来することを意味する。
次いでアドレスがt=4のとき、データレジスタ3から
振幅データA,がまた累算器4から波形選択データW,
が出力される。後者の波形選択データW,並びにt=3
においてラッチ6でラッチされた和はそれぞれ波形メモ
リ7の上位3ビットのアドレス(波形選択データ)及び
下位5ビットのアドレス(分周比データ)に別個に加え
られる。従ってこれらのアドレスに該当する波形データ
が波形メモリ7から読み出される。この読み出された波
形データ及び上記振幅データA,は、ラツチ信号TCK
により、同時的に、それぞれラッチ8及び9にラツチさ
れる。上記の動作はn=1、2、3の3組のデ−タ群に
ついて順次行われ、時分割で3種類の異なる波形処理が
行われる。is the initial phase data C, from the accumulator 4. are output, the adder 5 adds them, the sum and carry outputs are latched by the catch 6, and this sum is written to the original address of C, o. When the address is t=1, “Similarly, D, .
and C,. is output, latch 6 latches the sum and carry output, and the sum becomes the original C, . is written to the address of When the address is t=2, the same process is performed for D,2 and C,2, and when the address is t=3, the same process is performed for ○,3 and C,3. During this time, if adder 5
If a carry output occurs in the adder 5, the carry data is added to the adder 5. This means that the timing when the output of logic "1" actually appears in the upper 5 bits (dividing ratio data) of the augend data C, that is, the 4 bits of C,3 and the 1 bit of C,2, is
This means that the larger the actual values of the frequency data D and the augend (initial phase) data C are, the earlier they arrive.
Next, when the address is t=4, the amplitude data A from the data register 3 is also transferred from the accumulator 4 to waveform selection data W,
is output. The latter waveform selection data W and t=3
The sums latched by the latch 6 are separately added to the upper 3-bit address (waveform selection data) and the lower 5-bit address (frequency division ratio data) of the waveform memory 7, respectively. Therefore, waveform data corresponding to these addresses are read from the waveform memory 7. The read waveform data and the amplitude data A are the latch signal TCK.
latches 8 and 9, respectively. The above operation is performed sequentially for three data groups of n=1, 2, and 3, and three different types of waveform processing are performed in a time-division manner.
ここで各組のデータ群に対して行われる1回の処理を1
サイクルと定義する。被加算データC及び周波数データ
Dはそれぞれ4ビットの部分データが4桁分直列になっ
たものであるから、16ビット全体としても被加算デー
タCには1サイクル毎に1回だけ16ビットの周波数デ
ータDが加算されることになる。表2は、ある1種類の
波形に対する1サイクル毎の累積された被加算データC
すなわち分周比データの状態と、波形メモリ7から出力
される波形データの例を示したものである。Here, one process performed on each set of data is 1
Define it as a cycle. Since the augend data C and the frequency data D are each 4-bit partial data serialized for 4 digits, the 16-bit frequency data is added to the augend data C only once every cycle. Data D will be added. Table 2 shows the accumulated augend data C for each cycle for one type of waveform.
That is, the state of frequency division ratio data and an example of waveform data output from the waveform memory 7 are shown.
Sn(n=0、1、2、3、4……)はサイクル回数を
表わし、波形データ欄のWD−0は波形選択データW,
=0の場合の表1に基づいた出力波形データを、WD−
7は波形選択データW,こ7の場合の表1に基づいた出
力波形データを示す。表1は波形メモリ7の内容の1例
を示したものである。Sn (n=0, 1, 2, 3, 4...) represents the number of cycles, and WD-0 in the waveform data column is the waveform selection data W,
= 0, the output waveform data based on Table 1 is converted to WD-
7 shows waveform selection data W, output waveform data based on Table 1 in this case. Table 1 shows an example of the contents of the waveform memory 7.
初期状態のときの周波数データDをD=080血とし「
被加算データCはC=0000日であると仮定しよう。
末尾の日はla隼であることを表わす。サィクルS〇に
おいて、波形選択データは岬であるから、波形メモリの
アドレス上位3ビットは000であり、C=000皿で
あるから、ラッチ6から出力される波形メモリのアドレ
ス上位5ビットはoooooとなり、よって波形メモ川
ま00000000すなわち00日のアドレスが指定さ
れて波形メモリより波形データ『7』が読み出される。
同様に、サイクルS,においてはW=OH、C=080
皿であるから波形メモリのアドレス上位3ビット、下位
5ビットは各々000と00001である01日のとこ
ろの波形データ『9』が読み出される。このようにして
、1サイクル毎に被加算データCに周波数データDが加
算されるから、1サイクルを終了する毎に被加算データ
Cの内容は表2に示すように変化して行く。そして波形
メモリ7には表1のごとく『0』から『7』までの7種
類の異なる波形データが記憶されているから、波形選択
データW,が0であれば、波形データは表1の上から2
段分のものが取り出され、各1サイクルの終了毎に、表
2のWD−0欄に示すごとく変化してゆく。第5図は、
機軸にサイクル回数6nを、縦軸に波形データに対応す
るアナログ量をとって、この波形データより得られる出
力波形を表わしたものである。これからW,=0の場合
にはサイン波形が得られることが判る。一方、波形選択
データW,が7であれば、表2のWD−7の欄に示すご
とく波形データが変化して行く。この様子を第5図と同
様にして表わすと、第6図に示すようなのこぎり波が得
られることが判る。このように、波形選択データW,の
値いかんによって、波形メモリ7内の波形データの選択
、従って出力波形の選択ができる。従って、波形メモリ
7に単に適当な波形データを入れておきさえすれば、ど
のような波形でも出力させることができる。次に音の三
要素のうちの周波数について考えてみよう。Assuming that the frequency data D in the initial state is D=080 blood,
Let us assume that the augend data C is C=0000 days.
The last day represents La Hayabusa. In cycle S〇, the waveform selection data is Cape, so the upper 3 bits of the waveform memory address are 000, and since C=000, the upper 5 bits of the waveform memory address output from latch 6 are ooooo. Therefore, the address of the waveform memo 00000000, ie, day 00, is specified, and waveform data "7" is read from the waveform memory.
Similarly, in cycle S, W=OH, C=080
Since it is a plate, the upper 3 bits and lower 5 bits of the address of the waveform memory are 000 and 00001, respectively, and waveform data ``9'' on day 01 is read out. In this way, since the frequency data D is added to the augend data C every cycle, the content of the augend data C changes as shown in Table 2 every time one cycle is completed. Since the waveform memory 7 stores seven different types of waveform data from "0" to "7" as shown in Table 1, if the waveform selection data W, is 0, the waveform data shown in Table 1 is From 2
The number of stages is taken out, and changes as shown in the WD-0 column of Table 2 at the end of each cycle. Figure 5 shows
The output waveform obtained from this waveform data is expressed by taking the number of cycles 6n on the axis and the analog amount corresponding to the waveform data on the vertical axis. It can be seen from this that a sine waveform is obtained when W,=0. On the other hand, if the waveform selection data W, is 7, the waveform data changes as shown in the column WD-7 of Table 2. If this situation is represented in the same manner as in FIG. 5, it will be seen that a sawtooth wave as shown in FIG. 6 is obtained. In this way, depending on the value of the waveform selection data W, it is possible to select the waveform data in the waveform memory 7 and therefore the output waveform. Therefore, by simply storing appropriate waveform data in the waveform memory 7, any waveform can be output. Next, let's consider frequency, one of the three elements of sound.
表2で被加算データCの値に注目すると、初期状態鮫o
の時のCの値とS狐の時のCの値が等しくなっている。
これはCの値がSの)ら20のサイクル後に初期状態と
同じ1こなり波形メモリ7のアドレスが初めの状態に戻
ったことを意味するから、この20サイクル間に1波長
が出力されることになる。そこでこの1波長に対応する
区間を「1周期」と定義する。本実施例では被加算デー
タCの値が1000岬だけ増加する間が1周期になる。
ただしこの1周期分の波形を得るのに必要なサイクル数
は周波数データDの値によって変化する。すなわち、波
形データの謙出アドレス指定周期が短かければ1周期分
の波形を得るのに多くのサイクル数を必要とし、長けれ
ば少しのサイクル数で1周期分の波形が得られる。1周
期する間に生ずるサイクル数をNsとし、周波数データ
の値をひとすれば、NS=三等四 (4桁例)
NS=四篭曲導 く5桁の例)
1サイクルにかかる時間をP、1周期にかかる時間をT
とするとTs=Ns・tS
1周期に1波長出力されるので、出力波形の周波数をF
oとするとF。Paying attention to the value of the augend data C in Table 2, the initial state shark o
The value of C at the time of S fox is equal to the value of C at the time of S fox.
This means that after 20 cycles since the value of C is S, the address of the waveform memory 7 returns to the initial state, which is the same as the initial state, so one wavelength is output during these 20 cycles. It turns out. Therefore, the section corresponding to this one wavelength is defined as "one period". In this embodiment, one cycle is the period during which the value of the augend data C increases by 1000 capes.
However, the number of cycles required to obtain one cycle of the waveform varies depending on the value of the frequency data D. That is, if the waveform data addressing period is short, a large number of cycles are required to obtain one period of the waveform, and if it is long, one period of the waveform can be obtained with a small number of cycles. Let Ns be the number of cycles that occur during one cycle, and if the value of the frequency data is equal, then NS = 3-digit 4 (4-digit example) NS = 4-digit 5-digit example) The time required for 1 cycle is P. , the time taken for one cycle is T
Then, Ts=Ns・tS Since one wavelength is output in one period, the frequency of the output waveform is F
If o is F.
=ミニN;tStS考。帆 ・‐‐‐‐‐【1’ここ
でtsは同期信号SSによって決まる定数であるから、
周波数Foは周波数データの値〇によって決定される。
このことは、出力波形の周波数が周波数データ○の値し
、かんによって任意に設定できることを示している。表
2においては1サイクル毎に波形データが変化しており
、従って表2は上述の出力周波数が最も高い場合の例示
になっている。= Mini N; tStS consideration. Sails ・----[1'Here, ts is a constant determined by the synchronization signal SS, so
The frequency Fo is determined by the value 〇 of the frequency data.
This shows that the frequency of the output waveform is the value of the frequency data ○, and can be set arbitrarily. In Table 2, the waveform data changes every cycle, so Table 2 is an example of the case where the above-mentioned output frequency is the highest.
しかしながらもし1サイクルの終了時に、被加算データ
Cの内容が小さく、それゆえ被加算データCの上位5ビ
ットの内容に変化がない場合には、波形メモリ7から出
力される波形データも変化しない。それゆえ被加算デー
タCの上位5ビットの内容が変化するまで、幾サイクル
の時間が経過し(多重読みされ)、それだけ出力周波数
が低くなってくる訳である。ところで1サイクルにかか
る時間tsを同様に周波数で表わしFTとすると、上記
m式は次のようになる。However, if at the end of one cycle, the content of the augend data C is small and therefore the content of the upper 5 bits of the augend data C does not change, the waveform data output from the waveform memory 7 also does not change. Therefore, until the contents of the upper five bits of the augend data C change, a number of cycles pass (multiple reading is performed), and the output frequency becomes lower accordingly. By the way, if the time ts required for one cycle is similarly expressed as a frequency and expressed as FT, then the above formula m becomes as follows.
F。F.
=FT‐市廉戸 ……■従ってD′/1000
0日をFTとFoの分周比として見ると、本回路はFT
を分周する分周比が可変の分周装置として機能している
ことが判る。= FT-Ichirento...■Therefore, D'/1000
If we look at the 0th day as the frequency division ratio of FT and Fo, this circuit is FT
It can be seen that the frequency dividing device functions as a frequency dividing device with a variable frequency dividing ratio.
すでに述べた説明から明らかなように「本実施例におい
ては、3種の異なる波形を発生させるために、1サイク
ルの間に3組のデータ群に対して順次計算処理が行われ
ており、周期信号SSのアドレスt=0〜4で第1群、
t=5〜9で第2群、そしてt=A〜Fで第3群の処理
が、同一の回路を時分割で作動させることで行われる。As is clear from the above explanation, ``In this embodiment, in order to generate three different waveforms, calculation processing is performed sequentially on three data groups during one cycle. The first group at address t=0 to 4 of signal SS,
The processing of the second group at t=5 to 9 and the processing of the third group at t=A to F are performed by operating the same circuit in a time-sharing manner.
そのため出力波形も第1、第2、第3群の計算処理に応
じたアドレス波形データに基づくアナログ出力がそれぞ
れ時分割で出力される。従って例えば、第1群の処理で
第6図のサイン波形21が第2群の処理で第5図と同じ
サイン波形ではあるが、周波数が1/2の波形22が、
そして第3群の処理で第6図ののこぎり波形23が得ら
れるとすると、全体として得られる出力波形は、第7図
に示すように、これらを合成したものとなる。この場合
、第7図に見られるように、1つの群から他の群の処理
に切換わった際、スイッチング信号成分が波形上に現わ
れる。しかし1サイクルに要する時間には第3図の示す
ように10.67仏sであり、スイッチング信号の周波
数Fsは人の可聴周波数の最高値よりも非常に高くなっ
ている。このため、第7図の波形を音として聞いた場合
、スイッチング信号成分は聞こえず、波形の平均値とし
て、すなわち各群の処理に基づく出力波形をアナログ的
に加算したものと同じに聞こえ、例えばビデオゲ−ム等
においてバックグラウンド音にゲームプレイ音を重ねる
ことが可能となる。以上、第1図及び第4図の実施例に
つき、出力波形の周波数、形状、振幅がどのように設定
されるかを説明した。Therefore, as for the output waveforms, analog outputs based on address waveform data corresponding to the calculation processing of the first, second, and third groups are respectively output in a time-division manner. Therefore, for example, the sine waveform 21 in FIG. 6 in the first group processing is the same sine waveform as in FIG. 5 in the second group processing, but the waveform 22 with a frequency of 1/2 is
If the sawtooth waveform 23 shown in FIG. 6 is obtained by the processing of the third group, the output waveform obtained as a whole is a combination of these waveforms as shown in FIG. In this case, as shown in FIG. 7, when switching from one group to another, a switching signal component appears on the waveform. However, as shown in FIG. 3, the time required for one cycle is 10.67 seconds, and the frequency Fs of the switching signal is much higher than the highest human audible frequency. Therefore, when listening to the waveform in Fig. 7 as sound, the switching signal component is not audible, and it is heard as the average value of the waveform, that is, the same as the analog summation of the output waveforms based on the processing of each group, for example. It becomes possible to superimpose game play sound on background sound in video games and the like. The manner in which the frequency, shape, and amplitude of the output waveform are set in the embodiments shown in FIGS. 1 and 4 has been described above.
しかし本発明はこれに限定されるものではなく本発明の
精神の範囲内で種々の変更、修正が可能である。例えば
、第2図に示したデータ構成は一例であって制御信号発
生回路11からの制御信号CSの発生タイミングを変え
ることにより、各データ○,C,A,Wのビット数を任
意に変更することができる。However, the present invention is not limited thereto, and various changes and modifications can be made within the spirit of the present invention. For example, the data configuration shown in FIG. 2 is an example, and by changing the timing of generation of the control signal CS from the control signal generation circuit 11, the number of bits of each data ○, C, A, and W can be arbitrarily changed. be able to.
また1桁を4ビットとしたのも使用したICとの関係で
そうしたにすぎない。すなわちデータ構成は周波数、波
形形状及び振幅の各設定値において必要とされる精度及
び分解能に合せて任意に変更し得る。例えばデータ○,
Cのビット数を増加すれば周波数の分解能が上がり、デ
ータAのビット数を増やせば振幅の分解能が上がる。ま
た被加算データCより取り出して波形メモリ7のアドレ
スに加えているデータのビット数と波形メモリ7の出力
のビット数を増やすことによって波形の近似精度が上が
るのである。1組のデータ群によって1つの音が出せる
ので、データ群の数いかんによって同時に出させる音の
数も変化する。Also, the reason why one digit was set to 4 bits was done simply because of the IC used. That is, the data configuration can be arbitrarily changed according to the required accuracy and resolution in each set value of frequency, waveform shape, and amplitude. For example, data ○,
Increasing the number of bits of data C increases the frequency resolution, and increasing the number of bits of data A increases the amplitude resolution. Furthermore, by increasing the number of bits of the data extracted from the augend data C and added to the address of the waveform memory 7 and the number of bits of the output of the waveform memory 7, the accuracy of waveform approximation is improved. Since one sound can be produced by one data group, the number of sounds produced at the same time changes depending on the number of data groups.
必要とされる音の数だけのデータ群を用意すればよい。
本発明の任意波形発生回路は、データ群を1組だけ設け
た場合には、同一回路で周波数、波形形状及び振幅の異
なる任意の波形を得ることができ、従って色々異なった
音を発生させたりあるいはすでに述べたように分周装置
として使用することもできる。It is sufficient to prepare as many data groups as the number of sounds required.
The arbitrary waveform generation circuit of the present invention can generate arbitrary waveforms with different frequencies, waveform shapes, and amplitudes using the same circuit when only one data group is provided, and therefore can generate various different sounds. Alternatively, as already mentioned, it can be used as a frequency divider.
またデータ群を複数組設けた場合には、同一回路で複数
の前記波形等の組合わせができ、従って更に複雑な音を
同時に出力することができる。Furthermore, when a plurality of data groups are provided, a plurality of the waveforms, etc. can be combined using the same circuit, and therefore more complex sounds can be output simultaneously.
例えばビデオゲーム機械のスクリーンに映っている移動
体の駆動音を発生させながら、更に必要に応じて得点音
を発生させることが容易に実表できる。しかもデータ群
を1組又は複数組とするいずれの構成にした場合にも、
共通して言えることは、異なった音又は複数の音が同時
に出せるようにしても部品の点数増加がないこと、そし
て量産あるいはIC化に通した回路であるというとであ
る。For example, while generating the driving sound of a moving object displayed on the screen of a video game machine, it is easily possible to generate score sounds as needed. Moreover, regardless of whether the data group is configured as one set or multiple sets,
What they have in common is that there is no increase in the number of parts even if different sounds or multiple sounds can be produced simultaneously, and that the circuits can be mass-produced or integrated into ICs.
上記実施例における分周比が可変の分周装置の部分は、
第8図あるいは第9図のような回路によっても実現し得
る。第8図はしートマルチプラィャ分周器として使用し
た回路である。The part of the frequency divider with variable frequency division ratio in the above embodiment is as follows:
It can also be realized by a circuit as shown in FIG. 8 or 9. FIG. 8 shows a circuit used as a root multiplier frequency divider.
第8図でラッチ30はしートZマルチプライヤ31のレ
ートインプットデータDRを保持している。ラッチ32
は波形選択データは保持し波形メモリ33の上位アドレ
スを供V給している。ラツチ34は振幅データを保持し
ている。波形メモリ33は波形データを記憶している。
カウンタ35はしートマルチプライヤの出力信号をカウ
ントして波形メモリ33の下位アドレスを供給する。D
/Aコンバータ36はデジタル信号をアナログ信号に変
換する。今、レートマルチプラィャ31のビット数を1
ビット、ラッチ30とデータDRのビット数を11ビッ
ト、カウンタCTのビット数を5ビットとし、レートマ
ルチプラィヤのクロツク信号の周波数をFT、レートマ
ルチブラィャ31の出力信号の周波数をFR、アナログ
出力信号の周波数をFoとすれば、レートマルチプライ
ヤ31は11ビットであるかりDR
FR=FT・諭面
カウンタ35は5ビットであるから
F。In FIG. 8, the latch 30 holds the rate input data DR of the seat Z multiplier 31. latch 32
holds the waveform selection data and supplies the upper address of the waveform memory 33. Latch 34 holds amplitude data. The waveform memory 33 stores waveform data.
The counter 35 counts the output signal of the root multiplier and supplies the lower address of the waveform memory 33. D
/A converter 36 converts the digital signal into an analog signal. Now, set the number of bits of rate multiplier 31 to 1.
The number of bits, latch 30 and data DR is 11 bits, the number of bits of counter CT is 5 bits, the frequency of the clock signal of the rate multiplier is FT, and the frequency of the output signal of the rate multiplier 31 is FR. , if the frequency of the analog output signal is Fo, the rate multiplier 31 is 11 bits and the DRFR=FT/monitoring counter 35 is 5 bits.
赤・FRよつて
DR .・・…【31Fo=F
T・苅両面この【3}式から、分周比FR,を求めてみ
るとDR .・・・・・
【41FR・=loooOHの分周器として働いており
、任意の周波数を設定できることが分る。Red/FR Yotsute DR. ...[31Fo=F
From this formula [3}, the frequency division ratio FR is determined as DR.・・・・・・
[41FR·=loooOH] It works as a frequency divider, and it can be seen that any frequency can be set.
第9図はプログラマブル・デバィダを使用した回路例で
ある。FIG. 9 is an example of a circuit using a programmable divider.
この回路は、第8図のレートマルチプライヤ31がプロ
グラマブルデバイダ37になっている他は第8図と同様
とすれば、同様にしてFR及びFoは・
FR:FT●前両コ戊
F。If this circuit is the same as that in FIG. 8 except that the rate multiplier 31 in FIG. 8 is replaced by a programmable divider 37, FR and Fo are similarly set.
=赤・FRである。= Red/FR.
よって1 1 .....・【5
)F。Therefore, 1 1. .. .. .. ..・[5
)F.
=FT凧・凧耳この(5}式から分周比FR2を求める
と.1 1 ...・・柵FR2
=凧風瓦の分周器として働いている。=FT kite/kite ears Calculate the frequency division ratio FR2 from this formula (5): 1 1 ......Fence FR2
=Works as a frequency divider for kite-style tiles.
これは‘4}式とは形が異なっているが、分周比の値の
範囲を比較してみると次のようになる。ラツチ30のデ
ータDRは11ビットであるから雌≦DR≦7FFHで
あり、その筋4’式より濁嵐≦FR,≦2益‘6’式よ
り
姉嵐≦FR2≦寂
となり、分周比の値の範囲は同じになっている。This has a different form from formula '4}, but if we compare the ranges of the division ratio values, we get the following. Since the data DR of the latch 30 is 11 bits, female ≦ DR ≦ 7 FFH. Accordingly, according to the formula 4', Makiarashi ≦ FR, ≦ 2 benefits, and from the formula ``6'', it becomes Sister Arashi ≦ FR2 ≦ , and the frequency division ratio. The value range is the same.
すなわち、第9図でも第8図の回路と同じ範囲の周波数
を設定することができるのである。以上のように分周比
可変の分周装置は、レートマルチプライヤかプログラマ
フル・デバイダによっても形成され得るものである。In other words, it is possible to set frequencies in the same range in the circuit shown in FIG. 9 as in the circuit shown in FIG. As described above, the frequency dividing device having a variable frequency division ratio can be formed by a rate multiplier or a programmable divider.
ただしプログラマブル・デバイダあるいはレートマルチ
プライヤを用いて時分割波形を出力させるには、プログ
ラマブル・デバイダあるいはレートマルチプライヤを複
数個用いて並列動作させ、それぞれの出力をマルチプレ
クサを通して時分割に切換えて、波形メモ川こ供v給す
る必要がある。以上の実施例においては、振幅制御をも
できる回路構成を例示したが、実際上は、波形発生回路
としては周波数と波形形状の制御だけでほとんど十分で
あり、従って振幅制御は必ずしも必要ではない。However, to output a time-division waveform using a programmable divider or rate multiplier, use multiple programmable dividers or rate multipliers to operate in parallel, switch the output of each to time-division through a multiplexer, and output the waveform memo. It is necessary to supply river water. In the above embodiments, a circuit configuration that can also perform amplitude control was exemplified, but in reality, control of the frequency and waveform shape is almost sufficient for a waveform generation circuit, and therefore amplitude control is not necessarily necessary.
0 本発明の上述した諸回路の用途としては、すでにい
くつか掲げたが、効果音発生回路のほかに、信号発生器
又はファンクションジェネレータとして、また音声波形
又はその類似波形を波形データに入れることによって、
疑似音声の発生回路とし、また音声波形又はその類似波
形を波形データに入れることによって、疑似音声の発生
回路として、更には複数波形を×軸、Y軸に加えること
にによってX−Y2次元ディスプレイの図形の発生回路
等への種々の応用が可能である。0 The above-mentioned circuits of the present invention can be used not only as sound effect generating circuits, but also as signal generators or function generators, and by incorporating audio waveforms or similar waveforms into waveform data. ,
It can be used as a pseudo-speech generation circuit, and by inserting audio waveforms or similar waveforms into the waveform data, it can be used as a pseudo-sound generation circuit, and it can also be used as an X-Y two-dimensional display by adding multiple waveforms to the x and y axes. Various applications are possible, such as graphic generation circuits.
表1 表2Table 1 Table 2
第1図は本発明の任意波形発生回路の−実施例を示すブ
ロック図、第2図はそのデータレジスタ及び累算器のデ
ータの構成例を示す図、第3図は同期信号及び制御信号
を例示した図、第4図は、第1図の実施例の具体的回路
を示す図、第5図及び第6図は得られる出力波をそれぞ
れ例示した図、第7図は時分割で得られる3種類波形の
合成を示した図、第8図及び第9図は第1図の分周比可
変の分周装置部分の変形例をそれぞれ示す図である。
1,2……マルチプレクサ、3……データレジスタ、4
・・・・・・累算器、5…・・・加算器、6・・・・・
・ラッチ、7・・・・・・波形メモリ、8,9・・・・
・・ラッチ、10・・・・・・D/Aコンバータ、11
・・・・・・制御信号発生装置、D・・・・・・周波数
データ、C・・・・・・被加算データ、A・・・・・・
振幅データ、W・・・・・・波形選択デ−夕。
第1図第2図
第3図
第5図
第4図
第6図
第7図
第8図
第9図FIG. 1 is a block diagram showing an embodiment of the arbitrary waveform generating circuit of the present invention, FIG. 2 is a diagram showing an example of the data structure of the data register and accumulator, and FIG. The illustrated diagrams, FIG. 4, are diagrams showing a specific circuit of the embodiment of FIG. 1, FIGS. 5 and 6 are diagrams illustrating the output waves obtained, respectively, and FIG. 7 is a diagram showing the output waves obtained by time division. FIGS. 8 and 9, which show the synthesis of three types of waveforms, are diagrams each showing a modification of the frequency dividing device portion of FIG. 1 with a variable frequency division ratio. 1, 2...Multiplexer, 3...Data register, 4
...Accumulator, 5...Adder, 6...
・Latch, 7... Waveform memory, 8, 9...
...Latch, 10...D/A converter, 11
...Control signal generator, D...Frequency data, C...Augend data, A...
Amplitude data, W...Waveform selection data. Figure 1 Figure 2 Figure 3 Figure 5 Figure 4 Figure 6 Figure 7 Figure 8 Figure 9
Claims (1)
リと、該波形メモリの波形データを選択する波形選択デ
ータと各選択された波形データの読出周波数を設定する
分周比データとを別個に波形メモリに供給する波形選択
及び分周比設定回路と、波形メモリの出力をアナログ信
号に変換する回路と、各部を制御する制御信号発生回路
と、を含み、前記分周比データは入力された周波数デー
タ及び初期位相データの両者に基づいて波形メモリの選
択された波形データ内での読出アドレス指定周期を定め
るとともに、前記波形メモリのデータ読出サイクルが時
分割され、複数の異なる波形を出力することを特徴とす
る任意波形発生回路。1. A waveform memory that stores and holds multiple types of different waveform data, waveform selection data that selects waveform data in the waveform memory, and frequency division ratio data that sets the read frequency of each selected waveform data. The frequency division ratio data includes a waveform selection and frequency division ratio setting circuit that supplies the input frequency data to the input frequency data, a circuit that converts the output of the waveform memory into an analog signal, and a control signal generation circuit that controls each part. and initial phase data to determine a read addressing cycle within the selected waveform data of the waveform memory, and the data read cycle of the waveform memory is time-divided to output a plurality of different waveforms. Arbitrary waveform generation circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55103233A JPS6014368B2 (en) | 1980-07-28 | 1980-07-28 | Arbitrary waveform generation circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55103233A JPS6014368B2 (en) | 1980-07-28 | 1980-07-28 | Arbitrary waveform generation circuit |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59054072A Division JPS6089226A (en) | 1984-03-19 | 1984-03-19 | Generating circuit of optional waveform |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5727321A JPS5727321A (en) | 1982-02-13 |
| JPS6014368B2 true JPS6014368B2 (en) | 1985-04-12 |
Family
ID=14348732
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55103233A Expired JPS6014368B2 (en) | 1980-07-28 | 1980-07-28 | Arbitrary waveform generation circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6014368B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5985527A (en) * | 1982-11-08 | 1984-05-17 | Nec Corp | Timing generating circuit |
| JPS6049421A (en) * | 1983-08-30 | 1985-03-18 | Fujitsu Ltd | Generating system of timing pulse |
| JPH07502151A (en) * | 1991-06-25 | 1995-03-02 | オーストラリア国 | Arbitrary waveform generator structure |
| JP4964116B2 (en) * | 2007-12-27 | 2012-06-27 | 宇部テクノエンジ株式会社 | Link housing structure of mold clamping device and method of manufacturing ring gear used therefor |
-
1980
- 1980-07-28 JP JP55103233A patent/JPS6014368B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5727321A (en) | 1982-02-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5029120A (en) | Electrical wavefrom generator means and methods | |
| JPH0192821A (en) | Digital frequency synthesizer | |
| JPS5840593A (en) | Electronic musical instrument | |
| GB2093319A (en) | Character and graphic display device | |
| JPS6194136A (en) | Digital signal processor | |
| JPS6014368B2 (en) | Arbitrary waveform generation circuit | |
| JPH04229703A (en) | Method for generating phase correlation waveform | |
| JPS5851307B2 (en) | Hakei Hatsei Souchi | |
| US6965909B2 (en) | Time-division type matrix calculator | |
| GB2201316A (en) | Special effect apparatus for video signal | |
| JPS6253849B2 (en) | ||
| US4773022A (en) | Electrical waveform generator means and methods | |
| JPS5895790A (en) | Musical sound generator | |
| US4461200A (en) | Electronic musical instrument | |
| WO1986004702A1 (en) | Electrical waveform generator means and methods | |
| JPH03269583A (en) | Electronic musical instrument | |
| JPS61260295A (en) | Electronic musical instrument | |
| CN1489131B (en) | Musical sound synthesis device and method | |
| JP3536426B2 (en) | Waveform generator | |
| CN1138425C (en) | Tone generator for electronic exchanger | |
| JPS61196297A (en) | Musical sound generator | |
| US4186635A (en) | Electronic musical instrument | |
| JP2949764B2 (en) | Signal generation circuit | |
| JPS63303392A (en) | Display device | |
| JPS61227424A (en) | Waveform generator for NMR-CT equipment |