JP2000214922A - Abnormality diagnosing method for motor driving device - Google Patents

Abnormality diagnosing method for motor driving device

Info

Publication number
JP2000214922A
JP2000214922A JP1385999A JP1385999A JP2000214922A JP 2000214922 A JP2000214922 A JP 2000214922A JP 1385999 A JP1385999 A JP 1385999A JP 1385999 A JP1385999 A JP 1385999A JP 2000214922 A JP2000214922 A JP 2000214922A
Authority
JP
Japan
Prior art keywords
abnormality
stored
data
nonvolatile memory
driving device
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
JP1385999A
Other languages
Japanese (ja)
Inventor
Hiroshi Ozaki
博司 尾▲崎▼
Satomi Furuya
里美 古谷
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 JP1385999A priority Critical patent/JP2000214922A/en
Publication of JP2000214922A publication Critical patent/JP2000214922A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an abnormality diagnostic method for a motor driving device capable of analyzing an abnormality cause when abnormality occurs. SOLUTION: When abnormality is detected in a step S1, the abnormality factor is decided in a step S5, abnormality contents, e.g. an error number are stored in a nonvolatile memory in a step S6, abnormality diagnostic data stored in a RAM is further traced back from a RAM pointer and stored in the nonvolatile memory in a step S7, and the processing of this cycle is finished. It is possible to confirm the contents of the abnormality that takes places and the occurrence cause by reading the abnormality contents and the abnormality diagnostic data stored in the nonvolatile memory.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はモータ駆動装置の異
常診断方法に関するものである。
The present invention relates to a method for diagnosing an abnormality in a motor drive device.

【0002】[0002]

【従来の技術】従来、モータ駆動装置の異常を検出する
と、CPUがその異常要因を判定し、異常内容を不揮発
性メモリに記憶する方法がある。
2. Description of the Related Art Conventionally, there is a method in which when an abnormality of a motor drive device is detected, a CPU determines the cause of the abnormality and stores the details of the abnormality in a nonvolatile memory.

【0003】従来のモータ駆動装置の異常診断方法につ
いて図4を用いて説明する。
A conventional method for diagnosing an abnormality in a motor driving device will be described with reference to FIG.

【0004】まず、ステップS8でCPUは異常を検出
すると、その異常要因をステップS9で判定し、ステッ
プS10で異常内容たとえばエラー番号を不揮発性メモ
リ6に記憶し、この周期の処理を終了する。
First, when the CPU detects an abnormality in step S8, the CPU determines the cause of the abnormality in step S9, stores the content of the abnormality, for example, an error number in the nonvolatile memory 6 in step S10, and ends the processing in this cycle.

【0005】後で不揮発性メモリに記憶した異常内容を
読み出すことにより、発生した異常内容をエラー履歴と
して確認することができる。
By reading out the contents of the abnormality stored in the non-volatile memory later, the contents of the abnormality that has occurred can be confirmed as an error history.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の構成では不揮発性メモリを読み出すことで発生した
異常内容を確認することは可能であるが、その異常が発
生するに至る経緯を示すデータは残っておらず、異常発
生の原因を解析することが困難となるという問題があっ
た。
However, in the above-described conventional configuration, it is possible to confirm the details of the error that has occurred by reading the nonvolatile memory, but data indicating the circumstances that led to the occurrence of the error remains. Therefore, there is a problem that it is difficult to analyze the cause of the occurrence of the abnormality.

【0007】本発明は上記従来の課題を解決するもので
あり、異常発生時の異常原因を解析できるモータ駆動装
置の異常診断方法を提供することを目的とする。
An object of the present invention is to solve the above-mentioned conventional problems, and an object of the present invention is to provide a method of diagnosing an abnormality of a motor drive device which can analyze the cause of an abnormality when an abnormality occurs.

【0008】[0008]

【課題を解決するための手段】上記の課題を解決するた
めに本発明は、CPUにより異常を検出した時、異常内
容とあらかじめ指定した任意のアドレス上のデータを不
揮発性メモリに記憶するもので、異常発生の原因解析を
することができる。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention is to store the contents of an abnormality and data at an arbitrary designated address in a non-volatile memory when an abnormality is detected by a CPU. In addition, the cause of the occurrence of the abnormality can be analyzed.

【0009】[0009]

