JP2005195303A - Air conditioner - Google Patents

Air conditioner Download PDF

Info

Publication number
JP2005195303A
JP2005195303A JP2004004353A JP2004004353A JP2005195303A JP 2005195303 A JP2005195303 A JP 2005195303A JP 2004004353 A JP2004004353 A JP 2004004353A JP 2004004353 A JP2004004353 A JP 2004004353A JP 2005195303 A JP2005195303 A JP 2005195303A
Authority
JP
Japan
Prior art keywords
storage area
air conditioner
parameter
control parameter
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004004353A
Other languages
Japanese (ja)
Other versions
JP4251995B2 (en
Inventor
光浩 ▲土▼橋
Mitsuhiro Dobashi
Takaharu Tenma
崇治 天満
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2004004353A priority Critical patent/JP4251995B2/en
Publication of JP2005195303A publication Critical patent/JP2005195303A/en
Application granted granted Critical
Publication of JP4251995B2 publication Critical patent/JP4251995B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an air conditioner, updating a control parameter, simplifying the system configuration and easily resetting the control parameter. <P>SOLUTION: A microcomputer 57 updates a storage area for the control parameter among storage areas of a flash ROM 57A independently of updating the other storage areas and inhibits updating of storage area for the control parameter in updating at least some of the other storage areas except the storage area for the control parameter. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、空気調和装置に係り、特に制御パラメータの更新を行うことが可能な空気調和装置に関する。   The present invention relates to an air conditioner, and more particularly to an air conditioner capable of updating a control parameter.

DCモータ等の制御を行う場合、駆動電圧を正確に検出して制御を行うことが要求される。そこで、一般的には、DC電源を読み込むための回路をハード的に構成するが(例えば、特許文献1参照)、この回路を組んだ場合でも、当該回路に使用される素子やICを選別して回路自体の誤差を最小限に抑えることが重要となり、このような方法ではコスト高になってしまう。   When controlling a DC motor or the like, it is required to accurately detect and control the drive voltage. Therefore, in general, a circuit for reading a DC power supply is configured in hardware (see, for example, Patent Document 1). Even when this circuit is assembled, elements and ICs used in the circuit are selected. Therefore, it is important to minimize errors in the circuit itself, and such a method is expensive.

従って、基板ごとの誤差を基板作成後の検査においてフラッシュROMに書き込むことができれば、安価な方法で誤差を解消することができ、DCモータ制御の安定化が図れる。
特開2002−125391号公報
Therefore, if the error for each substrate can be written to the flash ROM in the inspection after the substrate is created, the error can be eliminated by an inexpensive method, and the DC motor control can be stabilized.
JP 2002-125391 A

ところで、従来、基板ごとの誤差などのデータを書き込む場合、不揮発性メモリ(NVRAM)などの部品が必要となり、コストアップになっていた。また、不揮発性メモリが故障した場合、別のものに交換してしまうと、その基板に使用されるパラメータの再設定などが必要となるという問題点があった。   Conventionally, when writing data such as errors for each substrate, components such as a non-volatile memory (NVRAM) are required, which increases costs. Further, when the nonvolatile memory fails, if it is replaced with another one, there is a problem that it is necessary to reset parameters used for the board.

これらの作業を行う場合、設定に使用する機器などが必要となり、現実的には、市場で対応を行うことは困難であるという問題点があった。   When these operations are performed, devices used for setting are required, and in reality, there is a problem that it is difficult to respond in the market.

そこで、本発明の目的は、システム構成を簡略化でき、制御パラメータの再設定が容易な空気調和装置を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an air conditioner that can simplify the system configuration and easily reset control parameters.

上記課題を解決するため、被制御装置の制御パラメータを記憶するフラッシュROMを有する制御部を備えた空気調和装置は、前記フラッシュROMの記憶領域のうち、前記制御パラメータの記憶領域の更新を他の記憶領域の更新と独立して行うとともに、前記制御パラメータの記憶領域以外の他の記憶領域の少なくとも一部の更新時には、前記制御パラメータの記憶領域の更新を禁止するパラメータ領域更新部を備えたことを特徴としている。   In order to solve the above-described problem, an air conditioner including a control unit having a flash ROM that stores a control parameter of a controlled device may update another storage area of the control parameter among the storage areas of the flash ROM. A parameter area updating unit is provided that performs the update independently of the storage area and prohibits the update of the control parameter storage area when at least a part of the storage area other than the control parameter storage area is updated. It is characterized by.

上記構成によれば、パラメータ領域更新部は、フラッシュROMの記憶領域のうち、制御パラメータの記憶領域の更新を他の記憶領域の更新と独立して行う。   According to the above configuration, the parameter area update unit updates the control parameter storage area of the flash ROM storage area independently of the update of the other storage areas.

また、パラメータ領域更新部は、制御パラメータの記憶領域以外の他の記憶領域の少なくとも一部の更新時には、制御パラメータの記憶領域の更新を禁止する。   The parameter area updating unit prohibits updating of the control parameter storage area when at least a part of the storage area other than the control parameter storage area is updated.

この場合において、前記フラッシュROMの記憶領域のうち、前記制御パラメータの記憶領域に書き込むべき制御パラメータを一時的に記憶する一時記憶部を備え、外部から入力された書き込み指示コマンドに基づいて、前記一時記憶部に記憶している前記制御パラメータを前記制御パラメータの記憶領域に転送するようにしてもよい。   In this case, a temporary storage unit that temporarily stores control parameters to be written in the storage area of the control parameters in the storage area of the flash ROM is provided, and the temporary storage unit is based on a write instruction command input from the outside. The control parameter stored in the storage unit may be transferred to a storage area for the control parameter.

また、前記一時記憶部は、RAMとして構成されているようにしてもよい。   The temporary storage unit may be configured as a RAM.

さらに、外部から入力された書き込み準備指示コマンドに基づいて、前記一時記憶部に前記制御パラメータの記憶領域に書き込むべき制御パラメータを格納するようにしてもよい。   Furthermore, based on a write preparation instruction command input from the outside, the temporary storage unit may store a control parameter to be written in the control parameter storage area.

さらにまた、被駆動部に供給すべき電源電圧を検出して外部装置に電圧検出データを出力する電圧検出部を備え、前記パラメータ領域更新部は、検出された前記電源電圧に基づいて外部装置から入力された前記被駆動部を制御するための制御パラメータで制御パラメータの記憶領域の更新を行うようにしてもよい。   Furthermore, a voltage detection unit that detects a power supply voltage to be supplied to the driven unit and outputs voltage detection data to the external device, the parameter area update unit from the external device based on the detected power supply voltage The storage area of the control parameter may be updated with the input control parameter for controlling the driven part.

本発明によれば、システム構成を簡略化でき、制御パラメータの再設定が容易となる。   According to the present invention, the system configuration can be simplified and the control parameters can be easily reset.

次に本発明の好適な実施の形態について図面を参照して説明する。   Next, preferred embodiments of the present invention will be described with reference to the drawings.

図1は、本実施形態にかかる空気調和装置の系統図である。   FIG. 1 is a system diagram of an air conditioner according to the present embodiment.

この空気調和装置50は、ガス管5及び液管7を備えてなるユニット間配管9に、室外機1A,1Bが並列に接続されるとともに、室内機3A、3Bが並列に接続されて構成される。室外機1Aは、圧縮機11Aの吸込側にアキュムレータ16Aが接続され、吐出側にオイルセパレータ12Aを介して四方弁13Aが接続され、更に、四方弁13A側の室外冷媒配管18Aに室外熱交換器14A、室外膨張弁15Aが順次接続されて構成される。室外熱交換器14Aには、この室外熱交換器14Aへ送風する室外ファン17Aが隣接して配置されている。   The air conditioner 50 is configured by connecting the outdoor units 1A and 1B in parallel to the inter-unit piping 9 including the gas pipe 5 and the liquid pipe 7 and connecting the indoor units 3A and 3B in parallel. The In the outdoor unit 1A, an accumulator 16A is connected to the suction side of the compressor 11A, a four-way valve 13A is connected to the discharge side via an oil separator 12A, and an outdoor heat exchanger is connected to the outdoor refrigerant pipe 18A on the four-way valve 13A side. 14A and the outdoor expansion valve 15A are sequentially connected. An outdoor fan 17A for sending air to the outdoor heat exchanger 14A is disposed adjacent to the outdoor heat exchanger 14A.

室内機3Aは、室内冷媒配管39Aに室内膨張弁38A及び室内熱交換器34Aが順次接続され、この室内冷媒配管39Aの一端がガス管5に、他端が室内熱交換器34A、室内膨張弁38Aを介して液管7にそれぞれ接続されている。室内熱交換器34Aには、この室内熱交換器34Aへ送風する室内ファン37Aが隣接して配置されている。室内機3Bは、室内機3Aと同一の構成であるので、説明を省略する。   In the indoor unit 3A, an indoor expansion valve 38A and an indoor heat exchanger 34A are sequentially connected to an indoor refrigerant pipe 39A, one end of the indoor refrigerant pipe 39A is connected to the gas pipe 5, and the other end is an indoor heat exchanger 34A and an indoor expansion valve. Each is connected to the liquid pipe 7 through 38A. An indoor fan 37A for blowing air to the indoor heat exchanger 34A is disposed adjacent to the indoor heat exchanger 34A. Since the indoor unit 3B has the same configuration as the indoor unit 3A, description thereof is omitted.

冷房運転時には、四方弁13A,13Bが点線の位置(冷房運転時の位置)に切替えられる。圧縮機11A,11Bから吐出された冷媒は、点線矢印で示すように、オイルセパレータ12A,12B、四方弁13A,13Bを経た後、室外熱交換器14A,14Bに入り、ここで凝縮した後、室外膨張弁15A,15Bを経て、液管7を流れ、室内機3A,3Bに流入する。   During the cooling operation, the four-way valves 13A and 13B are switched to the dotted line positions (positions during the cooling operation). After the refrigerant discharged from the compressors 11A and 11B passes through the oil separators 12A and 12B and the four-way valves 13A and 13B as shown by dotted arrows, the refrigerant enters the outdoor heat exchangers 14A and 14B, and is condensed here. The liquid flows through the outdoor expansion valves 15A and 15B and flows into the indoor units 3A and 3B.

室内機3A,3Bに流入した冷媒は、室内膨張弁38A,38B、室内熱交換器34A,34Bに入り、ここで蒸発した後、ガス管5を流れ、各室外機1A,1Bに分流する。そして、その分流した冷媒は、四方弁13A,13B、アキュムレータ16A,16Bを経て、圧縮機11A,11Bに戻される。   The refrigerant flowing into the indoor units 3A and 3B enters the indoor expansion valves 38A and 38B and the indoor heat exchangers 34A and 34B, evaporates here, and then flows through the gas pipe 5 and is divided into the outdoor units 1A and 1B. Then, the divided refrigerant is returned to the compressors 11A and 11B through the four-way valves 13A and 13B and the accumulators 16A and 16B.

暖房運転時には、四方弁13A,13Bが実線の位置(暖房運転時の位置)に切替えられる。圧縮機11A,11Bから吐出された冷媒は、実線矢印で示すように、オイルセパレータ12A,12B、四方弁13A,13Bを経た後、ガス管5を流れ、各室内機3A,3Bに流入する。   During the heating operation, the four-way valves 13A and 13B are switched to a solid line position (a position during the heating operation). As shown by solid arrows, the refrigerant discharged from the compressors 11A and 11B passes through the oil separators 12A and 12B and the four-way valves 13A and 13B, then flows through the gas pipe 5 and flows into the indoor units 3A and 3B.

各室内機3A,3Bに流入した冷媒は、室内熱交換器34A,34Bに入り、ここで凝縮した後、室内膨張弁38A,38Bを経て、液管7を流れ、各室外機1A,1Bに分流する。そして、その分流した冷媒は、室外膨張弁15A,15Bを経て、室外熱交換器14A,14Bに入り、ここで蒸発した後、四方弁13A,13B、アキュムレータ16A,16Bを経て、圧縮機11A,11Bに戻される。   The refrigerant that has flowed into the indoor units 3A and 3B enters the indoor heat exchangers 34A and 34B, condenses, and then flows through the liquid pipe 7 via the indoor expansion valves 38A and 38B, and enters the outdoor units 1A and 1B. Divide. Then, the divided refrigerant passes through the outdoor expansion valves 15A and 15B, enters the outdoor heat exchangers 14A and 14B, and evaporates there, and then passes through the four-way valves 13A and 13B and the accumulators 16A and 16B. Return to 11B.

空気調和装置50は、コントローラ20を備え、このコントローラ20は、上記室外機1A,1B及び室内機3A,3Bの動作制御を行うが、以下の説明においては、圧縮機11Aを駆動するモータの制御を主として説明する。   The air conditioner 50 includes a controller 20, and the controller 20 controls the operation of the outdoor units 1A and 1B and the indoor units 3A and 3B. In the following description, control of a motor that drives the compressor 11A. Will be mainly described.

図2は、コントローラおよび圧縮機を駆動するモータ周辺の概要構成を示したブロック図である。   FIG. 2 is a block diagram showing a schematic configuration around the motor that drives the controller and the compressor.

コントローラ21には、図2に示すよう直流電源を供給する電源51が接続されている。   The controller 21 is connected to a power source 51 that supplies a DC power source as shown in FIG.

さらにコントローラ21は、おり、圧縮機11A(図1参照)を駆動するDCブラシレスモータ52と、このDCブラシレスモータ52を駆動する駆動回路としてのインバータ53と、を備えている。   The controller 21 further includes a DC brushless motor 52 that drives the compressor 11 </ b> A (see FIG. 1), and an inverter 53 as a drive circuit that drives the DC brushless motor 52.

この電源51は、交流電力を直流電力へ変換するための基板であり、本実施形態では、AC200Vで入力された交流電力を、DC280Vの直流電力に変換してコントローラ21に出力している。   The power source 51 is a substrate for converting AC power to DC power. In this embodiment, AC power input at AC 200 V is converted to DC 280 V DC power and output to the controller 21.

また、コントローラ21は、インバータ53を介してブラシレスDCモータ1を制御するマイクロコンピュータ57と、電源51から供給された直流電源の電圧を分圧する分圧回路15と、この分圧された電圧に対応する電圧検出データに変換するA/D変換回路55とを備える。   The controller 21 corresponds to the microcomputer 57 that controls the brushless DC motor 1 via the inverter 53, the voltage dividing circuit 15 that divides the voltage of the DC power supplied from the power supply 51, and the divided voltage. And an A / D conversion circuit 55 for converting the voltage detection data to be detected.

分圧回路54は、本実施形態では、DC280Vの電源電圧を約DC15〜20Vの直流電圧に分圧してA/D変換回路55に出力している。   In the present embodiment, the voltage dividing circuit 54 divides the power supply voltage of DC 280 V into a DC voltage of about DC 15 to 20 V and outputs it to the A / D conversion circuit 55.

A/D変換回路55は、入力された直流電圧のアナログ/ディジタル変換を行って検出した直流電圧に対応する値を有する電圧検出データに変換してフォトカプラ56に出力する。   The A / D conversion circuit 55 performs analog / digital conversion of the input DC voltage, converts it to voltage detection data having a value corresponding to the detected DC voltage, and outputs it to the photocoupler 56.

フォトカプラ56は、電/光変換を行って、マイクロコンピュータ57のディジタル入力ポートに電圧検出データを絶縁状態で出力する。   The photocoupler 56 performs electrical / optical conversion and outputs voltage detection data to the digital input port of the microcomputer 57 in an insulated state.

マイクロコンピュータ57は、後述するフラッシュROM57A、外部入出力ポート57BおよびパラメータRAM57Cを有しており、入力された電圧検出データに基づいて、ブラシレスDCモータ52を駆動制御する駆動制御データを生成し、フォトカプラ58を介してインバータ53に絶縁状態で出力し、インバータ53は、ブラシレスDCモータ52を制御する。   The microcomputer 57 has a flash ROM 57A, an external input / output port 57B, and a parameter RAM 57C, which will be described later, and generates drive control data for controlling the driving of the brushless DC motor 52 based on the input voltage detection data. Insulated output is output to the inverter 53 via the coupler 58, and the inverter 53 controls the brushless DC motor 52.

図3は、フラッシュROMとパラメータRAMとのアドレス対応関係説明図である。   FIG. 3 is an explanatory diagram of address correspondence between the flash ROM and the parameter RAM.

マイクロコンピュータ57のフラッシュROM57Aには、当該フラッシュROM57Aのデータ書換を行うための書換プログラムが格納されるファームウェア領域AFWと、各種制御パラメータが格納されるパラメータ領域APRと、通常のプログラムが格納されるアプリケーション領域AAPと、を備えている。   In the flash ROM 57A of the microcomputer 57, a firmware area AFW for storing a rewrite program for rewriting data in the flash ROM 57A, a parameter area APR for storing various control parameters, and an application for storing a normal program are stored. And area AAP.

ここで、ファームウェア領域AFWのアドレスは、0000H〜1FFFH(Hは16進数を表す)となっており、パラメータ領域APRのアドレスは、2000H〜2FFFとなっており、アプリケーション領域AAPのアドレスは、3000H〜3FFFFHとなっている。   Here, the address of the firmware area AFW is 0000H to 1FFFH (H represents a hexadecimal number), the address of the parameter area APR is 2000H to 2FFF, and the address of the application area AAP is 3000H to It is 3FFFFH.

同様にマイクロコンピュータ57のパラメータRAM57Cには、フラッシュROM57Aのデータ書換を行うための書換プログラムが一時的に格納されるファームウェア領域AFW1 と、各種制御パラメータが一時的に格納されるパラメータ領域APR1 と、その他の用途で用いられる領域AEX1 と、を備えている。   Similarly, in the parameter RAM 57C of the microcomputer 57, a firmware area AFW1 in which a rewriting program for rewriting data in the flash ROM 57A is temporarily stored, a parameter area APR1 in which various control parameters are temporarily stored, and the like. And an area AEX1 used for the purpose.

ここで、ファームウェア領域AFW1 のアドレスはフラッシュROM57Aのファームウェア領域AFWのアドレスと同一で0000H〜1FFFH(Hは16進数を表す)となっており、パラメータ領域APR1 のアドレスは、フラッシュROM57Aのパラメータ領域APRのアドレスと同一で2000H〜2FFFとなっている。   Here, the address of the firmware area AFW1 is the same as the address of the firmware area AFW of the flash ROM 57A and is 0000H to 1FFFH (H represents a hexadecimal number), and the address of the parameter area APR1 is the address of the parameter area APR of the flash ROM 57A. The address is the same as 2000H to 2FFF.

また、ファームウェア領域AFW、パラメータ領域APRおよびアプリケーション領域AAPは、それぞれ独立、かつ、一括して書き換えられるものとする。例えば、パラメータ領域APR1 、アドレス=2000H〜2FFFの全領域がファームウェア領域AFWあるいはアプリケーション領域AAPとは独立し、かつ、一括して書き換えられることとなる。   The firmware area AFW, parameter area APR, and application area AAP are rewritten independently and collectively. For example, the entire parameter area APR1 and address = 2000H to 2FFF are rewritten in a batch independent of the firmware area AFW or the application area AAP.

また、フラッシュROMの書換モードとしては、以下の3つの場合がある。    The flash ROM rewrite mode includes the following three cases.

(1) アプリケーション領域のみの書き換えを行うモード
(2) ファームウェア領域とアプリケーション領域の双方の書き換えを行うモード
(3) パラメータ領域を含む全領域の書き換えを行うモード
これら3つのモードは、制御プログラムがバージョンアップされた場合に用いられて、制御プログラムの更新がなされるが、パラメータ領域APRについては、マイクロコンピュータ57の基板単体の情報(対応するインバータの補正データなど)が格納されているため、通常は書換対象とはなっていない。すなわち、通常は、(1)および(2)の書換モードが用いられる。
(1) Mode in which only the application area is rewritten (2) Mode in which both the firmware area and application area are rewritten (3) Mode in which all areas including the parameter area are rewritten These three modes are versioned by the control program The control program is updated when it is uploaded. However, since the parameter area APR stores information on a single substrate of the microcomputer 57 (such as correction data of the corresponding inverter), it is usually used. It is not subject to rewriting. That is, normally, the rewriting modes (1) and (2) are used.

一方、パラメータ領域APRの書換は、例えばシリアルインターフェースとして構成される外部入出力ポート57Bを介した外部装置100からのコマンド入力により行われる。外部装置100としては、パーソナルコンピュータあるいは専用書換装置が挙げられる。   On the other hand, the rewriting of the parameter area APR is performed by inputting a command from the external device 100 via the external input / output port 57B configured as a serial interface, for example. Examples of the external device 100 include a personal computer or a dedicated rewriting device.

ここで、パラメータ領域APRの書換方法について説明する。   Here, a method of rewriting the parameter area APR will be described.

図4は、パラメータ領域書換時のシーケンスフローである。   FIG. 4 is a sequence flow at the time of parameter area rewriting.

外部装置100は、外部入出力ポート57Bを介してマイクロコンピュータ57に対し、状態問い合わせを行う(ステップS1)。   The external device 100 makes a status inquiry to the microcomputer 57 via the external input / output port 57B (step S1).

これにより、マイクロコンピュータ57は、電圧検出処理を行う(ステップS2)。   Thereby, the microcomputer 57 performs a voltage detection process (step S2).

具体的には、分圧回路54は、電源51の電圧を約DC15〜20Vの直流電圧に分圧してA/D変換回路55に出力し、A/D変換回路55は、入力された直流電圧のアナログ/ディジタル変換を行って検出した直流電圧に対応する値を有する電圧検出データに変換してフォトカプラ56に出力し、フォトカプラ56は、電/光変換を行って、マイクロコンピュータ57のディジタル入力ポートに電圧検出データを絶縁状態で出力する。   Specifically, the voltage dividing circuit 54 divides the voltage of the power supply 51 into a DC voltage of about DC 15 to 20 V and outputs it to the A / D conversion circuit 55. The A / D conversion circuit 55 receives the input DC voltage. Is converted into voltage detection data having a value corresponding to the DC voltage detected by the analog / digital conversion and is output to the photocoupler 56. The photocoupler 56 performs the electro / optical conversion and performs digital conversion of the microcomputer 57. Outputs voltage detection data to the input port in an insulated state.

これによりマイクロコンピュータ57は、電圧検出データに対応する実際の電源電圧の基準電圧(=DC280V)に対する差分(差電圧)を算出し、外部入出力ポート57Bを介して外部装置100に出力する。   Thereby, the microcomputer 57 calculates the difference (difference voltage) with respect to the reference voltage (= DC 280 V) of the actual power supply voltage corresponding to the voltage detection data, and outputs it to the external device 100 via the external input / output port 57B.

差分(差電圧)が入力された外部装置100は、当該差分が所定範囲内(許容範囲内)であるか否かを判別する(ステップS4)。すなわち、制御パラメータにより補正可能な良品か否かを判別する。   The external device 100 to which the difference (difference voltage) is input determines whether or not the difference is within a predetermined range (within an allowable range) (step S4). That is, it is determined whether or not it is a non-defective product that can be corrected by the control parameter.

ステップS4の判別において、当該差分が所定範囲内(許容範囲内)である場合、すなわち、電源51が制御パラメータにより補正可能な良品である場合には(ステップS4;Yes)、外部装置100は、外部入出力ポート57Bを介してマイクロコンピュータ57に対し書換準備指示コマンドを出力する(ステップS5)。   In the determination of step S4, when the difference is within a predetermined range (within an allowable range), that is, when the power source 51 is a non-defective product that can be corrected by the control parameter (step S4; Yes), the external device 100 A rewrite preparation instruction command is output to the microcomputer 57 via the external input / output port 57B (step S5).

書換準備指示コマンドが入力されたマイクロコンピュータ57は、書換準備指示コマンドに従って、外部入出力ポート57Bを介して入力された書換用制御パラメータをパラメータRAM57Cに書き込むRAM設定処理を行う(ステップS6)。この場合において、書換用制御パラメータは、ステップS4の処理において、マイクロコンピュータ57から入力された差分(差電圧)に基づいて外部装置100により生成されたものである。   The microcomputer 57, to which the rewrite preparation instruction command is input, performs a RAM setting process for writing the rewrite control parameter input via the external input / output port 57B into the parameter RAM 57C in accordance with the rewrite preparation instruction command (step S6). In this case, the rewrite control parameter is generated by the external device 100 based on the difference (difference voltage) input from the microcomputer 57 in the process of step S4.

その後、外部装置100は、書換用制御パラメータの転送が終了すると、外部入出力ポート57Bを介してマイクロコンピュータ57に対し書換指示コマンドを出力する(ステップS7)。   Thereafter, when the transfer of the rewrite control parameter is completed, the external device 100 outputs a rewrite instruction command to the microcomputer 57 via the external input / output port 57B (step S7).

一方、マイクロコンピュータ57は、書換用制御パラメータの転送が終了すると、外部装置100から書換指示コマンドが入力されたか否かを判別する(ステップS8)。   On the other hand, when the transfer of the rewrite control parameter is completed, the microcomputer 57 determines whether or not a rewrite instruction command is input from the external device 100 (step S8).

ステップS8の判別において、未だ書換指示コマンドが入力されていない場合には(ステップS8;No)、マイクロコンピュータ57は待機状態となる。   If it is determined in step S8 that the rewrite instruction command has not yet been input (step S8; No), the microcomputer 57 enters a standby state.

またステップS8の判別において、書換指示コマンドが入力された場合には(ステップS8;Yes)、マイクロコンピュータ57は、パラメータRAM57Cに格納された書換用制御パラメータ、すなわち、パラメータRAM57Cのパラメータ領域APR1の内容が一括してフラッシュROM57Aのパラメータ領域APRに上書きされる書換処理がなされる(ステップS9)。   If a rewrite instruction command is input in the determination in step S8 (step S8; Yes), the microcomputer 57 rewrites the rewrite control parameter stored in the parameter RAM 57C, that is, the contents of the parameter area APR1 of the parameter RAM 57C. Is rewritten over the parameter area APR of the flash ROM 57A at once (step S9).

この書換処理においては、書換終了後、マイクロコンピュータ57のリブート(再起動)処理がなされ、フラッシュROM57Aのパラメータ領域APRの内容がパラメータRAM57Cに書き戻される。   In this rewriting process, after the rewriting is completed, the microcomputer 57 is rebooted (restarted), and the contents of the parameter area APR of the flash ROM 57A are written back to the parameter RAM 57C.

以上の説明のように、本実施形態によれば、フラッシュROMに制御パラメータを容易にセットすることが可能となる。より詳細には、不揮発性メモリ(NVRAM)を使用する場合と比較して安価にシステムを構築することができる。またICメモリ部品の削減が行え、基板面積の縮小化によるコストダウンが可能となる。   As described above, according to the present embodiment, it is possible to easily set control parameters in the flash ROM. More specifically, the system can be constructed at a lower cost than when a nonvolatile memory (NVRAM) is used. In addition, IC memory components can be reduced, and the cost can be reduced by reducing the substrate area.

さらに、外部入出力ポート57Bを介して通信(上述の例の場合、シリアル通信)により制御パラメータの設定が行えるため、コマンドの追加を行うだけで複数の制御パラメータの書換が行える。   Furthermore, since control parameters can be set by communication (in the case of the above example, serial communication) via the external input / output port 57B, a plurality of control parameters can be rewritten simply by adding a command.

また、外部装置に複数のマイクロコンピュータ57を接続することにより同時に制御パラメータの書換が行え、生産効率の向上が図れる。   Further, by connecting a plurality of microcomputers 57 to an external device, control parameters can be rewritten simultaneously, and production efficiency can be improved.

以上の説明においては、空気調和装置を例として説明したが、フラッシュROMに制御パラメータを書き込んで用いる他の機器についても適用が可能である。   In the above description, the air conditioner has been described as an example, but the present invention can also be applied to other devices that are used by writing control parameters in the flash ROM.

本実施形態にかかる空気調和装置の系統図である。It is a systematic diagram of the air harmony device concerning this embodiment. コントローラおよび圧縮機を駆動するモータ周辺の概要構成を示したブロック図である。It is the block diagram which showed schematic structure of the motor periphery which drives a controller and a compressor. フラッシュROMとパラメータRAMとのアドレス対応関係説明図である。6 is an explanatory diagram of an address correspondence relationship between a flash ROM and a parameter RAM. FIG. パラメータ領域書換時のシーケンスフローである。It is a sequence flow at the time of parameter area rewriting.

符号の説明Explanation of symbols

1A,1B 室外機
3A,3B 室内機
5 ガス管
7 液管
9 ユニット間配管
11A,11B 圧縮機
13A,13B 四方弁
14A,14B 室外熱交換器
19A,19B 油面センサ
21 コントローラ(パラメータ領域更新部)
34A,34B 室内熱交換器
38A,38B 室内膨張弁
50 空気調和装置
52 ブラシレスDCモータ
53 インバータ
54 分圧回路(電圧検出部)
55 A/D変換回路(電圧検出部)
56 フォトカプラ(電圧検出部)
57 マイクロコンピュータ(パラメータ領域更新部)
58 フォトカプラ
100 外部装置
1A, 1B Outdoor unit 3A, 3B Indoor unit 5 Gas pipe 7 Liquid pipe 9 Inter-unit piping 11A, 11B Compressor 13A, 13B Four-way valve 14A, 14B Outdoor heat exchanger 19A, 19B Oil level sensor 21 Controller (parameter area update unit) )
34A, 34B Indoor heat exchanger 38A, 38B Indoor expansion valve 50 Air conditioner 52 Brushless DC motor 53 Inverter 54 Voltage divider circuit (voltage detector)
55 A / D conversion circuit (voltage detector)
56 Photocoupler (Voltage detector)
57 Microcomputer (parameter area update unit)
58 Photocoupler 100 External device

