JPS58127501A - Monitoring device for chopper of vehicle - Google Patents

Monitoring device for chopper of vehicle

Info

Publication number
JPS58127501A
JPS58127501A JP596682A JP596682A JPS58127501A JP S58127501 A JPS58127501 A JP S58127501A JP 596682 A JP596682 A JP 596682A JP 596682 A JP596682 A JP 596682A JP S58127501 A JPS58127501 A JP S58127501A
Authority
JP
Japan
Prior art keywords
data
chopper
period
cycle
timing
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.)
Granted
Application number
JP596682A
Other languages
Japanese (ja)
Other versions
JPH0258841B2 (en
Inventor
Yasuhiko Watanabe
康彦 渡辺
Kunio Saito
斉藤 国夫
Hiroshi Sato
寛 佐藤
Yoshifumi Ito
伊藤 善文
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.)
JAPANESE NATIONAL RAILWAYS<JNR>
Hitachi Sanki Engineering Co Ltd
Hitachi Ltd
Japan National Railways
Hitachi Plant Technologies Ltd
Nippon Kokuyu Tetsudo
Original Assignee
JAPANESE NATIONAL RAILWAYS<JNR>
Hitachi Sanki Engineering Co Ltd
Hitachi Techno Engineering Co Ltd
Hitachi Ltd
Japan National Railways
Nippon Kokuyu Tetsudo
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 JAPANESE NATIONAL RAILWAYS<JNR>, Hitachi Sanki Engineering Co Ltd, Hitachi Techno Engineering Co Ltd, Hitachi Ltd, Japan National Railways, Nippon Kokuyu Tetsudo filed Critical JAPANESE NATIONAL RAILWAYS<JNR>
Priority to JP596682A priority Critical patent/JPS58127501A/en
Publication of JPS58127501A publication Critical patent/JPS58127501A/en
Publication of JPH0258841B2 publication Critical patent/JPH0258841B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L3/00Electric devices on electrically-propelled vehicles for safety purposes; Monitoring operating variables, e.g. speed, deceleration or energy consumption
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/16Information or communication technologies improving the operation of electric vehicles

