JPH0258841B2 - - Google Patents

Info

Publication number
JPH0258841B2
JPH0258841B2 JP596682A JP596682A JPH0258841B2 JP H0258841 B2 JPH0258841 B2 JP H0258841B2 JP 596682 A JP596682 A JP 596682A JP 596682 A JP596682 A JP 596682A JP H0258841 B2 JPH0258841 B2 JP H0258841B2
Authority
JP
Japan
Prior art keywords
data
gate control
chopper
period
frequency 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.)
Expired - Lifetime
Application number
JP596682A
Other languages
Japanese (ja)
Other versions
JPS58127501A (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.)
Railway Technical Research Institute
Hitachi Ltd
Hitachi Plant Technologies Ltd
Original Assignee
Railway Technical Research Institute
Hitachi Techno Engineering Co Ltd
Hitachi 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 Railway Technical Research Institute, Hitachi Techno Engineering Co Ltd, Hitachi Ltd filed Critical Railway Technical Research Institute
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)

Description

【発明の詳細な説明】 本発明は車両用チヨツパのモニタ装置に係り、
特に直列伝送を行なうに好適なモニタ装置に関す
る。
[Detailed Description of the Invention] The present invention relates to a monitoring device for a vehicle chopper,
In particular, the present invention relates to a monitor device suitable for serial transmission.

車両用チヨツパのゲート制御用に、最近マイク
ロコンピユータ(以下MPUと略)が用いられて
いるが、このようなチヨツパ装置のモニタ装置と
して、機能分割の点から、第1図に示すようゲー
ト制御用マイクロコンピユータMPU1と独立に
モニタ用のマイクロコンピユータMPU2が設け
られる場合がある。この場合、モニタデータはチ
ヨツパ主回路CHPから(例えば、チヨツパ電
流・電圧などのアナログデータ)と、ゲート制御
部MPU1から(例えば、通流率指令値など)入
力される。さて、ゲート制御部からの入力方法と
して、直列伝送を用いる場合、異なる種類のデー
タに対しモニタ装置側からデータ種別の指定を含
む転送要求を出し、これにより指定されたデータ
をゲート制御部から送出する半二重通信の方法が
行なわれている。
Microcomputers (hereinafter abbreviated as MPUs) have recently been used for gate control of vehicle choppers, but from the point of view of functional division, microcomputers (hereinafter referred to as MPUs) have been used for gate control as shown in Figure 1. A monitoring microcomputer MPU2 may be provided independently of the microcomputer MPU1. In this case, monitor data is input from the chopper main circuit CHP (for example, analog data such as chopper current and voltage) and from the gate control unit MPU1 (for example, conduction rate command value, etc.). Now, when using serial transmission as the input method from the gate control unit, the monitor device issues a transfer request that includes the data type specification for different types of data, and the specified data is then sent from the gate control unit. Half-duplex communication methods are in use.

しかしこの方法では、ゲート制御部で転送要求
に対する処理時間が必要なため、本来のゲート制
御用の動作時間が制限されたり、あるいは転送処
理に割当てられる時間が制限され、転送データの
数が制限される不都合があつた。
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 was an inconvenience.

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

このため、本発明においては、ゲート制御部と
モニタ部で、基本演算周期を同一とし、かつ基本
演算周期内で単向通信により転送されるデータの
バイト長を同一とせず、モニタ部で、バイト長の
変化タイミングからソフトウエア的にデータの同
期をとり、データの種別を判別する方法を用い
る。
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. A method is used in which data is synchronized using software based on the timing of change in length and the type of data is determined.

