JP2014201092A - Opening/closing member control device - Google Patents

Opening/closing member control device Download PDF

Info

Publication number
JP2014201092A
JP2014201092A JP2013076332A JP2013076332A JP2014201092A JP 2014201092 A JP2014201092 A JP 2014201092A JP 2013076332 A JP2013076332 A JP 2013076332A JP 2013076332 A JP2013076332 A JP 2013076332A JP 2014201092 A JP2014201092 A JP 2014201092A
Authority
JP
Japan
Prior art keywords
data
control
control data
opening
closing member
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
JP2013076332A
Other languages
Japanese (ja)
Inventor
照之 豊田
Teruyuki Toyoda
照之 豊田
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.)
Asmo Co Ltd
Original Assignee
Asmo 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 Asmo Co Ltd filed Critical Asmo Co Ltd
Priority to JP2013076332A priority Critical patent/JP2014201092A/en
Publication of JP2014201092A publication Critical patent/JP2014201092A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an opening/closing member control device enabling quick filling an enormous amount of data, and capable of securing redundancy and reliability.SOLUTION: An opening/closing member control device 1 includes a control part 12 having: a storage unit 12B for storing control data; a RAM12C for temporarily storing the control data read from the storage unit 12B; and a central processing unit 12A bearing the center of opening/closing control of an opening/closing member by using the control data stored in the RAM12C. The one piece of the control data is filled in as the same data row in a plurality of sectors of the storage unit 12B, and a vehicle ignition signal is read to the RAM12C as a trigger. Reading to the RAM12C is sequentially read from the plurality of sectors in the storage unit 12B before confirming that normal control data are received, and only control for a specified state is permitted when it is not confirmed that the RAM12C receives the normal control data.

Description

本発明は、開閉部材制御装置に係り、特に、車両に搭載されるものであって、制御用データの書き込み拡張性及び信頼性が向上された開閉部材制御装置に関するものである。   The present invention relates to an opening / closing member control device, and more particularly to an opening / closing member control device which is mounted on a vehicle and has improved control data writing expandability and reliability.

昨今、車両においては、開閉部材装置(パワーウインドウ装置)等の各種車両搭載機器が搭載されており、このような車両搭載機器の制御は、電子制御ユニット(以下、単に「ECU」と記す)のような制御ユニットにおいて制御されている。
この制御ユニットの製造時においては、その車両ごとに設定される基本的な初期データが、制御ユニットに搭載された記憶装置等の記憶機器に書き込まれることとなる。
このようにデータ書き込みを行うに際して、不揮発性記憶装置にデータを書き込む技術が開発されている(例えば、特許文献1参照)。
2. Description of the Related Art Recently, various types of vehicle-mounted devices such as opening / closing member devices (power window devices) are mounted in vehicles. Such vehicle-mounted devices are controlled by an electronic control unit (hereinafter simply referred to as “ECU”). It is controlled in such a control unit.
At the time of manufacturing the control unit, basic initial data set for each vehicle is written in a storage device such as a storage device mounted on the control unit.
In performing data writing in this way, a technique for writing data into a nonvolatile storage device has been developed (see, for example, Patent Document 1).

特許文献1には、不揮発性半導体記憶装置について開示されている。
特許文献1では、不揮発性半導体記憶装置のメモリアレイの一部に冗長回路用の置換情報や電気トリミング回路の調整情報を記憶させ、電源立ち上がり時等にそれらの情報をラッチ回路もしくはレジスタに転送することが開示されている。
Patent Document 1 discloses a nonvolatile semiconductor memory device.
In Patent Document 1, replacement information for a redundant circuit and adjustment information for an electric trimming circuit are stored in a part of a memory array of a nonvolatile semiconductor memory device, and the information is transferred to a latch circuit or a register when the power is turned on. It is disclosed.

特開2002−150789号JP 2002-150789 A

