JPS61168892A - Time counting for controller - Google Patents

Time counting for controller

Info

Publication number
JPS61168892A
JPS61168892A JP940485A JP940485A JPS61168892A JP S61168892 A JPS61168892 A JP S61168892A JP 940485 A JP940485 A JP 940485A JP 940485 A JP940485 A JP 940485A JP S61168892 A JPS61168892 A JP S61168892A
Authority
JP
Japan
Prior art keywords
time
reference time
monitoring
power supply
oscillation
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
JP940485A
Other languages
Japanese (ja)
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.)
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 JP940485A priority Critical patent/JPS61168892A/en
Publication of JPS61168892A publication Critical patent/JPS61168892A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of High-Frequency Heating Circuits (AREA)
  • Electric Ovens (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、加熱調理器等において、加熱時間を決定する
計時機能を有する制御装置の計時方法に係り、特に電源
周波数により基準時間を設定するようにしたものに関す
るものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a timekeeping method for a control device having a timekeeping function for determining heating time in a heating cooker or the like, and in particular, a method for setting a reference time based on a power supply frequency. It is related to things that have been done in this way.

〔従来の技術〕[Conventional technology]

従来の計時方法を第4図及び第5図にもとづき説明する
A conventional timekeeping method will be explained based on FIGS. 4 and 5.

第4図は加熱調理器における制御装置を示す回路図であ
る。図において、5は交流電源であり、この交流電源5
より供給される交流電力はトランス13により降圧され
、更にダイオードブリッジ14、平滑コンデンサ15に
より直流変換されて制御手段としてのマイクロコンピュ
ータ16の電源VSS、VDDとして供給される。また
、トランス13の一端は抵抗17a、17b、18. 
 トランジスタ19で構成される波形整形回路6のベー
ス抵抗17aに接続されている。この波形整形回路6の
出カフは交流電源5の周波数に同期したパルス出力とな
り、マイクロコンピュータ16に基準時間入力として入
力される。上記マイクロコンピュータ16は入力回路2
0.CPU21.メモリ22.出力回路23より構成さ
れ、入力回路20に入力された基準時間人カフは、CP
U21゜メモリ22によって正確な基準時間Tとして設
定され、タイマー、あるいは時計用に使用される。
FIG. 4 is a circuit diagram showing a control device in the cooking device. In the figure, 5 is an AC power supply, and this AC power supply 5
The AC power supplied is stepped down by a transformer 13, further converted to DC by a diode bridge 14 and a smoothing capacitor 15, and is supplied as power supplies VSS and VDD to a microcomputer 16 as a control means. Further, one end of the transformer 13 is connected to resistors 17a, 17b, 18 .
It is connected to the base resistor 17a of the waveform shaping circuit 6 made up of a transistor 19. The output of the waveform shaping circuit 6 becomes a pulse output synchronized with the frequency of the AC power source 5, and is inputted to the microcomputer 16 as a reference time input. The microcomputer 16 is an input circuit 2
0. CPU21. Memory 22. The reference time human cuff that is composed of the output circuit 23 and input to the input circuit 20 is CP
U21° is set as an accurate reference time T by the memory 22 and used for a timer or clock.

第5図にそのフローチャートを示す。第5図において、
電源が入るところからスタート(ステップ36)を行な
い、まず基準時間入力(ステップ37)を行なう。基準
時間人カフは波形整形回路6からの出力パルスであるの
で、電源周波数に同期した方形波であり、マイクロコン
ピュータ16の電源であるVS゛S、VDDの振幅とな
る。基準時間入力及びその極性変化の判定をステップ3
7及び38で随時行ない、基準時間人カフがVSSから
VDDあるいはVDDからvSSに反転した時点(極性
変化点)より次の極性変化点までの時間を測定しくステ
ップ38〜40)、これを基準時間Tとする(ステップ
41)。たとえば、電源周波数50)1zの所であれば
基準時間Tはその周期となり、29m5ecとなる。こ
の基準時間Tにより、マイクロコンピュータ16は設定
された調理時間を計算して、第4図の出力回路23を介
して制御リレー24の制御を行ない、電源5.高圧トラ
ンス25.高圧コンデンサ26.高圧ダイオード27.
制御対象としてのマグネトロン4で構成される加熱調理
器の加熱源のタイマー制御を行なうことになる。あるい
はこの基準時間Tを、時計の基準クロックとして使用し
て時計機能を作ることができる。なお、第4図中8はマ
イクロコンピュータ16を動作させるための発振手段と
しての発振回路である。
FIG. 5 shows the flowchart. In Figure 5,
Start from when the power is turned on (step 36), and first input a reference time (step 37). Since the reference time pulse is an output pulse from the waveform shaping circuit 6, it is a square wave synchronized with the power supply frequency, and has the amplitude of VS゛S and VDD, which are the power supplies of the microcomputer 16. Input the reference time and determine its polarity change in step 3.
7 and 38 as needed, and measure the time from the time when the human cuff reverses from VSS to VDD or from VDD to vSS (polarity change point) to the next polarity change point (Steps 38 to 40), and use this as the reference time. T (step 41). For example, if the power supply frequency is 50)1z, the reference time T is the period thereof, which is 29m5ec. Based on this reference time T, the microcomputer 16 calculates the set cooking time, controls the control relay 24 via the output circuit 23 in FIG. 4, and controls the power supply 5. High voltage transformer 25. High voltage capacitor 26. High voltage diode 27.
The timer control of the heating source of the cooking device, which is constituted by the magnetron 4 as a control object, is performed. Alternatively, this reference time T can be used as a reference clock for a clock to create a clock function. Note that 8 in FIG. 4 is an oscillation circuit as an oscillation means for operating the microcomputer 16.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら上記従来方法にあっては、例えば第5図の
極性変化の有無を判定するステップ40において、基準
時間人カフに電源ノイズが入った場合、極性変化ありと
判定してしまい、まちがった時間を基準時間Tとして入
力を行なうため、タイマ一時間あるいは時計が電源ノイ
ズにより狂ってしまうという問題点を存していた。
However, in the conventional method described above, if power supply noise enters the human cuff during the reference time in step 40 of determining the presence or absence of a polarity change in FIG. Since the reference time T is inputted, there is a problem in that the timer or the clock may go awry due to power supply noise.

本発明は係る問題点を解決するためになされたもので、
電源ノイズに強い計時機能を有する制御装置が得られる
計時方法を提供することを目的とするものである。
The present invention was made to solve such problems,
It is an object of the present invention to provide a timekeeping method that provides a control device having a timekeeping function that is resistant to power supply noise.

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

本発明に係る制御装置の計時方法は、発振手段の発振周
波数により、基準時間に同期するとともに、これより周
期の短から監視時間を設定し、基準時間監視手段を設け
てこの監視時間内では上記基準時間の設定を禁止するよ
うにしたものである。
The timing method of the control device according to the present invention is to synchronize with the reference time using the oscillation frequency of the oscillation means, set the monitoring time from the shortest period than this, and provide the reference time monitoring means so that the above-mentioned The setting of the reference time is prohibited.

〔作用〕[Effect]

本発明においては、監視時間を過ぎてから基準時間が設
定され、監視時間内での電源ノイズによる極性変化は無
視される。
In the present invention, the reference time is set after the monitoring time has elapsed, and polarity changes due to power supply noise within the monitoring time are ignored.

〔実施例〕〔Example〕

以下、本発明を第1図ないし第3図に示す実施例にもと
づき説明する。第1図は加熱調理器における実施例をブ
ロック図で示したものであり、図において、lは加熱庫
、2は被加熱物、3は上記被加熱物2の受皿、4は加熱
源を構成するマグネトロンである。5〜12は制御回路
のブロック図であるが、その回路構成は前記した第4図
と同一となる。しかし、この実施例ではそのプログラム
処理の方法が異なり、図に示す?、9.10゜11は制
御手段としてのマイクロコンピュータ16により実現さ
れている。
The present invention will be explained below based on the embodiments shown in FIGS. 1 to 3. FIG. 1 shows a block diagram of an embodiment of a heating cooker, and in the figure, l is a heating chamber, 2 is an object to be heated, 3 is a saucer for the object to be heated 2, and 4 is a heating source. This is a magnetron. 5 to 12 are block diagrams of control circuits, the circuit configuration of which is the same as that of FIG. 4 described above. However, in this embodiment, the program processing method is different, as shown in the figure. , 9.10°11 are realized by the microcomputer 16 as a control means.

