JPS61120519A - Pulse width modulating circuit - Google Patents

Pulse width modulating circuit

Info

Publication number
JPS61120519A
JPS61120519A JP24170784A JP24170784A JPS61120519A JP S61120519 A JPS61120519 A JP S61120519A JP 24170784 A JP24170784 A JP 24170784A JP 24170784 A JP24170784 A JP 24170784A JP S61120519 A JPS61120519 A JP S61120519A
Authority
JP
Japan
Prior art keywords
circuit
latch circuit
bit
data
signal
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
Application number
JP24170784A
Other languages
Japanese (ja)
Inventor
Yuji Hino
日野 裕二
Satoru Tashiro
哲 田代
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP24170784A priority Critical patent/JPS61120519A/en
Publication of JPS61120519A publication Critical patent/JPS61120519A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K7/00Modulating pulses with a continuously-variable modulating signal
    • H03K7/08Duration or width modulation ; Duty cycle modulation

Landscapes

  • Pulse Circuits (AREA)

Abstract

PURPOSE:To supply a transfer signal LD automatically without executing any instruction by providing a logical circuit which is actuated with the write signal of the latch circuit of the 1st stage and generates a transfer signal by ANDing a signal of every period of the latch circuit of the 2nd stage. CONSTITUTION:When one is set in a logical circuit 16, the contents of an 8-bit latch circuit 1 and a 6-bit latch circuit 2 are transferred to a 14-bit PWM circuit 3 and when zero is set, data is not transferred even in one period of a 14-bit binary counter 5. A write signal WR2 which sets zero and one makes it possible to judge whether data set in the 8-bit latch circuit 1 and 6-bit latch circuit 6 is set in the 14-bit PWM circuit 3 or not. A transfer signal LD is controlled by a logical circuit 6, so even if a noise generated in the 14-bit PWM circuit 3 during the setting of the data, there is no influence after the alteration of the data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、マイクロコンピュータ(以下マイコンとい
う)等忙より制御されるパルス幅変調(以下PWMとい
う)回路、*に8ビット1千ツブマイコン忙搭載される
14ビットのPWM回路に関するものであるう 〔従来の技術〕 第2図は従来のPWM回路用のデータセント装置のブロ
ック図で、1はマイコンのデータバス忙接続される8ビ
ット、ラッチ回路、2は同じくデータバスに接続される
6ビットのラッチ回路で、これらで第1段目のラッチ回
路が構成される。3は前記8ビットラツチ回路1.6ビ
ットラッチ回路2よりデータがセットされる14ビット
PWM回路で、第2段目のラッチ回路であり、4はデー
タバスである。書込み信号WR,,wl、はそれぞれ8
ビットのデータバス4から8ビットラツチ回路1.6ビ
ットラッチ回路2Vcデータtセットするためのもので
あり、転送信号LDは8ビットラフチ回路1,6ビント
ラツチ回路2より14ビットPWM回路3へ14ビット
のデータを転送するとぎに盛装な転送信号である。
[Detailed Description of the Invention] [Field of Industrial Application] This invention is a pulse width modulation (hereinafter referred to as PWM) circuit controlled by a microcomputer (hereinafter referred to as a microcomputer), etc., which is equipped with an 8-bit 1,000-tube microcomputer. [Prior Art] Figure 2 is a block diagram of a conventional data center device for a PWM circuit, in which 1 is an 8-bit latch circuit connected to a microcomputer's data bus. , 2 are 6-bit latch circuits that are also connected to the data bus, and these constitute the first stage latch circuit. 3 is a 14-bit PWM circuit to which data is set by the 8-bit latch circuit 1 and 6-bit latch circuit 2, which is the second stage latch circuit, and 4 is a data bus. The write signals WR,,wl, are each 8
This is for setting the 8-bit latch circuit 1, 6-bit latch circuit 2Vc data t from the bit data bus 4, and the transfer signal LD is to transfer 14-bit data from the 8-bit latch circuit 1, 6-bin latch circuit 2 to the 14-bit PWM circuit 3. It is a fancy transfer signal when it is transferred.

