JPH11338787A - Storage device and sunlight lighting device provided with the device - Google Patents

Storage device and sunlight lighting device provided with the device

Info

Publication number
JPH11338787A
JPH11338787A JP14673798A JP14673798A JPH11338787A JP H11338787 A JPH11338787 A JP H11338787A JP 14673798 A JP14673798 A JP 14673798A JP 14673798 A JP14673798 A JP 14673798A JP H11338787 A JPH11338787 A JP H11338787A
Authority
JP
Japan
Prior art keywords
eeprom
storage device
data
microcomputer
power failure
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
JP14673798A
Other languages
Japanese (ja)
Inventor
Tetsuo Miyamoto
哲雄 宮本
Tadashi Yamaguchi
正 山口
Masami Tadenuma
正巳 蓼沼
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 JP14673798A priority Critical patent/JPH11338787A/en
Publication of JPH11338787A publication Critical patent/JPH11338787A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy

Abstract

PROBLEM TO BE SOLVED: To provide a storage device and a sunlight lighting device provided with the device with which the number of times of write into an EEPROM is reduced and the service life of the EEPROM is prolonged. SOLUTION: This storage device is provided with a solar battery 7, EEPROM 62, power failure discriminating device 64, and microcomputer 60 having a read/write function for reading/writing prescribed data to the EEPROM 62 and a reload discriminating function for discriminating whether it is necessary to reload data in the EEPROM 62 or not. When a sunlight lighting device 50 is provided with this storage device, maintenance work can be remarkably reduced and production costs can be suppressed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、書き換えが可能な
不揮発性メモリーを用いた記憶装置及びこの記憶装置を
備えた太陽光採光装置に係り、特に、この不揮発性メモ
リーの寿命を延ばし、メンテナンス作業を軽減した記憶
装置及び太陽光採光装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device using a rewritable nonvolatile memory and a solar lighting device provided with the storage device, and more particularly to extending the life of the nonvolatile memory and performing maintenance work. The present invention relates to a storage device and a solar lighting device in which the above is reduced.

【0002】[0002]

【従来の技術】電源を切っても内容が保存される不揮発
性メモリーは、記憶内容の書き換え方法の違いにより次
のように分類される。作製プロセス時にマスクパターン
によってデータが書き込まれ、その後、記憶内容を変更
できないマスクROM、専用の書き込み機を使って一度
だけデータの書き込みが可能なPROM、紫外線照射に
よる記憶内容の一括消去、再書き込みが可能なEPRO
M、更に、電気的に1バイトずつ書き込み・消去が可能
なEEPROM(ELECTRICAL ERASABLE PROGRAMABLE RE
AD ONLY MEMORY)である。
2. Description of the Related Art Non-volatile memories that retain their contents even when the power is turned off are classified as follows depending on the method of rewriting the stored contents. During the manufacturing process, data is written using a mask pattern. After that, the contents of the mask ROM cannot be changed. The PROM can be written only once using a dedicated writer. Possible EPRO
M, and EEPROM (ELECTRICAL ERASABLE PROGRAMABLE RE)
AD ONLY MEMORY).

【0003】通常、この不揮発性メモリー、特にEEP
ROMは、マイクロコンピュータを用いた装置等におい
て、停電などでマイクロコンピュータがこの装置の運転
モード等のデータを保持できない場合等の退避として用
いられている。
Usually, this nonvolatile memory, especially EEP
The ROM is used as an evacuation in a device using a microcomputer or the like in a case where the microcomputer cannot hold data such as an operation mode of the device due to a power failure or the like.

【0004】EEPROMに運転モードを随時記憶させ
て、運転モードを制御するマイクロコンピュータを備え
た装置の一例として、太陽光採光装置がある。この太陽
光採光装置は、特願平9−188959号に示されてい
るように、太陽の高度・方位に応じて、採光プリズムや
太陽光反射板等の採光部の位置を制御することにより、
常時太陽光を好適な角度で採光できるようにした装置で
あるが、以下、特に、採光部として採光プリズムを用い
た太陽光採光装置について図3及び図4を用いて説明す
る。
[0004] As an example of a device provided with a microcomputer for controlling the operation mode by storing the operation mode in the EEPROM as needed, there is a solar lighting device. As shown in Japanese Patent Application No. 9-188959, this solar lighting device controls the position of a lighting unit such as a lighting prism or a solar reflector according to the altitude and azimuth of the sun.
Although the device is a device that can always take sunlight at a suitable angle, a sunlight lighting device using a lighting prism as a lighting unit will be described below with reference to FIGS. 3 and 4.

【0005】図3は、太陽光採光装置5の概略構成を示
す平面図で、図4は、同じく正面図である。図3及び図
4において、20a、20bは、太陽光採光装置5の主
要構成となる採光プリズム、30は採光プリズム20
a、20bの駆動装置、31は採光プリズム20a、2
0bの保持装置、25は配光板、12は内枠(枠体)、
13は内枠構造体、14は外枠、49は透明なドーム状
のカバーである。また、7は電源となる太陽電池で、太
陽電池7で発生した電力は、駆動装置30や後述する制
御装置等の電力源となっている。
FIG. 3 is a plan view showing a schematic configuration of the solar lighting device 5, and FIG. 4 is a front view of the same. 3 and 4, reference numerals 20a and 20b denote daylighting prisms which are the main components of the daylighting device 5, and 30 denotes a daylighting prism 20.
a, 20b drive device, 31 is a daylighting prism 20a, 2
0b, a light distribution plate, 12 an inner frame (frame),
13 is an inner frame structure, 14 is an outer frame, and 49 is a transparent dome-shaped cover. Reference numeral 7 denotes a solar cell serving as a power supply, and the electric power generated by the solar cell 7 serves as a power source for the driving device 30 and a control device described later.

