JPH11312089A - Electronic control unit - Google Patents

Electronic control unit

Info

Publication number
JPH11312089A
JPH11312089A JP11908098A JP11908098A JPH11312089A JP H11312089 A JPH11312089 A JP H11312089A JP 11908098 A JP11908098 A JP 11908098A JP 11908098 A JP11908098 A JP 11908098A JP H11312089 A JPH11312089 A JP H11312089A
Authority
JP
Japan
Prior art keywords
program
memory
rom
electronic control
compressed
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
JP11908098A
Other languages
Japanese (ja)
Inventor
Daisuke Tsunoda
田 大 祐 角
Hiroshi Ogawa
川 浩 小
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11908098A priority Critical patent/JPH11312089A/en
Publication of JPH11312089A publication Critical patent/JPH11312089A/en
Pending legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)
  • Stored Programmes (AREA)
  • Navigation (AREA)

Abstract

(57)【要約】 【課題】 メモリの容量以上のプログラムをメモリを増
設することなく格納できるようにする。 【解決手段】 納めるべきプログラムが電気的に書き換
え可能なメモリであるROM22(または読み出し専用
のメモリ)の容量を越えてしまっている場合、そのプロ
グラムの一部を圧縮してからROM22に格納し、電源
投入後にそれをDRAM23に解凍して展開して使用す
る。圧縮したプログラムの全てをDRAM23上に展開
してもよく、また使用するプログラム毎に展開して使用
してもよい。DRAM23上の展開領域を確保するため
に、不要になったプログラムはDRAM23から削除す
る。
(57) [Summary] [PROBLEMS] To enable a program having a memory capacity or more to be stored without additional memory. When a program to be stored exceeds the capacity of a ROM 22 (or a read-only memory) which is an electrically rewritable memory, a part of the program is compressed and stored in the ROM 22; After power is turned on, it is decompressed and expanded in the DRAM 23 for use. All of the compressed programs may be expanded on the DRAM 23 or may be expanded and used for each program to be used. Unnecessary programs are deleted from the DRAM 23 in order to secure a development area on the DRAM 23.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マイクロコンピュ
ータを用いて動作制御を行なう電子制御装置、特にその
プログラム格納方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control unit for controlling operation using a microcomputer, and more particularly to a program storage method for the electronic control unit.

【0002】[0002]

【従来の技術】図9は従来の電子制御装置の一例を示す
車載用走行位置表示装置の概略ブロック図である。図9
において、1は方位センサであり、自動車の相対走行方
位を検出するジャイロが使用される。2は車輪の回転数
に応じたパルスを発生する距離センサ、3はブレーキス
イッチ、パーキングスイッチなどのオン・オフ信号や電
源電圧監視用信号などの各種センサ信号である。4は方
位センサ1、距離センサ2、各種センサ信号3などのセ
ンサ信号を処理するセンサ信号処理部、5はGPS(Gl
obal PositioningSystem)レシーバであり、複数の衛星
から送信される電波を受信し演算することにより、受信
点の位置(緯度、経度)を求める。6はCD−ROMド
ライブであり、地図データが記録されたCD−ROM7
から地図データを読み出す。8は車室内に設置される表
示・操作部であり、地図および自動車の現在走行位置、
方位等を表示する液晶ディスプレイ8Aとその前面に配
置されたタッチパネル8Bとを有し、タッチパネル8B
には、表示地図の拡大、縮小などを指示するためのスイ
ッチ、径路探索を指示するスイッチ、液晶ディスプレイ
8Aに表示された地名の中から目的地を選択するスイッ
チなどを備えている。9は装置本体であり、トランクル
ームなどに配置される。
2. Description of the Related Art FIG. 9 is a schematic block diagram of a vehicle-mounted traveling position display device showing an example of a conventional electronic control device. FIG.
In the above, reference numeral 1 denotes a direction sensor, which uses a gyro for detecting a relative running direction of an automobile. Reference numeral 2 denotes a distance sensor that generates a pulse corresponding to the number of rotations of the wheels. Reference numeral 3 denotes various sensor signals such as an ON / OFF signal of a brake switch, a parking switch, and the like, and a power supply voltage monitoring signal. Reference numeral 4 denotes a sensor signal processing unit that processes sensor signals such as an azimuth sensor 1, a distance sensor 2, and various sensor signals 3, and 5 denotes a GPS (Gl).
obal Positioning System) is a receiver that receives and calculates radio waves transmitted from a plurality of satellites to determine the position (latitude and longitude) of a reception point. Reference numeral 6 denotes a CD-ROM drive, which is a CD-ROM 7 on which map data is recorded.
Read map data from. Reference numeral 8 denotes a display / operation unit installed in the vehicle compartment, which includes a map and a current traveling position of the car;
A touch panel 8B having a liquid crystal display 8A for displaying an azimuth and the like and a touch panel 8B disposed on the front surface thereof;
Is provided with a switch for instructing enlargement or reduction of the display map, a switch for instructing a route search, a switch for selecting a destination from the place names displayed on the liquid crystal display 8A, and the like. Reference numeral 9 denotes an apparatus main body, which is arranged in a trunk room or the like.

