JPH03148911A - Signal generation equipment and blowing device using signal generation equipment - Google Patents

Signal generation equipment and blowing device using signal generation equipment

Info

Publication number
JPH03148911A
JPH03148911A JP28657689A JP28657689A JPH03148911A JP H03148911 A JPH03148911 A JP H03148911A JP 28657689 A JP28657689 A JP 28657689A JP 28657689 A JP28657689 A JP 28657689A JP H03148911 A JPH03148911 A JP H03148911A
Authority
JP
Japan
Prior art keywords
signal
routine
pulse width
sine wave
microcomputer
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
JP28657689A
Other languages
Japanese (ja)
Inventor
Mitsuharu Nakakuki
中久喜 光晴
Tomoyori Shimabukuro
島袋 朝順
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP28657689A priority Critical patent/JPH03148911A/en
Publication of JPH03148911A publication Critical patent/JPH03148911A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the cooling air of a capacity corresponding to a temperature by storing a routine inverting the output potential of an output port and a table specifying the relation of an interruption time with respect to the number of execution times for the routine in correspondence with the period and the waveform of a signal. CONSTITUTION:A temperature detection circuit 14 outputs a voltage signal which changes with the resistance change of a temperature detection element 13 to the input port of a micro computer 15. The rectangular pulse signal P of a pulse width which periodically changes in accordance with interruption time is outputted from the output port of the micro computer 15, and the rectangular pulse signal P is inputted to a low pass filter 22. Then, it is shaped in a sine wave signal S and is inputted to a driving circuit 21. Since the driving circuit 21 conducts a sine wave current based on the sin wave signal S, a diaphragm 17 is energized by a solenoid 20 in accordance with the sin wave current and a blower 12 blows the cooling air of the capacity corresponding to the frequency of the sine wave current to a heat sink 11.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は信号発生装置およびこの信号発生装置を用い
る送風装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a signal generator and a blower using the signal generator.

(従来の技術) オーディオアンプ等の電力増幅器(以下、アンプと称す
)は、キャビネット内にトランスおよびパワートランジ
スタ等の発熱機器が収容され、キャビネット内に熱気が
こもりやすい、このため、アンプにあっては、キャビネ
ット内のヒートシンク等に冷却風を吹き付ける送風機を
有し、この送ff1機をキャビネット内の温度等に応じ
マイクロコンピュータで制御する送風装置が装着される
。そして、このようなアンプ用の送風装置として、本出
願人はダイヤフラムをソレノイドにより撓ませて送風す
る送風機を有するものを先に提案している。この送風装
置は、ヒートシンク等の温度を検出する温度センサをマ
イクロコンピュータに接続し、マイクロコンピュータが
温度に応じたパルス幅変調信号(PWM信号)を出力し
、このPWM信号をフィルタ回路で正弦波信号に波形整
形して駆動回路に導き、駆動回路から正弦波電流をソレ
ノイドに通電する。
(Prior Art) Power amplifiers (hereinafter referred to as amplifiers) such as audio amplifiers house heat-generating devices such as transformers and power transistors in the cabinet, and hot air tends to get trapped inside the cabinet. The cabinet has an air blower that blows cooling air onto a heat sink or the like inside the cabinet, and is equipped with an air blower that controls this blower ff1 using a microcomputer according to the temperature inside the cabinet. As an air blower for such an amplifier, the present applicant has previously proposed an air blower that blows air by bending a diaphragm using a solenoid. This air blower connects a temperature sensor that detects the temperature of a heat sink, etc. to a microcomputer, and the microcomputer outputs a pulse width modulation signal (PWM signal) according to the temperature.This PWM signal is converted into a sine wave signal by a filter circuit. The waveform is shaped and guided to the drive circuit, and the drive circuit energizes the solenoid with a sine wave current.

(発明が解決しようとする課題) しかしながら、上述した送風装置にあっては、マイクロ
コンピュータはクロック信号を基に所定のプログラムに
従って温度に応じた制御信号を生成し、この制御信号で
ゲートを開閉してPWM信号を生成するため、上述のプ
ログラムを常時実行しなければならず、処理の高速化を
図って他のプログラム釘与える影響を小さくすることが
不可欠でコストの増大を招くという問題があった。
(Problem to be Solved by the Invention) However, in the above-mentioned blower, the microcomputer generates a control signal according to the temperature according to a predetermined program based on the clock signal, and opens and closes the gate using this control signal. In order to generate a PWM signal using a PWM signal, the above-mentioned program must be constantly executed, and it is essential to speed up the processing and reduce the influence on other programs, which leads to an increase in cost. .

この発明は、上記問題に鑑みてなされたもので、マイク
ロコンピュータが出力するPWM信号を基に所定波形の
信号を出力する信号発生装置を安価に提供し、さらに、
この信号発生装置を用いて送風装置の低コスト化をも図
ることを目的とする。
The present invention has been made in view of the above-mentioned problems, and provides an inexpensive signal generator that outputs a signal with a predetermined waveform based on a PWM signal output from a microcomputer.
It is an object of the present invention to also reduce the cost of an air blower by using this signal generator.

(課題を解決するための手段) この発明は、マイクロコンピュータから出力されるパル
ス幅が周期的に変化するパルス幅変調信号を波形整形し
、前記パルス幅の変化周期に対応した周期を有する所定
波形の信号を出力する信号発生装置にあって、前記マイ
クロコンピュータは出力ポートの出力電位を反転するル
ーチンと、ルーチンの実行回数に対する割込時間の関係
を前記信号の周期および波形に対応して規定するテーブ
ルを記憶し、このテーブルに基き定まる割込時間で前記
ルーチンをタイマ割込により実行してパルス幅変調信号
を生成することが要旨である。
(Means for Solving the Problems) The present invention waveform-shapes a pulse width modulation signal whose pulse width periodically changes, which is output from a microcomputer, to form a predetermined waveform having a period corresponding to the period of change of the pulse width. In the signal generating device that outputs a signal, the microcomputer defines a routine for inverting the output potential of an output port and a relationship between the interrupt time and the number of executions of the routine in accordance with the period and waveform of the signal. The gist is to store a table and execute the routine using a timer interrupt at an interrupt time determined based on the table to generate a pulse width modulated signal.

(作用) この発明にかかる信号発生装置にあっては、マイクロコ
ンピュータは出力ポートの電位を反転するルーチンをタ
イマ割込により実行してPWM信号を生成するため、ル
ーチンが常に実行されることが無く、他のプログラムに
与える影響が少ない。したがって、マイクロコンピュー
タの高速化を図る必要性も少く、そして、低コスト化が
図れる。そして、ルーチン実行回数に対する割込時間を
テーブルに記憶してテーブルにより定まる割込時間でル
ーチンを実行するため、PWM信号のパルス幅の変化特
性もテーブルを変えることで容易に変えられる。
(Function) In the signal generating device according to the present invention, the microcomputer executes the routine to invert the potential of the output port using a timer interrupt to generate the PWM signal, so the routine is not constantly executed. , has little impact on other programs. Therefore, there is less need to increase the speed of the microcomputer, and costs can be reduced. Since the interrupt time for the number of routine executions is stored in a table and the routine is executed at the interrupt time determined by the table, the change characteristics of the pulse width of the PWM signal can also be easily changed by changing the table.

また、この信号発生装置を用いた送風装置は、信号発生
装置が安価であり、全体としても低コスト化が図れる。
Further, in a blower device using this signal generating device, the signal generating device is inexpensive, and the overall cost can be reduced.

そして、マイクロコンピュータは温度に応じてテーブル
を選択することで温度に応じた周期でパルス幅が変化す
るPWM信号を出力し、このPWM信号によって温度の
高低に応じ周波数が変化する正弦波電流を駆動回路が送
風機に通電するため、温度に応じた風量の冷却風が得ら
れる。
Then, by selecting a table according to the temperature, the microcomputer outputs a PWM signal whose pulse width changes at a cycle according to the temperature, and this PWM signal drives a sine wave current whose frequency changes according to the temperature. Since the circuit energizes the blower, a volume of cooling air corresponding to the temperature can be obtained.

(実施例) 以下、この発明の実施例を図面を参照して説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第1図から第6図はこの発明の一実施例を示し、第1図
が概略構成図、第2図が回路図、第3図が回路図、第4
図がフローチャート、第5図が特性図、第6図がタイミ
ングチャートである。
1 to 6 show an embodiment of the present invention, in which FIG. 1 is a schematic configuration diagram, FIG. 2 is a circuit diagram, FIG. 3 is a circuit diagram, and FIG.
5 is a flowchart, FIG. 5 is a characteristic diagram, and FIG. 6 is a timing chart.

この実施例は、前述したアンプの送風装置に適用した信
号発生装置を示す。
This embodiment shows a signal generating device applied to the blower device of the amplifier described above.

第1図において、11はアンプのキャビネット内に配置
されたヒートシンク、12はヒートシンク11に冷却風
を送風する送風機である。ヒートシンク11にはサーミ
スタ等の温度検出素子!3が設けられ、この温度検出素
子13が温度検出回路14を介してマイクロコンピュー
タ15の入力ポートに接続されている。送風機12は、
ケース16内にダイヤフラム17によって室16a。
In FIG. 1, reference numeral 11 indicates a heat sink disposed within the cabinet of the amplifier, and reference numeral 12 indicates a blower that blows cooling air to the heat sink 11. The heat sink 11 has a temperature detection element such as a thermistor! 3 is provided, and this temperature detection element 13 is connected to an input port of a microcomputer 15 via a temperature detection circuit 14. The blower 12 is
A chamber 16a is formed within the case 16 by a diaphragm 17.

16bが隔別され、これら室16a、16bがケース1
6に形成された送風口16cからヒートシンク11に向
かって開口している。ダイヤフラム17にはブラケット
18を介してマグネット19が固着され、このマグネッ
ト19に対向してソレノイド20が図示しない機体等に
配設されている。ソレノイド20は駆動回路21に接続
され、駆動回路21がローパスフィルタ(波形整形回路
)22を介してマイクロコンピュータ15の出力ポート
に接続されている。この送風機12は、ソレノイド20
に後述する正弦波電流が通電されてダイヤフラムエフを
図中矢印で示すように変形させ、このダイヤフラム17
の変形で送風する。なお、この実施例では温度検出素子
13および温度検出回路14は必要としないが、後述す
る他の実施例で用いるため本実施例の説明に記載する。
16b is separated, and these chambers 16a and 16b are case 1.
It opens toward the heat sink 11 from the air outlet 16c formed in the heat sink 16. A magnet 19 is fixed to the diaphragm 17 via a bracket 18, and a solenoid 20 is disposed on a body (not shown) or the like opposite the magnet 19. The solenoid 20 is connected to a drive circuit 21, and the drive circuit 21 is connected to an output port of the microcomputer 15 via a low-pass filter (waveform shaping circuit) 22. This blower 12 has a solenoid 20
A sinusoidal current, which will be described later, is applied to deform the diaphragm F as shown by the arrow in the figure, and this diaphragm 17
Air is blown by the deformation of Although the temperature detection element 13 and the temperature detection circuit 14 are not required in this embodiment, they will be described in the description of this embodiment because they will be used in other embodiments to be described later.

温度検出回路14は、第3図に示すように、抵抗Rとト
ランジスタT「とを有し、温度検出素子13の抵抗変化
にともない変化する電圧信号をマイクロコンピュータ1
5の入力ポートに出力する。ローパスフィルタ22は、
第2図に示すように、コンデンサC1抵抗Rおよびトラ
ンジスタT「を有するRC形の回路から成る。このロー
パスフィルタ22は、第5図に示すような周波数特性を
有し、マイクロコンピュータ15から出力する矩形パル
ス信号を波形整形する。この実施例では、第6図に示す
ように、マイクロコンピュータ15が矩形パルス信号P
を出力し、ローパスフィルタ22は矩形パルス信号Pを
平滑化して正弦波信号Sを出力する。駆動回路21は、
第2図に示すように、ダイオードD、抵抗Rおよびトラ
ンジスタT「を有し、ローパスフィルタ22から人力す
る正弦波信号Sに対して略相似特性の電流、すなわち正
弦波電流をソレノイド2oに通電する。マイクロコンピ
ュータ15は、A/D 変換器15 aおよび本発明の
構成としてのPWM信号発生器15bを有する。^/D
変換器15aは温度検出回路14が出力するアナログ信
号をデジタル信号に変換し、また、PWM信号発生装置
をsbは後述するルーチンの実行で矩形パルス信号を発
生して波形整形回路22に出力する。なお、このPWM
信号発生器15bはマイクロコンピュータ15の機能と
して具現化される。
The temperature detection circuit 14 includes a resistor R and a transistor T, as shown in FIG.
Output to input port 5. The low-pass filter 22 is
As shown in FIG. 2, it consists of an RC type circuit including a capacitor C1, a resistor R, and a transistor T. This low-pass filter 22 has a frequency characteristic as shown in FIG. The waveform of the rectangular pulse signal is shaped. In this embodiment, as shown in FIG.
The low-pass filter 22 smoothes the rectangular pulse signal P and outputs a sine wave signal S. The drive circuit 21 is
As shown in FIG. 2, the solenoid 2o has a diode D, a resistor R, and a transistor T, and a current having substantially similar characteristics to the sine wave signal S manually inputted from the low-pass filter 22, that is, a sine wave current, is supplied to the solenoid 2o. The microcomputer 15 has an A/D converter 15a and a PWM signal generator 15b as a configuration of the present invention.^/D
The converter 15a converts the analog signal output from the temperature detection circuit 14 into a digital signal, and the PWM signal generator sb generates a rectangular pulse signal and outputs it to the waveform shaping circuit 22 by executing a routine to be described later. Furthermore, this PWM
The signal generator 15b is implemented as a function of the microcomputer 15.

次k、この実施例の作用を説明する。Next, the operation of this embodiment will be explained.

この送風装置は、マイクロコンビエータ15において第
4図のフローチャートに示すルーチンをタイマ割込によ
って実行して矩形パルス信号Pをローパスフィルタ22
に出力し、ローパスフィルタ22が矩形パルス信号Pを
基に出力する正弦波信号Sを駆動回路21に出力する。
This air blowing device executes the routine shown in the flowchart of FIG.
The low-pass filter 22 outputs a sine wave signal S based on the rectangular pulse signal P to the drive circuit 21.

そして、駆動回路21は正弦波信号Sを基に送風機12
のソレノイドに正弦波電流を通電する。
Then, the drive circuit 21 drives the blower 12 based on the sine wave signal S.
A sinusoidal current is applied to the solenoid.

まず、矩形パルス信号Pの出力について説明する。マイ
クロコンピュータ15においては、割込時間設定用のタ
イマにより設定された時間(割込時間)が経過すると割
込が発生し、ステップPiでステップカウンタを減算処
理する。このステップカウンタは、後述するステップP
3で所定の値が設定され、このルーチンの実行毎に1を
減算する。
First, the output of the rectangular pulse signal P will be explained. In the microcomputer 15, an interrupt occurs when a time (interrupt time) set by a timer for setting an interrupt time has elapsed, and the step counter is decremented in step Pi. This step counter corresponds to step P, which will be described later.
A predetermined value is set at 3, and 1 is subtracted each time this routine is executed.

次のステップP2では、ステップカウンタが0か否か、
すなわち、1ループの処理の処理が終了したか否かを判
断する。このステップP2では、ステップカウンタが0
と判断されるとステップP3、ステップカウンタが0で
ないと判断されるとステップP4の処理を実行する。こ
こで、1ループとは正弦波信号Sの1周期すなわち矩形
信号Pのパルス幅の1変化周期である。
In the next step P2, whether the step counter is 0 or not,
That is, it is determined whether or not one loop of processing has been completed. In this step P2, the step counter is 0.
If it is determined that the step counter is not 0, the process of step P4 is executed. Here, one loop is one cycle of the sine wave signal S, that is, one cycle of change in the pulse width of the rectangular signal P.

ステップP3においては、所定の値をステップカウンタ
に設定する。このステップカウンタの設定値(本実施例
では102)はローパスフィルタ22により整形して得
られる正弦波信号S(希望信号)の波形および周期に応
じて決定され、ステップカウンタに設定された回数のル
ーチンの実行で希望信号の−周期(1ループ)を得るた
めに必要な矩形パルス信号Pが得られる。ステップP4
では、データテーブルからステップカウンタの現在値(
カウント値)をアドレスとして割込時間を検索し、この
割込時間を割込時間設定用タイマに設定する。データテ
ーブルは希望信号が正弦波形であれば例えば下表に示す
ものを用い、また、希望信号が三角等の異なる波形であ
れば矩形パルス信号Pのパルス幅の時間変化率あるいは
時間変化量を異ならせた他のデータテーブルを用いる。
In step P3, a predetermined value is set in the step counter. The setting value of this step counter (102 in this embodiment) is determined according to the waveform and period of the sine wave signal S (desired signal) obtained by shaping with the low-pass filter 22, and the number of routines set in the step counter is By executing , the rectangular pulse signal P required to obtain -period (1 loop) of the desired signal is obtained. Step P4
Now, from the data table, find the current value of the step counter (
The interrupt time is searched using the count value) as the address, and the interrupt time is set in the interrupt time setting timer. If the desired signal has a sine waveform, use the data table shown below, for example. If the desired signal has a different waveform, such as a triangular one, use the data table if the time change rate or time change amount of the pulse width of the rectangular pulse signal P is different. Use other data tables that have been set.

続くステップP5において出力ポートの出力の位相(I
(/L)を反転させて割込を終了し、中断したメインプ
ログラムを実行する。この後、ステップP4により設定
された割込時間が経過すると再びメインプログラムを中
断してステップP1からの処理を行う。したがって、第
6図に示すように、マイクロコンピュータ15の出力ポ
ートからは割込時間に対応して周期的に変化するパルス
幅の矩形パルス信号Pが出力され、この矩形パルス信号
Pがローパスフィルタ22に人力して正弦波信号Sに整
形されて駆動回路21に入力する。そして、駆動回路2
1が正弦波信号Sに基づき正弦波電流を通電するため、
送風@12ばダイヤフラム17が正弦波電流に応じソレ
ノイド20により付勢されて正弦波電流の周波数等に応
じた風量の冷却風をヒートシンク11に送風する。
In the following step P5, the phase of the output of the output port (I
(/L) is reversed to end the interrupt and execute the interrupted main program. Thereafter, when the interrupt time set in step P4 has elapsed, the main program is interrupted again and the processing from step P1 is performed. Therefore, as shown in FIG. 6, the output port of the microcomputer 15 outputs a rectangular pulse signal P with a pulse width that changes periodically in accordance with the interrupt time, and this rectangular pulse signal P is passed through the low-pass filter 22. The signal is then manually shaped into a sine wave signal S and input to the drive circuit 21. And drive circuit 2
1 conducts a sinusoidal current based on the sinusoidal signal S,
The diaphragm 17 is energized by the solenoid 20 according to the sine wave current, and blows cooling air to the heat sink 11 in an amount corresponding to the frequency of the sine wave current.

上述のように、この送風装置にあっては、マイクロコン
ピュータ15は第4図に示すルーチンをタイマ割込で実
行することでパルス信号Pを生成するため、他のプログ
ラムに与える影響をきわめて小さくできる。したがって
、マイクロコンピュータ15の高速化の必要も小さく、
マイクロコンピュータ15のコストアップを防止できる
As mentioned above, in this blower device, the microcomputer 15 generates the pulse signal P by executing the routine shown in FIG. 4 using a timer interrupt, so that the influence on other programs can be minimized. . Therefore, there is little need to increase the speed of the microcomputer 15.
An increase in the cost of the microcomputer 15 can be prevented.

第7図には、この発明の他の実施例を示す。なお、上述
した実施例と同一の部分について同一の番号を付して図
示と説明を省略する。
FIG. 7 shows another embodiment of the invention. Note that the same parts as in the embodiment described above are given the same numbers, and illustration and description thereof are omitted.

この実施例では、マイクロコンピュータ15が第7図に
示すフローチャートをタイマ割込により実行して矩形パ
ルス信号Pを出力する。
In this embodiment, the microcomputer 15 executes the flowchart shown in FIG. 7 using a timer interrupt and outputs a rectangular pulse signal P.

まず、割込が発生すると、ステップPiで前述した実施
例と同様にステップカウンタから1を減算してルーチン
の実行回数を計数する。次のステップP2においては、
ステップカウンタが0か否かを判断し、また、温度検出
素子13の出力信号からヒートシンク11の温度を読み
込んで温度の高低を判別する。このステップP2では、
ステップカウンタが0でないと判断されるとステップP
4、ステップカウンタが0と判断されると温度に応じて
ステップP3(tt〜P3(n)の1つのステップP3
 (1)の処理を行う。ステップP3 (1)ではそれ
ぞれ温度に応じたカウンタ設定値f1をステップカウン
タに設定する。このカウンタ設定値fiは、希望信号の
周波数に対応しヒートシンク11の温度の高温領域で大
きくなるように設定される。
First, when an interrupt occurs, in step Pi, the number of executions of the routine is counted by subtracting 1 from the step counter as in the embodiment described above. In the next step P2,
It is determined whether the step counter is 0 or not, and the temperature of the heat sink 11 is read from the output signal of the temperature detection element 13 to determine whether the temperature is high or low. In this step P2,
If it is determined that the step counter is not 0, step P
4. When the step counter is determined to be 0, one step P3 of step P3 (tt to P3(n)) is performed depending on the temperature.
Perform the process (1). In step P3 (1), a counter setting value f1 corresponding to each temperature is set in the step counter. This counter setting value fi corresponds to the frequency of the desired signal and is set to increase in the high temperature range of the heat sink 11.

ステップP4においては、カウンタ設定値fiに基づき
選択されるデータテーブルからステップカウンタのカウ
ント値をアドレスとして割込時間を検索し、この割込時
間を割込時間設定用タイマに設定する。続いて、ステッ
プP5において前述した実施例と同様に出力ポートの位
相を反転させる。そして、この後、中断したメインプロ
グラムを実行するが、割込時間が経過すると再びステッ
プPIからの割込を行う。
In step P4, an interrupt time is searched from a data table selected based on the counter setting value fi, using the count value of the step counter as an address, and this interrupt time is set in an interrupt time setting timer. Subsequently, in step P5, the phase of the output port is inverted as in the embodiment described above. Thereafter, the interrupted main program is executed, but when the interrupt time has elapsed, an interrupt is made again from step PI.

この実施例では、矩形パルス信号のパルス幅が変化する
変化周期すなわちローパスフィルタ22から出力される
正弦波信号Sの周期がステップカウンタ値fiに応じて
決定され、送風機12のソレノイド20にヒートシンク
11の高温時に高周波数の正弦波電流が通電される。し
たがって、ヒートシンク11の高温時にはヒートシンク
11に大風量の冷却風を送風でき、放熱を効果的に行な
える。
In this embodiment, the change period in which the pulse width of the rectangular pulse signal changes, that is, the period of the sine wave signal S output from the low-pass filter 22, is determined according to the step counter value fi, and the solenoid 20 of the blower 12 is connected to the heat sink 11. A high frequency sinusoidal current is applied at high temperatures. Therefore, when the heat sink 11 is at a high temperature, a large amount of cooling air can be blown to the heat sink 11, and heat can be effectively radiated.

なお、上述した各実施例では駆動対象として送風機のソ
レノイドを例示するが、モータ等の機器についても本発
明を適用できることは言うまでも無い。
In each of the embodiments described above, a solenoid of a blower is exemplified as an object to be driven, but it goes without saying that the present invention can also be applied to devices such as motors.

(発明の効果) 以上説明したように、この発明にかかる信号発生装置に
よれば、マイクロコンピュータはルーチンをタイマ割込
により実行してPWM信号を生成するため、他のプログ
ラムに大きな影舌を与えること無く PWM信号を生成
でき、マイクロコンピュータの高速化を図る必要性が小
さく低コスト化が図れる。
(Effects of the Invention) As explained above, according to the signal generating device according to the present invention, the microcomputer generates the PWM signal by executing the routine using a timer interrupt, which greatly affects other programs. PWM signals can be generated without any problems, there is no need to increase the speed of the microcomputer, and costs can be reduced.

また、この信号発生装置を用いた送風装置も、マイクロ
コンピュータの低コスト化が可能で、製造コストの低減
が図れる。
In addition, a blower device using this signal generator can also reduce the cost of a microcomputer, thereby reducing manufacturing costs.

【図面の簡単な説明】 第1図から第6図はこの発明にかかる信号発生装置の一
実施例を示し、第1図が信号発生装置を用いた送風装置
の概略構成図、第2図および第3図が回路図、第4図が
フローチャート、第5図が特性図、第6図がタイミング
チャートである。第7図はこの発明にかかる信号発生装
置の他の実施例のフローチャートである。 12・・・送風機、13・・・温度検出素子、14−・
・温度検出回路、tS−・・マイクロコンピュータ、2
0・・ツレノイド、21−・・駆動回路、22−・・ロ
ーパスフィルタ(波形整形回路)。 (タイマ割込 ) 1ステップカウンタから1を減算− 希望信号に応じた数を ステップカウンタに設定 ステップカウンタのカウント値 により次の割込時間を 決定してタイマに設定
[BRIEF DESCRIPTION OF THE DRAWINGS] FIGS. 1 to 6 show an embodiment of the signal generator according to the present invention, FIG. 1 is a schematic configuration diagram of a blower using the signal generator, FIGS. FIG. 3 is a circuit diagram, FIG. 4 is a flowchart, FIG. 5 is a characteristic diagram, and FIG. 6 is a timing chart. FIG. 7 is a flowchart of another embodiment of the signal generator according to the present invention. 12...Blower, 13...Temperature detection element, 14-...
・Temperature detection circuit, tS-...Microcomputer, 2
0...Tsurenoid, 21-...Drive circuit, 22-...Low pass filter (waveform shaping circuit). (Timer interrupt) Subtract 1 from the 1 step counter - Set the number according to the desired signal to the step counter Determine the next interrupt time based on the count value of the step counter and set it to the timer

Claims (2)

【特許請求の範囲】[Claims] (1) マイクロコンピュータから出力されるパルス幅
が周期的に変化するパルス幅変調信号を波形整形し、前
記パルス幅の変化周期に対応した周期を有する所定波形
の信号を出力する信号発生装置にあって、 前記マイクロコンピュータは出力ポートの出力電位を反
転するルーチンと、ルーチンの実行回数に対する割込時
間の関係を前記信号の周期および波形に対応して規定す
るテーブルとを記憶し、このテーブルに基き定まる割込
時間で前記ルーチンをタイマ割込により実行してパルス
幅変調信号を生成することを特徴とする信号発生装置。
(1) A signal generating device that shapes a pulse width modulated signal whose pulse width periodically changes output from a microcomputer and outputs a signal with a predetermined waveform having a period corresponding to the period of change of the pulse width. The microcomputer stores a routine for inverting the output potential of the output port, and a table that defines the relationship between the number of executions of the routine and the interrupt time in accordance with the period and waveform of the signal, and performs processing based on this table. A signal generating device characterized in that the routine is executed by a timer interrupt at a predetermined interrupt time to generate a pulse width modulated signal.
(2) 温度を検出し、この温度の高低に応じ送風機の
送風能力を制御する送風装置において、出力ポートの電
位を反転するルーチンと、ルーチンの実行回数に対する
割込時間の関係を規定する複数のテーブルとを備え、前
記温度の情報が入力して温度に基づき複数のテーブルか
ら1つのテーブルを選択し、このテーブルに基き定まる
割込時間で前記ルーチンを実行して前記温度に応じたパ
ルス幅変調信号を出力するマイクロコンピュータと、 このマイクロコンピュータから出力されるパルス幅変調
信号を波形整形してパルス幅の変化周期と対応した周期
の正弦波信号を出力する波形整形回路と、 この波形整形回路が出力する正弦波信号に基きこの正弦
波信号と対応した周期の正弦波を前記送風機に出力する
駆動回路と、 を有することを特徴とする送風装置。
(2) In a blower device that detects temperature and controls the blowing capacity of the blower according to the temperature, a routine that inverts the potential of the output port and a plurality of routines that define the relationship between the interrupt time and the number of executions of the routine are used. a table, the temperature information is input, one table is selected from a plurality of tables based on the temperature, and the routine is executed at an interrupt time determined based on the table to perform pulse width modulation according to the temperature. A microcomputer that outputs a signal, a waveform shaping circuit that shapes a pulse width modulated signal output from the microcomputer to output a sine wave signal with a period corresponding to the pulse width change period, and this waveform shaping circuit A blower device comprising: a drive circuit that outputs a sine wave having a period corresponding to the sine wave signal to the blower based on the output sine wave signal.
JP28657689A 1989-11-02 1989-11-02 Signal generation equipment and blowing device using signal generation equipment Pending JPH03148911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28657689A JPH03148911A (en) 1989-11-02 1989-11-02 Signal generation equipment and blowing device using signal generation equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28657689A JPH03148911A (en) 1989-11-02 1989-11-02 Signal generation equipment and blowing device using signal generation equipment

Publications (1)

Publication Number Publication Date
JPH03148911A true JPH03148911A (en) 1991-06-25

Family

ID=17706208

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28657689A Pending JPH03148911A (en) 1989-11-02 1989-11-02 Signal generation equipment and blowing device using signal generation equipment

Country Status (1)

Country Link
JP (1) JPH03148911A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006299962A (en) * 2005-04-21 2006-11-02 Sony Corp Jet generating device and electronic equipment
US8907735B2 (en) 2012-05-16 2014-12-09 Silicon Touch Technology Inc. Pulse width modulation circuit and pulse width modulation signal generating method having two refresh rates
JP2016083338A (en) * 2015-03-10 2016-05-19 サミー株式会社 Game machine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60134774A (en) * 1983-12-23 1985-07-18 Honda Motor Co Ltd Inverter controller
JPS63220769A (en) * 1987-03-06 1988-09-14 Mitsubishi Electric Corp Pwm controlling circuit for inverter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60134774A (en) * 1983-12-23 1985-07-18 Honda Motor Co Ltd Inverter controller
JPS63220769A (en) * 1987-03-06 1988-09-14 Mitsubishi Electric Corp Pwm controlling circuit for inverter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006299962A (en) * 2005-04-21 2006-11-02 Sony Corp Jet generating device and electronic equipment
US8907735B2 (en) 2012-05-16 2014-12-09 Silicon Touch Technology Inc. Pulse width modulation circuit and pulse width modulation signal generating method having two refresh rates
JP2016083338A (en) * 2015-03-10 2016-05-19 サミー株式会社 Game machine

Similar Documents

Publication Publication Date Title
US4330751A (en) Programmable frequency and duty cycle tone signal generator
US4722669A (en) Fan speed controller
KR850004815A (en) Microcomputers and systems and clock pulse frequency generators
JP2007273420A (en) Temperature control device
JPH03148911A (en) Signal generation equipment and blowing device using signal generation equipment
KR920008500A (en) Pulse Width Measurement Circuit of Remote Control Signal
JPH03165620A (en) Programable square wave gene- ration device
JPH0468867B2 (en)
JPS55142675A (en) Heat sensitive recording device
JPH0293595A (en) Buzzer driving circuit
JPS62198074A (en) Heating temperature controller
KR940006610Y1 (en) Variable circuit for lagging the on-time of inverter
JPH0246208Y2 (en)
JPS5851532Y2 (en) Air conditioning control device
SU851352A1 (en) Temperature controller
Vijayakumar et al. Design and Fabrication of Automatic Fan Speed Control
KR950006383A (en) Blowing motor control device such as hot air heater
JPH01107698A (en) Control circuit for rotational temperature of fan
JPH0458756A (en) Constant current chopper driver
SU1385289A1 (en) Sensor switch
KR960005979B1 (en) Mono stable multivibrater
JPH0444986Y2 (en)
JPS6434196A (en) Frequency converter for power source of air-conditioning machine
JP2003031892A (en) Laser module temperature control circuit
JPS62135293A (en) Revolution-control dc fan