【0006】図3及び図4に示すように、所定の間隔を
おいて配置された2枚の採光プリズム20a、20bに
照射された太陽光は、これらの採光プリズム20a、2
0bにより好適な角度で配光板25を介して建物室内に
誘導される。採光プリズム20a、20bの駆動装置3
0は、図示は省略したが、駆動ローラ、電動機、電動機
を制御する制御装置、及び制御装置に制御指令を与える
設定装置等を内蔵しており、先ず、太陽の高度・方位等
の状態を検出する太陽光状態検出装置(図示せず)から
の検出出力が設定装置に与えられる。次に、設定装置の
駆動指令を受けて、制御装置の制御信号により、電動機
を介して駆動ローラを回転させ、採光プリズム20a、
20bの回転位置が常に太陽光を好適な角度で採光でき
る位置となるように調整される。
As shown in FIG. 3 and FIG. 4, sunlight radiated to two light-collecting prisms 20a and 20b arranged at a predetermined interval is separated from the light-collecting prisms 20a and 20b.
0b is guided into the building room via the light distribution plate 25 at a suitable angle. Driving device 3 for daylighting prisms 20a and 20b
Although 0 is not shown, it incorporates a drive roller, an electric motor, a control device for controlling the electric motor, a setting device for giving a control command to the control device, and the like. A detection output from a sunlight state detecting device (not shown) is supplied to a setting device. Next, in response to a drive command of the setting device, the drive roller is rotated via a motor by a control signal of the control device, and the lighting prism 20a,
The rotation position of 20b is adjusted so that it can always take sunlight at a suitable angle.

【0007】また、この従来の太陽光採光装置では、採
光プリズムの回転位置や現在日時、太陽の位置等のデー
タや、電動機を制御する運転モードのデータ等は、停電
などの場合において、制御装置を兼ねているマイクロコ
ンピュータがこれらのデータを保持できなくなるときの
退避として、随時、EEPROM等の不揮発性メモリー
に書き込みを行う。
In this conventional solar lighting apparatus, data such as the rotational position of the lighting prism, the current date and time, the position of the sun, and the data of the operation mode for controlling the electric motor are stored in the control device in the case of a power failure. When the microcomputer also serving as a storage device can no longer hold these data, the data is written to a nonvolatile memory such as an EEPROM as needed.

【0008】次に、この従来の太陽光採光装置におい
て、EEPROMに所定のデータを書き込む過程を図5
を用いて説明する。図5は従来の太陽光採光装置におい
て、EEPROMに所定データを書き込む過程を示すフ
ローチャートである。図5に示すように、図3、図4に
示す太陽光採光装置5において、駆動装置30に内蔵さ
れる図示しないマイクロコンピュータ等の制御装置で
は、太陽光採光装置の運転開始後、STARTで示すよ
うにEEPROMへの所定データの書き込みを開始し
(ST1)、制御装置に備えられた図示しない温度測定
機能による温度を読み込み、温度データをEEPROM
に書き込む(ST2)。次に、EEPROMに書き込ま
れていた日時カウントを補正し(ST3)、同じく時刻
データを修正する(ST4)。
Next, in this conventional solar lighting device, a process of writing predetermined data into the EEPROM will be described with reference to FIG.
This will be described with reference to FIG. FIG. 5 is a flowchart showing a process of writing predetermined data to an EEPROM in a conventional solar lighting device. As shown in FIG. 5, in the solar lighting device 5 shown in FIGS. 3 and 4, a control device such as a microcomputer (not shown) built in the driving device 30 shows START after the operation of the solar lighting device is started. As described above, the writing of predetermined data to the EEPROM is started (ST1), the temperature is read by a temperature measurement function (not shown) provided in the control device, and the temperature data is stored in the EEPROM.
(ST2). Next, the date / time count written in the EEPROM is corrected (ST3), and the time data is similarly corrected (ST4).

【0009】このように図5に示すST2乃至ST4の
過程を、所定時間毎に繰り返すことにより、これらのデ
ータがEEPROMに書き込まれ、停電時におけるマイ
クロコンピュータ等の制御装置の退避に用いられる。そ
して、停電回復後に、不揮発性メモリーに書き込まれて
いたデータに基づいて、運転モードデータ等の復帰を行
うようにしている。
By repeating the steps ST2 to ST4 shown in FIG. 5 at predetermined time intervals, these data are written into the EEPROM and used for evacuation of a control device such as a microcomputer at the time of a power failure. After the recovery from the power failure, the operation mode data and the like are restored based on the data written in the nonvolatile memory.

【0010】[0010]

【発明が解決しようとする課題】ところで、上述した太
陽光採光装置以外においても、停電時のデータ保護のた
めに、不揮発性メモリーを用いる装置があるが、停電が
頻繁に発生する装置においては、頻繁に書き込みを行う
必要があり、不揮発性メモリーの寿命が短くなるという
問題があった。また、所定時間おきに不揮発性メモリー
にデータの書き換えを行うようにしている装置では、デ
ータを書き換える必要があるか否かの判断機能がないの
で、不必要なデータ書き換えが行われる場合があり、こ
れも不揮発性メモリーの寿命低下の原因ともなってい
る。特に、電源に太陽電池を用いるような装置において
は、天候等の気象条件により、太陽電池の供給電力が大
きく変化し、頻繁に停電状態となるので、短いサイクル
でデータの書き換えを行う必要があり不揮発性メモリー
の寿命が短くなるという問題が深刻となる。
By the way, other than the above-mentioned solar lighting device, there is a device using a non-volatile memory to protect data at the time of a power failure. There is a problem that frequent writing is required and the life of the nonvolatile memory is shortened. Further, in a device that rewrites data in a non-volatile memory at predetermined time intervals, there is no function of determining whether or not data needs to be rewritten, so that unnecessary data rewriting may be performed. This also causes a reduction in the life of the nonvolatile memory. In particular, in an apparatus that uses a solar cell as a power supply, the power supplied to the solar cell greatly changes due to weather conditions such as the weather, and the power is frequently shut down. Therefore, it is necessary to rewrite data in a short cycle. The problem that the life of the nonvolatile memory is shortened becomes serious.