一方、このような従来の記憶装置においては、冗長性を持たせるために、通常、複数のデータを一つのセクタに書き込んでいた。
しかし、車両搭載機器用の制御装置である開閉部材制御装置(所謂、パワーウインドウ制御装置)のように、記憶装置等の記憶機器に書き込まれるデータ量が膨大なものとなると、複数のデータを一つのセクタに書き込む方式を採用した場合、セクタのサイズが大きいマイクロコンピュータが必要となりコストアップするなどの問題があった。
また、複数のテータを一つのセクタに書き込んでいると、そのセクタにデータエラーが生じた場合(例えば、ビット列故障、バイト故障、セクタ自体の故障等)、データ全体の読み出しが不可能となるという問題があった。
このため、故障を誘起することとなり、信頼性の確保が困難となっていた。
On the other hand, in such a conventional storage device, a plurality of data is usually written in one sector in order to provide redundancy.
However, when the amount of data written to a storage device such as a storage device becomes huge, such as an opening / closing member control device (so-called power window control device) that is a control device for a vehicle-mounted device, a plurality of data are stored together. When the method of writing in one sector is adopted, there is a problem that a microcomputer having a large sector size is required and the cost is increased.
Also, if multiple data are written in one sector, if a data error occurs in that sector (for example, bit string failure, byte failure, sector failure, etc.), it is impossible to read the entire data. There was a problem.
For this reason, a failure is induced, and it is difficult to ensure reliability.

本発明の目的は、上記各問題点を解決することにあり、膨大な量のデータをコストアップすることなく書き込むことが可能となるとともに、冗長性と信頼性を確保することが可能な開閉部材制御装置を提供することにある。   An object of the present invention is to solve each of the above-mentioned problems, and it is possible to write a huge amount of data without increasing the cost, and it is possible to ensure redundancy and reliability. It is to provide a control device.

上記課題は、本発明に係る開閉部材制御装置によれば、制御用データが格納される記憶装置と、該記憶装置から読み出された制御用データを一時的に保管するRAMと、該RAMに格納された前記制御用データを使用して開閉部材の開閉制御の中枢を担う中央処理装置と、を有して構成される制御部、を備えた開閉部材制御装置であって、一個の前記制御用データは、前記記憶装置の複数のセクタに、同一のデータ列として書き込まれており、前記記憶装置に格納された前記制御用データは、車両のイグニッション信号をトリガとして前記RAMへと読み出され、該RAMへの読み出しは、正常な前記制御用データを前記RAMが受信したことを確認するまで、前記記憶装置の複数の前記セクタより順次読み出され、前記RAMが正常な前記制御用データを受信したことが確認されない場合には、特定の状態への制御のみしか許可しないことにより解決される。   According to the opening / closing member control device according to the present invention, the above-described problem is a storage device that stores control data, a RAM that temporarily stores control data read from the storage device, and the RAM. A central processing unit that plays a central role in controlling the opening and closing of the opening and closing member using the stored control data, and a control unit configured to have one control unit The control data is written in the plurality of sectors of the storage device as the same data string, and the control data stored in the storage device is read out to the RAM using a vehicle ignition signal as a trigger. The reading to the RAM is sequentially read from the plurality of sectors of the storage device until it is confirmed that the normal control data is received by the RAM. When it has received the patronage data is not confirmed, it is solved by not allowing only a control to a particular state.

このように構成されていることにより、同一の制御用データを複数のセクタに記憶されることにより冗長性を確保するとともに、制御用データを記憶装置の各セクタからRAMへ読み出すことができる。
つまり、上位のセクタに何等かの異常が生じて制御用データが壊れている場合には、次のセクタへと順次アクセスして、正常な制御用データを読み出すためのトライアルを実行できる。
そして、正常な制御用データが確認されない場合には、特定の制御のみしか許可しないため(例えば、異常処理)、高い信頼性を確保することができる。
With this configuration, redundancy can be ensured by storing the same control data in a plurality of sectors, and the control data can be read from each sector of the storage device to the RAM.
In other words, if any abnormality occurs in the upper sector and the control data is broken, a trial for sequentially accessing the next sector and reading normal control data can be executed.
When normal control data is not confirmed, only specific control is permitted (for example, abnormal processing), so that high reliability can be ensured.