従来の14ビン)KおけるPWM回路は前記のように構
成され、14ビットPWM回路3&tデータZセントす
る場合、データバス4が8ビットなので、一度に14ビ
ットのデータlセットで蛍ない。そこで、8ビット、6
ビットと二度に分けてセットしようとするが、その間、
14ビットPwM回路3から出力されるデータはエラー
となる。
The conventional 14-bin PWM circuit is configured as described above, and when the 14-bit PWM circuit 3 & t data Z cents, the data bus 4 is 8 bits, so it is not necessary to set 14 bits of data at a time. Therefore, 8 bits, 6
I try to set the bit twice, but in the meantime,
The data output from the 14-bit PwM circuit 3 results in an error.

従って、中間に8ビットラッチ回路1,6ビットラツチ
回路2の第1段目のラッチ回路ケ設け、転送信号LDで
14ビットのデータを一度に、第2段目のラッチ回路で
ある14ピツ)PWM回路3にセントする。従来、この
転送信号LDはプログラムによるある命令の実行で供給
されるものであった。
Therefore, the first stage latch circuit of 8-bit latch circuit 1 and 6-bit latch circuit 2 is provided in the middle, and the transfer signal LD is used to transfer 14 bits of data at once to the second stage latch circuit (14 bits) PWM. Cent to circuit 3. Conventionally, this transfer signal LD was supplied when a certain command was executed by a program.

〔発明が解決しようとする問題点〕 前記のような従来のPWM回路では、8ビットラッチ回
路1,6ビットラッチ回路2から14ビン)PWM回路
3へのデータセントのための転送信号LDの供給がプロ
グラムによるある命令の実行で行われていたためにプロ
グラムの大きさ、複雑さンもたらし、駆動のための準備
が複雑になるという問題点があった。
[Problems to be Solved by the Invention] In the conventional PWM circuit as described above, the transfer signal LD is not supplied from the 8-bit latch circuit 1 and the 6-bit latch circuit 2 to the 14-bin PWM circuit 3 for data entry. Since this is done by executing certain instructions by a program, there are problems in that the program becomes large and complex, and the preparation for driving becomes complicated.

この発明は、かかる問題点を解決するためになされたも
ので、命令の実行を行わなくても自動的に転送信号LD
′lk供給できるPWM回路ン得ることを目的とする。
The present invention was made to solve this problem, and the transfer signal LD is automatically output without executing a command.
The purpose is to obtain a PWM circuit that can supply 1k.

〔問題点を解決するための手段〕[Means for solving problems]

この発明忙係るPWM回路は、第1段目のラッチ回路の
書込み信号により起動し、第2段目のラッチ回路の一周
期毎の信号のアンドにより転送信号ン作る論理回路を設
けたものである。
The PWM circuit according to the present invention is provided with a logic circuit that is activated by the write signal of the first stage latch circuit and generates a transfer signal by ANDing the signals of the second stage latch circuit every cycle. .

〔作用〕[Effect]

この発明忙おいては、第1段目のラッチ回路へデータバ
スから複数回に分けてデータの書込みが行われるときの
書込み信号により論理回路が起動し、第2段目のラッチ
回路の一周期毎の信号とのアンドにより転送信号が作ら
れるので、転送信号が自動的に供給されろ。
In this invention, the logic circuit is activated by a write signal when data is written to the first stage latch circuit from the data bus in multiple batches, and one cycle of the second stage latch circuit is activated. The transfer signal is created by ANDing with each signal, so the transfer signal is automatically supplied.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示すブロック図で、1〜
4は第2図の従来例と同じものt示し、5は14ビット
“2進カワンタ、U1〜U14  はこの14ビット2
進カワンタ5から出力される14個の信号で、14ピツ
)PWM回路3にも供給されている。Qz+はこれらの
信号U 1 ’−014をアンド処理した信号で、14
ビット2進カワンタ5の一周期と周期している。UOは
前記14ビットPWM回路3のクロック信号、6はこの
発明の主たる要素であるクラグン形成する論理回路であ
り。
FIG. 1 is a block diagram showing one embodiment of the present invention.
4 indicates the same as the conventional example in FIG.
The 14 signals output from the digitizer 5 are also supplied to the PWM circuit 3. Qz+ is a signal obtained by AND processing these signals U 1 '-014, and 14
It is periodic with one period of the bit binary quanta 5. UO is a clock signal for the 14-bit PWM circuit 3, and 6 is a logic circuit forming a clock, which is the main element of the present invention.

内部のデータバスへの出力も行っている。WR。It also outputs to the internal data bus. W.R.

は6ビットラッチ回路2tセットし、かつ前記論理回路
By1)−セントする書込み信号、7は前記論理回路6
の出力と信号Qz+より転送信号LDY出力するアンド
回路、8もアンド回路で、信号Qz+とクロック信号U
Oとのアンドをとる。
is a write signal that sets the 6-bit latch circuit 2t and sends the logic circuit By1), and 7 indicates the logic circuit 6.
8 is also an AND circuit, which outputs the transfer signal LDY from the output of the signal Qz+ and the clock signal U.
Take the AND with O.

前記のように構成された第1図においては、8ビットの
データバス4から8ビットラッチ回路1゜6ビットラッ
チ回路2へ書込み信号WR,,WR1Y用いてデータt
それぞれセットする。その後、8ビットラッチ回路1,
6ビットラッチ回路2にラッチされているデータを14
ビン)PWM回路3Vlセットするが、そのときに供給
される転送信号LDY制御しているのが論理回路6であ
る。この論理回路6のセットの場合は6ビットラッチ回
路2にデータlセットするときの書込′み信号WR2に
より、リセットの場合は14ビット2進カワンク5の一
周期毎の信号Qz+とクロック信号UOでそれぞれ実行
される。論理回路6VC“ビがセントされているとき、
8ビットラッチ回路1.6ビットラッチ回路2の内容が
14ピツ)PWM回路3に転送され、′0″がセットさ
れている時は14ビット2進カクンタ5の一周期であっ
ても、データの転送はされない。つまり転送信号LDは
供給されない。この論理回路6VC対しての”0″ I
IIP+のセントラする書込み信号WR,は6ビットラ
ッチ回路20余りの上位ビン)Y使用しているので、8
ビットラッチ回路1.6ビントラツチ回路2Vcセント
されたデータが14ビットPWM回路3にセットされ工
いるかどうか判断できる。また、転送信号LDは論理回
路6によって制御されているので、データセットの際、
14ピツ)PWM回路3に雑音が出たとしても、データ
が変更された後で影響は少ない。
In FIG. 1 configured as described above, data t is transferred from the 8-bit data bus 4 to the 8-bit latch circuit 1 and the 6-bit latch circuit 2 using write signals WR, WR1Y.
Set each. After that, 8-bit latch circuit 1,
The data latched in the 6-bit latch circuit 2 is
Bin) The PWM circuit 3Vl is set, and the logic circuit 6 controls the transfer signal LDY supplied at that time. In the case of setting the logic circuit 6, the write signal WR2 is used when setting data l to the 6-bit latch circuit 2, and in the case of resetting, the signal Qz+ and the clock signal UO are generated every cycle of the 14-bit binary counter 5. are executed respectively. When the logic circuit 6VC “B” is sent,
When the contents of the 8-bit latch circuit 1 and 6-bit latch circuit 2 are transferred to the 14-bit PWM circuit 3 and '0'' is set, even if it is one period of the 14-bit binary counter 5, the data is There is no transfer. That is, the transfer signal LD is not supplied. "0" I for this logic circuit 6VC
The write signal WR, which is centered on IIP+, uses a 6-bit latch circuit (over 20 upper bins) Y, so 8
Bit latch circuit 1. 6-bin latch circuit 2Vc It can be determined whether the sent data is set in the 14-bit PWM circuit 3 or not. Furthermore, since the transfer signal LD is controlled by the logic circuit 6, when setting data,
14) Even if noise appears in the PWM circuit 3, it will have little effect after the data has been changed.

なお、上記実施例では14ビン)PWM回路3について
特に説明を行ったが、この1式の他のビット長のPWM
回路についても同様の回路ン使用することができる。
In the above embodiment, the 14-bin PWM circuit 3 has been particularly explained, but the PWM circuit 3 with other bit lengths in this set
A similar circuit can be used for the circuit.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明したとおり、第1段目のラッチ回路
忙対するデータバスからの書込み信号忙より起動する論
理回路を設け、第1段目のラッチ回路から第2段目のラ
ッチ回路への転送信号t。
As explained above, the present invention includes a logic circuit activated by a write signal from a data bus corresponding to a first stage latch circuit, and transfers data from the first stage latch circuit to the second stage latch circuit. signal t.