【0011】また、不揮発性メモリーに頻繁にアクセス
すると、制御用のマイクロコンピュータ等が暴走してし
まうという危険性が増大するという問題もある。更に、
不揮発性メモリーの寿命が短いと、このメモリーを利用
している装置のメンテナンスが過大となる。特に、建物
の屋根等に取り付けられる太陽光採光装置ではこのメン
テナンス作業が大きな負担となり、維持コストが増大す
るという問題が発生する。また、不揮発性メモリーに頻
繁に書き込みを行うと、このメモリーを用いている装置
の消費電力量が増大し、特に、電力源に太陽電池を用い
る場合には太陽電池の面積を大きくしなければならず、
製造コストが増大するという問題もある。
Further, if the non-volatile memory is frequently accessed, there is a problem that the danger that the control microcomputer or the like goes out of control increases. Furthermore,
If the life of the non-volatile memory is short, maintenance of a device using this memory becomes excessive. In particular, in a solar lighting device mounted on a roof or the like of a building, this maintenance work becomes a heavy burden, and a problem that maintenance costs increase. Also, frequent writing to a non-volatile memory increases the power consumption of a device using this memory, and particularly when a solar cell is used as a power source, the area of the solar cell must be increased. Without
There is also a problem that the manufacturing cost increases.

【0012】本発明は、EEPROM等の不揮発性メモ
リーへの書き込み回数を減らし、不揮発性メモリーの寿
命を延ばした記憶装置及びこの記憶装置を備えた太陽光
採光装置を提供することを目的とするものである。
An object of the present invention is to provide a storage device in which the number of times of writing to a non-volatile memory such as an EEPROM is reduced and the life of the non-volatile memory is extended, and a solar lighting device provided with the storage device. It is.

【0013】[0013]

【課題を解決するための手段】本発明の記憶装置は、上
記課題を解決するために、請求項1に記載のものでは、
不揮発性メモリーと、停電判別装置と、前記不揮発性メ
モリーに所定のデータを読み書きする読み書き機能と、
前記不揮発性メモリーにデータの書き換えをする必要が
あるかあるか否かを判別する書き換え判別機能とを有す
るマイクロコンピュータとを備えるように構成した。こ
のように構成すると、上記マイクロコンピュータの書き
換え判別機能により、書き換えが必要であると判断され
た場合だけ不揮発性メモリーに書き込みを行うようにす
ることができるようになるので、不必要な書き込みを防
止し、従来の不揮発性メモリーを用いた装置よりも書き
込み回数を減らすことができ、不揮発性メモリーの寿命
を延ばし、メンテナンス作業を軽減した記憶装置とする
ことができる。また、不揮発性メモリーにアクセスする
回数を減らすことができるので、制御用のマイクロコン
ピュータ等が暴走してしまうという危険性を低減し、消
費電力量の増大を防止することができる。
According to a first aspect of the present invention, there is provided a storage device according to the first aspect.
A nonvolatile memory, a power failure determination device, a read / write function of reading / writing predetermined data from / to the nonvolatile memory,
A microcomputer having a rewrite determination function of determining whether or not the non-volatile memory needs to rewrite data. With this configuration, it is possible to perform writing to the nonvolatile memory only when it is determined that rewriting is necessary by the rewriting determination function of the microcomputer, thereby preventing unnecessary writing. However, the number of times of writing can be reduced as compared with a device using a conventional nonvolatile memory, the life of the nonvolatile memory can be extended, and a storage device with reduced maintenance work can be provided. Further, since the number of times of accessing the non-volatile memory can be reduced, the danger that a control microcomputer or the like goes out of control can be reduced, and an increase in power consumption can be prevented.

【0014】請求項2に記載の記憶装置では、EEPR
OMと、停電判別装置と、前記EEPROMに所定のデ
ータを読み書きする読み書き機能と、前記EEPROM
にデータの書き換えをする必要があるかあるか否かを判
別する書き換え判別機能とを有するマイクロコンピュー
タとを備えるように構成した。請求項1に記載の記憶装
置に用いる不揮発性メモリーの具体例としてEEPRO
Mを用いたもので、このように構成すると、EEPRO
Mの寿命を延ばし、メンテナンス作業を軽減した記憶装
置とすることができる。また、請求項1に記載したもの
と同様に、制御用のマイクロコンピュータ等が暴走して
しまうという危険性を低減し、消費電力量の増大を防止
することができる。
In the storage device according to the second aspect, the EEPR
An OM, a power failure determination device, a read / write function for reading / writing predetermined data from / to the EEPROM,
And a microcomputer having a rewrite determination function of determining whether or not data needs to be rewritten. EEPRO as a specific example of the nonvolatile memory used in the storage device according to claim 1
M, and with this configuration, EEPRO
It is possible to provide a storage device in which the life of M is extended and maintenance work is reduced. Further, as in the case of the first aspect, the danger that the control microcomputer or the like goes out of control can be reduced, and an increase in power consumption can be prevented.

【0015】請求項3に記載の記憶装置では、上記記憶
装置の電力供給源として、太陽電池を用いるように構成
した。このように構成すると、気象条件により電力供給
量が激しく変化する太陽電池を用いた場合でも、好適な
記憶装置とすることができる。
In the storage device according to the third aspect, a solar cell is used as a power supply source of the storage device. With such a configuration, a suitable storage device can be obtained even when a solar cell whose power supply amount varies greatly depending on weather conditions is used.

