JP4506774B2 - Air conditioner - Google Patents

Air conditioner Download PDF

Info

Publication number
JP4506774B2
JP4506774B2 JP2007091715A JP2007091715A JP4506774B2 JP 4506774 B2 JP4506774 B2 JP 4506774B2 JP 2007091715 A JP2007091715 A JP 2007091715A JP 2007091715 A JP2007091715 A JP 2007091715A JP 4506774 B2 JP4506774 B2 JP 4506774B2
Authority
JP
Japan
Prior art keywords
error
detailed information
storage area
error log
abnormality
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
JP2007091715A
Other languages
Japanese (ja)
Other versions
JP2008249255A (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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP2007091715A priority Critical patent/JP4506774B2/en
Publication of JP2008249255A publication Critical patent/JP2008249255A/en
Application granted granted Critical
Publication of JP4506774B2 publication Critical patent/JP4506774B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Air Conditioning Control Device (AREA)
  • Control Of Electric Motors In General (AREA)

Description

本発明は、モータを駆動する駆動部の異常を示すエラーログを記憶部に書き込む技術に関するものである。   The present invention relates to a technique for writing an error log indicating an abnormality of a drive unit that drives a motor into a storage unit.

特許文献1には、室外機で発生した異常の原因を特定することが容易にでき且つ安価な空気調和機を提供することを目的として(段落[0005])、室外機において異常が発生した時に積算運転時間を室外記憶部に記憶させることで、発生した異常がどれだけの積算運転時間が経過して発生したものなのかを特定する空気調和機が開示されている(段落[0008])。
特開2004−156829号公報
In Patent Document 1, for the purpose of providing an inexpensive air conditioner that can easily identify the cause of an abnormality occurring in an outdoor unit (paragraph [0005]), when an abnormality occurs in the outdoor unit An air conditioner that specifies how much accumulated operation time has elapsed by causing the accumulated operation time to be stored in an outdoor storage unit has been disclosed (paragraph [0008]).
JP 2004-156829 A

しかしながら、特許文献1の手法では、異常の内容を示すエラーログを記憶部のどの領域に記憶させるかに関しての記載がなされていないため、記憶部の容量を節約しつつ、記憶部にエラーログを効率良く格納することができないという問題がある。   However, in the method of Patent Document 1, there is no description about which area of the storage unit stores the error log indicating the content of the abnormality, so the error log is stored in the storage unit while saving the capacity of the storage unit. There is a problem that it cannot be stored efficiently.

特に、異常発生直後のエラーログほど重要であるケースが多く、記憶部の容量に空き容量が無くなった場合に、最も古いエラーログを最新のエラーログで更新してしまうと、異常発生直後のエラーログが消去されてしまい、異常の具体的な内容を把握することができず、異常の発生原因を特定することができないという問題が発生する。   In particular, the error log immediately after the occurrence of an abnormality is more important in many cases, and if there is no more free space in the storage unit and the oldest error log is updated with the latest error log, the error immediately after the occurrence of the error The log is erased, the specific contents of the abnormality cannot be grasped, and there is a problem that the cause of the abnormality cannot be specified.

本発明の目的は、記憶部の容量を節約しつつ、記憶部にエラーログを効率良く格納することができる空気調和機を提供することである。   The objective of this invention is providing the air conditioner which can store an error log in a memory | storage part efficiently, saving the capacity | capacitance of a memory | storage part.

本発明による空気調和機は、記憶部と、空気調和機の異常を検出し、検出した異常の内容を示すエラーログを生成し、前記記憶部に書き込む書込部とを備え、前記記憶部は、前記書込部において最初に生成された1回目のエラーログからn(nは正の正数)回目に生成されたエラーログまでを記憶する固定記憶領域と、前記書込部においてn+1回目以降に生成されたエラーログを記憶する更新記憶領域とを含み、前記エラーログは異常の詳細を示す詳細情報と異常の種別を示すエラーコードとを含み、前記記憶部は、1〜n回目及びn+1回目以降のエラーログのエラーコードを記憶するコード記憶領域を更に含み、前記書込部は、1〜n回目のエラーログを前記固定記憶領域に書き込み、n+1回目以降のエラーログを前記更新記憶領域に書き込むものであり、エラーログを構成する詳細情報とエラーコードとが関連付けられるように、エラーコードを前記コード記憶領域に書き込み、1〜n回目のエラーログの詳細情報を前記固定記憶領域に書き込み、n+1回目以降のエラーログの詳細情報を前記更新記憶領域に書き込み、前記更新記憶領域に空き領域がなくなった状態において新たなエラーログの詳細情報を書き込む場合、前記更新記憶領域に書き込まれているエラーログの詳細情報うち最も古いエラーログの詳細情報を、新たに生成したエラーログの詳細情報で更新することを特徴とする。
An air conditioner according to the present invention includes a storage unit, a writing unit that detects an abnormality of the air conditioner, generates an error log indicating the content of the detected abnormality, and writes the error log to the storage unit, and the storage unit includes A fixed storage area for storing from the first error log generated first in the writing unit to the error log generated n (n is a positive positive number), and n + 1 and subsequent times in the writing unit An update storage area for storing the generated error log, and the error log includes detailed information indicating the details of the abnormality and an error code indicating the type of the abnormality, and the storage unit includes the first to nth and n + 1 A code storage area for storing an error code of an error log after the first time , and the writing unit writes the 1st to n-th error logs in the fixed storage area, and the error log after the (n + 1) th time is the update storage area The error code is written in the code storage area so that the detailed information constituting the error log and the error code are associated with each other, and the detailed information of the first to nth error logs is written in the fixed storage area. , When the detailed information of the error log after the (n + 1) th time is written to the update storage area, and new error log detailed information is written in a state where there is no free space in the update storage area, it is written to the update storage area Of the detailed information of the error log, the detailed information of the oldest error log is updated with the detailed information of the newly generated error log .

この構成によれば、記憶部は、最初に生成された1回目のエラーログからn(nは正の正数)回目に生成されたエラーログまでを記憶する固定記憶領域と、n+1回目以降に生成されたエラーログを記憶する更新記憶領域とを含み、1〜n回目のエラーログは、固定記憶領域に書き込まれ、n+1回目以降のエラーログは更新記憶領域に書き込まれる。   According to this configuration, the storage unit includes a fixed storage area for storing from the first error log generated first to the error log generated n (n is a positive positive number), and the n + 1 and subsequent times. Including the update storage area for storing the generated error log, the 1st to n-th error logs are written to the fixed storage area, and the (n + 1) th and subsequent error logs are written to the update storage area.

そのため、更新記憶領域の空き容量が無い状態において、新たなエラーログが生成された場合、更新記憶領域に書き込まれているいずれかのデータを新たなエラーログで書き換えることにより、異常が発生してから初期の期間において生成され、異常の原因を特定するうえで重要となるエラーログを消去することなく、随時新たに生成されたエラーログを記憶部に記憶することが可能となり、記憶部の容量を節約しつつ、記憶部にエラーログを効率良く格納することができる。   Therefore, if a new error log is generated when there is no free space in the update storage area, an error has occurred by rewriting any data written in the update storage area with a new error log. It is possible to store the newly generated error log in the storage unit at any time without deleting the error log that is generated in the initial period and is important for identifying the cause of the abnormality, and the capacity of the storage unit Thus, the error log can be efficiently stored in the storage unit.

また、この構成によれば、更新記憶領域に空き領域がなくなった状態において新たなエラーログが生成された場合、更新記憶領域に書き込まれているエラーログのうち最も古いエラーログが、新たに生成されたエラーログで更新されるため、異常の原因を特定するうえで重要度が低いと考えられるエラーログを消去し、新たなエラーログを記憶部に記憶することができる。
In addition, according to this configuration, when a new error log is generated when there is no free space in the update storage area, the oldest error log written in the update storage area is newly generated. Since the error log is updated, the error log considered to be less important in identifying the cause of the abnormality can be deleted, and a new error log can be stored in the storage unit.

また、この構成によれば、エラーコードと詳細情報とが関連付けられた記憶部に記憶されるため、エラーコードからエラーの種別を特定すると共に、詳細情報からエラーの詳細を認識することが可能となる。

In addition, according to this configuration, since the error code and the detailed information are stored in the associated storage unit, it is possible to identify the error type from the error code and to recognize the details of the error from the detailed information. Become.

また、モータと、前記モータを駆動するための駆動部とを更に備え、前記書込部は、前記駆動部において異常が発生したか否かを検出し、当該異常の内容を示すエラーログを生成し、前記記憶部に書き込むことが好ましい。   Further, the apparatus further includes a motor and a drive unit for driving the motor, and the writing unit detects whether an abnormality has occurred in the drive unit and generates an error log indicating the content of the abnormality. It is preferable to write in the storage unit.

この構成によれば、モータを駆動する駆動部の異常の内容を示すエラーログが記憶部に書き込まれることになる。   According to this configuration, an error log indicating the content of abnormality of the drive unit that drives the motor is written in the storage unit.

また、前記駆動部は、交流電源から交流電圧を直流電圧に変換するコンバータ回路と、前記コンバータ回路から出力される直流電圧を交流電圧に変換するインバータ回路とを含み、前記制御部は、前記コンバータ回路及び前記インバータ回路の異常を検出し、エラーログを生成することが好ましい。   The driving unit includes a converter circuit that converts an AC voltage from an AC power source into a DC voltage, and an inverter circuit that converts a DC voltage output from the converter circuit into an AC voltage, and the control unit includes the converter It is preferable to detect an error in the circuit and the inverter circuit and generate an error log.

この構成によれば、コンバータ回路とインバータ回路との異常を示すエラーログが生成される。   According to this configuration, an error log indicating an abnormality between the converter circuit and the inverter circuit is generated.

本発明によれば、異常が発生してから初期の期間において生成され、異常の原因を特定するうえで重要なエラーログを消去することなく、随時新たに生成されたエラーログが記憶部に記憶されるため、記憶部の容量を節約しつつ、記憶部にエラーログを効率良く格納することができる。   According to the present invention, a newly generated error log is stored in the storage unit at any time without erasing the error log that is generated in the initial period after the occurrence of the abnormality and is important for identifying the cause of the abnormality. Therefore, the error log can be efficiently stored in the storage unit while saving the capacity of the storage unit.

図1は、本発明の実施の形態による空気調和機の電気的な構成を示した図である。本空気調和機は、駆動部10、制御部20(書込部)、ROM30(記憶部)、及びモータMを備えている。駆動部10は、モータMを駆動するものであり、コンバータ回路11及びインバータ回路12を備えている。コンバータ回路11は、交流電源E1からの交流電圧を直流電圧に変換するものであり、整流回路111、昇圧チョッパ112、平滑部113、及び抵抗R1,R2,R3を備えている。   FIG. 1 is a diagram showing an electrical configuration of an air conditioner according to an embodiment of the present invention. The air conditioner includes a drive unit 10, a control unit 20 (writing unit), a ROM 30 (storage unit), and a motor M. The drive unit 10 drives the motor M and includes a converter circuit 11 and an inverter circuit 12. The converter circuit 11 converts an AC voltage from the AC power source E1 into a DC voltage, and includes a rectifier circuit 111, a boost chopper 112, a smoothing unit 113, and resistors R1, R2, and R3.

交流電源E1は、電力会社の商用電源である。整流回路111は、例えばダイオードブリッジから構成され、交流電源E1から出力される交流電圧を全波整流する。昇圧チョッパ112は、インバータ回路12に出力する直流電圧を所定レベルに昇圧するものであり、コイルL1、ダイオードD1、スイッチング素子Q1、及びダイオードD2を備えている。すなわち、昇圧チョッパ112は、制御部20から出力されるPWM信号を受けてスイッチング素子Q1がオン・オフし、スイッチング素子Q1がオンの間にコイルL1内により蓄積された電磁エネルギーを、スイッチング素子Q1がオフの間に放出することで、インバータ回路12に所定レベルの直流電圧を出力する。   The AC power source E1 is a commercial power source of an electric power company. The rectifier circuit 111 is composed of, for example, a diode bridge, and full-wave rectifies the AC voltage output from the AC power supply E1. The step-up chopper 112 boosts the DC voltage output to the inverter circuit 12 to a predetermined level, and includes a coil L1, a diode D1, a switching element Q1, and a diode D2. That is, the boost chopper 112 receives the PWM signal output from the control unit 20, the switching element Q1 is turned on / off, and the electromagnetic energy accumulated in the coil L1 while the switching element Q1 is on is converted into the switching element Q1. Is discharged while is turned off, so that a DC voltage of a predetermined level is output to the inverter circuit 12.

本実施の形態では、スイッチング素子Q1として、npn型のバイポーラトランジスタが採用され、コレクタがコイルL1とダイオードD1との接続点に接続され、ベースが制御部20に接続され、エミッタがグラウンドに接続されている。ダイオードD1は、アノードがコイルL1に接続され、カソードが抵抗R1に接続されている。ダイオードD2は、アノードがスイッチング素子Q1のエミッタに接続され、カソードがスイッチング素子Q1のコレクタに接続されている。平滑部113は、コンデンサC1から構成され、昇圧チョッパ112から出力された電圧を平滑化する。   In the present embodiment, an npn-type bipolar transistor is employed as the switching element Q1, the collector is connected to the connection point between the coil L1 and the diode D1, the base is connected to the control unit 20, and the emitter is connected to the ground. ing. The diode D1 has an anode connected to the coil L1 and a cathode connected to the resistor R1. The diode D2 has an anode connected to the emitter of the switching element Q1, and a cathode connected to the collector of the switching element Q1. The smoothing unit 113 is composed of a capacitor C1, and smoothes the voltage output from the boost chopper 112.

抵抗R1は、一端がダイオードD1のカソードに接続され、他端が抵抗R2に接続されている。抵抗R2は、一端が抵抗R1に接続され、他端がグラウンドに接続されている。抵抗R1と抵抗R2との接続点は、モニタラインL12を介して制御部20と接続されている。抵抗R3は、モータMを駆動するための電流をモニタするために平滑部113及びインバータ回路12間のグラウンド側の線路上に接続されたシャント抵抗から構成され、一端が制御部20に接続されている。   The resistor R1 has one end connected to the cathode of the diode D1 and the other end connected to the resistor R2. The resistor R2 has one end connected to the resistor R1 and the other end connected to the ground. A connection point between the resistor R1 and the resistor R2 is connected to the control unit 20 via the monitor line L12. The resistor R3 is composed of a shunt resistor connected on the ground side line between the smoothing unit 113 and the inverter circuit 12 in order to monitor a current for driving the motor M, and one end is connected to the control unit 20. Yes.

インバータ回路12は、スイッチング素子Q2,Q3、及びダイオードD3,D4等から構成され、制御部20の制御の下、コンバータ回路11から出力された直流電圧を所定レベルの振幅を有する交流電圧に変換して、モータMを駆動させる。ここで、スイッチング素子Q2は、npn型のバイポーラトランジスタから構成され、ベースが制御部20に接続され、エミッタがスイッチング素子Q3のコレクタに接続され、コレクタがコンデンサC1と接続されている。スイッチング素子Q3は、npn型のバイポーラトランジスタから構成され、ベースが制御部20に接続され、エミッタがグラウンドに接続されている。ダイオードD3はアノードがスイッチング素子Q2のエミッタに接続され、カソードがスイッチング素子Q2のコレクタに接続されている。ダイオードD4は、アノードがスイッチング素子Q3のエミッタに接続され、カソードがスイッチング素子Q3のコレクタに接続されている。モータMは、例えばブラシレスモータから構成され、インバータ回路12から出力される交流電圧によって駆動され、送風ファン等を駆動させる。   The inverter circuit 12 includes switching elements Q2 and Q3, diodes D3 and D4, and the like, and converts the DC voltage output from the converter circuit 11 into an AC voltage having a predetermined level of amplitude under the control of the control unit 20. Then, the motor M is driven. Here, the switching element Q2 is composed of an npn-type bipolar transistor, the base is connected to the control unit 20, the emitter is connected to the collector of the switching element Q3, and the collector is connected to the capacitor C1. The switching element Q3 is composed of an npn-type bipolar transistor, and has a base connected to the control unit 20 and an emitter connected to the ground. The diode D3 has an anode connected to the emitter of the switching element Q2, and a cathode connected to the collector of the switching element Q2. The diode D4 has an anode connected to the emitter of the switching element Q3 and a cathode connected to the collector of the switching element Q3. The motor M is composed of, for example, a brushless motor and is driven by an AC voltage output from the inverter circuit 12 to drive a blower fan or the like.

制御部20は、CPU、RAM、ROM等のマイクロコンピュータから構成され、空気調和機の全体制御を司る。また、制御部20は、モニタラインL11を介して昇圧チョッパ112と接続され、モニタラインL12を介して抵抗R1,R2の接続点と接続され、モニタラインL13を介して抵抗R3と接続され、モニタラインL14を介してインバータ回路12と接続され、モニタラインL11〜L14を介して送出される種々の電気信号をモニタし、モータMの回転速度が所定速度となるようにスイッチング素子Q1〜Q3にPWM信号を出力し、駆動部10を制御する。更に、制御部20は、モニタラインL11〜L14を介して送出される種々の電気信号を一定の時間間隔でモニタし、制御部20に異常が発生したか否かを検出する。ここで、制御部20は、例えば、モニタラインL11〜L14を流れるいずれかの電気信号のレベル等が所定の異常な値を示すとき、駆動部10において異常が発生したことを検出し、異常の内容を示すエラーログを生成し、ROM30に書き込む。エラーログには、異常の種別を示すエラーコードと異常の詳細な内容を示す詳細情報とが含まれる。制御部20は、各エラーコードと、各エラーコードにおける典型的なモニタ結果との関係を予め記憶しており、異常を検出したときのモニタ結果に最も近い典型的なモニタ結果を特定することでエラーコードを特定する。また、制御部20は、異常を検出したときのモニタ結果を詳細情報とする。   The control unit 20 includes a microcomputer such as a CPU, a RAM, and a ROM, and governs overall control of the air conditioner. The control unit 20 is connected to the step-up chopper 112 via the monitor line L11, connected to the connection point of the resistors R1 and R2 via the monitor line L12, and connected to the resistor R3 via the monitor line L13. It is connected to the inverter circuit 12 via the line L14, monitors various electrical signals sent via the monitor lines L11 to L14, and applies PWM to the switching elements Q1 to Q3 so that the rotational speed of the motor M becomes a predetermined speed. A signal is output and the drive part 10 is controlled. Furthermore, the control unit 20 monitors various electrical signals sent via the monitor lines L11 to L14 at regular time intervals, and detects whether or not an abnormality has occurred in the control unit 20. Here, for example, when the level of any electrical signal flowing through the monitor lines L11 to L14 shows a predetermined abnormal value, the control unit 20 detects that an abnormality has occurred in the drive unit 10, and An error log indicating the contents is generated and written in the ROM 30. The error log includes an error code indicating the type of abnormality and detailed information indicating the detailed content of the abnormality. The control unit 20 stores in advance the relationship between each error code and a typical monitor result for each error code, and identifies the typical monitor result closest to the monitor result when an abnormality is detected. Identify the error code. Moreover, the control part 20 makes detailed information the monitoring result when abnormality is detected.

ROM30は、EEPROM(Electronically Erasable and Programmable Read Only Memory)等の書き換え可能な不揮発性の記憶装置から構成され、制御部20において生成されたエラーログを記憶する。   The ROM 30 includes a rewritable nonvolatile storage device such as an EEPROM (Electronically Erasable and Programmable Read Only Memory), and stores an error log generated by the control unit 20.

図2は、ROM30のメモリ空間を概念的に示した図である。なお、図2に示す各升の左側に示した数値は、ROM30のアドレスを示している。図2に示すようにROM30は、語長が2バイトであり、128バイトの16個のセルSL1〜SL16から構成されている。   FIG. 2 is a diagram conceptually showing the memory space of the ROM 30. In addition, the numerical value shown on the left side of each box shown in FIG. As shown in FIG. 2, the ROM 30 has a word length of 2 bytes and is composed of 16 cells SL1 to SL16 of 128 bytes.

また、メモリ空間は、大局的に領域R1〜R3の3つの領域を備える。領域R1は、セルSL1,SL2を備える。セルSL1には、交流電源E1の供給が停止されても、ROM30に残しておくべきデータが格納される。ここで、セルSL1に格納されるデータとしては、制御部20が一定の時間間隔毎に行う駆動部10のモニタ結果を示すデータが採用され、具体的にはモニタラインL11〜L14の各々の電気信号のレベル等の内容を示すデータが採用される。   The memory space generally includes three areas R1 to R3. The region R1 includes cells SL1 and SL2. The cell SL1 stores data that should remain in the ROM 30 even when the supply of the AC power supply E1 is stopped. Here, as the data stored in the cell SL1, data indicating the monitoring result of the driving unit 10 performed by the control unit 20 at regular time intervals is adopted. Specifically, the electric power of each of the monitor lines L11 to L14 is used. Data indicating contents such as signal levels is employed.

なお、セルSL1に書き込まれるデータは頻繁に書き換えられるデータであるため、エラー発生時に備えて、セルSL2にもセルSL1と同一のデータが書き込まれ、二重化が図られている。   Since the data written to the cell SL1 is frequently rewritten data, the same data as the cell SL1 is also written to the cell SL2 in preparation for the occurrence of an error, thereby achieving duplication.

領域R2(コード記憶領域)は、セルSL3〜セルSL6から構成され、制御部20により生成されるエラーログに含まれるエラーコードが書き込まれる。ここで、セルSL3には、1〜16回目のエラーコードが書き込まれ、セルSL4には、17〜32回目のエラーコードが書き込まれ、セルSL5には、33〜48回目のエラーコードが書き込まれ、セルSL6には、49〜64回目のエラーコードが書き込まれる。なお、制御部20が1回目に検出した異常に対するエラーコードが1回目のエラーコードとなり、2回目に検出した異常に対するエラーコードが2回目のエラーコードとなる。   The area R2 (code storage area) is composed of the cells SL3 to SL6, and an error code included in an error log generated by the control unit 20 is written therein. Here, the 1st to 16th error codes are written to the cell SL3, the 17th to 32th error codes are written to the cell SL4, and the 33rd to 48th error codes are written to the cell SL5. The 49th to 64th error codes are written in the cell SL6. The error code for the abnormality detected by the control unit 20 for the first time becomes the first error code, and the error code for the abnormality detected for the second time becomes the second error code.

領域R3は、セルSL7〜SL16の合計10個のセルから構成され、制御部20により生成されるエラーログに含まれる詳細情報を記憶する。領域R3は、最初に生成された1回目の詳細情報から5回目の詳細情報までを記憶する固定記憶領域R31と、6回目以降に生成された詳細情報を記憶する更新記憶領域R32とを含む。   The region R3 includes a total of 10 cells SL7 to SL16, and stores detailed information included in the error log generated by the control unit 20. The region R3 includes a fixed storage region R31 that stores from the first detailed information generated first to the fifth detailed information, and an update storage region R32 that stores detailed information generated after the sixth time.

固定記憶領域R31は、セルSL7〜SL11から構成され、セルSL7〜SL11には、それぞれ1〜5回目の詳細情報が書き込まれる。更新記憶領域R32は、セルSL12〜SL16から構成され、6回目以降に生成される詳細情報が書き込まれる。なお、制御部20が1回目に検出した異常に対する詳細情報が1回目の詳細情報となり、2回目に検出した異常に対する詳細情報が2回目の詳細情報となる。   The fixed storage area R31 includes cells SL7 to SL11, and detailed information for the first to fifth times is written in the cells SL7 to SL11, respectively. The update storage area R32 includes cells SL12 to SL16, and detailed information generated after the sixth time is written therein. The detailed information for the abnormality detected by the control unit 20 for the first time is the first detailed information, and the detailed information for the abnormality detected for the second time is the second detailed information.

具体的には、セルSL12には、5k(kは正の整数)+1回目の詳細情報が書き込まれ、セルSL13には、5k+2回目の詳細情報が書き込まれ、セルSL14には、5k+3回目の詳細情報が書き込まれ、セルSL15には、5k+4回目の詳細情報が書き込まれ、セルSL16には、5k+5回目の詳細情報が書き込まれる。   Specifically, 5k (k is a positive integer) + 1th detailed information is written in the cell SL12, 5k + 2nd detailed information is written in the cell SL13, and 5k + 3rd detail is written in the cell SL14. The information is written, the 5k + 4th detailed information is written in the cell SL15, and the 5k + 5th detailed information is written in the cell SL16.

ここで、制御部20は、6〜10回目の詳細情報をそれぞれセルSL12〜SL16に順次書き込み、11回目のエラーログを生成した場合、更新記憶領域R32に書き込まれている詳細情報のうち最も古い詳細情報である、セルSL12の6回目の詳細情報を11回目の詳細情報に書き換える。すなわち、制御部20は、更新記憶領域R32に空き領域がなくなった状態において新たな詳細情報を書き込む場合、更新記憶領域R32に書き込まれている詳細情報のうち最も古い詳細情報を、新たに生成した詳細情報で更新する。   Here, when the control unit 20 sequentially writes the sixth to tenth detailed information in the cells SL12 to SL16 and generates the eleventh error log, it is the oldest detailed information written in the update storage area R32. The 6th detailed information of the cell SL12, which is detailed information, is rewritten to the 11th detailed information. That is, when writing new detailed information in a state where there is no free space in the update storage area R32, the control unit 20 newly generates the oldest detailed information among the detailed information written in the update storage area R32. Update with detailed information.

次に、制御部20がエラーログをROM20に書き込む際の処理について説明する。図3は、制御部20がエラーログをROM20に書き込む際の処理を示すフローチャートである。まず、ステップS1において、制御部20は、駆動部10の異常を検出すると(ステップS1でYES)、異常を検出したときのモニタ結果からエラーコードを特定し、このモニタ結果を詳細情報としてエラーログを生成する(ステップS2)。   Next, processing when the control unit 20 writes an error log in the ROM 20 will be described. FIG. 3 is a flowchart showing processing when the control unit 20 writes the error log into the ROM 20. First, in step S1, when the controller 20 detects an abnormality in the drive unit 10 (YES in step S1), the controller 20 identifies an error code from the monitor result when the abnormality is detected, and uses this monitor result as detailed information for an error log. Is generated (step S2).

次に、ステップS3において、制御部20は、ステップS2で生成したエラーログが6回目以降に生成されたエラーログである場合(ステップS3でYES)、このエラーログに含まれるエラーコードを領域R2の所定のセルに書き込むと共に、更新記憶領域R32に書き込まれている最も古い詳細情報を、エラーログに含まれる詳細情報で書き換える(ステップS4)。一方、制御部20は、ステップS2で生成したエラーログが5回目以前に生成されたエラーログである場合(ステップS3でNO)、このエラーログに含まれるエラーコードを領域R2の所定のセルに書き込むと共に、このエラーログに含まれる詳細情報を、固定記憶領域R31の所定のセルに書き込む(ステップS5)。   Next, in step S3, when the error log generated in step S2 is an error log generated after the sixth time (YES in step S3), the control unit 20 stores the error code included in the error log in the region R2. The oldest detailed information written in the update storage area R32 is rewritten with the detailed information included in the error log (step S4). On the other hand, when the error log generated in step S2 is the error log generated before the fifth time (NO in step S3), the control unit 20 transfers the error code included in the error log to a predetermined cell in the region R2. At the same time, the detailed information contained in the error log is written to a predetermined cell in the fixed storage area R31 (step S5).

なお、制御部20は、エラーコードを書き込むに際し、対応する詳細情報が格納されたアドレスを示すポインタを当該エラーコードと関連付けて、当該エラーコードを固定記憶領域R31に書き込む。   When writing the error code, the control unit 20 associates the pointer indicating the address where the corresponding detailed information is stored with the error code, and writes the error code in the fixed storage area R31.

このように、本空気調和機によれば、ROM30は、最初に生成された1回目の詳細情報から5回目に生成された詳細情報までを記憶する固定記憶領域R31と、6回目以降に生成された詳細情報を記憶する更新記憶領域R32とを含み、更新記憶領域R32に空き領域がなくなった状態において新たなエラーログが生成された場合、更新記憶領域R32に書き込まれている詳細情報のうち最も古い詳細情報が、新たに生成された詳細情報で更新される。   As described above, according to the present air conditioner, the ROM 30 is generated from the first generated detailed information to the detailed information generated from the first time to the fifth generated information, and from the sixth time onward. Update information storage area R32 for storing detailed information, and when a new error log is generated in a state where there is no free area in update storage area R32, the most detailed information written in update storage area R32 The old detailed information is updated with the newly generated detailed information.

そのため、異常が発生してから初期の期間において生成され、異常の原因を特定するうえで重要となる詳細情報を消去することなく、随時新たに生成された詳細情報をROM30に記憶することが可能となり、ROM30の容量を節約しつつ、ROM30に詳細情報を効率良く格納することができる。   Therefore, it is possible to store newly generated detailed information in the ROM 30 at any time without deleting detailed information that is generated in the initial period after the occurrence of the abnormality and is important for specifying the cause of the abnormality. Thus, the detailed information can be efficiently stored in the ROM 30 while saving the capacity of the ROM 30.

なお、上記実施の形態では、制御部20は、駆動部10の異常を検出するものであったが、これに限定されず、空気調和機を構成する種々の装置の異常を検出する、すなわち、空気調和機で発生するあらゆる異常を検出するものであってもよい。   In the above embodiment, the control unit 20 detects an abnormality of the driving unit 10, but is not limited to this, and detects an abnormality of various devices constituting the air conditioner. Any abnormality that occurs in the air conditioner may be detected.

また、上記実施の形態では、1〜5回目の詳細情報が固定記憶領域R31に書き込まれ、6回目以降の詳細情報が更新記憶領域R32に書き込まれているが、これに限定されず、n(nは正の整数)回目以前の詳細情報を固定記憶領域R31に書き込み、n+1回目以降の詳細情報を更新記憶領域R32に書き込むようにしてもよい。この場合、セルSL1〜SLnからなるn個のセルで固定記憶領域R31を構成し、セルSLn+1〜SL2nからなるn個のセルで更新記憶領域R32を構成してもよい。   In the above embodiment, the detailed information for the first to fifth times is written in the fixed storage area R31, and the detailed information for the sixth and subsequent times is written in the update storage area R32. However, the present invention is not limited to this. It is also possible to write the detailed information before the nth time in the fixed storage area R31 and write the detailed information after the (n + 1) th time in the update storage area R32. In this case, the fixed storage region R31 may be configured with n cells including the cells SL1 to SLn, and the update storage region R32 may be configured with n cells including the cells SLn + 1 to SL2n.

また、上記実施の形態では、固定記憶領域R31を構成するセルの数と更新記憶領域R32を構成するセルの数とを同じにしたが、これに限定されず、両領域のセルの数を異なる数にしてもよい。   In the above embodiment, the number of cells constituting the fixed storage area R31 is the same as the number of cells constituting the update storage area R32. However, the present invention is not limited to this, and the number of cells in both areas is different. It may be a number.

また、上記実施の形態では、65回目以降のエラーログについて特に言及しなかったが、制御部20は、65回目以降のエラーログを生成した場合、領域R2に格納されているいずれかのエラーコードを、新たに生成したエラーログに含まれるエラーコードで更新してもよいし、65回目以降のエラーログをROM20に書き込まなくてもよいし、エラーログを64個生成した時点で、エラーログの生成を終了してもよいし、エラーコードは65回目以降のエラーコードを領域R2に書き込まず、詳細情報のみを更新記憶領域R32に書き込むようにしてもよい。   In the above embodiment, the error log after the 65th time is not particularly mentioned. However, when the error log after the 65th time is generated, the control unit 20 generates one of the error codes stored in the region R2. May be updated with the error code included in the newly generated error log, the 65th and subsequent error logs may not be written to the ROM 20, and at the time when 64 error logs are generated, the error log The generation may end, or the error code for the 65th and subsequent times may not be written in the area R2, but only detailed information may be written in the update storage area R32.

また、上記実施の形態では、詳細情報を領域R3に書き込み、エラーコードを領域R2に書き込むものとしたが、これに限定されず、エラーコードと詳細情報とを併せて、すなわち、エラーログ自体を領域R3に書き込むようにしてもよい。この場合、1〜5回目までのエラーログがROM30に残されることになり、6回目以降のエラーログが更新対象のエラーログとなる。   In the above embodiment, the detailed information is written in the region R3 and the error code is written in the region R2. However, the present invention is not limited to this, and the error code and the detailed information are combined, that is, the error log itself is stored. You may make it write in area | region R3. In this case, the first to fifth error logs are left in the ROM 30, and the sixth and subsequent error logs are update target error logs.

本発明の実施の形態による空気調和機の電気的な構成を示した図である。It is the figure which showed the electrical structure of the air conditioner by embodiment of this invention. ROMのメモリ空間を概念的に示した図である。It is the figure which showed the memory space of ROM notionally. 制御部がエラーログをROMに書き込む際の処理を示すフローチャートである。It is a flowchart which shows the process at the time of a control part writing an error log in ROM.

符号の説明Explanation of symbols

10 駆動部
11 コンバータ回路
12 インバータ回路
20 制御部
111 整流回路
112 昇圧チョッパ
113 平滑部
C1 ンデンサ
R1〜R3 領域
D31 固定記憶領域
D32 更新記憶領域
DESCRIPTION OF SYMBOLS 10 Drive part 11 Converter circuit 12 Inverter circuit 20 Control part 111 Rectifier circuit 112 Boost chopper 113 Smoothing part C1 Capacitors R1-R3 Area D31 Fixed storage area D32 Update storage area

Claims (4)

記憶部と、
空気調和機の異常を検出し、検出した異常の内容を示すエラーログを生成し、前記記憶部に書き込む書込部とを備え、
前記記憶部は、前記書込部において最初に生成された1回目のエラーログからn(nは正の正数)回目に生成されたエラーログまでを記憶する固定記憶領域と、前記書込部においてn+1回目以降に生成されたエラーログを記憶する更新記憶領域とを含み、
前記エラーログは異常の詳細を示す詳細情報と異常の種別を示すエラーコードとを含み、
前記記憶部は、1〜n回目及びn+1回目以降のエラーログのエラーコードを記憶するコード記憶領域を更に含み、
前記書込部は、1〜n回目のエラーログを前記固定記憶領域に書き込み、n+1回目以降のエラーログを前記更新記憶領域に書き込むものであり、エラーログを構成する詳細情報とエラーコードとが関連付けられるように、エラーコードを前記コード記憶領域に書き込み、1〜n回目のエラーログの詳細情報を前記固定記憶領域に書き込み、n+1回目以降のエラーログの詳細情報を前記更新記憶領域に書き込み、前記更新記憶領域に空き領域がなくなった状態において新たなエラーログの詳細情報を書き込む場合、前記更新記憶領域に書き込まれているエラーログの詳細情報うち最も古いエラーログの詳細情報を、新たに生成したエラーログの詳細情報で更新することを特徴とする空気調和機。
A storage unit;
An abnormality of the air conditioner is detected, an error log indicating the content of the detected abnormality is generated, and a writing unit for writing to the storage unit is provided.
The storage unit includes a fixed storage area for storing from a first error log generated first in the writing unit to an error log generated n (n is a positive positive number), and the writing unit And an update storage area for storing error logs generated after the (n + 1) th time in
The error log includes detailed information indicating details of the abnormality and an error code indicating the type of abnormality,
The storage unit further includes a code storage area for storing error codes of error logs from the 1st to nth times and from the (n + 1) th time ,
The writing unit writes the 1st to n-th error logs in the fixed storage area and writes the (n + 1) th and subsequent error logs to the update storage area , and includes detailed information and error codes constituting the error log. Write the error code to the code storage area, write the detailed information of the 1st to nth error logs to the fixed storage area, write the detailed information of the error log after the (n + 1) th time to the update storage area, When new error log detailed information is written when there is no free space in the update storage area, the oldest error log detailed information is newly generated among the error log detailed information written in the update storage area. The air conditioner is characterized by being updated with detailed information of the error log .
前記nは可変であることを特徴とする請求項1記載の空気調和機。2. The air conditioner according to claim 1, wherein n is variable. モータと、
前記モータを駆動するための駆動部とを更に備え、
前記書込部は、前記駆動部において異常が発生したか否かを検出し、当該異常の内容を示すエラーログを生成し、前記記憶部に書き込むことを特徴とする請求項1又は2記載の空気調和機。
A motor,
A drive unit for driving the motor;
The said writing part detects whether abnormality occurred in the said drive part, produces | generates the error log which shows the content of the said abnormality, and writes in the said memory | storage part, The Claim 1 or 2 characterized by the above-mentioned. Air conditioner.
前記駆動部は、交流電源からの交流電圧を直流電圧に変換するコンバータ回路と、
前記コンバータ回路から出力される直流電圧を交流電圧に変換するインバータ回路とを含み、
前記制御部は、前記コンバータ回路及び前記インバータ回路の異常を検出し、エラーログを生成することを特徴とする請求項記載の空気調和機。
The drive unit includes a converter circuit that converts an AC voltage from an AC power source into a DC voltage;
An inverter circuit that converts a DC voltage output from the converter circuit into an AC voltage;
The air conditioner according to claim 3 , wherein the controller detects an abnormality in the converter circuit and the inverter circuit and generates an error log.
JP2007091715A 2007-03-30 2007-03-30 Air conditioner Active JP4506774B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007091715A JP4506774B2 (en) 2007-03-30 2007-03-30 Air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007091715A JP4506774B2 (en) 2007-03-30 2007-03-30 Air conditioner

Publications (2)

Publication Number Publication Date
JP2008249255A JP2008249255A (en) 2008-10-16
JP4506774B2 true JP4506774B2 (en) 2010-07-21

Family

ID=39974409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007091715A Active JP4506774B2 (en) 2007-03-30 2007-03-30 Air conditioner

Country Status (1)

Country Link
JP (1) JP4506774B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6369338B2 (en) * 2014-04-25 2018-08-08 京セラドキュメントソリューションズ株式会社 Information processing device
CN104006505B (en) * 2014-06-23 2016-08-10 珠海格力电器股份有限公司 The processing method of a kind of air-conditioning fault and air-conditioner controller

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6141615A (en) * 1984-08-02 1986-02-28 Automob Antipollut & Saf Res Center Air conditioner of automobile
JPS62238934A (en) * 1986-04-11 1987-10-19 Hitachi Ltd Freezer-air conditioner with operation recording function
JPH01293406A (en) * 1988-05-20 1989-11-27 Toyoda Mach Works Ltd Numerical controller having action monitoring function
JPH05298835A (en) * 1992-04-17 1993-11-12 Sony Corp Information recording and reproducing device with mechanism for recording self diagnostic information
JPH0686580A (en) * 1992-09-01 1994-03-25 Fanuc Ltd Display method for servo wave
JPH08272435A (en) * 1995-01-31 1996-10-18 Noritz Corp Fault controller
JPH10185278A (en) * 1996-12-18 1998-07-14 Funai Electric Co Ltd Controlling device of air conditioner
JPH10238845A (en) * 1997-02-27 1998-09-08 Mitsubishi Electric Corp Remote motoring device of air conditioner and monitoring device thereof
JP2003252027A (en) * 2002-02-26 2003-09-09 Mitsubishi Heavy Ind Ltd Air conditioning system for vehicle and method for detecting failure information of air conditioning system for vehicle
JP2003274690A (en) * 2002-03-12 2003-09-26 Toshiba Corp Trace back control circuit
JP2004156829A (en) * 2002-11-06 2004-06-03 Daikin Ind Ltd Air conditioner
JP2005056191A (en) * 2003-08-05 2005-03-03 Oputeiko:Kk System for monitoring abnormality
JP2006270175A (en) * 2005-03-22 2006-10-05 Megachips System Solutions Inc System for recording vehicle mounted image
JP2007015683A (en) * 2005-06-10 2007-01-25 Nsk Ltd Controller of electric power steering apparatus

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6141615A (en) * 1984-08-02 1986-02-28 Automob Antipollut & Saf Res Center Air conditioner of automobile
JPS62238934A (en) * 1986-04-11 1987-10-19 Hitachi Ltd Freezer-air conditioner with operation recording function
JPH01293406A (en) * 1988-05-20 1989-11-27 Toyoda Mach Works Ltd Numerical controller having action monitoring function
JPH05298835A (en) * 1992-04-17 1993-11-12 Sony Corp Information recording and reproducing device with mechanism for recording self diagnostic information
JPH0686580A (en) * 1992-09-01 1994-03-25 Fanuc Ltd Display method for servo wave
JPH08272435A (en) * 1995-01-31 1996-10-18 Noritz Corp Fault controller
JPH10185278A (en) * 1996-12-18 1998-07-14 Funai Electric Co Ltd Controlling device of air conditioner
JPH10238845A (en) * 1997-02-27 1998-09-08 Mitsubishi Electric Corp Remote motoring device of air conditioner and monitoring device thereof
JP2003252027A (en) * 2002-02-26 2003-09-09 Mitsubishi Heavy Ind Ltd Air conditioning system for vehicle and method for detecting failure information of air conditioning system for vehicle
JP2003274690A (en) * 2002-03-12 2003-09-26 Toshiba Corp Trace back control circuit
JP2004156829A (en) * 2002-11-06 2004-06-03 Daikin Ind Ltd Air conditioner
JP2005056191A (en) * 2003-08-05 2005-03-03 Oputeiko:Kk System for monitoring abnormality
JP2006270175A (en) * 2005-03-22 2006-10-05 Megachips System Solutions Inc System for recording vehicle mounted image
JP2007015683A (en) * 2005-06-10 2007-01-25 Nsk Ltd Controller of electric power steering apparatus

Also Published As

Publication number Publication date
JP2008249255A (en) 2008-10-16

Similar Documents

Publication Publication Date Title
JP4053501B2 (en) Motor drive device
JP2003305668A (en) Driving control means for electrical apparatus, hand- held machining tool, and driving method for electrical apparatus
JP4474436B2 (en) Power factor correction circuit, motor drive device and air conditioner
JP5511622B2 (en) Solar cell module failure diagnosis apparatus and method
JP4506774B2 (en) Air conditioner
JP2006260981A (en) Battery controller
JP6537714B2 (en) Air conditioner
US20040257029A1 (en) Motor driving apparatus
JPWO2003085265A1 (en) Compressor unit and refrigerator using the same
CN111667872A (en) Method, system, storage medium and terminal device for power-on repair of over-erasure interference
KR0172655B1 (en) Data processor
US11658589B2 (en) Electrically commutated motor driving device and control method thereof
JP3324239B2 (en) Inverter device
CN114576810B (en) Air conditioner control method and device, air conditioner and storage medium
US10613920B2 (en) Apparatus for controlling inverter
JP2014105947A (en) Outdoor unit for air conditioner
JP4251995B2 (en) Air conditioner
JP4577502B2 (en) Battery control circuit and electronic device provided with the battery control circuit
JP7238856B2 (en) Fan controls and equipment
JP4717043B2 (en) Load drive circuit
KR102249868B1 (en) Apparatus and method for plant control
CN110098778B (en) Motor driving device and determination method
JP4650590B2 (en) Air compressor
CN110778514A (en) Fan control system
JP2008111416A (en) Method for predicting failure of electric compressor, control device for electric compressor and air conditioner

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100222

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: 20100406

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100419

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4506774

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3