前記論理回路の出力信号と第2段目のラッチ回路の一周
期毎の信号とのアンドによって作るように1′□   
  したので、プログラム忙よって転送のための信号を
出す手間が省け、ソフトフェアの処理が簡単になる効果
がある。
1' □
This saves the trouble of issuing signals for transfer when the program is busy, and has the effect of simplifying software processing.

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

第1図はこの発明の一実施例によるLD信号を自動的に
供給する回路ケ有するPWM回路用のデータセント装置
のブロック図、第2図は従来のPWM回路用のデータセ
ット装置のブロック図である。 図において、1は8ビットラッチ回路、2は6ビットラ
ッチ回路、3は14ビットPWM回路。 4はデータ/(ス、5は14ビット2進カクンタ、6は
論理回路、7.8はアンド回路である。 なお、各図中同一符号は同一または相当部分を示す。 代理人 大岩 増 堆   (外2名〕第2図 手続補正書(自発) 1.事件の表示   特願昭59−241707号2、
発明の名称   パルス幅変調回路3、補正をする者 事件との関係 特許出願人 住 所    東京都千代田区丸の内二丁目2番3号名
 称  (601)三菱電機株式会社5、補正の対象 明細書の発明の詳細な説明の欄および図面63補正の内
容 (1)明細書第5頁4行の「5は14ビット2進カウン
タ」を、「5は入力クロックUOとする14ビット2進
カウンタ」と補正する。 (2)同じく第5頁10行の「−周期と周期している。 」を、「−周期を周期としている。」と補正する。 (3)同じく第5頁12行の「フラグ」を、「フラグ」
と補正する。 (4)同じく第5頁14〜15行の「論理回路6をセッ
トする書込み信号、」を、「論理回路6の出力Qをセッ
トする書込み信号、」と補正する。 (5)同じく第5頁15〜16行の「論理回路6の出力
と」を、「論理回路6の出力Qと」と補正する。 (6)同じく第5頁18行の「アンドをとる。」の次に
下記を挿入する。 「なお、出力Qは出力Qの反転信号である。」(7)同
じく第6頁7行の「論理回路6のセット」を、「論理回
路6の出力Qのセット」と補正する。 (8)図面第1図を別紙のように補正する。 以上
FIG. 1 is a block diagram of a data center device for a PWM circuit having a circuit that automatically supplies an LD signal according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional data set device for a PWM circuit. be. In the figure, 1 is an 8-bit latch circuit, 2 is a 6-bit latch circuit, and 3 is a 14-bit PWM circuit. 4 is data/(s), 5 is a 14-bit binary kakunta, 6 is a logic circuit, and 7.8 is an AND circuit. In addition, the same symbols in each figure indicate the same or equivalent parts. Agent Masutai Oiwa ( 2 others] Figure 2 Procedural Amendment (Voluntary) 1. Indication of the case Patent Application No. 59-241707 2,
Title of the invention Pulse width modulation circuit 3, Relationship to the case of the person making the amendment Patent applicant address 2-2-3 Marunouchi, Chiyoda-ku, Tokyo Name (601) Mitsubishi Electric Corporation 5, Specification subject to amendment Detailed Description of the Invention Column and Drawing 63 Amendment Contents (1) "5 is a 14-bit binary counter" on page 5, line 4 of the specification is changed to "5 is a 14-bit binary counter that uses the input clock UO." to correct. (2) Similarly, on page 5, line 10, "-periodically." is corrected to "-periodically." (3) Also, replace “flag” on page 5, line 12 with “flag”
and correct it. (4) Similarly, on page 5, lines 14 and 15, "write signal that sets the logic circuit 6" is corrected to "write signal that sets the output Q of the logic circuit 6." (5) Similarly, on page 5, lines 15-16, "output of logic circuit 6" is corrected to "output Q of logic circuit 6". (6) Similarly, on page 5, line 18, insert the following after "Take an AND.""The output Q is an inverted signal of the output Q." (7) Similarly, "Set of logic circuit 6" on page 6, line 7 is corrected to "Set of output Q of logic circuit 6." (8) Amend Figure 1 of the drawing as shown in the attached sheet. that's all

Claims (2)

【特許請求の範囲】[Claims] (1)出力設定データのビット数がバスラインのビット
数よりも多く、ラッチ回路を第1段目と第2段目の2段
構成にし、前記第1段目のラッチ回路に前記バスライン
から複数回に分けてデータの書込みを行い、全ビット数
が前記第1段目のラッチ回路に書込まれてから転送信号
により前記第1段目のラッチ回路から第2段目のラッチ
回路に前記データの転送を行うパルス幅変調回路におい
て、前記第1段目のラッチ回路の書込み信号により起動
し前記第2段目のラッチ回路の一周期毎の信号とのアン
ドにより前記転送信号を作る論理回路を設けたことを特
徴とするパルス幅変調回路。
(1) The number of bits of the output setting data is greater than the number of bits of the bus line, the latch circuit is configured in two stages, the first stage and the second stage, and the latch circuit of the first stage is connected to the bus line. Data is written multiple times, and after the total number of bits is written to the first stage latch circuit, the data is written from the first stage latch circuit to the second stage latch circuit using a transfer signal. In a pulse width modulation circuit that transfers data, a logic circuit that is activated by a write signal of the first stage latch circuit and generates the transfer signal by ANDing with a signal of each cycle of the second stage latch circuit. A pulse width modulation circuit characterized by being provided with.
(2)第1段目のラッチ回路は8ビットと6ビットであ
り、第2段目のラッチ回路は14ビットであることを特
徴とする特許請求の範囲第(1)項記載のパルス幅変調
回路。
(2) The pulse width modulation according to claim (1), wherein the first stage latch circuit is 8 bits and 6 bits, and the second stage latch circuit is 14 bits. circuit.
JP24170784A 1984-11-15 1984-11-15 Pulse width modulating circuit Pending JPS61120519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24170784A JPS61120519A (en) 1984-11-15 1984-11-15 Pulse width modulating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24170784A JPS61120519A (en) 1984-11-15 1984-11-15 Pulse width modulating circuit

Publications (1)

Publication Number Publication Date
JPS61120519A true JPS61120519A (en) 1986-06-07

Family

ID=17078332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24170784A Pending JPS61120519A (en) 1984-11-15 1984-11-15 Pulse width modulating circuit

Country Status (1)

Country Link
JP (1) JPS61120519A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7638742B2 (en) 2004-07-08 2009-12-29 Tetra Laval Holdings & Finance S.A. Method and an apparatus for retrosealing of packaging containers using induction heating

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7638742B2 (en) 2004-07-08 2009-12-29 Tetra Laval Holdings & Finance S.A. Method and an apparatus for retrosealing of packaging containers using induction heating

Similar Documents

Publication Publication Date Title
US4095267A (en) Clock pulse control system for microcomputer systems
US4435761A (en) Data processing apparatus capable of transferring serial data with small power consumption
JPS6131489B2 (en)
JPS61120519A (en) Pulse width modulating circuit
JPS58129658A (en) Controller for microprogram
US4197587A (en) Correction circuit for arithmetic operations with non-hexadecimal operands in hexadecimal arithmetic units
JPH0619700B2 (en) Arithmetic unit
JPH01129316A (en) Reset device
JPS62118436A (en) Adder
JP2731025B2 (en) Display control device
JPH01201890A (en) Read only memory control circuit
JPS61130988A (en) Control for character display unit
JPH02240732A (en) Microprogram control system used in common with arithmetic order control field
JPS63629A (en) Data processing system
JPS59186018A (en) Timing generating circuit
JPS61228378A (en) Timepiece apparatus
JPS6136846A (en) Program control system
JPS60106229A (en) D/a converting circuit of digital pwm circuit
JPS62119632A (en) Multiplier
JPS62280794A (en) Control of character display
JPH03213012A (en) Timer in microcomputer
JPS62105252A (en) Abnormality detecting circuit
JPS59184951A (en) Josephson calculation processor
JPS63138475A (en) Straight line generating circuit
JPS63229538A (en) Access control system for memory element of electronic computer