JPH02105251A - Intercommunication equipment for controller - Google Patents

Intercommunication equipment for controller

Info

Publication number
JPH02105251A
JPH02105251A JP25595288A JP25595288A JPH02105251A JP H02105251 A JPH02105251 A JP H02105251A JP 25595288 A JP25595288 A JP 25595288A JP 25595288 A JP25595288 A JP 25595288A JP H02105251 A JPH02105251 A JP H02105251A
Authority
JP
Japan
Prior art keywords
ram
cpu
busy signal
access
data
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
JP25595288A
Other languages
Japanese (ja)
Inventor
Naomi Tomizawa
冨澤 尚己
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.)
Hitachi Unisia Automotive Ltd
Original Assignee
Japan Electronic Control Systems 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 Japan Electronic Control Systems Co Ltd filed Critical Japan Electronic Control Systems Co Ltd
Priority to JP25595288A priority Critical patent/JPH02105251A/en
Publication of JPH02105251A publication Critical patent/JPH02105251A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To perform intercommunication by a single RAM by connecting an address bus and a data bus for plural CPUs to a RAM commonly, and prohibiting access by another CPU while either CPU makes access to the RAM. CONSTITUTION:It is judged whether or not a BUSY signal BE inputted from the CPU 1 for engine control via a first communication line 4 is 1, and when it is YES, a routine is completed while the CPU 1 for engine control makes access to the RAM 2, and when it is NO, a processing is progressed to the next step. The access to the RAM 2 is performed by setting a BUSY signal Br at 1, and also, outputting the BUSY signal Br to the CPU 1 for engine control via a second communication line 5. In other words, the readout of the control data of the quantity of injection of fuel, etc., from the RAM 2, or the write of the control data of a point of change gear, etc., on the RAM 2 is performed. When the access to the RAM 2 is completed, the BUSY signal Br is set at 0, and the BUSY signal Br is outputted to the CPU 1 for engine control via the second communication line 5.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、複数の制御装置の中央処理装置(以下、CP
Uと略す)間にて制御データを相互に通信させる制御装
置の相互通信装置に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention is directed to a central processing unit (hereinafter referred to as CP) of a plurality of control devices.
The present invention relates to an intercommunication device for control devices that mutually communicates control data between the control devices (abbreviated as U).

〈従来の技術〉 例えば自動車においては、エンジンの燃料噴射制御、点
火時期制御或いは自動変速機の変速制御を行うために、
各制御用のCPUを夫々備え、機能を分担することによ
る個々のCPUの制御の闇路化、効率化、並行動作によ
る実行時間の短縮化等を図るようにしている。ここにお
いて、各CPU間にて制御データを相互に通信し、各C
PUにてその制御データを使用できるようにしている。
<Prior Art> For example, in a car, in order to control engine fuel injection, ignition timing, or shift control of an automatic transmission,
A CPU is provided for each control, and by sharing the functions, it is possible to simplify the control of each CPU, improve efficiency, and shorten the execution time by parallel operation. Here, control data is mutually communicated between each CPU, and each CPU
The control data is made available to the PU.

例えば、エンジンの燃料噴射制御と点火時期側゛御とを
行うエンジン制御用CPUから、自動変速機の制御を行
うトルコン制御用CPUに、複数の通信回線を介してデ
ジタル信号(High、L。
For example, digital signals (High, L) are transmitted from an engine control CPU that controls fuel injection and ignition timing of the engine to a torque converter control CPU that controls an automatic transmission via multiple communication lines.

W信号)により燃料噴射等の制御データを通信し、最適
な変速点を選択してトルク性能、燃費を最適に保つよう
にしている。
W signal) to communicate control data for fuel injection, etc., and select the optimal shift point to maintain optimal torque performance and fuel efficiency.

〈発明が解決しようとする課題〉 しかしながら、このような従来の相互通信装置において
は、複数の通信回線を介してデジタル信号により相互通
信を行うようにしているので、情報伝達量が少ないとい
う不具合がある。そこで、エンジン制御用CPUとトル
コン制御用CPUとの情報データを共用化すると共に情
報伝達量を高めるために、デュアルポートRAMを用い
ることも考えられるが、この場合にはデュアルポートR
AMのコストが極めて高くなるという不具合がある。
<Problems to be Solved by the Invention> However, in such conventional mutual communication devices, since mutual communication is performed using digital signals via multiple communication lines, there is a problem that the amount of information transmitted is small. be. Therefore, in order to share the information data between the engine control CPU and the torque converter control CPU and increase the amount of information transmitted, it is possible to use a dual port RAM.
There is a problem that the cost of AM becomes extremely high.

