JP5454520B2 - Encoder and encoder system - Google Patents

Encoder and encoder system Download PDF

Info

Publication number
JP5454520B2
JP5454520B2 JP2011141592A JP2011141592A JP5454520B2 JP 5454520 B2 JP5454520 B2 JP 5454520B2 JP 2011141592 A JP2011141592 A JP 2011141592A JP 2011141592 A JP2011141592 A JP 2011141592A JP 5454520 B2 JP5454520 B2 JP 5454520B2
Authority
JP
Japan
Prior art keywords
battery
time
main power
backup
shut
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.)
Active
Application number
JP2011141592A
Other languages
Japanese (ja)
Other versions
JP2013007696A (en
Inventor
倫康 長谷川
友宏 宮崎
浩輝 松本
啓 寺田
孝二 篠原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2011141592A priority Critical patent/JP5454520B2/en
Publication of JP2013007696A publication Critical patent/JP2013007696A/en
Application granted granted Critical
Publication of JP5454520B2 publication Critical patent/JP5454520B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

この発明は、機械装置の駆動軸の位置を検出するエンコーダに係わり、特にサーボモータ等に使用される絶対値エンコーダに関するものである。   The present invention relates to an encoder for detecting the position of a drive shaft of a mechanical device, and more particularly to an absolute value encoder used for a servo motor or the like.

各種の機械装置を駆動制御するためには駆動軸の位置情報が必要であり、駆動軸の位置を検出するためにエンコーダが用いられる。エンコーダは、機械装置の駆動軸を構成するモータに取り付けられ、モータの位置を検出するとともに、モータを駆動制御するサーボアンプへ検出したモータの位置をフィードバックする。フィードバックされたモータの位置情報に基づいてモータが制御されることで、機械装置の動作が制御される。特に、モータの絶対位置を検出する絶対値エンコーダは、通常機械装置から電源供給を受けるが、機械装置からの電源供給が遮断されても、バッテリによりモータの位置情報を保持するため、機械装置の電源投入後直ちにモータの絶対位置を認識でき、手間のかかる原点復帰動作が不要なことから多くの機械装置で用いられている。   In order to drive and control various mechanical devices, position information of the drive shaft is necessary, and an encoder is used to detect the position of the drive shaft. The encoder is attached to a motor that constitutes a drive shaft of the mechanical device, detects the position of the motor, and feeds back the detected position of the motor to a servo amplifier that drives and controls the motor. The operation of the mechanical device is controlled by controlling the motor based on the fed back position information of the motor. In particular, an absolute value encoder that detects the absolute position of a motor is normally supplied with power from a mechanical device. Even if the power supply from the mechanical device is interrupted, the motor position information is retained by a battery. Since the absolute position of the motor can be recognized immediately after the power is turned on and a time-consuming origin return operation is unnecessary, it is used in many mechanical devices.

一般的にエンコーダは、機械装置から電源供給を受けたサーボアンプが供給する電源を通常稼働時の電源(主電源)として動作するため、機械装置の稼動が終了しサーボアンプの電源が切られると、エンコーダに供給される主電源も遮断される。エンコーダに供給される主電源が遮断された場合、一般的なエンコーダの場合はモータの位置情報が消失する。しかし、絶対値エンコーダは、主電源が遮断されている間、バッテリから電源供給を受けて動作し、モータの位置情報を保持する。   In general, the encoder operates using the power supplied by the servo amplifier that receives power supply from the mechanical device as the power supply (main power) during normal operation. Therefore, when the operation of the mechanical device ends and the servo amplifier is turned off. The main power supplied to the encoder is also cut off. When the main power supplied to the encoder is cut off, the motor position information is lost in the case of a general encoder. However, the absolute value encoder operates by receiving power supply from the battery while the main power is cut off, and holds the position information of the motor.

絶対値エンコーダでも、バッテリからの電源で動作している途中にバッテリの残容量が無くなる場合等、バッテリからの電源供給ができなくなると、モータの位置情報は消失する。そうなると、次回稼働時に機械装置の電源を投入した際、モータの絶対位置が認識できないため、手間のかかる原点復帰動作が必要になるといった課題がある。   Even in the absolute value encoder, when the remaining capacity of the battery runs out during operation with the power from the battery, the position information of the motor is lost when the power supply from the battery becomes impossible. Then, when the power of the mechanical device is turned on at the next operation, the absolute position of the motor cannot be recognized, and thus there is a problem that a troublesome origin return operation is required.

この課題に対し、バッテリの残容量やバッテリがエンコーダに電源を供給できる期間を推定し、バッテリ切れを起こす前にバッテリ交換を促すための警告を外部に出力することで、バッテリ交換を促し、バッテリ切れによるモータの位置情報消失を回避する技術が、例えば特許文献1に開示されている。   To solve this problem, the remaining capacity of the battery and the period during which the battery can supply power to the encoder are estimated, and a warning for prompting battery replacement is output to the outside before the battery runs out. For example, Patent Document 1 discloses a technique for avoiding loss of motor position information due to cutting.

また、バッテリの残容量を推定するとともにバッテリで動作している間に消費される電力量を予め求め、これらの値に基づいてバッテリ切れまでの期間を演算して外部に表示することで、バッテリ交換を促し、バッテリ切れによるモータの位置情報消失を回避する技術が、例えば特許文献2に記載されている。   In addition, the remaining capacity of the battery is estimated and the amount of power consumed while operating with the battery is obtained in advance, and the period until the battery runs out is calculated based on these values and displayed externally. For example, Patent Document 2 discloses a technique for prompting replacement and avoiding loss of motor position information due to battery exhaustion.

特開2000−329583号公報([0013]〜[0018]、図1)JP 2000-329583 A ([0013] to [0018], FIG. 1)

特開2006−137316号公報([0014]〜[0044]、図1)JP 2006-137316 A ([0014] to [0044], FIG. 1)

上記の特許文献1に記載の技術は、バッテリに擬似的に負荷電流を流したときのバッテリ電圧と無負荷時のバッテリ電圧を比較して、バッテリの残容量やバッテリの寿命を推定しているが、バッテリがエンコーダに電源を供給している間にエンコーダが消費する電力量が不明なため、バッテリの寿命を正確に推定できず、バッテリ交換を促す警告を適切に発することができなかった。   The technique described in Patent Document 1 estimates the remaining battery capacity and battery life by comparing the battery voltage when a pseudo load current is passed through the battery and the battery voltage at no load. However, since the amount of power consumed by the encoder is unknown while the battery is supplying power to the encoder, the life of the battery cannot be accurately estimated, and a warning prompting battery replacement cannot be appropriately issued.

また、上記の特許文献2に記載の技術は、バッテリの寿命を推定するために、主電源が遮断している間に消費される電力量を予め試験等により求める必要があった。また、バッテリは一般に化学変化を利用して電力を発生するものであり、周囲温度などの使用環境によってバッテリの消費量が変化することがある。このため、主電源が遮断している間に消費される電力量について予め求めたとしても、バッテリの使用環境等により、予め求めた値と実際の値とでは誤差が生じる場合もあり、バッテリの寿命を精度よく推定することが困難であった。   In addition, the technique described in Patent Document 2 described above needs to obtain in advance a test or the like the amount of power consumed while the main power supply is shut off in order to estimate the life of the battery. In addition, a battery generally generates power by using a chemical change, and the battery consumption may change depending on the usage environment such as the ambient temperature. For this reason, even if the amount of power consumed while the main power supply is shut off is determined in advance, there may be an error between the value determined in advance and the actual value depending on the usage environment of the battery. It was difficult to accurately estimate the lifetime.

この発明は、上記のような課題を解決するためになされたものであり、主電源が遮断している間に消費されるバッテリの電力量を予め試験等により求める必要がなく、主電源が遮断された場合のバッテリの寿命を正確に算出するとともに、算出したバッテリの寿命に応じて適切に警告を外部へ出力することで、バッテリが切れる前にバッテリ交換を促し、バッテリ切れを回避できるエンコーダを提供することを目的とする。   The present invention has been made to solve the above-described problems, and it is not necessary to obtain in advance a test or the like the amount of battery power consumed while the main power source is shut off, and the main power source is shut off. In addition to accurately calculating the battery life when the battery is discharged, an appropriate warning is output to the outside according to the calculated battery life, prompting the user to replace the battery before it runs out, and an encoder that can avoid running out of the battery. The purpose is to provide.

この発明にかかるエンコーダは、上位の装置から入力する主電源によりモータの位置を検出してモータ制御装置へ出力するとともにモータの位置情報を保持し、主電源が遮断されたときはバックアップ用電源であるバッテリによりモータの位置情報を保持するエンコーダであって、主電源が遮断されている主電源遮断時間を計測し、この主電源遮断時間とバッテリの出力電圧から求めるバッテリの残容量とに基づき主電源遮断時間におけるバッテリの消費電力を算出するとともに、このバッテリの消費電力と、主電源が再投入された後のバッテリの残容量とを用いて、バッテリがエンコーダへ電源を供給することができるバックアップ可能時間を算出するバッテリ寿命判断部と、を備えたものである。   The encoder according to the present invention detects the position of the motor by the main power input from the host device and outputs it to the motor control device and holds the position information of the motor. When the main power is cut off, the backup power source is used. An encoder that holds motor position information from a battery, measures the main power shut-off time when the main power is shut off, and based on the main power shut-off time and the remaining battery capacity determined from the battery output voltage. Backup that allows the battery to supply power to the encoder using the power consumption of this battery and the remaining capacity of the battery after the main power supply is turned on again, while calculating the power consumption of the battery during the power-off time A battery life determination unit for calculating a possible time.

この発明によれば、主電源が遮断されバッテリがエンコーダに電源を供給(バックアップ)している間のバッテリの消費電力を実測し、この実測したバッテリの消費電力とバッテリの出力電圧から算出したバッテリの残容量に基づいて、主電源が遮断された場合のバッテリの寿命を算出するので、精度よくバッテリの寿命を算出することができる。その結果適切に警告を外部へ出力することができ、バッテリが切れる前にバッテリ交換を促し、バッテリ切れを回避できるという効果を奏する。   According to this invention, the power consumption of the battery is measured while the main power supply is shut off and the battery supplies power to the encoder (backup), and the battery calculated from the actually measured battery power consumption and the battery output voltage is measured. Since the battery life when the main power supply is shut off is calculated based on the remaining capacity of the battery, the battery life can be accurately calculated. As a result, it is possible to appropriately output a warning to the outside, prompting the user to replace the battery before the battery runs out, and preventing the battery from running out.

この発明の実施の形態1に係るエンコーダを含むサーボシステムの構成図である。1 is a configuration diagram of a servo system including an encoder according to Embodiment 1 of the present invention. この発明の実施の形態1に係るバッテリ寿命判断部の構成図である。It is a block diagram of the battery life judgment part which concerns on Embodiment 1 of this invention. この発明の実施の形態1に係るバッテリ消費電力算出手段の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the battery power consumption calculation means which concerns on Embodiment 1 of this invention. この発明の実施の形態2に係るエンコーダを含むサーボシステム構成図である。It is a servo system block diagram including the encoder which concerns on Embodiment 2 of this invention. この発明の実施の形態2に係るバッテリ寿命判断部の構成図である。It is a block diagram of the battery life judgment part which concerns on Embodiment 2 of this invention.

実施の形態1.
図1は、この発明の実施の形態1に係るエンコーダを含むサーボシステムの構成を示している。図1において、機械装置を駆動するモータ1は、モータ1を駆動制御するサーボアンプ2に接続される。また、モータ1にはモータ1の位置を検出するエンコーダ3が取付けられ、エンコーダ3もサーボアンプ2に接続される。エンコーダ3には、さらにバックアック用の電源であるバッテリ4が接続される。
Embodiment 1 FIG.
FIG. 1 shows the configuration of a servo system including an encoder according to Embodiment 1 of the present invention. In FIG. 1, a motor 1 that drives a mechanical device is connected to a servo amplifier 2 that drives and controls the motor 1. An encoder 3 for detecting the position of the motor 1 is attached to the motor 1, and the encoder 3 is also connected to the servo amplifier 2. The encoder 3 is further connected with a battery 4 as a power source for back-up.

サーボアンプ2は、駆動用電源をモータ1に供給するとともに、エンコーダ3へも主電源として動作用の電源を供給する。エンコーダ3は、検出したモータ1の位置情報をサーボアンプ2に出力(フィードバック)する。サーボアンプ2は、フィードバックされたモータ1の位置情報に基づいてモータ1を駆動制御する。サーボアンプ2の電源は機械装置等から供給されるため、機械装置の稼動が終了し機械装置の電源が落とされたときなど、サーボアンプ2からエンコーダ3に主電源が供給されないときは、バッテリ4がエンコーダ3にバックアップ用の電源を供給する。エンコーダ3は、バッテリ4を監視して、主電源が遮断された場合にバッテリ4がエンコーダ3をバックアップできる時間(バッテリ寿命)を算出し、算出したバッテリ寿命に基づき、バッテリが切れる前にバッテリ交換を促す警告を外部へ出力する。   The servo amplifier 2 supplies driving power to the motor 1 and also supplies operating power to the encoder 3 as a main power source. The encoder 3 outputs (feedback) the detected position information of the motor 1 to the servo amplifier 2. The servo amplifier 2 drives and controls the motor 1 based on the fed back position information of the motor 1. Since the power of the servo amplifier 2 is supplied from a mechanical device or the like, when the main power is not supplied from the servo amplifier 2 to the encoder 3 such as when the operation of the mechanical device is finished and the power of the mechanical device is turned off, the battery 4 Supplies power for backup to the encoder 3. The encoder 3 monitors the battery 4, calculates the time (battery life) that the battery 4 can back up the encoder 3 when the main power supply is cut off, and replaces the battery before the battery runs out based on the calculated battery life. A warning that prompts

エンコーダ3について、図1に基づき説明する。
上述の通り、エンコーダ3は、サーボアンプ2から供給される電源を主電源として動作し、主電源が遮断されたときは、バッテリ4から電源供給を受けて動作する。位置検出部5は、モータ1の位置を検出しサーボアンプ2にフィードバックする。
The encoder 3 will be described with reference to FIG.
As described above, the encoder 3 operates using the power supplied from the servo amplifier 2 as the main power supply, and operates by receiving power supply from the battery 4 when the main power supply is shut off. The position detector 5 detects the position of the motor 1 and feeds it back to the servo amplifier 2.

電源制御部6は、エンコーダ3の内部電源に接続する外部電源を選択する制御を行う。電源制御部6は、常時あるいは随時または定期的に主電源を監視し、サーボアンプ2から主電源が供給されるときは主電源を選択し、主電源が遮断されたことを検出すると、バックアップ用の電源としてバッテリ4からの電源に切り換える。また、電源制御部6は、主電源の供給状態(供給、遮断、再投入など)を、後述するバッテリ寿命判断部7へ出力する。   The power supply control unit 6 performs control for selecting an external power supply connected to the internal power supply of the encoder 3. The power supply control unit 6 monitors the main power supply at all times, regularly, or periodically, selects the main power supply when the main power is supplied from the servo amplifier 2, and detects that the main power supply has been cut off. Is switched from the battery 4 to the power source. Further, the power control unit 6 outputs the main power supply state (supply, shut-off, re-input, etc.) to the battery life determination unit 7 described later.

バッテリ寿命判断部7は、バッテリ4の出力電圧(以下、バッテリ電圧という。)を検出し、このバッテリ電圧に基づきバッテリ寿命を算出し、算出したバッテリ寿命に基づき警告を出力する。   The battery life determination unit 7 detects the output voltage of the battery 4 (hereinafter referred to as battery voltage), calculates the battery life based on the battery voltage, and outputs a warning based on the calculated battery life.

バッテリ寿命判断部7について、さらに詳細に説明する。
図2は、この発明の実施の形態1に係るエンコーダにおけるバッテリ寿命判断部7の構成を示す図である。図2において、電圧検出手段11はバッテリ電圧を随時またはある一定の時間間隔毎に検出して出力する。
The battery life determination unit 7 will be described in more detail.
FIG. 2 is a diagram showing a configuration of battery life determination unit 7 in the encoder according to Embodiment 1 of the present invention. In FIG. 2, the voltage detection means 11 detects and outputs the battery voltage at any time or at certain fixed time intervals.

残容量算出手段12は、電圧検出手段11から入力したバッテリ電圧に基づいてバッテリ4の残容量(以下、バッテリ残容量という。)を算出し、後述するバッテリ消費電力算出手段14とバックアップ可能時間算出手段15に出力する。   The remaining capacity calculation means 12 calculates the remaining capacity of the battery 4 (hereinafter referred to as “remaining battery capacity”) based on the battery voltage input from the voltage detection means 11, and calculates the battery power consumption calculation means 14 (to be described later) and the backup possible time. Output to means 15.

主電源が遮断している時間を計測するための時間計測手段13は、例えばクロックカウンタであり、一定周期のクロックパルスをカウントして出力する。バッテリ消費電力算出手段14は、電源制御部6から出力される主電源の供給状態の情報(主電源の遮断及び再投入の情報等を含む主電源が供給されているか否かの情報)と、残容量算出手段12から出力されるバッテリ残容量と、時間計測手段13からカウントした値を入力する。バッテリ消費電力算出手段14は、主電源遮断の情報と主電源再投入の情報を入力する間の時間計測手段13のカウント値から、サーボアンプ2からの主電源供給が遮断されている時間を求めるとともに、主電源が遮断された際(遮断時前後のある程度の時間を含む)のバッテリ残容量と、主電源が再投入された際(再投入時前後のある程度の時間を含む)のバッテリ残容量と、サーボアンプ2からの主電源供給が遮断されている時間とに基づき、主電源が遮断されバッテリ4から供給されている電源でエンコーダ3が動作している間におけるバッテリ4の消費電力(以下、バッテリ消費電力という。)を算出し、これを出力する。   The time measuring means 13 for measuring the time during which the main power source is shut off is, for example, a clock counter, and counts and outputs clock pulses with a constant period. The battery power consumption calculating means 14 includes information on the supply state of the main power output from the power supply control unit 6 (information on whether or not the main power is supplied including information on the main power supply shutoff and restart). The remaining battery capacity output from the remaining capacity calculating means 12 and the value counted from the time measuring means 13 are input. The battery power consumption calculating means 14 obtains the time during which the main power supply from the servo amplifier 2 is cut off from the count value of the time measuring means 13 during the input of the main power supply cut-off information and the main power supply turn-on information. At the same time, the remaining battery capacity when the main power supply is cut off (including a certain amount of time before and after the interruption) and the remaining battery capacity when the main power supply is turned on again (including a certain amount of time before and after the reactivation) And the power consumption of the battery 4 during the operation of the encoder 3 with the power supplied from the battery 4 after the main power is cut off based on the time during which the main power supply from the servo amplifier 2 is cut off , Battery power consumption) is calculated and output.

バックアップ可能時間算出手段15は、残容量算出手段12で算出されたバッテリ残容量とバッテリ消費電力算出手段14で算出されたバッテリ消費電力とを入力し、バッテリ残容量をバッテリ消費電力で除算することで、主電源が遮断された場合にバッテリ4がバックアップ用としてエンコーダ3に電源供給が可能な時間(以下、バックアップ可能時間という。)を算出し、これを出力する。   The backupable time calculation means 15 inputs the remaining battery capacity calculated by the remaining capacity calculation means 12 and the battery consumption power calculated by the battery consumption power calculation means 14 and divides the remaining battery capacity by the battery consumption power. Thus, when the main power is cut off, the battery 4 calculates a time during which the power can be supplied to the encoder 3 for backup (hereinafter referred to as a backup possible time), and outputs this.

所要バックアップ時間設定手段16には、エンコーダ3が必要とするバッテリ4でバックアップする時間(以下、所要バックアップ時間という。)が予め設定される。所要バックアップ時間設定手段16は、設定された所要バックアップ時間を出力する。比較手段17は、バックアップ可能時間算出手段15から入力したバックアップ可能時間と所要バックアップ時間設定手段16から入力した所要バックアップ時間とを比較し、その比較結果に基づき警告を外部へ出力する。   The required backup time setting means 16 is set in advance with the time required for the battery 4 to be backed up by the encoder 3 (hereinafter referred to as the required backup time). The required backup time setting means 16 outputs the set required backup time. The comparison unit 17 compares the backup available time input from the backup available time calculation unit 15 with the required backup time input from the required backup time setting unit 16, and outputs a warning to the outside based on the comparison result.

次に、残容量算出手段12におけるバッテリ残容量の算出方法について説明する。
一般にバッテリの出力電圧とバッテリ残容量には相関関係がある。予め知られているこれらの関係をテーブルや近似式の形で残容量算出手段12に記憶させる。そして、残容量算出手段12は、電圧検出手段11で検出したバッテリ電圧と、予め記憶させたバッテリ電圧とバッテリ残容量の相関関係に基づき、バッテリ4のバッテリ残容量を算出する。残容量算出手段12は、バッテリ電圧の入力のタイミングに応じて随時またはある一定の時間間隔毎にバッテリ残容量を算出する。
Next, a method for calculating the remaining battery capacity in the remaining capacity calculation unit 12 will be described.
In general, there is a correlation between the battery output voltage and the remaining battery capacity. These previously known relationships are stored in the remaining capacity calculation means 12 in the form of a table or approximate expression. Then, the remaining capacity calculation unit 12 calculates the remaining battery capacity of the battery 4 based on the battery voltage detected by the voltage detection unit 11 and the correlation between the battery voltage stored in advance and the remaining battery capacity. The remaining capacity calculating means 12 calculates the remaining battery capacity as needed or at certain time intervals according to the input timing of the battery voltage.

次に、バッテリ消費電力算出手段14におけるバッテリ消費電力の算出方法について説明する。
図3は、この発明の実施の形態1に係るバッテリ消費電力算出手段14でのバッテリ消費電力の算出手順を示すフローチャートの図である。図3において、ステップS1では、随時またはある一定の時間間隔毎に、残容量算出手段12で算出されたバッテリ4のバッテリ残容量を入力して、その値をQ1として記憶するとともに、バッテリ残容量Q1の入力時の時間計測手段13の値を入力して、その値を時刻T1として記憶する。Q1、T1の記憶場所は限定しない。例えばQ1、T1のいずれもバッテリ消費電力算出手段14に記憶する。
Next, a battery power consumption calculation method in the battery power consumption calculation means 14 will be described.
FIG. 3 is a flowchart showing a procedure for calculating battery power consumption in the battery power consumption calculating means 14 according to Embodiment 1 of the present invention. In FIG. 3, in step S1, the remaining battery capacity of the battery 4 calculated by the remaining capacity calculation means 12 is input at any time or at certain fixed time intervals, the value is stored as Q1, and the remaining battery capacity is stored. The value of the time measuring means 13 at the time of inputting Q1 is input, and the value is stored as time T1. The storage locations of Q1 and T1 are not limited. For example, both of Q1 and T1 are stored in the battery power consumption calculation means 14.

ステップS2では、随時またはある一定の時間間隔毎に、電源制御部6から入力される主電源の供給状態(主電源が供給されているか否か)を判断し、エンコーダ3に主電源が供給されている場合はステップS1に戻り、主電源が遮断され主電源が供給されていない場合はステップS3に進む。これにより、ステップS3に進んだ時には、そのときに記憶されているQ1とT1が、主電源が遮断される直前のバッテリ4のバッテリ残容量と時間計測手段13の値(時刻)となる。   In step S2, the main power supply state (whether main power is supplied or not) input from the power control unit 6 is determined at any time or at certain time intervals, and the main power is supplied to the encoder 3. If YES, the process returns to step S1, and if the main power is shut off and no main power is supplied, the process proceeds to step S3. Thereby, when it progresses to step S3, Q1 and T1 memorize | stored at that time will be the battery remaining capacity of the battery 4 and the value (time) of the time measurement means 13 just before a main power supply is interrupted | blocked.

ステップS3では、随時またはある一定の時間間隔毎に、電源制御部6から入力される主電源の供給状態(主電源が供給されているか否か)を判断し、主電源の供給が再開されるまでその判断を継続し、主電源が再投入され主電源の供給が再開されるとステップS4に進む。   In step S3, the supply state of the main power input from the power control unit 6 (whether or not the main power is supplied) is determined at any time or at certain time intervals, and the supply of the main power is resumed. The determination is continued until the main power supply is turned on again and the supply of the main power supply is resumed.

ステップS4では、残容量算出手段12からバッテリ4のバッテリ残容量を入力し主電源供給再開時のバッテリ残容量Q2として記憶する。また、ステップS4におけるバッテリ残容量入力時の時間計測手段13の値を入力して主電源供給再開時の時刻T2として記憶する。   In step S4, the remaining battery capacity of the battery 4 is input from the remaining capacity calculator 12 and stored as the remaining battery capacity Q2 when the main power supply is resumed. Further, the value of the time measuring means 13 at the time of inputting the remaining battery capacity in step S4 is inputted and stored as the time T2 when the main power supply is resumed.

ステップS5では、上述のステップで記憶した、主電源遮断時のバッテリ容量Q1、主電源供給再開時のバッテリ容量Q2、主電源遮断時の時刻T1、主電源供給再開時の時刻T2を用いて、バッテリ消費電力Waを下式により算出する。
Wa=|Q2−Q1|/(T2−T1) ・・・・・(1)
In step S5, the battery capacity Q1 when the main power supply is shut off, the battery capacity Q2 when the main power supply is resumed, the time T1 when the main power supply is shut off, and the time T2 when the main power supply is resumed are stored. The battery power consumption Wa is calculated by the following formula.
Wa = | Q2-Q1 | / (T2-T1) (1)

次に、バックアップ可能時間算出手段15におけるバックアップ可能時間の算出方法について説明する。
バックアップ可能時間算出手段15は、バッテリ消費電力算出手段14で算出したバッテリ消費電力Waを入力と同時にまたは入力後、残容量算出手段12からバッテリ4のバッテリ残容量Qcを入力する。バッテリ消費電力Waとバッテリ残容量Qcを用いて下式により、バッテリ残容量Qc入力時における、バッテリ4がエンコーダ3へバックアップ用の電源供給が可能な時間であるバックアップ可能時間Tcを算出する。バックアップ可能時間Tcは、バッテリ消費電力Waを入力後において一定周期毎にバッテリ残容量Qcを入力して算出してもよい。
Tc=Qc/Wa ・・・・・(2)
Next, a method for calculating the backupable time in the backupable time calculation unit 15 will be described.
The backup possible time calculation means 15 inputs the battery remaining capacity Qc of the battery 4 from the remaining capacity calculation means 12 simultaneously with or after the battery power consumption Wa calculated by the battery power consumption calculation means 14 is input. By using the battery power consumption Wa and the remaining battery capacity Qc, a backup possible time Tc, which is a time during which the battery 4 can supply power for backup to the encoder 3 when the remaining battery capacity Qc is input, is calculated. The backup possible time Tc may be calculated by inputting the remaining battery capacity Qc at regular intervals after inputting the battery power consumption Wa.
Tc = Qc / Wa (2)

