JP2860817B2 - PWM controller - Google Patents

PWM controller

Info

Publication number
JP2860817B2
JP2860817B2 JP9226590A JP9226590A JP2860817B2 JP 2860817 B2 JP2860817 B2 JP 2860817B2 JP 9226590 A JP9226590 A JP 9226590A JP 9226590 A JP9226590 A JP 9226590A JP 2860817 B2 JP2860817 B2 JP 2860817B2
Authority
JP
Japan
Prior art keywords
signal
circuit
control
output
pwm
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 - Lifetime
Application number
JP9226590A
Other languages
Japanese (ja)
Other versions
JPH03290716A (en
Inventor
純一 印東
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP9226590A priority Critical patent/JP2860817B2/en
Publication of JPH03290716A publication Critical patent/JPH03290716A/en
Application granted granted Critical
Publication of JP2860817B2 publication Critical patent/JP2860817B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えば複写機、LBP(レーザビームプリン
タ)等の電源装置の駆動回路に使用されるPWM制御装置
に係り、特にCPUと同一チップ上にLSIとして構成する場
合に好適なPWM制御装置に関するものである。
The present invention relates to a PWM control device used in a drive circuit of a power supply device such as a copying machine and an LBP (laser beam printer), and particularly relates to the same chip as a CPU. The present invention relates to a PWM control device suitable for being configured as an LSI above.

〔従来の技術〕[Conventional technology]

第4図はこの種の従来のPWM(パルス幅変調)制御装
置の構成を示すブロック図である。同図において、1は
アップダウンカウンタコントロールブロックであり、こ
のブロック中に存在するアップダウンカウンタ(以下U/
Dカウンタと称す)のカウンタ出力値は、信号線2を通
じてダウンカウンタ3のデータ入力端子に入力される。
このダウンカウンタ3のカウンタ出力値は、信号線4を
通じてダウンカウント値判定回路5に入力されている。
そして、ダウンカウント値判定回路5は、上記ダウンカ
ウンタ3のカウント値及び信号線25上のデータ値に応じ
て信号線6上にデューティコントロール信号を出力する
と共に、1周期分のパルス信号出力が終了して次のパル
ス信号形成のスタートを示すロード信号を信号線10上に
出力する。
FIG. 4 is a block diagram showing the configuration of a conventional PWM (pulse width modulation) control device of this kind. In the figure, reference numeral 1 denotes an up / down counter control block, and an up / down counter (hereinafter referred to as U /
The counter output value of the “D counter” is input to the data input terminal of the down counter 3 through the signal line 2.
The counter output value of the down counter 3 is input to a down count value determination circuit 5 through a signal line 4.
The down-count value determination circuit 5 outputs a duty control signal on the signal line 6 in accordance with the count value of the down counter 3 and the data value on the signal line 25, and ends the output of the pulse signal for one cycle. Then, a load signal indicating the start of the next pulse signal formation is output on the signal line 10.

上記信号線6は、PWM信号を出力するPWM信号発生回路
7の波形コントロール信号入力端子に接続されており、
信号線10は、コントロールブロック1及び各回路3,7の
ロード(LOAD)信号入力端子にそれぞれ接続されてい
る。また、PWM信号発生回路7の信号出力端子は、信号
線8を通して信号出力端子9に接続されている。そし
て、上記ブロック3及び各回路5,7は同一クロック(CLO
CK)で同期がとられており、信号線23を通じて該ブロッ
ク3及び各回路5,7の各クロック信号入力端子にクロッ
クが入力されるように構成されている。
The signal line 6 is connected to a waveform control signal input terminal of a PWM signal generation circuit 7 that outputs a PWM signal.
The signal line 10 is connected to a load signal input terminal of the control block 1 and each of the circuits 3 and 7, respectively. A signal output terminal of the PWM signal generation circuit 7 is connected to a signal output terminal 9 through a signal line 8. The block 3 and the circuits 5 and 7 have the same clock (CLO).
CK), and a clock is input to the clock signal input terminals of the block 3 and the circuits 5 and 7 through the signal line 23.

また、22はCPUの信号バスラインであり、このバスラ
イン上にCPUが出力したブロック1及び判定回路5のた
めの制御データは、アドレス信号線14及びストロボ信号
線15上の信号のコントロールにより該CPUがレジスタ13
にセットすることが可能となっている。このレジスタ13
の出力側は、信号線24と25を通じてそれぞれブロック1
及び判定回路5の制御データ入力端子に接続されてい
る。また、リセット信号線16がレジスタ13のリセット信
号入力端子に接続されており、さらに電源の電圧をある
比較判別用基準電圧とその大小を比較判定した結果を伝
送するフィードバック信号線41が入力端子を経てブロッ
ク1のU/D制御入力端子に接続されている。
Reference numeral 22 denotes a CPU signal bus line. Control data for the block 1 and the determination circuit 5 output from the CPU on this bus line is controlled by controlling signals on an address signal line 14 and a strobe signal line 15. CPU registers 13
It is possible to set to. This register 13
Output side of the block 1 through the signal lines 24 and 25 respectively
And a control data input terminal of the determination circuit 5. Further, the reset signal line 16 is connected to the reset signal input terminal of the register 13, and the feedback signal line 41 for transmitting the result of comparing and judging the voltage of the power supply to a reference voltage for comparison and judgment is compared with the input terminal. The block 1 is connected to the U / D control input terminal of the block 1.

次に動作について説明する。 Next, the operation will be described.

CPUは、信号バスライン22上に第一の制御データを出
力すると同時に、信号線14,15に制御信号を送り、信号
バスライン22上のデータをレジスタ13にセットする。こ
のデータは、アップダウンカウンタコントロールブロッ
ク1により信号線24を通して取り込まれると共に、ダウ
ンカウント値判定回路5により信号線25を通して取り込
まれる。そして、ロード信号線10にロード信号が出力さ
れると、その信号の立ち下がりエッジでダウンカウンタ
3のデータ入力端子にブロック1のU/Dカウンタの出力
値がセットされる。その後、アップダウンカウンタコン
トロールブロック1は、信号線24上のデータ値及び信号
線41のフィードバック信号の状態を判定し、該アップダ
ウンカウンタコントロールブロック1の中のU/Dカウン
タの出力値を「1」増加あるいは「1」減少あるいは増
減なしとする三つの動作の中の一つの動作を選択して実
行する。またダウンカウンタ3は、上記アップダウンカ
ウンタコントロールブロック1中のU/Dカウンタの出力
値をその最大値として、信号線23上のクロックが“0"か
ら“1"に立ち上がる毎にカウント出力値を「1」ずつ減
少する。そして、ダウンカウント値判定回路5は、その
ダウンカウンタ3のカウント出力値を信号線4を通じ
て、信号線23上のクロック毎に内部に取り込み、信号線
25からのデータと比較してその一致を判定し、その判定
結果から必要なデューティのための信号を作成して信号
線6上に出力する。PWM信号発生回路7は、この信号線
6及び信号線10,23上の信号を用いて必要なデューティ
の矩形波を生成し、これを信号線8を通して出力端子9
に出力する。そして、ダウンカウント値判定回路5は、
ダウンカウンタ3がさらにカウントダウンしてそのカウ
ント出力値が零近くのある特定の値の範囲になると、信
号線10上にロード信号を出力する。
At the same time as outputting the first control data on the signal bus line 22, the CPU sends a control signal to the signal lines 14 and 15 and sets the data on the signal bus line 22 to the register 13. This data is captured by the up-down counter control block 1 through the signal line 24 and is also captured by the down-count value determination circuit 5 through the signal line 25. When the load signal is output to the load signal line 10, the output value of the U / D counter of the block 1 is set to the data input terminal of the down counter 3 at the falling edge of the signal. Thereafter, the up / down counter control block 1 determines the data value on the signal line 24 and the state of the feedback signal on the signal line 41, and sets the output value of the U / D counter in the up / down counter control block 1 to "1". One operation is selected and executed from among three operations in which “increase” or “1” decreases or does not increase or decrease. The down counter 3 uses the output value of the U / D counter in the up / down counter control block 1 as its maximum value, and counts the count output value each time the clock on the signal line 23 rises from “0” to “1”. Decrease by "1". Then, the down-count value judging circuit 5 takes in the count output value of the down-counter 3 through the signal line 4 for each clock on the signal line 23, and
The data is compared with the data from 25 to determine the match, and a signal for the required duty is created from the result of the determination and output on the signal line 6. The PWM signal generating circuit 7 generates a rectangular wave having a required duty by using the signals on the signal line 6 and the signal lines 10 and 23, and outputs the rectangular wave to the output terminal 9 through the signal line 8.
Output to Then, the down count value determination circuit 5
When the down counter 3 further counts down and its count output value falls within a certain value range near zero, it outputs a load signal on the signal line 10.

上記のような装置においては、システムをイニシャラ
イズするためにオールクリア端子に加えられるリセット
用信号は、図示のようにレジスタ13へのリセット信号線
16上に直接入力される。
In the device as described above, the reset signal applied to the all clear terminal to initialize the system is connected to the reset signal line to the register 13 as shown in the figure.
Entered directly on 16.

(発明が解決しようとする課題) ところで、上記のような従来のPWM制御装置にあって
は、システムの暴走あるいはノイズによってレジスタ13
がオールクリアされてそれまでの制御情報が消滅した
り、異常データがレジスタ13にセットされる。PWM信号
の制御が不能となり、異常信号が出力されて外部の回路
素子が破壊される場合があるという問題点があった。
(Problems to be Solved by the Invention) Incidentally, in the conventional PWM control device as described above, the register 13
Are all cleared and the control information up to that point disappears, or abnormal data is set in the register 13. There is a problem that the control of the PWM signal becomes impossible, an abnormal signal is output, and an external circuit element may be destroyed.

本発明は、このような問題点に着目してなされたもの
で、制御範囲外の異常データがレジスタにセットされて
も異常信号が出力されることはなく、外部の回路素子が
破壊されるのを防止できるPWM制御装置を得ることを目
的としている。
The present invention has been made in view of such a problem. Even if abnormal data outside the control range is set in a register, an abnormal signal is not output, and external circuit elements are destroyed. The purpose is to obtain a PWM control device that can prevent the problem.

(課題を解決するための手段) 本発明のPWM制御装置は、次のように構成したもので
ある。
(Means for Solving the Problems) The PWM control device of the present invention is configured as follows.

I.PWM信号を出力するPWM信号発生回路と、そのPWM信号
の制御データがセットされるレジスタと、このレジスタ
にセットされた制御データが制御範囲外の異常データで
ある時に前記PWM信号の出力を停止させる異常信号検出
回路を備えた。
I. A PWM signal generating circuit that outputs a PWM signal, a register in which control data of the PWM signal is set, and an output of the PWM signal when the control data set in this register is abnormal data outside the control range. An abnormal signal detection circuit for stopping is provided.

II.PWM信号を出力するPWM信号発生回路と、そのPWM信号
の制御データがセットされるレジスタと、このレジスタ
にセットされた制御データが制御範囲外の異常データで
ある時に前記PWM信号発生回路から所定パルスのPWM信号
を出力させる異常信号検出回路を備えた。
II.PWM signal generating circuit for outputting a PWM signal, a register in which control data of the PWM signal is set, and when the control data set in this register is abnormal data outside the control range, the PWM signal generating circuit An abnormal signal detection circuit for outputting a PWM signal of a predetermined pulse is provided.

〔作用〕[Action]

本発明のPWM制御装置においては、レジスタにPWM信号
の制御範囲外の異常データがセットされると、異常信号
検出回路によりPWM信号の出力が停止される。また、本
発明の他のPWM制御装置において、異常データがセット
された時に所定パルスのPWM信号が出力される。
In the PWM control device of the present invention, when abnormal data outside the control range of the PWM signal is set in the register, the output of the PWM signal is stopped by the abnormal signal detection circuit. In another PWM control device of the present invention, a PWM signal of a predetermined pulse is output when abnormal data is set.

〔実施例〕〔Example〕

第1図は本発明の一実施例によるPWM制御装置の構成
を示すブロック図であり、第4図と同一構成部分には同
一符号を付して重複説明は省略する。図中、26はレジス
タ13にセットされたPWM信号の制御データが制御範囲外
の異常データである時にPWM信号発生回路7の出力を停
止させる異常信号検出回路で、異常信号の検知以外に外
部制御信号を検知する機能を備えている。この異常信号
検出回路26は、入力端子28が信号線25に接続されてお
り、また出力端子29が信号線27を通してPWM信号発生回
路7のリセット信号入力端子33に接続されている。
FIG. 1 is a block diagram showing the configuration of a PWM control device according to an embodiment of the present invention. The same components as those in FIG. 4 are denoted by the same reference numerals, and redundant description is omitted. In the figure, reference numeral 26 denotes an abnormal signal detecting circuit for stopping the output of the PWM signal generating circuit 7 when the control data of the PWM signal set in the register 13 is abnormal data outside the control range. It has a function to detect signals. The abnormal signal detection circuit 26 has an input terminal 28 connected to the signal line 25, and an output terminal 29 connected to a reset signal input terminal 33 of the PWM signal generation circuit 7 through the signal line 27.

尚、本実施例ではCPU(不図示)とPWM制御装置とは同
一IC上に構成されているものである。
In this embodiment, the CPU (not shown) and the PWM control device are configured on the same IC.

第2図は上記異常信号検出回路26の内部構成の一例を
示す回路図である。この回路は、n入力のNOR回路30、
n入力のAND回路31及び2入力のOR回路32よりなり、n
入力のNOR回路30及びn入力のAND回路31はn本のデータ
バスラインからなる信号線25にそれぞれ接続されてい
る。また、n入力のNOR回路30とn入力のAND回路31の出
力端子は、2入力OR回路32の入力端子にそれぞれ接続さ
れ、2入力のOR回路32の出力端子は信号線27を通してPW
M信号成形回路7のリセット信号入力端子33に接続され
ている。
FIG. 2 is a circuit diagram showing an example of the internal configuration of the abnormal signal detection circuit 26. This circuit comprises an n-input NOR circuit 30,
an n-input AND circuit 31 and a two-input OR circuit 32;
The input NOR circuit 30 and the n-input AND circuit 31 are connected to a signal line 25 composed of n data bus lines. The output terminals of the n-input NOR circuit 30 and the n-input AND circuit 31 are connected to the input terminals of a two-input OR circuit 32, respectively.
It is connected to the reset signal input terminal 33 of the M signal shaping circuit 7.

次に動作について説明する。なお、システム全体の動
作については第4図の回路と同様であるので、ここでは
レジスタ13に異常信号が入力された場合について説明す
る。この場合、異常信号がレジスタ13へのリセット信号
16に加わることによって該レジスタ13のデータがオール
“0"となる場合と、CPUによるシステムが暴走し、信号
バスライン22を通じて該CPUがレジスタ13にオール“1"
のデータをセットする場合とが考えられる。前者の場合
はn入力のNOR回路30が、後者の場合はn入力のAND回路
31がそれぞれシステムの動作の異常をn本のバスライン
の信号線25を通じて検出し、その出力端子に“1"を出力
する。そして、その結果がOR回路32を通し、また信号線
27を通してPWM信号発生回路7のリセット信号入力端子3
3に加わり、出力端子9の出力値がH(高)レベルに固
定され、PWM制御のためのパルス信号が出力端子9に出
力されることが禁止される。
Next, the operation will be described. Since the operation of the entire system is the same as that of the circuit of FIG. 4, the case where an abnormal signal is input to the register 13 will be described here. In this case, the abnormal signal is the reset signal to register 13.
When the data in the register 13 becomes all “0” by adding to the register 16, the system runs out of control by the CPU, and the CPU stores all “1” in the register 13 through the signal bus line 22.
Is considered to be set. In the former case, the n-input NOR circuit 30 is used. In the latter case, the n-input AND circuit is used.
31 detects an abnormality in the operation of the system through the signal lines 25 of the n bus lines, and outputs "1" to its output terminal. Then, the result passes through the OR circuit 32 and the signal line
Reset signal input terminal 3 of PWM signal generation circuit 7 through 27
In addition to 3, the output value of the output terminal 9 is fixed at the H (high) level, and output of a pulse signal for PWM control to the output terminal 9 is prohibited.

このように、レジスタ13にPWM信号の制御範囲外の異
常データがセットされても、異常信号検出回路26の作用
により出力端子9から異常信号が出力されることはな
く、出力先の外部の回路素子が破壊されるのが防止され
る。
As described above, even if the abnormal data outside the control range of the PWM signal is set in the register 13, the abnormal signal is not output from the output terminal 9 by the operation of the abnormal signal detecting circuit 26, and the external circuit of the output destination is not output. The device is prevented from being destroyed.

第3図は本発明の他の実施例を示すブロック図であ
る。本実施例においてもCPUとPWM制御装置は同一IC上に
構成されているものである。この実施例は、上述の異常
データがレジスタ13にセットされた時にPWM信号発生回
路7から所定パルスのPWM信号を出力するようにしたも
ので、第1図の回路に2入力のAND回路34とEX−OR回路3
5が付加されている。また、EX−OR回路35の出力側には
電源回路へ連なるローパスフィルタ37と、ハイパスフィ
ルタ38,制御回路39及びCPU40が接続されている。
FIG. 3 is a block diagram showing another embodiment of the present invention. Also in this embodiment, the CPU and the PWM control device are configured on the same IC. In this embodiment, a PWM signal of a predetermined pulse is output from the PWM signal generating circuit 7 when the above-mentioned abnormal data is set in the register 13, and a two-input AND circuit 34 is added to the circuit of FIG. EX-OR circuit 3
5 is added. Further, a low-pass filter 37 connected to a power supply circuit, a high-pass filter 38, a control circuit 39, and a CPU 40 are connected to the output side of the EX-OR circuit 35.

上記2入力のAND回路34の一方の入力端子は信号線27
に接続され、他方の入力端子はクロック信号の信号線23
に接続されている。また、EX−OR回路35の一方の入力端
子はAND回路34の出力端子に信号線36を通じて接続さ
れ、他の入力端子はPWM信号発生回路7の信号が出力さ
れる信号線8に接続され、また出力端子は出力端子9に
接続されている。
One input terminal of the two-input AND circuit 34 is a signal line 27.
And the other input terminal is a signal line 23 for a clock signal.
It is connected to the. One input terminal of the EX-OR circuit 35 is connected to an output terminal of the AND circuit 34 through a signal line 36, and the other input terminal is connected to a signal line 8 from which a signal of the PWM signal generation circuit 7 is output. The output terminal is connected to the output terminal 9.

上記のように構成された回路において、異常信号検出
回路26によって信号線27に“1"が出力されると、PWM信
号発生回路7がリセットされ、その出力信号が“1"に固
定される。そして、信号線8に“1"が出力されるのと同
時に、信号線23のクロック信号がAND回路34を通して信
号線36に出力され、その結果出力端子9からその反転信
号が出力される。
In the circuit configured as described above, when "1" is output to the signal line 27 by the abnormal signal detection circuit 26, the PWM signal generation circuit 7 is reset, and the output signal is fixed to "1". At the same time that “1” is output to the signal line 8, the clock signal of the signal line 23 is output to the signal line 36 through the AND circuit 34, and as a result, the inverted signal is output from the output terminal 9.

ここで、異常信号検出回路26は、第2図に示すよう
に、上記の出力端子9の出力信号が異常となる任意の信
号線25の信号に対応した回路に適宜変更可能となってお
り、また前述のように外部制御信号を検知する機能をも
有している。そして、第3図ではこの異常信号検出回路
26を外部制御信号検出回路として用い、PWM信号の出力
端子9をローパスフィルタ37とハイパスフィルタ38の入
力側に接続している。また、このローパスフィルタ37の
出力端子は電源回路のコントロール端子に接続され、ハ
イパスフィルタ38の出力端子は制御回路39の入力端子に
接続されている。この制御回路39はCPU40の割り込み検
出端子に接続されている。
Here, as shown in FIG. 2, the abnormal signal detection circuit 26 can be appropriately changed to a circuit corresponding to a signal on an arbitrary signal line 25 in which the output signal of the output terminal 9 becomes abnormal. Further, as described above, it also has a function of detecting an external control signal. In FIG. 3, the abnormal signal detecting circuit is used.
26 is used as an external control signal detection circuit, and the output terminal 9 of the PWM signal is connected to the input sides of a low-pass filter 37 and a high-pass filter 38. The output terminal of the low-pass filter 37 is connected to the control terminal of the power supply circuit, and the output terminal of the high-pass filter 38 is connected to the input terminal of the control circuit 39. The control circuit 39 is connected to an interrupt detection terminal of the CPU 40.

通常、スイッチング電源は、第3図のPWM信号発生回
路7で生成されたPWM信号が信号線8,EX−OR回路35及び
ローパスフィルタ37を通してその電源回路に入力され
る。そして、その電源の出力電圧に応じた制御用フィー
ドバック信号が信号線36に出力され、PWM制御による電
源の制御が行われる。
Normally, the switching power supply receives the PWM signal generated by the PWM signal generation circuit 7 of FIG. 3 through the signal line 8, the EX-OR circuit 35, and the low-pass filter 37, and inputs the power supply circuit. Then, a control feedback signal corresponding to the output voltage of the power supply is output to the signal line 36, and the power supply is controlled by PWM control.

上記電源の制御動作については周知であるので省略す
るが、上述の条件下でCPU40が電源動作を停止させ、あ
る一定時間後電源制御から他の制御に制御を切り換える
場合には、CPU40は信号バスライン22を通じて外部制御
信号が検知可能なデータをレジスタ13にセットする。そ
して、異常信号検出回路26はそれを検出すると、信号線
27への出力を“1"にすることにより、信号線23上のクロ
ックが2入力のAND回路34,信号線36及びEX−OR回路35を
通じて出力端子9に出力される。このクロック信号は、
ハイパスフィルタ38をそのまま通過し、制御回路39のク
ロック信号入力端子に入力される。この時、制御回路39
にタイマ手段などを入れておけば、それによって、ある
一定時間後該制御回路39がCPU40に割り込みをかけ、別
の制御動作を開始するためのトリガをかけることが可能
となる。また、上記クロック信号はローパスフィルタ37
を通過できないため、その出力はL(低レベル)とな
り、電源回路の動作は停止する。
Although the control operation of the power supply is well known, the description thereof will be omitted.However, when the CPU 40 stops the power supply operation under the above-described conditions and switches the control from the power supply control to another control after a certain time, the CPU 40 uses Data detectable by the external control signal is set in the register 13 through the line 22. Then, when the abnormal signal detection circuit 26 detects this, the signal line
By setting the output to 27 to "1", the clock on the signal line 23 is output to the output terminal 9 through the two-input AND circuit 34, the signal line 36, and the EX-OR circuit 35. This clock signal is
The signal passes through the high-pass filter 38 as it is and is input to the clock signal input terminal of the control circuit 39. At this time, the control circuit 39
If a timer means or the like is provided in the control circuit 39, the control circuit 39 can interrupt the CPU 40 after a certain period of time, thereby triggering another control operation. Further, the clock signal is supplied to a low-pass filter 37.
, The output thereof becomes L (low level), and the operation of the power supply circuit stops.

このように、レジスタ13の制御データが制御範囲外の
データである時に異常検出回路26によって外部の電源回
路を駆動可能な高周波のパルス信号あるいはCPU40のク
ロック信号など所定パルスのPWM信号を出力させるよう
にしているので、レジスタ13上のデータがCPU40の暴走
あるいは外部のノイズによって変化しても、該PWM制御
装置の被駆動回路に入力されるパルス信号が停止した
り、その被駆動回路に応答不能の高周波パルスを与える
ことによって、該被駆動回路が異常な高電圧を出力して
回路素子が破壊されるのを防止することができる。ま
た、上記の高周波パルスを検出する回路(ハイパスフィ
ルタ38)を出力端子9に接続することで、異常状態を外
部で診断してCPU40に割り込みをかけ、CPU40を再スター
トさせるリカバリー機能も付加することが可能である。
さらに、その制御を出力端子9から出力されるクロック
信号をクロックとしてカウンタ回路等を利用することに
より行うことで、CPU40に同期した制御が容易に実行で
きる。
As described above, when the control data of the register 13 is data outside the control range, the abnormality detection circuit 26 outputs a high-frequency pulse signal capable of driving an external power supply circuit or a PWM signal of a predetermined pulse such as a clock signal of the CPU 40. Therefore, even if the data on the register 13 changes due to runaway of the CPU 40 or external noise, the pulse signal input to the driven circuit of the PWM control device stops or the driven circuit cannot respond. By applying the high-frequency pulse, it is possible to prevent the driven circuit from outputting an abnormally high voltage and destroying circuit elements. In addition, by connecting the above-described circuit for detecting a high-frequency pulse (high-pass filter 38) to the output terminal 9, a recovery function for externally diagnosing an abnormal state, interrupting the CPU 40, and restarting the CPU 40 is added. Is possible.
Furthermore, by performing the control by using a counter circuit or the like using the clock signal output from the output terminal 9 as a clock, control synchronized with the CPU 40 can be easily executed.

〔発明の効果〕 以上のように、本発明によれば、PWM信号の制御範囲
外のデータがセットされた時に、PWM信号の出力を停止
し、また所定パルスのPWM信号を出力するようにしたた
め、異常信号か出力されることはなく、外部の回路素子
が破壊されるのを防止できるという効果がある。
[Effects of the Invention] As described above, according to the present invention, when data outside the control range of the PWM signal is set, the output of the PWM signal is stopped, and the PWM signal of a predetermined pulse is output. Thus, there is an effect that an abnormal signal is not output and the external circuit element can be prevented from being destroyed.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図の異常検出回路の内部構成の一例を示す回路図、
第3図は本発明の他の実施例を示すブロック図、第4図
は従来装置の回路構成を示すブロック図である。 7……PWM信号発生回路 9……出力端子 13……レジスタ 26……異常信号検出回路
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a circuit diagram showing an example of an internal configuration of the abnormality detection circuit of FIG. 1,
FIG. 3 is a block diagram showing another embodiment of the present invention, and FIG. 4 is a block diagram showing a circuit configuration of a conventional device. 7 PWM signal generation circuit 9 Output terminal 13 Register 26 Abnormal signal detection circuit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】PWM信号を出力するPWM信号発生回路と、そ
のPWM信号の制御データがセットされるレジスタと、こ
のレジスタにセットされた制御データが制御範囲外の異
常データである時に前記PWM信号の出力を停止させる異
常信号検出回路を備えたことを特徴とするPWM制御装
置。
1. A PWM signal generating circuit for outputting a PWM signal, a register in which control data of the PWM signal is set, and the PWM signal when control data set in the register is abnormal data outside a control range. A PWM control device comprising an abnormal signal detection circuit for stopping output of the PWM signal.
【請求項2】PWM信号を出力するPWM信号発生回路と、そ
のPWM信号の制御データがセットされるレジスタと、こ
のレジスタにセットされた制御データが制御範囲外の異
常データである時に前記PWM信号発生回路から所定パル
スのPWM信号を出力させる異常信号検出回路を備えたこ
とを特徴とするPWM信号制御装置。
2. A PWM signal generating circuit for outputting a PWM signal, a register in which control data of the PWM signal is set, and the PWM signal when the control data set in the register is abnormal data outside the control range. A PWM signal control device comprising an abnormal signal detection circuit for outputting a PWM signal of a predetermined pulse from a generation circuit.
JP9226590A 1990-04-09 1990-04-09 PWM controller Expired - Lifetime JP2860817B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9226590A JP2860817B2 (en) 1990-04-09 1990-04-09 PWM controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9226590A JP2860817B2 (en) 1990-04-09 1990-04-09 PWM controller

Publications (2)

Publication Number Publication Date
JPH03290716A JPH03290716A (en) 1991-12-20
JP2860817B2 true JP2860817B2 (en) 1999-02-24

Family

ID=14049570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9226590A Expired - Lifetime JP2860817B2 (en) 1990-04-09 1990-04-09 PWM controller

Country Status (1)

Country Link
JP (1) JP2860817B2 (en)

Also Published As

Publication number Publication date
JPH03290716A (en) 1991-12-20

Similar Documents

Publication Publication Date Title
JP2885256B2 (en) Microcomputer
JP2860817B2 (en) PWM controller
JP2003060490A (en) Clock stop detecting circuit, and semiconductor device
JPH0644032B2 (en) Semiconductor integrated circuit device
JPH0755060B2 (en) Inverter retry controller
JP2563965B2 (en) Elevator control equipment
JP2000032770A (en) Inverter device
JPH0879970A (en) Power supply device
JP2024044801A (en) Microcontrollers and Electronic Circuits
JPH0334689B2 (en)
JP2891962B2 (en) Power control device
JPH0449348B2 (en)
SU1061147A1 (en) Device for switching on and restarting microprocessor on power faults
JPH10341578A (en) Arm short-circuit detecting circuit of inverter equipment
JP3147441B2 (en) Switching power supply controlling semiconductor device and switching power supply device
JP2671132B2 (en) Power driver IC
JP2834306B2 (en) Switching control circuit
JPH07129278A (en) Resetting control circuit of multiprocessor system
JPS58221423A (en) Power supply circuit
JPH0622322B2 (en) Switching transistor protection circuit
JP2526516B2 (en) Fault monitoring method
JPH0624882Y2 (en) Fail-safe circuit
JPS62163596A (en) Stepping motor driving circuit
JPS6129309B2 (en)
JPS6138500B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081211

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081211

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20091211

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20091211

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101211

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101211

Year of fee payment: 12