また、複数のセクタに、同一の制御用データを同時に書き込む方式であるため、従来のような、同じセクタに複数個の制御用データを書き込む方式に比して、セクタのサイズが小さくても対応でき、コストアップを抑制することができる。
記憶装置への制御用データを書き込む時間を短縮することができ、作業性が向上する。
これは、制御用データが膨大になればなるほど、効果が大きくなる。
なお、記憶装置としては、本発明の趣旨を逸脱しないものであれば、どのようなものを使用してもよいが(例えば、ROM)、使用の汎用性が高く、電源シャットダウン時においても制御用データが保持される不揮発性メモリであるデータフラッシュが好適に使用される。
In addition, since the same control data is simultaneously written in multiple sectors, it can be used even if the sector size is smaller than the conventional method of writing multiple control data in the same sector. And cost increase can be suppressed.
The time for writing control data to the storage device can be shortened, and workability is improved.
This becomes more effective as the amount of control data increases.
Any storage device may be used as long as it does not depart from the spirit of the present invention (for example, ROM). However, it is highly versatile and can be used for control even when the power is shut down. A data flash which is a nonvolatile memory in which data is held is preferably used.

具体的な制御としては、請求項2のように、前記記憶装置からの前記制御用データの読み出しは、複数の前記セクタに格納された前記データ列を一個ずつ順次対象とし、前記RAMが正常な前記情報データを受信したことが確認された時点で終了すると好ましい。
このように構成されていることにより、上位のセクタに何等かの異常が生じて制御用データが壊れている場合には、次のセクタへと順次アクセスして、正常な制御用データを読み出すことができるため、信頼性が向上する。
As specific control, as in claim 2, reading of the control data from the storage device sequentially targets the data strings stored in a plurality of sectors one by one, and the RAM is normal. It is preferable to end the process when it is confirmed that the information data has been received.
With this configuration, if some abnormalities occur in the upper sector and the control data is corrupted, the next sector is accessed sequentially and normal control data is read. Can improve reliability.

更に、請求項3のように、前記特定の状態への制御は、前記記憶装置の複数の前記セクタに格納された前記データ列を一個ずつ順次対象として読み出し、全ての前記データ列の読み出しが終了した時点で、前記RAMが正常な前記情報データを受信したことが確認されない場合に実行されると望ましい。
このように構成されていると、何らかの原因で、記憶装置全体に異常が生じているとき等に、通常動作を行わず、特定の状態(例えば、異常モード)に移行することができるため、信頼性が向上する。
Further, as in claim 3, the control to the specific state is performed by sequentially reading the data strings stored in the plurality of sectors of the storage device one by one, and reading of all the data strings is completed. This is preferably executed when it is not confirmed that the RAM has received the normal information data.
With this configuration, it is possible to shift to a specific state (for example, an abnormal mode) without performing normal operation when an abnormality occurs in the entire storage device for some reason. Improves.

本発明によると、複数のセクタに、同一の制御用データを同時に書き込むことにより冗長性を確保することとしたため、従来技術に比して、膨大な量のデータをコストアップせず迅速に書き込むことが可能となる。
また、複数のセクタに順次アクセス可能とすることにより、上位のセクタに異常があった場合には、次のセクタから正常な制御用データを読み出すことができるため、信頼性が向上する。
更に、複数のセクタから順次制御用データを読み出しても、正常な制御用データを(RAMが)取得できない場合には、通常動作は行わず、特定の状態(例えば、異常モード)に状態を移行するため、更に信頼性が向上する。
According to the present invention, redundancy is ensured by simultaneously writing the same control data to a plurality of sectors, so a huge amount of data can be written quickly without increasing the cost as compared with the prior art. Is possible.
Further, by making it possible to sequentially access a plurality of sectors, when there is an abnormality in the upper sector, normal control data can be read from the next sector, thereby improving reliability.
In addition, if normal control data cannot be acquired even after sequentially reading control data from multiple sectors, normal operation is not performed and the state is shifted to a specific state (eg, abnormal mode). Therefore, the reliability is further improved.

