JPH0440116A - Linear division method - Google Patents
Linear division methodInfo
- Publication number
- JPH0440116A JPH0440116A JP2147801A JP14780190A JPH0440116A JP H0440116 A JPH0440116 A JP H0440116A JP 2147801 A JP2147801 A JP 2147801A JP 14780190 A JP14780190 A JP 14780190A JP H0440116 A JPH0440116 A JP H0440116A
- Authority
- JP
- Japan
- Prior art keywords
- frequency
- data
- division ratio
- clock
- frequency division
- 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
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明は周波数を直線的に分周する方法に関するもので
モータの速度制御などに利用される。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a method for linearly dividing a frequency, and is used for controlling the speed of a motor.
従来の技術
周波数を直線的に分周するものとしてはバイナリ−レー
トマルチプライヤ−(以下BRMという)がある。これ
は周波数を間引(ことにより分周するものである。3ビ
ットBRMの例を第3図に示す。この例であれば3ビツ
トの分周比で指定されたパルスの数を3ビツトのフルス
ケールつまり8個ごとに出力することになる分周比3ビ
ツトの値がOから7のときのパルスの間引く様子を第4
図に示す。出力パルスは原発振のパルスから不要なパル
スを除いたものとなり、各々のパルスは原発振をクロッ
クとみなしたときそれに同期したものとなっている。A conventional technology that linearly divides a frequency is a binary rate multiplier (hereinafter referred to as BRM). This thins out (or divides) the frequency. An example of a 3-bit BRM is shown in Figure 3. In this example, the number of pulses specified by a 3-bit frequency division ratio is The fourth example shows how pulses are thinned out when the value of the 3-bit frequency division ratio that is output at full scale, that is, every 8 pulses, is from O to 7.
As shown in the figure. The output pulse is the original oscillation pulse minus unnecessary pulses, and each pulse is synchronized with the original oscillation when it is regarded as a clock.
第3図は3ビツトの例であるが分周比がもっと大きい場
合でも同じである。このとき、分周比は必ず2進数であ
ることが条件になっている。Although FIG. 3 shows an example of 3 bits, the same applies even if the frequency division ratio is larger. At this time, the condition is that the frequency division ratio must always be a binary number.
実際のICは1個で6ビツトの分周比が設定できるもの
が一般的であり、6ビツト以上のものはこれをカスケー
ドに接続する。このIC利用によると分周比は6ビツト
、12ビツトというように6ビツトの倍数である。実際
の応用に当たっては必要な最高周波数を水晶発振子等で
作りこれを原理波数とし、必要な分周比を満足するビッ
ト数によりICの数を決定し、この分周比を2進数にて
マイクロコンピュータ等により決定することによリ、任
意の分局比の周波数を得る。Generally, a single actual IC can set a 6-bit frequency division ratio, and those with 6 bits or more are connected in cascade. When this IC is used, the frequency division ratio is a multiple of 6 bits, such as 6 bits or 12 bits. In actual applications, the highest frequency required is created using a crystal oscillator, etc., and this is used as the principle wave number.The number of ICs is determined by the number of bits that satisfies the required frequency division ratio, and this frequency division ratio is expressed as a binary number. By determining the frequency using a computer or the like, a frequency with an arbitrary division ratio can be obtained.
発明が解決しようとする課題
しかしながらこのようなりRMでは、第4図に示すよう
に原発振と同じ周波数を出力することができず、又分周
比も固定しており目的に応じて柔軟に設定できない等の
問題があった。さらに間引きのパターンはIC内部で決
まっておりきめ細かい周波数の設定が無理であった。Problems to be Solved by the Invention However, with this kind of RM, as shown in Figure 4, it is not possible to output the same frequency as the original oscillation, and the frequency division ratio is also fixed, so it can be set flexibly depending on the purpose. There were problems such as not being able to do so. Furthermore, the thinning pattern is determined within the IC, making it impossible to set the frequency in detail.
BRMは独立したICであるのでマイクロコンピュータ
で、応用するときインターフェース回路として少なくと
も数チップの部品を必要とする。Since the BRM is an independent IC, it is a microcomputer and requires at least several chip components as an interface circuit when applied.
このようなハード回路は仕様の変更があるとき回路変更
を伴うのが一般的である。Such hardware circuits generally undergo circuit changes when specifications change.
本発明はこのような問題点に鑑みなされたもので、原発
振までの周波数設定が可能でかつソフトウェアで処理可
能な柔軟性の高いリニア分周の方法を提供するものであ
る。The present invention has been made in view of these problems, and provides a highly flexible linear frequency division method that allows frequency setting up to the original oscillation and can be processed by software.
課題を解決するための手段
本発明のリニア分周方法はクロック同期型シリアル通信
機能を利用するものであり、クロック周波数を原発振と
し間引きデータをメモリ上に記憶しておき、このデータ
をクロックに同期させて連続的に出力させることにより
実現するものである。Means for Solving the Problems The linear frequency division method of the present invention utilizes a clock synchronous serial communication function, in which the clock frequency is used as the source oscillation, thinned data is stored in memory, and this data is used as the clock. This is achieved by synchronizing and continuously outputting.
作用
この構成によって間引きデータをメモリ上に記憶するた
め、このデータをソフトウェアで変更することによりき
め細かい分局比の設定が可能になる。又、データをすべ
て1にすることによりクロック周波数と同じ周波数を出
力することができる。Effect: With this configuration, the thinned-out data is stored in the memory, and by changing this data with software, it becomes possible to set the division ratio in detail. Furthermore, by setting all data to 1, it is possible to output the same frequency as the clock frequency.
実施例
本発明の実施例を第1図、第2図に示す。クロック同期
シリアル通信はパラレルデータをクロック周波数に同期
させて1ビツトずつ出力するものである。第1図におい
て1は出力するデータつまり間引きデータである。2は
シリアルデータ出力、3はクロック出力である。この図
において間引きデータを連続的に出力するようなプログ
ラムを作ってお(。このプログラムは、例えば割込み処
理等にて自動的に処理できるようにしておく。Embodiment An embodiment of the present invention is shown in FIGS. 1 and 2. Clock synchronous serial communication is a method of synchronizing parallel data with a clock frequency and outputting it one bit at a time. In FIG. 1, 1 is data to be output, that is, thinned-out data. 2 is a serial data output, and 3 is a clock output. In this figure, a program has been created that continuously outputs thinned-out data (this program is designed to be automatically processed, for example, by interrupt processing, etc.).
このような構成にしておいて第2図に示すような分周比
に応じたデータを間引きデータとして与えることにより
任意の周波数の設定が可能になる。With such a configuration, by providing data as thinned-out data according to the frequency division ratio as shown in FIG. 2, it becomes possible to set an arbitrary frequency.
従来の3ビットBRMではO/8から7/8までの分周
比の設定しかできないが本発明では0/8から8/8ま
でのフルレンジの指定ができる。In the conventional 3-bit BRM, only the frequency division ratio can be set from 0/8 to 7/8, but in the present invention, the full range from 0/8 to 8/8 can be specified.
本実施例では3ビツトの分周比として説明したがもっと
多い分周比でも同じである。例えば、4ビツトの場合で
あれば16ビツトの間引きデータとなりメモリ上に2バ
イトのデータを用意すればよい。このデータを交互に出
力すれば4ビツトの分局が可能になる。同じように5ビ
ツトのとき4バイト、6ビツトのとき8バイト、7ビツ
トのとき16バイトとなり、これらのデータを連続的に
出力することにより任意の分局比の周波数が簡単に得ら
れる。Although the present embodiment has been explained using a 3-bit frequency division ratio, the same applies to a larger frequency division ratio. For example, in the case of 4 bits, it becomes 16 bits of thinned data, and it is sufficient to prepare 2 bytes of data on the memory. By outputting this data alternately, 4-bit branching becomes possible. Similarly, 5 bits requires 4 bytes, 6 bits requires 8 bytes, and 7 bits requires 16 bytes, and by continuously outputting these data, a frequency with an arbitrary division ratio can be easily obtained.
発明の効果
以上のように本発明はメモリ上に設けられた間引きデー
タをクロック同期シリアル通信に出力することにより任
意の分周された周波数を得るものであり、lチップマイ
クロコンピュータ等でソフトウェア処理にて簡単に実現
できるという特徴をもつ。又、分周比を決定する間引き
データはメモリ上にあるため、このデータを変更するこ
とによりきめ細かい分局制御が可能となる。さらに従来
は困難であった原発振と同じ周波数の設定が可能である
。Effects of the Invention As described above, the present invention obtains an arbitrary divided frequency by outputting the thinned-out data provided on the memory to clock synchronous serial communication. It has the characteristic that it can be easily realized. Furthermore, since the thinning data that determines the frequency division ratio is stored in the memory, fine-grained station division control is possible by changing this data. Furthermore, it is possible to set the same frequency as the original oscillation, which was difficult in the past.
第1図は本発明の一実施例におけるデータ処理1・・・
・・・間引きデータ、2・・・・・・シリアル出力、3
・・・・・・クロック出力。
代理人の氏名 弁理士 粟野重孝 ほか1名第
図
第
図
第
図
第
図FIG. 1 shows data processing 1 in an embodiment of the present invention...
... Thinned data, 2 ... Serial output, 3
・・・・・・Clock output. Name of agent: Patent attorney Shigetaka Awano and one other person
Claims (1)
ピュータセットにおいて、クロック周波数を原発振とし
、メモリ上に連続的に記憶されたデータを間引きデータ
とし、このデータをクロックに同期させて連続的に出力
することにより直線的に周波数を分周することを特徴と
するリニア分周方法。In a microcomputer set with a clock-synchronous serial output function, the clock frequency is used as the source oscillation, the data continuously stored in the memory is used as thinned-out data, and this data is synchronized with the clock and output continuously. A linear frequency division method that is characterized by dividing the frequency linearly.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2147801A JPH0440116A (en) | 1990-06-06 | 1990-06-06 | Linear division method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2147801A JPH0440116A (en) | 1990-06-06 | 1990-06-06 | Linear division method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0440116A true JPH0440116A (en) | 1992-02-10 |
Family
ID=15438523
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2147801A Pending JPH0440116A (en) | 1990-06-06 | 1990-06-06 | Linear division method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0440116A (en) |
-
1990
- 1990-06-06 JP JP2147801A patent/JPH0440116A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4845727A (en) | Divider circuit | |
| CA2131104A1 (en) | Signal Processing Device Having PLL Circuits | |
| US4241408A (en) | High resolution fractional divider | |
| US5249214A (en) | Low skew CMOS clock divider | |
| US4722070A (en) | Multiple oscillation switching circuit | |
| JPH0440116A (en) | Linear division method | |
| US4763297A (en) | Monolithic integrated digital circuit including an internal clock generator and circuitry for processing multi-digit signals | |
| US5130921A (en) | Digital controller for scanned actual condition signals | |
| GB2119979A (en) | Frequency divider | |
| US4818894A (en) | Method and apparatus for obtaining high frequency resolution of a low frequency signal | |
| JPH03163908A (en) | Clock signal delay circuit | |
| JPS6379420A (en) | Odd number frequency divider | |
| JPH02280263A (en) | Microprocessor | |
| SU1166104A1 (en) | Device for calculating values of sine-cosine dependensies | |
| JPS60123931A (en) | Arithmetic circuit | |
| JP2606262B2 (en) | Pulse generation circuit | |
| JPS6137819B2 (en) | ||
| JPS61177492A (en) | Multiplier for reverberator | |
| JPH03131120A (en) | Non integer frequency divider | |
| JPH087644B2 (en) | Counter output transfer method | |
| JPS62152029A (en) | clock control circuit | |
| JPH05100767A (en) | Clock signal circuit | |
| JPS6160456B2 (en) | ||
| JPH02171812A (en) | Processor acceleration circuit without wait state function | |
| JPH02308616A (en) | Edge detection circuit |