第2図に本発明の一実施例を示す。図でOFP
はチヨツパ周波数発生回路で、この出力がゲート
制御部MPU1、モニタ部MPU2、およびチヨツ
パ主回路CHPに与えられている。いま、この周
波数信号をCHOFとして、タイミングを第3図の
ようにする。すなわち、ゲート制御部において
は、チヨツパの一周期TCH内にデータを通常n
個送出し、TCHoのタイミングのときにn+1個
のデータを送出する。さらに、第3図を用いて説
明すると、ゲート制御部から送出されるデータ列
はROM1(第5図)に予め記憶された規則に従
つて作り出され(TCHm−1のn番目のデータ
は通流率指令値というように)、この作成したデ
ータ列はチヨツパ周波数信号を割込信号としてモ
ニタ部に送出する。これに対し、モニタ部では1
チヨツパ周期内データ数カウンタN1と、チヨツ
パ周期を数えるカウンタN2を設け、チヨツパ周
波数信号CHOFを割込信号に従い、第4図に示す
プログラムを起動させ、N1=nかどうか(1チ
ヨツパ周期内のデータが通常のnか、区切り用の
n+1か)の判定を行なう。第5図に本発明に必
要なMPU1とMPU2の構成を示すが、これはマ
イクロプロセツサMP1,MP2、メモリROM
1,2、RAM1,2と、直列伝送インターフエ
ースSIO1,SIO2をもつ通常のマイクロコンピ
ユータでよい。
FIG. 2 shows an embodiment of the present invention. OFP in diagram
is a chopper frequency generating circuit whose output is given to the gate control section MPU1, the monitor section MPU2, and the chopper main circuit CHP. Now, using this frequency signal as CHOF, set the timing as shown in Figure 3. In other words, in the gate control section, data is normally transmitted within one period TCH of the chopper.
n+1 pieces of data are sent at the timing of TCH o . Furthermore, to explain using Fig. 3, the data string sent from the gate control section is created according to the rules stored in advance in ROM1 (Fig. 5) (the nth data of TCHm-1 is This created data string is sent to the monitor section using the chopper frequency signal as an interrupt signal. On the other hand, in the monitor section, 1
A counter N1 for the number of data within a chopper period and a counter N2 for counting the chopper period are provided, and the chopper frequency signal CHOF is activated according to the interrupt signal to start the program shown in FIG. is a normal n or a delimiter n+1). Figure 5 shows the configuration of MPU1 and MPU2 necessary for the present invention, which consists of microprocessors MP1, MP2, memory ROM
An ordinary microcomputer having RAM1, 2, and serial transmission interfaces SIO1, SIO2 may be used.

このようにすれば、起動後最初のデータのタイ
ミングがとれるまで(ゲート制御部はモニタ部と
独立してデータ列を作成するので、モニタ部がカ
ウントを始めてから最初にn+1個のデータが転
送されてくるまで)の極く短い時間は、N2の値
が確定しないが、その後はデータのタイミングが
確立するので、転送データの種類の区分をN1,
N2を用いて可能となる。第3図を参照すると、
転送されてきたデータ列は、それぞれN1,N2
においてROM2(第5図)に記憶された規則で
与えられる意味を持ち、そのデータの位置を参照
することにより種別が判断される。これにより、
ゲート制御部からモニタ部への単向通信のみで異
なるデータ種別のデータの転送が可能になる。
In this way, until the timing of the first data after startup is obtained (the gate control section creates a data string independently of the monitor section, n+1 data will be transferred for the first time after the monitor section starts counting). The value of N2 is not determined for a very short period of time (until the time of arrival), but after that the data timing is established, so the type of transfer data is classified as N1,
This is possible using N2. Referring to Figure 3,
The transferred data strings are N1 and N2, respectively.
The data has a meaning given by the rules stored in the ROM 2 (FIG. 5), and the type is determined by referring to the location of the data. This results in
Transfer of data of different data types is possible with 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, the number of received data for dividing the chopper period (N2) is one more (n+1) than usual;
The explanation was given assuming that it is transmitted at a timing of N2 = m, but generally, between N2 cycles (0 to m),
The number of data that repeats the same pattern is sufficient, and N2 can be determined by software based on the number of transmitted data N1.

また、チヨツパの周波数は一定としたが、可変
でもよく、さらにチヨツパ周波数発生回路OFP
はゲート制御部MPU1内で実現してもよい。
In addition, although the frequency of the chopper is fixed, it may be variable, and the chipper frequency generator OFP
may be realized within the gate control unit MPU1.