【0003】装置本体9において、10は各種の演算を
行うCPU(中央処理装置)、11はCPU10で行う
各種の演算プログラムが記憶された電気的に書き換え可
能なメモリであるROM、12は方位センサ1、距離セ
ンサ2、各種センサ信号3、GPSレシーバ5、CD−
ROMドライブ6等からのデータやCPU10での演算
結果等を記憶する随時書き換え可能なメモリであるDR
AM、13は装置本体9への電源供給が停止した際にも
必要なデータを保持しておくためのバックアップ用のメ
モリであるSRAM、14は液晶ディスプレイ8Aに表
示する文字、記号などのパターンを記憶する読み出し専
用メモリである漢字・フォントROM、15は地図デー
タや自車の現在位置データなどに基づいて表示画像を形
成するための画像プロセッサ、16はCPU10から出
力される地図データ、現在位置データおよび漢字・フォ
ントROM14から出力される町名、道路名などの漢
字、フォントを合成して液晶ディスプレイ8Aに表示す
る画像メモリであるVRAM、17はVRAM16の出
力データを色信号に変換するためのRGB変換回路であ
り、色信号は、RGB変換回路17から液晶ディスプレ
イ8Aに出力される。18は通信インタフェースであ
り、19は暴走監視回路である。
In the apparatus main body 9, reference numeral 10 denotes a CPU (central processing unit) for performing various calculations, 11 denotes a ROM which is an electrically rewritable memory storing various calculation programs to be executed by the CPU 10, and 12 denotes a direction sensor. 1, distance sensor 2, various sensor signals 3, GPS receiver 5, CD-
DR, which is a rewritable memory for storing data from the ROM drive 6 and the like and calculation results in the CPU 10, etc.
AM and 13 are SRAMs which are backup memories for holding necessary data even when power supply to the apparatus main body 9 is stopped, and 14 is a pattern for characters and symbols displayed on the liquid crystal display 8A. A kanji / font ROM, which is a read-only memory for storing, 15 is an image processor for forming a display image based on map data, current position data of the own vehicle, etc., 16 is map data, current position data output from the CPU 10. And a VRAM 17 which is an image memory for synthesizing kanji and fonts output from the kanji / font ROM 14 such as town names and road names and displaying them on the liquid crystal display 8A. A color signal is output from the RGB conversion circuit 17 to the liquid crystal display 8A. Reference numeral 18 denotes a communication interface, and 19 denotes a runaway monitoring circuit.

【0004】次に、上記のように構成された走行位置表
示装置の動作について説明する。方位センサ1の出力お
よび距離センサ2の出力が、センサ処理部4を介してC
PU10に送られると、CPU10では、自車の現在位
置の演算が行われ、現在位置の緯度および経度を求める
とともに、GPSレシーバ5からのデータに基づき現在
位置の補正が行われる。このようにして求められた現在
位置にに対応する部分の地図データが、CD−ROMド
ライブ6によってCD−ROM7から読み出され、その
地図データが通信インタフェース18を介してDRAM
12に格納される。DRAM12に格納された地図デー
タの一部は、CPU10によって読み出され、画像プロ
セッサ15により画像データに変換され、VRAM16
に書き込まれる。VRAM16に格納された画像データ
は、RGB変換回路17で色信号に変換され、液晶ディ
スプレイ8Aに送られ、現在位置を中心として所定範囲
の地図が表示される。またDRAM12から読み出され
た地図データに文字コード、記号コードが含まれている
と、これら文字コード、記号コードに対応するパターン
が漢字・フォントROM14から読み出され、液晶ディ
スプレイ8A上に地図とともに地名などの文字、学校な
どの記号が表示される。また自動車の走行に伴って順次
求められる走行速度、走行方位に基づき、液晶ディスプ
レイ8Aに表示される現在位置が順次変更されていく。
Next, the operation of the traveling position display device configured as described above will be described. The output of the azimuth sensor 1 and the output of the distance sensor 2 are transmitted through the sensor processing unit 4 to C
When sent to the PU 10, the CPU 10 calculates the current position of the vehicle, calculates the latitude and longitude of the current position, and corrects the current position based on data from the GPS receiver 5. The map data corresponding to the current position obtained in this manner is read from the CD-ROM 7 by the CD-ROM drive 6, and the map data is read via the communication interface 18 to the DRAM.
12 is stored. A part of the map data stored in the DRAM 12 is read by the CPU 10, converted into image data by the image processor 15, and
Is written to. The image data stored in the VRAM 16 is converted into a color signal by an RGB conversion circuit 17, sent to the liquid crystal display 8A, and a map of a predetermined range centering on the current position is displayed. If the map data read from the DRAM 12 contains character codes and symbol codes, patterns corresponding to these character codes and symbol codes are read from the kanji / font ROM 14 and displayed on the liquid crystal display 8A together with the map. , Etc., and symbols such as school are displayed. Further, the current position displayed on the liquid crystal display 8A is sequentially changed based on the traveling speed and the traveling azimuth sequentially obtained as the vehicle travels.

【0005】次に、装置本体9の電源投入後の処理の流
れについて、図10を用いて説明する。装置電源を投入
後、CPU10によって電気的に書き換え可能なROM
11からプログラムが読み込まれ、メモリ12、13、
14、16の活性化と初期化、通信インタフェース1
8、センサ信号処理部4の初期化、暴走監視回路19の
設定等を行い(S21)、次いで装置の起動が、通常処
理モードでの起動がバージョンアップモードでの起動か
を判断する(S22)。通常モードの場合は、通信イン
タフェース18、センサ信号処理部4、各タスクを起動
するのに必要な設定などを行う(S23)。次に、搭載
されているOSのカーネル処理の起動を行い(S2
4)、続いて動作モードに応じて通信インタフェース1
8、センサ信号処理部4などのシステムの初期化ハンド
ラを行い(S25)、最後にイニシャルタスクが生成・
起動される(S26)。ここでは、通信インタフェース
18およびセンサ信号処理部4に接続されている各周辺
機器の立ち上げを確認し、初期に起動が必要なタスクを
生成、起動し、CD−ROM7からCD−ROMドライ
ブ6を介して常駐データのローディングが行われる。ま
た、最終的に立ち上げが必要なタスクの生成、起動を行
い、そこで起動されたタスクによって、走行位置表示装
置としての必要な処理が行われる。その後は、、各タス
ク毎に必要な処理を行う。この時点から走行位置表示装
置として機能する。処理S22において、バージョンア
ップが必要と判断された場合は、そのモードでの初期化
を行い(S27)、通常モードのステップ24〜S26
と同様な処理をバージョンアップ用の設定で行い(S2
8)、その後、バージョンアップ処理して電気的に書き
換え可能なROM11内のプログラムを新しいものと置
き換える。その後はステップS21から順次処理を行
う。
Next, the flow of processing after the power of the apparatus main body 9 is turned on will be described with reference to FIG. ROM that can be electrically rewritten by the CPU 10 after the device power is turned on.
The program is read from the memory 11, and the memories 12, 13,
Activation and initialization of 14, 16; communication interface 1
8. Initialize the sensor signal processing unit 4, set the runaway monitoring circuit 19, etc. (S21), and then determine whether the device is started up in the normal processing mode or in the upgrade mode (S22). . In the case of the normal mode, the settings necessary for activating the communication interface 18, the sensor signal processing unit 4, and each task are performed (S23). Next, the kernel processing of the installed OS is started (S2).
4) Then, the communication interface 1 according to the operation mode
8. Perform an initialization handler for the system such as the sensor signal processing unit 4 (S25), and finally generate an initial task.
It is activated (S26). Here, the start-up of each peripheral device connected to the communication interface 18 and the sensor signal processing unit 4 is confirmed, tasks that need to be started up at the beginning are generated and started up, and the CD-ROM drive 6 is The loading of resident data is performed via the. In addition, a task that needs to be started up is finally generated and started, and the started task performs a necessary process as the traveling position display device. After that, necessary processing is performed for each task. From this point on, it functions as a traveling position display device. If it is determined in step S22 that the version needs to be upgraded, initialization is performed in that mode (S27), and steps S24 to S26 in the normal mode are performed.
(S2) is performed with the settings for version upgrade.
8) After that, the program in the electrically rewritable ROM 11 is replaced with a new one by version upgrade processing. Thereafter, the processing is sequentially performed from step S21.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の電子制御装置では、ROM11に格納すべきプログ
ラムが、新機能の追加等でROM11の容量を越えてし
まった場合、解決策としてはROM11を増設すること
によって容量を増やして対応するしかなく、商品として
のコストアップが避けられないという問題があった。ま
た読み出し専用のROM14についても同様であった。
However, in the above-mentioned conventional electronic control device, if the program to be stored in the ROM 11 exceeds the capacity of the ROM 11 due to the addition of a new function or the like, the ROM 11 is added as a solution. Therefore, there is no other choice but to increase the capacity, and there is a problem that the cost as a product cannot be avoided. The same applies to the read-only ROM 14.

【0007】本発明は、上記従来の問題を解決するもの
であり、処理に必要なプログラムがメモリの容量を越え
るような場合でも、メモリを増設ことなく格納すること
のできる電子制御装置を提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and provides an electronic control unit capable of storing a program required for processing without increasing the memory even when the program exceeds the capacity of the memory. The purpose is to:

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために、納めるべきプログラムが読み出し専用メ
モリまたは電気的に書き換え可能なメモリの容量を越え
てしまっている場合でも、プログラムを圧縮してからメ
モリに格納し、電源投入後にそれを随時書き換え可能な
メモリに解凍して展開することによって、メモリを増設
することなく、必要なプログラムを格納することができ
る。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a method for compressing a program even if the program to be stored exceeds the capacity of a read-only memory or an electrically rewritable memory. Then, the program is stored in a memory, and after the power is turned on, the program is decompressed and expanded in a rewritable memory as needed, so that a necessary program can be stored without adding a memory.

【0009】[0009]

【発明の実施の形態】本発明の請求項1に記載の発明
は、随時書き換え可能なメモリと読み出し専用メモリま
たは電気的に書き換え可能なメモリとを備えたマイクロ
コンピュータを用いて動作制御を行なう電子制御装置に
おいて、前記読み出し専用メモリまたは電気的に書き換
え可能なメモリに圧縮したプログラムを格納し、電源投
入時に前記圧縮したプログラムを解凍して前記随時書き
換え可能なメモリ上に展開する手段を備えた電子制御装
置であり、圧縮したプログラムを格納することにより、
読み出し専用メモリまたは電気的に書き換え可能なメモ
リの使用量を減らすことができるという作用を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention provides an electronic device for controlling the operation using a microcomputer having a rewritable memory and a read-only memory or an electrically rewritable memory. A control unit for storing a compressed program in the read-only memory or the electrically rewritable memory, and decompressing the compressed program when power is turned on to expand the program on the rewritable memory at any time; It is a control device, and by storing a compressed program,
This has the effect of reducing the amount of use of a read-only memory or an electrically rewritable memory.

【0010】本発明の請求項2に記載の発明は、読み出
し専用メモリまたは電気的に書き換え可能なメモリに、
非圧縮プログラムと圧縮したプログラムの両方を配置す
ることを特徴とする請求項1記載の電子制御装置であ
り、実行するプログラムに応じて圧縮するか圧縮しない
かを選択できるという作用を有する。
According to a second aspect of the present invention, a read-only memory or an electrically rewritable memory includes:
2. The electronic control device according to claim 1, wherein both an uncompressed program and a compressed program are arranged, and has an effect that compression or non-compression can be selected according to a program to be executed.

【0011】本発明の請求項3に記載の発明は、読み出
し専用メモリまたは電気的に書き換え可能なメモリに格
納する非圧縮プログラムとして、電源投入時に処理が必
要なプログラムを配置することを特徴とする請求項2記
載の電子制御装置であり、電源投入時に必要なプログラ
ムを瞬時に起動させることができるという作用を有す
る。
According to a third aspect of the present invention, a program requiring processing at power-on is arranged as an uncompressed program stored in a read-only memory or an electrically rewritable memory. 3. The electronic control device according to claim 2, which has an effect that a necessary program can be instantaneously activated when the power is turned on.

【0012】本発明の請求項4に記載の発明は、電源投
入時に実行させる非圧縮プログラムの処理中に、圧縮プ
ログラムの解凍処理を並列して行うことを特徴とする請
求項2または3記載の電子制御装置であり、圧縮したプ
ログラムの処理が必要になる前に、そのプログラムを解
凍して随時書き換え可能なメモリへ展開することによ
り、そのプログラムが必要になった段階で直ちに処理が
行えるという作用を有する。
According to a fourth aspect of the present invention, during the processing of the non-compressed program to be executed when the power is turned on, the decompression processing of the compressed program is performed in parallel. An electronic control unit that decompresses a compressed program and expands it to a rewritable memory as needed before processing of the compressed program is required, so that the program can be processed immediately when it becomes necessary. Having.

【0013】本発明の請求項5に記載の発明は、圧縮プ
ログラムを使用する際に、必要なプログラムを解凍して
随時書き換え可能なメモリに展開するとともに、不要に
なったプログラムを前記随時書き換え可能なメモリから
削除することを特徴とする請求項1から4のいずれかに
記載の電子制御装置であり、随時書き換え可能なメモリ
の展開領域を各プログラム間で共有し、展開領域分の不
足を補うことができるという作用を有する。
According to a fifth aspect of the present invention, when a compressed program is used, a necessary program is decompressed and expanded in a rewritable memory, and an unnecessary program can be rewritten as needed. 5. The electronic control device according to claim 1, wherein a development area of the memory which can be rewritten at any time is shared between programs, and a shortage of the development area is compensated. It has the effect of being able to.

【0014】以下、本発明の実施の形態について図面を
用いて説明する。 (実施の形態1)図1は本発明の実施の形態における車
載用走行位置表示装置の概略ブロック図であり、図9に
示した従来例の装置と同様な要素には同様な符号を付し
てある。本実施の形態が上記した従来例と異なるのは、
CPU20が、圧縮/解凍部21を通じて、電気的に書
き換え可能なメモリであるROM22および随時書き換
え可能なメモリであるDRAM23に対するプログラム
の格納方法を制御する点である。ROM22の中には、
図2に示すように、従来例では圧縮されにままROM1
1に格納されていたプログラムAを、その一部A−1を
そのまま非圧縮状態とし、残りの一部A−2を圧縮/解
凍部21により圧縮してROM22に格納するようにし
たものである。これにより、従来ではメモリを増設しな
ければ入り切らないようのプログラムでも、本実施の形
態ではROM22を増設することなく格納することがで
きる。そして、プログラムを実行する際には、図3に示
すように、ROM22に格納された圧縮部分A−2のプ
ログラムを圧縮/解凍部21により解凍(伸長)してD
RAM23に展開するので、プログラムを遅滞なく実行
することができる。CPU20は、読み出し専用メモリ
である漢字・フォントROM14に対しても同様の処理
を実行することができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. (Embodiment 1) FIG. 1 is a schematic block diagram of an in-vehicle traveling position display device according to an embodiment of the present invention. Elements similar to those of the conventional device shown in FIG. It is. This embodiment is different from the conventional example described above in that
The CPU 20 controls a method of storing a program in a ROM 22 that is an electrically rewritable memory and a DRAM 23 that is a rewritable memory as needed through a compression / decompression unit 21. In the ROM 22,
As shown in FIG. 2, in the conventional example, the ROM
The program A stored in No. 1 is stored in the ROM 22 by compressing the remaining part A-2 by the compression / decompression unit 21 while leaving part A-1 of the program A uncompressed. . As a result, in the present embodiment, even a program that would otherwise be inaccessible unless a memory is additionally provided can be stored without adding a ROM 22 in the present embodiment. When executing the program, as shown in FIG. 3, the compression / decompression unit 21 decompresses (decompresses) the program of the compressed part A-2 stored in the ROM 22 to D
Since the program is developed in the RAM 23, the program can be executed without delay. The CPU 20 can execute the same processing on the kanji / font ROM 14 which is a read-only memory.