【0016】請求項4に記載の太陽光採光装置では、太
陽光を採光する採光部と、この採光部を駆動する駆動装
置と、前記採光部を太陽の位置に応じた適正な位置とな
るように前記駆動装置を制御する制御装置とを備えた太
陽光採光装置と、不揮発性メモリーと、停電判別装置
と、前記不揮発性メモリーに所定のデータを読み書きす
る読み書き機能と、前記不揮発性メモリーにデータの書
き換えをする必要があるかあるか否かを判別する書き換
え判別機能とを有するマイクロコンピュータとを備えた
記憶装置とを備えるように構成した。このように構成す
ると、上記書き換え判別機能により、必要とされた場合
だけ不揮発性メモリーに書き込みを行うようになるの
で、従来のものよりも書き込み回数を減らすことがで
き、不揮発性メモリーの寿命を延ばした太陽光採光装置
とすることができる。また、太陽光採光装置は建物の屋
根等のメンテナンスが困難な場所に設置される場合が多
く、不揮発性メモリーの寿命が延びることにより、太陽
光採光装置のメンテナンス作業の負担を軽減することが
できる。更に、制御用のマイクロコンピュータ等が暴走
してしまうという危険性を低減し、消費電力量の増大を
防止することができ、製造コストを削減することができ
る。
According to a fourth aspect of the present invention, there is provided a daylighting device for lighting a daylight, a driving device for driving the daylighting portion, and a position where the daylighting portion is properly positioned in accordance with the position of the sun. A solar lighting device including a control device for controlling the driving device, a nonvolatile memory, a power failure determination device, a read / write function of reading / writing predetermined data from / to the nonvolatile memory, and data from / to the nonvolatile memory. And a storage device having a microcomputer having a function of determining whether rewriting is necessary or not. With this configuration, the above-described rewriting determination function allows writing to the nonvolatile memory only when needed, so that the number of times of writing can be reduced as compared with the conventional one, and the life of the nonvolatile memory can be extended. In addition, it can be a solar lighting device. In addition, the solar lighting device is often installed in a place where maintenance is difficult, such as a roof of a building, and the life of the nonvolatile memory is extended, so that the burden of maintenance work on the solar lighting device can be reduced. . Furthermore, the danger that the control microcomputer or the like may run away can be reduced, an increase in power consumption can be prevented, and manufacturing costs can be reduced.

【0017】請求項5に記載の太陽光採光装置は、太陽
光を採光する採光部と、前記採光部を駆動する駆動装置
と、前記採光部を太陽の位置に応じた適正な位置となる
ように前記駆動装置を制御する制御装置とを備えた太陽
光採光装置と、EEPROMと、停電判別装置と、前記
EEPROMに所定のデータを読み書きする読み書き機
能と、前記EEPROMにデータの書き換えをする必要
があるかあるか否かを判別する書き換え判別機能とを有
するマイクロコンピュータとを備えた記憶装置とを備え
るように構成した。このように構成すると、請求項4に
記載されたものと同様に、EEPROMの寿命を延ば
し、メンテナンス作業の負担を軽減し、制御用のマイク
ロコンピュータ等が暴走してしまうという危険性を低減
し、消費電力量の増大を防止した太陽光採光装置とする
ことができる。
According to a fifth aspect of the present invention, there is provided a daylighting device for lighting a daylight, a driving device for driving the daylighting portion, and a position where the daylighting portion is properly positioned in accordance with the position of the sun. It is necessary to rewrite data in the EEPROM, a sunlight lighting device having a control device for controlling the driving device, an EEPROM, a power failure determination device, a read / write function of reading / writing predetermined data in the EEPROM, And a storage device having a microcomputer having a rewrite determination function of determining whether or not there is a rewrite. With this configuration, the life of the EEPROM can be extended, the burden of maintenance work can be reduced, and the danger of the control microcomputer running out of control can be reduced, as in the fourth embodiment. A solar lighting device in which an increase in power consumption is prevented can be provided.

【0018】請求項6に記載の太陽光採光装置では、上
記太陽光採光装置の電力源として、太陽電池を用いるよ
うに構成した。このように構成すると、気象条件により
電力供給量が激しく変化する太陽電池を用いた場合で
も、好適な太陽光採光装置とすることができる。
According to a sixth aspect of the present invention, a solar cell is used as a power source of the sunlight collecting apparatus. With this configuration, it is possible to provide a suitable sunlight collecting device even when using a solar cell in which the amount of power supply changes drastically depending on weather conditions.

【0019】[0019]

【発明の実施の形態】本発明の記憶装置を備えた太陽光
採光装置の一実施の形態を図1乃至図2を用いて説明す
る。図1は、本発明の記憶装置を備えた太陽光採光装置
の一実施の形態を示すブロック図、図2は、この太陽光
採光装置の作動原理を示すフローチャートである。な
お、図1において、図3及び図4に示した従来の太陽光
採光装置5と同一の構成については同一の符号を付し
て、その説明は省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of a solar lighting device provided with a storage device according to the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing an embodiment of a solar lighting device provided with a storage device of the present invention, and FIG. 2 is a flowchart showing the operation principle of the solar lighting device. In FIG. 1, the same components as those of the conventional solar lighting device 5 shown in FIGS. 3 and 4 are denoted by the same reference numerals, and description thereof will be omitted.

【0020】図1において、本実施の形態における記憶
装置を備えた太陽光採光装置50は、太陽光採光装置5
0の電力の供給源となる太陽電池7、ステッピングモー
タ等の採光プリズムの駆動装置52、この駆動装置52
の動きを制御するマイクロコンピュータ60、太陽電池
7の停電時におけるマイクロコンピュータ60に記憶さ
れている太陽光採光装置50の運転モードデータの退避
用に用いられる不揮発性メモリーとしてEEPROM6
2、太陽電池7の停電を判断する停電判別装置64を備
えた構成である。
Referring to FIG. 1, a solar lighting device 50 having a storage device according to the present embodiment is
0, a solar cell 7 serving as a power supply source, a driving device 52 for a daylighting prism such as a stepping motor,
60 as a non-volatile memory used for saving the operation mode data of the sunlight collecting device 50 stored in the microcomputer 60 when the power of the solar cell 7 is interrupted.
2. A configuration including a power failure determination device 64 that determines a power failure of the solar cell 7.

【0021】図1に示すように、太陽電池7は、マイク
ロコンピュータ60、駆動装置52、停電判別装置64
に電力を供給している。マイクロコンピュータ60は、
上記したように、駆動装置52を制御するほかに、EE
PROM62に、後述する所定のデータを書き込む書き
込み機能と、EEPROM62に書き込まれたデータを
読み込む読み込み機能とを備えている。また、マイクロ
コンピュータ60は、上述した採光プリズムの位置等の
運転モードデータについて、EEPROM62に書き込
まれたデータとマイクロコンピュータ60のCPU等に
記憶されたデータとを比較し、比較した結果EEPRO
M62のデータを書き換える必要があるか否かを判断す
る書き換え判別機能を備えている。
As shown in FIG. 1, the solar cell 7 includes a microcomputer 60, a driving device 52, and a power failure judging device 64.
Power. The microcomputer 60
As described above, in addition to controlling the driving device 52, EE
The PROM 62 has a writing function of writing predetermined data described later and a reading function of reading data written in the EEPROM 62. The microcomputer 60 compares the data written in the EEPROM 62 with the data stored in the CPU or the like of the microcomputer 60 for the operation mode data such as the position of the lighting prism described above.
A rewrite determination function is provided for determining whether the data of M62 needs to be rewritten.

【0022】以上の構成で、本実施の形態における太陽
光採光装置50の動作を図2のフローチャートを用い、
図1を参照して説明する。なお、図2では、各ステップ
をSP1、SP2、SA1〜SA6、SB1〜SB3で
示している。先ず、図1のマイクロコンピュータ60で
は、太陽光採光装置50の運転開始後、図2にSTAR
Tで示すように、不揮発性メモリーであるEEPROM
62への所定データの書き換えの判別を開始する(SP
1)。次に、図1に示す停電判別装置64により、太陽
電池7からの電力供給が停止したか、或いは所定の電力
以下となる停電状態であるか否かを判断する(SP
2)。
With the above configuration, the operation of the sunlight collecting apparatus 50 in the present embodiment will be described with reference to the flowchart of FIG.
This will be described with reference to FIG. In FIG. 2, each step is represented by SP1, SP2, SA1 to SA6, and SB1 to SB3. First, in the microcomputer 60 of FIG. 1, after the operation of the sunlight collecting device 50 is started, FIG.
As shown by T, an EEPROM which is a non-volatile memory
62 is started to determine whether the predetermined data is rewritten to the predetermined data 62 (SP
1). Next, the power failure determination device 64 shown in FIG. 1 determines whether the power supply from the solar cell 7 has stopped or is in a power failure state in which the power becomes equal to or less than a predetermined power (SP).
2).

【0023】このとき、停電状態の場合は、マイクロコ
ンピュータ60に内蔵された停電タイマー(図示せず)
をONにし、停電時間の長さのカウントを開始する(S
A1)。次に、マイクロコンピュータ60の書き換え判
別機能により、EEPROM62に書き込まれていた採
光プリズムの位置と停電時における採光プリズムの位置
とを比較して、このプリズム位置を書き換える必要があ
るかを判断する(SA2)。
At this time, in the case of a power failure state, a power failure timer (not shown) built in the microcomputer 60
Is turned on to start counting the length of the power failure time (S
A1). Next, the rewriting determination function of the microcomputer 60 compares the position of the lighting prism written in the EEPROM 62 with the position of the lighting prism at the time of the power failure to determine whether the prism position needs to be rewritten (SA2). ).

【0024】SA2において、プリズム位置を書き換え
る必要があると判断した場合は、この停電時におけるプ
リズム位置をEEPROMに書き込み(SA3)、その
後、SA4に進む。一方、SA2において、プリズム位
置を書き換える必要はないと判断した場合は、直接SA
4に進む。
If it is determined in SA2 that the prism position needs to be rewritten, the prism position at the time of the power failure is written in the EEPROM (SA3), and thereafter, the process proceeds to SA4. On the other hand, if it is determined in SA2 that the prism position does not need to be rewritten,
Proceed to 4.

【0025】次に、停電復帰した後に、SA4におい
て、マイクロコンピュータ60により、停電時間が1時
間以上か、1時間未満であるかの判断を行い、1時間未
満の場合は直接SP1のSTARTに戻る。SA4にお
いて、停電時間が1時間以上と判断された場合は、EE
PROMに日時データを書き込み(SA5)、その後、
停電カウンタをクリアし(SA6)、SP1のSTAR
Tに戻り、次の停電に備える。なお、図示による説明は
省略するが、太陽電池7の停電時におけるこれらの動作
に必要な電力は、補助バッテリー、或いは太陽電池7か
らの余剰電力を蓄えておく蓄電装置からの電力等が利用
される。
Next, after recovery from the power failure, the microcomputer 60 determines in SA4 whether the power failure time is one hour or more or less than one hour, and if less than one hour, returns directly to the START of SP1. . If it is determined in SA4 that the power outage time is one hour or longer, the EE
Write the date and time data to the PROM (SA5), and then
Clears the power failure counter (SA6), and the STAR of SP1
Return to T and prepare for the next power failure. Although not shown in the drawings, the power required for these operations at the time of a power failure of the solar cell 7 is an auxiliary battery or power from a power storage device that stores excess power from the solar cell 7 or the like. You.

【0026】一方、SP2において、停電ではないと判
断した場合は、SB1に進み、停電タイマーをOFFと
し、停電カウンタをクリアする。次に、EEPROM6
2に書き込まれていた採光プリズムの位置等の運転モー
ドが変化したかを比較し(SB2)、運転モードが変化
していない場合は、マイクロコンピュータ60の書き換
え判別機能により書き換えが必要ないと判断し、直接S
P1のSTARTに戻る。一方、運転モードが変化した
場合は、この判別機能により書き換えが必要であると判
断して、EEPROM62に運転ロードを書き込み(S
B3)、SP1のSTARTに戻り、太陽電池7の停電
に備える。
On the other hand, if it is determined in SP2 that the power failure has not occurred, the process proceeds to SB1, the power failure timer is turned off, and the power failure counter is cleared. Next, the EEPROM 6
It is determined whether the operation mode such as the position of the daylighting prism written in 2 has changed (SB2). If the operation mode has not changed, it is determined that rewriting is not necessary by the rewriting determination function of the microcomputer 60. , Directly S
It returns to START of P1. On the other hand, when the operation mode has changed, it is determined that rewriting is necessary by this determination function, and the operation load is written in the EEPROM 62 (S
B3) Return to START of SP1 to prepare for a power failure of the solar cell 7.

【0027】このように、必要な場合だけEEPROM
62に、太陽光採光装置50の運転モード等の所定のデ
ータを書き込むようにしたので、従来の太陽光採光装置
に比べて、EEPROM62にデータを書き込む回数を
大幅に減らすことが可能になり、EEPROM62の寿
命を延ばすことができる。また、太陽光採光装置50は
建物の屋根等のメンテナンスが困難な場所に設置される
場合が多く、EEPROM62等の不揮発性メモリーの
寿命が延びることにより、太陽光採光装置50のメンテ
ナンス作業の負担を軽減することができる。
As described above, the EEPROM is used only when necessary.
Since the predetermined data such as the operation mode of the sunlight collecting device 50 is written in the 62, the number of times of writing the data in the EEPROM 62 can be greatly reduced as compared with the conventional solar lighting device. Life can be extended. In addition, the solar lighting device 50 is often installed in a place where maintenance is difficult, such as a roof of a building, and the life of a nonvolatile memory such as the EEPROM 62 is extended. Can be reduced.

【0028】更に、EEPROM62にアクセスする回
数を減らすことができるので、制御用のマイクロコンピ
ュータ等が暴走してしまうという危険性を低減すること
ができるので、太陽光採光装置50のメンテナンス作業
を一層低減でき、太陽光採光装置50の信頼性を向上さ
せることができる。また、EEPROM62にアクセス
する回数が減ることにより、太陽光採光装置50の消費
電力量の増大を防止することができるので、小さな太陽
電池とすることができ、太陽光採光装置50の製造コス
トや維持コストを低減することも可能となる。
Further, since the number of times of accessing the EEPROM 62 can be reduced, the danger that the control microcomputer or the like goes out of control can be reduced, so that the maintenance work of the sunlight collecting device 50 can be further reduced. As a result, the reliability of the sunlight collecting device 50 can be improved. In addition, since the number of times of accessing the EEPROM 62 is reduced, it is possible to prevent an increase in the power consumption of the solar lighting device 50. Therefore, a small solar cell can be used, and the manufacturing cost and maintenance of the solar lighting device 50 can be reduced. Costs can also be reduced.

【0029】本発明の記憶装置は、上記実施の形態には
限定されず、種々の変更が可能である。上記実施の形態
では、本発明の記憶装置を備えた太陽光採光装置の例で
説明したが、単独の記憶装置として、これを太陽光採光
装置以外の他の装置の記憶装置としても良く、このよう
な利用態様の記憶装置も本発明に含まれることは勿論の
ことである。また、上記実施の形態では、不揮発性メモ
リーの例としてEEPROMを用いる構成のもので説明
したが、これを読み書きが可能である他の種類の不揮発
性メモリーに代えることも可能である。
The storage device of the present invention is not limited to the above embodiment, and various changes can be made. In the above embodiment, the example of the solar lighting device including the storage device of the present invention has been described. However, as a single storage device, this may be a storage device of another device other than the solar lighting device. It goes without saying that a storage device of such a use form is also included in the present invention. Further, in the above-described embodiment, the configuration in which the EEPROM is used as an example of the nonvolatile memory has been described. However, the nonvolatile memory can be replaced with another type of nonvolatile memory that can read and write.

【0030】[0030]

【発明の効果】本発明の記憶装置は、上記のように構成
したために、以下のような優れた効果を有する。 (1)請求項1に記載したように構成すると、マイクロ
コンピュータの書き換え判別機能により、書き換えが必
要であると判断された場合だけ不揮発性メモリーに書き
込みを行うようにすることができるようになるので、不
必要な書き込みを防止し、従来の不揮発性メモリーを用
いた装置よりも書き込み回数を減らすことができ、不揮
発性メモリーの寿命を延ばし、メンテナンス作業を軽減
した記憶装置とすることができる。 (2)また、不揮発性メモリーにアクセスする回数を減
らすことができるので、制御用のマイクロコンピュータ
等が暴走してしまうという危険性を低減し、消費電力量
の増大を防止することができる。
The storage device according to the present invention has the following excellent effects because it is configured as described above. (1) With the configuration as described in claim 1, the rewriting determination function of the microcomputer enables writing to the nonvolatile memory only when it is determined that rewriting is necessary. In addition, unnecessary writing can be prevented, the number of times of writing can be reduced as compared with a conventional device using a nonvolatile memory, the life of the nonvolatile memory can be extended, and a storage device with reduced maintenance work can be provided. (2) Further, since the number of times of accessing the non-volatile memory can be reduced, the danger that a control microcomputer or the like goes out of control can be reduced, and an increase in power consumption can be prevented.

【0031】(3)請求項2に記載したように構成する
と、EEPROMの寿命を延ばし、メンテナンス作業を
軽減した記憶装置とすることができる。 (4)また、請求項1に記載したものと同様に、制御用
のマイクロコンピュータ等が暴走してしまうという危険
性を低減し、消費電力量の増大を防止することができ
る。
(3) With the configuration as described in claim 2, it is possible to extend the life of the EEPROM and reduce the maintenance work. (4) As in the case of the first aspect, it is possible to reduce the danger that the control microcomputer or the like goes out of control, and to prevent an increase in power consumption.

【0032】(5)請求項3に記載したように、記憶装
置の電力供給源として、太陽電池を用いるように構成す
ると、気象条件により電力供給量が激しく変化する太陽
電池を用いた場合でも、好適な記憶装置とすることがで
きる。
(5) As described in the third aspect, when a solar cell is used as a power supply source of the storage device, even when a solar cell whose power supply changes drastically due to weather conditions is used, A suitable storage device can be obtained.

【0033】一方、本発明の記憶装置を備えた太陽光採
光装置は、上記のように構成したために、以下のような
優れた効果を有する。 (6)請求項4に記載したように構成すると、書き換え
判別機能により、必要とされた場合だけ不揮発性メモリ
ーに書き込みを行うようになるので、従来のものよりも
書き込み回数を減らすことができ、不揮発性メモリーの
寿命を延ばした太陽光採光装置とすることができる。 (7)また、太陽光採光装置は建物の屋根等のメンテナ
ンスが困難な場所に設置される場合が多く、不揮発性メ
モリーの寿命が延びることにより、太陽光採光装置のメ
ンテナンス作業の負担を軽減することができる。 (8)更に、制御用のマイクロコンピュータ等が暴走し
てしまうという危険性を低減し、消費電力量の増大を防
止することができ、維持コストや製造コストを削減する
ことができる。
On the other hand, the sunlight collecting device provided with the storage device of the present invention has the following excellent effects because it is configured as described above. (6) With the configuration as described in claim 4, since the rewriting determination function allows writing to the nonvolatile memory only when needed, the number of times of writing can be reduced as compared with the conventional one, A solar lighting device in which the life of the nonvolatile memory is extended can be provided. (7) In addition, the solar lighting device is often installed in a place where maintenance is difficult, such as a building roof, and the life of the nonvolatile memory is extended, thereby reducing the burden of maintenance work on the solar lighting device. be able to. (8) Further, the danger that the control microcomputer or the like goes out of control can be reduced, an increase in power consumption can be prevented, and maintenance costs and manufacturing costs can be reduced.

【0034】(9)請求項5に記載したように構成する
と、請求項4に記載されたものと同様に、EEPROM
の寿命を延ばし、メンテナンス作業の負担を軽減し、制
御用のマイクロコンピュータ等が暴走してしまうという
危険性を低減し、消費電力量の増大を防止した太陽光採
光装置とすることができる。
(9) When configured as described in claim 5, as in the case of claim 4, an EEPROM is provided.
, The burden on maintenance work is reduced, the danger of a control microcomputer or the like running out of control is reduced, and an increase in power consumption can be prevented.

【0035】(10)請求項6に記載したように、本発
明の記憶装置を備えた太陽光採光装置の電力源として、
太陽電池を用いるように構成すると、気象条件により電
力供給量が激しく変化する太陽電池を用いた場合でも、
好適な太陽光採光装置とすることができる。
(10) As described in claim 6, as a power source of the solar lighting device provided with the storage device of the present invention,
When configured to use solar cells, even when using solar cells whose power supply changes drastically due to weather conditions,
A suitable sunlight collecting device can be obtained.

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

【図1】本発明の記憶装置を備えた太陽光採光装置の一
実施の形態を示すブロック図である。
FIG. 1 is a block diagram illustrating an embodiment of a solar lighting device including a storage device of the present invention.

【図2】本発明の記憶装置を備えた太陽光採光装置の一
実施の形態を説明するためのフローチャートである。
FIG. 2 is a flowchart illustrating an embodiment of a solar lighting device including the storage device of the present invention.

【図3】従来の太陽光採光装置の構成を示す平面図であ
る。
FIG. 3 is a plan view showing a configuration of a conventional solar lighting device.

【図4】従来の太陽光採光装置の構成を示す側面図であ
る。
FIG. 4 is a side view showing a configuration of a conventional solar lighting device.

【図5】従来の太陽光採光装置のEEPROMに書き込
む過程を説明するためのフローチャートである。
FIG. 5 is a flowchart for explaining a process of writing data into an EEPROM of a conventional solar lighting device.

【符号の説明】[Explanation of symbols]