比較手段17は、所要バックアップ時間設定手段16によって予め設定された所要バックアップ時間Tdと上記のバックアップ可能時間Tcを比較し、その結果に基づき外部に警告を出力する。具体的には、バックアップ可能時間Tcが所要バックアップ時間Tdよりも短い場合に警告を出力したり、あるいは、バックアップ可能時間Tcと所要バックアップ時間Tdとの差が、比較手段17に予め設定されたしきい値S以下である場合に警告を出力する。警告は、例えば、サーボアンプ2へ出力され、必要に応じてサーボアンプ2を介し上位コントローラ(図示せず)へ出力される。   The comparison means 17 compares the required backup time Td preset by the required backup time setting means 16 with the above-described backup possible time Tc, and outputs a warning to the outside based on the result. Specifically, a warning is output when the backup possible time Tc is shorter than the required backup time Td, or the difference between the backup possible time Tc and the required backup time Td is preset in the comparison means 17. A warning is output when the threshold value is less than or equal to S. For example, the warning is output to the servo amplifier 2 and is output to the host controller (not shown) via the servo amplifier 2 as necessary.

この実施の形態によれば、バッテリ消費電力算出手段14において、主電源が遮断されている間のバッテリ4のバッテリ消費電力を、実際の使用環境において実測して求めているので、周囲温度の変動などでバッテリの放電能力に変動が生じても、バッテリ消費電力を正確に算出することができる。   According to this embodiment, since the battery power consumption calculation means 14 obtains the battery power consumption of the battery 4 while the main power source is shut off by actually measuring it in the actual usage environment, the ambient temperature fluctuations Even if the battery discharge capacity fluctuates due to the above, the battery power consumption can be accurately calculated.

また、実測によって求めたバッテリ消費電力Waと残容量算出手段12で算出したバッテリ残容量Qcとに基づき、バッテリ寿命であるところのバックアップ可能時間Tcを算出するように構成したので、実際の使用環境におけるバックアップ可能時間Tcを正確に算出できる。これにより、バッテリ切れを起こす前に警告を適切に外部へ出力することが可能となり、その結果バッテリが切れる前にバッテリ交換を促し、バッテリ切れを回避することができる。バッテリ切れを回避できることで、モータ位置情報の消失が回避され、次回電源投入時に機械装置の原点復帰動作をする必要がなくなる。   Further, since the configuration is such that the backup possible time Tc corresponding to the battery life is calculated based on the battery power consumption Wa obtained by actual measurement and the battery remaining capacity Qc calculated by the remaining capacity calculating means 12, the actual usage environment Can be accurately calculated. Accordingly, it is possible to appropriately output a warning to the outside before the battery runs out. As a result, it is possible to prompt the user to replace the battery before the battery runs out, and to avoid running out of the battery. Since it is possible to avoid running out of the battery, the loss of the motor position information is avoided, and it is not necessary to perform the origin return operation of the mechanical device at the next power-on.

機械装置は稼動スケジュールにより、数時間あるいは数日停止する場合があり、停止する時間の長さによって、バックアップが必要な時間が変わってくる。この実施の形態では、所要バックアップ時間設定手段16でひとつの所要バックアップ時間Tdを設定する場合の例を示したが、所要バックアップ時間Tdとして複数の値を設定できるようにしても良い。また、しきい値Sを複数設定できるようにしてもよい。これらの場合、機械装置の予定する稼働停止時間に応じて所要バックアップ時間やしきい値Sを設定することで、比較手段17は複数の設定値に対応して複数の異なる警告を出力することが可能となり、バッテリ4の残容量に応じてきめ細かな警告を出力することができる。   The machine may stop for several hours or days depending on the operation schedule, and the time required for backup varies depending on the length of the stop time. In this embodiment, an example in which one required backup time Td is set by the required backup time setting means 16 is shown, but a plurality of values may be set as the required backup time Td. A plurality of threshold values S may be set. In these cases, the comparison means 17 can output a plurality of different warnings corresponding to a plurality of set values by setting the required backup time and the threshold value S according to the scheduled operation stop time of the mechanical device. This makes it possible to output a detailed warning according to the remaining capacity of the battery 4.

この実施の形態では、直近の主電源遮断時におけるバッテリ消費電力Waを用いてバックアップ可能時間Tcを算出したが、主電源遮断がある毎にバッテリ消費電力Waをバッテリ消費電力算出手段14などに記憶しておき、直近から複数回(n回)分の各バッテリ消費電力Waを平均した値(平均バッテリ消費電力Wan)を用いて、下式により、バックアップ可能時間Tcを算出してもよい。
Tc=Qc/Wan ・・・・・(3)
In this embodiment, the backup possible time Tc is calculated using the battery power consumption Wa at the time of the most recent main power shutdown, but the battery power consumption Wa is stored in the battery power consumption calculation means 14 or the like every time the main power is shut off. The backup possible time Tc may be calculated by the following equation using a value (average battery power consumption Wan) obtained by averaging the battery power consumption Wa for a plurality of times (n times) from the most recent time.
Tc = Qc / Wan (3)

平均バッテリ消費電力Wanを求めるのに用いるバッテリ消費電力Waの個数は、周囲温度などの使用環境やバッテリ消費電力Waの値のばらつきに応じて、外部からサーボアンプなどを通じて適宜設定してやればよい。   The number of battery power consumption Wa used for obtaining the average battery power consumption Wan may be appropriately set from the outside through a servo amplifier or the like according to the usage environment such as the ambient temperature and the variation in the value of the battery power consumption Wa.

これにより、直近の主電源遮断時におけるバッテリ消費電力Waのみを用いてバックアップ可能時間Tcを算出する場合に比べて、バックアップ可能時間Tcをより正確に算出することができ、近い将来バッテリ切れを起こすことの警告をより正確に出力することが可能となる。   As a result, the backup possible time Tc can be calculated more accurately than in the case where the backup possible time Tc is calculated using only the battery power consumption Wa at the time of the most recent main power shutdown, and the battery will run out in the near future. Can be output more accurately.

実施の形態2.
図4は、この発明の実施の形態2に係るエンコーダを含むサーボシステムの構成を示している。なお、実施の形態1で説明した構成と同一部分には、同一符号を付してその説明を省略する。図4において、実施の形態2に係るエンコーダでは、実施の形態1に係るエンコーダに対し、バッテリ4に代えて充電可能な2次電池であるバッテリ4Aを備え、バッテリ4Aを充電する充電手段18をさらに備える。バッテリ4Aはバッテリ4と同様にエンコーダ3へ電源供給する。充電手段18は、バッテリ4Aに充電電力を供給するともに、バッテリ4Aに供給する充電電力に関する情報をバッテリ寿命判断部7Aへ出力する。
Embodiment 2. FIG.
FIG. 4 shows the configuration of a servo system including an encoder according to Embodiment 2 of the present invention. Note that the same parts as those described in the first embodiment are denoted by the same reference numerals, and description thereof is omitted. In FIG. 4, the encoder according to the second embodiment includes a battery 4A that is a rechargeable secondary battery instead of the battery 4 with respect to the encoder according to the first embodiment, and includes a charging unit 18 that charges the battery 4A. Further prepare. The battery 4 </ b> A supplies power to the encoder 3 in the same manner as the battery 4. The charging unit 18 supplies charging power to the battery 4A and outputs information related to the charging power supplied to the battery 4A to the battery life determination unit 7A.

充電可能な2次電池のバッテリは、充放電を繰り返すと劣化して満充電したときの容量が低下する。このため、劣化した2次電池のバッテリは、所定のバッテリ電圧になるまで充電しても、劣化していない2次電池のバッテリと比べて、バッテリに充電できる電力量が少ない。言い換えると、2次電池のバッテリは、充放電を繰り返して劣化してくると、より少ない充電電力量で所定のバッテリ電圧まで回復する。所定の電圧がこれ以上充電できない満充電状態の電圧であるならば、それ以上は充電されなくなり、バッテリはその劣化時点における満充電状態となる。2次電池にはこのような特性があるため、2次電池であるバッテリ4Aに蓄積されている電力量を正確に知るには、バッテリ電圧とバッテリに供給される充電電力を監視する必要がある。   A rechargeable secondary battery deteriorates when it is repeatedly charged and discharged, and the capacity when fully charged decreases. For this reason, even if the battery of the deteriorated secondary battery is charged until it reaches a predetermined battery voltage, the amount of electric power that can be charged in the battery is small compared to the battery of the secondary battery that has not deteriorated. In other words, when the battery of the secondary battery is deteriorated by repeated charging and discharging, the battery recovers to a predetermined battery voltage with a smaller amount of charging power. If the predetermined voltage is a fully charged voltage that cannot be charged any more, the battery is no longer charged and the battery is fully charged at the time of deterioration. Since the secondary battery has such characteristics, it is necessary to monitor the battery voltage and the charging power supplied to the battery in order to accurately know the amount of power stored in the battery 4A as the secondary battery. .

この実施の形態2に係るバッテリ寿命判断部7Aについて説明する。
図5は、この実施の形態2に係るバッテリ寿命判断部7Aの構成を示す図である。図5において、バッテリ容量算出手段19は、充電手段18からバッテリ4Aに供給する充電電力情報(例えば、充電電力、充電電力量、充電電圧、充電電流、充電時間など。)を入力する。バッテリ容量算出手段19は、例えば入力した充電電圧、充電電流、充電時間などに基づきバッテリへの充電電力量を算出する(充電手段18からバッテリ4Aに供給する充電電力量を入力してもよい)。さらに、バッテリ容量算出手段19は、算出したバッテリへの充電電力量と電圧検出手段11Aから入力したバッテリ4Aの電圧とから、バッテリへの充電電力量とバッテリ電圧の関係を求め、バッテリ4Aがその劣化時点での満充電状態になったときの充電容量を算出する。
A battery life determination unit 7A according to the second embodiment will be described.
FIG. 5 is a diagram showing a configuration of the battery life determination unit 7A according to the second embodiment. In FIG. 5, the battery capacity calculation means 19 inputs charging power information (for example, charging power, charging power amount, charging voltage, charging current, charging time, etc.) supplied from the charging means 18 to the battery 4A. The battery capacity calculation unit 19 calculates the amount of charging power to the battery based on, for example, the input charging voltage, charging current, charging time, etc. (the charging power amount supplied from the charging unit 18 to the battery 4A may be input). . Further, the battery capacity calculation means 19 obtains the relationship between the charge power amount to the battery and the battery voltage from the calculated charge power amount to the battery and the voltage of the battery 4A input from the voltage detection means 11A. The charge capacity when the battery is fully charged at the time of deterioration is calculated.

また、残容量算出手段12Aは、電圧検出手段11Aから入力したバッテリ4Aのバッテリ電圧と、バッテリ容量算出手段19で算出した充電電力量とバッテリ電圧の関係と、バッテリ4Aがその劣化時点での満充電状態になったときの充電容量とから、バッテリ4Aの現在の残容量を算出する。   Further, the remaining capacity calculation means 12A receives the battery voltage of the battery 4A input from the voltage detection means 11A, the relationship between the charge power amount calculated by the battery capacity calculation means 19 and the battery voltage, and the battery 4A when the battery 4A is degraded. The current remaining capacity of the battery 4A is calculated from the charge capacity when the battery is in the charged state.

以降、残容量算出手段12Aで算出したバッテリ4Aの残容量を用いてバックアップ可能時間を算出し外部へ警告を出力する動作は、実施の形態1の場合と同様である。   Thereafter, the operation of calculating the backup possible time using the remaining capacity of the battery 4A calculated by the remaining capacity calculating means 12A and outputting a warning to the outside is the same as in the case of the first embodiment.

この実施の形態2によれば、バッテリ容量算出手段19により充電電力量とバッテリ電圧の関係と、バッテリ4Aがその劣化時点での満充電状態になったときの充電容量を算出し、これらに基づいて、残容量算出手段12Aでバッテリ4Aの残容量を算出する。このため、バッテリ4Aが劣化して充電可能な容量が低下した場合であっても、バッテリ4Aの残容量を正確に求めることができる。これによって、バッテリが2次電池であっても、バッテリ4Aの劣化状態にかかわらず、バッテリ寿命であるところのバックアップ可能時間Tcを正確に算出することが可能となり、従って、バッテリ切れを起こす前に警告を適切に外部へ出力することが可能となる。その結果バッテリが切れる前にバッテリ交換を促し、バッテリ切れを回避することができる。バッテリ切れを回避できることで、モータ位置情報の消失が回避され、次回電源投入時に機械装置の原点復帰動作をする必要がなくなる。   According to the second embodiment, the battery capacity calculation means 19 calculates the relationship between the charge power amount and the battery voltage, and the charge capacity when the battery 4A is fully charged at the time of deterioration, and based on these. Thus, the remaining capacity calculation means 12A calculates the remaining capacity of the battery 4A. For this reason, even when the battery 4A deteriorates and the chargeable capacity decreases, the remaining capacity of the battery 4A can be accurately obtained. As a result, even if the battery is a secondary battery, it is possible to accurately calculate the backup possible time Tc where the battery life is, regardless of the deterioration state of the battery 4A. A warning can be appropriately output to the outside. As a result, it is possible to prompt the user to replace the battery before the battery runs out and to avoid running out of the battery. Since it is possible to avoid running out of the battery, the loss of the motor position information is avoided, and it is not necessary to perform the origin return operation of the mechanical device at the next power-on.