すなわち、交流電源5より得られる電源周波数により波
形整形回路6を経て、基準時間人カフが得られる。一方
、発振回路8より得られるマイクロコンピュータ16用
の発振周波数によりその周期を監視時間人力9として得
る。この基準時間人カフと監視時間人力9を基準時間監
視手段10により監視することにより正しい基準時間T
が得られる。この基準時間Tを基準として得られる全加
熱時間を加熱時間決定手段11により計算して、加熱源
制御手段12.すなわち第4図に示したリレー24を制
御して、加熱源であるマグネトロン4の制御を実行する
That is, the reference time human cuff is obtained by passing through the waveform shaping circuit 6 using the power frequency obtained from the AC power source 5. On the other hand, based on the oscillation frequency for the microcomputer 16 obtained from the oscillation circuit 8, its period is obtained as the monitoring time 9. By monitoring this reference time human cuff and the monitoring time human power 9 by the reference time monitoring means 10, the correct reference time T is obtained.
is obtained. The total heating time obtained using this reference time T as a reference is calculated by the heating time determining means 11, and the heating source controlling means 12. That is, the relay 24 shown in FIG. 4 is controlled to control the magnetron 4, which is a heating source.

上記のように構成された加熱調理器の基準時間の設定動
作を第2図、第3図を用いて詳細に説明する。なお、第
2図はそのフローチャート、第3図(a)、  (b)
は基準時間人カフ及び監視時間人力9の波形図である。
The reference time setting operation of the heating cooker configured as described above will be explained in detail with reference to FIGS. 2 and 3. In addition, Fig. 2 is the flowchart, and Fig. 3 (a), (b)
is a waveform diagram of the reference time human cuff and the monitoring time human power 9.

第2図において、電源を投入するところからスタート(
ステップ28)し、基準時間入力(ステップ29)、基
準時間測定の開始点である極性変化の判定(ステップ3
0)までは従来の方法と同一である。極性変化点をとら
えてから次の極性変化点(ただし同一方向に極性が変化
する点、ここではVDDからvSSとする)に達するま
でに、発振回路8より発生する監視時間を人力(ステッ
プ31)により基準時間の監視を行なう。即ち、基準時
間人カフよりはるかに高い周波数の監視時間人力9(例
えば600KHz)を使用して、予め、監視時間として
定数Aを設定する。このAは、第3図の波形図において
見られるように、基準時間人カフの周期Tよりわずかに
短い時間とし、監視時間人力9の周期Taを数サイクル
繰り返した時間となる。第2図において、監視時間を入
力(ステップ31)を行なってから監視時間人力9の周
期Taによって計算される監視時間A (A=nTa 
 n :定数)以上に監視時間tが経過するまで基準時
間人カフを禁止する。
In Figure 2, start by turning on the power (
step 28), input the reference time (step 29), and determine the polarity change that is the starting point of the reference time measurement (step 3).
0) is the same as the conventional method. The monitoring time generated by the oscillation circuit 8 from the time when the polarity change point is captured until the next polarity change point (however, the point where the polarity changes in the same direction, here, from VDD to vSS) is reached manually (step 31) The reference time is monitored. That is, the constant A is set in advance as the monitoring time using the monitoring time human power 9 (for example, 600 KHz) having a much higher frequency than the reference time human cuff. As seen in the waveform diagram of FIG. 3, this A is a time slightly shorter than the period T of the reference time human cuff, and is the time obtained by repeating several cycles of the period Ta of the monitoring time human power 9. In FIG. 2, the monitoring time A (A=nTa) is calculated by the period Ta of the monitoring time 9 after inputting the monitoring time (step 31).
cuffing is prohibited for a reference period of time until the monitoring time t (n: constant) or more has elapsed.

t≧Aになってはじめて、基準時間入力(ステップ33
)を行ない、次の極性変化点で(ステップ34)、基準
時間Tの測定を行なう(ステップ35)。
Only when t≧A, the reference time is input (step 33).
), and at the next polarity change point (step 34), the reference time T is measured (step 35).

例えば、第3図において電源周波数を501(zとする
と基準時間TはT=20msec (周期)となり、図
の(ア)及び(1)の極性変換点を測定することにより
29m5ec経過したと判定する。
For example, in Figure 3, if the power supply frequency is 501 (z), the reference time T is T = 20 msec (period), and by measuring the polarity change points of (A) and (1) in the figure, it is determined that 29 m5 ec has elapsed. .

この間に例えば、(オ)、(力)等の電源ノイズが入っ
た場合、Tは20ms e c以下で測定することにな
るので、これらのノイズの影響をなくす方法として発振
周波数600KHzの監視時間人力9の周期Ta (T
a=1.6usec)を使用する。すなわち、T>Aと
なるような監視時間Aを次式により設定する。
If power supply noise such as (e) or (force) enters during this period, T will be measured at 20 ms e c or less, so a way to eliminate the influence of these noises is to manually monitor the oscillation frequency at 600 KHz. 9 period Ta (T
a=1.6usec). That is, the monitoring time A such that T>A is set using the following equation.

A = n T a = n Xl、6  Xl0−’
<20X10−3ここで、n=10000と設定すると
上式よりA=16X10−3(sec) となる。
A = n Ta = n Xl, 6 Xl0-'
<20X10-3 Here, if n=10000 is set, A=16X10-3 (sec) from the above formula.

そして、基準時間人カフの極性が反転した点(ア)から
基準時間Tの測定が始まり、監視時間tも同様に上記基
準時簡に同期した(イ)から測定を始め、t≧Aになっ
た時点(つ)ではじめて基準時間人カフの極性の変化点
の判定を行ない、(1)でTを測定し2Qms e c
として基準時間Tを設定することができる。
Then, the measurement of the reference time T starts from the point (A) where the polarity of the reference time cuff is reversed, and the measurement starts from the point (B) when the monitoring time t is also synchronized with the above reference time, so that t≧A. At the time (T), the change point of the polarity of the human cuff is determined for the first time, and T is measured in (1) and 2Qms e c
The reference time T can be set as .

従って、電源ノイズ(オ)、(力)等は、監視時間Aの
範囲内であるので測定されず、B=T−Aを短くするこ
とにより、基準時間のノイズの影響を無視することが出
来て精度の高いタイマーを作ることが出来る。
Therefore, power supply noise (E), (force), etc. are not measured because they are within the range of monitoring time A, and by shortening B = TA, the influence of noise at the reference time can be ignored. It is possible to create a highly accurate timer.

なお、上記説明では、加熱調理器のタイマーの実施例に
ついて説明したが、タイマーに限定されるものではなく
、基準時間を使う装置、例えば時計などに応用できる。
In the above description, an example of a timer for a cooking device has been described, but the present invention is not limited to a timer, and can be applied to a device that uses a reference time, such as a clock.

また、加熱調理器に限定されるものでもない。Moreover, it is not limited to a heating cooker.

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

以上説明したように本発明による制御装置の計時方法に
よれば、発振手段の発振周波数により、基準時間に同期
するとともにこれより周期の短い監視時間を設定し、基
準時間監視手段を設けてこの監視時間内では上記基準時
間の設定を禁止するようにしたので、電源ノイズの影響
を受けない精度の高い計時機能を有する制御装置が得ら
れるという効果がある。
As explained above, according to the timekeeping method of the control device according to the present invention, the oscillation frequency of the oscillation means synchronizes with the reference time and sets the monitoring time with a shorter period than this, and the reference time monitoring means is provided to monitor this time. Since the setting of the reference time is prohibited within the specified time period, it is possible to obtain a control device having a highly accurate time measurement function that is not affected by power supply noise.

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

第1図は本発明の一実施例を示すブロック図、第2図は
上記実施例の動作を示すフローチャート、第3図は基準
時間入力と監視時間入力を示す波形図、第4図は加熱調
理器の制御回路図、第5図は従来方法による動作を示す
フローチャートである。 4・・・制御対象、5・・・交流電源、8・・・発信手
段、IO・・・基準時間監視手段、16・・・制御手段
、T・・・基準時間、A・・・監視時間。 なお、図中、同一または相当部分には同一符号を用いて
いる。 代理人  大  岩  増  雄(はが2名)第3図 T:基4埼間  A:覧親埼閏 第4図 第5図
Fig. 1 is a block diagram showing one embodiment of the present invention, Fig. 2 is a flowchart showing the operation of the above embodiment, Fig. 3 is a waveform diagram showing reference time input and monitoring time input, and Fig. 4 is heating cooking. FIG. 5 is a flowchart showing the operation according to the conventional method. 4... Controlled object, 5... AC power supply, 8... Transmission means, IO... Reference time monitoring means, 16... Control means, T... Reference time, A... Monitoring time . In addition, in the figures, the same reference numerals are used for the same or corresponding parts. Agent: Masuo Oiwa (2 people) Figure 3 T: Base 4 Saima A: Ranshinsaiyan Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 制御対象に供給される交流電源と、発振手段からの発振
周波数にもとづき作動する制御手段とを備え、上記電源
周波数により設定される基準時間にもとづき上記制御対
象を制御する制御装置において、上記発振手段の発振周
波数により、上記基準時間に同期するとともにこの周期
よりも短い監視時間を設定し、基準時間監視手段を設け
てこの監視時間内では上記基準時間の設定を禁止するよ
うにしたことを特徴とする制御装置の計時方法。
In a control device comprising an AC power supply supplied to a controlled object and a control means that operates based on an oscillation frequency from an oscillation means, the control device controls the controlled object based on a reference time set by the power supply frequency, the oscillation means The oscillation frequency is used to synchronize with the reference time and set a monitoring time shorter than this cycle, and a reference time monitoring means is provided to prohibit setting of the reference time within this monitoring time. A method of measuring time for a control device.
JP940485A 1985-01-22 1985-01-22 Time counting for controller Pending JPS61168892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP940485A JPS61168892A (en) 1985-01-22 1985-01-22 Time counting for controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP940485A JPS61168892A (en) 1985-01-22 1985-01-22 Time counting for controller

Publications (1)

Publication Number Publication Date
JPS61168892A true JPS61168892A (en) 1986-07-30

Family

ID=11719477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP940485A Pending JPS61168892A (en) 1985-01-22 1985-01-22 Time counting for controller

Country Status (1)

Country Link
JP (1) JPS61168892A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0734039U (en) * 1993-12-01 1995-06-23 開発工建株式会社 Underdrain drainage pipe

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5343067A (en) * 1976-09-30 1978-04-18 Ishikawajima Harima Heavy Ind Mandrel bar exchanger at plug mill
JPS53110574A (en) * 1977-03-08 1978-09-27 Seikosha Kk Time signal detector

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5343067A (en) * 1976-09-30 1978-04-18 Ishikawajima Harima Heavy Ind Mandrel bar exchanger at plug mill
JPS53110574A (en) * 1977-03-08 1978-09-27 Seikosha Kk Time signal detector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0734039U (en) * 1993-12-01 1995-06-23 開発工建株式会社 Underdrain drainage pipe

Similar Documents

Publication Publication Date Title
JPS6347002B2 (en)
JPS61168892A (en) Time counting for controller
US6442704B1 (en) Ring oscillator clock frequency measuring method, ring oscillator clock frequency measuring circuit, and microcomputer
RU2105345C1 (en) Heating temperature regulator
JPH02246769A (en) Power control circuit
JP2742642B2 (en) Oscillation-synchronous frequency change measurement method and apparatus
JPS58192117A (en) Temperature controller
JP3604408B2 (en) Burn-in method and apparatus
JP3023680B2 (en) PWM controller
JP3074782B2 (en) Human body detector
JPS6024747B2 (en) Resistance welding machine control device
KR930013918A (en) Temperature control method and apparatus of electric bedding
JP2708779B2 (en) AC load power control device
JPS61193214A (en) Temperature control circuit
JPS6131953B2 (en)
JPS6174773A (en) Temperature regulating circuit for soldering iron
KR930003985Y1 (en) Power supply synchronization circuit
JPS6142305Y2 (en)
JPS6131508Y2 (en)
JPS5834499Y2 (en) temperature compensation circuit
JPS62128399A (en) Traffic signal controller
SU1571421A1 (en) Device for measuring temperature
JP2538349B2 (en) Motor phase control method
KR950014894A (en) Frequency measuring device
JPS6231413A (en) Temperature controller