【0015】図2において、非圧縮プログラムが配置さ
れる非圧縮部分A−1には、電源投入直後に処理を行う
必要のあるハード初期化プログラム、タスクの生成・起
動を行うプログラム、およびCD−RAM7からデータ
のローディングを行うプログラム等が配置されており、
圧縮プログラムが配置される圧縮部分A−2には、経路
探索を行って地点を探索するプログラム、索引検索プロ
グラム、自車位置表示プログラム等の走行位置表示装置
としてのプログラムを圧縮した状態で配置しておく。こ
のように配置することによって、電源投入時に処理の必
要なプログラムおよびすぐに処理が必要になるタスクを
従来通りの起動時間で起動させることができ、また起動
後に必要なプログラムを解凍して使用することによっ
て、従来通りの機能を実現することができる。
In FIG. 2, a non-compressed portion A-1 in which a non-compressed program is arranged includes a hardware initialization program that needs to be processed immediately after power-on, a program for generating and starting a task, and a CD-ROM. A program for loading data from the RAM 7 is provided.
In the compressed part A-2 in which the compression program is arranged, a program as a traveling position display device such as a program for performing a route search to search for a point, an index search program, and a vehicle position display program is arranged in a compressed state. Keep it. By arranging in this way, programs that need to be processed and tasks that need to be processed immediately when the power is turned on can be started with the conventional startup time, and the required programs are decompressed and used after startup. As a result, it is possible to realize the same function as before.

【0016】図4は本実施の形態における電源投入後の
処理を示している。図3において、まずシステムの起動
に最低限必要な初期化前処理を行う(S1)。次にバー
ジョンアップモードか通常モードかの判断を行い(S
2)、通常モードの場合は、処理に必要な初期化、設定
を各装置に対して行い(S3)、続いてカーネルの起動
処理が行われる(S4)。カーネルが起動すると、シス
テムに依存した初期化ハンドラが行われ(S5)、続い
て最初に起動する必要のあるタスクであるイニシャルタ
スク、例えばCD−ROM7からのデータローディング
タスク等の生成と起動が行われる(S6)。次に、この
イニシャルタスクであるCDのローディングが行われ
(S7)、同時に図3に示すROM22の圧縮部分A−
2に配置されているプログラムを、DRAM23に解凍
して展開する処理を行う(S8)。処理S8は、処理S
7におけるCD−ROM7からのデータの読み込みと同
時に行われ、それが終了する時点までに、その解凍およ
び展開を終了する。最後に、自車位置表示や経路探索、
索引検索等の最終的に起動が必要なタスクの生成・起動
が行われる(S9)。なお、処理S2でバージョンアッ
プが必要と判断された場合は、そのモードでの初期化を
行い(S10)、通常モードの処理S4からS6と同様
な処理をバージョンアップ用の設定で行い(S10
A)、その後、バージョンアップ処理してROM22内
のプログラムを新しいものと置き換える。
FIG. 4 shows a process after the power is turned on in the present embodiment. In FIG. 3, first, a minimum pre-initialization process required for starting the system is performed (S1). Next, it is determined whether the mode is the upgrade mode or the normal mode (S
2) In the case of the normal mode, initialization and settings required for the processing are performed for each device (S3), and then a kernel boot process is performed (S4). When the kernel is started, an initialization handler depending on the system is performed (S5), and then an initial task, which is a task that needs to be started first, such as a data loading task from the CD-ROM 7, is generated and started. (S6). Next, the loading of the CD, which is the initial task, is performed (S7), and at the same time, the compressed portion A- of the ROM 22 shown in FIG.
2 is executed to decompress and expand the program arranged in the DRAM 23 (S8). Process S8 is a process S
7, the data is read from the CD-ROM 7 at the same time, and the decompression and expansion are completed by the time the data is read out. Finally, display your vehicle position, search for routes,
A task that finally needs to be started, such as an index search, is generated and started (S9). If it is determined in step S2 that version upgrade is required, initialization is performed in that mode (S10), and the same processes as those in steps S4 to S6 in the normal mode are performed with settings for version upgrade (S10).
A) After that, a version upgrade process is performed to replace the program in the ROM 22 with a new one.

【0017】図4の処理S9では、実際に走行位置表示
装置として必要な処理が行われる。例えば、走行位置の
表示では、図1の方位センサ1および距離センサ2から
入ってセンサ信号処理部4で処理された車両信号とGP
Sレシーバ5で受信した自車位置情報を基に、液晶ディ
スプレイ8A上に現在の自車位置を表示させる自車位置
表示プログラムを実行する。また、その後のユーザによ
る別の機能の呼び出し、例えばタッチパネル8Bの押下
による経路探索機能の呼び出しに対しても、DRAM2
3上に展開されている経路探索プログラムを実行するこ
とで、経路探索に必要な処理を行う。
In a process S9 in FIG. 4, processes necessary for the actual travel position display device are performed. For example, in the display of the traveling position, the vehicle signal input from the direction sensor 1 and the distance sensor 2 in FIG.
Based on the vehicle position information received by the S receiver 5, a vehicle position display program for displaying the current vehicle position on the liquid crystal display 8A is executed. Further, when the user calls another function, for example, calls the route search function by pressing the touch panel 8B, the DRAM 2
By executing the route search program developed on 3, processing necessary for the route search is performed.

【0018】以上のように、本実施の形態1によれば、
ROM22にプログラムの一部を圧縮して格納し、その
プログラムが必要になった時にそれを解凍してDRAM
23上に展開して使用するようにしたので、新機能追加
などでプログラムが増加しても、従来と同様な容量のR
OM22上に格納することができ、従来の電子制御装置
よりも低コストで、従来と同等以上の機能を持たせるこ
とができる。
As described above, according to the first embodiment,
A part of the program is compressed and stored in the ROM 22, and when the program is needed, it is decompressed to
23, so that even if the number of programs increases due to the addition of new functions, the capacity of R
It can be stored on the OM 22 and can have functions equivalent to or higher than the conventional one at a lower cost than the conventional electronic control unit.