上記の2つの実施の形態では、電源制御部6およびバッテリ寿命判断部7、7Aがエンコーダ3に含まれる構成の例を示したが、これらはエンコーダ3ではなくサーボアンプ2に備えてもよく、またエンコーダ3やサーボアンプ2以外に設けても、同様の効果を得ることができる。   In the above two embodiments, the power control unit 6 and the battery life determination units 7 and 7A are shown as examples included in the encoder 3, but these may be provided in the servo amplifier 2 instead of the encoder 3. Further, the same effect can be obtained even if it is provided other than the encoder 3 and the servo amplifier 2.

この発明は、機械装置の駆動軸の位置を検出するエンコーダとして用いられるのに適している。   The present invention is suitable for use as an encoder for detecting the position of a drive shaft of a mechanical device.

1 モータ、
2 サーボアンプ、
3 エンコーダ、
4、4A バッテリ、
5 位置検出部、
6 電源制御部、
7、7A バッテリ寿命判断部、
11 11A電圧検出手段、
12、12A 残容量算出手段、
13 時間計測手段
14 バッテリ消費電力算出手段、
15 バックアップ可能時間算出手段、
16 所要バックアップ時間設定手段、
17 比較手段、
18 充電手段、
19 バッテリ容量算出手段。
1 motor,
2 Servo amplifier,
3 Encoder,
4, 4A battery,
5 position detector,
6 Power control unit,
7, 7A Battery life determination unit,
11 11A voltage detection means,
12, 12A remaining capacity calculation means,
13 time measuring means 14 battery power consumption calculating means,
15 Backup available time calculation means,
16 Required backup time setting means,
17 comparison means,
18 Charging means,
19 Battery capacity calculation means.

Claims (7)

上位の装置から入力する主電源によりモータの位置を検出してモータ制御装置へ出力するとともに前記モータの位置情報を保持し、前記主電源が遮断されたときはバックアップ用電源であるバッテリにより前記モータの位置情報を保持するエンコーダであって、
前記主電源が遮断されている主電源遮断時間を計測し、この主電源遮断時間とバッテリの出力電圧から求めるバッテリの残容量とに基づき前記主電源遮断時間におけるバッテリの消費電力を算出するとともに、このバッテリの消費電力と、前記主電源が再投入された後のバッテリの残容量とを用いて、前記バッテリが前記エンコーダへ電源を供給することができるバックアップ可能時間を算出するバッテリ寿命判断部
を備えることを特徴とするエンコーダ。
The position of the motor is detected by the main power input from the host device and output to the motor control device, and the position information of the motor is held. When the main power is cut off, the battery is used as a backup power source. An encoder that holds position information of
Measure the main power shut-off time when the main power is shut off, calculate the power consumption of the battery in the main power shut-off time based on the main power shut-off time and the remaining capacity of the battery determined from the output voltage of the battery, A battery life determination unit that calculates a backup possible time during which the battery can supply power to the encoder, using the power consumption of the battery and the remaining capacity of the battery after the main power is turned on again. An encoder comprising:
前記バッテリ寿命判断部は、
さらに、前記バックアップ可能時間に基づき、バッテリ切れ回避のための警告を外部へ出力すること
を特徴とする請求項1に記載のエンコーダ。
The battery life determination unit is
The encoder according to claim 1, wherein a warning for avoiding a battery exhaustion is output to the outside based on the backup possible time.
前記バッテリ寿命判断部は、
バッテリの出力電圧を検出する電圧検出手段と、
バッテリの出力電圧に基づきバッテリの残容量を算出する残容量算出手段と、
前記主電源遮断時間を計測する時間計測手段と、
前記主電源遮断時間と、前記主電源が遮断された際のバッテリの残容量および前記主電源が再投入された際のバッテリの残容量とを用いて、前記主電源が遮断している間のバッテリの消費電力を算出するバッテリ消費電力算出手段と、
このバッテリの消費電力と前記主電源が再投入された後のバッテリの残容量とを用いて、前記バックアップ可能時間を算出するバックアップ可能時間算出手段と、
バックアップを必要とする時間である所要バックアップ時間を設定する所要バックアップ時間設定手段と、
この所要バックアップ時間と前記バックアップ可能時間とを比較し、その比較結果に基づきバッテリ切れ回避のための警告を外部へ出力する比較手段と、
を備えることを特徴とする請求項2に記載のエンコーダ。
The battery life determination unit is
Voltage detection means for detecting the output voltage of the battery;
A remaining capacity calculating means for calculating the remaining capacity of the battery based on the output voltage of the battery;
A time measuring means for measuring the main power-off time;
While the main power source is shut off using the main power source shut-off time, the remaining capacity of the battery when the main power source is shut off, and the remaining capacity of the battery when the main power source is turned on again Battery power consumption calculating means for calculating battery power consumption;
Using this battery power consumption and the remaining capacity of the battery after the main power supply is turned on again, backup possible time calculating means for calculating the backup possible time,
A required backup time setting means for setting a required backup time, which is a time required for backup,
Comparing means for comparing the required backup time and the backup possible time, and outputting a warning for avoiding battery exhaustion based on the comparison result,
The encoder according to claim 2, further comprising:
前記バッテリは充電可能な二次電池であり、
前記バッテリ寿命判断部は、
バッテリの出力電圧を検出する電圧検出手段と、
バッテリの出力電圧とバッテリの充電電力情報を入力して、この入力時点の劣化状態において前記バッテリが充電可能な容量を算出するバッテリ容量算出手段と、
バッテリの出力電圧と前記バッテリ容量算出手段で算出したバッテリ容量とからバッテリの残容量を算出する残容量算出手段と、
前記主電源遮断時間を計測する時間計測手段と、
前記主電源遮断時間と、前記主電源が遮断された際のバッテリの残容量および前記主電源が再投入された際のバッテリの残容量とを用いて、前記主電源が遮断している間のバッテリの消費電力を算出するバッテリ消費電力算出手段と、
このバッテリの消費電力と前記主電源が再投入された後のバッテリの残容量とを用いて、前記バックアップ可能時間を算出するバックアップ可能時間算出手段と、
バックアップを必要とする時間である所要バックアップ時間を設定する所要バックアップ時間設定手段と、
この所要バックアップ時間と前記バックアップ可能時間とを比較し、その比較結果に基づきバッテリ切れ回避のための警告を外部へ出力する比較手段と、
を備えることを特徴とする請求項2に記載のエンコーダ。
The battery is a rechargeable secondary battery,
The battery life determination unit is
Voltage detection means for detecting the output voltage of the battery;
Battery capacity calculating means for inputting the output voltage of the battery and the charging power information of the battery and calculating the capacity that the battery can charge in the deterioration state at the time of the input;
A remaining capacity calculating means for calculating the remaining capacity of the battery from the output voltage of the battery and the battery capacity calculated by the battery capacity calculating means;
A time measuring means for measuring the main power-off time;
While the main power source is shut off using the main power source shut-off time, the remaining capacity of the battery when the main power source is shut off, and the remaining capacity of the battery when the main power source is turned on again Battery power consumption calculating means for calculating battery power consumption;
Using this battery power consumption and the remaining capacity of the battery after the main power supply is turned on again, backup possible time calculating means for calculating the backup possible time,
A required backup time setting means for setting a required backup time, which is a time required for backup,
Comparing means for comparing the required backup time and the backup possible time, and outputting a warning for avoiding battery exhaustion based on the comparison result,
The encoder according to claim 2, further comprising:
前記バッテリ消費電力算出手段は、
前記主電源が遮断される毎に、前記主電源が遮断している間のバッテリの消費電力を算出して記憶し、それらの平均値を前記バックアップ可能時間算出手段へ出力する、
ことを特徴とする請求項2または3のいずれかに記載のエンコーダ。
The battery power consumption calculating means includes
Every time the main power supply is shut off, the power consumption of the battery while the main power supply is shut off is calculated and stored, and the average value thereof is output to the backup possible time calculating means.
The encoder according to any one of claims 2 and 3.
前記比較手段は、
前記所要バックアップ時間と前記バックアップ可能時間との差分に応じて複数の異なる警告を出力することを特徴とする請求項3ないし5のいずれかに記載のエンコーダ。
The comparison means includes
6. The encoder according to claim 3, wherein a plurality of different warnings are output in accordance with a difference between the required backup time and the backup possible time.
上位の装置から入力する主電源によりモータの位置を検出してモータ制御装置へ出力するとともに前記モータの位置情報を保持するエンコーダと、
前記主電源が遮断されたときに前記エンコーダが前記モータの位置情報を保持するためのバックアップ用電源であるバッテリと、
前記主電源が遮断されている主電源遮断時間を計測し、この主電源遮断時間とバッテリの出力電圧から求めるバッテリの残容量とに基づき前記主電源遮断時間におけるバッテリの消費電力を算出するとともに、このバッテリの消費電力と、前記主電源が再投入された後のバッテリの残容量とを用いて、前記バッテリが前記エンコーダへ電源を供給することができるバックアップ可能時間を算出するバッテリ寿命判断部と、
を備えることを特徴とするエンコーダシステム。
An encoder that detects the position of the motor with a main power input from a host device and outputs the detected position to the motor control device, and holds the position information of the motor;
A battery that is a backup power source for the encoder to hold the position information of the motor when the main power source is shut off;
Measure the main power shut-off time when the main power is shut off, calculate the power consumption of the battery in the main power shut-off time based on the main power shut-off time and the remaining capacity of the battery determined from the output voltage of the battery, A battery life determination unit for calculating a backup possible time during which the battery can supply power to the encoder using the power consumption of the battery and the remaining capacity of the battery after the main power supply is turned on again; ,
An encoder system comprising:
JP2011141592A 2011-06-27 2011-06-27 Encoder and encoder system Active JP5454520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011141592A JP5454520B2 (en) 2011-06-27 2011-06-27 Encoder and encoder system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011141592A JP5454520B2 (en) 2011-06-27 2011-06-27 Encoder and encoder system

