JPH04139935A - Serial interface system - Google Patents

Serial interface system

Info

Publication number
JPH04139935A
JPH04139935A JP26367090A JP26367090A JPH04139935A JP H04139935 A JPH04139935 A JP H04139935A JP 26367090 A JP26367090 A JP 26367090A JP 26367090 A JP26367090 A JP 26367090A JP H04139935 A JPH04139935 A JP H04139935A
Authority
JP
Japan
Prior art keywords
interrupt request
data
control device
signal line
request signal
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
JP26367090A
Other languages
Japanese (ja)
Inventor
Akio Kato
昭夫 加藤
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP26367090A priority Critical patent/JPH04139935A/en
Publication of JPH04139935A publication Critical patent/JPH04139935A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To transmit and receive a data between devices serially without losing real time performance with simple control and configuration by sending an interrupt request signal to a predetermined time slot in an interrupt request signal line and allowing a controller to start data transmission and reception with each device based thereon. CONSTITUTION:A controller 1 and plural devices 21-m2, 31-3n are interconnected by an address signal line, an input output data line, each enable signal line for data input output and an interrupt request signal line from the devices 21-2m, 31-3n. Then information giving a transmission timing of various signals is fed from the controller 1 to the devices 21-2m, 31-3n. and an interrupt request signal fed to the devices 21-2m, 31-3n and the controller is allocated to a different time slot on the interrupt request signal line respectively. Thus, data transmission reception is implemented without losing the real time performance.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えば宇宙機の姿勢制御機器等の比較的な小
規模なシステムに適したシリアルデータインタフェース
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a serial data interface system suitable for relatively small-scale systems such as attitude control equipment for spacecraft, for example.

[従来の技術] 宇宙機の姿勢制御機器では、姿勢制御装置と、太陽セン
サ、慣性センサ及び恒星センサ等の各種センサと、モー
メンタムホイール及びリアクション制御システム等の各
種アクチュエータとの間で頻繁にデータのやりとりが行
われる。従来、このようなシステムに使用される機器間
のデータインタフェースとしては、コマンド及びデータ
転送のためのデータバス及びNIL−STD−1553
9、LAN  (IEEE802.4 )等の規格化さ
れたシステムが採用されている。
[Prior Art] In the attitude control equipment of a spacecraft, data is frequently exchanged between the attitude control device, various sensors such as a solar sensor, inertial sensor, and stellar sensor, and various actuators such as a momentum wheel and a reaction control system. An exchange takes place. Conventionally, data interfaces between devices used in such systems include data buses and NIL-STD-1553 for command and data transfer.
9. Standardized systems such as LAN (IEEE802.4) are adopted.

これらは、いずれも1対又は2対のHOT/ RET信
号により、シリアルのディジタルデータ伝送を行なうイ
ンタフェースであり、少ないインタフェースラインで構
成することができるという利点がある。
These are all interfaces that perform serial digital data transmission using one or two pairs of HOT/RET signals, and have the advantage that they can be configured with a small number of interface lines.

[発明が解決しようとする課題] しかしながら、上述した従来のシリアルインタフェース
方式は、インターフェースラインを少なくすると共に、
種々の応用に対応可能とするために、インターフェース
回路の機能が複雑になっている。このために、各機器の
処理要求を速やかに検知することができず、リアルタイ
ム性に欠けるという問題点がある。従って、例えば宇宙
機の姿勢制御系のような比較的小規模でリアルタイム性
を必要とするシステムには不向きであるという問題点が
あった。
[Problems to be Solved by the Invention] However, the conventional serial interface method described above reduces the number of interface lines and
In order to accommodate various applications, the functions of interface circuits have become complex. For this reason, there is a problem in that the processing requests of each device cannot be detected promptly, and real-time performance is lacking. Therefore, there is a problem in that it is not suitable for systems that are relatively small-scale and require real-time performance, such as the attitude control system of a spacecraft.

本発明は、かかる問題点に鑑みてなされたものであって
、簡易な構成で、しかもリアルタイム性に優れたシリア
ルインターフェース方式を提供することを目的とする。
The present invention has been made in view of these problems, and it is an object of the present invention to provide a serial interface system that has a simple configuration and is excellent in real-time performance.