【発明の実施の形態】上記の課題を解決するために本発
明は、CPUにより異常を検出した時、異常内容とあら
かじめ指定した任意のアドレス上のデータを不揮発性メ
モリに記憶することを特徴とするモータ駆動装置の異常
診断方法である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to solve the above-mentioned problems, the present invention is characterized in that when an abnormality is detected by a CPU, the contents of the abnormality and data at an arbitrary designated address are stored in a nonvolatile memory. This is a method for diagnosing an abnormality of the motor driving device.

【0010】また、データは、周期をあらかじめ指定し
て間引き蓄積するようにしたものである。
The data is thinned out and stored by specifying a cycle in advance.

【0011】このように、あらかじめ指定した任意のア
ドレス上のデータを不揮発性メモリに記憶することによ
って、適切なアドレスを指定すれば異常の解析に役立つ
データを不揮発性メモリに記憶することが可能となる。
As described above, by storing data at an arbitrary address designated in advance in the non-volatile memory, it is possible to store data useful for analyzing an abnormality in the non-volatile memory if an appropriate address is specified. Become.

【0012】またデータは、周期をあらかじめ指定して
間引き蓄積することにより、1周期毎に毎回データを蓄
積する場合に比べ、同一の不揮発性メモリ領域でも記憶
するデータの時間領域を広げることができ、より広範囲
にわたるデータで異常解析を行うことが可能となる。
By thinning out data by designating a cycle in advance, the time area of data to be stored can be expanded even in the same nonvolatile memory area as compared with the case where data is accumulated every time in one cycle. Thus, it is possible to perform an abnormality analysis on a wider range of data.

【0013】[0013]

【実施例】以下、本発明の実施例について図1,2,3
を併用して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.
Will be described together.

【0014】図において、2は主回路、4は駆動指令回
路、5はCPU、6は不揮発性メモリ、7はRAMで、
モータ駆動装置1を構成している。これらの構成は従来
から公知のモータ駆動装置と同一である。まず異常が発
生していない場合の動作から説明する。
In the figure, 2 is a main circuit, 4 is a drive command circuit, 5 is a CPU, 6 is a nonvolatile memory, 7 is a RAM,
The motor drive device 1 is configured. These structures are the same as those of a conventionally known motor driving device. First, the operation when no abnormality has occurred will be described.

【0015】ステップS1で異常を検出しなければ、ス
テップS2でCPU8はあらかじめ指定されたアドレス
を読み込む。ここで、あらかじめ指定するアドレスはパ
ラメータとして変更できるような構成としている。異常
が発生していない場合にステップS3で指定されたアド
レス上のデータを異常診断用データとしてRAMに記憶
し、ステップS4で次回の周期ために記憶先のRAMポ
インタを移動し、この周期の処理を終了する。
If no abnormality is detected in step S1, the CPU 8 reads an address designated in advance in step S2. Here, the address specified in advance can be changed as a parameter. If no abnormality has occurred, the data on the address specified in step S3 is stored in the RAM as abnormality diagnosis data. In step S4, the RAM pointer of the storage destination is moved for the next cycle, and processing in this cycle is performed. To end.

【0016】なお、RAM7はリングバッファとして使
用しており、RAMポインタが記憶領域の終端に到達し
た場合はRAMポインタを記憶領域の先頭に戻すことに
よって連続的にデータをRAMに蓄積できるようにして
いる。
The RAM 7 is used as a ring buffer. When the RAM pointer reaches the end of the storage area, the RAM pointer is returned to the head of the storage area so that data can be continuously stored in the RAM. I have.

【0017】つぎに異常が発生した場合の動作を説明す
る。ステップS1で異常を検出すると、ステップS5で
その異常要因を判定し、ステップS6で異常内容たとえ
ばエラー番号を不揮発性メモリ6に記憶し、さらにRA
Mに蓄積している異常診断用データをRAMポインタか
らさかのぼり、ステップS7で不揮発性メモリに記憶
し、この周期の処理を終了する。発生した異常の内容と
発生原因の確認は、不揮発性メモリ6に記憶した異常内
容と異常診断用データを読み出すことで可能である。
Next, the operation when an abnormality occurs will be described. When an abnormality is detected in step S1, the cause of the abnormality is determined in step S5, and in step S6, the content of the abnormality, for example, an error number is stored in the nonvolatile memory 6, and the RA
The abnormality diagnosis data stored in M is traced back from the RAM pointer, and is stored in the non-volatile memory in step S7, and the processing in this cycle is ended. Confirmation of the content of the error that has occurred and the cause of the error can be performed by reading the error content and the error diagnosis data stored in the nonvolatile memory 6.

【0018】つぎに、記憶するデータの具体的な指定例
について説明する。
Next, a specific example of specifying data to be stored will be described.

【0019】モータ駆動装置が過電圧異常を発生する場
合にはモータ速度が格納されているアドレスを記憶アド
レスとして指定する。通常、過電圧異常はモータからの
回生時に回生処理能力が不足することにより発生するた
め、過電圧異常発生時にはモータが回転していることが
予想される。もし過電圧異常発生時に記憶したモータ速
度がゼロもしくは微少な数値であった場合には、過電圧
異常発生の原因はモータからの回生ではなく、モータ駆
動装置が接続されている電源の電圧が異常になっている
と解析できる。
When an overvoltage abnormality occurs in the motor driving device, an address in which the motor speed is stored is designated as a storage address. Normally, an overvoltage abnormality is generated due to insufficient regenerative processing capacity during regeneration from the motor. Therefore, when an overvoltage abnormality occurs, it is expected that the motor is rotating. If the motor speed stored at the time of occurrence of an overvoltage abnormality is zero or a minute value, the cause of the overvoltage abnormality is not the regeneration from the motor, but the voltage of the power supply to which the motor drive is connected. Can be analyzed.

【0020】モータ駆動装置が過電流異常を発生する場
合にはモータ電流値が格納されているアドレスを記憶ア
ドレスとして指定する。過電流異常発生時には当然過大
なモータ電流値が検出されるはずであるが、もしモータ
電流値が過電流に至るレベルでなかった場合には、過電
流検出用センサがノイズ等の要因により誤検出したので
はないかと解析できる。
When an overcurrent abnormality occurs in the motor drive device, an address at which the motor current value is stored is designated as a storage address. When an overcurrent abnormality occurs, an excessively large motor current value should be detected, but if the motor current value is not at a level that leads to overcurrent, the overcurrent detection sensor incorrectly detects due to noise or other factors. It can be analyzed whether or not it has been done.

【0021】モータ駆動装置が過熱異常を発生する場合
にはモータ電流値やトルク指令値が格納されているアド
レスを記憶アドレスとして指定し、かつデータを蓄積す
る周期を長く設定しておく。過熱発生時には長周期にわ
たってモータ電流やトルク指令が継続されていることが
予想されるが、そのような状態でなかった場合には、過
熱異常検出用センサがノイズ等の要因により誤検出した
のではないかと解析できる。
When the motor driving device causes an overheating abnormality, an address in which the motor current value and the torque command value are stored is designated as a storage address, and a data accumulation period is set long. When overheating occurs, it is expected that the motor current or torque command will be continued for a long period, but if it is not in such a state, the sensor for overheating abnormality detection may have erroneously detected due to noise or other factors. Can be analyzed for

【0022】また上記の実施例には挙げていないが、記
憶アドレスは任意に指定できるため、上記の例のような
RAM上のアドレスだけではなく、たとえばUARTや
タイマカウンタなどの周辺ICのレジスタや入出力ポー
トなども記憶アドレスとして指定でき、通信断線検出や
はんだ付けの不良なども詳細に解析することが可能であ
る。
Although not described in the above embodiment, since the storage address can be arbitrarily specified, not only the address on the RAM as in the above example but also a register of a peripheral IC such as a UART or a timer counter, etc. Input / output ports and the like can be specified as storage addresses, and it is possible to analyze communication disconnection detection, soldering failure, and the like in detail.

【0023】[0023]

【発明の効果】上記の実施例から明らかなように本発明
によれば、不揮発性メモリに記憶したデータを読み出す
ことにより異常発生の原因解析が可能となり、周期を間
引いて記憶するので、記憶するデータの時間領域を広げ
られ、より広範囲にわたるデータで異常解析を行うこと
が可能となる。
As is clear from the above embodiment, according to the present invention, the cause of the abnormality can be analyzed by reading the data stored in the non-volatile memory. The time domain of the data can be expanded, and anomaly analysis can be performed on a wider range of data.

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