【0019】(実施の形態2)次に、本発明の実施の形
態2について説明する。本実施の形態2は、上記実施の
形態1と同様な装置構成を有するが、CPU20の処理
が若干異なるので、以下には図5を参照してその処理に
ついてのみ説明する。図5において、処理S11からS
15までは図4の処理S1からS7までと実質的に同じ
であり、異なるのは処理S16からである。処理S16
において、解凍されるプログラムは、圧縮されているプ
ログラムの全てではなく、初期の段階で処理を行うため
にDRAM23への展開が必要なものだけに限定され
る。その様子を図6に示す。ROM22に配置されてい
るプログラムは、自車位置表示プログラムA、索引検索
プログラムB、経路探索プログラムC、および音声認識
プログラムDである。自車位置表示は、走行位置表示装
置において必要不可欠な機能であり、初期の段階から液
晶ディスプレイ8A上に地図および地図上の自車の現在
位置を表示しなければならない。そのため、まずROM
22に格納されている自車位置表示プログラムAをDR
AM23上に展開し、自車位置表示を他のプログラムに
先立って行う。ここで展開された自車位置表示プログラ
ムAは、その展開後の処理S17においてタスクとして
生成・起動され、処理S20において、図1のセンサ信
号処理部4を介して入力される方位センサ1および距離
センサ2からの信号およびGPSレシーバ5で受信した
自車位置情報を基に、液晶ディスプレイ8A上に地図と
ともに自車の現在位置の表示を継続して行う。
(Embodiment 2) Next, Embodiment 2 of the present invention will be described. The second embodiment has the same device configuration as the first embodiment, but the processing of the CPU 20 is slightly different, so that only the processing will be described below with reference to FIG. In FIG. 5, the processing from S11 to S
Steps up to 15 are substantially the same as steps S1 to S7 in FIG. 4, and are different from step S16. Processing S16
In, the program to be decompressed is not limited to all of the compressed programs, but is limited to only those which need to be expanded in the DRAM 23 in order to perform processing in the initial stage. FIG. 6 shows this state. The programs arranged in the ROM 22 are a vehicle position display program A, an index search program B, a route search program C, and a voice recognition program D. The display of the own vehicle position is an indispensable function in the traveling position display device, and it is necessary to display the map and the current position of the own vehicle on the map on the liquid crystal display 8A from an early stage. So first, ROM
DR of the vehicle position display program A stored in
The program is developed on the AM 23, and the vehicle position is displayed prior to another program. The developed vehicle position display program A is generated and started as a task in the processing S17 after the development, and in the processing S20, the azimuth sensor 1 and the distance input through the sensor signal processing unit 4 in FIG. Based on the signal from the sensor 2 and the vehicle position information received by the GPS receiver 5, the current position of the vehicle is continuously displayed together with the map on the liquid crystal display 8A.

【0020】一方、走行位置表示処理を行っている間
に、ユーザから他の機能、例えばタッチパネル8Bの押
下によって索引検索の機能の読み出しを受けると、現段
階ではDRAM23上には索引検索プログラムBがまだ
展開されていないので、処理S19において、図7のよ
うにROM22に格納されている索引検索プログラムB
を解凍してDRAM23上に展開し、処理S20におい
て索引検索を実行する。この索引検索処理が終了した後
で、ユーザが再び同機能の呼び出しを行った場合には、
すでにDRAM23上には索引検索プログラムが展開さ
れているので、処理S18から処理S20へ移行する。
On the other hand, while the running position display processing is being performed, if another function is read from the user, for example, an index search function by pressing the touch panel 8B, the index search program B is stored in the DRAM 23 at this stage. In step S19, the index search program B stored in the ROM 22 as shown in FIG.
Is decompressed and expanded on the DRAM 23, and an index search is executed in step S20. If the user calls the same function again after this index search process is completed,
Since the index search program has already been developed on the DRAM 23, the process proceeds from the process S18 to the process S20.

【0021】また、何らかの機能の呼び出しによって処
理S19を実行する段階で、DRAM23上に展開する
領域が不足している場合、DRAM23上に展開されて
いるプログラムのうち、処理が不要なものを展開領域か
ら削除する。例えば、上記の場合、索引検索機能が終了
して次にユーザから経路探索機能が呼び出されると、図
8に示すように、DRAM23上に展開されている索引
検索プログラムBを削除して、ROM22に格納された
経路探索プログラムCを解凍してDRAM23上に展開
する。その後も同様に、展開領域上に展開されていない
プログラムが必要になると、ROM22上の圧縮部分A
−2からそのプログラムをDRAM23上に展開し、ま
た展開時に展開領域の容量が不足した場合は、展開領域
上にあるプログラムのうち、処理を行っていないものを
展開領域から削除し、圧縮プログラムの展開を続行す
る。
If the area to be developed on the DRAM 23 is insufficient at the stage where the processing S19 is executed by calling some function, the program developed on the DRAM 23 that is not required to be processed is loaded into the development area. Remove from. For example, in the above case, when the index search function is terminated and the user next calls the route search function, the index search program B developed on the DRAM 23 is deleted as shown in FIG. The stored route search program C is decompressed and expanded on the DRAM 23. Thereafter, similarly, when a program not expanded on the expansion area becomes necessary, the compressed part A
-2, the program is expanded on the DRAM 23. If the capacity of the expansion area becomes insufficient at the time of expansion, the unprocessed programs in the expansion area are deleted from the expansion area, and the compressed program is deleted. Continue deployment.

【0022】以上のように、本実施の形態2によれば、
圧縮プログラムを使用する際に、必要なプログラムを解
凍してDRAM23に展開するとともに、不要になった
プログラムをDRAM23から削除するようにしたの
で、DRAM23の展開領域を各プログラム間で共有す
ることができ、また、DRAM23上の展開領域の容量
を小さくすることができる。
As described above, according to the second embodiment,
When a compressed program is used, necessary programs are decompressed and expanded in the DRAM 23, and unnecessary programs are deleted from the DRAM 23. Therefore, the expanded area of the DRAM 23 can be shared between programs. In addition, the capacity of the development area on the DRAM 23 can be reduced.

【0023】[0023]

【発明の効果】本発明は、上記の説明から明らかなよう
に、納めるべきプログラムが読み出し専用メモリまたは
電気的に書き換え可能なメモリの容量を越えてしまって
いる場合でも、プログラムを圧縮してからメモリに格納
し、電源投入後にそれを随時書き換え可能なメモリに解
凍して展開するようにしたので、メモリを増設すること
なく、必要なプログラムを格納することができる。
According to the present invention, as is apparent from the above description, even if the program to be stored exceeds the capacity of the read-only memory or the electrically rewritable memory, the program is compressed. The program is stored in a memory, and after power is turned on, it is decompressed and expanded into a rewritable memory as needed, so that a necessary program can be stored without increasing the memory.

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

【図1】本発明の実施の形態における車載用走行位置表
示装置の構成を示す概略ブロック図
FIG. 1 is a schematic block diagram showing a configuration of a vehicle-mounted traveling position display device according to an embodiment of the present invention.

【図2】本発明の実施の形態における電気的に書き換え
可能なROMにおけるデータ格納構造を示す模式図
FIG. 2 is a schematic diagram showing a data storage structure in an electrically rewritable ROM according to the embodiment of the present invention.

【図3】本発明の実施の形態における電気的に書き換え
可能なROMから書き換え可能なDRAMへのデータ格
納構造を示す模式図
FIG. 3 is a schematic diagram showing a data storage structure from an electrically rewritable ROM to a rewritable DRAM according to the embodiment of the present invention;

【図4】本発明の実施の形態1におけるプログラム展開
処理を示すフロー図
FIG. 4 is a flowchart showing a program expansion process according to the first embodiment of the present invention;

【図5】本発明の実施の形態2におけるプログラム展開
処理を示すフロー図
FIG. 5 is a flowchart showing a program expansion process according to the second embodiment of the present invention.

【図6】本発明の実施の形態2におけるプログラム部分
展開処理を示す模式図
FIG. 6 is a schematic diagram showing a program partial expansion process according to the second embodiment of the present invention;

【図7】本発明の実施の形態2におけるプログラム部分
展開処理を示す模式図(続き)
FIG. 7 is a schematic diagram showing a program partial expansion process according to the second embodiment of the present invention (continued)

【図8】本発明の実施の形態2におけるプログラム部分
展開処理を示す模式図(続き)
FIG. 8 is a schematic diagram showing a program partial expansion process according to the second embodiment of the present invention (continued)

【図9】従来例における車載用走行位置表示装置の構成
を示す概略ブロック図
FIG. 9 is a schematic block diagram showing a configuration of a vehicle-mounted traveling position display device in a conventional example.

【図10】従来例の装置における電源投入後の処理を示
すフロー図
FIG. 10 is a flowchart showing processing after power-on in a conventional apparatus.

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

1 方位センサ 2 距離センサ 3 センサ信号 4 センサ信号処理部 5 GPSレシーバ 6 CD−ROMドライブ 7 CD−ROM 8 表示・操作部 9 装置本体 13 SRAM 14 漢字・フォントROM(読み出し専用メモリ) 15 画像プロセッサ 16 VRAM 17 RGB変換回路 18 通信インタフェース 19 暴走監視回路 20 CPU 21 圧縮/解凍部 22 ROM(電気的に書き換え可能なメモリ) 23 DRAM(随時書き換え可能なメモリ) Reference Signs List 1 direction sensor 2 distance sensor 3 sensor signal 4 sensor signal processing unit 5 GPS receiver 6 CD-ROM drive 7 CD-ROM 8 display / operation unit 9 main body 13 SRAM 14 kanji / font ROM (read-only memory) 15 image processor 16 VRAM 17 RGB conversion circuit 18 Communication interface 19 Runaway monitoring circuit 20 CPU 21 Compression / decompression unit 22 ROM (electrically rewritable memory) 23 DRAM (memory rewritable at any time)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 随時書き換え可能なメモリと読み出し専
用メモリまたは電気的に書き換え可能なメモリとを備え
たマイクロコンピュータを用いて動作制御を行なう電子
制御装置において、前記読み出し専用メモリまたは電気
的に書き換え可能なメモリに圧縮したプログラムを格納
し、電源投入時に前記圧縮したプログラムを解凍して前
記随時書き換え可能なメモリ上に展開する手段を備えた
電子制御装置。
1. An electronic control device for controlling operation using a microcomputer having a memory that can be rewritten at any time and a read-only memory or an electrically rewritable memory, wherein the read-only memory or the electrically rewritable memory An electronic control device, comprising: means for storing a compressed program in a suitable memory, decompressing the compressed program when the power is turned on, and expanding the program on the rewritable memory as needed.
【請求項2】 読み出し専用メモリまたは電気的に書き
換え可能なメモリに、非圧縮プログラムと圧縮したプロ
グラムの両方を配置することを特徴とする請求項1記載
の電子制御装置。
2. The electronic control device according to claim 1, wherein both the non-compressed program and the compressed program are arranged in a read-only memory or an electrically rewritable memory.
【請求項3】 読み出し専用メモリまたは電気的に書き
換え可能なメモリに格納する非圧縮プログラムとして、
電源投入時に処理が必要なプログラムを配置することを
特徴とする請求項2記載の電子制御装置。
3. An uncompressed program stored in a read-only memory or an electrically rewritable memory,
3. The electronic control device according to claim 2, wherein a program that requires processing when the power is turned on is arranged.
【請求項4】 電源投入時に実行させる非圧縮プログラ
ムの処理中に、圧縮プログラムの解凍処理を並列して行
うことを特徴とする請求項2または3記載の電子制御装
置。
4. The electronic control device according to claim 2, wherein the decompression processing of the compressed program is performed in parallel during the processing of the non-compressed program to be executed when the power is turned on.
【請求項5】 圧縮プログラムを使用する際に、必要な
プログラムを解凍して随時書き換え可能なメモリに展開
するとともに、不要になったプログラムを前記随時書き
換え可能なメモリから削除することを特徴とする請求項
1から4のいずれかに記載の電子制御装置。
5. When using a compressed program, a required program is decompressed and expanded in a rewritable memory as needed, and an unnecessary program is deleted from the rewritable memory as needed. The electronic control device according to claim 1.
JP11908098A 1998-04-28 1998-04-28 Electronic control unit Pending JPH11312089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11908098A JPH11312089A (en) 1998-04-28 1998-04-28 Electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11908098A JPH11312089A (en) 1998-04-28 1998-04-28 Electronic control unit

