WO2007116930A1 - Control process stop method - Google Patents

Control process stop method Download PDF

Info

Publication number
WO2007116930A1
WO2007116930A1 PCT/JP2007/057643 JP2007057643W WO2007116930A1 WO 2007116930 A1 WO2007116930 A1 WO 2007116930A1 JP 2007057643 W JP2007057643 W JP 2007057643W WO 2007116930 A1 WO2007116930 A1 WO 2007116930A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
special control
time
control process
timer
Prior art date
Application number
PCT/JP2007/057643
Other languages
French (fr)
Japanese (ja)
Inventor
Yasuaki Miyaba
Sunao Ueda
Hisashi Sumida
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.
Publication of WO2007116930A1 publication Critical patent/WO2007116930A1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers

Definitions

  • the present invention relates to a method for stopping control processing.
  • a watchdog timer circuit is provided.
  • the control process outputs a reset signal that initializes the watchdog timer at predetermined intervals. If the reset signal is not output due to an abnormality in the control process, the watchdog timer initializes the microcomputer and executes the control process. Stop forcibly.
  • Patent Documents 1 to 3 are disclosed as techniques related to the present case.
  • Patent Document 1 Japanese Patent Laid-Open No. 5-196273
  • Patent Document 2 Japanese Unexamined Patent Publication No. 2000-267895
  • Patent Document 3 Japanese Patent Laid-Open No. 5-176375
  • an object of the present invention is to provide a method for stopping a control process including an end determination based on time.
  • a first aspect of the control process stop method is such that the control process including the end determination based on time operates over a first predetermined time as a reference for the end determination.
  • the operation of the control process is stopped in a process different from the end determination based on the time.
  • the end determination (S214, S215) is executed in a processing routine that executes the control process, and the processing routine is longer than the first predetermined time.
  • the processing routine is forcibly stopped by the separate processing (S208).
  • a second aspect of the control processing stop method according to the present invention is a control processing stop method that is effective in the first aspect, and includes a step of starting a timer with the start of the control processing. (S102), a step (S103) for determining whether or not the second predetermined time longer than the first predetermined time has elapsed, and the timer determines the second predetermined time.
  • step (S106) of stopping the control process is executed.
  • control processing stop method that is effective in the present invention, it is possible to prevent the end judgment based on time from functioning normally, and to prevent the control processing including this from taking an unnecessarily long time. Can do.
  • control processing stop method since the control processing can be stopped by software, for example, the entire microcomputer can be initialized like a watch dog timer. Absent.
  • FIG. 1 is a schematic configuration diagram of an air conditioner.
  • FIG. 2 is a flowchart showing a method for stopping control processing according to the embodiment.
  • FIG. 3 is a flowchart showing a method for stopping control processing according to a modification.
  • the air conditioner includes an outdoor unit 10 and indoor units 21 and 22.
  • the outdoor unit 10 is connected to the indoor units 21 and 22 via the communication line 40 so that they can communicate with each other.
  • the number of indoor units is not limited to two, and may be three or more.
  • the outdoor unit 10 supplies a heat source to the calculation unit 11, a communication unit 12 that transmits and receives signals exchanged with the indoor units 21 and 22, a compressor 14a that compresses refrigerant, and a heat exchanger (not shown).
  • the communication unit 12 includes a receiving unit 12a and a transmitting unit 12b.
  • the compressor 14a, the fan 14b, the expansion valve 14c, the four-way valve 14d, and the like are collectively referred to as a machine element unit 14.
  • the calculation unit 11 has various functions by executing a program stored in a memory (not shown). Specifically, the calculation unit 11 controls the mechanism of the mechanical element unit 14 (the rotation speed of the compressor 14a, the rotation speed of the fan 14b, the opening degree of the expansion valve 14c, the switching of the four-way valve 14d, etc.) and the control signal Is transmitted to the indoor units 21 and 22 (not shown), and a timer counting function (shown as the timer function unit 13) is provided.
  • the timer function unit 13 can count a timer using a timer circuit (including a clock timer circuit) provided in a general-purpose microcomputer, and can also count the current time.
  • the indoor unit 21 includes a calculation unit 211, a communication unit 212, a fan 214a, and an expansion valve 214b.
  • the calculation unit 211 receives a control signal from the outdoor unit 10 via the communication unit 212, and controls the rotational speed of the fan 214a, the opening degree of the expansion valve 214b, and the like based on the control signal.
  • the fan 214a, the expansion valve 214b, and the like are collectively referred to as a machine element unit 214.
  • the internal configuration of the indoor unit 22 is the same as that of the indoor unit 21, so that the description thereof is omitted.
  • Arithmetic unit 11 controls machine element unit 14 and transmits a control signal to indoor units 21 and 22, and arithmetic units 211 and 221 that have received the control signal receive the control signal based on the control signal.
  • the element parts 214 and 224 are controlled. In this way, normal operation such as cooling operation and heating operation and special operation such as defrosting operation are performed.
  • Special operation here is for normal or efficient normal operation.
  • a defrosting operation or an air conditioner that removes frost attached to the heat exchanger of the outdoor unit 10 is used.
  • the control process of the calculation unit 11 performed during normal operation is referred to as steady control, and the control process of the calculation unit 11 performed during special operation is referred to as special control.
  • a method for stopping the control process according to the present invention will be described using the operation of the calculation unit 11. The operation of the calculation unit 11 shown in FIG.
  • FIG. 2 is an operation when performing special control (for example, defrosting operation) during steady control such as cooling operation and heating operation.
  • special control for example, defrosting operation
  • the flow shown on the left side of FIG. A flowchart for forcibly stopping special control, and the flow shown on the right side of FIG. 2 is a flowchart showing a subprogram for special control.
  • step S201 the calculation unit 11 performs steady control for performing normal operation (for example, heating operation).
  • step S202 the calculation unit 11 determines whether or not special control such as defrosting operation is required. For example, in order to determine the necessity of special control for defrosting operation, frost adhering to the heat exchanger ⁇ of the outdoor unit 10 is detected, and the frost may be adhering beyond a predetermined amount. It is determined that special control needs to be executed.
  • step S202 If it is determined in step S202 that special control is not required, the routine returns to normal operation again in step S201. If it is determined that it is necessary, the operation unit 11 measures the current time tl in step S203, and then executes the special control subprogram shown on the right side of FIG. 2 in step S204. The current time can be obtained by the timer function unit 13.
  • the calculation unit 11 is substantially parallel by time-sharing processing in which the processing of subsequent steps S205 to S208 and the special control subprogram shown on the right side of Fig. 2 are executed alternately, for example, at regular intervals. To run.
  • the special control subprogram shown on the right side of FIG. 2 will be described, and then the processing of steps S205 to S208 will be described.
  • step S211 the calculation unit 11 initializes the end flag fig to zero.
  • the end flag fig is a flag that indicates whether or not the special control has ended based on the end judgment in the special control subprogram.
  • the end flag fig is 1, the end flag fig is displayed. Show.
  • step S212 calculation unit 11 initializes a timer.
  • the timer function unit 13 can count the timer.
  • the calculation unit 11 executes special control such as defrosting operation.
  • step S214 the calculation unit 11 performs special control correctly. Determine whether it has always finished. Step if special control ends normally
  • step S217 operation unit 11 writes 1 to end flag fig. If the special control has not ended normally, in step S215, the calculation unit 11 determines whether or not the timer has passed 1065 seconds. Note that 1065 seconds is sufficient for the special control of the defrosting operation to end normally. The time may vary depending on the contents of special control.
  • step S213 is executed again. If the timer has passed 1065 seconds, the arithmetic unit 11 stops the special control in step S216, and writes 1 to the end flag fig in step S217.
  • the special control is usually provided with a time-based end determination (step S215).
  • the time-based end determination may not function normally.
  • step S205 the arithmetic unit 11 determines whether or not the end flag fig is 1. When the end flag fig is 1, since the special control has ended in the processing routine shown on the right side of FIG. 2, the process returns to step S201 to perform normal operation. If the end flag fig is not 1, the calculation unit 11 measures the current time t2 in step S206.
  • step S207 operation unit 11 determines whether t2 ⁇ tl> 1125 seconds. In other words, the calculation unit 11 determines whether or not 1125 seconds have elapsed since the start of the special control. If 1125 seconds have not elapsed, the process returns to step S205 again to execute the processes of steps S205 and S206. If 1125 seconds have elapsed, in step S208, the calculation unit 11 determines that the special control having the termination determination by time (step S215) is not operating normally, and the special control subprogram Forcibly stop and return to step S201 to execute normal operation. In addition, without returning to the normal operation, it may be notified to the outside that the special control is abnormal and the air conditioner may be put into a standby state.
  • step S215 the end determination by time (step S215) is executed in the processing routine (the flow shown on the right side of FIG. 2) for executing the special control, and the processing routine is used as a criterion for the end determination. And running for a longer time (1125 seconds) than The processing routine is forcibly stopped by another process (the flow shown on the left side of Fig. 2). Therefore, it is possible to prevent the special control from requiring a long time even if the termination determination does not function normally due to disturbance due to external noise, for example.
  • FIG. 3 is a flowchart showing the operation of the air conditioner according to this modification.
  • the special control is provided with an end determination based on time in the process of executing the special control.
  • step S101 the calculation unit 11 starts special control such as defrosting operation.
  • step S102 the calculation unit 11 starts a timer when the special control is started.
  • the timer function unit 13 can count the timer.
  • the arithmetic unit 11 executes the special control and the operation shown in FIG. 3 substantially in parallel by, for example, a time-sharing process in which the operation is repeatedly performed at regular intervals.
  • step S103 calculation unit 11 determines whether or not the timer has passed, for example, 1125 seconds. If 1125 seconds have not elapsed, in step S104, the calculation unit 11 determines whether the special control has ended based on the end determination based on the time provided by the special control. For example, the time used as a criterion for the end determination is 1065 seconds, and this value is sufficient for the defrosting operation to end normally. Based on the end determination based on time, when the control process ends, this operation ends, and when it does not end, at step S105, the arithmetic unit 11 ends the special control normally. Determine if you are. When the special control has been completed normally, this operation is terminated. When the special control has not been completed, it is executed again from step S103.
  • step S106 operation unit 11 determines that an abnormality has occurred in the end determination of special control. Then, the special control is stopped and the air conditioner is put into a standby state.
  • the calculation unit 11 is initialized and all operations up to that point are lost.
  • the special control with an abnormal end determination can be stopped. Don't lose your previous behavior.

Abstract

Provided is a control process stop method capable of preventing use of an unnecessary long time for a control process having an end judgment even if the end judgment based on time does not function normally. When a special control having an end judgment (S215) based on time (such as a defrost operation) is executed during a normal control of a cooling or a heating operation, the special control is started (S204) after the current time is clocked (S203). It is judged whether the special control has terminated normally or according to the end judgment based on time (S205). If the special control is not terminated, the current time is clocked and it is judged whether a predetermined time has elapsed after the start of the special control (S207). If the predetermined time has elapsed, it is judged that the special control is not operating normally and the special control is forcibly terminated to return to the normal operation (S208).

Description

明 細 書  Specification
制御処理の停止方法  How to stop control processing
技術分野  Technical field
[0001] この発明は、制御処理の停止方法に関する。  The present invention relates to a method for stopping control processing.
背景技術  Background art
[0002] 通常、マイクロコンピュータを備えた電子制御装置には、制御処理 (コンピュータが プログラムに基づいて実行する処理を含む)が異常となって不要に長時間を要するこ とを防止するために、ウォッチドッグタイマー回路が設けられている。制御処理は所定 の間隔でウォッチドッグタイマーを初期化するリセット信号を出力しており、制御処理 の異常によってリセット信号が出力されなくなると、ウォッチドッグタイマーはマイクロコ ンピュータを初期化して、制御処理を強制的に停止する。  [0002] Normally, in an electronic control device equipped with a microcomputer, in order to prevent control processing (including processing executed by a computer based on a program) from becoming abnormal and taking an unnecessarily long time, A watchdog timer circuit is provided. The control process outputs a reset signal that initializes the watchdog timer at predetermined intervals.If the reset signal is not output due to an abnormality in the control process, the watchdog timer initializes the microcomputer and executes the control process. Stop forcibly.
[0003] なお、本件に関連する技術として特許文献 1〜3が開示されている。  [0003] Patent Documents 1 to 3 are disclosed as techniques related to the present case.
[0004] 特許文献 1 :特開平 5— 196273号公報  Patent Document 1: Japanese Patent Laid-Open No. 5-196273
特許文献 2:特開 2000— 267895号公報  Patent Document 2: Japanese Unexamined Patent Publication No. 2000-267895
特許文献 3:特開平 5 - 176375号公報  Patent Document 3: Japanese Patent Laid-Open No. 5-176375
発明の開示  Disclosure of the invention
発明が解決しょうとする課題  Problems to be solved by the invention
[0005] し力しながら、制御処理に異常が発生しても、例えばリセット信号は出力される場合 も考えられ、この場合にはウォッチドッグタイマーが定期的にリセットされる。 [0005] However, even if an abnormality occurs in the control process, for example, a reset signal may be output. In this case, the watchdog timer is periodically reset.
[0006] そこで、本発明は、時間による終了判定を備える制御処理の停止方法を提供する ことを目的とする。 [0006] Accordingly, an object of the present invention is to provide a method for stopping a control process including an end determination based on time.
課題を解決するための手段  Means for solving the problem
[0007] この発明にかかる制御処理の停止方法の第 1の態様は、時間による終了判定を備 える制御処理が、前記終了判定の基準となる第 1の所定時間を超えて動作している ときに、前記時間による前記終了判定とは別処理で前記制御処理の動作を停止させ る。なお、より好ましくは、前記終了判定 (S214, S215)は前記制御処理を実行する 処理ルーチン内で実行され、前記処理ルーチンが前記第 1の所定時間よりも長い第 2の所定時間を費やして実行されているとき、前記別処理によって前記処理ルーチン が強制的に停止される(S208)。 [0007] A first aspect of the control process stop method according to the present invention is such that the control process including the end determination based on time operates over a first predetermined time as a reference for the end determination. In addition, the operation of the control process is stopped in a process different from the end determination based on the time. More preferably, the end determination (S214, S215) is executed in a processing routine that executes the control process, and the processing routine is longer than the first predetermined time. When the predetermined time of 2 is being executed, the processing routine is forcibly stopped by the separate processing (S208).
[0008] この発明にかかる制御処理の停止方法の第 2の態様は、第 1の態様に力かる制御 処理の停止方法であって、前記制御処理の開始に伴って、タイマーを開始するステ ップ (S102)と、前記タイマーが前記第 1の所定時間よりも長い前記第 2の所定時間 を経過したか否かを判断するステップ (S 103)と、前記タイマーが前記第 2の所定時 間を経過したと判断したときに、前記制御処理を停止させるステップ (S 106)とを実行 する。 [0008] A second aspect of the control processing stop method according to the present invention is a control processing stop method that is effective in the first aspect, and includes a step of starting a timer with the start of the control processing. (S102), a step (S103) for determining whether or not the second predetermined time longer than the first predetermined time has elapsed, and the timer determines the second predetermined time. When it is determined that elapses, step (S106) of stopping the control process is executed.
発明の効果  The invention's effect
[0009] この発明に力かる制御処理の停止方法の第 1の態様によれば、時間による終了判 定が正常に機能せず、これを備える制御処理が不要に長時間を要することを防ぐこと ができる。  [0009] According to the first aspect of the control processing stop method that is effective in the present invention, it is possible to prevent the end judgment based on time from functioning normally, and to prevent the control processing including this from taking an unnecessarily long time. Can do.
[0010] この発明に力かる制御処理の停止方法の第 2の態様によれば、ソフトウェア上で制 御処理を停止できるため、例えば、ウォッチドッグタイマーのようにマイコン全体を初 期化することがない。  [0010] According to the second aspect of the control processing stop method that is effective in the present invention, since the control processing can be stopped by software, for example, the entire microcomputer can be initialized like a watch dog timer. Absent.
[0011] この発明の目的、特徴、局面、および利点は、以下の詳細な説明と添付図面とによ つて、より明白となる。  [0011] The objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description and the accompanying drawings.
図面の簡単な説明  Brief Description of Drawings
[0012] [図 1]空気調和機の概略構成図である。  FIG. 1 is a schematic configuration diagram of an air conditioner.
[図 2]実施の形態に力かる制御処理の停止方法を示すフローチャートである。  FIG. 2 is a flowchart showing a method for stopping control processing according to the embodiment.
[図 3]変形例に力かる制御処理の停止方法を示すフローチャートである。  FIG. 3 is a flowchart showing a method for stopping control processing according to a modification.
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0013] 実施の形態. [0013] Embodiment.
本発明にかかる制御処理の停止方法について説明する。本実施の形態にかかる 制御処理の停止方法を、図 1に示す空気調和機を用いて説明する。図 1に示すよう に、本空気調和機は、室外機 10と、室内機 21、 22とから構成されている。室外機 10 は室内機 21、 22と通信ライン 40を介して接続されており、相互に通信可能となって いる。なお、室内機は 2台に限らず、 3台以上で構成されてもよい。 [0014] 室外機 10は、演算部 11と、室内機 21および 22とやり取りする信号を送受信する通 信部 12と、冷媒を圧縮するコンプレッサ 14a、熱交換器 (図示せず)に熱源を供給す るファン 14b、室外機 10内を流れる冷媒圧力を調整する膨張弁 14c、冷媒の流れる 方向を切り替える四方弁 14dとを備えて 、る。通信部 12は受信部 12aと送信部 12b とから構成されている。なお、コンプレッサ 14a、ファン 14b、膨張弁 14c、四方弁 14d 等をまとめて機械要素部 14と呼称する。 A control processing stop method according to the present invention will be described. A method of stopping the control process according to the present embodiment will be described using the air conditioner shown in FIG. As shown in FIG. 1, the air conditioner includes an outdoor unit 10 and indoor units 21 and 22. The outdoor unit 10 is connected to the indoor units 21 and 22 via the communication line 40 so that they can communicate with each other. Note that the number of indoor units is not limited to two, and may be three or more. [0014] The outdoor unit 10 supplies a heat source to the calculation unit 11, a communication unit 12 that transmits and receives signals exchanged with the indoor units 21 and 22, a compressor 14a that compresses refrigerant, and a heat exchanger (not shown). And a four-way valve 14d for switching the flow direction of the refrigerant, and an expansion valve 14c for adjusting the pressure of the refrigerant flowing in the outdoor unit 10. The communication unit 12 includes a receiving unit 12a and a transmitting unit 12b. The compressor 14a, the fan 14b, the expansion valve 14c, the four-way valve 14d, and the like are collectively referred to as a machine element unit 14.
[0015] 演算部 11は、図示しないメモリーに格納されたプログラムを実行して、種々の機能 を備える。具体的に、演算部 11は機械要素部 14の機構 (コンプレッサ 14aの回転数 、ファン 14bの回転数、膨張弁 14cの開度、四方弁 14dの切り替え等)を制御するとと もに、制御信号を室内機 21および 22に送信する機能(図示せず)と、タイマーをカウ ントする機能 (タイマー機能部 13として図示)とを備える。なお、タイマー機能部 13は 、汎用的なマイクロコンピュータに設けられたタイマー回路(時計用タイマー回路を含 む)を用いてタイマーをカウントすることができ、また現在時刻を計時することもできる  The calculation unit 11 has various functions by executing a program stored in a memory (not shown). Specifically, the calculation unit 11 controls the mechanism of the mechanical element unit 14 (the rotation speed of the compressor 14a, the rotation speed of the fan 14b, the opening degree of the expansion valve 14c, the switching of the four-way valve 14d, etc.) and the control signal Is transmitted to the indoor units 21 and 22 (not shown), and a timer counting function (shown as the timer function unit 13) is provided. The timer function unit 13 can count a timer using a timer circuit (including a clock timer circuit) provided in a general-purpose microcomputer, and can also count the current time.
[0016] 室内機 21は、室外機 10と同様に演算部 211と、通信部 212と、ファン 214aと、膨 張弁 214bとを備えている。演算部 211は通信部 212を介して室外機 10からの制御 信号を受信し、当該制御信号に基づいて、ファン 214aの回転数、膨張弁 214bの開 度等を制御する。なお、ファン 214a、膨張弁 214b等をまとめて機械要素部 214と呼 称する。また室内機 22の内部構成は室内機 21と同一であるため省略する。 [0016] As with the outdoor unit 10, the indoor unit 21 includes a calculation unit 211, a communication unit 212, a fan 214a, and an expansion valve 214b. The calculation unit 211 receives a control signal from the outdoor unit 10 via the communication unit 212, and controls the rotational speed of the fan 214a, the opening degree of the expansion valve 214b, and the like based on the control signal. The fan 214a, the expansion valve 214b, and the like are collectively referred to as a machine element unit 214. Further, the internal configuration of the indoor unit 22 is the same as that of the indoor unit 21, so that the description thereof is omitted.
[0017] 演算部 11は機械要素部 14を制御するとともに、室内機 21および 22に制御信号を 送信し、当該制御信号を受け取った演算部 211および 221は当該制御信号に基づ いて、それぞれ機械要素部 214および 224を制御する。このようにして、冷房運転、 暖房運転等の通常運転や除霜運転等の特殊運転を行う。  [0017] Arithmetic unit 11 controls machine element unit 14 and transmits a control signal to indoor units 21 and 22, and arithmetic units 211 and 221 that have received the control signal receive the control signal based on the control signal. The element parts 214 and 224 are controlled. In this way, normal operation such as cooling operation and heating operation and special operation such as defrosting operation are performed.
[0018] ここでいう特殊運転とは、通常運転を正常または効率よく行うためのものであり、例 えば、室外機 10が備える熱交換器に付着した霜を取り除く除霜運転、空気調和機が 所定の間停止することでコンプレッサ 14aに生じる寝込み現象に対処する寝込み起 動等がある。なお、以下では通常運転時に行う演算部 11の制御処理を定常制御、 特殊運転時に行う演算部 11の制御処理を特殊制御と呼称する。 [0019] 続いて、演算部 11の動作を用いて、本発明にかかる制御処理の停止方法を説明 する。図 2に示す演算部 11の動作は、冷房運転、暖房運転等の定常制御中に、特 殊制御(例えば除霜運転等)を実行する場合の動作であり、図 2の左側に示すフロー は特殊制御を強制的に停止するためのフローチャート、図 2の右側に示すフローは 特殊制御用のサブプログラムを示すフローチャートである。 [0018] Special operation here is for normal or efficient normal operation. For example, a defrosting operation or an air conditioner that removes frost attached to the heat exchanger of the outdoor unit 10 is used. There is a wake-up activation to cope with the stagnation phenomenon that occurs in the compressor 14a by stopping for a predetermined time. Hereinafter, the control process of the calculation unit 11 performed during normal operation is referred to as steady control, and the control process of the calculation unit 11 performed during special operation is referred to as special control. [0019] Next, a method for stopping the control process according to the present invention will be described using the operation of the calculation unit 11. The operation of the calculation unit 11 shown in FIG. 2 is an operation when performing special control (for example, defrosting operation) during steady control such as cooling operation and heating operation. The flow shown on the left side of FIG. A flowchart for forcibly stopping special control, and the flow shown on the right side of FIG. 2 is a flowchart showing a subprogram for special control.
[0020] 図 2の左側に示すように、ステップ S201にて、演算部 11は通常運転 (例えば暖房 運転)を行う定常制御を実行する。ステップ S202にて、演算部 11は、例えば除霜運 転等の特殊制御の実行を必要とするかどうかを判断する。なお、例えば除霜運転に 力かる特殊制御の必要性を判断するには、室外機 10が備える熱交^^に付着した 霜を検知し、所定の量を超えて霜が付着して ヽれば特殊制御の実行が必要であると 判断する。  [0020] As shown on the left side of FIG. 2, in step S201, the calculation unit 11 performs steady control for performing normal operation (for example, heating operation). In step S202, the calculation unit 11 determines whether or not special control such as defrosting operation is required. For example, in order to determine the necessity of special control for defrosting operation, frost adhering to the heat exchanger ^^ of the outdoor unit 10 is detected, and the frost may be adhering beyond a predetermined amount. It is determined that special control needs to be executed.
[0021] ステップ S202にて、特殊制御が必要でな 、と判断したときは、再びステップ S 201 にて、通常運転に戻る。必要であると判断した場合は、ステップ S203にて、演算部 1 1は現在時刻 tlを計時してから、ステップ S204にて、図 2の右側に示す特殊制御用 のサブプログラムを実行する。なお、現在時刻はタイマー機能部 13によって得ること ができる。  If it is determined in step S202 that special control is not required, the routine returns to normal operation again in step S201. If it is determined that it is necessary, the operation unit 11 measures the current time tl in step S203, and then executes the special control subprogram shown on the right side of FIG. 2 in step S204. The current time can be obtained by the timer function unit 13.
[0022] 演算部 11は、以降のステップ S205〜S208の処理と、図 2の右側に示す殊制御用 のサブプログラムとを、例えば一定時間ごとに交互に繰り返して実行する時分割処理 によって略並行に実行する。ここでは、理解を容易にするために、まず図 2の右側に 示す特殊制御用のサブプログラムの動作を説明した後、ステップ S205〜S208の処 理を説明する。  [0022] The calculation unit 11 is substantially parallel by time-sharing processing in which the processing of subsequent steps S205 to S208 and the special control subprogram shown on the right side of Fig. 2 are executed alternately, for example, at regular intervals. To run. Here, for easy understanding, first, the operation of the special control subprogram shown on the right side of FIG. 2 will be described, and then the processing of steps S205 to S208 will be described.
[0023] 図 2の右側に示すように、ステップ S211にて、演算部 11は終了フラグ figをゼロに 初期化する。終了フラグ figとは、特殊制御用のサブプログラム内の終了判定に基づ いて特殊制御が終了している力否かを示すフラグであり、終了フラグ figが 1のとき終 了していることを示す。  [0023] As shown on the right side of FIG. 2, in step S211, the calculation unit 11 initializes the end flag fig to zero. The end flag fig is a flag that indicates whether or not the special control has ended based on the end judgment in the special control subprogram. When the end flag fig is 1, the end flag fig is displayed. Show.
[0024] ステップ S212にて、演算部 11はタイマーを初期化する。なお、タイマー機能部 13 によってタイマーをカウントすることができる。ステップ S213にて、演算部 11は例えば 除霜運転等の特殊制御を実行する。ステップ S214にて、演算部 11は特殊制御が正 常に終了したかどうかを判断する。特殊制御が正常に終了している場合にはステップIn step S212, calculation unit 11 initializes a timer. The timer function unit 13 can count the timer. In step S213, the calculation unit 11 executes special control such as defrosting operation. In step S214, the calculation unit 11 performs special control correctly. Determine whether it has always finished. Step if special control ends normally
S217にて、演算部 11は終了フラグ figに 1を書き込む。特殊制御が正常に終了して いない場合には、ステップ S215にて、演算部 11はタイマーが 1065秒を経過してい るかどうかを判断する。なお、 1065秒は除霜運転の特殊制御が正常に終了するた めに十分な時間である。当該時間は特殊制御の内容によって異なりうる。 In S217, operation unit 11 writes 1 to end flag fig. If the special control has not ended normally, in step S215, the calculation unit 11 determines whether or not the timer has passed 1065 seconds. Note that 1065 seconds is sufficient for the special control of the defrosting operation to end normally. The time may vary depending on the contents of special control.
[0025] タイマーが 1065秒を経過していない場合には、ステップ S 213を再び実行する。タ イマ一が 1065秒を経過している場合には、ステップ S216にて、演算部 11は特殊制 御を停止し、ステップ S217にて、終了フラグ figに 1を書き込む。  [0025] If 1065 seconds have not elapsed, step S213 is executed again. If the timer has passed 1065 seconds, the arithmetic unit 11 stops the special control in step S216, and writes 1 to the end flag fig in step S217.
[0026] 以上のように、通常、特殊制御は時間による終了判定 (ステップ S215)を備えてい る力 例えば、外部ノイズによる撹乱などによって、時間による終了判定が正常に機 能しない可能性がある。  [0026] As described above, the special control is usually provided with a time-based end determination (step S215). For example, due to disturbance due to external noise, the time-based end determination may not function normally.
[0027] そこで、演算部 11は上述した特殊制御用のプログラムと略並行してステップ S 205 〜S208を実行する。ステップ S205〖こて、演算部 11は終了フラグ figが 1であるかどう かを判断する。終了フラグ figが 1である場合には、特殊制御が図 2の右側に示す処 理ルーチン内で終了しているので、ステップ S201に戻り通常運転を実行する。終了 フラグ figが 1でない場合は、ステップ S206にて、演算部 11は現在時刻 t2を計時す る。  Accordingly, the calculation unit 11 executes steps S 205 to S 208 substantially in parallel with the above-described special control program. In step S205, the arithmetic unit 11 determines whether or not the end flag fig is 1. When the end flag fig is 1, since the special control has ended in the processing routine shown on the right side of FIG. 2, the process returns to step S201 to perform normal operation. If the end flag fig is not 1, the calculation unit 11 measures the current time t2 in step S206.
[0028] ステップ S207にて、演算部 11は t2—tl > 1125秒であるかどうかを判断する。つ まり、演算部 11は特殊制御が開始してから 1125秒を経過しているかどうかを判断す る。 1125秒を経過していない場合には、再びステップ S205〖こ戻ってステップ S205 、 S206の処理を実行する。 1125秒を経過している場合には、ステップ S208にて、 演算部 11は時間による終了判定 (ステップ S215)を備える特殊制御が正常に動作し ていないと判断して、特殊制御用のサブプログラムを強制停止し、ステップ S201に 戻って通常運転を実行する。なお、通常運転に戻らず、特殊制御が異常であることを 外部に通知するとともに空気調和機を待機状態にしてもよい。  In step S207, operation unit 11 determines whether t2−tl> 1125 seconds. In other words, the calculation unit 11 determines whether or not 1125 seconds have elapsed since the start of the special control. If 1125 seconds have not elapsed, the process returns to step S205 again to execute the processes of steps S205 and S206. If 1125 seconds have elapsed, in step S208, the calculation unit 11 determines that the special control having the termination determination by time (step S215) is not operating normally, and the special control subprogram Forcibly stop and return to step S201 to execute normal operation. In addition, without returning to the normal operation, it may be notified to the outside that the special control is abnormal and the air conditioner may be put into a standby state.
[0029] 以上のように、時間による終了判定 (ステップ S215)が特殊制御を実行する処理ル 一チン(図 2の右側に示すフロー)内で実行され、当該処理ルーチンが当該終了判 定の基準となる時間(1065秒)よりも長い時間 (1125秒)を費やして実行されていると き、別処理(図 2の左側に示すフロー)によって当該処理ルーチンが強制的に停止さ れる。したがって、例えば外部ノイズによる撹乱によって、終了判定が正常に機能し なくても、特殊制御に不要な長時間を要することを防止することができる。 [0029] As described above, the end determination by time (step S215) is executed in the processing routine (the flow shown on the right side of FIG. 2) for executing the special control, and the processing routine is used as a criterion for the end determination. And running for a longer time (1125 seconds) than The processing routine is forcibly stopped by another process (the flow shown on the left side of Fig. 2). Therefore, it is possible to prevent the special control from requiring a long time even if the termination determination does not function normally due to disturbance due to external noise, for example.
[0030] 変形例. [0030] Modification.
本発明に力かる実施の形態の変形例の制御処理の停止方法を説明する。実施の 形態と同様に、図 1に示す空気調和機を用いて本変形例を説明する。なお、空気調 和機の構成に関する説明は冗長であるため、以下の説明では省略する。  A method of stopping the control process according to a modification of the embodiment that is useful for the present invention will be described. As in the embodiment, this modification will be described using the air conditioner shown in FIG. In addition, since the description regarding the structure of an air conditioner is redundant, it abbreviate | omits in the following description.
[0031] 図 3は本変形例に力かる空気調和機の動作を示すフローチャートである。なお、特 殊制御は実施の形態と同様に、特殊制御を実行する処理内に時間による終了判定 を備えている。 FIG. 3 is a flowchart showing the operation of the air conditioner according to this modification. As in the embodiment, the special control is provided with an end determination based on time in the process of executing the special control.
[0032] まず、ステップ S101にて、演算部 11は例えば除霜運転等の特殊制御を開始する 。続いて、ステップ S102にて、演算部 11は特殊制御の開始とともにタイマーをスター トさせる。なお、タイマー機能部 13によってタイマーをカウントすることができる。また、 実施の形態と同様に、演算部 11は特殊制御と、図 3に示す動作とを、例えば一定時 間ごとに交互に繰り返して実行する時分割処理によって略並行に実行する。  [0032] First, in step S101, the calculation unit 11 starts special control such as defrosting operation. Subsequently, in step S102, the calculation unit 11 starts a timer when the special control is started. The timer function unit 13 can count the timer. Similarly to the embodiment, the arithmetic unit 11 executes the special control and the operation shown in FIG. 3 substantially in parallel by, for example, a time-sharing process in which the operation is repeatedly performed at regular intervals.
[0033] ステップ S103にて、演算部 11はタイマーが例えば 1125秒を経過したかどうかを判 断する。 1125秒を経過していないときは、ステップ S104にて、演算部 11は特殊制 御が備える時間による終了判定に基づいて、特殊制御が終了しているかどうかを判 断する。なお、時間による終了判定の基準となる時間は例えば 1065秒であり、この 値は除霜運転が正常に終了するのに十分な時間である。時間による終了判定に基 づ 、て制御処理が終了して 、るときは本動作を終了し、終了してな 、ときはステップ S105にて、演算部 11は特殊制御が動作を正常に終了しているかどうかを判断する 。特殊制御が正常に終了しているときは本動作を終了し、終了していないときは、ス テツプ S 103から再び実行する。  In step S103, calculation unit 11 determines whether or not the timer has passed, for example, 1125 seconds. If 1125 seconds have not elapsed, in step S104, the calculation unit 11 determines whether the special control has ended based on the end determination based on the time provided by the special control. For example, the time used as a criterion for the end determination is 1065 seconds, and this value is sufficient for the defrosting operation to end normally. Based on the end determination based on time, when the control process ends, this operation ends, and when it does not end, at step S105, the arithmetic unit 11 ends the special control normally. Determine if you are. When the special control has been completed normally, this operation is terminated. When the special control has not been completed, it is executed again from step S103.
[0034] ステップ S 103で判断した結果、タイマーが例えば 1125秒を経過したときは、ステツ プ S 106にて、演算部 11は、特殊制御の終了判定に異常が発生していると判断して 、特殊制御を停止させて空気調和機を待機状態にする。  [0034] As a result of the determination in step S103, if the timer has passed, for example, 1125 seconds, in step S106, operation unit 11 determines that an abnormality has occurred in the end determination of special control. Then, the special control is stopped and the air conditioner is put into a standby state.
[0035] したがって、時間による終了判定に異常が発生していても、それを備える特殊制御 が不要な長時間を要することを防止することができる。 [0035] Therefore, even if an abnormality has occurred in the end determination by time, special control including the abnormality It is possible to prevent an unnecessary long time.
[0036] なお、例えばウォッチドッグタイマー回路を用いる場合には、演算部 11が初期化さ れ、それまでの動作を全て失うが、本発明では終了判定が異常の特殊制御のみを停 止できるので、それまでの動作を失わない。  For example, when a watchdog timer circuit is used, the calculation unit 11 is initialized and all operations up to that point are lost. However, in the present invention, only the special control with an abnormal end determination can be stopped. Don't lose your previous behavior.
[0037] なお、空気調和機を用いて本発明を説明したがこれに限らず、演算部 11を備える あらゆる電子機器に適用することができることは言うまでもない。  [0037] Although the present invention has been described using an air conditioner, the present invention is not limited thereto, and it goes without saying that the present invention can be applied to any electronic device including the calculation unit 11.
[0038] この発明は詳細に説明されたが、上記した説明は、すべての局面において、例示 であって、この発明がそれに限定されるものではない。例示されていない無数の変形 例力 この発明の範囲力 外れることなく想定され得るものと解される。  [0038] Although the present invention has been described in detail, the above description is illustrative in all aspects, and the present invention is not limited thereto. Innumerable variations not illustrated The power of the scope of the present invention It is understood that the power can be assumed without departing.

Claims

請求の範囲 The scope of the claims
[1] 時間による終了判定を備える制御処理が、前記終了判定の基準となる第 1の所定 時間を超えて動作しているときに、前記時間による前記終了判定とは別処理で前記 制御処理の動作を停止させる、制御処理の停止方法。  [1] When a control process having an end determination by time exceeds a first predetermined time as a reference for the end determination, the control process is performed separately from the end determination by the time. A method for stopping control processing that stops operation.
[2] 前記終了判定 (S215)は前記制御処理を実行する処理ルーチン内で実行され、 前記処理ルーチンが前記第 1の所定時間よりも長い第 2の所定時間を費やして実行 されているとき、前記別処理によって前記処理ルーチンが強制的に停止される(S20 8)、請求項 1記載の制御処理の停止方法。  [2] The end determination (S215) is executed in a processing routine for executing the control process, and when the processing routine is executed by spending a second predetermined time longer than the first predetermined time, 2. The control processing stop method according to claim 1, wherein the processing routine is forcibly stopped by the separate processing (S208).
[3] 前記制御処理の開始に伴って、タイマーを開始するステップ (S102)と、  [3] A step (S102) of starting a timer with the start of the control process;
前記タイマーが前記第 1の所定時間よりも長い前記第 2の所定時間を経過した力否 かを判断するステップ (S 103)と、  Determining whether or not the timer has passed the second predetermined time longer than the first predetermined time (S 103);
前記タイマーが前記第 2の所定時間を経過したと判断したときに、前記制御処理を 停止させるステップ(S 106)と  A step (S106) of stopping the control process when the timer determines that the second predetermined time has elapsed;
を実行する、請求項 1記載の制御処理の停止方法。  The method for stopping control processing according to claim 1, wherein:
PCT/JP2007/057643 2006-04-07 2007-04-05 Control process stop method WO2007116930A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006105909A JP2007280080A (en) 2006-04-07 2006-04-07 Stop method for control processing
JP2006-105909 2006-04-07

Publications (1)

Publication Number Publication Date
WO2007116930A1 true WO2007116930A1 (en) 2007-10-18

Family

ID=38581216

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/057643 WO2007116930A1 (en) 2006-04-07 2007-04-05 Control process stop method

Country Status (2)

Country Link
JP (1) JP2007280080A (en)
WO (1) WO2007116930A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103499135A (en) * 2013-09-18 2014-01-08 广东美的集团芜湖制冷设备有限公司 Air conditioning compressor shutdown control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02207347A (en) * 1989-02-08 1990-08-17 Toshiba Corp Method for detecting fault of software
JPH076058A (en) * 1993-06-18 1995-01-10 Fuji Facom Corp Method for monitoring process run time
JPH10198584A (en) * 1997-01-14 1998-07-31 Nippon Steel Corp Abnormality monitoring device for application software
JP2000267894A (en) * 1999-03-17 2000-09-29 Nec Corp Time out processing system, processing method and recording medium
JP2002024049A (en) * 2000-07-13 2002-01-25 Nec Eng Ltd Computer for controlling space machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02207347A (en) * 1989-02-08 1990-08-17 Toshiba Corp Method for detecting fault of software
JPH076058A (en) * 1993-06-18 1995-01-10 Fuji Facom Corp Method for monitoring process run time
JPH10198584A (en) * 1997-01-14 1998-07-31 Nippon Steel Corp Abnormality monitoring device for application software
JP2000267894A (en) * 1999-03-17 2000-09-29 Nec Corp Time out processing system, processing method and recording medium
JP2002024049A (en) * 2000-07-13 2002-01-25 Nec Eng Ltd Computer for controlling space machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103499135A (en) * 2013-09-18 2014-01-08 广东美的集团芜湖制冷设备有限公司 Air conditioning compressor shutdown control method

Also Published As

Publication number Publication date
JP2007280080A (en) 2007-10-25

Similar Documents

Publication Publication Date Title
CN109405329B (en) Heat pump unit control method and device, storage medium and heat pump unit
EP2673171B1 (en) Motor vehicle and method of controlling a motor vehicle
JP4007402B2 (en) Air conditioner outdoor unit and control method thereof
CN104236018A (en) Air conditioner control method and air conditioner control device
JP2008544350A (en) Microprocessor with automatic selection of SIMD parallel processing
JP6764316B2 (en) Solenoid valve control device and motorized valve device equipped with it
US20110320043A1 (en) Determining Identifying Information Of A Cooling Fan
CA2572667A1 (en) Methods for detecting and responding to freezing coils in hvac systems
CN105091251A (en) Controlling method and controlling device for variable-frequency air conditioner
JP6183024B2 (en) Air conditioner system
CN114234486B (en) Heat pump defrosting control method and device, computer equipment and storage medium
CN109945563B (en) Multi-split air conditioning system and method and device for initializing electronic expansion valve thereof
WO2022188398A1 (en) Method and apparatus for controlling air conditioner, and air conditioner
JP2009103392A (en) Air conditioner
WO2007116930A1 (en) Control process stop method
JPH10288410A (en) Refrigerator
WO2024060699A1 (en) Method and apparatus for controlling dehumidifier, and dehumidifier and storage medium
JP2000274773A (en) Method for controlling air conditioner
JP3191719B2 (en) Oil return operation control device for refrigeration equipment
JP2010157942A (en) Equipment control system
CN109210697B (en) Control method for automatic remediation of frozen air conditioner
JP7297473B2 (en) Control device, air conditioner, control method and program
JP2004239537A (en) Control method of multiple room type air conditioner
CN112556114A (en) Control method and device of air conditioner, storage medium and processor
JP3841045B2 (en) Combustion device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07741079

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07741079

Country of ref document: EP

Kind code of ref document: A1