JPH04104369U - micro computer - Google Patents

micro computer

Info

Publication number
JPH04104369U
JPH04104369U JP589791U JP589791U JPH04104369U JP H04104369 U JPH04104369 U JP H04104369U JP 589791 U JP589791 U JP 589791U JP 589791 U JP589791 U JP 589791U JP H04104369 U JPH04104369 U JP H04104369U
Authority
JP
Japan
Prior art keywords
conversion
conversion data
amount
change
register
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
JP589791U
Other languages
Japanese (ja)
Inventor
一人 中尾
Original Assignee
シヤープ株式会社
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 シヤープ株式会社 filed Critical シヤープ株式会社
Priority to JP589791U priority Critical patent/JPH04104369U/en
Publication of JPH04104369U publication Critical patent/JPH04104369U/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【構成】 A/D変換したデータは順次第1A/D変換
データレジスタ6に格納するとともに、前回のA/D変
換データレジスタ7に格納する。A/D変換を行うごと
に、A/D変換データレジスタ6、7の差を求め、A/
D変換基準変化量レジスタ8の内容との比較を行う。比
較した結果により、割り込み信号11を出力する。 【効果】ソフトウェアの処理を省き、入力電圧の急激な
変化にもすばやく対応でき、きめ細かな制御を可能とす
るマイクロコンピュータを得ることができる。
(57) [Summary] [Structure] A/D converted data is sequentially stored in one A/D conversion data register 6 and also stored in the previous A/D conversion data register 7. Every time A/D conversion is performed, the difference between A/D conversion data registers 6 and 7 is calculated, and the A/D conversion data registers 6 and 7 are calculated.
A comparison is made with the contents of the D conversion reference change amount register 8. Depending on the comparison result, an interrupt signal 11 is output. [Effect] It is possible to obtain a microcomputer that can omit software processing, quickly respond to rapid changes in input voltage, and enable fine control.

Description

【考案の詳細な説明】[Detailed explanation of the idea]

【0001】0001

【産業上の利用分野】[Industrial application field]

本考案はA/D変換回路を内蔵したマイクロコンピュータに関するものである 。 This invention relates to a microcomputer with a built-in A/D conversion circuit. .

【0002】0002

【従来の技術】[Conventional technology]

A/D変換回路内蔵マイクロコンピュータは、例えば、エアコンやファンヒー タのように、室温を計測して出力を制御する用途に用いられている。そのような 場合、室温を検知して、それに応じた出力の状態を設定するのは、ソフトウェア の処理で行っていた。すなわち、従来、A/D変換による割り込みは、A/D変 換したデータの結果からソフトウェアの処理により行っていた。 Microcomputers with built-in A/D conversion circuits are used, for example, in air conditioners and fan heaters. It is used to measure room temperature and control output, such as in like that If so, it is up to the software to detect the room temperature and set the output state accordingly. It was done by processing. In other words, conventionally, interrupts due to A/D conversion are This was done through software processing based on the converted data.

【0003】0003

【考案が解決しようとする課題】[Problem that the idea aims to solve]

叙上のように、従来に於いては、A/D変換による割り込みは、A/D変換し たデータの結果からソフトウェア処理により行っていたが、例えば、途中で窓を 開放されたときのような室温の急激な変化に対応するのは困難であった。 As mentioned above, conventionally, interrupts due to A/D conversion are This was done by software processing based on the results of the data, but for example, if the window was closed midway through, It was difficult to respond to sudden changes in room temperature when the room was opened.

【0004】 本考案は、上記の問題点を開放したマイクロコンピュータを提供するものであ る。0004 The present invention provides a microcomputer that solves the above problems. Ru.

【0005】[0005]

【課題を解決するための手段】[Means to solve the problem]

本考案のマイクロコンピュータは、A/D変換回路を内蔵したマイクロコンピ ュータに於いて、A/D変換したデータの単位時間あたりの変化量を算出する手 段と、該手段により算出された変化量と基準変化量との比較を行う手段と、該手 段による比較結果に応じて割り込み信号を出力する手段とを設けて成ることを特 徴とするものである。 The microcomputer of this invention is a microcomputer with a built-in A/D conversion circuit. How to calculate the amount of change in A/D converted data per unit time in a computer a means for comparing the amount of change calculated by said means with a reference amount of change; and said means. and means for outputting an interrupt signal according to the comparison result by the stage. It is a sign.

【0006】[0006]

【作用】 変化量算出手段によって、A/D変換したデータの単位時間あたりの変化量が 求められる。この変化量と基準変化量との比較が、比較手段によって行われる。[Effect] The amount of change calculation means calculates the amount of change per unit time of the A/D converted data. Desired. A comparison means compares this amount of change with a reference amount of change.

【0007】 この比較結果に応じて、自動的に割り込み信号が出力される。[0007] Depending on the comparison result, an interrupt signal is automatically output.

【0008】[0008]

【実施例】【Example】

以下、実施例に基づいて本考案を詳細に説明する。 Hereinafter, the present invention will be described in detail based on examples.