Publications (1)

Publication Number Publication Date
JPH11312089A true JPH11312089A (en) 1999-11-09

Family

ID=14752393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11908098A Pending JPH11312089A (en) 1998-04-28 1998-04-28 Electronic control unit

Country Status (1)

Country Link
JP (1) JPH11312089A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003058937A (en) * 2001-08-10 2003-02-28 Fuji Electric Co Ltd Vending machine system, compression program and decompression program
JP2004062798A (en) * 2002-07-31 2004-02-26 Hitachi Ltd Mobile terminal and mobile terminal control method
US7231642B2 (en) 2001-03-19 2007-06-12 Mitsubishi Denki Kasbushiki Kaisha Vehicle-mounted multimedia device
JP2007156899A (en) * 2005-12-06 2007-06-21 Canon Inc Electronic device and control method thereof
JP2009252077A (en) * 2008-04-09 2009-10-29 Mitsubishi Electric Corp Programmable display
JP2013004042A (en) * 2011-06-22 2013-01-07 Fuji Xerox Co Ltd Information processing device, image forming apparatus, and program
JP2013008244A (en) * 2011-06-24 2013-01-10 Fuji Xerox Co Ltd Program execution device, image processing apparatus and program
WO2014148003A1 (en) * 2013-03-19 2014-09-25 株式会社デンソー Program rewrite system for onboard electronic control device and onboard relay device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7231642B2 (en) 2001-03-19 2007-06-12 Mitsubishi Denki Kasbushiki Kaisha Vehicle-mounted multimedia device
JP2003058937A (en) * 2001-08-10 2003-02-28 Fuji Electric Co Ltd Vending machine system, compression program and decompression program
JP2004062798A (en) * 2002-07-31 2004-02-26 Hitachi Ltd Mobile terminal and mobile terminal control method
JP2007156899A (en) * 2005-12-06 2007-06-21 Canon Inc Electronic device and control method thereof
JP2009252077A (en) * 2008-04-09 2009-10-29 Mitsubishi Electric Corp Programmable display
JP2013004042A (en) * 2011-06-22 2013-01-07 Fuji Xerox Co Ltd Information processing device, image forming apparatus, and program
JP2013008244A (en) * 2011-06-24 2013-01-10 Fuji Xerox Co Ltd Program execution device, image processing apparatus and program
WO2014148003A1 (en) * 2013-03-19 2014-09-25 株式会社デンソー Program rewrite system for onboard electronic control device and onboard relay device

Similar Documents

Publication Publication Date Title
JP4509253B2 (en) Network-type vehicle for controlling additional devices using JavaBeansTM
JP4509254B2 (en) Network type vehicle that provides plug and play using JavaBeansTM
JP2000122960A5 (en)
WO2018230314A1 (en) Control device, control method and computer program
JPH11312089A (en) Electronic control unit
JP2000314634A (en) Map information display system for mobile objects
US12570304B2 (en) Electronic device, vehicle, notification control method, and storage medium
EP0701106A1 (en) Vehicle navigation system with upgradeable navigation software and a flexible memory configuration
JP2000066659A (en) Screen synthesis device and method, navigation system
JPH05289609A (en) Navigation device for vehicle
JP4334314B2 (en) Display processing device, navigation device, program, and display processing method
JP3097514B2 (en) Navigation device
JP3202154B2 (en) Car navigation system
JP3607501B2 (en) Navigation device
JP2000122685A (en) Navigation system
JP2002297025A (en) Method, device, and software for map display
JP2795140B2 (en) Runaway monitoring device
JP2001074476A (en) Travel position display device
JP4118750B2 (en) Navigation device
WO2007114083A1 (en) Display processing device, display processing method, and display processing program
JP3238538B2 (en) Car navigation system
JPH1137768A (en) Navigation system for moving objects
JPH09292896A (en) Vehicle navigation system
JP4727852B2 (en) Navigation apparatus and method, and navigation software
JP2003125106A (en) Vehicle information provision device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040319

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040420

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040603

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040608

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040723