7:太陽電池 20a、20b:採光プリズム 50:太陽光採光装置 52:駆動装置 60:マイクロコンピュータ 62:EEPROM 64:停電判別装置 7: Solar cell 20a, 20b: Daylighting prism 50: Sunlight daylighting device 52: Driving device 60: Microcomputer 62: EEPROM 64: Power failure judgment device

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 不揮発性メモリーと、 停電判別装置と、 前記不揮発性メモリーに所定のデータを読み書きする読
み書き機能と、前記不揮発性メモリーにデータの書き換
えをする必要があるかあるか否かを判別する書き換え判
別機能とを有するマイクロコンピュータとを備えるよう
にしたことを特徴とする記憶装置。
A nonvolatile memory; a power failure determining device; a read / write function for reading / writing predetermined data from / to the nonvolatile memory; and determining whether data needs to be rewritten to / from the nonvolatile memory. And a microcomputer having a rewrite discriminating function to perform the rewriting.
【請求項2】 EEPROMと、 停電判別装置と、 前記EEPROMに所定のデータを読み書きする読み書
き機能と、前記EEPROMにデータの書き換えをする
必要があるかあるか否かを判別する書き換え判別機能と
を有するマイクロコンピュータとを備えるようにしたこ
とを特徴とする記憶装置。
2. An EEPROM, a power failure judging device, a read / write function for reading / writing predetermined data in the EEPROM, and a rewriting judgment function for judging whether or not the EEPROM needs to rewrite data. And a microcomputer having the same.
【請求項3】 上記記憶装置の電力供給源として、太陽
電池を用いるようにしたことを特徴とする請求項1又は
2に記載の記憶装置。
3. The storage device according to claim 1, wherein a solar cell is used as a power supply source of the storage device.
【請求項4】 太陽光を採光する採光部と、この採光部
を駆動する駆動装置と、前記採光部を太陽の位置に応じ
た適正な位置となるように前記駆動装置を制御する制御
装置とを備えた太陽光採光装置と、 不揮発性メモリーと、停電判別装置と、前記不揮発性メ
モリーに所定のデータを読み書きする読み書き機能と、
前記不揮発性メモリーにデータの書き換えをする必要が
あるかあるか否かを判別する書き換え判別機能とを有す
るマイクロコンピュータとを備えた記憶装置とを備える
ようにしたことを特徴とする太陽光採光装置。
4. A lighting unit for lighting sunlight, a driving device for driving the lighting unit, and a control device for controlling the driving device so that the lighting unit is at an appropriate position corresponding to the position of the sun. A non-volatile memory, a power failure determination device, a read / write function of reading / writing predetermined data from / to the non-volatile memory,
A storage device comprising: a microcomputer having a rewrite determination function of determining whether or not it is necessary to rewrite data in the non-volatile memory. .
【請求項5】 太陽光を採光する採光部と、前記採光部
を駆動する駆動装置と、前記採光部を太陽の位置に応じ
た適正な位置となるように前記駆動装置を制御する制御
装置とを備えた太陽光採光装置と、 EEPROMと、停電判別装置と、前記EEPROMに
所定のデータを読み書きする読み書き機能と、前記EE
PROMにデータの書き換えをする必要があるかあるか
否かを判別する書き換え判別機能とを有するマイクロコ
ンピュータとを備えた記憶装置とを備えるようにしたこ
とを特徴とする太陽光採光装置。
5. A lighting unit for lighting sunlight, a driving device for driving the lighting unit, and a control device for controlling the driving device so that the lighting unit is at an appropriate position according to the position of the sun. A daylighting device comprising: an EEPROM; a power failure determination device; a read / write function of reading / writing predetermined data from / to the EEPROM;
A storage device comprising: a microcomputer having a rewrite determination function of determining whether or not data needs to be rewritten in a PROM.
【請求項6】 上記太陽光採光装置の電力源として、太
陽電池を用いるようにしたことを特徴とする請求項4又
は5に記載の太陽光採光装置。
6. The solar daylighting device according to claim 4, wherein a solar cell is used as a power source of the solar daylighting device.
JP14673798A 1998-05-28 1998-05-28 Storage device and sunlight lighting device provided with the device Pending JPH11338787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14673798A JPH11338787A (en) 1998-05-28 1998-05-28 Storage device and sunlight lighting device provided with the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14673798A JPH11338787A (en) 1998-05-28 1998-05-28 Storage device and sunlight lighting device provided with the device

Publications (1)

Publication Number Publication Date
JPH11338787A true JPH11338787A (en) 1999-12-10

Family

ID=15414463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14673798A Pending JPH11338787A (en) 1998-05-28 1998-05-28 Storage device and sunlight lighting device provided with the device

Country Status (1)

Country Link
JP (1) JPH11338787A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014090549A (en) * 2012-10-29 2014-05-15 Kyocera Corp Power control device and power control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014090549A (en) * 2012-10-29 2014-05-15 Kyocera Corp Power control device and power control method

Similar Documents

Publication Publication Date Title
JP3599541B2 (en) Nonvolatile semiconductor memory device
EP1739565A1 (en) Storage system using flash memory
JP4046877B2 (en) Batch erase nonvolatile memory and mobile phone
KR100265266B1 (en) Microcomputer comprsing flash eeprom and method of erasing flash eeprom
CN102005973A (en) Solar automatic tracking controller for anchored buoy
EP0973170B1 (en) Apparatus and method for controlling electric power supply in nonvolatile memory rewriting operation
JPH11338787A (en) Storage device and sunlight lighting device provided with the device
US20050188148A1 (en) Data access controlling method in flash memory and data access controlling program
JPH09319665A (en) Data backup system for writable/readable non-volatile memory
JP4550479B2 (en) Electronic control device and data adjustment method
RU2189083C2 (en) Method and device for automatic evaluation of required high voltage for programming/erasing electrically erasable programmable semiconductor read-only memory
JPH07122087A (en) Eeprom error check system
JPH08293203A (en) Control device for sunlight lihgting
JP2002342147A (en) Nonvolatile memory device and memory control method thereof
JPH11259357A (en) Semiconductor integrated device and nonvolatile memory writing system
JP2009223449A (en) Vehicular electronic controller
JPH07315703A (en) Elevator control device
JPH06202937A (en) Nonvolatile semiconductor storage
JPH11282586A (en) Microcomputer
JPH1010461A (en) Method for obtaining origin position of lighting prism in sunlight take-in device
JPH1010462A (en) Method for obtaining origin position of lighting prism in sunlight take-in device
KR940002341B1 (en) Memory control system
US20020165621A1 (en) Method of protecting data stored in a memory of welding controller
JP3706404B2 (en) Driving method of daylighting prism in sunlight daylighting apparatus
US20060155916A1 (en) Writing uncorrupted data to electronic memory