Claims (5)

被制御装置の制御パラメータを記憶するフラッシュROMを有する制御部を備えた空気調和装置において、
前記フラッシュROMの記憶領域のうち、前記制御パラメータの記憶領域の更新を他の記憶領域の更新と独立して行うとともに、前記制御パラメータの記憶領域以外の他の記憶領域の少なくとも一部の更新時には、前記制御パラメータの記憶領域の更新を禁止するパラメータ領域更新部を備えたことを特徴とする空気調和装置。
In an air conditioner including a control unit having a flash ROM for storing control parameters of a controlled device,
Of the storage areas of the flash ROM, the control parameter storage area is updated independently of the update of other storage areas, and at the time of updating at least a part of other storage areas other than the control parameter storage area An air conditioner comprising a parameter area updating unit that prohibits updating of the storage area of the control parameter.
請求項1記載の空気調和装置において、
前記フラッシュROMの記憶領域のうち、前記制御パラメータの記憶領域に書き込むべき制御パラメータを一時的に記憶する一時記憶部を備え、
外部から入力された書き込み指示コマンドに基づいて、前記一時記憶部に記憶している前記制御パラメータを前記制御パラメータの記憶領域に転送することを特徴とする空気調和装置。
The air conditioner according to claim 1, wherein
Of the storage area of the flash ROM, comprising a temporary storage unit for temporarily storing control parameters to be written to the storage area of the control parameters,
An air conditioner that transfers the control parameter stored in the temporary storage unit to a storage area for the control parameter based on a write instruction command input from outside.
請求項2記載の空気調和装置において、
前記一時記憶部は、RAMとして構成されていることを特徴とする空気調和装置。
In the air conditioning apparatus according to claim 2,
The air conditioner is characterized in that the temporary storage unit is configured as a RAM.
請求項2または請求項3記載の空気調和装置において、
外部から入力された書き込み準備指示コマンドに基づいて、前記一時記憶部に前記制御パラメータの記憶領域に書き込むべき制御パラメータを格納することを特徴とする空気調和装置。
In the air conditioning apparatus according to claim 2 or 3,
An air conditioner that stores control parameters to be written in the storage area of the control parameters in the temporary storage unit based on a write preparation instruction command input from the outside.
請求項1ないし請求項4のいずれかに記載の空気調和装置において、
被駆動部に供給すべき電源電圧を検出して外部装置に電圧検出データを出力する電圧検出部を備え、
前記パラメータ領域更新部は、検出された前記電源電圧に基づいて外部装置から入力された前記被駆動部を制御するための制御パラメータで制御パラメータの記憶領域の更新を行うことを特徴とする空気調和装置。
The air conditioner according to any one of claims 1 to 4,
A voltage detection unit that detects a power supply voltage to be supplied to the driven unit and outputs voltage detection data to an external device;
The parameter area updating unit updates a storage area of a control parameter with a control parameter for controlling the driven part input from an external device based on the detected power supply voltage. apparatus.
JP2004004353A 2004-01-09 2004-01-09 Air conditioner Expired - Fee Related JP4251995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004004353A JP4251995B2 (en) 2004-01-09 2004-01-09 Air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004004353A JP4251995B2 (en) 2004-01-09 2004-01-09 Air conditioner

Publications (2)

Publication Number Publication Date
JP2005195303A true JP2005195303A (en) 2005-07-21
JP4251995B2 JP4251995B2 (en) 2009-04-08

Family

ID=34818988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004004353A Expired - Fee Related JP4251995B2 (en) 2004-01-09 2004-01-09 Air conditioner

Country Status (1)

Country Link
JP (1) JP4251995B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013148252A (en) * 2012-01-18 2013-08-01 Mitsubishi Electric Corp Competitive processing device, and air conditioning system
CN105465913A (en) * 2016-01-18 2016-04-06 美的集团武汉制冷设备有限公司 Air conditioning system and parameter updating method thereof
WO2018193561A1 (en) * 2017-04-19 2018-10-25 三菱電機株式会社 Air conditioner
WO2020053928A1 (en) 2018-09-10 2020-03-19 三菱電機株式会社 Air conditioning system and program update method for air conditioning system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013148252A (en) * 2012-01-18 2013-08-01 Mitsubishi Electric Corp Competitive processing device, and air conditioning system
CN105465913A (en) * 2016-01-18 2016-04-06 美的集团武汉制冷设备有限公司 Air conditioning system and parameter updating method thereof
WO2018193561A1 (en) * 2017-04-19 2018-10-25 三菱電機株式会社 Air conditioner
WO2020053928A1 (en) 2018-09-10 2020-03-19 三菱電機株式会社 Air conditioning system and program update method for air conditioning system
US11392367B2 (en) 2018-09-10 2022-07-19 Mitsubishi Electric Corporation Air-conditioning system and program update method of air-conditioning system

Also Published As

Publication number Publication date
JP4251995B2 (en) 2009-04-08

Similar Documents

Publication Publication Date Title
US9574784B2 (en) Method of starting a HVAC system having an auxiliary controller
JP4899549B2 (en) Compressor operating method of refrigeration apparatus and refrigeration apparatus
JP4726664B2 (en) Air conditioner
JP4251995B2 (en) Air conditioner
JP4738129B2 (en) Air conditioner
CN111503842B (en) Control method, control device, control system and readable medium of multi-split air conditioner
KR100814956B1 (en) Multi Air-Conditioner and its Compressor control method
JP5247558B2 (en) Control device for electronic equipment and air conditioner using the control device
KR101915993B1 (en) Air conditioner and method for controlling the same
KR20170086909A (en) Air-conditioner and the controlling method for the same
JP5216813B2 (en) Control method for air conditioning system
JP2010175132A (en) Air conditioner
WO2019244389A1 (en) Air conditioner
JP4179794B2 (en) Outdoor unit and air conditioning system
JP5194953B2 (en) Software version upgrade method for air conditioner controller
KR20090065904A (en) Air conditioner and control method of the same
KR20070077641A (en) Air conditioner and its wiring errors sensing method
JP4646750B2 (en) Air conditioner, outdoor unit control method, and outdoor unit control program
JP7341354B2 (en) air conditioning system
JP2002073426A (en) Control method for redirection of flush memory
JP2001091067A (en) Air conditioner
JP2001091031A (en) Control device for air conditioner
JP7336458B2 (en) Refrigeration system connection relationship determination device, refrigeration system and program
JP2000322107A (en) Reset deciding method of program controller
WO2021024429A1 (en) Correction control device, air conditioner, correction control method, and correction control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081126

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

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

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

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees