JP2011257013A - Air conditioning control program, and air conditioning control device - Google Patents

Air conditioning control program, and air conditioning control device Download PDF

Info

Publication number
JP2011257013A
JP2011257013A JP2010129004A JP2010129004A JP2011257013A JP 2011257013 A JP2011257013 A JP 2011257013A JP 2010129004 A JP2010129004 A JP 2010129004A JP 2010129004 A JP2010129004 A JP 2010129004A JP 2011257013 A JP2011257013 A JP 2011257013A
Authority
JP
Japan
Prior art keywords
periodic
processing
air conditioning
cycle
conditioning control
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
JP2010129004A
Other languages
Japanese (ja)
Other versions
JP5473787B2 (en
Inventor
Katsuhiko Nakamura
勝彦 中村
Yuki Hikawa
祐希 檜皮
Shigeru Ogawara
繁 大河原
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 JP2010129004A priority Critical patent/JP5473787B2/en
Publication of JP2011257013A publication Critical patent/JP2011257013A/en
Application granted granted Critical
Publication of JP5473787B2 publication Critical patent/JP5473787B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To obtain an air conditioning control program and an air conditioning control device which facilitate the development of derivative models in an air conditioner using a control program that includes a periodic processing and which decrease errors in the procedure when adding or varying a periodic processing.SOLUTION: A computer for controlling an air conditioning device 20 including a plurality of actuators is designed to perform: periodic processing segmentation segmenting the periodic processing periodically called in control of the air conditioning device 20 as a periodic processing segment 1; periodic processing allocation allocating the periodic processing segments 1 to a periodic processing table 3 mapping the periods and classes of the periodic processings; and periodic processing start specifying the periodic process segment 1 by referring to the periodic processing table 3 according to a timer interruption by a periodic timer 6, calling and starting the periodic processing.

Description

本発明は、空調制御プログラムおよび空調制御装置に関し、特に、派生機種開発を容易にするプログラム構造に関するものである。   The present invention relates to an air conditioning control program and an air conditioning control device, and more particularly to a program structure that facilitates development of a derivative model.

近年、マイクロコンピュータの高性能化やソフトウェア開発技術の発達に伴い、高度かつ複雑な機能を空調機に搭載することが可能になり、空調機の制御プログラムは大規模化、複雑化してきている。同時に、ユーザの多様なニーズに対応するために、例えば廉価版、普及版、高性能版といった製品シリーズの展開や、用途に応じてさまざまな容量を持たせた機種のラインナップ、あるいは特定顧客の要望に応じた特殊機能の提供など、製品バリエーションの多様化が著しく進んでいる。こうした製品シリーズを構成する数多くの機種に対応するためには、要求に応じたプログラムの変更を容易にし、派生機種の開発を効率化することが必須となっている。   In recent years, with the advancement of microcomputer performance and software development technology, it has become possible to install advanced and complex functions in air conditioners, and control programs for air conditioners have become larger and more complex. At the same time, in order to respond to the diverse needs of users, for example, low-priced versions, popular versions, high-performance versions of product series, lineups of models with various capacities according to applications, or specific customer requests Diversification of product variations such as the provision of special functions according to the situation is progressing remarkably. In order to deal with the many models that make up such a product series, it is essential to make it easy to change programs according to demands and to improve the efficiency of the development of derivative models.

一般に、空調機の制御プログラムは、温度センサからの入力処理、冷暖房などの制御処理、圧縮機の操作といった複数の小さな処理を、各処理に必要な周期で繰り返し呼び出すように構成されている。処理の周期は、使用する制御装置や製品の仕様により決まり、同じ処理を製品によって異なる周期で動作させることがある。また、ある処理を製品仕様に合わせた別の処理へ置き換えることがある。一連の処理は、大まかに、入力、制御、出力といった順序制約があり、誤った順序での処理実行は性能劣化や異常動作の原因となり得るため、処理周期の変更や処理の置き換えには注意を要することとなる。   In general, an air conditioner control program is configured to repeatedly call a plurality of small processes such as an input process from a temperature sensor, a control process such as cooling and heating, and an operation of a compressor at a period necessary for each process. The processing cycle is determined by the specifications of the control device and product used, and the same processing may be operated at different cycles depending on the product. Also, a certain process may be replaced with another process that matches the product specification. A series of processing is roughly limited in order such as input, control, and output, and execution of processing in the wrong order can cause performance degradation and abnormal operation, so be careful when changing the processing cycle or replacing processing. It will be necessary.

このような製品の特性に合わせた処理の変更や処理の再利用を容易にする方法として、例えば特許文献1には、製品固有情報や現地設定情報、プログラム制御定数等をテーブル化して記憶させる方法が提案されている。   As a method for facilitating process changes and process reuse in accordance with such product characteristics, for example, Patent Document 1 discloses a method of storing product-specific information, local setting information, program control constants, and the like in a table. Has been proposed.

特開2001−91031号公報JP 2001-91031 A

特許文献1の方法では、テーブル化した情報の変更によって派生機種が実現できる場合には、制御プログラムの変更が必要無いため開発の効率化が期待できる。しかし、処理の内容や周期の変更に対しては制御プログラムの変更が必要となるため、その場合は開発の効率化が困難となる。また、処理順序の制約を守らないような変更を誤って行った場合、性能劣化や異常動作を引き起こす場合があるという問題も生じる。   In the method of Patent Document 1, when a derived model can be realized by changing the tabulated information, the control program does not need to be changed, so that development efficiency can be expected. However, since it is necessary to change the control program with respect to changes in the processing contents and cycle, in this case, it is difficult to improve the efficiency of development. In addition, if a change that does not comply with the restrictions on the processing order is mistakenly performed, there is a problem that performance degradation or abnormal operation may be caused.

本発明は、上記に鑑みてなされたものであって、制御プログラムに周期処理を含む空調機において派生機種の開発を容易にするとともに、周期処理の追加や変更の際の順序の誤りを低減可能とする空調制御プログラムおよび空調制御装置を得ることを目的とする。   The present invention has been made in view of the above, and it is possible to easily develop a derivative model in an air conditioner including a periodic process in a control program, and to reduce an error in the order when adding or changing the periodic process. An object is to obtain an air conditioning control program and an air conditioning control device.

上述した課題を解決し、目的を達成するために、本発明は、複数のアクチュエータを備える空調装置を制御するコンピュータに、前記空調装置の制御において周期的に呼び出す周期処理を部品化し、周期処理部品とする周期処理部品化と、前記周期処理の周期および種別を対応付けた周期処理テーブルに、前記周期処理部品を割り付ける周期処理割付と、周期タイマによるタイマ割り込みに応じた前記周期処理テーブルの参照により前記周期処理部品を特定し、前記周期処理を呼び出しおよび起動させる周期処理起動と、を実行させることを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention converts a periodic process that is periodically called in the control of the air conditioner into a computer that controls the air conditioner including a plurality of actuators. By the periodic processing component conversion, the periodic processing allocation that assigns the periodic processing component to the periodic processing table that associates the cycle and type of the periodic processing, and the reference to the periodic processing table according to the timer interrupt by the periodic timer The periodic processing component is specified, and periodic processing activation for calling and starting the periodic processing is executed.

本発明によれば、周期処理を部品化することにより、派生機種の開発時における周期処理の再利用や変更が容易化される。また、周期が短いためにより厳格な周期性が求められる処理を優先的に呼び出すことが可能となる。さらに、入力(取得、検証)、制御(全体、個別)、出力(検証、印加)の順序の保証を可能とし、派生機種開発や仕様変更時における処理順序の誤りの混入を低減させる。これにより、派生機種の開発を容易にするとともに、周期処理の追加や変更の際の順序の誤りを低減させるという効果を奏する。   According to the present invention, reusing and changing the periodic processing at the time of development of the derivative model is facilitated by converting the periodic processing into components. In addition, since the cycle is short, it is possible to preferentially call a process that requires a stricter periodicity. Furthermore, it is possible to guarantee the order of input (acquisition, verification), control (whole, individual), and output (verification, application), and reduce the mixing of errors in the processing sequence when developing a derivative model or changing specifications. As a result, it is possible to facilitate the development of the derivative model and to reduce the order error when adding or changing the periodic processing.

図1は、本発明の実施の形態にかかる空調装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an air conditioner according to an embodiment of the present invention. 図2は、周期処理部品の例を示す図である。FIG. 2 is a diagram illustrating an example of a periodic processing component. 図3は、周期処理テーブルの例を示す図である。FIG. 3 is a diagram illustrating an example of a periodic processing table. 図4は、周期処理割付手段による処理の手順を示すフローチャートである。FIG. 4 is a flowchart showing a procedure of processing by the periodic processing assigning means. 図5は、周期処理起動手段による処理の手順を示すフローチャートである。FIG. 5 is a flowchart showing a procedure of processing by the periodic process starting unit. 図6は、周期処理テーブルのうち、あるオフセットの列における周期処理の優先度について説明する図である。FIG. 6 is a diagram for explaining the priority of periodic processing in a certain offset column in the periodic processing table. 図7は、周期処理テーブルのうち、オフセット0msの列の例を示す図である。FIG. 7 is a diagram illustrating an example of a column with an offset of 0 ms in the periodic processing table.

以下に、本発明にかかる空調制御プログラムおよび空調制御装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of an air conditioning control program and an air conditioning control device according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態.
図1は、本発明の実施の形態にかかる空調装置の構成を示すブロック図である。空調装置20は、空調制御装置30、室内温度センサ13、冷媒温度センサ14、圧縮機15、膨張弁16およびファン17を有する。空調制御装置30は、空調制御プログラムに応じて空調装置20を制御する。空調制御プログラムは、空調制御装置30を制御するコンピュータによって実行される。
Embodiment.
FIG. 1 is a block diagram showing a configuration of an air conditioner according to an embodiment of the present invention. The air conditioner 20 includes an air conditioner control device 30, an indoor temperature sensor 13, a refrigerant temperature sensor 14, a compressor 15, an expansion valve 16, and a fan 17. The air conditioning control device 30 controls the air conditioning device 20 according to the air conditioning control program. The air conditioning control program is executed by a computer that controls the air conditioning control device 30.

周期処理部品1は、空調装置20の制御において空調制御プログラムの実行により周期的に呼び出す周期処理を部品化したものである。周期処理割付手段2は、周期処理テーブル3に周期処理部品1を割り付ける。周期処理テーブル3は、周期処理を呼び出すタイミングと順序とを表すテーブルであって、周期処理が周期および種別(タスクタイプ)に対応付けられて登録されている。   The periodic processing component 1 is a component of periodic processing that is periodically called by executing an air conditioning control program in the control of the air conditioner 20. The periodic processing assigning means 2 assigns the periodic processing component 1 to the periodic processing table 3. The periodic processing table 3 is a table representing the timing and order of calling the periodic processing, and the periodic processing is registered in association with the cycle and the type (task type).

周期処理起動手段4は、周期タイマ6によるタイマ割り込みを受けて周期処理テーブル3を参照し、特定した周期処理5を起動する。周期処理5は、入力取得処理7、入力検証処理8、全体制御処理9、個別制御処理10、出力検証処理11、出力印加処理12の各タスクタイプに分類される。入力取得処理7は、ハードウェアから情報を取得する。入力検証処理8は、入力取得処理7により入力された情報を検証し、入力値が信頼できるものであることを確認する。   The periodic process starting means 4 receives the timer interrupt from the periodic timer 6 and refers to the periodic processing table 3 to start the specified periodic process 5. The periodic process 5 is classified into task types of an input acquisition process 7, an input verification process 8, an overall control process 9, an individual control process 10, an output verification process 11, and an output application process 12. The input acquisition process 7 acquires information from hardware. The input verification process 8 verifies the information input by the input acquisition process 7 and confirms that the input value is reliable.

全体制御処理9は、入力検証処理8を経た入力値を用いてシステム全体の動作方針を決定する。個別制御処理10は、全体制御処理9における全体の動作方針に基づきドメインごとの出力を決定する。出力検証処理11は、個別制御処理10で決定したドメインごとの出力値を統合して検証し、出力値に問題がないことを確認する。出力印加処理12は、出力検証処理11を経た出力を、ハードウェアに対して実行する。周期処理5の分類7〜12は、一連の制御における処理順序と並びを一致させている。   The overall control process 9 determines the operation policy of the entire system using the input value that has undergone the input verification process 8. The individual control process 10 determines an output for each domain based on the overall operation policy in the overall control process 9. The output verification process 11 integrates and verifies the output values for each domain determined in the individual control process 10, and confirms that there is no problem in the output values. The output application process 12 executes the output through the output verification process 11 to the hardware. The classifications 7 to 12 of the periodic process 5 have the same processing order and sequence in a series of controls.

入力取得処理7は、室内温度センサ13および冷媒温度センサ14から情報を取得する。室内温度センサ13は、室内の温度を検出する。冷媒温度センサ14は、冷媒の温度を検出する。出力印加処理12は、アクチュエータである圧縮機15、膨張弁16、ファン17に対して出力を行う。圧縮機15は、冷媒の圧縮の度合いを調節する。膨張弁16は、弁の開度を変化させることによって配管を流れる冷媒の量を調節する。ファン17は、冷媒の温度を調節する。   The input acquisition process 7 acquires information from the indoor temperature sensor 13 and the refrigerant temperature sensor 14. The indoor temperature sensor 13 detects the indoor temperature. The refrigerant temperature sensor 14 detects the temperature of the refrigerant. The output application process 12 outputs to the compressor 15, the expansion valve 16, and the fan 17 that are actuators. The compressor 15 adjusts the degree of compression of the refrigerant. The expansion valve 16 adjusts the amount of refrigerant flowing through the pipe by changing the opening of the valve. The fan 17 adjusts the temperature of the refrigerant.

図2は、周期処理部品の例を示す図である。周期処理部品1は、1周期の処理にかかる時間である「周期」、開始時間のずれを表す「オフセット」、呼び出す周期処理が分類7〜12のいずれであるかを表す「タスクタイプ」、周期的に実行すべき実処理の呼び出し先を表す「周期処理」を要素として構成される。例えば、行18は、周期が1ms、オフセット無し、タスクタイプ「入力取得処理」で、「冷媒温度Aセンサ入力処理」を呼び出す周期処理部品1であることを表している。   FIG. 2 is a diagram illustrating an example of a periodic processing component. The periodic processing component 1 has a “period” that is the time required for one cycle of processing, an “offset” that indicates a start time shift, a “task type” that indicates which of the periodic processes to call is classified into classifications 7 to 12, and a period The “periodic process” that represents the call destination of the actual process to be executed is configured as an element. For example, the row 18 represents the periodic processing component 1 that calls the “refrigerant temperature A sensor input processing” with the cycle of 1 ms, no offset, and the task type “input acquisition processing”.

図3は、周期処理テーブルの例を示す図である。周期処理テーブル3は、縦軸を周期、横軸をオフセットとしたマトリクスである。このマトリクスの各セルは、タスクタイプによってさらに細分化されている。周期は、短い(値が小さい)順に並べられている。タスクタイプは、「入力取得処理」、「入力検証処理」、「全体制御処理」、「個別制御処理」、「出力検証処理」、「出力印加処理」の順に並べられている。この順序は、ある時点における周期処理の呼び出し順序に合致させている。この周期処理テーブル3上に周期処理部品1を配置することで、ある時点において呼び出すべき周期処理とその順番を特定することができる。   FIG. 3 is a diagram illustrating an example of a periodic processing table. The cycle processing table 3 is a matrix in which the vertical axis represents a cycle and the horizontal axis represents an offset. Each cell of this matrix is further subdivided by task type. The periods are arranged in the order of shortness (smallest value). The task types are arranged in the order of “input acquisition process”, “input verification process”, “overall control process”, “individual control process”, “output verification process”, and “output application process”. This order matches the calling order of periodic processing at a certain point in time. By arranging the periodic processing component 1 on the periodic processing table 3, it is possible to specify the periodic processing to be called at a certain point in time and the order thereof.

なお、周期1msの行では、オフセット0msの欄に配置された周期処理部品1が、オフセット1〜9msの各欄にも同様に配置される。周期2msの行では、オフセット0〜1msの欄に配置された周期処理部品1が、オフセット2〜3ms、4〜5ms、6〜7ms、8〜9msの各欄にも同様に配置される。周期5msの行では、オフセット0〜4msの欄に配置された周期処理部品1が、オフセット5〜9msの欄にも同様に配置される。   In addition, in the row having a period of 1 ms, the periodic processing component 1 arranged in the column of offset 0 ms is similarly arranged in each column of offset 1 to 9 ms. In the row having a period of 2 ms, the periodic processing component 1 arranged in the column of offset 0 to 1 ms is similarly arranged in each column of offset 2 to 3 ms, 4 to 5 ms, 6 to 7 ms, and 8 to 9 ms. In a row having a period of 5 ms, the periodic processing component 1 arranged in the column of offset 0 to 4 ms is similarly arranged in the column of offset 5 to 9 ms.

図4は、周期処理割付手段による処理の手順を示すフローチャートである。周期処理割付手段2は、全ての周期処理部品1について、周期処理テーブル3への割り付けを実施したか否かを判定する(ステップS1)。全ての周期処理部品1の割り付けが完了している場合(ステップS1、Yes)、周期処理割付手段2は、処理を終了する。   FIG. 4 is a flowchart showing a procedure of processing by the periodic processing assigning means. The periodic process assigning means 2 determines whether or not the assignment to the periodic process table 3 has been performed for all the periodic process components 1 (step S1). When the allocation of all the periodic processing components 1 is completed (step S1, Yes), the periodic processing allocation unit 2 ends the process.

周期処理テーブル3へ割り付けられていない周期処理部品1が存在する場合(ステップS1、No)、周期処理割付手段2は、割り付けがまだ実施されていない周期処理部品1の中から1つを選択する(ステップS2)。周期処理割付手段2は、ステップS2で選択した周期処理部品1の周期、オフセット、タスクタイプを参照し、参照された周期、オフセット、タスクタイプに該当する周期処理テーブル3上の配置位置を決定する(ステップS3)。ステップS4では、周期処理割付手段2は、ステップS2で選択した周期処理部品1を、周期処理テーブル3のうちステップS3で決定した配置位置に配置する。周期処理割付手段2は、ステップS2からステップS4の手順を実行してから、ステップS1の判定を再び行う。   When there is a periodic processing component 1 that has not been assigned to the periodic processing table 3 (step S1, No), the periodic processing assignment unit 2 selects one of the periodic processing components 1 that have not yet been assigned. (Step S2). The periodic process assigning means 2 refers to the period, offset, and task type of the periodic process component 1 selected in step S2, and determines an arrangement position on the periodic process table 3 corresponding to the referenced period, offset, and task type. (Step S3). In step S4, the periodic process assigning means 2 arranges the periodic process component 1 selected in step S2 in the arrangement position determined in step S3 in the periodic process table 3. The periodic process assigning means 2 executes the procedure from step S2 to step S4, and then performs the determination in step S1 again.

図5は、周期処理起動手段による処理の手順を示すフローチャートである。周期処理起動手段4による処理は、周期処理起動手段4が周期タイマ6によるタイマ割り込みを受けて開始する。タイマ割り込みを受けると、周期処理起動手段4は、周期タイマ6のカウントからオフセットを判定する(ステップS11)。周期タイマ6は、タイマ割り込みを起こすごとに現オフセットのカウントを1ずつ増加させ、カウントが最大周期に達したらオフセットのカウントを0に戻す。   FIG. 5 is a flowchart showing a procedure of processing by the periodic process starting unit. The processing by the periodic process starting unit 4 starts when the periodic process starting unit 4 receives a timer interrupt from the periodic timer 6. When receiving the timer interrupt, the periodic process starting means 4 determines an offset from the count of the periodic timer 6 (step S11). The cycle timer 6 increments the current offset count by 1 each time a timer interrupt occurs, and returns the offset count to 0 when the count reaches the maximum cycle.

周期処理起動手段4は、周期処理テーブル3のうち、ステップS11にて判定したオフセットに該当する列に未処理の周期処理が存在するか否かを判定する(ステップS12)。該当するオフセットの全ての周期処理の実施が完了している場合(ステップS12、Yes)、当該タイマ割り込みに対する周期処理は全て実行済みであるので、周期処理起動手段4は処理を終了する。   The periodic process activation unit 4 determines whether or not there is an unprocessed periodic process in the column corresponding to the offset determined in step S11 in the periodic process table 3 (step S12). When the execution of all the periodic processes for the corresponding offset has been completed (step S12, Yes), since all the periodic processes for the timer interrupt have been executed, the periodic process activation unit 4 ends the process.

該当するオフセットの列に未処理の周期処理が存在する場合(ステップS12、No)、周期処理起動手段4は、未処理の周期処理から最優先の周期処理を選択する(ステップS13)。周期処理起動手段4は、ステップS13にて選択した周期処理を起動する(ステップS14)。周期処理起動手段4は、ステップS13およびステップS14の手順を実行してから、ステップS12の判定を再び行う。以上のようにして、周期処理起動手段4は、周期タイマ6によるタイマ割り込みに応じた周期処理テーブル3の参照により周期処理部品1を特定し、周期処理を呼び出しおよび起動する。   When there is an unprocessed periodic process in the corresponding offset column (step S12, No), the periodic process activation unit 4 selects the highest priority periodic process from the unprocessed periodic processes (step S13). The periodic process starting unit 4 starts the periodic process selected in step S13 (step S14). The periodic process starting unit 4 executes the procedure of step S13 and step S14, and then performs the determination of step S12 again. As described above, the periodic process activation unit 4 specifies the periodic process component 1 by referring to the periodic process table 3 according to the timer interrupt by the periodic timer 6, and calls and activates the periodic process.

図6は、周期処理テーブルのうち、あるオフセットの列における周期処理の優先度について説明する図である。周期処理の優先度は、まず周期により決定する。周期処理起動手段4は、該当するオフセットの列の未処理の周期処理の中で、周期が短い周期処理を優先して呼び出し、起動する。   FIG. 6 is a diagram for explaining the priority of periodic processing in a certain offset column in the periodic processing table. The priority of the cycle process is first determined by the cycle. The periodic process starting means 4 gives priority to calling and starting a periodic process with a short period among the unprocessed periodic processes in the column of the corresponding offset.

同一周期の周期処理の中の優先度は、タスクタイプにより決定する。周期処理起動手段4は、同一周期の周期処理では、「入力取得処理」、「入力検証処理」、「全体制御処理」、「個別制御処理」、「出力検証処理」、「出力印加処理」の順で呼び出し、起動する。したがって、空調制御プログラムは、図中矢印19で示す順序で周期処理を実行させる。   The priority in the period processing of the same period is determined by the task type. The periodic process starting means 4 is an “input acquisition process”, “input verification process”, “overall control process”, “individual control process”, “output verification process”, “output application process” in the periodic process of the same period. Call and start in order. Accordingly, the air conditioning control program causes the periodic processing to be executed in the order indicated by the arrow 19 in the figure.

図7は、周期処理テーブルのうち、オフセット0msの列の例を示す図である。この例では、周期処理は、上述する優先度に従い、「冷媒温度Aセンサ入力」、「室内温度センサ入力」、「冷媒温度A異常検出」、「圧縮機出力電圧チェック」、「空調機状態判定」の順となる。周期処理起動手段4は、かかる順序で周期処理を起動する。   FIG. 7 is a diagram illustrating an example of a column with an offset of 0 ms in the periodic processing table. In this example, the cyclic processing is performed according to the above-described priorities, “refrigerant temperature A sensor input”, “room temperature sensor input”, “refrigerant temperature A abnormality detection”, “compressor output voltage check”, “air conditioner state determination” ”In this order. The periodic process starting unit 4 starts periodic processes in this order.

この実施の形態によれば、開発者は、派生機種開発や仕様変更時に、周期処理部品1の登録内容を変更することにより、ある周期処理の別の周期処理への置き換えや、周期処理の追加を行うことができる。周期処理を部品化することで、周期処理を呼び出す制御プログラムを変更しなくても、派生機種開発や仕様変更を容易に実現することが可能となる。   According to this embodiment, the developer can change a periodic process to another periodic process or add a periodic process by changing the registered content of the periodic process component 1 when developing a derivative model or changing specifications. It can be performed. By making the periodic processing into parts, it is possible to easily realize derivative model development and specification change without changing the control program for calling the periodic processing.

また、この実施の形態によれば、周期が短いためにより厳格な周期性が求められる処理を優先的に呼び出すことが保証される。さらに、入力(取得、検証)、制御(全体、個別)、出力(検証、印加)の順序が保証されることで、派生機種開発や仕様変更時における処理順序の誤りの混入を低減させる。これにより、派生機種の開発を容易にするとともに、周期処理の追加や変更の際の順序の誤りを低減させ、高性能かつ高い信頼性を備える空調装置を得ることができる。   In addition, according to this embodiment, it is guaranteed to preferentially call a process that requires a stricter periodicity because the period is short. Furthermore, by guaranteeing the order of input (acquisition, verification), control (whole, individual), and output (verification, application), it is possible to reduce mixing of errors in the processing order when developing a derivative model or changing specifications. As a result, it is possible to easily develop a derivative model and reduce an error in the order when adding or changing a periodic process, thereby obtaining an air conditioner having high performance and high reliability.

以上のように、本発明にかかる空調制御プログラムおよび空調制御装置は、特に、多様な派生機種の開発や、仕様変更を実施する場合に適している。   As described above, the air-conditioning control program and the air-conditioning control apparatus according to the present invention are particularly suitable when various derivative models are developed and specifications are changed.

1 周期処理部品
2 周期処理割付手段
3 周期処理テーブル
4 周期処理起動手段
5 周期処理
6 周期タイマ
7 入力取得処理
8 入力検証処理
9 全体制御処理
10 個別制御処理
11 出力検証処理
12 出力印加処理
13 室内温度センサ
14 冷媒温度センサ
15 圧縮機
16 膨張弁
17 ファン
20 空調装置
30 空調制御装置
DESCRIPTION OF SYMBOLS 1 Periodic process component 2 Periodic process allocation means 3 Periodic process table 4 Periodic process starting means 5 Periodic process 6 Periodic timer 7 Input acquisition process 8 Input verification process 9 Overall control process 10 Individual control process 11 Output verification process 12 Output application process 13 Indoor Temperature sensor 14 Refrigerant temperature sensor 15 Compressor 16 Expansion valve 17 Fan 20 Air conditioning device 30 Air conditioning control device

Claims (6)

複数のアクチュエータを備える空調装置を制御するコンピュータに、
前記空調装置の制御において周期的に呼び出す周期処理を部品化し、周期処理部品とする周期処理部品化と、
前記周期処理の周期および種別を対応付けた周期処理テーブルに、前記周期処理部品を割り付ける周期処理割付と、
周期タイマによるタイマ割り込みに応じた前記周期処理テーブルの参照により前記周期処理部品を特定し、前記周期処理を呼び出しおよび起動させる周期処理起動と、を実行させることを特徴とする空調制御プログラム。
In a computer that controls an air conditioner equipped with a plurality of actuators,
Periodic processing to be called periodically in the control of the air conditioner is made into parts, and periodic processing parts are made into periodic processing parts,
A periodic process assignment for assigning the periodic process component to a periodic process table in which the period and type of the periodic process are associated;
An air-conditioning control program, wherein the periodic processing component is identified by referring to the periodic processing table according to a timer interrupt by a periodic timer, and periodic processing is activated to call and activate the periodic processing.
前記周期処理部品は、前記周期処理の周期、前記周期処理の開始時のずれを表すオフセット、前記周期処理の種別、および前記周期処理の呼び出し先を、要素として含むことを特徴とする請求項1に記載の空調制御プログラム。   The cycle processing component includes, as elements, a cycle of the cycle processing, an offset indicating a deviation at the start of the cycle processing, a type of the cycle processing, and a call destination of the cycle processing. The air conditioning control program described in 1. 前記周期処理テーブルは、前記周期、前記オフセットおよび前記種別が対応付けられたマトリクスに前記周期処理部品を配置させ、前記周期処理の呼び出し順序に前記種別の配列を合致させることを特徴とする請求項2に記載の空調制御プログラム。   The cycle processing table is characterized in that the cycle processing component is arranged in a matrix in which the cycle, the offset, and the type are associated with each other, and the array of the types is matched with the calling order of the cycle processing. 2. The air conditioning control program according to 2. 前記周期処理起動では、前記周期が短い前記周期処理を優先して呼び出すことを特徴とする請求項1から3のいずれか一つに記載の空調制御プログラム。   4. The air conditioning control program according to claim 1, wherein in the periodic process activation, the periodic process with a short period is preferentially called. 5. 前記種別は、情報を取得する入力取得処理と、前記入力取得処理により入力された情報を検証する入力検証処理と、前記入力検証処理を経た情報を用いてシステム全体の動作方針を決定する全体制御処理と、前記全体制御処理における前記動作方針に基づき各ドメインの出力を決定する個別制御処理と、前記個別制御処理で決定した出力を検証する出力検証処理と、前記出力検証処理を経た出力を実行する出力印加処理と、を含み、
前記周期処理テーブルは、前記入力取得処理、前記入力検証処理、前記全体制御処理、前記個別制御処理、前記出力検証処理および前記出力印加処理の順に、前記種別を配列することを特徴とする請求項1から4のいずれか一つに記載の空調制御プログラム。
The type includes input acquisition processing for acquiring information, input verification processing for verifying information input by the input acquisition processing, and overall control for determining an operation policy of the entire system using the information that has undergone the input verification processing A process, an individual control process for determining the output of each domain based on the operation policy in the overall control process, an output verification process for verifying the output determined in the individual control process, and an output after the output verification process Output application processing to include,
The cycle processing table includes the types arranged in the order of the input acquisition process, the input verification process, the overall control process, the individual control process, the output verification process, and the output application process. The air conditioning control program according to any one of 1 to 4.
複数のアクチュエータを備える空調装置を空調制御プログラムに応じて制御する空調制御装置であって、
前記空調制御プログラムの実行により周期的に呼び出される周期処理が、周期および種別に対応付けられて登録される周期処理テーブルと、
前記周期処理テーブルに、前記周期処理を部品化してなる周期処理部品を割り付ける周期処理割付手段と、
周期タイマによるタイマ割り込みを受けて前記周期処理テーブルを参照し、特定された周期処理を起動する周期処理起動手段と、を有することを特徴とする空調制御装置。
An air conditioning control device that controls an air conditioning device including a plurality of actuators according to an air conditioning control program,
A periodic processing table periodically registered by execution of the air conditioning control program is registered in association with the cycle and type,
Periodic processing assigning means for allocating periodic processing parts formed by converting the periodic processing into parts in the periodic processing table;
An air-conditioning control apparatus comprising: periodic process starting means for starting a specified periodic process by receiving a timer interrupt from a periodic timer and referring to the periodic process table.
JP2010129004A 2010-06-04 2010-06-04 Air conditioning control program and air conditioning control device Expired - Fee Related JP5473787B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010129004A JP5473787B2 (en) 2010-06-04 2010-06-04 Air conditioning control program and air conditioning control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010129004A JP5473787B2 (en) 2010-06-04 2010-06-04 Air conditioning control program and air conditioning control device

Publications (2)

Publication Number Publication Date
JP2011257013A true JP2011257013A (en) 2011-12-22
JP5473787B2 JP5473787B2 (en) 2014-04-16

Family

ID=45473376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010129004A Expired - Fee Related JP5473787B2 (en) 2010-06-04 2010-06-04 Air conditioning control program and air conditioning control device

Country Status (1)

Country Link
JP (1) JP5473787B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06147612A (en) * 1992-11-05 1994-05-27 Techno Ryowa:Kk Air conditioning control system
JPH06317346A (en) * 1993-06-30 1994-11-15 Mitsubishi Electric Corp Apparatus control system
JP2001091031A (en) * 1999-09-20 2001-04-06 Mitsubishi Electric Corp Control device for air conditioner
JP2001215040A (en) * 2000-01-31 2001-08-10 Ryobi Ltd Air conditioning system and storage medium for use therein
JP2001256064A (en) * 2000-03-10 2001-09-21 Mitsubishi Electric Corp Optimization scheduling system of plural periodic performance tasks
JP2009146051A (en) * 2007-12-12 2009-07-02 Mitsubishi Electric Corp Facility management device, facility equipment network system, data access control method, communication traffic control method, data access control program, and communication traffic control program
JP2010255962A (en) * 2009-04-27 2010-11-11 Mitsubishi Electric Corp Air conditioning control device and air conditioning control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06147612A (en) * 1992-11-05 1994-05-27 Techno Ryowa:Kk Air conditioning control system
JPH06317346A (en) * 1993-06-30 1994-11-15 Mitsubishi Electric Corp Apparatus control system
JP2001091031A (en) * 1999-09-20 2001-04-06 Mitsubishi Electric Corp Control device for air conditioner
JP2001215040A (en) * 2000-01-31 2001-08-10 Ryobi Ltd Air conditioning system and storage medium for use therein
JP2001256064A (en) * 2000-03-10 2001-09-21 Mitsubishi Electric Corp Optimization scheduling system of plural periodic performance tasks
JP2009146051A (en) * 2007-12-12 2009-07-02 Mitsubishi Electric Corp Facility management device, facility equipment network system, data access control method, communication traffic control method, data access control program, and communication traffic control program
JP2010255962A (en) * 2009-04-27 2010-11-11 Mitsubishi Electric Corp Air conditioning control device and air conditioning control method

Also Published As

Publication number Publication date
JP5473787B2 (en) 2014-04-16

Similar Documents

Publication Publication Date Title
RU2487388C2 (en) Actuator for hvac systems and method for operation thereof
JP5156838B2 (en) Resource management method and embedded device
CN108474578B (en) System and method for automated scheduling and performing field tests on electrical and mechanical systems
US20150019692A1 (en) Method and apparatus for firmware virtualization
CN110147241A (en) Program configures update method, electronic device, computer equipment and storage medium
CN108196873B (en) Method and system for remotely and dynamically upgrading embedded software of power system
JP5473787B2 (en) Air conditioning control program and air conditioning control device
US20170235629A1 (en) Automated ordering of computer system repair
CN107477791B (en) A kind of air-conditioning leakage fluorine detection method, device and air-conditioning system
CN107222527B (en) Method for controlling internet of things equipment to operate in different modes through configuration file
CN112766470B (en) Feature data processing method, instruction sequence generating method, device and equipment
CN113032119A (en) Task scheduling method and device, storage medium and electronic equipment
CN112015450B (en) Method, device and storage medium for loading intelligent device control page
WO2017203556A1 (en) Management computer and optimal value calculation method of system parameter
CN112685006A (en) Process management method and device, electronic equipment and storage medium
CN112816240A (en) Fault identification method, device, equipment and storage medium of heating and ventilation equipment
CN112484246A (en) Auxiliary programming method, device and equipment for air conditioner controller
CN109210688A (en) Multi fan clarifier control method and device, clarifier
US20020169908A1 (en) System and method for implementing a flexible arbitration mechanism
US20230362027A1 (en) System and method for data transmission for appliance
CN117472673B (en) Automatic test method, system and related equipment for interrupt controller
KR102102599B1 (en) APPARATUS FOR VERIFICATION OF IoT DEVICE CONTROL SOFTWARE AND VERIFICATION METHOD THEREOF
CN111859774B (en) Method and device for regulating and controlling air supply system of gas boiler
WO2022239101A1 (en) Software verification device, software verification method, and verification program
CN103744738A (en) Scheduling method and system of diagnostic program and diagnostic apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140204

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees