JPS6149686A - Control circuit of fan - Google Patents

Control circuit of fan

Info

Publication number
JPS6149686A
JPS6149686A JP59170669A JP17066984A JPS6149686A JP S6149686 A JPS6149686 A JP S6149686A JP 59170669 A JP59170669 A JP 59170669A JP 17066984 A JP17066984 A JP 17066984A JP S6149686 A JPS6149686 A JP S6149686A
Authority
JP
Japan
Prior art keywords
microcomputer
input
terminal
pressed
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.)
Granted
Application number
JP59170669A
Other languages
Japanese (ja)
Other versions
JPH0744873B2 (en
Inventor
Toshiichi Hayashi
林 敏一
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.)
Panasonic Ecology Systems Co Ltd
Original Assignee
Matsushita Seiko Co 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 Matsushita Seiko Co Ltd filed Critical Matsushita Seiko Co Ltd
Priority to JP59170669A priority Critical patent/JPH0744873B2/en
Publication of JPS6149686A publication Critical patent/JPS6149686A/en
Publication of JPH0744873B2 publication Critical patent/JPH0744873B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Positive-Displacement Air Blowers (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE:To enable to input a plurality of signals from one input terminal without increasing special part by utilizing a voltage zero cross signal for the signal input of an operation switch. CONSTITUTION:When an operation switch 15 is pressed, an input signal of a terminal 11T varies to H level. A microcomputer recognizes that the switch 15 is pressed when the H level continues stably for a time DELTAt. Then, when an operation switch 17 is pressed, an input signal of the terminal 11T at this time becomes the same as the collector of an NPN type transistor 10, as zero cross signal itself of the power source voltage. The fact that the switch 17 is pressed is recognized by the microcomputer 40 by comparing with the terminal 12T to which the power voltage zero cross signal is input.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はマイクロコンピュータ制御の扇風機の制旬11
回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention is directed to a microcomputer-controlled electric fan.
It is related to circuits.

従来例の構成とその問題点 近年マイクロコンピュータの家庭電気への応用は急速に
進みつつあり、テレビやビデオ、エアーコンディショナ
ーと言った比較的高額な商品だけでなく洗1lII轡や
掃除機と言った低価格商品にまでその応用範囲は広がっ
ている。更に最近では扇風機のような家庭電気の中でも
低コストの部類に位置付けられるものにまでマイクロコ
ンピュータが応用されて来ているのが現状である。とこ
ろが当然マイクロコンピュータにも価格的に安いもの、
高いも、のと言うものがあって一般的にはピン数(足の
数)の少ないものが安い。これは一般的にピンの数が多
いと言う事はマイクロコンピュータのアーキテクチュア
−が複雑になっており、それだけ機能的に充実されてい
ると言う事で当然集積度も高く、チップサイズも大きく
なる為に材料歩留り等の面で高価格になると言うのが一
般的であると言う小で必ずしもビン数の少ない方が安い
とは言い切れない。しかし一般的にビン数が少ない方が
安い傾向は強く、特に扇風機等の家庭電気に使用される
4ビツト1チツプマイクロコンピユータはこれが顕著で
ある0ところで一般に4ビツト1チツプマイクロコンピ
ユータと言われるマイクロコンピュータのピン数は16
ビン、18ピン。
Conventional configurations and their problems In recent years, the application of microcomputers to home appliances has been rapidly progressing, and they are being applied not only to relatively expensive products such as televisions, videos, and air conditioners, but also to washing machines and vacuum cleaners. The scope of its application is expanding to include low-priced products. Furthermore, in recent years, microcomputers have been applied to even low-cost household appliances such as electric fans. However, of course, microcomputers are also cheap.
There are some that are expensive, but generally the ones with fewer pins (number of legs) are cheaper. Generally speaking, the more pins there are, the more complex the microcomputer's architecture is, and the more functionality it has, the higher the degree of integration, and the larger the chip size. However, it cannot be said that fewer bottles are necessarily cheaper. However, in general, the smaller the number of bins, the cheaper the price, and this is especially noticeable in the case of 4-bit, 1-chip microcomputers used in home appliances such as electric fans. The number of pins is 16
Bin, 18 pin.

28ビン、42ビンのものが多く、22ピンのものも若
干ではあるが使われている。しかし大勢は16ピン、1
8ピンの低ピン数のもの、28ビンの中ピン数のもの、
42ピンの高ビン数のものに大別される。又、内蔵RO
Mの容量は低ピン数のものの大半が、o、6KB(キロ
バイラ)中ピン数のもので%KB〜1KB 、高ピン数
のもので2KB〜4KBとなっている。ところで扇風機
の場合は先程も述べたように家庭電気の中では低価格商
品である為、前記3種の4ビツト1チツプマイクロコン
ピユータの内、価格の安い低ピン数のものの使用が相応
しい事は言う迄もない。ところが一般的な使用状況はそ
のようになってないのが現状であり、その原因は扇風機
の制御方法にある。第1図に示すのは一般的な仕様のマ
イクロコンピュータ制御扇風機の操作表示板の図であっ
て100は操作表示板、101.102,103はその
中に設けられた操作ボタン、104〜11oは表示用発
光ダイオードであり、104°〜106は風量の表示を
、又、107〜110はタイマ時間の残量表示を行うも
のである。次に本操作表示板について少し説明をかえる
と、101は扇風機を停止させる為の”切″用の操作ボ
タンである。102は扇風機の風量を切替える為の操作
ボタンであり、この操作ボタン102を一回押す毎に発
光ダイオード104 、105 、106が本例の場合
104→106→106→104→・・・・・・とサイ
クリックに点灯し、扇風機のその時の風量(弱、中9強
のいずれか)を表示するのである。操作ボタン103は
扇風機の遅延動作を行わせる為のタイマの時間を設定す
るもので、この操作ボタン103を1回押す毎に発光ダ
イオード107〜109が順に点灯し、本例の場合は4
つの発光ダイオードにより構成されておりタイマ時間は
30分、1時間、2時間、4時間の4種より選ぶ事が出
来る。このように第1図の操作表示板は先程説明したよ
うに一般的な扇風機の機能をマイクロコンピュータ制御
した時の例であり操作ボタン101〜103の数は3個
、発光ダイオード104〜11oの数は7個であり入出
力端子の占有を考えると計10個である。ところでマイ
クロコンピュータを動作させる為には電源が必要であり
電源のプラス側、マイナス側に少なくとも各1本、計2
本の端子が必要である。更にマイクロコンピュータには
ROMに書込まれているプログラムを0番地より正確に
スタートさせる為のリセット端子も必要な端子である。
Most of them are 28-bin or 42-bin, and 22-pin ones are also used in some cases. However, most people have 16 pins, 1
Low pin count of 8 pins, medium pin count of 28 pins,
It is roughly divided into 42-pin high-bin number types. Also, built-in RO
The capacity of M is mostly o, 6KB (kilobyra) for low pin counts, %KB to 1KB for medium pin counts, and 2KB to 4KB for high pin counts. By the way, in the case of an electric fan, as mentioned earlier, it is a low-priced product among home appliances, so of the three types of 4-bit 1-chip microcomputers mentioned above, it is appropriate to use a low-priced one with a low pin count. Not until now. However, the current situation is that this is not the case in general usage, and the reason for this is the method of controlling the electric fan. What is shown in FIG. 1 is a diagram of the operation display board of a microcomputer-controlled electric fan with general specifications, in which 100 is the operation display board, 101, 102, 103 are operation buttons provided therein, and 104 to 11o are Light-emitting diodes for display, 104° to 106 display the air volume, and 107 to 110 display the remaining time of the timer. Next, to explain the operation display board a little differently, reference numeral 101 is an "off" operation button for stopping the electric fan. Reference numeral 102 is an operation button for switching the air volume of the electric fan, and each time this operation button 102 is pressed, the light emitting diodes 104, 105, 106 are activated in this example, 104→106→106→104→... It lights up cyclically and displays the fan's current airflow rate (either low or medium-9 high). The operation button 103 is used to set the time of a timer for delaying the operation of the electric fan.Each time the operation button 103 is pressed, the light emitting diodes 107 to 109 light up in order.
The timer time can be selected from four types: 30 minutes, 1 hour, 2 hours, and 4 hours. As described above, the operation display board in Fig. 1 is an example of microcomputer-controlled functions of a general electric fan, and the number of operation buttons 101 to 103 is three and the number of light emitting diodes 104 to 11o. There are seven, and considering the occupation of input/output terminals, there are ten in total. By the way, in order to operate a microcomputer, a power supply is required, and at least two wires are needed, one each on the positive and negative sides of the power supply.
A book terminal is required. Furthermore, the microcomputer also requires a reset terminal for starting the program written in the ROM more accurately than address 0.

又、マイクロコンピュータは種々の内部操作を時間的な
タイミングをとりながら行う必要がある為、動作の基準
となる最小単位の時間を作り出すクロック発振を行わせ
る端子も1〜2本必要である。これら電源端子、リセッ
ト端子、クロック発振端子の計4〜5本の端子(ビン)
はマイクロコンピュータにとっては必要なものであるが
使用する側から見れば全く他の用途には使えないもので
ある(以後このような端子を説明上、固定端子と称する
。)。更にマイクロコンピュータによってはマイクロコ
ンピュータそのものを試験する為のテスト端子が固定端
子として設けられているものも多い。ここで今迄の説明
では出て来なかった本発明の条件にある極めて短い周期
でもって扇風機のファンモータの速度を切替えると言う
動作であるが、この切替えの時に発生する電気的なノイ
ズを防止する為に必ずと言って良い程、電源電圧ゼロク
ロス信号がマイクロコンピュータに入力される。この電
源電圧ゼロクロス信号は電源の電圧波形がゼロ点を通過
した瞬間を知らせるものであり、その時にファンモータ
の速度を切替えると電気的なノイズの発生が防げるもの
で、マイクロコンピュータにはどうしてもこの信号を入
力する為の1本の入力端子が必要である。ここで少しこ
れらを整理すると、一般的な仕様の扇風機をマイクロコ
ンピュータで制御するにはマイクロコンピュータの固定
端子が4〜5本、入力端子が4本(スイッチ3本、電源
電圧ゼロクロス信号入力1本)、出力端子が11本()
1ンモータの速度切替えとして3本、速度表示用9発光
ダイオード用3本、タイマ表示用4本、ブザー用1本)
が必要であり、この中でファンモータの速度切替え用と
速度表示用発光ダイオード用は共用出来るとして両方で
3本となる。しかし第1図の例で示した扇風機の制仰方
法だと本発明の東件の極めて短い周期でもって扇風機の
ファンモータの速度を切替えると言う動作(この様な扇
風機の動作は扇風機の風を様々に変化させ、自然の風に
近い状態で送風すると言った様な制御に利用する)を選
択する操作スイッチがない為、もう1つ操作スイッチが
必要となる。
In addition, since a microcomputer must perform various internal operations in a timely manner, it also requires one or two terminals for clock oscillation, which generates the minimum unit of time that serves as a reference for operation. A total of 4 to 5 terminals (bins) including the power supply terminal, reset terminal, and clock oscillation terminal
are necessary for a microcomputer, but from the user's perspective, they cannot be used for any other purpose (hereinafter, for purposes of explanation, such terminals will be referred to as fixed terminals). Furthermore, some microcomputers are often provided with test terminals as fixed terminals for testing the microcomputer itself. Here, the operation of switching the speed of the fan motor of the electric fan in extremely short cycles, which is a condition of the present invention that has not been mentioned in the explanation so far, is to prevent the electrical noise that occurs during this switching. In order to do this, a power supply voltage zero cross signal is almost always input to the microcomputer. This power supply voltage zero cross signal notifies you of the moment when the voltage waveform of the power supply passes the zero point, and by switching the fan motor speed at that time, you can prevent the generation of electrical noise. One input terminal is required to input. To summarize them a bit, in order to control a fan with general specifications with a microcomputer, the microcomputer must have 4 to 5 fixed terminals and 4 input terminals (3 switches, 1 power supply voltage zero cross signal input). ), 11 output terminals ()
(3 for speed switching of the motor, 3 for speed display, 4 for timer display, 1 for buzzer)
Of these, three are required for both fan motor speed switching and speed display light emitting diodes, assuming they can be shared. However, in the method of controlling the electric fan shown in the example of FIG. Since there is no operation switch to select various types of wind (used for control such as blowing air in a state close to natural wind), another operation switch is required.

このような制御方法は第1図の例で示すような従来の機
械的なスイッチやタイマで構成されていた扇風機を単純
にマイクロコンピュータ化したものには必ずと言って良
い程付加されるものであり、マイクロコンピュータで制
御される扇風機の大きな特徴の1つにされているのが現
状である。ところで今迄説明して来た事を総合すると、
マイクロコアピユータで扇風機を制御する場合、固定端
子−4〜6本(多いもので5〜6本)入力端子−5本(
先程のスイッチ1つ追加)出力端子−8本 計 17〜18(多いもので18〜19本)となり現在
1チツプマイクロコンピユータで一番ピン数の少ないと
言われている1eピンのものは扇風機への応用はピン数
の少しの不足により不可能となり、18ビンであっても
固定端子の多いマイクロコアピユータでは同じように使
用が不可能である。ところで従来より少ないピン数で多
くの入出力を行う方法にマ) 17ツクス法(発光ダイ
オードの点灯の場合はグイナミノク点灯と称する)と言
うものがあり、出力端子と入力端子をマトリックス状に
組み、その交点にスイッチや負荷となる発光ダイオード
を挿入し高速でスイッチを順次走査したり、発光ダイオ
ードを順次点灯したりするのであるが、このような方法
は扇風機に使用されるようなもともとピン数の少ない1
チツプマイクロコンピユータに於いては全く効果を示さ
ないし、スイッチのダブル押しく1つ以上のスイッチを
同時に押す)による端子間短絡や発光ダイオードの逆方
向電圧印加等について考慮しなければならなく、外付は
部品が増える事となりこの場合も安いピン数の少ない1
チツプマイクロコンピユータを使う効果はない。
Such a control method is almost always added to a simple microcomputer version of a conventional electric fan, which consists of mechanical switches and timers, as shown in the example in Figure 1. Currently, this is one of the major features of electric fans controlled by microcomputers. By the way, summarizing what has been explained so far,
When controlling a fan with a micro core computer, there are 4 to 6 fixed terminals (5 to 6 at most) and 5 input terminals (
1 switch added) Output terminals - 8 terminals total 17 to 18 (18 to 19 at most), and the 1e pin, which is said to have the lowest number of pins in a 1-chip microcomputer, goes to the fan. This application becomes impossible due to a slight shortage of pins, and even if it has 18 bins, it is similarly impossible to use it with a micro core computer that has many fixed terminals. By the way, there is a method called the 17x method (in the case of lighting of light emitting diodes, it is called Guinaminoku lighting) that allows more input/output with a smaller number of pins than before, and output terminals and input terminals are arranged in a matrix. Light-emitting diodes that serve as switches or loads are inserted at the intersections, and the switches are scanned one after another at high speed, or the light-emitting diodes are turned on one after the other. less 1
It has no effect on chip microcomputers, and it is necessary to take into account short circuits between terminals due to double-pressing of switches (pressing one or more switches at the same time), reverse voltage application to light-emitting diodes, etc. , the number of parts increases, and in this case, the cheap 1 with a small number of pins is used.
There is no effect of using a chip microcomputer.

発明の目的 本発明はこのような従来の問題点を除去するものであり
、少ない入力端子からより多くの入力信号を安価な方法
で入力可能なものとし、価格的に優位な16.18ビン
クラスの1チツプマイクロコンピユータを扇風機の制御
に利用可能とするものである。
OBJECTS OF THE INVENTION The present invention eliminates these conventional problems, allows more input signals to be input from fewer input terminals in an inexpensive manner, and provides a cost-effective 16.18 bin class. This allows a one-chip microcomputer to be used to control an electric fan.

発明の構成 この目的を達成するために本発明の扇風機の制御回路は
、ファンモータと、極めて短い周期でもって前記ファン
モータの速度を切替える機能を有するマイクロコンピュ
ータ?lj制御回路と、このマイクロコンピュータを操
作する複数の操作スイッチ部分を備え、前記マイクロコ
ンピュータ入力用ゼロクロス信号を利用することにより
、前記操作スイッチの複数の異なる操作信号を1つの入
力端子より前記のマイクロコンピュータへ入力する構成
であり、1つの入力端子から複数の信号を入力すること
が出来るピン数の少ないマイクロコンピュータの使用が
可能となる効果を有するものでるる。
Structure of the Invention To achieve this object, the electric fan control circuit of the present invention comprises a fan motor and a microcomputer having a function of switching the speed of the fan motor in extremely short cycles. lj control circuit and a plurality of operation switch parts for operating this microcomputer, and by utilizing the zero cross signal for inputting the microcomputer, a plurality of different operation signals of the operation switches can be input to the microcomputer from one input terminal. This is a configuration for inputting signals to a computer, and has the effect of allowing the use of a microcomputer with a small number of pins that can input a plurality of signals from one input terminal.

実施例の説明 以下本発明の一実施例を第2因〜第4図にもとづいて説
明する。
DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below based on factors 2 to 4.

第2図は本発明の扇風機の制御装置の一実施回路の例で
ある。1は交流電源、2はヒユーズ、3はサージアブソ
ーバ、4はマイクロコンピュータの電源を作る為のドロ
ッパー抵抗、5も同様の目的の為の整流用ダイオード、
6も同じ目的の電解コンデンサ、Tも同じ目的の定電圧
ダイオードでありこれら4〜7の部品により交流電源よ
り低電圧の直流電源が作られる。8は抵抗、9はダイオ
ード、1oはNPN l−ランジスタ、11は抵抗で 
    。
FIG. 2 is an example of an implementation circuit of the electric fan control device of the present invention. 1 is an AC power supply, 2 is a fuse, 3 is a surge absorber, 4 is a dropper resistor for creating a power supply for the microcomputer, 5 is a rectifier diode for the same purpose,
6 is an electrolytic capacitor having the same purpose, T is a constant voltage diode having the same purpose, and these components 4 to 7 create a DC power source with a lower voltage than the AC power source. 8 is a resistor, 9 is a diode, 1o is an NPN l-transistor, and 11 is a resistor.
.

あり、8〜11の部品により言わゆる電源電圧のに入力
されている。この様子を示したのが第3図      
、′ゼロクロス信号を作り出しマイクロコンピュータで
あり、第3図のaは交流電源1の電圧波形のタイムチャ
ート図、同図すはNPN)ランジスタ10のコレクタ波
形のタイムチャート図である。bに示されるように、N
PN)ランジスタ1oはaに      ゛、す、ペー
ス電流が供給される為にオン状態となり      −
示される交流電源1の負の半波の時に抵抗8を通コレク
タ電圧は0(V)となる。又、正の半波の時はダイオー
ド9によりバイパスされる為、NPN)ランジスタ10
はオフ状態となり、コレクタ電圧はv(v)となる。そ
してタイムチャート図に於てこのo(V)とv(V)の
変化の境目が交流電源1の電圧のゼロクロス点である。
The so-called power supply voltage is inputted by components 8 to 11. Figure 3 shows this situation.
, ' is a microcomputer that generates zero-cross signals. FIG. As shown in b, N
PN) The transistor 1o is turned on because the pace current is supplied to a.
During the negative half-wave of the AC power supply 1 shown, the collector voltage becomes 0 (V) through the resistor 8. Also, in the case of a positive half wave, since it is bypassed by diode 9, NPN) transistor 10
is in the off state, and the collector voltage becomes v(v). In the time chart, the boundary between the changes in o(V) and v(V) is the zero-crossing point of the voltage of the AC power source 1.

つまり本例のゼロクロス信号は0(v)とv(v)の変
化の境目で交流電源1のゼロクロス点を判断しようとす
るものであり、この信号は後述するマイクロコンピュー
タ40の端子にTよ゛り入力され、マイクロコンピュー
タ4oのソフトウェアで認識判断されるが、このソフト
ウェアについては省略する。12は抵抗、13はコンデ
ンサで、この2つの部品によりマイクロコンピュータの
電源を投入した時プログラムが確実に0番地よりスター
トする為の時定数回路を構成しており、この信号はマイ
クロコンピュータ4oの端子1.3 Tに入力されてい
る。つまり端子13Tが言わゆるリセット端子であシ、
本例のマイクロコンピュータ40の場合はHレベル(V
(V))でリセットが解除され、プログラムの実走が開
始されるものである。14は抵抗、15 、16 、1
7 、18は扇風機の動作状態を設定する操作スイッチ
で、第1図に示す操作パネルの例で言うと、各々が”切
”、″風量調節”、゛タイマ″に相当し、残りの1つが
扇風機のファンモータの速度を極めて短い周期でもって
切替えるモードを選択する為の操作スイッチである。こ
れら15〜18のスイッチのマイクロコンピュータに対
する信号入力については詳しく後述する。19 、20
は抵抗、21は圧電ブザー、22.23は抵抗、24は
コンデンサ、25は抵抗であり、24.25の2つの部
品ニよりマイクロコンピュータ40のクロック発振の時
定数回路が構成されている。26は抵抗、27.2B、
29.30は発光ダイオードであり、本例の場合は各々
が30分、1時間、2時間、4時間のタイマの残時間表
示の役目をしている。31゜32.33は抵抗であり、
発光ダイオード34゜35.36の電流及びファンモー
タ41を駆動する為のトライブック37.38.39の
ゲート電流を制限している。4oは先程より述べている
マイクロコンピュータであり、1T〜16Tの端子t−
持つ16ピンのマイクロコンピュータである。
In other words, the zero-crossing signal of this example is intended to determine the zero-crossing point of the AC power supply 1 at the boundary between changes of 0(v) and v(v), and this signal is sent to the terminal of the microcomputer 40 (described later) as T. is input and recognized and judged by the software of the microcomputer 4o, but the details of this software will be omitted. 12 is a resistor, and 13 is a capacitor. These two parts constitute a time constant circuit that ensures that the program starts from address 0 when the microcomputer is powered on. This signal is sent to the terminal 4o of the microcomputer. 1.3 It is input to T. In other words, terminal 13T is the so-called reset terminal.
In the case of the microcomputer 40 of this example, the H level (V
(V)), the reset is canceled and actual execution of the program is started. 14 is resistance, 15, 16, 1
7 and 18 are operation switches for setting the operating state of the electric fan. In the example of the operation panel shown in Fig. 1, each corresponds to "off", "air volume adjustment", and "timer", and the remaining one corresponds to "timer". This is an operation switch for selecting a mode in which the speed of the fan motor of the electric fan is changed in extremely short cycles.The signal input to the microcomputer by these switches 15 to 18 will be described in detail later.19, 20
21 is a resistor, 21 is a piezoelectric buzzer, 22.23 is a resistor, 24 is a capacitor, and 25 is a resistor. The two components 24.25 constitute a time constant circuit for clock oscillation of the microcomputer 40. 26 is resistance, 27.2B,
29 and 30 are light emitting diodes, and in this example, each serves to display the remaining time of a timer of 30 minutes, 1 hour, 2 hours, and 4 hours. 31°32.33 is the resistance,
The current of the light emitting diode 34, 35, 36 and the gate current of the try book 37, 38, 39 for driving the fan motor 41 are limited. 4o is the microcomputer mentioned earlier, and the terminals t- from 1T to 16T
It is a 16-pin microcomputer.

41は扇風機のファンモータ、42はその進相コンデン
サである。次に基本的な動作について本発明にかかる操
作スイッチ周辺を中心に説明する。
41 is a fan motor of the electric fan, and 42 is its phase advancing capacitor. Next, the basic operation will be explained mainly around the operation switch according to the present invention.

前述したようにスイッチ15,16,17.18は扇風
機の種々の動作を設定する操作スイ、ンチであり、15
.17の信号はマイクロコンピュータ40のZ:5子1
1Tより入力されており、16 、18の操作スイッチ
の信号は端子10Tより入力されている。ところで端子
10丁及び11Tは信号式′力としては全く同じである
ので端子11Tについてのみ説明を加えて行く。壕ず、
操作スイッチ15及び160両方が押されてない時であ
るが端子11Tは抵抗20によりプルダウンされている
為、常にo(V)(以下Lレベルと称する。)となって
いる。次に操作スイッチ15を押した時であるが、この
時の端子11Tの様子は第4図のdのタイムチャートに
示すように時刻t。で操作スイッチが押されたとすると
、端子11Tの入力信号はHレベルに変化する。そして
マイクロコンピュータではこのHレベルがΔtの時間、
安定に続いた時に操作スイッチ16が押されたと認識す
る訳でこの認識区間は操作スイッチ16の接点がチャツ
タリングして何回も接点がオン、オフする現象がある為
、これによる異常入力を防止する目的の為に一般に設け
られるものである。次に操作スイッチ1了を押した場合
であるが、この時の端子11Tの入力信号の状態は第4
図のbのタイムチャートに示す。つまり操作スイッチ1
7の一端は、NPN)ランジスタ10のコレクタに接続
されている為、操作スイッチ17を押すと言う事は端子
11Tの入力信号の状態はNPN)ランジスク10のコ
レクタと同一と言う事となり、電源電圧のゼロクロス信
号そのものとなる。第4図のbはそれを説明したもので
時刻上〇で操作スイッチ17を押すと、電源電圧ゼロク
ロス信号が立上って来る時刻t1まで端子11丁の信号
入力はLレベルを続け、マイクロコンピュータ4oには
時刻t0よりtlまでは操作スイッチ17が押されてい
るのかは全く判らない。そして時刻t1 で初めて信号
入力がHレベルとなる訳であるが、この時点ではまだマ
イクロコンピュータ4Qは操作スイッチ15が押された
のか、又17が押されたのかの区別は出来ない。ところ
が時刻t2で端子11Tの信号入力はHレベルよりLレ
ベルに変わる。この現象はマイクロコンピュータ40の
内部で電源電圧ゼロクロス信号が入力されているKr、
l子12Tと比較する事により操作スイッチ17が押さ
れている事は容易に判るが操作スイッチ16をすばやく
押した場合でも偶然にゼロクロス信号と同期する事があ
り得る為、第4図のbではゼロクロス信号との比較を時
刻t3の立上り、時刻t4の立下りの各々の時点で行っ
ており、これらが端子12Tと一致すれば操作スイッチ
17が押されたものと判断している。しかしこのように
しても応答速度Δtは50m5以下となる為、極めて早
く操作スイッチの応答時間としては満足し得るものであ
る。
As mentioned above, the switches 15, 16, 17, and 18 are operation switches for setting various operations of the electric fan.
.. The signal of 17 is the Z:5 child 1 of the microcomputer 40.
The signals from the operation switches 16 and 18 are input from the terminal 10T. By the way, since the terminals 10 and 11T have exactly the same signal type and output, only the terminal 11T will be explained. No trenches,
Even when both the operation switches 15 and 160 are not pressed, the terminal 11T is pulled down by the resistor 20, so it is always at o(V) (hereinafter referred to as L level). Next, when the operation switch 15 is pressed, the state of the terminal 11T at this time is at time t, as shown in the time chart d in FIG. If the operation switch is pressed at , the input signal at the terminal 11T changes to H level. And in the microcomputer, this H level is for a time of Δt,
It is recognized that the operation switch 16 has been pressed when the operation continues stably. During this recognition period, there is a phenomenon in which the contacts of the operation switch 16 chatter and turn on and off many times, so abnormal inputs due to this are prevented. It is generally provided for a specific purpose. Next, when operating switch 1 is pressed, the state of the input signal of terminal 11T at this time is 4th.
This is shown in the time chart in figure b. In other words, operation switch 1
Since one end of 7 is connected to the collector of the NPN resistor 10, pressing the operation switch 17 means that the state of the input signal at the terminal 11T is the same as that of the collector of the NPN resistor 10, and the power supply voltage This is the zero cross signal itself. Figure 4b explains this. When the operation switch 17 is pressed at time 0, the signal input to the 11 terminals continues to be at L level until time t1 when the power supply voltage zero cross signal rises, and the microcomputer At 4o, it is not known at all whether the operation switch 17 is pressed from time t0 to time tl. The signal input becomes H level for the first time at time t1, but at this point the microcomputer 4Q cannot yet distinguish whether the operation switch 15 or 17 has been pressed. However, at time t2, the signal input to the terminal 11T changes from the H level to the L level. This phenomenon occurs when Kr, to which the power supply voltage zero cross signal is input inside the microcomputer 40,
It is easy to see that the operating switch 17 is pressed by comparing it with the terminal 12T, but even if the operating switch 16 is pressed quickly, it may coincidentally synchronize with the zero cross signal, so in Fig. 4b, Comparison with the zero cross signal is performed at each of the rising edge at time t3 and the falling edge at time t4, and if these match the terminal 12T, it is determined that the operation switch 17 has been pressed. However, even if this is done, the response speed Δt will be less than 50 m5, which is extremely fast and satisfactory as the response time of the operation switch.

発明の効果 このように本発明によれば、極めて短い周期でもって扇
風機の速度を変化させた時発生する電気的な雑音の発生
を防止する目的で設けられた電源電圧ゼロクロス信号を
操作スイッチの信号入力に利用するJ5により、1つの
入力端子から特別な部品を増やす事なく複数の信号を入
力する事が出来、扇風機のマイクロコンピュータ制御に
要求される少ないピン数の低価格なマイクロコンピュー
タの使用が可能となる効果を有する。
Effects of the Invention As described above, according to the present invention, the power supply voltage zero cross signal, which is provided for the purpose of preventing the generation of electrical noise that occurs when the speed of the electric fan is changed in an extremely short period, is used as the signal of the operation switch. J5 used for input allows multiple signals to be input from one input terminal without adding special parts, and allows the use of a low-cost microcomputer with a small number of pins required for microcomputer control of the electric fan. It has the effect of making it possible.

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

第1図はマイクロコンピュータで制御されている扇風機
の一般的な制御内容を説明した操作表示板の正面図、第
2図は本発明の一実施例の扇風機の制御回路図、第3図
は第2図の回路図に於ける電源電圧ゼロクロス信号の様
子を示した波形のタイムチャート、第4図は1つの入力
端子から電源電圧ゼロクロス信号を利用して複数の信号
を入力する場合の入力波形の様子を示したタイムチャー
トである。 41・・・・・・ファンモータ、4o・・・・・・マイ
クロコンピュータ、16〜18・・・・・・操作スイッ
チ、12T・・・・・・電源ゼロクロス端子。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名男1
FIG. 1 is a front view of an operation display board explaining the general control contents of an electric fan controlled by a microcomputer, FIG. 2 is a control circuit diagram of an electric fan according to an embodiment of the present invention, and FIG. A waveform time chart showing the state of the power supply voltage zero cross signal in the circuit diagram of Figure 2, and Figure 4 shows the input waveform when multiple signals are input from one input terminal using the power supply voltage zero cross signal. This is a time chart showing the situation. 41...Fan motor, 4o...Microcomputer, 16-18...Operation switch, 12T...Power zero cross terminal. Name of agent: Patent attorney Toshi Nakao, male and 1 other person
figure

Claims (1)

【特許請求の範囲】[Claims] ファンモータと、短い周期でもって前記ファンモータの
速度を切替える機能を有するマイクロコンピュータと、
このマイクロコンピュータを操作する複数の操作スイッ
チとを備え、前記マイクロコンピュータ入力用ゼロクロ
ス信号を利用することにより、前記操作スイッチの複数
の異なる操作信号を一つの入力端子より前記マイクロコ
ンピュータへ入力する扇風機の制御回路。
a fan motor; a microcomputer having a function of switching the speed of the fan motor in short cycles;
A fan comprising a plurality of operation switches for operating the microcomputer, and inputting a plurality of different operation signals of the operation switches to the microcomputer from one input terminal by using the microcomputer input zero-cross signal. control circuit.
JP59170669A 1984-08-16 1984-08-16 Fan control circuit Expired - Lifetime JPH0744873B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59170669A JPH0744873B2 (en) 1984-08-16 1984-08-16 Fan control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59170669A JPH0744873B2 (en) 1984-08-16 1984-08-16 Fan control circuit

Publications (2)

Publication Number Publication Date
JPS6149686A true JPS6149686A (en) 1986-03-11
JPH0744873B2 JPH0744873B2 (en) 1995-05-15

Family

ID=15909178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59170669A Expired - Lifetime JPH0744873B2 (en) 1984-08-16 1984-08-16 Fan control circuit

Country Status (1)

Country Link
JP (1) JPH0744873B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008104326A (en) * 2006-10-20 2008-05-01 Matsushita Electric Ind Co Ltd Power supply controller and washing dryer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5456326A (en) * 1977-10-14 1979-05-07 Hitachi Ltd Digital circuit device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5456326A (en) * 1977-10-14 1979-05-07 Hitachi Ltd Digital circuit device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008104326A (en) * 2006-10-20 2008-05-01 Matsushita Electric Ind Co Ltd Power supply controller and washing dryer

Also Published As

Publication number Publication date
JPH0744873B2 (en) 1995-05-15

Similar Documents

Publication Publication Date Title
US5874789A (en) Circuit for integrating a local switch and a remote-control switch
KR920001538B1 (en) Simultaneous data and electric power transmitting/receiving system
JPS58501350A (en) Touch-operated power control device
US5218679A (en) Programmable controller with input/output signal converting circuit for variably setting a number of inputs and/or outputs
JPS6149686A (en) Control circuit of fan
US5917779A (en) Transformerless LED driving circuit
US6996333B1 (en) Fan speed control
US4234801A (en) Control system utilizing momentary switching devices
JP3142785U (en) Multiple protection circuit for electric fan
US4672233A (en) Controller with dual function switch
CN211476032U (en) Gesture recognition control device of range hood
US6922088B2 (en) Self-determining electronic control circuit
CN110645609A (en) Gesture recognition control device and control method of range hood
JPS6149687A (en) Control circuit of fan
CN2140114Y (en) Universal speed regulation switch for fan
CN212411151U (en) Power-on reset protection circuit of chip, control device and household appliance
CN115208270A (en) Method for forming multi-gear control based on few physical gears and direct current brushless motor
CN215182261U (en) Control circuit for sharing blower
JPS6214320B2 (en)
JP3654930B2 (en) Inverter device
US5721476A (en) Control circuit for lamps with a melody output
KR960011151A (en) Fan speed control and pause device
JPH03247390A (en) Controller for washing machine
JPH0229117A (en) Reset circuit
Bălan et al. Embedded System for Smart Controlling Electronic Devices