モニタ装置では、対象の時定数に応じた速度で
サンプリング、受信を行なえば良いので、上述し
た方法で、ゲート制御部で高速データはチヨツパ
周期ごとに毎回伝送し、低速データをチヨツパ周
期の区分(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 gate control section transmits high-speed data every chipper period, and transmits low-speed data to the division of the chopper period ( N2) enables unidirectional communication from the gate control section to the monitor section at the required speed and while performing data classification.

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

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

第1図は従来の一実施例を示す図、第2図は本
発明の一実施例を示す図、第3図〜第5図は本発
明の説明のための図である。 OFP……チヨツパ周波数発生回路、MPU1…
…ゲート制御用マイクロプロセツサ、MPU2…
…モニタ用マイクロプロセツサ、CHP……チヨ
ツパ主回路、N1……チヨツパ周期内データ数カ
ウンタ、N2……チヨツパ周期カウンタ、SIO…
…直列伝送インターフエース。
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. OFP……Chopper frequency generation circuit, MPU1…
...Gate control microprocessor, MPU2...
...Monitoring microprocessor, CHP...Chiyotsupa main circuit, N1...Chiyotsupa period data number counter, N2...Chiyotsupa period counter, SIO...
…Serial transmission interface.

Claims (1)

【特許請求の範囲】[Claims] 1 チヨツパ主回路を動作させるゲート制御装置
からデータを取り込みこのゲート制御装置をモニ
タするモニタ装置を備えた車両用チヨツパにおい
て、前記チヨツパ主回路に周波数信号を与えるチ
ヨツパ周波数発生回路と、前記ゲート制御装置
に、前記周波数信号の周期のm倍の周期を一単位
として、この一単位中のm個の前記周波数信号の
周期の内m番目の周期内にn+1個、その他の周
期内にn個のデータを送出する手段を設け、前記
モニタ装置に、前記周波数信号の各周期に送出さ
れるデータの数をカウントする第一カウンタと、
前記周波数信号の周期の数をカウントする第二の
カウンタと、前記第1のカウンタのカウント数が
n+1のとき前記第2のカウンタをリセツトする
手段と、これら第一、第二のカウンタの出力をも
つて前記各周期に送出されるデータの位置を判定
し、それぞれのデータの種別を判定する手段を備
え、前記ゲート制御装置から前記モニタ装置へデ
ータを単方向直列伝送することを特徴とする車両
用チヨツパ。
1. A chopper for a vehicle equipped with a monitor device that takes in data from a gate control device that operates a chopper main circuit and monitors the gate control device, a chopper frequency generating circuit that provides a frequency signal to the chopper main circuit, and the gate control device. With a period m times the period of the frequency signal as one unit, n+1 data in the m-th period among the m periods of the frequency signal in this one unit, and n data in the other periods. a first counter for counting the number of data transmitted in each period of the frequency signal to the monitoring device;
a second counter for counting the number of periods of the frequency signal; means for resetting the second counter when the count number of the first counter is n+1; A vehicle characterized by comprising means for determining the position of data sent in each cycle and determining the type of each data, and transmitting data in unidirectional series from the gate control device to the monitor device. Chiyotsupa for.
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 JPS58127501A (en) 1983-07-29
JPH0258841B2 true 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
JPS58127501A (en) 1983-07-29

Similar Documents

Publication Publication Date Title
US4504906A (en) Multiprocessor system
JPH0534699B2 (en)
US4755990A (en) Collision avoidance in a multinode data communication network
US5021777A (en) Mode-selectable communications system
JPH0258841B2 (en)
JPS61105486A (en) Timer device
US5485583A (en) System for controlling data transfer by setting and decrementing a counter based on the number of error correction bits and transfer bit rate respectively
JP2767990B2 (en) Microprocessor control method
JPS60181812A (en) Keyboard controller
JPS6213706B2 (en)
JPS6255186B2 (en)
JPH07146842A (en) Bus interface circuit
JPS6350903B2 (en)
JP2751290B2 (en) Network monitoring method
JPS6188355A (en) Data processor
JPS60183659A (en) Information transfer control system
JPS6117425B2 (en)
JP2580575B2 (en) Moving object control device
JP2842639B2 (en) Data transfer method
SU600558A1 (en) Priority device
JP2586157B2 (en) System control unit
SU746426A1 (en) Multichannel system for programme-control of machine tools
Burd A communication protocol for single chip processors
JPH0537390A (en) Data processing signal generating circuit
JPH05158723A (en) Abnormality diagnostic device for decentralized processing type controller