本発明は、このような実状に鑑みてなされたもので、低
コストで情報伝達量を大幅に向上できる相互通信装置を
提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an intercommunication device that can significantly improve the amount of information transmitted at low cost.

〈課題を解決するための手段〉 このた゛め、本発明は、第1図に示すように、複数の制
御装置の中央処理装置A、、A、間で制御データを相互
に通信させるようにしたものにおいて、前記各中央処理
装置A、、A、のアドレス端子に接続されたアドレスバ
スB、、B、を単一のRAMCのアドレス端子に共通化
して接続する一方、前記各中央処理装置A、、A、のデ
ータ端子に接続されたデータバスD、、Dtを前記RA
MCのデータ端子に共通化して接続し、前記中央処理装
置A、、A、相互を、他の中央処理装置A1゜A2に前
記RAMCとのアクセス中の有無を知らせる通信回線E
+ 、Ezにより、接続し、かつ前記各中央処理装置A
、、A2は他の中央処理装置A、、A、が前記RAMC
とのアクセス中か否かを判定する判定手段F、、F、と
、他の中央処理装置AI 、Atが非アクセス中と判定
されたときに前記RAMCとのアクセスを許可するアク
セス許可手段G、、G2とを備えるようにした。
<Means for Solving the Problems> For this reason, the present invention, as shown in FIG. In this case, the address buses B, , B connected to the address terminals of the respective central processing units A, , A are commonly connected to the address terminal of a single RAMC; The data buses D, , Dt connected to the data terminals of A, are connected to the data terminals of the RA.
A communication line E that is commonly connected to the data terminal of the MC and that communicates between the central processing units A, , A and the other central processing units A1 and A2 whether or not the RAMC is being accessed.
+ , Ez, and each central processing unit A
,,A2 is the other central processing unit A, ,A is the RAMC
determining means F for determining whether access is being made to the RAMC; , G2.

〈作用〉 このようにして、RAMとのアクセスをいずれかの中央
処理装置を行っているときには他の中央処理装置のRA
Mとのアクセスを停止させ、単一のRAMを介して複数
の中央処理装置間の相互通信を行うようにした。
<Operation> In this way, when one of the central processing units is accessing the RAM, the RAM of the other central processing unit is accessed.
Access to M is stopped, and mutual communication between multiple central processing units is performed via a single RAM.

〈実施例〉 以下に、本発明の一実施例を第2図〜第4図に従って説
明する。
<Example> An example of the present invention will be described below with reference to FIGS. 2 to 4.

第2図において、エンジンの燃料噴射制御及び点火時期
制御を行うエンジン制御用CPUIが設けられている。
In FIG. 2, an engine control CPUI is provided that controls engine fuel injection and ignition timing.

前記エンジン制御用CPUIのアドレスバスIAはRA
M2のアドレス端子に夫々接続され、前記エンジン制御
用CPUIのデータバスIBは前記RAM2のデータ端
子に夫々接続されている。
The address bus IA of the engine control CPUI is RA.
The data buses IB of the engine control CPU are connected to the data terminals of the RAM 2, respectively.

また、自動変速機の制御を行うトルコン制御用CPU3
が設けられている。前記トルコン制御用CPU3のアド
レスバス3Aは前記RAM2のアドレス端子に前記エン
ジン制御用CPUIのアドレスバスIAと共通にして夫
々接続され、前記トルコン制御用CPU3のデータバス
3Bは前記RAM2のデータ端子に前記エンジン制御用
CPU1のデータバスIBと共通にして夫々接続されて
いる。
In addition, the CPU 3 for controlling the torque converter controls the automatic transmission.
is provided. The address bus 3A of the torque converter control CPU 3 is connected to the address terminal of the RAM 2 in common with the address bus IA of the engine control CPU, and the data bus 3B of the torque converter control CPU 3 is connected to the data terminal of the RAM 2. They are connected in common to the data bus IB of the engine control CPU 1, respectively.

また、前記エンジン制御用CPUIの出力ポートとトル
コン制御用CPU3の人力ボートが第1通信回線4によ
り接続され、エンジン制御用CPU1はRAM2とのア
クセス中の有無を知らせるBUSY信号Btをトルコン
制御用CPU3に第1通信回線4を介して出力する。
Further, the output port of the engine control CPU 1 and the human powered boat of the torque converter control CPU 3 are connected by a first communication line 4, and the engine control CPU 1 sends a BUSY signal Bt to the torque converter control CPU 3, which indicates whether or not it is accessing the RAM 2. is output via the first communication line 4.

また、トルコン制御用CPU3の出力ポートとエンジン
制御用CPUIの入力ポートとが第2通信回線5により
接続され、トルコン制御用CPU3はRAM2とのアク
セス中の有無を知らせるBUSY信号Byをエンジン制
御用CPUIに第2通信回線5を介して出力する。
Further, the output port of the torque converter control CPU 3 and the input port of the engine control CPU are connected by a second communication line 5, and the torque converter control CPU 3 sends a BUSY signal By to the engine control CPU that indicates whether or not it is accessing the RAM 2. is output via the second communication line 5.

前記エンジン制御用CPUIは、第3図のフローチャー
トに従って作動し、RAM2とのアクセスを行うように
なっている。また、トルコン制御用CPU3は、第4図
のフローチャートに従って作動し、RAM2とのアクセ
スを行うようになっている。
The engine control CPUI operates according to the flowchart shown in FIG. 3 and accesses the RAM 2. Further, the torque converter control CPU 3 operates according to the flowchart shown in FIG. 4 and accesses the RAM 2.

ここでは、エンジン制御用CPUIとトルコン制御用C
PU3とに判定手段とアクセス許可手段とが夫々備えら
れている。
Here, the engine control CPUI and the torque converter control C
The PU 3 is provided with a determining means and an access permission means, respectively.

次に、エンジン制御用CPUIの作用を第3図のフロー
チャートに従って説明する。
Next, the operation of the engine control CPUI will be explained according to the flowchart shown in FIG.

Slでは、トルコン制御用CPU3から第2通信回線5
を介して入力されるBUSY信号B7が1か否かを判定
し、YESのときにはルーチンを終了させ、NOのとき
にはS2に進む。ここで、BUSY信号BTが1のとき
に前記トルコン制御用CPU3がRAM2とのアクセス
中であり、BUSY信号B信号筒のときにトルコン制御
用CPU3は非アクセス中である。したがって、トルコ
ン制御用CPU3が非アクセスのときに32に進む。
In Sl, the second communication line 5 is connected from the torque converter control CPU 3.
It is determined whether or not the BUSY signal B7 input via the BUSY signal B7 is 1. If YES, the routine is terminated, and if NO, the routine proceeds to S2. Here, when the BUSY signal BT is 1, the torque converter control CPU 3 is accessing the RAM 2, and when the BUSY signal is B, the torque converter control CPU 3 is not accessing. Therefore, when the torque converter control CPU 3 is not accessed, the process proceeds to 32.

S2では、BUSY信号B信号筒に設定すると共にその
BUSY信号B信号筒1通信回線4を介してトルコン制
御用CPU3に出力する。ここで、BUSY信号BE=
1はエンジン制御用CPUIがRAM2とのアクセス中
であり、BUSY信号B信号筒のときにエンジン制御用
CPUIは非アクセス中である。
In S2, the BUSY signal is set in the B signal tube and is output to the torque converter control CPU 3 via the communication line 4 of the B signal tube 1. Here, BUSY signal BE=
1, the engine control CPUI is accessing the RAM 2, and when the BUSY signal is B, the engine control CPUI is not accessing the RAM2.

S3では、RAM2とのアクセスを行う。すなわち、燃
料噴射量等の制御データをRAM2に書込んだり、トル
コン制御用CPU3がわの変速点等の制御データをRA
M2から読出したりする。
In S3, access to RAM2 is performed. That is, control data such as the fuel injection amount is written to the RAM 2, and control data such as the shift point of the torque converter control CPU 3 is written to the RAM 2.
Read from M2.

そして、RAM2とのアクセスが終了したら、S4にて
、BUSY信号B信号筒に設定し、そのBUSY信号B
信号ドアコン制御用CPU3に第1通信回線4を介して
出力する。
Then, when the access to RAM2 is completed, in S4, the BUSY signal B is set to the signal cylinder, and the BUSY signal B
The signal is output to the door conditioner control CPU 3 via the first communication line 4.

次に、トルコン制御用CPU3の作用を第4図のフロー
チャートに従って説明する。
Next, the operation of the torque converter control CPU 3 will be explained according to the flowchart shown in FIG.

Sllでは、エンジン制御用CPUIから第1通信回線
4を介して入力されるBUSY信号B信号筒か否かを判
定し、YESのときすなわちエンジン制?11用CPU
IがRAM2とアクセス中にはルーチンを終了させNO
のときにはS12に進む。
The Sll determines whether the BUSY signal input from the engine control CPU via the first communication line 4 is the B signal tube, and if YES, that is, the engine control? CPU for 11
If I is accessing RAM2, terminate the routine and select NO.
If so, the process advances to S12.

S12では、BUSY信号BTを1に設定すると共にそ
のBUSY信号B信号筒ンジン制御用CPU1に第2通
信回線5を介して出力する。
In S12, the BUSY signal BT is set to 1 and the BUSY signal B is output to the engine control CPU 1 via the second communication line 5.

S13では、RAM2とのアクセスを行う。すなわち、
前記燃料噴射量等の制御データをRAM2から読出した
り、変速点等の制御データをRAM2に書込んだりする
In S13, access to RAM2 is performed. That is,
Control data such as the fuel injection amount is read from the RAM 2, and control data such as the shift point is written to the RAM 2.

そして、RAM2とのアクセスが終了したら、S14に
て、BUSY信号B7を0に設定しそのBUSY信号B
信号筒ンジン制御用CPU 1に第2通信回線5を介し
て出力する。
When the access to RAM2 is completed, the BUSY signal B7 is set to 0 in S14, and the BUSY signal B7 is set to 0.
The signal is outputted to the engine control CPU 1 via the second communication line 5.

以上説明したように、2つのCPUI、3のアドレスバ
スIA、3AとデータバスIB、3BとをRAM2に共
通化させて夫々接続させると共に、一方のCPUI、3
のRAM2とのアクセス中の有無を他方のCPUI、3
に通信回線4.5を介して相互に伝達し、各CPUI、
3を他方のCPU1,3の非アクセス中にRAM2との
アクセスを行うようにしたので、一般的なRAMを使用
して相互通信を行うことができるため、低コストになる
と共に相互の情報伝達量を大幅に向上できる。
As explained above, the address buses IA, 3A and data buses IB, 3B of two CPUIs, 3 are commonly connected to RAM2, and one CPUI, 3
Check whether the other CPU is accessing RAM2.
communicate with each other via communication line 4.5, and each CPUI,
3 accesses RAM 2 while the other CPUs 1 and 3 are not accessing it, making it possible to communicate with each other using general RAM, which reduces costs and reduces the amount of information transmitted between each other. can be significantly improved.

尚、CPUは3個以上の場合にも本発明は適用できる。Note that the present invention is also applicable to a case where there are three or more CPUs.

〈発明の効果〉 本発明は、以上説明したように、複数のCPUのアドレ
スバスとデータバスとをRAMに共通化させて接続し、
いずれかのCPUがRAMとのアクセス中には他のCP
Uのアクセスを停止させるようにしたので、一般的な単
一のRAMを使用して相互通信を行えるため、低コスト
になると共に情報伝達量も大幅に向上できる。
<Effects of the Invention> As explained above, the present invention connects the address buses and data buses of a plurality of CPUs to a RAM in common,
While one of the CPUs is accessing RAM, the other CPU
Since access by U is stopped, mutual communication can be performed using a single general RAM, which reduces costs and greatly increases the amount of information transmitted.

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

第1図は本発明のクレーム対応図、第2図は本発明の一
実施例を示す構成図、第3図及び第4図は夫々同上のフ
ローチャートである。 1・・・エンジン制御用CPU   IA、3A・・・
アドレスバス  IB、3B・・・データバス  2・
・・RAM   3・・・トルコン制御用CPU   
4・・・第1通信回線  5・・・第2通信回路 特許出願人 日本電子機器株式会社 代理人 弁理士 笹 島  冨二雄 第3図 第4rm
FIG. 1 is a diagram corresponding to claims of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIGS. 3 and 4 are flowcharts of the same. 1... Engine control CPU IA, 3A...
Address bus IB, 3B...Data bus 2.
...RAM 3...CPU for torque converter control
4...First communication line 5...Second communication circuit Patent applicant Japan Electronics Co., Ltd. Agent Patent attorney Fujio Sasashima Figure 3, 4rm

Claims (1)

【特許請求の範囲】  複数の制御装置の中央処理装置間で制御データを相互
に通信させるようにした制御装置の相互通信装置におい
て、 前記各中央処理装置のアドレス端子に接続されたアドレ
スバスを単一のRAMのアドレス端子に共通化して接続
する一方、前記各中央処理装置のデータ端子に接続され
たデータバスを前記RAMのデータ端子に共通化して接
続し、前記中央処理装置相互を、他の中央処理装置に前
記RAMとのアクセス中の有無を知らせる通信回線によ
り、接続し、 かつ前記各中央処理装置は、他の中央処理装置が前記R
AMとのアクセス中か否かを判定する判定手段と、他の
中央処理装置が非アクセス中と判定されたときに前記R
AMとのアクセスを許可するアクセス許可手段と、を備
えたことを特徴とする制御装置の相互通信装置。
[Scope of Claims] An intercommunication device for control devices configured to mutually communicate control data between central processing units of a plurality of control devices, wherein an address bus connected to an address terminal of each of the central processing units is connected to a single address bus. The data bus connected to the data terminal of each central processing unit is connected commonly to the address terminal of one RAM, and the data bus connected to the data terminal of each of the central processing units is commonly connected to the data terminal of the RAM, so that the central processing unit connected by a communication line that informs the central processing unit of whether or not the RAM is being accessed, and each of the central processing units is connected to the R
a determining means for determining whether or not an access is being made to the AM; and a determining means for determining whether or not the AM is being accessed;
An intercommunication device for a control device, comprising: access permission means for permission to access an AM.
JP25595288A 1988-10-13 1988-10-13 Intercommunication equipment for controller Pending JPH02105251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25595288A JPH02105251A (en) 1988-10-13 1988-10-13 Intercommunication equipment for controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25595288A JPH02105251A (en) 1988-10-13 1988-10-13 Intercommunication equipment for controller

Publications (1)

Publication Number Publication Date
JPH02105251A true JPH02105251A (en) 1990-04-17

Family

ID=17285859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25595288A Pending JPH02105251A (en) 1988-10-13 1988-10-13 Intercommunication equipment for controller

Country Status (1)

Country Link
JP (1) JPH02105251A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0563985A1 (en) 1992-04-03 1993-10-06 Fuji Photo Film Co., Ltd. Silver halide color photographic material
WO1999009311A1 (en) * 1997-08-14 1999-02-25 Bayerische Motoren Werke Aktiengesellschaft Electronic control unit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6375867A (en) * 1986-09-18 1988-04-06 Tokyo Electric Co Ltd Ram controller using multi-cpu

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6375867A (en) * 1986-09-18 1988-04-06 Tokyo Electric Co Ltd Ram controller using multi-cpu

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0563985A1 (en) 1992-04-03 1993-10-06 Fuji Photo Film Co., Ltd. Silver halide color photographic material
WO1999009311A1 (en) * 1997-08-14 1999-02-25 Bayerische Motoren Werke Aktiengesellschaft Electronic control unit
US6512970B1 (en) 1997-08-14 2003-01-28 Bayerische Motoren Werke Aktiengesellschaft Electronic control device for controlling autonomously controllable assemblies

Similar Documents

Publication Publication Date Title
US20050265108A1 (en) Memory controller which increases bus bandwidth, data transmission method using the same, and computer system having the same
US6493784B1 (en) Communication device, multiple bus control device and LSI for controlling multiple bus
US5689659A (en) Method and apparatus for bursting operand transfers during dynamic bus sizing
US5649125A (en) Method and apparatus for address extension across a multiplexed communication bus
US20040225760A1 (en) Method and apparatus for transferring data at high speed using direct memory access in multi-processor environments
US5343427A (en) Data transfer device
JPH08287008A (en) Method and apparatus for distribution of bus load in data-processing system
JPH02105251A (en) Intercommunication equipment for controller
US6223196B1 (en) Shared mac (multiply accumulate) system and method
JP2680208B2 (en) Memory access control device
AU749380B2 (en) Time division multiplex highway switch control system and control method of T-S-T three-stage switches in electronic switching system
CN113032300A (en) Data transmission control method
JPH10340247A (en) Data communication interface
WO2007011110A1 (en) Access control to partitioned blocks in shared memory
JPS61123244A (en) Data communication processor
JP2583586B2 (en) Bus control method
JPH08212132A (en) Storage device
KR910008416B1 (en) Circuit for controlling communication among multi-processors using multiport memory
JPH07319840A (en) Multi-cpu device
KR920004415B1 (en) A circuit and a method for transfering data
JPS60114927A (en) Film memory access control system
JPS6059462A (en) Pipeline access memory of bi-directional data bus
JPH0412857B2 (en)
JPH1145209A (en) Program transfer system
JPH0764849A (en) Shared memory controller for processor