【図1】本発明の実施例を示す異常診断方法のフローチ
ャート
FIG. 1 is a flowchart of an abnormality diagnosis method according to an embodiment of the present invention.

【図2】アドレスの相互関係を示す説明図FIG. 2 is an explanatory diagram showing a relationship between addresses.

【図3】モータ駆動装置の構成図FIG. 3 is a configuration diagram of a motor drive device.

【図4】従来のモータ駆動装置の異常診断方法のフロー
チャート
FIG. 4 is a flowchart of a conventional motor drive device abnormality diagnosis method.

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

5 CPU 6 不揮発性メモリ 5 CPU 6 Non-volatile memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 CPUにより異常を検出した時、異常内
容とあらかじめ指定した任意のアドレス上のデータを不
揮発性メモリに記憶することを特徴とするモータ駆動装
置の異常診断方法。
1. A method for diagnosing an abnormality in a motor drive device, comprising: when an abnormality is detected by a CPU, storing the contents of the abnormality and data at an arbitrary address specified in advance in a nonvolatile memory.
【請求項2】 データは、周期をあらかじめ指定して間
引き蓄積する請求項1記載のモータ駆動装置の異常診断
方法。
2. The abnormality diagnosis method for a motor drive device according to claim 1, wherein the data is thinned out and stored by specifying a cycle in advance.
JP1385999A 1999-01-22 1999-01-22 Abnormality diagnosing method for motor driving device Pending JP2000214922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1385999A JP2000214922A (en) 1999-01-22 1999-01-22 Abnormality diagnosing method for motor driving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1385999A JP2000214922A (en) 1999-01-22 1999-01-22 Abnormality diagnosing method for motor driving device

Publications (1)

Publication Number Publication Date
JP2000214922A true JP2000214922A (en) 2000-08-04

Family

ID=11845003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1385999A Pending JP2000214922A (en) 1999-01-22 1999-01-22 Abnormality diagnosing method for motor driving device

Country Status (1)

Country Link
JP (1) JP2000214922A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6968260B2 (en) 2002-12-19 2005-11-22 Aisin Aw Co., Ltd. Vehicle drive control apparatus, vehicle drive control method and program therefor
JP2009195087A (en) * 2008-02-18 2009-08-27 Nsk Ltd Rotation angle position detection device
JP2010039714A (en) * 2008-08-04 2010-02-18 Kubota Corp Valve controller of petrochemical plant

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6968260B2 (en) 2002-12-19 2005-11-22 Aisin Aw Co., Ltd. Vehicle drive control apparatus, vehicle drive control method and program therefor
JP2009195087A (en) * 2008-02-18 2009-08-27 Nsk Ltd Rotation angle position detection device
JP2010039714A (en) * 2008-08-04 2010-02-18 Kubota Corp Valve controller of petrochemical plant

Similar Documents

Publication Publication Date Title
JP4765779B2 (en) Control device, short detection device, load drive system and program
JPS62173696A (en) Information memorizing/reading system
JP2005041273A (en) Method and device for collecting diagnostic data
JP2000214922A (en) Abnormality diagnosing method for motor driving device
CN115963399A (en) DC brushless motor capable of automatically recording abnormal operation and method thereof
JP2016135657A (en) Vehicle data storage device
JP6015768B2 (en) Programmable controller
JPS5921060B2 (en) Diagnosis order determination method
JP4851498B2 (en) Electric power steering control device
JP4479775B2 (en) Vehicle control apparatus and program
JP2731047B2 (en) Program operand check method
JP2701591B2 (en) Self-diagnosis method for car telephone equipment
JP2808983B2 (en) Memory diagnosis method
CN110008138B (en) Information processing apparatus
JPS62145600A (en) Memory device
JP3695078B2 (en) Programmable controller with pulse output instructions
JPH06236695A (en) Non-volatile memory device with exchange display function
JP3060376U (en) Memory device
KR100411081B1 (en) Method for a diagnosis of vehicles using portable diagnosis system
KR100284044B1 (en) Abnormal operation recovery method of functional devices with relation
JPH0336651A (en) Control memory read inspecting system
JPS6011400B2 (en) IC test equipment
JP5430388B2 (en) Load control circuit
JP2692408B2 (en) Built-in diagnostic circuit in large scale integrated circuit
CN116302067A (en) Verification method and device for compressed flash file, electronic equipment and storage medium

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031208

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040302