【0009】 図1は本考案の一実施例の構成を示すブロック図である。[0009] FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【0010】 図に於いて、1は入力アナログ信号、2はA/Dコンバータ、3はD/Aコン バータ、4はコンパレータ、5は制御部、6はA/D変換データを格納する第1 A/D変換データレジスタ、7は前回のA/D変換データを格納する第2A/D 変換データレジスタ、8は上記2つのA/D変換データレジスタの内容より算出 したA/D変換データ変化量と比較されるA/D変換基準変化量を格納するA/ D変換基準変化量レジスタ、9はデータバス、10はタイマー、11は割り込み 信号である。0010 In the figure, 1 is the input analog signal, 2 is the A/D converter, and 3 is the D/A converter. 4 is a comparator, 5 is a control unit, and 6 is a first unit that stores A/D conversion data. A/D conversion data register, 7 is the second A/D that stores the previous A/D conversion data. Conversion data register 8 is calculated from the contents of the above two A/D conversion data registers. A/D conversion reference change amount to be compared with the A/D conversion data change amount. D conversion reference change amount register, 9 is data bus, 10 is timer, 11 is interrupt It's a signal.

【0011】 A/D変換したデータは順次第1A/D変換データレジスタ6に格納するとと もに、前回のA/D変換したデータは第2A/D変換データレジスタ7に格納す る。A/D変換を行うごとに、A/D変換データレジスタ6,7の差を求め、A /D変換基準変化量レジスタ8の内容との比較を行う。比較した結果により、割 り込み信号11を出力する。[0011] The A/D converted data is sequentially stored in the 1A/D conversion data register 6. In addition, the previous A/D converted data is stored in the second A/D converted data register 7. Ru. Every time A/D conversion is performed, the difference between A/D conversion data registers 6 and 7 is calculated, and A/D conversion is performed. A comparison is made with the contents of the /D conversion reference change amount register 8. Depending on the comparison results, The input signal 11 is output.

【0012】0012

【考案の効果】[Effect of the idea]

以上詳細に説明したように、本考案によれば、A/D変換したデータの単位時 間あたりの変化量を求め、基準A/D変換変化量との比較を行い、その結果によ って自動的に割り込み信号を出力することにより、ソフトウェアの処理を省き、 入力電圧の急激な変化にもすばやく対応でき、きめ細かな制御を可能とするマイ クロコンピュータを得ることができるものである。本考案は、エアコンやファン ヒータの温度検知等、A/D変換データの急激な変化を検知し、制御したり、安 全装置を働かせたりするのに有効である。 As explained in detail above, according to the present invention, the unit time of A/D converted data is Calculate the amount of change between By automatically outputting interrupt signals, software processing can be omitted, A microphone that can quickly respond to sudden changes in input voltage and enables fine-grained control. It is possible to obtain a black computer. This invention is suitable for air conditioners and fans. Detects sudden changes in A/D conversion data such as heater temperature detection, and performs control and safety functions. Effective for making all devices work.

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

【図1】本考案の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【符号の説明】 1 アナログ信号 2 A/Dコンバータ 3 D/Aコンバータ 4 コンパレータ 5 制御部 6 第1A/D変換データレジスタ 7 第2A/D変換データレジスタ 8 A/D変換基準変化量レジスタ 9 データバス 10 タイマー 11 割り込み信号[Explanation of symbols] 1 Analog signal 2 A/D converter 3 D/A converter 4 Comparator 5 Control section 6 1st A/D conversion data register 7 2nd A/D conversion data register 8 A/D conversion reference change amount register 9 Data bus 10 Timer 11 Interrupt signal

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 A/D変換回路を内蔵したマイクロコン
ピュータに於いて、A/D変換したデータの単位時間あ
たりの変化量を算出する手段と、該手段により算出され
た変化量と基準変化量との比較を行う手段と、該手段に
よる比較結果に応じて割り込み信号を出力する手段とを
設けて成ることを特徴とするマイクロコンピュータ。
Claim 1: In a microcomputer with a built-in A/D conversion circuit, means for calculating the amount of change per unit time of A/D converted data, and the amount of change calculated by the means and the reference amount of change. 1. A microcomputer comprising: means for performing a comparison with the results of the comparison, and means for outputting an interrupt signal in accordance with the comparison result by the means.
JP589791U 1991-02-14 1991-02-14 micro computer Pending JPH04104369U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP589791U JPH04104369U (en) 1991-02-14 1991-02-14 micro computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP589791U JPH04104369U (en) 1991-02-14 1991-02-14 micro computer

Publications (1)

Publication Number Publication Date
JPH04104369U true JPH04104369U (en) 1992-09-08

Family

ID=31736801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP589791U Pending JPH04104369U (en) 1991-02-14 1991-02-14 micro computer

Country Status (1)

Country Link
JP (1) JPH04104369U (en)

Similar Documents

Publication Publication Date Title
JPH04104369U (en) micro computer
JP2714651B2 (en) Counter circuit
JPH0415488B2 (en)
JPS6137805Y2 (en)
JPH0277748U (en)
JPS6042378Y2 (en) waveform storage device
JPH054038Y2 (en)
JPS62107304A (en) Programmable controller
JP2000018961A (en) Method for detecting vibration constituent, device for detecting vibration components, and program storage medium
Lin et al. Research on a synchronous reluctance drive system
JPH0821867B2 (en) Measuring value converter for measuring instruments
JPS58117529U (en) Analog/digital conversion function diagnostic device
JPS5929238Y2 (en) Digital differential analyzer with interrupt circuit
JPH0214152U (en)
JPS6131917B2 (en)
JPH064801U (en) High speed setting controller
JPH034314A (en) Touch panel position detector
JPS58171512U (en) air conditioner
JPS6119853U (en) calculator
JPS6041833U (en) flame detection device
JPH0592763U (en) IC tester pin control circuit
JPS60214121A (en) Analog-digital converter
JPH01156633U (en)
JPS5875430U (en) Transformer abnormality detection device
JPH03169105A (en) Ac signal output device