[課題を解決するための手段] 本発明に係るシリアルインターフェース方式は、制御装
置と複数の機器との間でデータを送受するためのシリア
ルインタフェース方式において、前記制御装置と複数の
機器との間を、アドレス信号線、入出力データ線、デー
タ入出力の各イネーブル信号線及び各機器からの割込要
求信号線にて接続し、前記制御装置から前記各機器に対
して、各種信号の送出タイミングを与える情報を供給す
ると共に、前記各機器から前記制御装置に供給される割
込要求信号を、前記割込要求信号線」―の異なるタイム
スロットに夫々割り当てたことを特徴とする。
[Means for Solving the Problem] A serial interface method according to the present invention is a serial interface method for transmitting and receiving data between a control device and a plurality of devices. , an address signal line, an input/output data line, a data input/output enable signal line, and an interrupt request signal line from each device, and the timing of sending various signals from the control device to each device is controlled. The present invention is characterized in that the interrupt request signals supplied from the respective devices to the control device are respectively assigned to different time slots of the interrupt request signal line.

[作用] 本発明によれば、制御装置から出力される送出タイミン
グを与える情報に同期して、制御装置と複数の機器とが
データの送受を行う。各機器が制御装置に対して割込要
求信号を送出する場合には、割込要求信号線上の予め定
められたタイムスロットに対して割込要求信号を送出す
る。制御装置は、この時分割で入力される割込要求信号
に基づき、また、必要に応じてその優先度を判断して各
機器とのデータの送受を開始するので、リアルタイム性
を損なわずにデータの送受信を行うことができる。
[Operation] According to the present invention, the control device and a plurality of devices transmit and receive data in synchronization with information output from the control device that provides the transmission timing. When each device sends an interrupt request signal to the control device, the interrupt request signal is sent to a predetermined time slot on the interrupt request signal line. The control device starts sending and receiving data to and from each device based on the interrupt request signal that is input in a time-sharing manner and determines the priority as necessary, so data can be sent and received without sacrificing real-time performance. can be sent and received.

また、この発明では、制御装置と各機器との間が、アド
レス信号線、入出力データ線、データ入出力の各イネー
ブル信号線及び各機器からの割込要求信号線で接続され
、前記制御装置から前記各機器に対して、各種信号の送
出タイミングを与える情報を供給するという簡単なシス
テム構成で前述した動作を実現することができる。
Further, in the present invention, the control device and each device are connected by an address signal line, an input/output data line, each data input/output enable signal line, and an interrupt request signal line from each device, and the control device The above-described operation can be realized with a simple system configuration in which information indicating timings for sending out various signals is supplied to each of the devices.

[実施例コ 以下、添付の図面に基づいて、本発明の実施例について
説明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described based on the attached drawings.

第1図は、本発明の実施例に係るシリアルインタフェー
ス方式を適用した宇宙機の姿勢制御システムの構成を示
すブロック図である。
FIG. 1 is a block diagram showing the configuration of a spacecraft attitude control system to which a serial interface method according to an embodiment of the present invention is applied.

このシステムは、システムの制御を司る姿勢制御装置1
と、太陽センサ、慣性センサ及び恒星センサ等の各種セ
ンサ2□〜2□と、モーメンタムホイール及びリアクシ
ョン制御システム等の各種アクチュエータ3.〜3nと
、これらを接続するバス4とにより構成されている。
This system consists of an attitude control device 1 that controls the system.
, various sensors 2□-2□ such as solar sensors, inertial sensors, and star sensors, and various actuators such as momentum wheels and reaction control systems 3. 3n and a bus 4 that connects them.

次に、第2図乃至第4図を参照して、バス4で送受信さ
れる各種信号について説明する。
Next, various signals transmitted and received on the bus 4 will be explained with reference to FIGS. 2 to 4.

クロック信号CKは、第2図乃至第4図に示すように、
例えば524.288kHzの周波数を有するシステム
の基本タイミングを与える信号で、姿勢制御装置1から
各センサ2I〜2□及び各アクチュエータ3.〜3nに
供給されている。
As shown in FIGS. 2 to 4, the clock signal CK is
For example, a signal having a frequency of 524.288 kHz gives the basic timing of the system, and is transmitted from the attitude control device 1 to each sensor 2I to 2□ and each actuator 3. ~3n is supplied.

アドレスイネーブル信号AEは、第2図及び第3図に示
すように、姿勢制御装置1から各センサ2□〜2I、、
及び各アクチュエータ3□〜3nに対して出力され、ア
ドレス情報を送出するタイミングを与える。
As shown in FIGS. 2 and 3, the address enable signal AE is transmitted from the attitude control device 1 to each sensor 2□ to 2I, .
and is outputted to each actuator 3□ to 3n, giving timing for transmitting address information.

データイネーブル信号DBは、姿勢制御装置1から各セ
ンサ21〜2...及び各アクチュエータ3□〜3nに
対して出力され、入出力データの送出タイミングを与え
る。
The data enable signal DB is transmitted from the attitude control device 1 to each sensor 21-2. .. .. and is outputted to each actuator 3□ to 3n, giving timing for transmitting input/output data.

出力データDOは、姿勢制御装置1から各センサ21〜
2□及び各アクチュエータ3、〜3□へ出力されるデー
タで、アドレスイネーブル信号AEの送出タイミングで
出力されるアドレスデータと、データイネーブル信号D
Eの送出タイミングで出力される出力データとから構成
される。アドレスデータは、例えば8ビツトのシリアル
データにて構成され、そのうちのMSB(最上位ビット
)が出力モードと入力モードとを区別する情報、残りの
7ビツトが127の機器のうちの一つを特定するアドレ
ス情報となっている。ここでは、第2図に示すように、
アドレスデータのMSBが“OIIのとき出力モード、
同じく第3図に示すように、“′1パのとき入力モード
に設定される。また、出力データは、例えば16ビツト
のシリアルデータから構成される。
The output data DO is transmitted from the attitude control device 1 to each sensor 21 to
2□ and the data output to each actuator 3, to 3□, the address data output at the sending timing of the address enable signal AE and the data enable signal D.
It is composed of output data output at the sending timing of E. Address data consists of, for example, 8-bit serial data, of which the MSB (most significant bit) is information that distinguishes between output mode and input mode, and the remaining 7 bits specify one of the 127 devices. address information. Here, as shown in Figure 2,
Output mode when MSB of address data is “OII”
Similarly, as shown in FIG. 3, the input mode is set when the signal is "'1".The output data is composed of, for example, 16-bit serial data.

入力データDrは、データイネーブル信号DEの送出タ
イミングで、各センサ21〜2カ及び各アクチュエータ
3I〜3..から姿勢制御装置1に送出されるデータで
、例えば16ビツトのシリアルデータから構成される。
Input data Dr is transmitted to each sensor 21-2 and each actuator 3I-3. at the sending timing of data enable signal DE. .. The data is sent from the controller to the attitude control device 1, and is composed of, for example, 16-bit serial data.

なお、アドレスと入出力データとの間の4クロツクは、
各機器でアドレスをデコードし、入力モードか出力モー
ドかを識別し、データを入力又は出力するための準備期
間である。
Note that the 4 clocks between the address and input/output data are:
This is a preparation period for each device to decode the address, identify whether it is in input mode or output mode, and input or output data.

また、割込要求タイミング信号IRTは、姿勢制御装置
1から各センサ2.〜2□及び各アクチュエータ3I〜
3oに出力される8ビットのシリアルデータから構成さ
れ、割込要求のタイミングを与える。この信号IRTは
、MSBは、II I 11に固定されており、立上り
のタイミングによってタイミング信号IRTを識別する
ようにしている。
Further, the interrupt request timing signal IRT is transmitted from the attitude control device 1 to each sensor 2. ~2□ and each actuator 3I~
It consists of 8-bit serial data output to 3o, and provides the timing of an interrupt request. The MSB of this signal IRT is fixed to II I 11, and the timing signal IRT is identified by the rising timing.

また、残りの7ビツトは、割込みを許可した割込みチャ
ネルを示すデータとなっている。
The remaining 7 bits are data indicating the interrupt channel for which interrupts are permitted.

更に、割込要求パスライン上の割込要求信号IRBは、
各センサ21〜2...及び各アクチュエータ31〜3
nから姿勢制御装置1に出力されるもので、割込要求を
送出する機器は、自己に割り当てられたタイムスロット
にII O11レベルの割込要求を送出する。ここでは
、Ro−R15の16チヤネルの割込要求の送出が可能
になっている。
Furthermore, the interrupt request signal IRB on the interrupt request path line is
Each sensor 21-2. .. .. and each actuator 31 to 3
The device that sends the interrupt request sends an IIO11 level interrupt request in the time slot assigned to itself. Here, it is possible to send interrupt requests for 16 channels of Ro-R15.

次に、このシステムの動作を説明する。Next, the operation of this system will be explained.

第2図は、出力モードのタイミング図である。FIG. 2 is a timing diagram of the output mode.

姿勢制御装置1から特定の機器にデータ出力する場合に
は、先ず、アドレスイネーブル信号AEを″1゛レベル
にすると共に、相手側の機器を特定するアドレスを出力
する。相手側の機器は、アドレスのMSBが“′0パで
あることから、姿勢制御装置1からデータが出力される
ことを知り、また、アドレスの残りの7ビツトから、そ
のデータが自己宛てのものであることを知る。これによ
り、姿勢制御装置1からのデータを」1記指定された機
器が入力することになる。
When outputting data from the attitude control device 1 to a specific device, first, the address enable signal AE is set to the "1" level and an address that specifies the device on the other side is output. Since the MSB of is "0", it knows that the data will be output from the attitude control device 1, and from the remaining 7 bits of the address, it knows that the data is addressed to itself. As a result, the data from the attitude control device 1 will be input to the device specified in item 1.

第3図は、入力モードのタイミング図である。FIG. 3 is a timing diagram of the input mode.

姿勢制御装置1が特定の機器からデータを受は取る場合
には、先ず、アドレスイネーブル信号AEを“′1゛ル
ベルにすると共に、相手側の機器を特定するアドレスを
出力する。相手側の機器は、アドレスのMSBが“+1
”であることから、姿勢制御装置1がデータを要求して
いることを知り、また、アドレスの残りの7ビツトから
、そのデータが自己からのものであることを知る。これ
により、」1記指定された機器が出力データを送出し、
姿勢制御装置1がこれを受は取ることにより、データの
入力モードが終了する。
When the attitude control device 1 receives data from a specific device, it first sets the address enable signal AE to "'1" and outputs an address that specifies the device on the other side. The MSB of the address is “+1”
”, it knows that the attitude control device 1 is requesting data, and from the remaining 7 bits of the address, it knows that the data is from itself.Thus, “1. The specified device sends output data,
When the attitude control device 1 accepts this, the data input mode ends.

第4図は、各機器の割込要求処理を示すタイミング図で
ある。
FIG. 4 is a timing diagram showing interrupt request processing of each device.

即ち、姿勢制御装置1は、例えば200μs〜1ms程
度の予め決められた周期で割込要求タイミング信号IR
Tを出力する。割込要求タイミング信号IRTは、その
MSBが“31パに固定されるので、その立上りのタイ
ミングによって各機器に検田される。
That is, the attitude control device 1 outputs the interrupt request timing signal IR at a predetermined period of, for example, about 200 μs to 1 ms.
Output T. Since the MSB of the interrupt request timing signal IRT is fixed at "31," the interrupt request timing signal IRT is detected by each device at the timing of its rise.

一方、割込要求パスラインは、通常、ハイレベルに固定
されており、割込要求を送出する各機器は、自己に割り
当てられている特定のタイミングでこのパスラインを1
101+レベルに立ち下げる。
On the other hand, the interrupt request pass line is normally fixed at a high level, and each device that sends an interrupt request switches this pass line to 1 at a specific timing assigned to it.
Bring it down to 101+ level.

姿勢制御装置1では、割込要求信号IRBをチエツクし
、何チャンネルの割込要求が送出されているかを確認す
ると共に、優先度の判定を行って割込みを許可するチャ
ンネルを決定する。この決定されたチャンネルは、割込
要求タイミング信号IRTの残りの7ビツトによって示
される。
The attitude control device 1 checks the interrupt request signal IRB, confirms how many channels of interrupt requests are being sent, and determines the priority level to determine which channels should be allowed to interrupt. This determined channel is indicated by the remaining 7 bits of the interrupt request timing signal IRT.

割込み許可を受けたチャンネルの機器は、前述した入力
モード又は出方モードのタイミングにょって、姿勢制御
装置とデータの送受を行う。一方、割込みが許可されな
かったチャンネルの機器については、その割込要求信号
がリセットされ、再度割込み要求を送出する。
The device of the channel for which the interruption permission has been received sends and receives data to and from the attitude control device at the timing of the input mode or exit mode described above. On the other hand, for devices on channels for which interrupts are not permitted, their interrupt request signals are reset and they send out interrupt requests again.

このように、本システムによれば、各機器が割込要求を
予め定められたタイムスロットに送出することにより、
略リアルタイムで姿勢制御装置1からの応答を受けるこ
とができ、その構成も簡単なものとすることができる。
In this way, according to this system, each device sends an interrupt request to a predetermined time slot,
It is possible to receive a response from the attitude control device 1 in substantially real time, and its configuration can be made simple.

「発明の効果コ 以」二説明したように本発明によれば、制御装置から出
力される送出タイミングを与える情報に同期して、制御
装置と複数の機器との間でデータの送受を行い、各機器
が制御装置に対して割込要求信号を送出する場合には、
割込要求信号線上の予め定められたタイムスロットに対
して割込要求信号を送出し、制御装置は、この割込要求
信号に基づき各機器とのデータの送受を開始するといっ
た簡単な制御及び構成で、リアルタイム性を損なわずに
機器間のデータをシリアルに送受信することができると
いう効果を奏する。
"Effects of the Invention" 2. According to the present invention, data is sent and received between a control device and a plurality of devices in synchronization with information output from the control device that provides the transmission timing, When each device sends an interrupt request signal to the control device,
Simple control and configuration in which an interrupt request signal is sent to a predetermined time slot on the interrupt request signal line, and the control device starts sending and receiving data with each device based on this interrupt request signal. This has the effect that data can be serially transmitted and received between devices without impairing real-time performance.

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

第1図は本発明の実施例に係るシリアルインタフェース
方式を適用した宇宙機の姿勢制御システムの構成を示す
ブロック図、第2図は同システムにおける出力モードの
タイミング図、第3図は同システムにおける入力モード
のタイミング図、第4図は各機器の割込要求処理を示す
タイミング図である。 1;姿勢制御装置、21〜2m;センサ、3゜〜3□1
Fig. 1 is a block diagram showing the configuration of a spacecraft attitude control system to which a serial interface method according to an embodiment of the present invention is applied, Fig. 2 is a timing diagram of the output mode in the system, and Fig. 3 is a diagram showing the configuration of the spacecraft attitude control system in which the serial interface method according to the embodiment of the present invention is applied. Timing diagram of input mode. FIG. 4 is a timing diagram showing interrupt request processing of each device. 1; Attitude control device, 21~2m; Sensor, 3°~3□1

Claims (2)

【特許請求の範囲】[Claims] (1)制御装置と複数の機器との間でデータを送受する
ためのシリアルインタフェース方式において、前記制御
装置と複数の機器との間を、アドレス信号線、入出力デ
ータ線、データ入出力の各イネーブル信号線及び各機器
からの割込要求信号線にて接続し、前記制御装置から前
記各機器に対して、各種信号の送出タイミングを与える
情報を供給すると共に、前記各機器から前記制御装置に
供給される割込要求信号を、前記割込要求信号線上の異
なるタイムスロットに夫々割り当てたことを特徴とする
シリアルインタフェース方式。
(1) In a serial interface method for transmitting and receiving data between a control device and multiple devices, address signal lines, input/output data lines, and data input/output lines are connected between the control device and multiple devices. It is connected by an enable signal line and an interrupt request signal line from each device, and the control device supplies information on the sending timing of various signals to each device, and from each device to the control device. A serial interface system characterized in that supplied interrupt request signals are assigned to different time slots on the interrupt request signal line.
(2)前記制御装置は、前記各機器からの割込要求信号
に対し、その優先度に応じて割込許可を与えることを特
徴とする請求項1に記載のシリアルインタフェース方式
(2) The serial interface method according to claim 1, wherein the control device grants interrupt permission to interrupt request signals from each device according to their priorities.
JP26367090A 1990-09-30 1990-09-30 Serial interface system Pending JPH04139935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26367090A JPH04139935A (en) 1990-09-30 1990-09-30 Serial interface system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26367090A JPH04139935A (en) 1990-09-30 1990-09-30 Serial interface system

Publications (1)

Publication Number Publication Date
JPH04139935A true JPH04139935A (en) 1992-05-13

Family

ID=17392713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26367090A Pending JPH04139935A (en) 1990-09-30 1990-09-30 Serial interface system

Country Status (1)

Country Link
JP (1) JPH04139935A (en)

Similar Documents

Publication Publication Date Title
EP0114485B1 (en) Communications system and device therefor employing control line minimization
US4608700A (en) Serial multi-drop data link
US3978451A (en) Controlling communications between computer devices over common bus
JPH0325103B2 (en)
JPH0583016B2 (en)
JPH04139935A (en) Serial interface system
EP0227311B1 (en) Data processing system in which modules logically "or" number sequences onto control lines to obtain the use of a time shared bus
US5721946A (en) Signal transfer method having unique word assigned to terminal stations appended before control frames originated from control station and terminal stations
JPS5824061B2 (en) Data communication control method
JPH03179850A (en) Common bus token control system
JPS58181133A (en) Information transmitting system
JP6837621B1 (en) robot
KR100331865B1 (en) Data Transmitting/Receiving Method Between Boards
JPH047620B2 (en)
JPS62132444A (en) Radio communication system provided with centralized control function
SU1221656A1 (en) Multichannel device for controlling information exchange among computers
JPS60246466A (en) Communication request selecting system
JPH0568041A (en) Communication control system
JPH01192239A (en) Polling system in communication circuit
JPH0136740B2 (en)
JPH0754504B2 (en) Bidirectional bus data transfer control method
JP2666782B2 (en) Multiple bus control system
JP2615815B2 (en) Priority control method
JPS63188257A (en) Bus acquiring system
JP2616010B2 (en) Packet network