Publications (2)

Publication Number Publication Date
JP2013007696A JP2013007696A (en) 2013-01-10
JP5454520B2 true JP5454520B2 (en) 2014-03-26

Family

ID=47675155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011141592A Active JP5454520B2 (en) 2011-06-27 2011-06-27 Encoder and encoder system

Country Status (1)

Country Link
JP (1) JP5454520B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101734806B1 (en) 2014-08-21 2017-05-11 미쓰비시덴키 가부시키가이샤 Voltage supply device
JP2018054488A (en) * 2016-09-29 2018-04-05 株式会社ニコン Encoder device, driving device, stage device, and robot device
JP6926434B2 (en) * 2016-09-30 2021-08-25 株式会社ニコン Encoder device, drive device, stage device, and robot device
JP7243712B2 (en) * 2018-03-28 2023-03-22 株式会社ニコン Encoder device, drive device, stage device, and robot device
JP6666380B2 (en) 2018-05-01 2020-03-13 ファナック株式会社 Absolute encoder

Also Published As

Publication number Publication date
JP2013007696A (en) 2013-01-10

Similar Documents

Publication Publication Date Title
JP5454520B2 (en) Encoder and encoder system
US9086463B2 (en) Power supply apparatus
EP2939320B1 (en) System and method for monitoring a battery in an uninterruptible power supply
US20160056655A1 (en) Battery pack for motor-driven appliance
US10530180B2 (en) Battery output monitoring device and battery output monitoring method
EP2887085B1 (en) Method and apparatus for indicating a low battery level
US7026726B2 (en) Uninterruptible power supply device
JPWO2006022073A1 (en) Internal impedance detection device, internal impedance detection method, degradation level detection device, and degradation level detection method
US10673262B2 (en) Electric device having function of informing battery residual capacity
JP2016145779A (en) Battery abnormality display device
JP2008269567A (en) Two-wire transmitter
JP7231346B2 (en) Method for determining lifetime of power storage system, and power storage system
CN110780217B (en) Semiconductor device and method for detecting remaining battery level
CN111316116B (en) Battery life estimation device
JP2009042091A (en) Electric vehicle system
JP2018132318A (en) Battery residual level alarm apparatus, numerical control apparatus and machine tool system
JP2007047117A (en) Remaining charge computing apparatus
US20220224142A1 (en) Power supply circuit and power distribution method thereof
JP7290508B2 (en) machine tool system
JP4577502B2 (en) Battery control circuit and electronic device provided with the battery control circuit
JP2016532107A (en) Battery power management
US10770911B1 (en) Calibrating battery fuel gages
WO2016135850A1 (en) Servo system and method of estimating service life of battery
WO2024069732A1 (en) Machine tool
US20080208535A1 (en) Disc array device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130620

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131113

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131223

R151 Written notification of patent or utility model registration

Ref document number: 5454520

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250