本発明の一実施形態に係る車両機器制御装置の電気構成図である。It is an electrical block diagram of the vehicle equipment control apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係るデータフラッシュのデータ構成概念図である。It is a data structure conceptual diagram of the data flash which concerns on one Embodiment of this invention. 本発明の一実施形態に係るマイクロコンピュータの構成とデータ通信を示す説明図である。It is explanatory drawing which shows the structure and data communication of a microcomputer which concern on one Embodiment of this invention. 本発明の一実施形態に係る開閉部材制御御装置の制御フローチャートである。It is a control flowchart of the opening-and-closing member control control device concerning one embodiment of the present invention.

以下、本発明の実施形態を図面に基づいて説明する。
なお、以下に説明する構成は本発明を限定するものでなく、本発明の趣旨の範囲内で種々改変することができるものである。
本実施形態は、膨大な量のデータをコストアップせず迅速に書き込むことが可能となるとともに、冗長性と信頼性を確保することが可能に構成された開閉部材制御装置に関するものである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Note that the configuration described below does not limit the present invention and can be variously modified within the scope of the gist of the present invention.
The present embodiment relates to an opening / closing member control device configured to be able to quickly write a huge amount of data without increasing costs and to ensure redundancy and reliability.

図1乃至図4は、本発明の一実施形態を示すものであり、図1は開閉部材制御装置の電気構成図、図2は記憶装置のデータ構成概念図、図3はマイクロコンピュータの構成とデータ通信を示す説明図、図4は開閉部材制御御装置の制御フローチャートである。   1 to 4 show an embodiment of the present invention. FIG. 1 is an electrical configuration diagram of an opening / closing member control device, FIG. 2 is a conceptual diagram of a data configuration of a storage device, and FIG. 3 is a configuration of a microcomputer. FIG. 4 is a control flowchart of the opening / closing member control device.

図1により、本実施形態に係る開閉部材制御装置1の構成について簡単に説明する。
本実施形態に係る車両(図示せず)には、開閉部材である窓ガラス(図示せず)を開閉操作するための装置としてパワーウインドウ装置Pが搭載されている。
本実施形態における開閉部材制御装置1は、このパワーウインドウ装置Pの制御中枢を担っている。
つまり、開閉部材制御装置1は、所謂「パワーウインドウ装置」と称される車載装置を制御するための制御装置である。
The configuration of the opening / closing member control apparatus 1 according to this embodiment will be briefly described with reference to FIG.
A vehicle (not shown) according to this embodiment is equipped with a power window device P as a device for opening and closing a window glass (not shown) that is an opening and closing member.
The opening / closing member control device 1 according to the present embodiment is responsible for the control center of the power window device P.
That is, the opening / closing member control device 1 is a control device for controlling a vehicle-mounted device called a “power window device”.

本実施形態に係る開閉部材制御装置1は、所謂ECU(Electronic Control Unit)であり、電源回路11、マイクロコンピュータ12、入力回路13、駆動回路14、ホールIC15、出力回路16、通信インターフェイス17を備えて構成されている。
電源回路11は、外部に備えられるバッテリ20と連結されており、マイクロコンピュータ12への給電を行う。
The opening / closing member control apparatus 1 according to this embodiment is a so-called ECU (Electronic Control Unit), and includes a power supply circuit 11, a microcomputer 12, an input circuit 13, a drive circuit 14, a Hall IC 15, an output circuit 16, and a communication interface 17. Configured.
The power supply circuit 11 is connected to a battery 20 provided outside, and supplies power to the microcomputer 12.

マイクロコンピュータ12は、制御の中枢を担うマイクロコンピュータであり、中央処理装置であるCPU12A、記憶装置であるデータフラッシュ12B、RAM12C(Random Access Memory)、必要なデータが適宜記憶されたROM12D(Read Only Memory)等を有して構成されている。
なお、マイクロコンピュータ12が「制御部」に相当する。
データフラッシュ12Bは、不揮発性メモリであり、電源シャットダウン時においても書き込まれたデータは保持される。
なお、本実施形態においては、データフラッシュ12Bを使用したが、通常のROMを使用することも可能である。
The microcomputer 12 is a microcomputer that plays a central role in control. The CPU 12A is a central processing unit, the data flash 12B is a storage device, a RAM 12C (Random Access Memory), and a ROM 12D (Read Only Memory) in which necessary data is appropriately stored. ) And the like.
The microcomputer 12 corresponds to a “control unit”.
The data flash 12B is a non-volatile memory and retains written data even when the power is shut down.
In the present embodiment, the data flash 12B is used, but a normal ROM can also be used.

駆動回路14は、マイクロコンピュータ12からの指令を外部のモータMへと伝達し、このモータMにより、公知の駆動システムを介して窓ガラス(図示せず)が昇降駆動される。
入力回路13は、外部のウインドウ操作スイッチSWからの、上昇指令UP及び下降指令DNを受信し、これをマイクロコンピュータ12へと伝達し、出力回路16はマイクロコンピュータ12からの信号をウインドウ装置スイッチSW側へと出力する。
通信インターフェイス17は、他の搭載機器制御用ECUとの通信を行うインターフェイスであり、この通信インターフェイス17を介して、イグニッション制御用ECU(図示せず)からのイグニッションオン信号及びイグニッションオフ信号が入力される。
なお、ホールIC15は、位置検出を行う。
The drive circuit 14 transmits a command from the microcomputer 12 to an external motor M, and a window glass (not shown) is driven up and down by the motor M via a known drive system.
The input circuit 13 receives the up command UP and the down command DN from the external window operation switch SW and transmits them to the microcomputer 12, and the output circuit 16 sends the signal from the microcomputer 12 to the window device switch SW. Output to the side.
The communication interface 17 is an interface that communicates with another on-board equipment control ECU, and an ignition on signal and an ignition off signal from an ignition control ECU (not shown) are input via the communication interface 17. The
The Hall IC 15 performs position detection.

図2により、本発明に係る記憶装置12Bのデータ構成を説明する。
記憶装置12Bには、パワーウインドウ装置Pの制御用データが記憶されている。
図2(a)は、本実施形態に係る記憶装置12Bのデータ構成であり、図2(b)には従来の記憶装置のデータ構成を比較のために示した。
The data structure of the storage device 12B according to the present invention will be described with reference to FIG.
Data for controlling the power window device P is stored in the storage device 12B.
FIG. 2A shows the data configuration of the storage device 12B according to the present embodiment, and FIG. 2B shows the data configuration of the conventional storage device for comparison.

図2(a)及び(b)を比較することにより、本実施形態の有効性を説明する。
本実施形態においては、図2(a)に示すように、同一の制御用データを二つのセクタに各々記録させることによって冗長性を確保する。
例えば、図示の例では、不感帯のデータを「データ1」に、閾値のデータを「データ2」に、座席位置のデータを「データ3」に・・・、というように書き込みが実施されるが、このとき、同一データをセクタ1とセクタ2とに同時に書き込む。
本例ではこのようにして冗長性を確保する。
The effectiveness of this embodiment will be described by comparing FIGS. 2 (a) and 2 (b).
In this embodiment, as shown in FIG. 2A, redundancy is ensured by recording the same control data in two sectors.
For example, in the illustrated example, the dead zone data is written as “Data 1”, the threshold value data as “Data 2”, the seat position data as “Data 3”, and so on. At this time, the same data is simultaneously written in sector 1 and sector 2.
In this example, redundancy is ensured in this way.

しかし、図2(b)に示すように、従来例では、同一セクタ内において、データ1を連続して2個書き込み、次いでデータ2を連続して2個書き込み、・・・という書き込みを繰り返す。
よって、従来例では、本実施形態のように「異なるセクタへの同時書き込みを行う方式」に比して、書き込みできるデータ数が半減する。
特に、昨今の車両搭載機器のように、制御が複雑となり、膨大な量で制御用データを書き込む必要がある場合には、この問題は顕著なものとなる。
また、図2(b)に示すように、ビット列故障やバイト故障が発生した場合、若しくはセクタ1全体が故障した場合に、データの信頼性が低下してしまうという問題点もある。
However, as shown in FIG. 2B, in the conventional example, in the same sector, two data 1 are continuously written, then two data 2 are continuously written, and so on.
Therefore, in the conventional example, the number of data that can be written is halved compared to the “method of simultaneously writing to different sectors” as in the present embodiment.
In particular, when the control becomes complicated and the control data needs to be written in an enormous amount as in recent vehicle-mounted devices, this problem becomes significant.
In addition, as shown in FIG. 2B, there is a problem that data reliability is lowered when a bit string failure or byte failure occurs or when the entire sector 1 fails.

しかし、図2(a)に示すように、本実施形態においては、セクタ1にビット列故障やバイト故障が発生した場合、若しくはセクタ1全体が故障した場合であっても、セクタ2のデータを読み出すことができれば、データの信頼性を確保することができる。   However, as shown in FIG. 2A, in the present embodiment, even when a bit string failure or byte failure occurs in the sector 1 or when the entire sector 1 fails, the data in the sector 2 is read out. If possible, the reliability of the data can be ensured.

もう少し詳しく説明すると、図3に示すように、まず、契機が生じると(本実施形態においては、イグニッションスイッチのオン又はオフ)、データフラッシュ12Bの制御用データは、RAM12Cに読み出されるが、このとき、最初はセクタ1から制御用データが読み出される。
このとき、セクタ1の制御用データが正常であればこの制御用データ(セクタ1から読み出した制御用データ)が使用されるが、この制御用データが正常ではない場合、次にセクタ2の制御用データが読み出される。
このように、本実施形態においては、制御用データの信頼性を確保可能な構成となっている。
More specifically, as shown in FIG. 3, when an opportunity occurs (in this embodiment, the ignition switch is turned on or off), the control data of the data flash 12B is read to the RAM 12C. Initially, control data is read from sector 1.
At this time, if the control data for sector 1 is normal, this control data (control data read from sector 1) is used. If this control data is not normal, then control for sector 2 is performed. Data is read out.
As described above, the present embodiment is configured to ensure the reliability of the control data.

次いで、図4(a)により、制御の流れを詳細に説明する。
なお、図4(b)に従来の制御の流れを示した。
説明は省略するが、ステップ番号の一の位の数字が、本実施形態に係る処理である図4(a)のステップ番号と対応するように、ステップ番号を付している。
この制御は、マイクロコンピュータ12に搭載されたCPU12Aにより実行される。
まず、車両のイグニッションスイッチがオンとなるか若しくはオフとなることを条件(トリガ)として、CPU12Aは処理を開始する。
処理がスタートすると、ステップS1でデータフラッシュ12BからRAM12Cへ、制御用データの読み出しを行う。
Next, the flow of control will be described in detail with reference to FIG.
FIG. 4B shows a conventional control flow.
Although description is omitted, step numbers are assigned so that the first digit of the step number corresponds to the step number of FIG. 4A which is the processing according to the present embodiment.
This control is executed by the CPU 12A mounted on the microcomputer 12.
First, the CPU 12A starts processing on the condition (trigger) that the ignition switch of the vehicle is turned on or turned off.
When the process starts, the control data is read from the data flash 12B to the RAM 12C in step S1.

本実施形態においては、上述したとおり、セクタ1及びセクタ2に同一のデータ列を記憶してある。
よって、まず、ステップS3で、上位である、データフラッシュ12Bのセクタ1にアクセスして、セクタ1に書き込まれた制御用データを読み出す。
次いで、ステップS3で、正常な制御用データがデータフラッシュ12Bのセクタ1より読み出されたか否かを判定する。
In the present embodiment, as described above, the same data string is stored in sector 1 and sector 2.
Therefore, first, in step S3, the upper level sector 1 of the data flash 12B is accessed and the control data written in the sector 1 is read.
Next, in step S3, it is determined whether normal control data has been read from the sector 1 of the data flash 12B.

ステップS3で正常な制御用データが読み出されたと判定した場合(ステップS3:Yes)、ステップS4で、通常モードへと移行して処理を終了する。
また、ステップS3で、正常な制御用データがデータフラッシュ12Bのセクタ1より読み出されていないと判定した場合(ステップS3:No)、ステップS5で、下位である、データフラッシュ12Bのセクタ2にアクセスして、セクタ2に書き込まれた制御用データを読み出す。
次いで、ステップS6で、正常な制御用データがデータフラッシュ12Bのセクタ2より読み出されたか否かを判定する。
If it is determined in step S3 that normal control data has been read (step S3: Yes), the process shifts to the normal mode in step S4 and the process is terminated.
If it is determined in step S3 that normal control data has not been read from the sector 1 of the data flash 12B (step S3: No), in step S5, the data is transferred to the sector 2 of the data flash 12B, which is the lower level. Access and read the control data written in the sector 2.
Next, in step S6, it is determined whether normal control data has been read from the sector 2 of the data flash 12B.

ステップS6で正常な制御用データが読み出されたと判定した場合(ステップS6:Yes)ステップS7で、通常モードへと移行して処理を終了する。
また、ステップS6で、正常な制御用データがデータフラッシュ12Bのセクタ2より読み出されていないと判定した場合(ステップS6:No)、ステップS8で、フェイルモードへ移行して処理を終了する。
If it is determined in step S6 that normal control data has been read (step S6: Yes), in step S7, the process shifts to the normal mode and the process ends.
If it is determined in step S6 that normal control data has not been read from the sector 2 of the data flash 12B (step S6: No), the process shifts to fail mode and ends in step S8.

このように、本実施形態においては、異なるセクタの記憶させた制御用データを順次読み出し可能とした。
よって、冗長性が確保できる。
また、正常な制御用データをRAM12Cに読み出すことができるとともに、仮に、全てのセクタから正常な制御用データが読み出せない場合には、モードをフェイルモード(異常モード)へと移行させることができるため、高い信頼性を確保することができる。
なお、本実施形態においては、同一制御用データをセクタ1とセクタ2に各々書き込んであるため、2回の読み出しトライアルに失敗するとフェイルモードに移行させることとしたが、トライアル回数は使用するセクタ数を増やすことにより増加させることができる。
Thus, in the present embodiment, control data stored in different sectors can be sequentially read.
Therefore, redundancy can be ensured.
In addition, normal control data can be read to the RAM 12C, and if normal control data cannot be read from all sectors, the mode can be shifted to the fail mode (abnormal mode). Therefore, high reliability can be ensured.
In the present embodiment, since the same control data is written in sector 1 and sector 2, respectively, the read mode is shifted to the fail mode when two read trials fail, but the number of trials is the number of sectors used. It can be increased by increasing.

1・・ECU、
11・・電源回路、
12・・マイクロコンピュータ、
12A・・CPU、12B・・データフラッシュ(記憶装置)、12C・・RAM、
12D・・ROM、
13・・入力回路、
14・・駆動回路、15・・ホールIC、16・・出力回路、
17・・通信インターフェイス、
20・・バッテリ、
M・・モータ、P・・パワーウインドウ装置、SW・・操作スイッチ
1. ・ ECU,
11 .. Power supply circuit,
12. Microcomputer,
12A, CPU, 12B, data flash (storage device), 12C, RAM,
12D · · ROM,
13. Input circuit,
14 .... Drive circuit, 15 .... Hall IC, 16 .... Output circuit,
17. Communication interface,
20. Battery
M ・ ・ Motor, P ・ ・ Power window device, SW ・ ・ Operation switch

Claims (3)

制御用データが格納される記憶装置と、
該記憶装置から読み出された制御用データを一時的に保管するRAMと、
該RAMに格納された前記制御用データを使用して開閉部材の開閉制御の中枢を担う中央処理装置と、を有して構成される制御部、
を備えた開閉部材制御装置であって、
一個の前記制御用データは、前記記憶装置の複数のセクタに、同一のデータ列として書き込まれており、
前記記憶装置に格納された前記制御用データは、車両のイグニッション信号をトリガとして前記RAMへと読み出され、
該RAMへの読み出しは、正常な前記制御用データを前記RAMが受信したことを確認するまで、前記記憶装置の複数の前記セクタより順次読み出され、
前記RAMが正常な前記制御用データを受信したことが確認されない場合には、特定の状態への制御のみしか許可しないことを特徴とする開閉部材制御装置。
A storage device for storing control data;
RAM for temporarily storing control data read from the storage device;
A central processing unit that plays a central role in the opening / closing control of the opening / closing member using the control data stored in the RAM,
An opening / closing member control device comprising:
One piece of the control data is written as the same data string in a plurality of sectors of the storage device,
The control data stored in the storage device is read into the RAM using a vehicle ignition signal as a trigger,
Reading to the RAM is sequentially read from the plurality of sectors of the storage device until it is confirmed that the RAM has received the normal control data,
When it is not confirmed that the RAM has received the normal control data, only the control to a specific state is permitted.
前記記憶装置からの前記制御用データの読み出しは、複数の前記セクタに格納された前記データ列を一個ずつ順次対象とし、前記RAMが正常な前記情報データを受信したことが確認された時点で終了することを特徴とする請求項1に記載の開閉部材制御装置。   Reading of the control data from the storage device is sequentially performed for each of the data strings stored in the plurality of sectors one by one, and is completed when it is confirmed that the RAM has received the normal information data. The opening / closing member control apparatus according to claim 1. 前記特定の状態への制御は、前記記憶装置の複数の前記セクタに格納された前記データ列を一個ずつ順次対象として読み出し、全ての前記データ列の読み出しが終了した時点で、前記RAMが正常な前記情報データを受信したことが確認されない場合に実行されることを特徴とする請求項1に記載の開閉部材制御装置。
In the control to the specific state, the data strings stored in the plurality of sectors of the storage device are sequentially read one by one, and when the reading of all the data strings is completed, the RAM is normal. The opening / closing member control apparatus according to claim 1, which is executed when it is not confirmed that the information data has been received.
JP2013076332A 2013-04-01 2013-04-01 Opening/closing member control device Pending JP2014201092A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013076332A JP2014201092A (en) 2013-04-01 2013-04-01 Opening/closing member control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013076332A JP2014201092A (en) 2013-04-01 2013-04-01 Opening/closing member control device

Publications (1)

Publication Number Publication Date
JP2014201092A true JP2014201092A (en) 2014-10-27

Family

ID=52351952

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013076332A Pending JP2014201092A (en) 2013-04-01 2013-04-01 Opening/closing member control device

Country Status (1)

Country Link
JP (1) JP2014201092A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60244648A (en) * 1984-05-17 1985-12-04 Japan Electronic Control Syst Co Ltd Control device for automobile

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60244648A (en) * 1984-05-17 1985-12-04 Japan Electronic Control Syst Co Ltd Control device for automobile

Similar Documents

Publication Publication Date Title
CN107799155B (en) Memory device including column redundancy
US10372369B2 (en) Apparatuses and methods for single level cell caching
US20090144583A1 (en) Memory Circuit
JP2007257791A (en) Semiconductor storage device
US9798600B2 (en) Semiconductor memory device
JP2009042911A (en) Memory access system
US9405620B2 (en) Data storage device and error correction method thereof
KR20180038339A (en) Semiconductor device for executing a test method checking a cell allay failure
JP4796360B2 (en) Redundant replacement method, semiconductor memory device, and information processing device
US9177672B2 (en) Methods of operating memory involving identifiers indicating repair of a memory cell
EP2965205B1 (en) Apparatus and method for controlling memory in mobile communication system
US7551498B2 (en) Implementation of column redundancy for a flash memory with a high write parallelism
KR102122880B1 (en) Semiconductor device
US20140022856A1 (en) Semiconductor device and semiconductor memory device
US10671477B2 (en) Memory device and operation method of the same
US9015463B2 (en) Memory device, memory system including a non-volatile memory configured to output a repair data in response to an initialization signal
US9064605B2 (en) Semiconductor system and method for reparing the same
JP2014201092A (en) Opening/closing member control device
KR102024661B1 (en) Nonvolatile memory device and method of reading data thereof
US20160203065A1 (en) Memory sparing on memory modules
JP2013030251A (en) Memory system
US10360105B2 (en) Semiconductor devices and semiconductor systems including the same
KR100957224B1 (en) Method and system for controling flash memory using multiple data channel in SSD
US20160231954A1 (en) Data Storage Device and Data Maintenance Method
US11200925B2 (en) Read only memory (ROM)-emulated memory (REM) profile mode of memory device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160616

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20161220