Landscapes

  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Selective Calling Equipment (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

PURPOSE:To enable to transfer data of different types only via a unidirectional communication from a gate controller to a monitoring unit by setting the fundamental computing period of the gate controller with that of the monitoring unit and synchronizing the data from the timing of the variation in a byte length. CONSTITUTION:A gate controller MPU 1 ordinarily transmits (n) pieces of data within one period TCH of the chopper of a chopper frequency generator OFP, and transmits (n+1) pieces of data at the timing TCHn. A monitoring unit MPU 2 has a data number-in-one-chopper period counter N1 and a counter N2 which counts the period of the chopper, discriminates whether it is N1=n or not by using as an interrupt signal a chopper frequency signal CHOF and discriminates whether the data in one chopper period is the ordinary (n) or the breaking (n+1). In this manner, the data can be transferred only in a unidirectional communication.

Description

【発明の詳細な説明】 本発明は車両用チョツノくのモニタ装置に係り、特に直
列伝送を行なうに好適なモニタ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a monitor device for a vehicle, and particularly to a monitor device suitable for serial transmission.

車両用チョッパのゲート制御用に、最近マイクロコンピ
ュータ(以下MPUと略)が用いられているが、このよ
うなチョッパ装置のモニタ装置として、機能分割の点か
ら、第1図に示すようゲート制御用マイクロコンピュー
タMPUIと独立にモニタ用のマイクロコンピュータM
PU2が設けられる場合がある。この場合、モニタデー
タはチョッパ主回路CHPから(例えば、チョッパ電流
・電圧など)と、ゲート制御部MPUIから(例えば、
通流率指令値など)入力されるが、ゲート制御部からの
入力方法として、直列伝送を用いる場合、異なる種類の
データに対しモニタ′表置側からデータ種別の指定を含
む転送要求を出し、これにより指定されたデータをゲー
ト制御部から送出する半二重通信の方法が行なわれてい
る。
Recently, microcomputers (hereinafter referred to as MPUs) have been used for gate control of vehicle choppers.However, from the point of view of functional division, microcomputers (hereinafter referred to as MPUs) have been used as monitor devices for such chopper devices, as shown in Figure 1. Microcomputer M for monitoring independently from the microcomputer MPUI
PU2 may be provided. In this case, monitor data is sent from the chopper main circuit CHP (for example, chopper current, voltage, etc.) and from the gate control unit MPUI (for example,
When using serial transmission as the input method from the gate control unit, a transfer request including the data type specification is issued from the monitor's surface side for different types of data. A half-duplex communication method is used in which designated data is sent from the gate control unit.

しかしこの方法では、ゲート制御部で転送要求に対する
処理時間が必要なため、本来のゲート制御用の動作時間
が制限されたり、あるいは転送処理に割当てられる時間
が制限され、転送データの数が制限される不都合があっ
た。
However, this method requires processing time for transfer requests in the gate control unit, which limits the operating time for original gate control, or limits the time allocated to transfer processing, which limits the number of transferred data. There were some inconveniences.

そこで、本発明の目的は、上記した従来技術の欠点をな
くシ、ゲート制御部からモニタ部への単向通信のみで、
異なるデータ種別のデータを転送する方法を提供するに
ある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to eliminate the above-mentioned drawbacks of the prior art, and to provide only one-way communication from the gate control section to the monitor section.
The objective is to provide a method for transferring data of different data types.

このため、本発明においては、ゲート制御部とモニタ部
で、基本演算周期を同一とし、かつ基本演算周期内で単
向通信によシ転送されるデータのバイト長を同一とせず
、モニタ部で、バイト長の変化タイミングからソフトウ
ェア的にデータの同期をとり、データの種別を判別する
方法を用いる。
Therefore, in the present invention, the gate control section and the monitor section have the same basic operation cycle, and the byte length of data transferred by unidirectional communication within the basic operation cycle is not the same, and the monitor section , a method is used in which data is synchronized using software based on the timing of change in byte length and the type of data is determined.

第2図に本発明の一実施例を示す。図でOFFはチョッ
パ周波数発生回路で、この出力がゲート制御部M P 
U 1 、モニタ部MPU2、およびチョッパ主回路C
HPに与えられている。いま、この周波数信号をCHO
Fとして、タイミングを第3図のようにする。すなわち
、ゲート制御部から、チョッパの一周期TCH内に送ら
れるデータを、通常はn個とし、TCH,のタイミング
のときn+1個とする。これに対し、モニタ部では1チ
ョ期を数えるカウンタN2を設け、チョッパ周波数信号
CHOFを割込信号に使い、第4図に示すプログラムを
起動させ、N1=nかどうか(1チョッパ周期内のデー
タが通常のnか、区切シ用のn+1か)の判定を行なう
。第5図に本発明に必要なMPUIとMPU2の構成を
示すが、これはマイクロプロセッサMPI 、MP2、
メモリR,OMl、2、R,AMI、2と、直列伝送イ
ンターフェース8I01,5IO2をもつ通常のマイク
ロコンピュータでよい。
FIG. 2 shows an embodiment of the present invention. In the figure, OFF is the chopper frequency generation circuit, and this output is the gate control section M P
U 1 , monitor unit MPU2, and chopper main circuit C
It is given to HP. Now, CHO this frequency signal
As F, the timing is set as shown in Fig. 3. That is, the number of data sent from the gate control unit within one cycle of the chopper TCH is normally n, and at the timing of TCH, it is n+1. In contrast, the monitor section is equipped with a counter N2 that counts one chopper period, uses the chopper frequency signal CHOF as an interrupt signal, starts the program shown in Figure 4, and checks whether N1=n (data within one chopper period). is normal n or n+1 for delimiter). FIG. 5 shows the configuration of MPUI and MPU2 necessary for the present invention, which consists of microprocessors MPI, MP2,
An ordinary microcomputer having memories R, OMl, 2, R, AMI, 2, and serial transmission interfaces 8I01, 5IO2 may be used.

このようにすれば、起動後最初のデータのタイミングが
とれるまで(最初にn+1個のデータが転送されてくる
まで)の極く短い時間は、N2の値が確定しないが、そ
の後はデータのタイミングが確立するので、転送データ
の種類の区分をNl。
In this way, the value of N2 will not be determined for a very short time after startup until the timing of the first data is set (until the first n+1 pieces of data are transferred), but after that, the timing of the data will change. is established, the classification of the type of transfer data is Nl.

N2を用いて可能となり、ゲート制御部からモニタ部へ
の単向通信のみで異なるデータ種別のデータの転送が可
能になる。
This is possible using N2, and it becomes possible to transfer data of different data types using only one-way communication from the gate control unit to the monitor unit.

第3図に示した本発明一実施例のタイミング図では、チ
ョッパ周期の区分(N2)を行なう受信データ数は通常
より1個多い(n+1)ものが、N2=mのタイミング
で伝送されるとして説明したが、一般には、N2のサイ
クル(0〜m)間で、同じパターンを繰返すデータ数で
あればよく、伝送されてきたデータ数N1をもとに、ソ
フトウェアによりN2を決定できる。
In the timing diagram of one embodiment of the present invention shown in FIG. 3, it is assumed that the number of pieces of received data to be divided into chopper cycles (N2) is one more (n+1) than usual, but is transmitted at the timing of N2=m. As described above, in general, the number of data that repeats the same pattern during N2 cycles (0 to m) is sufficient, and N2 can be determined by software based on the number of transmitted data N1.

また、チョッパの周波数は一定としたが、可変でもよく
、さらにチョッパ周波数発生回路OFFはゲート制御部
MPUI内で実現してもよい。
Further, although the frequency of the chopper is fixed, it may be variable, and furthermore, the chopper frequency generation circuit OFF may be realized within the gate control unit MPUI.

モニタ装置では、対象の時定数に応じた速度でサンプリ
ング、受信を行なえば良いので、上述した方法で、制御
部で高速データはチョッパ周期ごとに毎回伝送し、低速
データをチョッパ周期の区分(N2)用に伝送すれば、
所要の速度でしかもデータの区分を行ないつつ、ゲート
制御部からモニタ部への単方向通信が可能となる。
The monitor device only needs to perform sampling and reception at a rate that corresponds to the time constant of the object, so using the method described above, the control unit transmits high-speed data every chopper cycle, and transmits low-speed data to the chopper cycle division (N2 ),
Unidirectional communication from the gate control section to the monitor section is possible while performing data segmentation at the required speed.

このように、本発明によれば、制御部からの単方向通信
のみでよくなり、ゲート制御用マイクロプロセッサに対
する動作時間上の負担が少ない車両用チョッパのモニタ
装置が得られる。
As described above, according to the present invention, it is possible to obtain a vehicle chopper monitoring device that requires only one-way communication from the control section and that imposes less burden on the gate control microprocessor in operating time.

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

第1図は従来の一実施例を示す図、第2図は本発明の一
実施例を示す図、第3図〜第5図は本発明の説明のため
の図である。 OFF・・・チョッパ周波数発生回路、MPU1・・・
ゲート制御用マイクロプロセッサ、MPU2・・・モ=
p用マイクロプロセッサ、CHP・・・チョッパく主回
路、N1・・・チョッパ周斯内データ数カウンタ、N2
・・・チョッパ周期カウンタ、S工0・・・直列伝送イ
ンターフェース。
FIG. 1 is a diagram showing a conventional embodiment, FIG. 2 is a diagram showing an embodiment of the present invention, and FIGS. 3 to 5 are diagrams for explaining the present invention. OFF...Chopper frequency generation circuit, MPU1...
Gate control microprocessor, MPU2...Mo=
Microprocessor for P, CHP... Chopper main circuit, N1... Chopper internal data number counter, N2
...Chopper cycle counter, S-work 0...Series transmission interface.

Claims (1)

【特許請求の範囲】 1、基本周期で動作する主装置を、マイクロプロセッサ
を用いて直列伝送によりモニタするものにおいて、モニ
タ部のデータ受信敷積等の演算周期を前記基本周期と一
致させ、かつ前記主装置からモニタ装置へ、前記基本周
期中に、該基本周期の¥数倍を単位としたサイクルにお
いて、同一ノ々ターンのデータ数をもつデータを、単方
向直列伝送することを特徴とする車両用チョソノくのモ
ニタ装置。 2、特許請求の範囲第1項において、モニタすべき高速
データは前記基本周期中に毎回受信し、低速データは、
前記基本周期の整数倍を単位としたサイクルにおいて受
信することを特徴とする車両用チョッパのモニタ装置。
[Claims] 1. In a device that monitors a main device that operates at a basic cycle by serial transmission using a microprocessor, the calculation cycle of the data reception cycle of the monitor unit is made to match the basic cycle, and The method is characterized in that data having the same number of turns is serially transmitted from the main device to the monitor device during the basic period in a cycle whose unit is several times the basic period. Vehicle monitoring device. 2. In claim 1, the high-speed data to be monitored is received every time during the basic cycle, and the low-speed data is
A monitoring device for a vehicle chopper, characterized in that it receives data in cycles whose unit is an integral multiple of the basic cycle.
JP596682A 1982-01-20 1982-01-20 Monitoring device for chopper of vehicle Granted JPS58127501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP596682A JPS58127501A (en) 1982-01-20 1982-01-20 Monitoring device for chopper of vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP596682A JPS58127501A (en) 1982-01-20 1982-01-20 Monitoring device for chopper of vehicle

Publications (2)

Publication Number Publication Date
JPS58127501A true JPS58127501A (en) 1983-07-29
JPH0258841B2 JPH0258841B2 (en) 1990-12-10

Family

ID=11625610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP596682A Granted JPS58127501A (en) 1982-01-20 1982-01-20 Monitoring device for chopper of vehicle

Country Status (1)

Country Link
JP (1) JPS58127501A (en)

Also Published As

Publication number Publication date
JPH0258841B2 (en) 1990-12-10

Similar Documents

Publication Publication Date Title
US5905913A (en) System for collecting a specified number of peripheral interrupts and transferring the interrupts as a group to the processor
JPS5654535A (en) Bus control system
KR900005307A (en) Master Slave Control System
JPS58127501A (en) Monitoring device for chopper of vehicle
JPH07248992A (en) Image data transfer controller
JPS6213706B2 (en)
JPH07146842A (en) Bus interface circuit
JP2586157B2 (en) System control unit
JPS60183659A (en) Information transfer control system
JPH0439819B2 (en)
JP2842639B2 (en) Data transfer method
SU746426A1 (en) Multichannel system for programme-control of machine tools
JPS6188355A (en) Data processor
JP3612471B2 (en) Spurious interrupt control method in multiprocessor configuration
JPH084278B2 (en) Microcomputer system with serial communication function
JPH05158723A (en) Abnormality diagnostic device for decentralized processing type controller
JPS5461846A (en) Data input processing system
JPH04342343A (en) Data transfer system and serial data controller
GB2376856A (en) Signal processing system that adds stuff bits to make variable length data stream into integer multiple of byte length
JPH03201151A (en) Input/output controller
JPS59216227A (en) Data transfer system
JPS60126949A (en) Communication controller
GB2334415A (en) Interfacing multiplexed and non- multiplexed busses
JPS616755A (en) Data transfer system
JPS59123027A (en) Processing system of transfer request