JPH02740B2 - - Google Patents

Info

Publication number
JPH02740B2
JPH02740B2 JP58099709A JP9970983A JPH02740B2 JP H02740 B2 JPH02740 B2 JP H02740B2 JP 58099709 A JP58099709 A JP 58099709A JP 9970983 A JP9970983 A JP 9970983A JP H02740 B2 JPH02740 B2 JP H02740B2
Authority
JP
Japan
Prior art keywords
information
schedule
address
ram area
stored
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.)
Expired - Lifetime
Application number
JP58099709A
Other languages
Japanese (ja)
Other versions
JPS59225478A (en
Inventor
Ichiro Fukuoka
Hideaki Koyama
Hitoshi Takase
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP58099709A priority Critical patent/JPS59225478A/en
Priority to GB08414069A priority patent/GB2141565B/en
Publication of JPS59225478A publication Critical patent/JPS59225478A/en
Publication of JPH02740B2 publication Critical patent/JPH02740B2/ja
Granted legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00—Program-control systems
    • G05B19/02—Program-control systems electric
    • G05B19/04—Program control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042—Program control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426—Programming the control sequence
    • G—PHYSICS
    • G05—CONTROLLING; REGULATING
    • G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00—Program-control systems
    • G05B2219/20—Pc systems
    • G05B2219/26—Pc applications
    • G05B2219/2642—Domotique, domestic, home control, automation, smart house

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、家庭内の電気機器、例えば電子レン
ジ等の調理器やエアコン、或いはテレビジヨン等
を制御したり、家庭内に置かれた防犯監視装置、
火災感知器、降雨探知器等の各種のセンサーから
の情報に基づくモニタリング動作を行つたり、或
いは家庭行事、スケジユール等の記録を行うホー
ムコントローラに関する。
[Detailed Description of the Invention] (a) Field of Industrial Application The present invention is applicable to controlling domestic electrical equipment such as a microwave oven, a cooker such as an air conditioner, or a television set. crime prevention monitoring device,
The present invention relates to a home controller that performs monitoring operations based on information from various sensors such as fire detectors and rain detectors, or records household events, schedules, etc.

(ロ) 従来技術 家庭内で用いられるホームコントローラは例え
ば特開昭58−60331号公報に示される如く、家庭
内の電気機器を集中的に制御したり、モニタリン
グ動作を行なうものである。
(b) Prior Art A home controller used in the home centrally controls and monitors electrical equipment in the home, as disclosed in, for example, Japanese Unexamined Patent Publication No. 58-60331.

近年においては上記機能に加えて、法事や子供
の運動会の行事ごととか、家人、親戚の誕生日と
か、家人個人毎の予定、スケジユール等(以下単
にスケジユールと略す)の記録、読み出し表示等
(以下スケジユール動作と称す)を行う事の出来
るものが提案されている。
In recent years, in addition to the above functions, functions such as memorial services and children's sports days, birthdays of family members and relatives, and individual family schedules and schedules (hereinafter simply referred to as schedules) can be recorded, read out, and displayed (hereinafter simply referred to as schedules). A device capable of performing a scheduled operation has been proposed.

このようなスケジユール動作をするにあたつ
て、各スケジユールの日付、内容等の情報は
RAMに記憶されることとなる。具体的には、
各々のスケジユールの具体的な内容を示す内容情
報(例;「5月9日=誕生日」という8文字を符
号化した情報)を第1RAM領域に記憶させると
共に、各々のスケジユールに対応する内容情報の
記憶場所を示すアドレス情報や、その内容情報の
データ量(バイト数)を示すデータ量情報等のシ
ステム情報を第2RAM領域に記憶させている。
When performing such schedule operations, information such as the date and content of each schedule is
It will be stored in RAM. in particular,
Content information indicating the specific content of each schedule (e.g. information encoded with 8 characters such as "May 9th = birthday") is stored in the first RAM area, and content information corresponding to each schedule is stored. System information such as address information indicating the storage location of the memory and data amount information indicating the data amount (number of bytes) of the content information is stored in the second RAM area.

ところがこれらRAM内に記憶された情報は、
電源電池の電圧が低下したり、あるいは静電気、
雷等の原因でノイズが発生することにより、誤つ
た情報に変化してしまうことがある。
However, the information stored in these RAMs is
The voltage of the power supply battery may drop, or static electricity may
Noise generated by lightning or other causes may result in incorrect information.

仮に、第1RAM領域に記憶された内容情報が
誤つた情報に変化した場合には、スケジユール機
能を実行しても、表示されるスケジユール自体は
誤つたものになりはするものの、ホームコントロ
ーラの機械自体に不都合が発生することはない。
例えば「誕生日」の符号のうち「日」を示す符号
が「年」を示す符号に変化したとしても、表示さ
れるスケジユールが「誕生年」と誤つたものにな
るだけである。
If the content information stored in the first RAM area changes to incorrect information, even if you execute the schedule function, the displayed schedule itself will be incorrect, but the home controller machine itself No inconvenience will occur.
For example, even if the code indicating the ``day'' of the ``birthday'' code changes to the code indicating the ``year,'' the displayed schedule will simply be incorrectly displayed as the ``year of birth.''

ところが第1RAM領域の見出しとなるシステ
ム情報(第2RAM領域に記憶されている)が誤
つた内容に変化してしまうと、例えば読み出され
るべきスケジユール情報のデータ量として「8」
が記憶されているべきところの情報が誤つた値
「1000」(スケジユール1項目当りのデータ量の上
限を超えた大きな値)に変化していたりした場
合、第1RAM領域からの読み出し動作を正常に
行なうことができず、ホームコントローラ自体を
構成する中央処理装置(CPU)が暴走してしま
い、機械自体が故障してしまう虞れがあつた。
However, if the system information (stored in the second RAM area) that serves as the heading for the first RAM area changes to incorrect content, for example, the amount of schedule information to be read may be "8".
If the information that should be stored has changed to the incorrect value "1000" (a large value that exceeds the upper limit of the amount of data per schedule item), read operations from the first RAM area will not be performed normally. The central processing unit (CPU) that makes up the home controller itself would run out of control, and there was a risk that the machine itself would break down.

(ハ) 発明の目的 本発明は第2RAM領域に記憶されたシステム
情報をスケジユール動作に先立つてチエツクし、
システムの暴走によるホームコントローラの故障
を防止することを目的とするものである。
(c) Purpose of the Invention The present invention checks the system information stored in the second RAM area prior to scheduled operation,
The purpose of this is to prevent failure of the home controller due to system runaway.

(ニ) 発明の構成 本発明のホームコントローラは、 複数のスケジユール情報の具体的な内容情報を
記憶する第1RAM領域と、個々のスケジユール
情報の上記第1RAM領域内での記憶場所を示す
アドレス情報や上記スケジユール情報各々の内容
情報のデータ量を示すデータ量情報など前記第
1RAM領域の見出しとなるシステム情報を記憶
する第2RAM領域と、第2RAM領域に記憶され
たシステム情報の誤りの有無をチエツクするチエ
ツク手段とを備え、 スケジユールモードに於てはそのスケジユール
動作に先立つて上記第2RAM領域に記憶された
システム情報を上記チエツク手段にてチエツク
し、誤りが無い場合にのみスケジユール動作を行
ない、誤りが有る場合には初期化を行う事を特徴
とするものである。
(d) Structure of the Invention The home controller of the present invention includes a first RAM area that stores specific content information of a plurality of schedule information, and address information indicating the storage location of each schedule information within the first RAM area. The above-mentioned data amount information indicating the data amount of each content information of the above-mentioned schedule information, etc.
It is equipped with a second RAM area that stores system information that serves as a heading for one RAM area, and a check means that checks whether there is an error in the system information stored in the second RAM area. The system information stored in the second RAM area is checked by the checking means, and a scheduling operation is performed only when there is no error, and initialization is performed when there is an error.

(ホ) 実施例 第1図は本発明ホームコントローラの外観図で
あり、1はホームコントローラ本体、2は該本体
1上に載置されたCRTを用いたキヤラクタデイ
スプレイで、通常のテレビジヨン受像機であつて
も良い。3はホームコントローラ本体1に各種の
情報を入力する為のキーボード、4はホームコン
トローラ本体1にて制御される電子レンジ等の調
理器である。尚、本体1の裏面には第2図で示す
如く、調理器4以外の電気機器、例えば電気釜と
か、扇風機等をタイマーコントロールするタイマ
ーアウトレツト5と、火災報知器、降雨検出器、
防犯検出器、或いはガス検知器等のセキユリテイ
制御の為の各種のセンサー入力端子6、並びに温
度プローブ入力端子7が設けられている。
(E) Embodiment FIG. 1 is an external view of the home controller of the present invention, where 1 is the home controller main body, 2 is a character display using a CRT placed on the main body 1, and is used to receive ordinary television images. It's okay to be a machine. 3 is a keyboard for inputting various information to the home controller main body 1; 4 is a cooking device such as a microwave oven controlled by the home controller main body 1; As shown in FIG. 2, on the back side of the main body 1, there are a timer outlet 5 for timer control of electrical equipment other than the cooker 4, such as an electric kettle, an electric fan, etc., a fire alarm, a rain detector,
Various sensor input terminals 6 for security control such as a crime prevention detector or gas detector, and a temperature probe input terminal 7 are provided.

第3図は上記キーボード3の構成を示したもの
で、10はモニターキー、11はタイマーキー、
12はメニユーキー、13はセレクトキー、14
はリストキー、15は材料キー、16は手順キ
ー、17はスタートキー、18はストツプキー、
19はカレンダーキー、20はトウデイキー、2
1はトウモロウキー、22は検索キー、23は登
録キー、24は継続キー、25はエンターキー、
26は文字キー列、27は数字キー列で、12〜
18は調理に関連するキー、19〜23はスケジ
ユール関係の機能選択キーである。
FIG. 3 shows the configuration of the keyboard 3, in which 10 is a monitor key, 11 is a timer key,
12 is the menu key, 13 is the select key, 14
is the list key, 15 is the material key, 16 is the procedure key, 17 is the start key, 18 is the stop key,
19 is the calendar key, 20 is the today key, 2
1 is the Tomorrow key, 22 is the Search key, 23 is the Registration key, 24 is the Continue key, 25 is the Enter key,
26 is a character key string, 27 is a numeric key string, 12~
18 is a key related to cooking, and 19 to 23 are function selection keys related to schedule.

第4図に本発明ホームコントローラの構成をブ
ロツク図で示す。
FIG. 4 shows a block diagram of the configuration of the home controller of the present invention.

30は中央処理装置(CPU)であり、コント
ローラ全体の制御を司どる。31は時計回路で、
充電式の電池回路32にてバツテリバツクアツプ
されており、月、日、曜日、時、分、秒の時計デ
ータをカウントし、CPU30に対して時計デー
タが読み書きされる。33はこの電池回路にてバ
ツクアツプされているRAM、34は同じく
RAMであるが、このRAM34はバツテリーバ
ツクアツプされていない。35はROMで、この
ROM35と上記2組のRAM33,34にて主
記憶装置が構成されている。36は補助記憶装置
を構成しているROMで、本発明ホームコントロ
ーラシステムのアドレス空間の不足分を補うもの
である。37はデータ転送制御回路で、主記憶装
置から外部回路へ、逆に外部回路から主記憶装置
へのデータ転送、或いは主記憶装置と補助記憶装
置相互間のデータ転送等が制御される。38は
ROM36及びデータ転送制御回路37を制御す
るインタフエイスで、ROM36のデータを
RAM34に転送する際ROM36の先頭アドレ
スを与え、データ転送回路37に転送開始信号を
出力する。尚、この転送が開始されるとその転送
が終了するまでROM36のアドレスの更新を繰
り返えす。39は表示制御回路で、RAM34の
特定領域を区画したV―RAM領域から転送され
て来る文字コードを表示する順序で取り出し、逐
次文字パターンROM40に送り出す。従つて
CPU30が任意のデータを表示させる場合には、
そのデータをこのV―RAM領域に導入するだけ
で良い事になる。この文字パターンROM40の
任意のアドレスには予め任意の文字パターンが格
納されており、表示制御回路39からの文字コー
ドをアドレスとしてそのアドレスに格納されてい
るデータを並直変換回路41に出力する。従つて
この並直変換回路41は文字パターンROM40
から送られて来る並列文字データを直列の映像信
号に変換してキヤラクタデイスプレイ等の表示装
置2に出力する。3は第1図、第3図に示したキ
ーボードでCPU30が該キーボード3の状態を
検知する際はインタフエイス43が介在する。4
は第1図で示した電子レンジ等の調理器、44は
該調理器を制御するインタフエイスで、CPU3
0から調理器4へキーコードを出力したり、
CPU30が調理器の動作情報を得る時等に介在
する。45はタイマー出力制御回路、46は各種
のセンサー47からの入力信号検知回路、48は
A/D変換回路で、温度プローブ49からの入力
信号をデイジタル値に変換する。50はデータバ
ス、51はアドレスバス、52はコントロールバ
ス、を夫々示している。
30 is a central processing unit (CPU), which controls the entire controller. 31 is a clock circuit,
The clock data is backed up by a rechargeable battery circuit 32, counts the month, date, day of the week, hour, minute, and second, and reads and writes the clock data to and from the CPU 30. 33 is the RAM backed up by this battery circuit, 34 is the same
Although it is a RAM, this RAM 34 is not backed up by a battery. 35 is ROM, this
The ROM 35 and the two sets of RAMs 33 and 34 constitute a main storage device. 36 is a ROM constituting an auxiliary storage device, which compensates for the lack of address space in the home controller system of the present invention. A data transfer control circuit 37 controls data transfer from the main memory device to the external circuit, conversely from the external circuit to the main memory device, or data transfer between the main memory device and the auxiliary memory device. 38 is
An interface that controls the ROM 36 and the data transfer control circuit 37 and transfers the data in the ROM 36.
When transferring to the RAM 34, the start address of the ROM 36 is given, and a transfer start signal is output to the data transfer circuit 37. Note that once this transfer is started, the address of the ROM 36 can be repeatedly updated until the transfer is completed. Reference numeral 39 denotes a display control circuit which takes out the character codes transferred from the V-RAM area, which is a partitioned specific area of the RAM 34, in the order in which they are to be displayed, and sequentially sends them to the character pattern ROM 40. accordingly
When the CPU 30 displays arbitrary data,
All you have to do is introduce that data into this V-RAM area. An arbitrary character pattern is stored in advance at an arbitrary address in the character pattern ROM 40, and the character code from the display control circuit 39 is used as an address, and the data stored at that address is output to the parallel-to-serial conversion circuit 41. Therefore, this parallel-to-serial conversion circuit 41 converts the character pattern ROM 40
The parallel character data sent from the controller is converted into a serial video signal and output to a display device 2 such as a character display. 3 is the keyboard shown in FIGS. 1 and 3, and when the CPU 30 detects the state of the keyboard 3, an interface 43 intervenes. 4
1 is a cooking device such as a microwave oven shown in FIG. 1; 44 is an interface for controlling the cooking device;
Output the key code from 0 to cooker 4,
The CPU 30 intervenes when obtaining operation information of the cooking device. 45 is a timer output control circuit, 46 is an input signal detection circuit from various sensors 47, and 48 is an A/D conversion circuit that converts the input signal from the temperature probe 49 into a digital value. 50 represents a data bus, 51 represents an address bus, and 52 represents a control bus.

斯る構成に於て、主記憶装置のROM35の一
部にホームコントローラのシステムプログラムが
格納され、残りの部分には補助記憶装置のROM
36にアクセスする為のパラメータ及びその他の
定数が格納される。RAM34はプログラムの作
業領域として使用される。システムの電源がオフ
されても登録されたスケジユール等のデータはバ
ツテリバツクアツプされているRAM33に格納
される。
In such a configuration, a part of the ROM 35 of the main storage device stores the system program of the home controller, and the remaining part stores the ROM 35 of the auxiliary storage device.
Parameters and other constants for accessing 36 are stored. RAM 34 is used as a program work area. Even when the power of the system is turned off, data such as registered schedules are stored in the RAM 33 backed up by the battery.

第5図は本発明ホームコントローラの状態遷移
図であり、この図をもとに本発明ホームコントロ
ーラシステムの動作を説明する。
FIG. 5 is a state transition diagram of the home controller of the present invention, and the operation of the home controller system of the present invention will be explained based on this diagram.

本発明システムはキーボード3からの入力信号
に依つて種々の情報を表示装置2で表示するもの
で、これ等の表示はシステムプログラムの状態を
表わす。システムの状態をモードを呼ぶ事にする
と、この第5図は各モード間の関連を示す事とな
る。同図に於て、M0は基本モニターモード、M
1はタイマーモード、M2はメニユーモード、M
3はセレクトモード、M4はリストモード、M5
は材料モード、M6は手順モード、M7はカレン
ダーモード、M8はトウデイモード、M9はトウ
モロウモード、M10は検索モード、M11は登
録モードである。
The system of the present invention displays various information on the display device 2 in response to input signals from the keyboard 3, and these displays represent the status of the system program. If the state of the system is called a mode, then FIG. 5 will show the relationship between each mode. In the figure, M0 is the basic monitor mode, M
1 is timer mode, M2 is menu mode, M
3 is select mode, M4 is list mode, M5
is the material mode, M6 is the procedure mode, M7 is the calendar mode, M8 is the today mode, M9 is the tomorrow mode, M10 is the search mode, and M11 is the registration mode.

本システムは電源投入後は各種の初期設定を行
つた後、モニターモードM0に自動的に到達す
る。このモニタモードM0に於ては、現在時刻表
示、日付け表示、温度表示、タイマーの設定状態
表示、スケジユールの有無の表示等の表示が行わ
れる(第6図)。このモニタモードM0はシステ
ムの使用者にとつて一目で諸情報を認識する事が
出来る。タイマーモードM1は第7図に示す如
く、タイマーのセツト、リセツトが可能で、具体
的には任意のチヤンネルを指定し、オン条件、オ
フ条件(オン時刻、オフ時刻)を設定する事に依
つてタイマーのオン/オフが可能となる。
After the power is turned on, this system performs various initial settings and then automatically reaches monitor mode M0. In this monitor mode M0, displays such as the current time, date, temperature, timer setting status, and whether or not there is a schedule are displayed (FIG. 6). This monitor mode M0 allows the system user to recognize various information at a glance. As shown in Fig. 7, the timer mode M1 allows the timer to be set and reset by specifying any channel and setting the on condition and off condition (on time, off time). The timer can be turned on/off.

メニユーモードM2から手順モードM6までは
調理器4に依る調理関連モードである。
Menu mode M2 to procedure mode M6 are cooking-related modes that depend on cooking appliance 4.

カレンダーモードM7では第8図に示す如く、
表示装置4で表示されている日付を包含する月の
カレンダーを表示する。尚この時継続キー24が
操作されると、翌月のカレンダーが表示される。
トウデイモードM8及びトウモロウモウドM9で
は夫々当日、及び翌日のスケジユールを表示す
る。検索のモードM10及び登録モードM11は
夫々スケジユールの検索及び登録のモードであ
る。尚登録されるスケジユールデータはバツテリ
バツクアツプされたRAM33に格納される。
In calendar mode M7, as shown in Figure 8,
A calendar for the month including the date displayed on the display device 4 is displayed. If the continuation key 24 is operated at this time, the calendar for the next month will be displayed.
Today mode M8 and Tomorrow mode M9 display the schedule for the current day and the next day, respectively. The search mode M10 and registration mode M11 are schedule search and registration modes, respectively. The schedule data to be registered is stored in the battery backed up RAM 33.

次に各モード間の移行手順を記す。モニタモー
ドM0からタイマーモードM1への移行はキーボ
ード3のタイマーキー11の操作にて行なわれ、
またモニタモードM0への複帰はモニターキー1
0の操作にて行なわれる。カレンダーモードM7
へはカレンダーキー19の操作で移行し、同様に
トウデイモードM8、トウモロウモードM9、検
索モードM10並びに登録モードM11への移行
は、トウデイキー20、トウモロウキー21、検
索キー22及び登録キー23にて移行する。
Next, the transition procedure between each mode will be described. The transition from monitor mode M0 to timer mode M1 is performed by operating the timer key 11 on the keyboard 3.
Also, to return to monitor mode M0, press monitor key 1.
This is done with 0 operations. Calendar mode M7
, by operating the calendar key 19, and similarly, by operating the today mode M8, tomorrow mode M9, search mode M10, and registration mode M11, by operating the today key 20, tomorrow key 21, search key 22, and registration key 23. Transition.

第9図は本発明ホームコントローラの主要部の
構成を示しており、60は制御装置で、第4図の
CPU30がこれに該当する。61は比較回路、
62はアドレス発生回路、63は第1の一時記憶
レジスタ、64は第2の一時記憶レジスタであ
る。また65はスケジユール情報を記憶する
RAMであり、これは第4図におけるRAM33
が該当する。このRAM65は既述の如く電池回
路32によりバツテリバツクアツプされており、
その内容は第10図のメモリマツプに示す如き構
成となつている。
FIG. 9 shows the configuration of the main parts of the home controller of the present invention, and 60 is a control device, which is shown in FIG.
This corresponds to CPU 30. 61 is a comparison circuit;
62 is an address generation circuit, 63 is a first temporary storage register, and 64 is a second temporary storage register. 65 also stores schedule information.
This is RAM33 in Figure 4.
is applicable. As mentioned above, this RAM 65 is battery backed up by the battery circuit 32.
The contents are structured as shown in the memory map of FIG.

第10図のメモリマツプにつき以下に説明す
る。RAM65のアドレスaの領域には、既にホ
ームコントローラに入力されRAM65に貯えら
れたスケジユール全登録数を示すスケジユール数
カウンタSCCNTRが記憶されている。これは1
バイト(8ビツト)の情報で構成されている。
The memory map shown in FIG. 10 will be explained below. In the area of address a of the RAM 65, a schedule number counter SCCNTR indicating the total number of registered schedules already input to the home controller and stored in the RAM 65 is stored. This is 1
It consists of byte (8 bits) of information.

アドレスf〜gのSCRAM領域には、各スケジ
ユールの具体的な内容に日付を付した内容情報が
記憶されており、このSCRAM領域が第1RAM領
域に相当する。
The SCRAM area at addresses f to g stores content information in which the specific content of each schedule is attached with a date, and this SCRAM area corresponds to the first RAM area.

アドレスcの領域には、次に登録されるスケジ
ユールの内容情報が記憶されるべきSCRAM領域
のアドレスを指示するポインタ、即ちシステム情
報の一つであるSCRNXが記憶されている。
In the area of address c, a pointer indicating the address of the SCRAM area where the content information of the schedule to be registered next is to be stored, that is, SCRNX, which is one of the system information, is stored.

アドレスd〜eのDMYST領域は、スケジユ
ール全登録数だけの小領域に分かれ、各々の小領
域には夫々1個のスケジユール情報に対応してい
るアドレス情報、データ量情報が記憶されてい
る。例えばアドレスd,d2,d3(ここでd2=d+
1,d3=d2+1である)からなる小領域におい
て、アドレスdに記憶されたdateはあるスケジユ
ールの日付を示し、アドレスd2に記憶されたadd
はそのスケジユールの内容が記憶されたSCRAM
領域のアドレスを示し(アドレス情報)、アドレ
スd3に記憶されたtcはそのスケジユールの内容情
報のデータ量(大きさ即ちバイト数)を示してい
る(データ量情報)。
The DMYST area of addresses d to e is divided into small areas corresponding to the total number of registered schedules, and each small area stores address information and data amount information corresponding to one piece of schedule information. For example, addresses d, d 2 , d 3 (where d 2 = d+
1, d 3 = d 2 + 1), the date stored at address d indicates the date of a certain schedule, and the add stored at address d 2
is the SCRAM in which the contents of the schedule are stored.
It shows the address of the area (address information), and the tc stored at address d3 shows the data amount (size, ie number of bytes) of the content information of the schedule (data amount information).

アドレスbには次に登録されるスケジユールの
内容情報に対応するdate,add,tcが記憶される
べきDMYST領域のアドレスを指示するポイン
タ、即ちシステム情報の一つであるDMYNXが
記憶されている。
At address b, a pointer indicating the address of the DMYST area where date, add, and tc corresponding to the content information of the schedule to be registered next are to be stored, that is, DMYNX, which is one of the system information, is stored.

即ち、これらのSCCNTR,DMYNX,
SCRNXと、DMYST領域に記憶されたadd及び
tcがシステム情報であり、RAM65のアドレス
a〜eの領域が第2RAM領域に相当する。
That is, these SCCNTR, DMYNX,
SCRNX, add and stored in DMYST area
tc is system information, and the area of addresses a to e of the RAM 65 corresponds to the second RAM area.

次に第11図のフローチヤートを参照しつつ、
本発明によるRAM内のシステム情報のチエツク
動作を説明する。
Next, referring to the flowchart in Figure 11,
The operation of checking system information in RAM according to the present invention will be explained.

スケジユールモードが選択されるとスケジユー
ル動作に先立つて以下の処理がなされる。
When the schedule mode is selected, the following processing is performed prior to the schedule operation.

まず、アドレス発生回路62にSCCNTRのア
ドレスaをセツトし(A)、サブルーチン(SUB)
に移る。このサブルーチン(SUB)に於ては、
RAM65のうちアドレス発生回路62で指定さ
れるアドレス(ここではa)に記憶された値(こ
こではスケジユール全登録数SCCNTR)を第1
の一時記憶レジスタ63に格納し(S1)、比較回
路61に依つて第1の一時記憶レジスタ63の値
をチエツクする。ここでのチエツクは、アドレス
aの記憶内容が、RAM65の記憶容量等の制約
により決められた登録可能なスケジユールの上限
数(C0;例えば60)内に納まつているか否かを
判断する。このチエツク(判断)の結果により(B)
の分岐を行なう。即ち、上限数(C0)内におさ
まつていない場合には、RAM65の記憶内容に
誤りが含まれているのであるから、RAM65の
記憶内容等を全て初期化し(R)、他の処理に移
る。
First, address a of SCCNTR is set in the address generation circuit 62 (A), and the subroutine (SUB) is executed.
Move to. In this subroutine (SUB),
The value (here, the total schedule registration number SCCNTR) stored in the address (here, a) specified by the address generation circuit 62 in the RAM 65 is
The data is stored in the first temporary storage register 63 (S1), and the comparison circuit 61 checks the value of the first temporary storage register 63. The check here determines whether the stored contents of address a are within the upper limit number of registrable schedules (C0; for example, 60) determined by constraints such as the storage capacity of the RAM 65. Based on the result of this check (judgment) (B)
branch. In other words, if the number is not within the upper limit (C0), the memory contents of the RAM 65 contain an error, so all the memory contents of the RAM 65 are initialized (R) and other processing is not performed. Move.

上限数内におさまつている場合にはアドレス発
生回路62にDMYNXが記憶されているアドレ
スbをセツトし(C)、サブルーチン(SUB)に移
る。ここで実行されるこのサブルーチンでは、ア
ドレス発生回路62で指定されるアドレス(即ち
b)に記憶されたDMYNXの内容(即ち次に登
録されるスケジユール内容に対応するdate,
add,tcが記憶されるべきDMYST領域のアドレ
ス)がDMYST領域の最終番地(C1=e)内に
あるか否かを判断する。このチエツク(判断)の
結果により(D)の分岐を行なう。即ち最終番地C1
(=e)内におさまつていない場合にはRAM6
5の記憶内容に誤りが含まれているのであるか
ら、さきと同様に初期化を行なう(R)。
If the number is within the upper limit, address b where DMYNX is stored is set in the address generation circuit 62 (C), and the process moves to a subroutine (SUB). In this subroutine executed here, the contents of DMYNX (i.e., the date, which corresponds to the schedule contents to be registered next,
It is determined whether the address of the DMYST area where add, tc should be stored is within the final address (C1=e) of the DMYST area. Depending on the result of this check (judgment), branching (D) is performed. That is, the final address C1
(=e) If it does not fall within RAM6
Since the memory contents of 5 contain an error, initialization is performed in the same way as before (R).

最終番地C1内におさまつている場合には、ア
ドレス発生回路62にSCRNXのアドレスcをセ
ツトし(E)、サブルーチン(SUB)にジヤンプす
る。ここではアドレスcに記憶されたSCRNXの
内容(即ち次に登録されるスケジユール情報が記
憶されるべきSCRAM領域のアドレス)が
SCRAM領域の最終番地(C2=g)内にあるか
否かを判断する。このチエツク(判断)の結果に
より(F)の分岐を行なう。即ち最終番地C2(=g)
内におさまつていない場合にはRAM65の記憶
内容に誤りが含まれているのであるからさきと同
様に初期化を行なう(R)。
If the address is within the final address C1, the address c of SCRNX is set in the address generation circuit 62 (E), and the process jumps to the subroutine (SUB). Here, the contents of SCRNX stored at address c (i.e., the address of the SCRAM area where the schedule information to be registered next is to be stored) are
It is determined whether it is within the final address (C2=g) of the SCRAM area. Depending on the result of this check (judgment), branch (F) is performed. That is, the final address C2 (=g)
If it does not fall within the range, it means that the memory contents of the RAM 65 contain an error, so initialization is performed in the same manner as before (R).

最終番地C2内におさまつている場合にはアド
レス発生回路62にてSCCNTRのアドレスaを
セツトし(G)、第2の一時記憶レジスタ64にアド
レス発生回路62で指定されるRAM65の値
(即ちSCCNTRの値)をセツトする(H)。
If it is within the final address C2, the address generation circuit 62 sets address a of SCCNTR (G), and the value of the RAM 65 specified by the address generation circuit 62 (i.e. SCCNTR value) (H).

続いてRAM65のDMYST領域の先頭アドレ
スdをアドレス発生回路62にセツトし(I)、サブ
ルーチン(SUB)にジヤンプして、ここで第1
の一時記憶レジスタ63の内容(即ちアドレスd
〜d2の小領域に対応するスケジユールXにおける
アドレスdに記憶されたdateの内容)が日付を意
味しているか否かを判断する。このチエツク(判
断)の結果により(J)の分岐を行なう。即ち日付を
意味しない場合には、RAM65の記憶内容に誤
りがあるのであるから、初期化を行なう(R)。
Next, set the start address d of the DMYST area of the RAM 65 in the address generation circuit 62 (I), jump to the subroutine (SUB), and here the first
The contents of the temporary storage register 63 (i.e. address d
It is determined whether the content of date stored at address d in schedule X corresponding to the small area of ~ d2 ) means a date. Depending on the result of this check (judgment), branch (J) is performed. In other words, if it does not mean a date, there is an error in the stored contents of the RAM 65, so initialization is performed (R).

日付を意味している場合には、アドレスdを指
定しているアドレス発生回路62の内容に1を加
え(K)、サブルーチン(SUB)にジヤンプする。
ここで実行されるこのサブルーチンでは、アドレ
スd2から読み出された第1の一時記憶レジスタ6
3の内容(即ちスケジユールXが記憶された
SCRAM領域のアドレス)が、SCRAM領域の最
終番地(g)内にあるか否かを判断する。このチエツ
ク(判断)の結果により(L)の分岐を行なう。即ち
最終番地(g)内におさまつていない場合にはRAM
65の記憶内容に誤りが含まれているのであるか
ら初期化を行なう(R)。
If it means a date, 1 is added to the contents of the address generation circuit 62 specifying the address d (K) and a jump is made to the subroutine (SUB).
In this subroutine executed here, the first temporary storage register 6 read from address d2
3 contents (i.e. schedule X was memorized)
SCRAM area address) is within the final address (g) of the SCRAM area. Branching (L) is performed based on the result of this check (judgment). In other words, if it is not within the final address (g), the RAM
65 contains an error, initialization is performed (R).

最終番地(g)内におさまつている場合にはアドレ
スd2を指定しているアドレス発生回路62の内
容に再び1を加え(M)、再度サブルーチン
(SUB)にジヤンプする。ここで実行されるこの
サブルーチンでは、アドレスd3から読み出された
第1の一時記憶レジスタ63の内容(即ちスケジ
ユールXの内容を表すスケジユール情報のデータ
量(バイト数))が、スケジユールの一項目当り
の登録可能なデータ量の上限(C3)内におさま
つているか否かを判断する。このチエツク(判
断)の結果により(N)の分岐を行なう。即ち一
項目当りのデータ量の上限(C3)におさまつて
いない場合にはRAM65の記憶内容に誤りが含
まれているのであるから初期化を行なう(R)。
If the address is within the final address (g), 1 is again added to the contents of the address generation circuit 62 specifying the address d2 (M), and the process jumps to the subroutine (SUB) again. In this subroutine executed here, the contents of the first temporary storage register 63 read from address d3 (that is, the data amount (number of bytes) of schedule information representing the contents of schedule X) are one item of schedule. It is determined whether the amount of data that can be registered per hit is within the upper limit (C3). Depending on the result of this check (judgment), branching (N) is performed. That is, if the amount of data per item is not within the upper limit (C3), it means that the stored contents of the RAM 65 contain an error, so initialization is performed (R).

以上の動作によりスケジユール1項目の情報の
チエツクが終了し、記憶内容に誤りがある場合に
は初期化がなされている。誤りがない場合には、
記憶されている他のスケジユール項目のチエツク
が以上の動作を繰り返すことによりなされる。即
ち第2の一時記憶レジスタ64に格納されている
スケジユールの全登録数から1を減じてそれが0
となつたかを判断し(O)、その判断の結果によ
り(P)の分岐を行なう。即ち減じた結果が0で
なければ、d3を指定しているアドレス発生回路6
2の内容に1を加え、次のスケジユールデータの
チエツクを行なう。減じた結果が0になれば、そ
れは全登録スケジユールデータのチエツクが終了
したことであるので、他の処理を行なう。以上の
全登録スケジユールデータのチエツクの結果、
RAM65が記憶した全データに異常がなけれ
ば、この他の処理としてスケジユール内容の表示
などのスケジユール動作を行なうのである。
By the above-described operations, checking of the information of one schedule item is completed, and if there is an error in the stored contents, initialization has been performed. If there are no errors,
Other stored schedule items are checked by repeating the above operations. That is, 1 is subtracted from the total number of registered schedules stored in the second temporary storage register 64, and the result becomes 0.
(O), and depending on the result of that judgment, branch (P) is performed. In other words, if the result of subtraction is not 0, the address generation circuit 6 that specifies d3
Add 1 to the contents of 2 and check the next schedule data. If the result of the subtraction becomes 0, this means that all registered schedule data has been checked, so other processing is performed. As a result of checking all registered schedule data above,
If there is no abnormality in all the data stored in the RAM 65, scheduling operations such as displaying schedule contents are performed as other processing.

(ヘ) 発明の効果 本発明によれば、スケジユール動作に先立つ
て、第2RAM領域に記憶されたシステム情報の
誤りがチエツクされ、第2RAM領域のシステム
情報に誤りが無い場合にのみスケジユール動作が
行なわれ、ノイズ等によつて発生した誤つたシス
テム情報があればこれらRAM等の初期化が行な
われる。従つてスケジユール動作の信頼性が高ま
ると共に、システムの暴走を完全に防止する事が
出来る。
(f) Effects of the Invention According to the present invention, prior to the scheduled operation, errors in the system information stored in the second RAM area are checked, and the scheduled operation is performed only when there is no error in the system information in the second RAM area. If there is erroneous system information caused by noise or the like, these RAMs and the like are initialized. Therefore, the reliability of the scheduled operation is increased, and runaway of the system can be completely prevented.

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

第1図は本発明ホームコントローラの外観図、
第2図はその背面図、第3図はキーボードの上面
図、第4図は本発明ホームコントローラの内部構
成を示すブロツク図、第5図は状態遷移図、第6
図〜第8図はスケジユール関係モードに於ける表
示画面図、第9図は本発明の主要部の構成を示す
ブロツク図、第10図はRAMの内容表図、第1
1図は本発明の動作説明の為のフローチヤートで
あつて、1はホームコントローラ本体、2はデイ
スプレイ、3はキーボード、61は比較回路、6
2はアドレス発生回路、63,64は一時記憶レ
ジスタ、65はRAM、を夫々示している。
FIG. 1 is an external view of the home controller of the present invention.
FIG. 2 is a rear view thereof, FIG. 3 is a top view of the keyboard, FIG. 4 is a block diagram showing the internal configuration of the home controller of the present invention, FIG. 5 is a state transition diagram, and FIG.
8 to 8 are display screen diagrams in the schedule related mode, FIG. 9 is a block diagram showing the configuration of the main part of the present invention, FIG. 10 is a RAM content table diagram, and FIG.
Figure 1 is a flowchart for explaining the operation of the present invention, in which 1 is the main body of the home controller, 2 is the display, 3 is the keyboard, 61 is the comparison circuit, 6
Reference numeral 2 indicates an address generation circuit, 63 and 64 temporary storage registers, and 65 a RAM.

Claims (1)

【特許請求の範囲】 1 家庭内の各種の電気機器を制御する制御機
能、家庭内に置かれた各種のセンサーからの情報
にもとづきその情報に対応する指令を発するモニ
タリング機能或いは家庭行事、家人毎のスケジユ
ール等の記録を行うスケジユール機能とかの複数
の機能を集中的に司どるホームコントローラに於
て、 複数のスケジユール情報の具体的な内容情報を
記憶する第1RAM領域と、個々のスケジユール
情報の上記第1RAM領域内での記憶場所を示す
アドレス情報や上記スケジユール情報各々の内容
情報のデータ量を示すデータ量情報など前記第
1RAM領域の見出しとなるシステム情報を記憶
する第2RAM領域と、該第2RAM領域に記憶さ
れたシステム情報の誤りの有無をチエツクするチ
エツク手段とを備え、 スケジユールモードに於てはそのスケジユール
動作に先立つて上記第2RAM領域に記憶された
システム情報を上記チエツク手段にてチエツク
し、誤りが無い場合にのみスケジユール動作を行
ない、誤りが有る場合には初期化を行う事を特徴
としたホームコントローラ。
[Scope of Claims] 1. A control function that controls various electrical devices in the home, a monitoring function that issues commands corresponding to the information based on information from various sensors placed in the home, or a function that controls various household events and household members. In a home controller that centrally controls multiple functions such as a schedule function that records schedules, etc., there is a first RAM area that stores specific content information of multiple pieces of schedule information, and a first RAM area that stores the specific content information of multiple pieces of schedule information. The address information indicating the storage location in the first RAM area and the data amount information indicating the data amount of the content information of each of the above schedule information, etc.
It is equipped with a second RAM area that stores system information that serves as a heading for one RAM area, and a check means that checks whether there is an error in the system information stored in the second RAM area, and in the schedule mode, the system information is checked prior to the scheduled operation. The home controller is characterized in that the system information stored in the second RAM area is checked by the checking means, and a scheduling operation is performed only when there is no error, and initialization is performed when there is an error.
JP58099709A 1983-06-03 1983-06-03 Home controller Granted JPS59225478A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP58099709A JPS59225478A (en) 1983-06-03 1983-06-03 Home controller
GB08414069A GB2141565B (en) 1983-06-03 1984-06-01 Home controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58099709A JPS59225478A (en) 1983-06-03 1983-06-03 Home controller

Publications (2)

Publication Number Publication Date
JPS59225478A JPS59225478A (en) 1984-12-18
JPH02740B2 true JPH02740B2 (en) 1990-01-09

Family

ID=14254596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58099709A Granted JPS59225478A (en) 1983-06-03 1983-06-03 Home controller

Country Status (1)

Country Link
JP (1) JPS59225478A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS621275U (en) * 1985-06-13 1987-01-07
JP2001330253A (en) * 2000-05-19 2001-11-30 Sharp Corp Microwave system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57164397A (en) * 1981-04-02 1982-10-08 Kuroi Electric Co Ltd Disaster prevention information marking apparatus
JPS5860331A (en) * 1981-10-07 1983-04-09 Hitachi Ltd home information system

Also Published As

Publication number Publication date
JPS59225478A (en) 1984-12-18

Similar Documents

Publication Publication Date Title
US7232075B1 (en) Thermostat system with touchscreen with user interfaces or operational algorithms via a remote correspondent
US4343990A (en) Heating apparatus safety device using voice synthesizer
US7801646B2 (en) Controller with programmable service event display mode
JPH07118826B2 (en) Building management system
US4650970A (en) Simultaneous display of net and gross weight of food in a heating appliance
AU3467784A (en) Electronic timeswitch
EP3287708B1 (en) Air conditioning system
JPH0122946B2 (en)
JPS59225478A (en) Home controller
JPS59225477A (en) Home controller
JPS6032088B2 (en) gas cooker
GB2141565A (en) Home controller
JPS59225479A (en) Home controller
JPS6019276A (en) Home controller
JPS6130110Y2 (en)
JP2001290532A (en) Power generation operation management system, power generation operation system general operation management device, and storage medium
JP3067166B2 (en) Digital controller
JPS59195033A (en) Controlling system of cooking apparatus
JP3285468B2 (en) History display device of protection relay device
CN111835603A (en) Network system
JP3039042B2 (en) Data setting device
JP7558238B2 (en) Air conditioning system, air conditioning system setting method and program
JP2895551B2 (en) rice cooker
JP3007551B2 (en) Disaster prevention monitoring device
JP2813940B2 (en) Set value learning device and set value judgment device