JP2023178072A - Control device, control method, and passenger transport control device - Google Patents
Control device, control method, and passenger transport control device Download PDFInfo
- Publication number
- JP2023178072A JP2023178072A JP2022091123A JP2022091123A JP2023178072A JP 2023178072 A JP2023178072 A JP 2023178072A JP 2022091123 A JP2022091123 A JP 2022091123A JP 2022091123 A JP2022091123 A JP 2022091123A JP 2023178072 A JP2023178072 A JP 2023178072A
- Authority
- JP
- Japan
- Prior art keywords
- watchdog timer
- control unit
- elapsed time
- control device
- value
- 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
Links
- 238000000034 method Methods 0.000 title claims description 21
- 230000005856 abnormality Effects 0.000 claims abstract description 64
- 238000012360 testing method Methods 0.000 claims abstract description 54
- 238000001514 detection method Methods 0.000 claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 16
- 238000004364 calculation method Methods 0.000 claims abstract description 5
- 230000000737 periodic effect Effects 0.000 claims abstract description 4
- 230000002159 abnormal effect Effects 0.000 claims description 37
- 238000012545 processing Methods 0.000 claims description 20
- 230000006870 function Effects 0.000 description 28
- 238000012544 monitoring process Methods 0.000 description 8
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 3
- 208000012661 Dyskinesia Diseases 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Abstract
Description
本発明はウォッチドッグタイマに関する。 The present invention relates to watchdog timers.
従来、エレベータの運行制御において、通常制御を行う通常制御装置とは別に、エレベータの運行が異常になったことを検出して運行を停止する安全装置が設けられている。この安全装置としては、例えば戸開走行保護装置や終端階強制減速装置が挙げられる。 Conventionally, in elevator operation control, a safety device is provided that detects abnormal operation of the elevator and stops the operation, in addition to a normal control device that performs normal control. Examples of this safety device include a door-opening protection device and a terminal floor forced deceleration device.
戸開走行保護装置は、エレベータのかごの戸が開いた状態でかごの異常な移動速度を検知した場合に、エレベータを制動する。これにより、意図せずにかごが移動することを防止できる(UCMP(Unintended Car Movement Protection))。また、終端階強制減速装置は、昇降路の終端領域で、かごの異常な移動速度を検知した場合に、エレベータを制動する。これにより、かごが昇降路の上端や下端に衝突することを防止できる(ETS(Emergency Terminal Stopping))。 The door open running protection device brakes the elevator when an abnormal moving speed of the elevator car is detected with the elevator car door open. This can prevent the car from moving unintentionally (UCMP (Unintended Car Movement Protection)). Further, the terminal floor forced deceleration device brakes the elevator when an abnormal moving speed of the car is detected in the terminal region of the hoistway. This can prevent the car from colliding with the upper or lower end of the hoistway (ETS (Emergency Terminal Stopping)).
このような安全装置に用いられるCPU(Central Processing Unit)の動作が健全かどうかをチェックするために、WDT(Watch Dog Timer:ウォッチドッグタイマ)が用いられている。WDTは、CPUから定期的に送られてくるクロック信号を監視することによって、CPUの異常を検出してCPUに通知する。 A WDT (Watch Dog Timer) is used to check whether a CPU (Central Processing Unit) used in such a safety device is operating properly. The WDT detects an abnormality in the CPU by monitoring a clock signal periodically sent from the CPU, and notifies the CPU of the abnormality.
以上のように、WDTはCPUの異常を検知してCPUに通知するものであるため、WDT自身も正常に動作していることを確認することが重要である。特許文献1には、CPUに通常のプログラム処理を実行させる期間である通常期間と、CPUの通常のプログラム処理に支障を来たさない期間であるテスト期間とを有し、CPUは、テスト期間において、WDTから異常通知を出力させるべくWDTにテスト信号を出力し、WDTから異常通知が取得できない場合にWDTの異常を検出する検査装置が開示されている。この異常通知によってCPUはリセットされない。
As described above, since the WDT detects an abnormality in the CPU and notifies the CPU, it is important to confirm that the WDT itself is operating normally.
WDTは、CPUからのクロック信号が「所定期間」以上受信できない場合にCPUに異常が発生したと判定することになるが、この「所定期間」には下限値と上限値とが設けられている。特許文献1に開示されている検査装置では、クロック信号の受信から所定期間の上限値が経過してもWDTがCPUの異常として検出しない機能喪失の不具合を検出することは可能である。しかしながら、WDTが、クロック信号の受信から所定期間の下限値よりも短いタイミングでCPUの異常として検出してしまう誤検出の不具合を検出することはできない。
The WDT determines that an abnormality has occurred in the CPU when the clock signal from the CPU cannot be received for a "predetermined period" or more, but this "predetermined period" has a lower limit value and an upper limit value. . In the inspection device disclosed in
本発明の一態様は、ウォッチドッグタイマの機能喪失と誤検出との両方を検出することができる制御装置を提供することを目的とする。 One aspect of the present invention aims to provide a control device that can detect both loss of function and false detection of a watchdog timer.
上記の課題を解決するために、本発明の一態様に係る制御装置は、プロセッサによって演算が行われる制御部と、前記プロセッサからのクロック信号を受信する時間間隔が所定期間以上となった場合に、該プロセッサを再起動させるウォッチドッグタイマと、を備え、前記制御部は、前記クロック信号の定期的な送信を中止するテストモードにおいて、前記ウォッチドッグタイマに対して前記クロック信号を1回テスト送信してからの経過時間を経過時間変数として記憶部に記録し、前記経過時間変数の値が前記所定期間の上限値を超過した場合に、前記ウォッチドッグタイマの機能喪失異常を検知するとともに、前記テスト送信の後に前記ウォッチドッグタイマによって前記プロセッサが再起動した時の、前記記憶部に記憶されている前記経過時間変数の値が前記所定期間の下限値未満である場合に、前記ウォッチドッグタイマの誤検出異常を検知する。 In order to solve the above problems, a control device according to one aspect of the present invention includes a control unit in which calculations are performed by a processor, and a control unit that operates when a time interval between receiving a clock signal from the processor is equal to or longer than a predetermined period. , a watchdog timer for restarting the processor, the control unit transmitting the clock signal to the watchdog timer once in a test mode in which periodic transmission of the clock signal is stopped. The elapsed time since the above is recorded as an elapsed time variable in the storage unit, and when the value of the elapsed time variable exceeds the upper limit value of the predetermined period, a function loss abnormality of the watchdog timer is detected, and the If the value of the elapsed time variable stored in the storage unit when the processor is restarted by the watchdog timer after test transmission is less than the lower limit value of the predetermined period, the watchdog timer is activated. Detect false positive abnormalities.
上記の課題を解決するために、本発明の一態様に係る制御装置の制御方法は、プロセッサによって演算が行われる制御部と、前記プロセッサからのクロック信号を受信する時間間隔が所定期間以上となった場合に、該プロセッサを再起動させるウォッチドッグタイマと、を備えた制御装置の制御方法であって、前記クロック信号の定期的な送信を中止するテストモードにおいて、前記ウォッチドッグタイマに対して前記クロック信号を1回テスト送信してからの経過時間を経過時間変数として記憶部に記録する記録ステップと、前記経過時間変数の値が前記所定期間の上限値を超過した場合に、前記ウォッチドッグタイマの機能喪失異常を検知する機能喪失異常検知ステップと、前記テスト送信の後に前記ウォッチドッグタイマによって前記プロセッサが再起動した時の、前記記憶部に記憶されている前記経過時間変数の値が前記所定期間の下限値未満である場合に、前記ウォッチドッグタイマの誤検出異常を検知する誤検出異常検知ステップとを含む。 In order to solve the above problems, a control method for a control device according to one aspect of the present invention includes a control unit in which calculations are performed by a processor, and a time interval between receiving clock signals from the processor that is equal to or longer than a predetermined period. a watchdog timer that restarts the processor when the processor a recording step of recording the elapsed time from one test transmission of the clock signal in the storage unit as an elapsed time variable; and a recording step of recording the elapsed time variable in the storage unit; a function loss abnormality detection step of detecting a function loss abnormality of the processor; and a function loss abnormality detection step in which the value of the elapsed time variable stored in the storage unit when the processor is restarted by the watchdog timer after the test transmission is set to the predetermined value. and a false detection abnormality detection step of detecting a false detection abnormality of the watchdog timer when the period is less than a lower limit value.
上記の構成によれば、テスト送信の後にウォッチドッグタイマによってプロセッサが再起動した際に、テスト送信されてからの経過時間が経過時間変数として記憶部に記憶されているので、再起動後のプロセッサは、記憶部に記憶されている前記経過時間変数の値を確認することによって、ウォッチドッグタイマの誤検出異常を検知することが可能となる。すなわち、上記の構成によれば、ウォッチドッグタイマの機能喪失と誤検出との両方を的確に検出することができる。 According to the above configuration, when the processor is restarted by the watchdog timer after a test transmission, the elapsed time since the test transmission is stored in the storage unit as an elapsed time variable, so that the processor after the restart By checking the value of the elapsed time variable stored in the storage unit, it is possible to detect a false detection abnormality of the watchdog timer. That is, according to the above configuration, both loss of function and false detection of the watchdog timer can be accurately detected.
また、ウォッチドッグタイマからのリセット信号でもってプロセッサがリセットされる。このため、リセット処理をテストモードと通常動作時とで同じにすることができるので、テストモードと通常動作時とを切り替えるためのプログラムを不要とすることができる。また、テストモードと通常動作時とでリセット動作が異なることによる不具合の発生を防止することができる。 The processor is also reset by a reset signal from the watchdog timer. Therefore, the reset process can be the same in the test mode and in the normal operation, so a program for switching between the test mode and the normal operation can be made unnecessary. Further, it is possible to prevent problems caused by different reset operations between the test mode and the normal operation.
前記制御部は、前記経過時間を3個以上の経過時間変数として前記記憶部に記録するとともに、所定時間間隔で順次前記経過時間変数を切り替えて記録してもよい。 The control unit may record the elapsed time in the storage unit as three or more elapsed time variables, and may sequentially switch and record the elapsed time variables at predetermined time intervals.
ウォッチドッグタイマによってプロセッサが再起動した場合、前記制御部による前記経過時間変数への経過時間の書き込みにエラーが発生する可能性が考えられる。これに対して、上記の構成によれば、1つの経過時間変数への書き込みにエラーが発生した場合でも、残りの2つ以上の経過時間変数の値は温存されていることになる。ここで、残りの2つ以上の経過時間変数の値は、所定時間間隔で順次切り替えて記録された値であるため、エラーが発生している経過時間変数の値と区別することができる。すなわち、エラーが発生していない2つ以上の経過時間変数の値によって、再起動前の経過時間を制御部が認識することができる。 If the processor is restarted by the watchdog timer, there is a possibility that an error will occur when the control unit writes the elapsed time to the elapsed time variable. In contrast, according to the above configuration, even if an error occurs in writing to one elapsed time variable, the values of the remaining two or more elapsed time variables are preserved. Here, since the values of the remaining two or more elapsed time variables are values that are sequentially switched and recorded at predetermined time intervals, they can be distinguished from the values of the elapsed time variable in which an error has occurred. That is, the control unit can recognize the elapsed time before the restart based on the values of two or more elapsed time variables in which no errors have occurred.
前記制御部は、前記プロセッサの起動がコールドスタートによって行われた場合、前記テストモードを開始してもよい。 The control unit may start the test mode when the processor is started by cold start.
上記の構成によれば、コールドスタートが行われた場合には、テストモードが実行されるので、電源の異常発生時や、通常の最初の電源投入時にウォッチドッグタイマの動作検証を確実に実行することができる。 According to the above configuration, when a cold start is performed, the test mode is executed, so the operation of the watchdog timer is reliably verified when a power supply abnormality occurs or when the power is normally turned on for the first time. be able to.
別の態様に係る乗客搬送制御装置は、エレベータである乗客搬送装置を制御する乗客搬送制御装置であって、前記乗客搬送装置の動作が異常になったことを検出する異常時動作制御部を、前記乗客搬送装置の通常動作を制御する通常制御部とは独立に備え、前記異常時動作制御部は、上述した態様の制御装置によって処理を行う。 A passenger transportation control device according to another aspect is a passenger transportation control device that controls a passenger transportation device that is an elevator, and includes an abnormality operation control unit that detects that the operation of the passenger transportation device has become abnormal. The abnormal operation control section is provided independently of the normal control section that controls the normal operation of the passenger transport device, and processes are performed by the control device of the above-described aspect.
上記の構成によれば、ウォッチドッグタイマの機能喪失と誤検出との両方を的確に検出することができる制御装置によって異常時動作制御部が動作するので、安全性の高い乗客搬送制御装置を提供することができる。 According to the above configuration, the abnormal operation control section is operated by the control device that can accurately detect both loss of function and false detection of the watchdog timer, so a highly safe passenger transport control device is provided. can do.
本発明の各態様に係る制御装置は、コンピュータによって実現してもよく、この場合には、コンピュータを前記制御装置が備える各部(ソフトウェア要素)として動作させることにより前記制御装置をコンピュータにて実現させる制御装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The control device according to each aspect of the present invention may be realized by a computer, and in this case, the control device is realized by the computer by operating the computer as each part (software element) included in the control device. A control program for a control device and a computer-readable recording medium on which the program is recorded also fall within the scope of the present invention.
本発明の一態様によれば、ウォッチドッグタイマの機能喪失と誤検出との両方を検出することができる。 According to one aspect of the present invention, both loss of function and false detection of a watchdog timer can be detected.
〔実施形態1〕
以下、本発明の一実施形態について、詳細に説明する。
[Embodiment 1]
Hereinafter, one embodiment of the present invention will be described in detail.
(エレベータ制御システム1の構成)
図1は、エレベータ制御システム1の要部の構成を示すブロック図である。エレベータ制御システム1は、乗客搬送制御装置10と、乗りかご2と、エレベータ駆動部3と、複数の乗場呼び装置4と、駆動電源31と、第1遮断回路32と、第2遮断回路33と、を備える。
(Configuration of elevator control system 1)
FIG. 1 is a block diagram showing the configuration of main parts of an
乗りかご2は、乗客が乗るかごである。当該乗りかご2が上下動することによって、乗場呼びが行われた階床から行先階として登録された階床に乗りかご2が動作して、乗客を異なる階床に搬送することができる。
乗りかご2にはかご操作盤210が設けられている。かご操作盤210には、当該乗りかご2の行先階の設定、乗りかご2の戸の開閉、および緊急連絡などを行うための複数の押しボタンスイッチが設けられている。
The
エレベータ駆動部3は、乗りかご2を駆動する装置である。エレベータ駆動部3は、第1遮断回路32および第2遮断回路33を介して、駆動電源31から供給される電力で動作する。エレベータ駆動部3としては、乗りかご2を上下動させるワイヤーを巻き上げまたは巻き下ろすモータと、乗りかご2の上下動を制動するブレーキとを備えている。
The
駆動電源31は、エレベータ駆動部3に電力を供給する電源である。第1遮断回路32および第2遮断回路33は、外部の指令に基づき、回路を閉路する直列に接続された遮断器であり、動作指令がない場合は開路している。そのため、外部の指令が無いときは、開路しており、エレベータ駆動部3が動作できないため、安全が担保される。
The
ブレーキとしては安全を考慮して、電源が供給されていない状態では制動が行われ、電源供給された状態で制動を開放するブレーキを用いる。つまり、停電などによって電源が遮断された場合は、自動的に乗りかご内の上下動が停止されることになり、乗りかご2の落下や危険な上下動を防ぐことができる。
In consideration of safety, a brake is used that applies braking when power is not supplied, and releases the brake when power is supplied. In other words, if the power is cut off due to a power outage or the like, vertical movement within the car is automatically stopped, thereby preventing the
乗場呼び装置4は、各階床に設けられた操作部であり、乗りかご2を呼ぶ機能が備わっている。乗場呼び装置4には、上方に向かうのか、下方に向かうのかを指定する押しボタンスイッチが設けられており、行先階が上方なのか、下方なのかを指定することができる。
The
乗客搬送制御装置10は、エレベ-タ制御システム1の各部を統括して制御する制御装置である。
The passenger
(乗客搬送制御装置10の構成)
乗客搬送制御装置10は、制御電源(共通)11と、通常制御部12と、異常時動作制御部(制御装置)100とを備える。
(Configuration of passenger transport control device 10)
The passenger
制御電源(共通)11は、乗客搬送制御装置10の各部に電力を供給する。
A control power source (common) 11 supplies power to each part of the passenger
通常制御部12は、乗客が操作する乗場呼び装置4およびかご操作盤210の操作に従って、エレベータ駆動部3を操作し、乗りかご2を上下動させる。すなわち、乗客の操作に従って、乗りかご2を乗場呼びが行われた階床から行先階として登録された階床に移動させる制御を行う。
The
異常時動作制御部100は、エレベータ制御システム1において異常が発生していないかを監視し、異常が発生した際には、乗客の安全を確保するためのエレベータ駆動停止制御を行う。
The abnormal
(異常時動作制御部100の構成)
異常時動作制御部100は、記憶部110と、制御部120と、ウォッチドッグタイマ(以降、WDTと省略)130と、電源監視回路140と、制御電源(個別)150と、を備える。また、図2は、異常時動作制御部100のハードウェア構成を示すブロック図である。
(Configuration of abnormal operation control unit 100)
The abnormal
制御電源(個別)150は、制御電源(共通)11から供給された電力に基づいて、電圧を降下させて異常時動作制御部100の各部に電力供給する電源である。
The control power supply (individual) 150 is a power supply that reduces the voltage based on the power supplied from the control power supply (common) 11 and supplies power to each part of the abnormal
記憶部110は、異常時動作制御部100で用いる各種変数、パラメータ、およびプログラムを記憶している。記憶部110は、プログラム処理の一時記憶を担う揮発性メモリ111と、パラメータまたは記録を残したいデータを格納する第1不揮発性メモリと、プログラムを格納する第2不揮発性メモリと、に大別される。第1不揮発性メモリおよび第2不揮発性メモリは同一の不揮発性メモリ112を用いてもよい。以降は、同一の不揮発性メモリ112を用いているものとして記載する。
The
制御部120は、エレベータ制御システム1の安全を担保する制御部であり、専用のCPU160が各種プログラムを実行することによって実現される。CPU160は、クロック信号をWDT130に出力する。また、CPU160は、WDT130または電源監視回路140が出力するリセット信号によって再起動する。制御部120に関する詳細は後述する。CPU160は、制御電源(個別)150からの電力供給によって動作する。
The
WDT130は、CPU160から入力されるクロック信号を監視し、CPU160に対してリセット信号を出力する。具体的には、クロック信号が所定期間以上出力されない場合に、WDT130は、CPU160に対してリセット信号を出力する。つまり、WDT130は、CPU160が正常にクロック信号を出力しているかを確認することにより、CPU160が正常動作をしているか否かを監視している。
WDT130 monitors the clock signal input from CPU160, and outputs a reset signal to CPU160. Specifically, when the clock signal is not output for a predetermined period or more, the
電源監視回路140は、制御電源(個別)150の出力電圧が第1所定電圧を下回った場合に、制御部120に対してリセット信号を出力する。また、CPU160は、制御電源(共通)11の出力電圧を監視し、記憶部110の不揮発性メモリにおける電圧低下フラグを定期的に更新する。電圧低下フラグは、電圧が第2所定電圧より低くなった際にオンになり、第2所定電圧以上の場合はオフになる。なお、CPU160は、制御電源(共通)11の出力電圧を分圧回路によって降圧した電圧(CPU160で扱うことができる電圧)に基づいて認識すればよい。
The power
制御電源(共通)11の出力電圧が低下した場合、まず電圧低下フラグがオンになり、その所定時間後にリセット信号が出力されるように、第1所定電圧および第2所定電圧が設定されている。これにより、電圧低下フラグが確実にオンになった状態でリセット信号による再起動が実行される。 The first predetermined voltage and the second predetermined voltage are set so that when the output voltage of the control power supply (common) 11 decreases, a voltage drop flag is first turned on, and a reset signal is output after a predetermined period of time. . As a result, the restart using the reset signal is executed with the voltage drop flag reliably turned on.
(制御部120の構成)
制御部120は、WDT管理部121と、戸開走行保護制御部122と、終端階強制減速制御部123と、を備える。
(Configuration of control unit 120)
The
戸開走行保護制御部122は、エレベータの乗りかご2の戸が開いた状態で乗りかご2の異常な移動速度を検知した場合に、第2遮断回路33によってエレベータ駆動部3への電力を遮断する。つまり、乗客が乗り降りしている可能性がある際に、乗りかご2が上下動せず安全に乗り降りできるようにエレベータ駆動部3を制御している。
When the door of the
終端階強制減速制御部123は、エレベータの最上階または最下階の近傍において、乗りかご2の異常な移動速度を検知した場合に、第2遮断回路33によってエレベータ駆動部3への電力を遮断し、強制的にブレーキを作動させ減速する。つまり、乗りかご2が上下動できる乗りかご2の昇降路の上端または下端に衝突することを防止できる。
When the terminal floor forced
なお、通常制御部12が異常を検知する場合もあり、この場合には第1遮断回路32によってエレベータ駆動部3への電力が遮断される。すなわち、通常制御部12および異常時動作制御部100の少なくともどちらか一方が異常を検知した場合に、エレベータ駆動部3への電力が遮断される。
Note that the
WDT管理部121は、WDT130が正常に機能しているか否かを管理する。つまり、CPU160の異常を検出するWDT130自身も正常に動作していることを確認することが重要であり、この確認をWDT管理部121が行う。
The WDT management unit 121 manages whether the
WDT管理部121は、テストモード処理部124と、時間記録制御部125と、異常検知部126と、を備える。
The WDT management section 121 includes a test
テストモード処理部124は、WDT130のテストモードを処理する機能ブロックである。テストモード処理部124は、WDT130に対し、通常の定期的なクロック信号の送信を停止するとともに、クロック信号を1度送信(テスト送信)する。
The test
時間記録制御部125は、テストモード処理部124がWDT130に対してクロック信号を送信してからの時間を少なくとも3個のカウンタ変数でもってカウントする。カウンタ変数のカウント方法の詳細は後述する。
The time
異常検知部126は、テストモードにおいて、WDT130からリセット信号が出力されることなく、カウンタ変数の値が所定期間の上限値を超過した場合に、WDT130に異常が発生していると判定する。また、異常検知部126は、テストモード実行中にWDT130からリセット信号が出力され、制御部120が再起動した場合に、再起動後にカウンタ変数の値が所定期間の下限値未満である場合に、WDT130に異常が発生していると判定する。
The
(コールドスタートおよびホットスタート)
ここで、本明細書におけるコールドスタートおよびホットスタートという用語の定義を説明する。
(cold start and hot start)
Here, the definitions of the terms cold start and hot start in this specification will be explained.
コールドスタートは、CPU160に対する制御電源(個別)150からの電力供給が行われていない状態から、CPU160が起動することである。そのため、コールドスタートでは、記憶部110およびCPU160の初期化作業が行われ、かつハードウェアの不具合の有無が確認される。コールドスタートは、電圧低下フラグがオンの状況において、リセット信号が出力から非出力に変化した際に、開始される。つまり、コールドスタートは、乗客搬送制御装置10の通常の電源投入時や、電源監視回路140による制御電源(個別)150の異常(停電やバックアップ電池の電圧降下など)を検出した場合に実行され、これらは上述した同じ条件で発生する。本実施形態では、WDT130の不具合の有無を確認する処理が、コールドスタートにおいて行われる。
A cold start is when the
対して、ホットスタートは、CPU160に対する制御電源(個別)150からの電力供給が行われている状態で、ソフトウェア処理だけをリセットする形式の再起動である。ホットスタートは、電圧低下フラグがオフの状況において、リセット信号が出力から非出力に変化した際に、開始される。
On the other hand, a hot start is a restart in which only software processing is reset while power is being supplied to the
なお、リセット信号が出力である間、CPU160は動作を停止する。
Note that while the reset signal is output, the
本明細書では、CPU160は、制御電源(共通)11の電圧を監視し、電圧低下を検出することで記憶部110の不揮発性メモリ112に電圧低下フラグをセットする。CPU160は、リセット信号が入力されて再起動した場合に、電圧低下フラグがセットされている際(オンの場合)に、コールドスタートを行い、電圧低下フラグがクリアされている際(オフの場合)に、ホットスタートを行う。つまり、電源監視回路140によるリセット信号ではコールドスタートを行い、WDT130によるリセット信号ではホットスタートを行う。
In this specification, the
(制御部120の動作)
図3は、制御部120の動作例を示すフローチャートである。なお、CPU160は前述のように、制御電源(共通)11の出力電圧を監視して電圧低下フラグを定期的に更新している。
(Operation of control unit 120)
FIG. 3 is a flowchart showing an example of the operation of the
制御部120が起動すると、まずS10において、エレベータ駆動部3のモータおよびブレーキへの給電を不可とする(S10)。これにより、安全が確認できるまで乗りかご2の運転は停止される。
When the
制御部120は、CPU160の起動時に不揮発性メモリ112を確認し、電圧低下フラグがオンか否かを確認する(S11)。つまり、S11では、CPU160の起動がコールドスタートなのか(S11でYes)、ホットスタート(S11でNo)なのかが判定されている。
The
コールドスタートしていた場合(S11でYes)、制御部120は、異常時動作制御部(制御装置)100の初期化処理を行う(S12)。
If a cold start has been performed (Yes in S11), the
また、テストモード処理部124は、記憶部110の揮発性メモリ111における3個のカウンタ変数に初期値を記録し、WDT130にクロック信号を1度送信する(S13)。ここで、カウンタ変数(経過時間変数)は、記憶部110の揮発性メモリ111に記憶されるデータである。カウンタ変数の詳細に関しては後述する。
Further, the test
時間記録制御部125は、所定時間間隔で更新するタイマー値でもって各カウンタ変数を順番に更新する(S14)。その後、異常検知部126は、カウンタ値(各カウンタ変数の値の最大値)が、所定の上限値を超過していないかを判断する(S15)。異常検知部126は、カウンタ値が、所定の上限値を超過していない場合(S15においてNo)、S14に戻りカウントアップを継続する。
The time
対して、異常検知部126は、カウンタ値が、所定の上限値を超過していた場合(S15においてYes)、WDT130がCPU160の監視機能を喪失している状態(WDT機能喪失)であると判断する(S16)。これは、WDT130が正常に動作していた場合、カウンタ変数が所定の上限値までカウントアップする前に、WDT130は制御部120に対してリセット信号を出力しているはずである。それにも関わらず、所定の上限値までカウントアップしたことから、異常検知部126は、WDT130が機能を喪失していると判断している。これは、例えば、(1)WDT130の判断処理が異常となっている、(2)制御部120とWDT130との間の接続状態や、WDT130の出力回路で何等かの異常が発生しており、CPU160へのリセット信号をWDT130が正常に出力できなくなっている、などの原因が考えられる。
On the other hand, if the counter value exceeds the predetermined upper limit value (Yes in S15), the
一方、ホットスタートしていた場合(S11でNo)、テストモード処理部124は、カウンタ変数がリセット値かどうかを判断する(S17)。カウンタ変数がリセット値であった場合(S17においてYes)、テストモード中ではなく、戸開走行保護制御部122または終端階強制減速制御部123の稼働中にホットスタートが行われたことになるので、安全を確保するために、エレベータ駆動部3のモータおよびブレーキへの給電を許可することなく処理を終了する。
On the other hand, if a hot start has been performed (No in S11), the test
対して、カウンタ変数がリセット値ではなかった場合(S17においてNo)は、S15においてNoと判断されてループしている期間にリセット信号が入力されることによって推移したものである。この場合異常検知部126は、異常検知部126は、カウンタ変数を参照することで、カウンタ変数に異常な値がないかを調べる(詳細は後述)。異常な値があった場合に、異常検知部126は正常な現在のカウンタ値を所定のプロセス(詳細は後述)によって認識する(S18)。異常な値がなかった場合は、現在のカウンタ値は各カウンタ変数の値の中の最大の値である。
On the other hand, if the counter variable is not the reset value (No in S17), the transition was caused by inputting the reset signal during the loop period after it was determined No in S15. In this case, the
異常検知部126は、現在のカウンタ値が所定の下限値未満かを判断する(S19)。カウンタ変数が所定の下限値未満の場合(S19においてYes)、異常検知部126はWDT130が誤検出をしている状態(WDT誤検出状態)であると判断する(S20)。
The
WDT130が所定のタイミングよりも早くリセット信号を出力したと判断され、CPU160が正常であるにもかかわらず、WDT130が過剰にCPU160の異常を検知する、という誤検出が発生しているものと考えられる。よって、異常検知部126は、S19の判断によりWDT誤検出状態であると判断している。これは、例えば、(1)WDT130の判断処理が異常となっている、(2)制御部120とWDT130との間の接続状態またはWDT130の入力回路において何等かの異常が発生しており、CPU160からのクロック信号をWDT130が正常に受信できなくなっている、などの原因が考えられる。
It is thought that the
異常検知部126は、WDT機能喪失またはWDT誤検出状態と判断した場合、カウンタ変数にリセット値を記録する(S21)。その後、乗りかご2内の表示装置や乗場における表示装置に、異常事態が発生したため動作を停止している旨の通知表示が行われるように、異常時動作制御部100が制御を行ってもよい。また、異常時動作制御部100が、異常検知時にその旨をエレベータ管理会社に自動的に通知する機能を有していても良い。
When the
一方、カウンタ変数が所定の下限値未満ではない場合(S19においてNo)、異常検知部126は、正常にCPU160のリセット動作が行われたと判断し、WDT130の機能が正常である(WDT正常)と判断する(S23)。
On the other hand, if the counter variable is not less than the predetermined lower limit value (No in S19), the
異常検知部126は、WDT正常と判断した場合、カウンタ変数にリセット値を記録する(S24)。その後、WDT管理部121は、エレベータ駆動部3のモータおよびブレーキへの給電を可とする(S25)。そのため、通常制御部12がエレベータ駆動部3への給電を可としていた場合、乗りかご2は通常動作することができる。
When the
以後、制御部120は、戸開走行保護制御部122、終端階強制減速制御部123を稼働させる(S26)。そして、クロック信号が所定期間以上出力されない場合にWDT130がリセット信号を出力することのないように、CPU160はクロック信号を出力する。なお、この間も制御部120およびWDT130は動作を続け、乗りかご2の運行中にエレベータ駆動部3を安全停止させること、または制御部120を再起動させることもある。
Thereafter, the
つまり、異常時動作制御部は次の4通りの処理を行っている。 In other words, the abnormal operation control section performs the following four types of processing.
(1)コールドスタートで機能喪失の判断(S11でYESの場合の処理)
(2)ホットスタートで誤検出状態の判断(S11でNO、S17でNO、S19でYESの場合の処理)
(3)ホットスタートで正常の判断(S11でNO、S17でNO、S19でNOの場合の処理)
(4)戸開走行保護制御部122、終端階強制減速制御部123の稼働中にホットスタート(S11でNO、S17でYESの場合の処理)
ここで、S15においてNoと判断されてループしている期間((1)のコールドスタートした場合)に、リセット信号が入力されることによって、(2)(3)の処理に推移する。また、S26において通常動作を行っている期間((3)のホットスタートで正常な場合)に、リセット信号が入力されることによって、(4)の処理に推移する。
(1) Determination of loss of function due to cold start (processing when YES in S11)
(2) Determination of false detection status at hot start (processing in case of NO in S11, NO in S17, YES in S19)
(3) Judgment of normality by hot start (processing in case of NO in S11, NO in S17, NO in S19)
(4) Hot start while the door open running
Here, when the reset signal is input during the period in which the determination is No in S15 and the process is in a loop (in the case of a cold start in (1)), the process moves to steps (2) and (3). Furthermore, when a reset signal is input during the normal operation in S26 (when the hot start is normal in (3)), the process shifts to (4).
(カウンタ変数のカウントアップ)
図4は、揮発性メモリ111における3個のカウンタ変数のカウントアップの仕方を示す表である。
(counter variable count up)
FIG. 4 is a table showing how the three counter variables in the
時間記録制御部125は、所定時間間隔(「1ms」)でカウンタ変数を順番に更新していく。この更新に用いるカウントの増分は「1」である。
The time
S13においてカウンタ変数に初期値を記録する際に、0msにおいて、第1カウンタ変数(CNT1)に-2を、第2カウンタ変数(CNT2)に-1を、第3カウンタ変数(CNT3)に0を、代入する。 When recording the initial value to the counter variable in S13, at 0 ms, -2 is set to the first counter variable (CNT1), -1 is set to the second counter variable (CNT2), and 0 is set to the third counter variable (CNT3). ,substitute.
S21およびS24のリセット値は、例えば、第1カウンタ変数、第2カウンタ変数、および第3カウンタ変数全てを0とする。なお、リセット値はカウント中の発生値または初期値とは異なる値であれば、任意の値でよい。 The reset values in S21 and S24 are, for example, the first counter variable, the second counter variable, and the third counter variable all set to 0. Note that the reset value may be any value as long as it is different from the value generated during counting or the initial value.
その後、時間記録制御部125は、第1カウンタ変数、第2カウンタ変数、第3カウンタ変数の順番でその時のタイマー値でもってカウンタ変数を更新していく。第3カウンタ変数の次は第1カウンタ変数に戻り、カウントアップを続けていく。
Thereafter, the time
つまり、1msにおいては第1カウンタ変数を「1」にし、2msにおいては第2カウンタ変数を「2」にし、3msにおいては第3カウンタ変数を「3」にし、4msにおいては第1カウンタ変数を「4」にする。対象のカウンタ変数を除いた他のカウンタ変数は変化させない。このように、順番にカウンタ変数が更新されていく。 That is, at 1 ms, the first counter variable is set to "1", at 2 ms, the second counter variable is set to "2", at 3 ms, the third counter variable is set to "3", and at 4 ms, the first counter variable is set to "2". Set it to 4. Counter variables other than the target counter variable are not changed. In this way, the counter variables are updated in order.
ここで、カウントアップの途中でWDT130からリセット信号がCPU160に入力されることがある。この際、そのタイミングでカウントアップするはずだったカウンタ変数に間違った値で書き込まれていることがある。
Here, a reset signal may be input to the
例えば、図4における例では、7msにおいて、第1カウンタ変数に「7」が書き込まれるはずだったところ、このタイミングでリセット信号が入力されたために、第1カウンタ変数が「26」という間違った値で書き込まれている。 For example, in the example shown in FIG. 4, "7" was supposed to be written to the first counter variable at 7 ms, but because the reset signal was input at this timing, the first counter variable changed to the wrong value "26". It is written in.
(適切なカウンタ値の特定)
ここで、当該リセット信号でもって制御部120はホットスタートするが、ホットスタートした際にはS18において、上述した例のような間違った値が書き込まれていないかを判断し、適切なカウンタ値を特定する必要がある。
(Identification of appropriate counter value)
Here, the
3個のカウンタ変数は順番に更新しているため、それぞれのカウンタ値には所定の対応関係がある。具体的には、(a)第2カウンタ変数は第1カウンタ変数よりも増分だけ大きい。(b)第3カウンタ変数は第2カウンタ変数よりも増分だけ大きい。(c)第1カウンタ変数は第3カウンタ変数よりも増分だけ大きい。(a)~(c)の対応関係のうち、1個が成り立たない場合(2個が同時に成り立つ場合)が正常である。異常検知部126は、この対応関係のうち1個のみだけ成り立つ場合(他2個は対応関係が成り立たない場合)、いずれかのカウンタ変数に間違った値が書き込まれたと判断する。
Since the three counter variables are updated in order, each counter value has a predetermined correspondence relationship. Specifically, (a) the second counter variable is greater than the first counter variable by an increment. (b) the third counter variable is incrementally greater than the second counter variable; (c) the first counter variable is incrementally greater than the third counter variable; It is normal if one of the correspondence relationships (a) to (c) does not hold true (two hold true at the same time). If only one of these correspondences holds true (the other two do not hold the correspondences), the
この対応関係を上述した例の7msにおいて確認する。第2カウンタ変数は第1カウンタ変数よりも増分だけ大きくない。第3カウンタ変数は第2カウンタ変数よりも増分だけ大きい。第1カウンタ変数は第3カウンタ変数よりも増分だけ大きくない。以上の3個の対応関係から、第3カウンタ変数の更新までは正常に処理が進んでいたことがわかる。したがって、異常検知部126は、現在のカウンタ値を正常に処理が進んでいた直近のタイミングのカウンタ値である「6」と特定する。
This correspondence is confirmed at 7 ms in the above example. The second counter variable is not incrementally greater than the first counter variable. The third counter variable is incrementally larger than the second counter variable. The first counter variable is not incrementally greater than the third counter variable. From the above three correspondences, it can be seen that the processing proceeded normally until the third counter variable was updated. Therefore, the
また、直近のタイミングのカウンタ値である「6」ではなく、本来正常に処理が進んでいた場合に書き込まれたであろうカウンタ値である「7」と特定してもよい。 Furthermore, instead of the counter value "6" at the most recent timing, it may be specified as "7", which is the counter value that would have been written if the processing had originally progressed normally.
S18以降の処理では、この特定したカウンタ値でもって判断を行う。そのため、ホットスタートなどによって、カウンタ変数のいずれか1個に異常な値が書き込まれた場合であっても、少なくとも2個の連続したカウンタ変数が正常な場合、異常が発生したカウンタ値を特定することができる。 In the processes after S18, judgments are made based on this specified counter value. Therefore, even if an abnormal value is written to one of the counter variables due to a hot start, etc., if at least two consecutive counter variables are normal, the counter value in which the abnormality occurred can be identified. be able to.
(小括)
したがって、カウンタ値が所定の上限値を超過した場合にWDT130の機能喪失と判断することができ、また、カウンタ値が所定の下限値未満である場合にWDT130の誤検出と判断することができる。すなわち、WDT130の機能喪失と誤検出との両方を的確に検出することができる。
(Brief Summary)
Therefore, when the counter value exceeds the predetermined upper limit value, it can be determined that the
また、WDT130によるリセット信号のタイミングによっては、カウンタ変数の更新において、異常なカウンタ値へと書き込まれてしまうことがある。このような際でも、直近で正常であったカウンタ値、または正常な場合でのカウンタ値を特定することができ、リセット前またはリセット時のカウンタ値をWDT管理部121が認識することができる。
Furthermore, depending on the timing of the reset signal from the
さらに、テストモードによってWDT130の状態の診断に加え、制御部120とWDT130との間の接続状態と、WDT130の入力回路の状態と、WDT130の出力回路の状態と、をも合わせて診断することができる。
Furthermore, in addition to diagnosing the state of the
上記の構成によれば、テストモードにおいては経過時間変数の値は所定の初期値またはテストモードの実際の経過時間となる一方、テストモードが終了すると、経過時間変数の値は、カウント中の発生値または初期値とは異なるリセット値となる。よって、CPU160の再起動が行われた場合に、テストモード中に実行された再起動であるのか、テストモードではない通常動作時の再起動であるのかを、経過時間変数を確認することによって制御部120は把握することができる。
According to the above configuration, in the test mode, the value of the elapsed time variable is the predetermined initial value or the actual elapsed time of the test mode, while when the test mode ends, the value of the elapsed time variable is The reset value will be different from the value or initial value. Therefore, when the
なお、前記した特許文献1では、テストモードにおいては、WDTからCPUに異常通知が行われても、CPUをリセットしない制御が行われている。すなわち、テストモードと通常動作時とで、WDTから異常通知が行われた場合の処理が異なることになり、それに対応できるようなプログラムを組んでおく必要がある。また、テストモードと通常動作時とでリセット動作が異なる場合、テストモードでは問題がなかったが通常動作時では適切なリセット動作ができないというような不具合が発生する虞もある。
In addition, in the above-mentioned
一方、本実施形態における制御部120によれば、テストモード中であっても、WDT130からのリセット信号でもって制御部120が再起動される。このため、リセット処理をテストモードと通常動作時とで同じにすることができるので、テストモードと通常動作時とを切り替えるためのプログラムを不要とすることができる。また、テストモードと通常動作時とでリセット動作が異なることによる不具合の発生を防止することができる。
On the other hand, according to the
〔実施形態2〕
本発明の他の実施形態について、以下に説明する。なお、説明の便宜上、上記実施形態にて説明した部位と同じ機能を有する部位については、同じ符号を付記し、その説明を繰り返さない。
[Embodiment 2]
Other embodiments of the invention will be described below. For convenience of explanation, parts having the same functions as those described in the above embodiment are given the same reference numerals, and the description thereof will not be repeated.
(カウンタ変数が4個の場合)
記憶部110のカウンタ変数を4個設けても良い。図5は、4個のカウンタ変数のカウントアップの仕方を示す表である。
(When there are 4 counter variables)
Four counter variables may be provided in the
カウンタ変数に初期値を記録する際に、0msにおいて、第1カウンタ変数(CNT1)に-3を、第2カウンタ変数(CNT2)に-2を、第3カウンタ変数(CNT3)に-1を、第4カウンタ変数(CNT4)に0を代入する。 When recording the initial value to the counter variable, at 0 ms, -3 is set to the first counter variable (CNT1), -2 is set to the second counter variable (CNT2), -1 is set to the third counter variable (CNT3), Assign 0 to the fourth counter variable (CNT4).
その後、時間記録制御部125は、第1カウンタ変数、第2カウンタ変数、第3カウンタ変数、第4カウンタ変数の順番でその時のタイマー値でもってカウンタ変数を更新していく。第4カウンタ変数の次は第1カウンタ変数に戻り、カウントアップを続けていく。
Thereafter, the time
つまり、1msにおいては第1カウンタ変数を「1」にし、2msにおいては第2カウンタ変数を「2」にし、3msにおいては第3カウンタ変数を「3」にし、4msにおいては第4カウンタ変数を「4」にし、5msにおいては第1カウンタ変数を「5」にする。このように、順番にカウンタ変数が更新されていく。 That is, at 1 ms, the first counter variable is set to "1", at 2 ms, the second counter variable is set to "2", at 3 ms, the third counter variable is set to "3", and at 4 ms, the fourth counter variable is set to " 4", and at 5 ms, the first counter variable is set to "5". In this way, the counter variables are updated in order.
また、4個のカウンタ変数は順番に更新されているため、それぞれのカウンタ変数には所定の対応関係がある。具体的には、(d)第2カウンタ変数は第1カウンタ変数よりも増分だけ大きい。(e)第3カウンタ変数は第2カウンタ変数よりも増分だけ大きい。(f)第4カウンタ変数は第3カウンタ変数よりも増分だけ大きい。(g)第1カウンタ変数は第4カウンタ変数よりも増分だけ大きい。この(d)~(g)の対応関係を、異常検知部126は確認し、カウンタ値の異常を判別する。判断の方法は上述した方法と同様であり、4個の対応関係のうち、3個が成り立つ場合に正常と判断する。
Furthermore, since the four counter variables are updated in order, each counter variable has a predetermined correspondence. Specifically, (d) the second counter variable is greater than the first counter variable by an increment. (e) the third counter variable is incrementally greater than the second counter variable; (f) The fourth counter variable is incrementally greater than the third counter variable. (g) the first counter variable is incrementally greater than the fourth counter variable; The
このように、カウンタ変数の個数は3個に限定されず、少なくとも3個以上、例えば4個であっても構わない。カウンタ変数の数が4個である場合は、カウンタ変数が3個である場合よりも信頼性を高めることができる。つまり、カウンタ変数の個数が3個の場合には、2個のカウンタ変数の値が所定の関係にある場合に、それらの値は適切な書き込みが行われた値であると判定するが、異常な書き込みが行われた場合でも偶然に所定の関係を満たす可能性があり、カウンタ値の認識を誤る可能性がある。これに対して、カウンタ変数の個数が4個の場合には、3個のカウンタ変数の値が所定の関係にある場合に、それらの値は適切な書き込みが行われた値であると判定することになるので、上記の判定誤りの可能性を大幅に低減することができる。ただし、カウンタ変数の個数は少ない方が、必要とされるメモリ容量を少なくすることができるので、信頼性とメモリ容量とのトレードオフの関係を考慮して、状況に応じた異常時動作制御部100の設計が行われることが好ましい。 In this way, the number of counter variables is not limited to three, but may be at least three or more, for example four. When the number of counter variables is four, reliability can be improved more than when there are three counter variables. In other words, when the number of counter variables is three, if the values of two counter variables have a predetermined relationship, those values are determined to have been properly written, but if there is an abnormality, Even if a certain write is performed, there is a possibility that the predetermined relationship will be satisfied by chance, and there is a possibility that the counter value will be misrecognized. On the other hand, when the number of counter variables is 4, if the values of the 3 counter variables have a predetermined relationship, it is determined that the values have been appropriately written. Therefore, the possibility of the above-mentioned judgment error can be significantly reduced. However, if the number of counter variables is small, the required memory capacity can be reduced. Therefore, considering the trade-off relationship between reliability and memory capacity, the abnormal operation control section Preferably, 100 designs are made.
図6は、4個のカウンタ変数の別のカウントアップの仕方を示す表である。図6では、図5に対して、各カウンタ変数の初期値が異なっている。また、更新周期(所定の時間間隔)が1msではなく、2msになり、増分が1ではなく2になっている。このようにカウンタ変数のカウントアップの仕方は種々の変更を行うことができる。 FIG. 6 is a table showing another way of counting up four counter variables. In FIG. 6, the initial values of each counter variable are different from those in FIG. Furthermore, the update period (predetermined time interval) is now 2 ms instead of 1 ms, and the increment is 2 instead of 1. In this way, the method of counting up the counter variable can be changed in various ways.
〔変形例〕
(カウンタ変数の記憶形態)
実施形態1および2では、カウンタ変数を揮発性メモリに記憶したが、不揮発性メモリに記憶しても構わない。
[Modified example]
(Storage format of counter variables)
In the first and second embodiments, the counter variables are stored in volatile memory, but they may be stored in nonvolatile memory.
(ホットスタートにおけるテストモード)
実施形態1および2では、コールドスタートにおいてテストモードが開始(WDT130に対して制御部120がクロックを1度送信する)されたが、これに限定されない。例えば、ホットスタートした場合であっても、テストモードが開始されてもよい。
(Test mode in hot start)
In the first and second embodiments, the test mode is started at a cold start (the
(スケジュールによるホットスタート)
通常制御部12におけるスケジュール機能によって、テストモードを強制的に実施してもよい。例えば、異常時動作制御部100は、WDT130を一日に一度リセットする。これにより、テストモードが定期的に実行されることになるので、異常時動作制御部100の信頼性を高めることができる。また、ユーザが、例えば点検時などにエレベータの通常稼働が行われていない状態で、手動でテストモードを実行することが可能になっていてもよい。
(Hot start according to schedule)
The test mode may be forcibly implemented using the schedule function in the
(不揮発性メモリ112のデータ)
記憶部110の不揮発性メモリ112に、カウンタ変数の更新周期、カウンタ変数に対する増分の値、およびカウンタ変数の上限値・下限値をパラメータとして記憶してもよい。また、これらパラメータの決定は、制御部120で用いるCPUの仕様によって定まるカウンタ変数のカウント上限値と、WDT130で監視すべき所定期間との関係で定まる。
(Data in non-volatile memory 112)
The update period of the counter variable, the increment value for the counter variable, and the upper and lower limit values of the counter variable may be stored as parameters in the
(乗客コンベアに対する適用)
実施形態1および2におけるエレベータ制御システム1は、乗りかご2を上下動させるエレベータを制御対象とした。しかしながら、異常時動作制御部100は、エレベータの制御に限定されない。具体的には、異常時動作制御部100は、エスカレーターまたは動く歩道などの乗客コンベアを制御対象にしてもよい。これらの場合でも、テストモードにおいて、WDT130の機能喪失および誤検出を検出した場合に、乗客コンベアのモータおよびブレーキの制御を行うことによって、安全停止動作を実現することができる。
(Application to passenger conveyor)
The
〔ソフトウェアによる実現例〕
異常時動作制御部100(以下、「装置」と呼ぶ)の機能は、当該装置としてコンピュータを機能させるためのプログラムであって、当該装置の各制御ブロック(特に制御部120に含まれる各部)としてコンピュータを機能させるためのプログラムにより実現することができる。
[Example of implementation using software]
The function of the abnormal operation control unit 100 (hereinafter referred to as the “device”) is a program for making a computer function as the device, and each control block of the device (particularly each part included in the control unit 120) This can be realized by a program for making a computer function.
この場合、上記装置は、上記プログラムを実行するためのハードウェアとして、少なくとも1つの制御装置(例えばプロセッサ)と少なくとも1つの記憶装置(例えばメモリ)を有するコンピュータを備えている。この制御装置と記憶装置により上記プログラムを実行することにより、上記各実施形態で説明した各機能が実現される。 In this case, the device includes a computer having at least one control device (for example, a processor) and at least one storage device (for example, a memory) as hardware for executing the program. By executing the above program using this control device and storage device, each function described in each of the above embodiments is realized.
上記プログラムは、一時的ではなく、コンピュータ読み取り可能な、1または複数の記録媒体に記録されていてもよい。この記録媒体は、上記装置が備えていてもよいし、備えていなくてもよい。後者の場合、上記プログラムは、有線または無線の任意の伝送媒体を介して上記装置に供給されてもよい。 The above program may be recorded on one or more computer-readable recording media instead of temporary. This recording medium may or may not be included in the above device. In the latter case, the program may be supplied to the device via any transmission medium, wired or wireless.
また、上記各制御ブロックの機能の一部または全部は、論理回路により実現することも可能である。例えば、上記各制御ブロックとして機能する論理回路が形成された集積回路も本発明の範疇に含まれる。この他にも、例えば量子コンピュータにより上記各制御ブロックの機能を実現することも可能である。 Further, part or all of the functions of each of the control blocks described above can also be realized by a logic circuit. For example, an integrated circuit in which a logic circuit functioning as each of the control blocks described above is formed is also included in the scope of the present invention. In addition to this, it is also possible to realize the functions of each of the control blocks described above using, for example, a quantum computer.
また、上記各実施形態で説明した各処理は、AI(Artificial Intelligence:人工知能)に実行させてもよい。この場合、AIは上記制御装置で動作するものであってもよいし、他の装置(例えばエッジコンピュータまたはクラウドサーバ等)で動作するものであってもよい。 Further, each process described in each of the above embodiments may be executed by AI (Artificial Intelligence). In this case, the AI may operate on the control device, or may operate on another device (for example, an edge computer or a cloud server).
〔付記事項〕
本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。
[Additional notes]
The present invention is not limited to the embodiments described above, and various modifications can be made within the scope of the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. are also included within the technical scope of the present invention.
1 エレベータ制御システム
2 乗りかご
3 エレベータ駆動部
4 乗場呼び装置
10 乗客搬送制御装置
11 制御電源(共通)
12 通常制御部
31 駆動電源
32 第1遮断回路
33 第2遮断回路
100 異常時動作制御部(制御装置)
110 記憶部
111 揮発性メモリ
112 不揮発性メモリ
120 制御部
121 WDT管理部
122 戸開走行保護制御部
123 終端階強制減速制御部
124 テストモード処理部
125 時間記録制御部
126 異常検知部
130 ウォッチドッグタイマ(WDT)
140 電源監視回路
150 制御電源(個別)
160 CPU
210 かご操作盤
1
12
110
140 Power
160 CPUs
210 Car operation panel
Claims (5)
前記プロセッサからのクロック信号を受信する時間間隔が所定期間以上となった場合に、該プロセッサを再起動させるウォッチドッグタイマと、
を備え、
前記制御部は、前記クロック信号の定期的な送信を中止するテストモードにおいて、
前記ウォッチドッグタイマに対して前記クロック信号を1回テスト送信してからの経過時間を経過時間変数として記憶部に記録し、
前記経過時間変数の値が前記所定期間の上限値を超過した場合に、前記ウォッチドッグタイマの機能喪失異常を検知するとともに、
前記テスト送信の後に前記ウォッチドッグタイマによって前記プロセッサが再起動した時の、前記記憶部に記憶されている前記経過時間変数の値が前記所定期間の下限値未満である場合に、前記ウォッチドッグタイマの誤検出異常を検知することを特徴とする制御装置。 a control unit in which calculations are performed by a processor;
a watchdog timer that restarts the processor when a time interval for receiving clock signals from the processor exceeds a predetermined period;
Equipped with
In a test mode in which the regular transmission of the clock signal is stopped, the control unit
Recording the elapsed time since one test transmission of the clock signal to the watchdog timer as an elapsed time variable in a storage unit;
When the value of the elapsed time variable exceeds the upper limit value of the predetermined period, detecting a functional loss abnormality of the watchdog timer,
If the value of the elapsed time variable stored in the storage unit when the processor is restarted by the watchdog timer after the test transmission is less than the lower limit value of the predetermined period, the watchdog timer A control device characterized by detecting a false detection abnormality.
前記プロセッサからのクロック信号を受信する時間間隔が所定期間以上となった場合に、該プロセッサを再起動させるウォッチドッグタイマと、を備えた制御装置の制御方法であって、
前記クロック信号の定期的な送信を中止するテストモードにおいて、
前記ウォッチドッグタイマに対して前記クロック信号を1回テスト送信してからの経過時間を経過時間変数として記憶部に記録する記録ステップと、
前記経過時間変数の値が前記所定期間の上限値を超過した場合に、前記ウォッチドッグタイマの機能喪失異常を検知する機能喪失異常検知ステップと、
前記テスト送信の後に前記ウォッチドッグタイマによって前記プロセッサが再起動した時の、前記記憶部に記憶されている前記経過時間変数の値が前記所定期間の下限値未満である場合に、前記ウォッチドッグタイマの誤検出異常を検知する誤検出異常検知ステップとを含むことを特徴とする制御装置の制御方法。 a control unit in which calculations are performed by a processor;
A control method for a control device comprising: a watchdog timer that restarts the processor when a time interval of receiving a clock signal from the processor is equal to or longer than a predetermined period;
In a test mode in which the periodic transmission of the clock signal is stopped,
a recording step of recording the elapsed time since one test transmission of the clock signal to the watchdog timer in a storage unit as an elapsed time variable;
a function loss abnormality detection step of detecting a function loss abnormality of the watchdog timer when the value of the elapsed time variable exceeds an upper limit value of the predetermined period;
If the value of the elapsed time variable stored in the storage unit when the processor is restarted by the watchdog timer after the test transmission is less than the lower limit value of the predetermined period, the watchdog timer A method for controlling a control device, comprising: a step of detecting a false positive abnormality.
前記乗客搬送装置の動作が異常になったことを検出する異常時動作制御部を、前記乗客搬送装置の通常動作を制御する通常制御部とは独立に備え、
前記異常時動作制御部は、請求項1または2に記載の制御装置によって処理を行うことを特徴とする乗客搬送制御装置。 A passenger transport control device that controls a passenger transport device that is an elevator,
an abnormal operation control unit that detects that the operation of the passenger transport device has become abnormal, independent of a normal control unit that controls normal operation of the passenger transport device;
A passenger transport control device, wherein the abnormal operation control section performs processing by the control device according to claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022091123A JP7279836B1 (en) | 2022-06-03 | 2022-06-03 | CONTROL DEVICE, CONTROL METHOD, AND PASSENGER TRANSPORT CONTROL DEVICE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022091123A JP7279836B1 (en) | 2022-06-03 | 2022-06-03 | CONTROL DEVICE, CONTROL METHOD, AND PASSENGER TRANSPORT CONTROL DEVICE |
Publications (2)
Publication Number | Publication Date |
---|---|
JP7279836B1 JP7279836B1 (en) | 2023-05-23 |
JP2023178072A true JP2023178072A (en) | 2023-12-14 |
Family
ID=86395860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022091123A Active JP7279836B1 (en) | 2022-06-03 | 2022-06-03 | CONTROL DEVICE, CONTROL METHOD, AND PASSENGER TRANSPORT CONTROL DEVICE |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7279836B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08202589A (en) * | 1995-01-24 | 1996-08-09 | Nec Home Electron Ltd | Information processor and fault diagnostic method |
WO2006090470A1 (en) * | 2005-02-25 | 2006-08-31 | Mitsubishi Denki Kabushiki Kaisha | Elevator apparatus |
JP2013156732A (en) * | 2012-01-27 | 2013-08-15 | Hitachi Ltd | Control device and control method for elevator |
JP2020091683A (en) * | 2018-12-06 | 2020-06-11 | ローム株式会社 | Window type watchdog timer and semiconductor device |
-
2022
- 2022-06-03 JP JP2022091123A patent/JP7279836B1/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08202589A (en) * | 1995-01-24 | 1996-08-09 | Nec Home Electron Ltd | Information processor and fault diagnostic method |
WO2006090470A1 (en) * | 2005-02-25 | 2006-08-31 | Mitsubishi Denki Kabushiki Kaisha | Elevator apparatus |
JP2013156732A (en) * | 2012-01-27 | 2013-08-15 | Hitachi Ltd | Control device and control method for elevator |
JP2020091683A (en) * | 2018-12-06 | 2020-06-11 | ローム株式会社 | Window type watchdog timer and semiconductor device |
Also Published As
Publication number | Publication date |
---|---|
JP7279836B1 (en) | 2023-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6263552B2 (en) | Elevator safety system | |
KR100204102B1 (en) | A passenger conveyor control apparatus | |
JP5816102B2 (en) | Electronic safety elevator | |
WO2006090470A1 (en) | Elevator apparatus | |
JPS638034B2 (en) | ||
WO2006106575A1 (en) | Elevator apparatus | |
JP5624845B2 (en) | Electronic safety elevator | |
WO2006033153A1 (en) | Elevator apparatus | |
WO2018087803A1 (en) | Elevator control device, control method, and elevator | |
WO2018122918A1 (en) | Elevator control device | |
JP2023178072A (en) | Control device, control method, and passenger transport control device | |
CN111295350B (en) | Safety monitoring device for monitoring safety-critical states in a people conveyor and method for operating such a safety monitoring device | |
JP2010222139A (en) | Elevator operating device | |
JP6230729B2 (en) | Elevator safety control device and elevator safety control method | |
CN114007972B (en) | Elevator system | |
KR102143902B1 (en) | Elevator breakdown remote recovery system | |
JPS6118686A (en) | Controller for elevator | |
JPH10316324A (en) | Elevator controller | |
KR850000650B1 (en) | Elevator control system | |
JP2781484B2 (en) | Monitoring system for passenger conveyor | |
JPS63208488A (en) | Safety stoppage confirming device for elevator | |
JPH03205291A (en) | Controller for passenger conveyor | |
JPH04133983A (en) | Controller for elevator | |
JP2920037B2 (en) | Elevator control device | |
JPS63171783A (en) | Elevator controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220603 |
|
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: 20230411 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230424 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7279836 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |