JPH01237868A - Triac control signal output circuit - Google Patents

Triac control signal output circuit

Info

Publication number
JPH01237868A
JPH01237868A JP63066276A JP6627688A JPH01237868A JP H01237868 A JPH01237868 A JP H01237868A JP 63066276 A JP63066276 A JP 63066276A JP 6627688 A JP6627688 A JP 6627688A JP H01237868 A JPH01237868 A JP H01237868A
Authority
JP
Japan
Prior art keywords
control signal
triac
waveform
signal output
circuit
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
JP63066276A
Other languages
Japanese (ja)
Inventor
Yuji Sasahara
笹原 裕司
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 JP63066276A priority Critical patent/JPH01237868A/en
Publication of JPH01237868A publication Critical patent/JPH01237868A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Power Conversion In General (AREA)

Abstract

PURPOSE:To make an external waveform shaping circuit unnecessary and to output a TRIAC control signal not depending on software by incorporating a TRIAC signal output circuit in a microcomputer. CONSTITUTION:An effective waveform is detected out of signals inputted from an AC board 2 by a waveform detection circuit 3. When the effective waveform is detected, a timer 4 starts count down from a value set in advance, and simultaneously, an FF5 is set. Only the output of the FF5 corresponding to the board selected by a register 6 is outputted to a TRIAC control signal output board 8 via an AND circuit 7. When the timer 4 overflows, the FF5 is reset, and the TRIAC output board 8 is turned off. A register 1 is used for the selection of the effective waveform.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、マイクロコンピュータに内蔵されるトライ
アツク制御信号出力回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a triac control signal output circuit built into a microcomputer.

〔従来の技術〕[Conventional technology]

従来、商用周波(50Hz/60Hz )を入力して、
その中から有効な波形を検出し、複数のトライアックを
制御できる回路を内蔵したマイクロコンピュータは無い
。従来の技術について以下に説明する0第2−1図は従
来のトライアツク制御信号出力回路に用いられる波形整
形回路の回路図、第2−2図は商用周波とトライアック
制御信号を示す波形図、第3図は整形された波形の中か
ら有効な波形を検出して、トライアック制御信号を出力
するまでを制御するソフトウェアのフローチャートを示
す。
Conventionally, by inputting commercial frequency (50Hz/60Hz),
There is no microcomputer with a built-in circuit that can detect valid waveforms and control multiple triacs. The conventional technology will be explained below. Figure 2-1 is a circuit diagram of a waveform shaping circuit used in a conventional triac control signal output circuit, Figure 2-2 is a waveform diagram showing a commercial frequency and a triac control signal, FIG. 3 shows a flowchart of software that controls the process from detecting a valid waveform from the shaped waveforms to outputting the triac control signal.

第2−2図において、(9)は商用周波、αOは波形整
形後の波形、(11)はトライアック制御信号である。
In FIG. 2-2, (9) is the commercial frequency, αO is the waveform after waveform shaping, and (11) is the triac control signal.

次にマイクロコンピュータ@のソフトウェアについて説
明する。先ず、第2−1図に示す波形整形回路で整形さ
れた波形成形後の波形(IQの中から、有効な波形をソ
フトウェアで検出する。有効な波形を検出するとトライ
アツク出力をするか、否かを選択する複数のフラグを調
べ、出力するフラグが立っている場合、トライアツク出
力を行う。次に、トライアツク出力期間中プログラムで
時間待ちし、所要の時間経過後、トライアック出力をO
FFする0 〔発明が解決しようとする課題〕 従来のトライアツク出力制御は以上のように制御してい
だので、マイクロコンピュータの外部に波形整形回路を
設けなければならない。また、有効波形を検知しトライ
アック制御信号出力までの一連の動作をソフトウェアで
対応する必要があυ、ソフトウェアの負担が大きかった
。また、ソフトウェアで対応しているので、有効波形を
取シ込むタイミング、トライアック出力時間に、多少の
バラツキがあるなど解決すべき課題があった。
Next, the software of the microcomputer@ will be explained. First, a valid waveform is detected by software from the waveform after waveform shaping (IQ) that has been shaped by the waveform shaping circuit shown in Fig. 2-1. When a valid waveform is detected, it is determined whether or not to output a tryout. Checks multiple flags to select, and if the flag to output is set, triac output is performed.Next, the program waits for a period of time during the triac output period, and after the required time has elapsed, the triac output is turned off.
FF 0 [Problems to be Solved by the Invention] Since the conventional triac output control is performed as described above, a waveform shaping circuit must be provided outside the microcomputer. In addition, it was necessary to use software to handle a series of operations from detecting the effective waveform to outputting the triac control signal, which placed a heavy burden on the software. Additionally, since it is handled by software, there are some issues that need to be resolved, such as some variation in the timing of inputting the effective waveform and the triac output time.

この発明は、上記のような課題を解決するためになされ
たもので、マイクロコンピュータ外部の波形整形回路を
省略することができ、またソフトウェアの負担を軽減す
るとともに、制御信号出力タイミング等の誤差を極力小
さくすることを目的とする。
This invention was made to solve the above-mentioned problems, and it is possible to omit a waveform shaping circuit outside the microcomputer, reduce the burden on software, and reduce errors in control signal output timing, etc. The aim is to make it as small as possible.

〔課題を解決するだめの手段〕[Failure to solve the problem]

この発明によるトライアック制御信号出力回路は、マイ
クロコンピュータ内部に波形検出回路等を持ち、複数の
トライアックを制御できるものである0 〔作用〕 この発明におけるトライアック制御信号出力回路は、波
形検出回路によシ有効波形を検知し、出力を○Nしてタ
イマをスタートする。上記タイマが、オーバフローする
と出力をOFFする。
The triac control signal output circuit according to the present invention has a waveform detection circuit etc. inside a microcomputer and is capable of controlling a plurality of triacs. Detects a valid waveform, turns the output to ○N, and starts the timer. When the above-mentioned timer overflows, the output is turned off.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図はマイクロコンピュータに内蔵されるトライアック制
御信号出力回路のブロック図である。図において、(1
)は有効波形を決定するレジスタA 、 !21は外部
からの信号(商用周波)を入力するACポート、(3)
はACポート(2)よシ入る信号の中でレジスタA(1
)によって選択された波形のみを検出する波形検出回路
、(4)はトライアック信号のパルス幅を変えるタイマ
、(5)はタイマ(4)のオーバフロー信号で出力が反
転するフリップフロップ、(6)はトライアツク制御信
号を出力するか、否かを選択スるレジスタB 、 (7
)はレジスタB(6)によって選択されたポートのみを
出力するだめのAND回路、(8)はトライアック制御
信号出力ポートである。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram of a triac control signal output circuit built into a microcomputer. In the figure, (1
) is the register A that determines the effective waveform, ! 21 is an AC port for inputting external signals (commercial frequency), (3)
is the register A (1) among the signals coming from the AC port (2).
), (4) is a timer that changes the pulse width of the triac signal, (5) is a flip-flop whose output is inverted by the overflow signal of timer (4), and (6) is a Register B, (7
) is an AND circuit that outputs only the port selected by register B (6), and (8) is a triac control signal output port.

次に動作について説明する。先ずACポート(2)から
入る信号の中から波形検出回路(3)によって有効波形
を検出する。次にレジスタA (11によって有効波形
を選択する。有効な波形が検出されるとタイマ、(4)
は、あらかじめセットした値よりカウントダウンを始め
る。同時に、フリップフロップ(5)がセットされる。
Next, the operation will be explained. First, a valid waveform is detected by the waveform detection circuit (3) from among the signals input from the AC port (2). Next, register A (11) selects a valid waveform. When a valid waveform is detected, the timer (4)
starts counting down from a preset value. At the same time, flip-flop (5) is set.

フリップフロップ(5)の出力はレジスタB(6)で選
択されたポートのみAND回路(7)を経てトライアッ
ク制御信号出力ポート(8)に出力される0 次にタイマ(4)がオーバフローすると、7リツプフロ
ツプ(5)がリセットされ、トライアック制御信号出力
ポート(8)がOFFする。
The output of the flip-flop (5) is outputted only to the port selected by the register B (6) via the AND circuit (7) to the triac control signal output port (8).0 Next, when the timer (4) overflows, the The lip-flop (5) is reset and the triac control signal output port (8) is turned off.

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

以上のように、この発明によればマイクロコンピュータ
にトライアツク・信号出力回路を内蔵したので、外部に
波形整形回路をつける必要がなく、また、ソフトウェア
に依存することなくトライアック制御信号を出力するこ
とができる。
As described above, according to the present invention, since the triac/signal output circuit is built into the microcomputer, there is no need to attach an external waveform shaping circuit, and triac control signals can be output without depending on software. can.

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

第1図は、マイクロコンピュータに内蔵されるトライア
ック制御信号出力回路のブロック図、第2図は、従来の
トライアツク制御技術における波形整形回路の回路図と
商用周波及びトライアック制御信号を示す波形図、第3
図は、ソフトウェアによるトライアック制御信号出力の
ためのフローチャートである。 図において、(1)はレジスタA、+2)はACポート
、(3)は波形検出回路、(4)はタイマ、C5)はフ
リップフロップ、(6)はレジスタB 、 (7)はA
ND回路、(8)はトライアック制御信号出力ポート、
(2)はマイクロコンピュータである。 なお、図中、同一符号は同一、又は相轟部分を示す。
Figure 1 is a block diagram of a triac control signal output circuit built into a microcomputer, Figure 2 is a circuit diagram of a waveform shaping circuit in conventional triac control technology, and a waveform diagram showing commercial frequencies and triac control signals. 3
The figure is a flowchart for outputting triac control signals by software. In the figure, (1) is register A, +2) is AC port, (3) is waveform detection circuit, (4) is timer, C5) is flip-flop, (6) is register B, (7) is A
ND circuit, (8) is triac control signal output port,
(2) is a microcomputer. In addition, in the drawings, the same reference numerals indicate the same or similar parts.

Claims (1)

【特許請求の範囲】[Claims] レジスタによつて有効波形を選択できる有効波形検出回
路と、複数のトライアツクを制御できる複数のトライア
ツク制御信号出力ポートを備え、マイクロコンピュータ
に内蔵されるトライアツク制御信号出力回路。
A triac control signal output circuit built into a microcomputer, equipped with an effective waveform detection circuit that can select an effective waveform using a register, and multiple triac control signal output ports that can control multiple triacs.
JP63066276A 1988-03-18 1988-03-18 Triac control signal output circuit Pending JPH01237868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63066276A JPH01237868A (en) 1988-03-18 1988-03-18 Triac control signal output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63066276A JPH01237868A (en) 1988-03-18 1988-03-18 Triac control signal output circuit

Publications (1)

Publication Number Publication Date
JPH01237868A true JPH01237868A (en) 1989-09-22

Family

ID=13311153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63066276A Pending JPH01237868A (en) 1988-03-18 1988-03-18 Triac control signal output circuit

Country Status (1)

Country Link
JP (1) JPH01237868A (en)

Similar Documents

Publication Publication Date Title
JPH01237868A (en) Triac control signal output circuit
KR960032138A (en) Microcomputer
JP2595438B2 (en) Reception control device and method for remote controller
JPS63226115A (en) Zero cross counter
JPS62131756A (en) Triac controller
KR960008184A (en) Humidity Sensor Lead Time Control Method of Microwave Oven
JPH0632053B2 (en) Integrated circuit device
JP2653189B2 (en) Power frequency detector
JPS5914005A (en) Sequence controlling system by microcomputer
JPH0514186A (en) Pulse width modulation circuit
JP2953713B2 (en) Semiconductor integrated circuit
KR100215041B1 (en) Input method of cooking time by encoder for microwave oven
JPS63287109A (en) Timing generating circuit
JPS61284113A (en) Timer circuit
JPS5745649A (en) Asynchronizing signal synchronizer
KR950009111A (en) How to read power supply frequency of microwave oven
JPH0580089A (en) Timer device
JPS6074818A (en) Pulse counter
KR890005465A (en) Cooker
JPS6376186A (en) Control circuit for dual port ram
JPH04246751A (en) Microcomputer
JPS648455A (en) Address forming circuit
JPH0191528A (en) High speed prescaler circuit
JPS6448297A (en) Dram controller
JPH06103689A (en) Floppy disk controller