JP5613407B2 - Remote control switch device and electric actuator - Google Patents

Remote control switch device and electric actuator Download PDF

Info

Publication number
JP5613407B2
JP5613407B2 JP2009288038A JP2009288038A JP5613407B2 JP 5613407 B2 JP5613407 B2 JP 5613407B2 JP 2009288038 A JP2009288038 A JP 2009288038A JP 2009288038 A JP2009288038 A JP 2009288038A JP 5613407 B2 JP5613407 B2 JP 5613407B2
Authority
JP
Japan
Prior art keywords
state
remote control
button
angle
control switch
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.)
Expired - Fee Related
Application number
JP2009288038A
Other languages
Japanese (ja)
Other versions
JP2011125552A (en
Inventor
義勝 細谷
義勝 細谷
純也 北澤
純也 北澤
朋輝 宇田川
朋輝 宇田川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsuba Corp
Original Assignee
Mitsuba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsuba Corp filed Critical Mitsuba Corp
Priority to JP2009288038A priority Critical patent/JP5613407B2/en
Publication of JP2011125552A publication Critical patent/JP2011125552A/en
Application granted granted Critical
Publication of JP5613407B2 publication Critical patent/JP5613407B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Invalid Beds And Related Equipment (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、電動ベッドや運搬車のように電動で作動する電動式作動台において遠隔操作(リモコン)用の手元スイッチとして使用されるリモコンスイッチ装置に関し、特に、人の意図としない状況でリモコン操作が行われても、電動式作動台が作動することなく、かつ、人の意図とする状況での操作を複雑化しない、リモコンスイッチ装置、及び該リモコンスイッチ装置を備える電動式作動台に関する。   The present invention relates to a remote control switch device used as a hand switch for remote operation (remote control) in an electrically operated operating table such as an electric bed or a transport vehicle, and in particular, remote control operation in a situation not intended by a person. The present invention relates to a remote control switch device that does not operate an electric operating table and does not complicate an operation in a situation intended by a person, and an electric operating table including the remote control switch device.

従来、電動ベッドにはベッド操作用のリモコンスイッチ装置(単に「リモコン」とも呼ぶ)を備えたものがあり、このリモコンによる誤操作を防ぐようにしたものがある。例えば、スイッチ操作が困難な使用者や一連の連動動作を理解できない使用者が操作する際に、ベッド等のボトムの連動動作を無効として、危険のないようにする、ベッド等のボトム動作切換方法が開示されている(特許文献1を参照)。このベッド等のボトム動作切換方法においては、少なくとも二つのスイッチから操作指令を受けた場合等に、操作指令は受け付けないようにしている。   Conventionally, some electric beds are provided with a remote control switch device (also simply referred to as “remote control”) for bed operation, and there are some which prevent erroneous operation by this remote control. For example, when a user who is difficult to operate a switch or a user who cannot understand a series of interlocking motions, the bottom interlocking motion of the bed or the like is invalidated so that there is no danger. Is disclosed (see Patent Document 1). In this bottom operation switching method such as a bed, an operation command is not accepted when an operation command is received from at least two switches.

また、床部の起床角度を調節可能として、使用者の傷病状況に対応させる、起床角度調節手段を有する床部起伏機構を備えたベッドが開示されている(特許文献2を参照)。このベッドは、床部起床角度設定用操作スイッチを一定時間押し続けていないと、設定ができないようにして、痴呆者による角度設定を受け付けないようにしている。   In addition, a bed including a floor raising / lowering mechanism having a rising angle adjusting means that can adjust the rising angle of the floor to correspond to a user's injury or illness condition is disclosed (see Patent Document 2). This bed is set so that it cannot be set unless the floor wake-up angle setting operation switch is pressed for a certain period of time, and the angle setting by the demented person is not accepted.

特開2003−265540号公報JP 2003-265540 A 特開平08−132187号公報Japanese Patent Laid-Open No. 08-132187

ところで、電動式作動台(電動ベッド等)など動かすリモコンスイッチ装置を床に置いた状態で、スイッチ(ボタンスイッチ等)の上に重いものなどを乗せてしまうと、スイッチがONしてしまい電動式作動台が動作してしまい不快な思いをすることがある。このように、あるところに置かれたリモコンスイッチ装置に、上からの衝撃や物が置かれた場合等、人の意図としない状況でリモコン操作が行われた場合であっても、電動式作動台が作動してしまうことを回避する必要がある。このため、いままでは床に置いた状態でスイッチがONしないように、ケース形状を工夫して、スイッチの接点がONするのに必要な押下力を高めに設定してONしにくくなるようにしていたが、充分な対策になっているとは言い難かった。   By the way, if you place a heavy object on the switch (button switch, etc.) with the remote control switch device such as an electric actuator (electric bed, etc.) moved on the floor, the switch will turn on and the motorized The actuator may move and make you feel uncomfortable. In this way, even if a remote control operation is performed in a situation that is not intended by a person, such as when an impact or an object is placed on the remote control switch device placed at a certain place, it is electrically operated. It is necessary to avoid the stand from operating. For this reason, until now, the case shape is devised so that the switch does not turn on when placed on the floor, and the pressing force required to turn on the switch contact is set high so that it is difficult to turn it on. However, it was hard to say that it was a sufficient measure.

本発明は、斯かる実情に鑑みなされたものであり、本発明の目的は、人の意図としない状況でリモコン操作が行われても、電動式作動台が作動することなく、かつ、人の意図とする状況での操作を複雑化しない、リモコンスイッチ装置、及び該リモコンスイッチ装置を備える電動式作動台を提供することにある。   The present invention has been made in view of such circumstances, and it is an object of the present invention to operate an electric actuator without operating even if a remote control operation is performed in a situation not intended by a person. An object of the present invention is to provide a remote control switch device that does not complicate the operation in an intended situation, and an electric operating table including the remote control switch device.

上記課題を解決する本発明の請求項1に係わるリモコンスイッチ装置は、電動式作動台に備えたアクチュエータを駆動させるコントローラに、スイッチの操作により入力指令を出力して前記アクチュエータを遠隔操作するリモコンスイッチ装置であって、操作により生じる状態の変化を検出する状態検出センサと、前記状態検出センサが検出した変化に基づいて静止状態又は動作状態を判定し、判定結果に応じて前記スイッチの操作による入力指令を前記コントローラに出力するか否かを決定するスイッチ操作判定部とを備え、前記スイッチ操作判定部は、前記動作状態と判定してから一定時間前記スイッチの操作による入力指令を前記コントローラに出力しないようにし、前記スイッチの操作が終了した後一定時間内に受け付けた前記スイッチの操作による入力指令を前記コントローラに出力することを特徴とする。
このリモコンスイッチ装置では、人がリモコンスイッチを操作する場合は、手に持って操作するためリモコンスイッチ装置の状態(例えば、傾き)が変化することを状態検出センサにより検出し、この状態検出センサが検出結果に基づいて、静止状態又は動作状態を判定し、判定結果に応じてスイッチの操作を受け付けるか否かを決定する。
これにより、人が手に持たずにリモコン操作が行われた場合、すなわち、人の意図としない状況でリモコン操作が行われた場合、電動式作動台が作動することなく、かつ、人の意図とする状況での操作を複雑化しない、リモコンスイッチ装置を実現できる。
The remote control switch device according to claim 1 of the present invention for solving the above-described problems is a remote control switch for remotely operating the actuator by outputting an input command to the controller for driving the actuator provided in the electric operating table by operating the switch. an apparatus determines a state detection sensor for detecting a change of state caused by the operation, the stationary state or operating state based on a change of the state detection sensor detects the input by the operation of said switch in accordance with the determination result A switch operation determining unit that determines whether or not to output a command to the controller, and the switch operation determining unit outputs an input command by operating the switch for a certain period of time after determining the operation state. The switch received within a certain time after the operation of the switch is completed. And outputs an instruction input by the operation of switch on the controller.
In this remote control switch device, when a person operates the remote control switch, the state detection sensor detects that the state (for example, tilt) of the remote control switch device changes because it is held in hand, and this state detection sensor Based on the detection result, a stationary state or an operating state is determined, and whether or not to accept a switch operation is determined according to the determination result.
As a result, when a remote control operation is performed without being held by a person, that is, when a remote control operation is performed in a situation that is not intended by the person, the electric actuator is not operated and It is possible to realize a remote control switch device that does not complicate the operation in the situation described above.

また、請求項2に係わる発明は、請求項1に記載のリモコンスイッチ装置であって、前記状態検出センサが角度センサであることを特徴とする。
このリモコンスイッチ装置では、状態検出センサとして角度センサを用いる。リモコンスイッチ装置を人間が操作する場合は、通常は角度が変化する(例えば、水平状態から傾きを生じる)。このため、リモコンスイッチ装置に角度を検出できるセンサを設け角度が変化した場合に、例えば、水平以外であればボタン操作(スイッチ操作)を受け付けるようにする。
これにより、リモコンスイッチ装置が動かされる場合の角度変化の情報に基づいて、スイッチ操作(ボタン操作)を受け付けるか否かを判定することができる。このため、人の意図としない状況でリモコン操作が行われても、電動式作動台が作動しないようにできる。例えば、角度が水平状態のままでボタン(スイッチ)がONした場合は、床に置かれた状態でボタンがONしている(人は操作していないのに、ボタンの上に物体がのってその重みでボタンがON)と判定し、その操作を無効とすることができる。
The invention according to claim 2 is the remote control switch device according to claim 1, wherein the state detection sensor is an angle sensor.
In this remote control switch device, an angle sensor is used as a state detection sensor. When a human operates the remote control switch device, the angle usually changes (for example, tilt occurs from a horizontal state). For this reason, when a sensor capable of detecting an angle is provided in the remote control switch device and the angle changes, for example, a button operation (switch operation) is accepted if the angle is not horizontal.
Thereby, it is possible to determine whether or not to accept a switch operation (button operation) based on information on an angle change when the remote control switch device is moved. For this reason, even if a remote control operation is performed in a situation that is not intended by a person, the electric operating table can be prevented from operating. For example, when a button (switch) is turned on while the angle is horizontal, the button is turned on while it is placed on the floor (an object is placed on the button even though no one is operating it). It is possible to determine that the button is ON with that weight and invalidate the operation.

また、請求項3に係わる発明は、請求項2に記載のリモコンスイッチ装置であって、現在の時点から所定の時間前までにおける前記角度センサの検出した角度の平均値を基準角度として、前記角度センサが現在検出する角度が、前記基準角度より所定角度以上大きいか、又は前記基準角度よりも所定角度以上小さい場合に前記動作状態が検出されたとして、入力指令を前記コントローラに出力する判定をするスイッチ状態変化検出部を備え、前記スイッチ操作判定部が、前記スイッチ状態変化検出部が前記動作状態を検出した場合、前記入力指令を前記コントローラに出力する判定をし、前記入力指令をコントローラに出力することを特徴とする。
このリモコンスイッチ装置では、現在の時点から所定の時間前までにおける角度センサが検出した角度の平均値を基準角度として、現在の検出された角度Xが、基準角度より所定角度XX以上大きいか(X>基準角度+XX度)、又は基準角度よりも所定角度XX以上小さい場合に(X<基準角度−XX度)、状態の変化が生じたことが検出される。すなわち、リモコンスイッチ装置を人間が操作する場合は、通常は角度(姿勢)が変化する(例えば、水平状態から傾きを生じる)。このため、リモコンスイッチ装置の角度が変化した場合に、ボタン信号(スイッチ操作信号)を受け付けるようにする。また、基準角度については、リモコンスイッチ装置は床以外にも電動式作動台の台(ベッドマットレス)上においていて操作する場合もあるので、スイッチ操作(ボタン操作)がOFF状態で角度変化が一定値以下になった場合は、人がスイッチ操作をやめたと判定し、その時の角度センサが検出する角度(より具体的には所定期間の角度センサが検出した角度平均値)を保持する。
これにより、角度センサが検出した角度が基準角度に対して所定角度XX以上に大きいか又は小さいかを検出することによりスイッチ操作(ボタン操作)を受け付けるか否かを判定することができる。このため、人がリモコンスイッチ装置を操作する意図で手に持ったときに生じる大きな角度変化を検出することができるので、人の意図としない状況でリモコン操作が行われても、電動式作動台が作動することなく、かつ、人の意図とする状況での操作を複雑化しない、リモコンスイッチ装置を実現できる。
Further, the invention according to claim 3 is the remote control switch device according to claim 2, wherein an average value of angles detected by the angle sensor from a current time point to a predetermined time before is used as a reference angle. When the angle detected by the sensor is greater than the reference angle by a predetermined angle or more, or when the angle is smaller than the reference angle by a predetermined angle or more, it is determined that the operation state is detected and an input command is output to the controller A switch state change detection unit, and when the switch state change detection unit detects the operation state, the switch operation determination unit determines to output the input command to the controller, and outputs the input command to the controller. It is characterized by doing.
In this remote control switch device, whether the current detected angle X is larger than the reference angle by a predetermined angle XX or more with an average value of angles detected by the angle sensor from the current time point to a predetermined time before as a reference angle (X > Reference angle + XX degrees), or when it is smaller than the reference angle by a predetermined angle XX or more (X <reference angle−XX degrees), it is detected that a change in state has occurred. That is, when a human operates the remote control switch device, the angle (posture) usually changes (for example, the tilt is generated from the horizontal state). For this reason, a button signal (switch operation signal) is received when the angle of the remote control switch device changes. As for the reference angle, the remote control switch device may be operated on a table (bed mattress) other than the floor, so the angle change is constant when the switch operation (button operation) is OFF. In the following case, it is determined that the person has stopped the switch operation, and the angle detected by the angle sensor at that time (more specifically, the angle average value detected by the angle sensor for a predetermined period) is held.
Accordingly, it is possible to determine whether or not to accept a switch operation (button operation) by detecting whether the angle detected by the angle sensor is larger or smaller than the predetermined angle XX with respect to the reference angle. For this reason, it is possible to detect a large change in angle that occurs when a person holds the remote control switch device in his / her hand. It is possible to realize a remote control switch device that does not operate and does not complicate the operation in a situation intended by a person.

また、請求項4に係わる発明は、請求項1に記載のリモコンスイッチ装置であって、前記状態検出センサが加速度センサであり、前記加速度センサにより検出される加速度が予め定められた範囲内の加速度である場合、前記動作状態が検出されたとして、入力指令を前記コントローラに出力する判定をするスイッチ状態変化検出部を備え、前記スイッチ操作判定部が、前記スイッチ状態変化検出部が前記動作状態を検出した場合、前記入力指令を前記コントローラに出力する判定をし、前記入力指令を前記コントローラに出力することを特徴とする。
このリモコンスイッチ装置では、状態検出センサとして加速度センサを用いる。そして、加速度変化Xが予め定められた範囲内の加速度(V1<X<V2の範囲)であった場合は、人間がリモコンスイッチ装置を触っている状態であると判定してスイッチ操作(ボタン操作)を受け付けるようにする。この時、上限の加速度V2以上の変化は外的要因による変化(地震や衝撃)であるとして無視し、下限の加速度V1以下の変化は人以外の操作による変化であるとして無視できるように加速度V1及びV2をと設定することで、人が操作する意図を持ってリモコンスイッチ装置を手に持ったか否かを判定することができる。このため、人が操作の意図を持ってリモコンスイッチ装置を手に持ったか否かを判定することで、人の意図としない状況でリモコン操作が行われても、電動式作動台が作動することなく、かつ、人の意図とする状況での操作を複雑化しない、リモコンスイッチ装置を実現できる。
The invention according to claim 4 is the remote control switch device according to claim 1, wherein the state detection sensor is an acceleration sensor, and the acceleration detected by the acceleration sensor is an acceleration within a predetermined range. If the operation state is detected, a switch state change detection unit for determining that an input command is output to the controller is provided, and the switch operation determination unit is configured so that the switch state change detection unit determines the operation state. If detected, it is determined to output the input command to the controller, and the input command is output to the controller.
In this remote control switch device, an acceleration sensor is used as a state detection sensor. When the acceleration change X is an acceleration within a predetermined range (a range of V1 <X <V2), it is determined that a human is touching the remote control switch device, and a switch operation (button operation) is performed. ). At this time, a change beyond the upper limit acceleration V2 is ignored as a change due to an external factor (earthquake or impact), and a change below the lower limit acceleration V1 is ignored as an change caused by an operation other than a person. And V2 can be set to determine whether or not the remote control switch device is held in the hand with the intention of being operated by a person. For this reason, it is possible to determine whether or not a person has the remote control switch device in his / her hand with the intention of the operation, so that the electric actuator can be operated even if the remote control operation is performed in a situation not intended by the person. And a remote control switch device that does not complicate the operation in the situation intended by the person can be realized.

また、請求項5に係わる発明は、請求項3又は請求項4のいずれかに記載のリモコンス
イッチ装置であって、複数のボタンスイッチが配列され、該複数のボタンスイッチのうちいずれかが押下されると、押下されたボタンスイッチに応じたボタン信号を出力するボタン入力部を備え、前記スイッチ操作判定部は、前記スイッチ状態変化検出部によりリモコンスイッチ装置の前記動作状態が検出されるのを待つ変化待ち状態Aと、前記変化待ち状態Aにおいて前記動作状態が検出された場合に遷移する状態であって、所定のマスク時間に亘りボタン信号の受付を禁止するボタン信号マスク状態Bと、前記ボタン信号マスク状態Bにおいて前記所定のマスク時間が経過した場合に遷移する状態であって、ボタン信号の受付を許可するボタン信号受付状態Cと、前記ボタン信号受付状態Cにおいてボタン信号が入力された場合に遷移する状態であって、入力されたボタン信号を前記コントローラに出力する状態であるボタンON状態Dと、の4つの遷移モードを備え、前記リモコンスイッチ装置の状態の変化と、前記ボタンスイッチのオン・オフ状態とに応じて前記4つの判定モードの間を遷移して、前記ボタン信号を受け付けるか否かを判定することを特徴とする。
このリモコンスイッチ装置では、変化待ち状態A、ボタン信号マスク状態B、ボタン信号受付状態C、及びボタンON状態Dの4つの判定モードを備え、スイッチ状態変化検出部により検出される変化の変化と、スイッチ(ボタンスイッチ)のON,OFF状態とに基づいて、4つの判定モードの間を遷移するように構成されている。そして、判定モードがボタン信号受付状態Cにある場合にスイッチ操作(ボタン操作)を受け付ける。
これにより、人が操作の意図を有してリモコンスイッチ装置を手にする場合を高い精度で検出して、判定モードがボタン信号受付状態Cである場合にのみ、ボタン信号を受け付けるようにできる。このため、人の意図としない状況でリモコン操作が行われても、電動式作動台が作動することなく、かつ、人の意図とする状況での操作を複雑化しない、リモコンスイッチ装置を実現できる。
The invention according to claim 5 is the remote control switch device according to claim 3 or 4, wherein a plurality of button switches are arranged, and any one of the plurality of button switches is pressed. A button input unit that outputs a button signal corresponding to the pressed button switch, and the switch operation determination unit waits for the switch state change detection unit to detect the operation state of the remote control switch device. One and change waiting state a, a state if said operating state is detected in the previous SL change waiting state a, the button signal masked state B to prohibit the acceptance of the button signal for a predetermined mask time In the button signal mask state B when the predetermined mask time has elapsed, and the button signal reception that permits the reception of the button signal. 4 transitions of a state C and a button ON state D in which a transition is made when a button signal is input in the button signal acceptance state C and the input button signal is output to the controller And determining whether or not to accept the button signal by transitioning between the four determination modes according to a change in the state of the remote control switch device and an on / off state of the button switch. It is characterized by.
In this remote control switch device, change waiting state A, the button signal masked state B, includes a button signal reception state C, and the four determination mode button ON state D, a change in the change detected by the switch state change detecting section Based on the ON / OFF state of the switch (button switch), the transition is made between the four determination modes. When the determination mode is the button signal reception state C, a switch operation (button operation) is received.
As a result, it is possible to detect with high accuracy the case where a person intends to operate and to hold the remote control switch device, and to accept the button signal only when the determination mode is the button signal acceptance state C. For this reason, even if a remote control operation is performed in a situation not intended by the person, the remote control switch device can be realized without causing the electric actuator to operate and without complicating the operation in the situation intended by the person. .

また、請求項6に係わる発明は、請求項1から請求項5のいずれかに記載のリモコンスイッチ装置であって、前記リモコンスイッチ装置の動作状態を示す表示部を備えることを特徴とする。
このリモコンスイッチ装置では、ユーザに対してスイッチ操作受付可能であれば、表示部に受付可能なことを表示することで、操作者に対してリモコンスイッチ装置による操作が可能か否かを知らせることができ、リモコンスイッチ装置の操作性を向上させることができる。例えば、表示部は、LED(発光ダイオード)で構成され、スイッチの操作を受け付けることができるときLED等を点灯し、スイッチの操作を受け付けることができないときLEDを消灯することで、分かりやすく表示することができ、リモコンスイッチ装置の操作性を向上させることができる。
According to a sixth aspect of the present invention, there is provided the remote control switch device according to any one of the first to fifth aspects, wherein the remote control switch device includes a display unit that indicates an operation state of the remote control switch device.
In this remote control switch device, if the switch operation can be accepted by the user, the fact that it can be accepted on the display unit is displayed to notify the operator whether or not the operation by the remote control switch device is possible. The operability of the remote control switch device can be improved. For example, the display unit is configured by an LED (light emitting diode), and when the switch operation can be accepted, the LED or the like is turned on, and when the switch operation cannot be accepted, the LED is turned off to display the display easily. The operability of the remote control switch device can be improved.

また、請求項7に係わる発明は、請求項1から請求項6のいずれかに記載のリモコンスイッチ装置を備える電動式作動台であって、アクチュエータを駆動させるコントローラに、前記リモコンスイッチ装置のスイッチ操作により入力指令を伝達し、前記アクチュエータにより複数個所を所定の動作で駆動することを特徴とする。
これにより、電動ベッド等の電動式作動台において、人の意図としない状況でリモコン操作が行われても、電動ベッド等が作動することがなくなり、不快な思いをすることを回避できる。
According to a seventh aspect of the present invention, there is provided an electric operating table including the remote control switch device according to any one of the first to sixth aspects, wherein the controller for driving the actuator is operated by the switch operation of the remote control switch device. An input command is transmitted by the actuator, and a plurality of locations are driven by a predetermined operation by the actuator.
As a result, in an electric operating table such as an electric bed, even if a remote control operation is performed in a situation not intended by a person, the electric bed or the like does not operate, and an unpleasant feeling can be avoided.

リモコンスイッチ装置では、人がリモコンスイッチを操作する場合は、手に持って操作するためリモコンスイッチ装置の状態が変化する。この変化を状態検出センサにより検出し、この状態検出センサの信号に基づいて、スイッチ操作を受け付けるか否かを判定する。
これにより、人の意図としない状況でリモコン操作が行われても、電動式作動台が作動することなく、かつ、人の意図とする状況での操作を複雑化しない、リモコンスイッチ装置を実現できる。
In the remote control switch device, when a person operates the remote control switch, the state of the remote control switch device changes because it is held in hand. This change is detected by the state detection sensor, and it is determined whether or not to accept a switch operation based on a signal from the state detection sensor.
As a result, it is possible to realize a remote control switch device that does not operate the electric actuator and does not complicate the operation in the situation intended by the person even if the remote control operation is performed in a situation not intended by the person. .

本発明の実施の形態に係わる電動ベッド装置(リモコンスイッチ装置および電動ベッド)の構成を示す図である。It is a figure which shows the structure of the electric bed apparatus (remote control switch apparatus and electric bed) concerning embodiment of this invention. 電動ベッド装置の構成について説明するための図である。It is a figure for demonstrating the structure of an electric bed apparatus. 図1に示すリモコンスイッチ装置の動作を説明するためのタイミングチャートである。It is a timing chart for demonstrating operation | movement of the remote control switch apparatus shown in FIG. スイッチ入力判定部21における判定モードの遷移図である。6 is a transition diagram of a determination mode in a switch input determination unit 21. FIG. スイッチ入力判定部21における制御処理(メインルーチン)を示すフローチャートである。3 is a flowchart showing a control process (main routine) in a switch input determination unit 21. ボタン入力フィルタ処理及び角度入力フィルタ処理について説明するための図である。It is a figure for demonstrating a button input filter process and an angle input filter process. スイッチ状態変化検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a switch state change detection process. 角度変化待ち状態A及びボタン信号マスク状態Bにおける処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the angle change waiting state A and the button signal mask state B. ボタン信号受付状態C及びボタンON状態Dにおける処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the button signal reception state C and the button ON state D.

(リモコンスイッチ装置と電動ベッド装置の構成の説明)
図1は、本発明の実施の形態に係わるリモコンスイッチ装置10と、このリモコンスイッチ装置10を用いた電動ベッド装置(電動式作動台)1の構成を示す図である。
図1に示す電動ベッド装置1は、電動ベッド2と、この電動ベッド2を遠隔操作する手元スイッチとなるリモコンスイッチ装置10とで構成される。
電動ベッド2は、使用者の体を支えるベッド本体5と、このベッド本体5の起倒機構を駆動するアクチュエータとなるモータ4と、モータ4を駆動制御するコントローラ3と、で構成される。リモコンスイッチ装置10は、コントローラ3に通信ケーブル等で有線接続される。なお、電動ベッド2は、複数のモータを設けた構成でもよい。
(Description of the configuration of the remote control switch device and the electric bed device)
FIG. 1 is a diagram showing a configuration of a remote control switch device 10 according to an embodiment of the present invention and an electric bed device (electric operating table) 1 using the remote control switch device 10.
An electric bed device 1 shown in FIG. 1 includes an electric bed 2 and a remote control switch device 10 serving as a hand switch for remotely operating the electric bed 2.
The electric bed 2 includes a bed main body 5 that supports a user's body, a motor 4 that serves as an actuator that drives the raising / lowering mechanism of the bed main body 5, and a controller 3 that drives and controls the motor 4. The remote control switch device 10 is wired to the controller 3 with a communication cable or the like. The electric bed 2 may be configured to have a plurality of motors.

図2は、電動ベッド2の構成を示す概略図である。
この電動ベッド2は、図2に示すように、人間Mが横たわるベッド本体5の背もたれ部6、腰部7、足部8のそれぞれが、3台のモータ4A,4B,4Cにより駆動される不図示の起倒機構(アクチュエータ機構)によって起倒作動するように構成されている。なお、これら起倒機構については汎用のものを採用しているのでここではその詳細の説明を省略する。
FIG. 2 is a schematic diagram showing the configuration of the electric bed 2.
As shown in FIG. 2, in the electric bed 2, the back portion 6, the waist portion 7 and the foot portion 8 of the bed body 5 on which the person M lies are driven by three motors 4A, 4B, and 4C (not shown). It is configured to be moved up and down by an up / down mechanism (actuator mechanism). In addition, since the general purpose thing is employ | adopted about these raising / lowering mechanisms, the detailed description is abbreviate | omitted here.

コントローラ3には、家庭用コンセントに差し込むための差込プラグに接続されたAC/DCコンバータ回路(図示せず)が設けられ、コントローラ3及びモータ(直流モータ)4A,4B,4Cは、該AC/DCコンバータ回路で変換された直流電流で駆動するようになっている。なお、モータ4A,4B,4Cが交流モータである場合は、AC/DCコンバータ回路で変換された直流電圧を交流電圧に変換するインバータ回路が設けられる。   The controller 3 is provided with an AC / DC converter circuit (not shown) connected to a plug for plugging into a household outlet. The controller 3 and motors (DC motors) 4A, 4B, 4C It is driven by the direct current converted by the / DC converter circuit. When the motors 4A, 4B, and 4C are AC motors, an inverter circuit that converts a DC voltage converted by the AC / DC converter circuit into an AC voltage is provided.

リモコンスイッチ装置10は、コントローラ3を遠隔操作するための複数の種類のスイッチ(ボタンスイッチ)が配列されたスイッチ入力機器である。このリモコンスイッチ装置10は、図2に示すような外観構成のものであり、通信ケーブル3Aによりコントローラ3に有線接続されている。このリモコンスイッチ装置10の表面上には、複数の押下式のボタンスイッチ(単に「ボタン」とも呼ぶ)が配列されたボタン入力部11と、発光ダイオードで構成される表示部16とが配置されている。また、リモコンスイッチ装置10には、リモコンスイッチ装置10の電源をON/OFFする電源スイッチ18の他に、解除スイッチ17を備えている。この解除スイッチ17は、後述するリモコンスイッチ装置10おけるボタン信号マスク機能を解除するためのスイッチである。   The remote control switch device 10 is a switch input device in which a plurality of types of switches (button switches) for remotely operating the controller 3 are arranged. The remote control switch device 10 has an external configuration as shown in FIG. 2, and is wired to the controller 3 via a communication cable 3A. On the surface of the remote control switch device 10, a button input unit 11 in which a plurality of push button switches (also simply referred to as “buttons”) are arranged, and a display unit 16 composed of light emitting diodes are arranged. Yes. Further, the remote control switch device 10 includes a release switch 17 in addition to the power switch 18 for turning on / off the power of the remote control switch device 10. The release switch 17 is a switch for releasing a button signal mask function in the remote control switch device 10 to be described later.

図1戻って、リモコンスイッチ装置10は、各種のボタン(スイッチ)が配列されたボタン入力部11と、リモコンスイッチ装置10の傾き(姿勢)を検出する状態検出センサである角度センサ12と、角度センサ12から出力される信号によりリモコンスイッチ装置10の傾き(角度)を検出する角度検出部13と、リモコンスイッチ装置10の動き(加速度)を検出する状態検出センサである加速度センサ14と、加速度センサ14から出力される信号によりリモコンスイッチ装置10の動き(加速度)を検出する加速度検出部15と、を備えている。   Returning to FIG. 1, the remote control switch device 10 includes a button input unit 11 in which various buttons (switches) are arranged, an angle sensor 12 that is a state detection sensor that detects a tilt (posture) of the remote control switch device 10, and an angle An angle detection unit 13 that detects the tilt (angle) of the remote control switch device 10 based on a signal output from the sensor 12, an acceleration sensor 14 that is a state detection sensor that detects a movement (acceleration) of the remote control switch device 10, and an acceleration sensor And an acceleration detection unit 15 that detects the movement (acceleration) of the remote control switch device 10 based on a signal output from 14.

なお、角度センサ12は、リモコンスイッチ装置10の操作面の対地角度を検出するものであって良い。例えば垂下状態の振り子を設け、その振り子に対する操作面のなす角度を検出する構造により可能である。また、加速度センサ14としては、ピエゾ抵抗素子型(piezo-resistive)のセンサを使用できる他に、圧電型や静電容量型などを用いることができる。さらには、重り・スプリング・ダンパ・変位センサを用いた簡単な構造のものであって良い。また、後述するように、角度センサ12と加速度センサ14の両方をかならずしも設ける必要はなく、いずれか一方のみを設けるようにしてもよい。   In addition, the angle sensor 12 may detect the ground angle of the operation surface of the remote control switch device 10. For example, it is possible to use a structure in which a pendulum in a hanging state is provided and an angle formed by an operation surface with respect to the pendulum is detected. As the acceleration sensor 14, a piezo-resistive type sensor can be used, and a piezoelectric type or a capacitance type can be used. Furthermore, a simple structure using a weight, a spring, a damper, and a displacement sensor may be used. Further, as will be described later, it is not always necessary to provide both the angle sensor 12 and the acceleration sensor 14, and only one of them may be provided.

また、リモコンスイッチ装置10は、スイッチ入力判定部21を備えている。このスイッチ入力判定部21は、ボタン入力部11から出力されるボタン信号(入力指令)と、角度検出部13から出力される角度を表す角度情報と、加速度検出部15から出力される加速度を表す加速度情報とを入力し、これらの信号に基づいて、ボタン入力部11から入力されるボタン信号を受け付けるか否かを判定する。   The remote control switch device 10 also includes a switch input determination unit 21. The switch input determination unit 21 represents a button signal (input command) output from the button input unit 11, angle information indicating an angle output from the angle detection unit 13, and acceleration output from the acceleration detection unit 15. Acceleration information is input, and based on these signals, it is determined whether or not to accept a button signal input from the button input unit 11.

このスイッチ入力判定部21内のフィルタ部22は、ボタン入力部11から入力する信号、角度検出部13から入力する信号、及び加速度検出部15から入力する信号に対して、これらの信号に含まれる高周波ノイズ成分を除去する。このフィルタ部22におけるフィルタリング処理の例については後述する。   The filter unit 22 in the switch input determination unit 21 is included in these signals for the signal input from the button input unit 11, the signal input from the angle detection unit 13, and the signal input from the acceleration detection unit 15. Remove high frequency noise components. An example of the filtering process in the filter unit 22 will be described later.

スイッチ状態変化検出部23は、角度検出部13から出力される信号が示す角度情報、又は角度検出部13から出力される信号が示す加速度情報のいずれか、又は両方の情報に基づいて、リモコンスイッチ装置10自身に状態の変化(傾きの角度変化、又は動きによる加速度の発生)が生じたか否かを判定する。
スイッチ操作判定部24は、上記角度情報に基づき、後述する判定モードを設定し、この判定モードに応じて、ボタン入力部11から送信されるボタン信号を受け付ける否かを判定する処理を行う。
The switch state change detection unit 23 is a remote control switch based on either the angle information indicated by the signal output from the angle detection unit 13 or the acceleration information indicated by the signal output from the angle detection unit 13 or both. It is determined whether or not a change in state (change in inclination angle or generation of acceleration due to movement) has occurred in the device 10 itself.
Based on the angle information, the switch operation determination unit 24 sets a determination mode to be described later, and performs a process of determining whether to accept a button signal transmitted from the button input unit 11 according to the determination mode.

角度情報バッファ25は、角度検出部13から入力した角度情報を記憶する他、後述する基準角度更新タイマ28により計数される所定の期間に亘り角度情報を記憶するためのバッファ(記憶部)である。
マスク時間タイマ26は、スイッチ状態変化検出部23によりリモコンスイッチ装置10の状態が変化したことが検出された場合に、所定の時間T1の間、ボタン信号の受付を行わずにマスクするために使用されるタイマである。
また、受付許可時間タイマ27は、後述するボタン信号受付状態Cの判定モードにおいて、「角度変化無し」かつ「ボタン信号OFF」が検出された場合に、所定の受付許可時間T2の間、ボタン信号の受付を許可するためのタイマである。
The angle information buffer 25 is a buffer (storage unit) for storing angle information input from the angle detection unit 13 and storing angle information over a predetermined period counted by a reference angle update timer 28 described later. .
The mask time timer 26 is used for masking without accepting a button signal for a predetermined time T1 when the switch state change detecting unit 23 detects that the state of the remote control switch device 10 has changed. Timer.
In addition, the reception permission time timer 27 detects the button signal for a predetermined reception permission time T2 when “no angle change” and “button signal OFF” are detected in the determination mode of the button signal reception state C described later. It is a timer to allow the reception of.

また、基準角度更新タイマ28は、スイッチ状態変化検出部23において「角度変化有り」を検出するために使用される基準角度を更新する際に使用されるタイマである。「角度変化無し」が、この基準角度更新タイマ28の計数期間中において継続した場合には、この計数期間中に読み込んだ角度情報に基づいて、新たな基準角度を設定する。
この「角度変化有り」は、操作を意図したユーザの操作により生じるリモコンスイッチ装置10の状態に変化が生じたことを示し、例えば、操作をするためにユーザがリモコンスイッチ装置10を手に持ったときに検出される状態である。つまり、「角度変化有り」の検出は、操作を意図した状態である動作状態の検出である。また、「角度変化無し」、すなわち、「角度変化有り」が検出されないことは、操作を意図していない状態である静止状態を示す。
The reference angle update timer 28 is a timer that is used when the switch state change detection unit 23 updates the reference angle used to detect “there is an angle change”. When “no angle change” continues during the counting period of the reference angle update timer 28, a new reference angle is set based on the angle information read during the counting period.
This “change in angle” indicates that a change has occurred in the state of the remote control switch device 10 caused by the operation of the user intended to perform the operation. For example, the user holds the remote control switch device 10 in his / her hand to perform the operation. It is a state that is sometimes detected. In other words, the detection of “there is an angle change” is detection of an operation state that is a state intended for an operation. Further, “no angle change”, that is, “angle change present” is not detected indicates a stationary state in which no operation is intended.

また、表示部16は、リモコンスイッチ装置10がボタン信号の受付可能状態であることを示すためのものであり、例えば、緑色の発光ダイオード等である。また、解除スイッチ17は、後述するリモコンスイッチ装置10におけるボタン信号マスク機能を解除するためのスイッチである。この、解除スイッチ17をONにすることにより、スイッチ入力判定部21におけるボタン信号のマスク機能は解除され、ボタン入力部11から出力されるボタン信号(コントローラ3に対する入力指令)が、マスクされずにそのままコントローラ3に出力される。   The display unit 16 is used to indicate that the remote control switch device 10 is in a state where a button signal can be received, and is, for example, a green light emitting diode. The release switch 17 is a switch for releasing a button signal mask function in the remote control switch device 10 to be described later. When the release switch 17 is turned on, the button signal masking function in the switch input determination unit 21 is released, and the button signal (input command to the controller 3) output from the button input unit 11 is not masked. The data is output to the controller 3 as it is.

なお、リモコンスイッチ装置10内にはマイクロコントローラや、カスタムマイクロコンピュータ等のCPUが搭載されており、このCPUは、内部にROM、RAM、A/D変換器(所望の場合にはD/A変換器も含む)、タイマ(又はカウンタ)、I/Oポート等を内蔵している。そして、スイッチ入力判定部21、角度検出部13、及び加速度検出部15における処理は、CPUがCPU自身に内蔵されたROMに記憶されたプログラムを読み出して、情報の加工、演算処理を実行することにより、その機能が実現される。このCPUは、所定のサンプリング周期ごとに、A/D変換器を通して、角度センサ12から出力される信号(角度情報)を読み取り、また、加速度センサ14から出力される加速度信号を読み取る。そして、所定の制御処理周期ごとに、スイッチ入力判定部21、角度検出部13、加速度検出部15において要求される機能をプログラム処理により実行する。なお、スイッチ入力判定部21、角度検出部13、加速度検出部15を専用のハードウェアで構成するようにしてもよい。   The remote control switch device 10 is equipped with a CPU such as a microcontroller or a custom microcomputer. The CPU includes a ROM, a RAM, an A / D converter (D / A conversion if desired). Built-in), timer (or counter), I / O port, and the like. And the process in the switch input determination part 21, the angle detection part 13, and the acceleration detection part 15 reads the program memorize | stored in ROM built in CPU itself, and performs the process of information, and an arithmetic process. Thus, the function is realized. This CPU reads a signal (angle information) output from the angle sensor 12 through an A / D converter and reads an acceleration signal output from the acceleration sensor 14 every predetermined sampling period. And the function requested | required in the switch input determination part 21, the angle detection part 13, and the acceleration detection part 15 is performed by a program process for every predetermined | prescribed control processing period. The switch input determination unit 21, the angle detection unit 13, and the acceleration detection unit 15 may be configured with dedicated hardware.

また、図2に示す例では、電動ベッド2を3台のモータ4A、4B、4Cで駆動する例を示したが、これに限定されない。電動式作動台の種類、構造、機能等に応じて使用するモータ台数が適宜に決められる。また、表示部16としては、LEDを用いる他に、液晶ディスプレイであってもよい。さらには、ボタン信号受付可能状態にあることを、音声又は楽曲により知らせるようにしてもよい。   In the example illustrated in FIG. 2, the example in which the electric bed 2 is driven by the three motors 4 </ b> A, 4 </ b> B, and 4 </ b> C has been described. The number of motors to be used is appropriately determined according to the type, structure, function, etc. of the electric operating table. In addition to using LEDs, the display unit 16 may be a liquid crystal display. Further, it may be notified by voice or music that the button signal can be received.

(リモコンスイッチ装置10の動作の説明)
図3は、図1に示すリモコンのリモコンスイッチ装置10の動作を説明するためのタイミングチャートである。
図3に示すタイミングチャートにおいて、横軸は時間を示し、縦軸は、ボタン操作の許可/禁止の状態、コントローラ3に入力されるボタン信号(ON,OFF)、ボタン入力部11から入力されるボタン信号(ON,OFF)、リモコンスイッチ装置10の角度変化(有り,無し)、及びスイッチ操作判定部24における判定モード(A,B,C,D)を並べて示している。以下、図3を参照して、図1に示すリモコンスイッチ装置10の動作について説明する。
(Description of operation of remote control switch device 10)
FIG. 3 is a timing chart for explaining the operation of remote control switch device 10 of the remote control shown in FIG.
In the timing chart shown in FIG. 3, the horizontal axis indicates time, and the vertical axis indicates whether button operation is permitted / prohibited, button signals (ON and OFF) input to the controller 3, and input from the button input unit 11. A button signal (ON, OFF), an angle change (present, absent) of the remote control switch device 10, and a determination mode (A, B, C, D) in the switch operation determination unit 24 are shown side by side. The operation of the remote control switch device 10 shown in FIG. 1 will be described below with reference to FIG.

図3において、時刻t1以前は、判定モードが角度変化待ち状態Aにあるものとする。ここで、角度変化待ち状態Aとは、スイッチ入力判定部21の初期状態であり、例えば、リモコンスイッチ装置10が、床の上に置かれていたり、壁に掛けられたりしている状態に相当する。
時刻t1において、角度センサ12及び角度検出部13から入力される角度情報に基づいてスイッチ状態変化検出部23により角度変化が検出され、「角度変化有り」(動作状態)の信号がスイッチ操作判定部24に入力される。
スイッチ操作判定部24は、マスク時間タイマ26を起動してマスク時間T1を計測し、時刻t2までのマスク時間T1の間、ボタン信号の入力受付をマスクする。すなわち、「角度変化有り」が検出された後、所定のマスク時間T1が経過するまで、ボタン入力部11からのボタンON信号の受付を禁止する。このマスク時間T1の期間は、ボタン信号マスク状態Bと呼ばれる。ここで、ボタン信号マスク状態Bとは、リモコンスイッチ装置10に何らかの力が加えられることにより移動するなどして、リモコンスイッチ装置10の位置が変化した状態に相当する。ここで、ボタンON信号は、ボタン信号がONの状態を示す。
In FIG. 3, it is assumed that the determination mode is in the angle change waiting state A before time t1. Here, the angle change waiting state A is an initial state of the switch input determination unit 21 and corresponds to, for example, a state where the remote control switch device 10 is placed on the floor or hung on a wall. To do.
At time t1, an angle change is detected by the switch state change detection unit 23 based on angle information input from the angle sensor 12 and the angle detection unit 13, and a signal of “there is an angle change” (operating state) is displayed as a switch operation determination unit. 24.
The switch operation determination unit 24 activates the mask time timer 26 to measure the mask time T1, and masks the input of the button signal for the mask time T1 up to time t2. That is, the reception of the button ON signal from the button input unit 11 is prohibited until a predetermined mask time T1 has elapsed after the “change in angle” is detected. This period of the mask time T1 is called a button signal mask state B. Here, the button signal mask state B corresponds to a state in which the position of the remote control switch device 10 has changed due to movement by applying some force to the remote control switch device 10. Here, the button ON signal indicates a state in which the button signal is ON.

このボタン信号マスク状態Bでは、時刻t1’においてボタン信号がON(ONエッジ有り)になっても、このボタンON信号はマスクされる。これは、「角度変化有り」が検出された後、すぐにボタン信号がONになるのは、外的衝撃によってボタンがONしたとして、通常の人の操作と区別するためである。
そして、スイッチ入力判定部21は、マスク時間T1の経過後、時刻t2からボタン信号受付状態Cに移行する。なお、ボタン信号受付状態Cにおいて、時刻t2から時刻t3の間、ボタン信号がONであるが、ボタン信号の受付には「ONエッジ有り」であることが条件なので、ボタン信号はONと認識されない。すなわち、ボタンON信号は、コントローラ3に出力されない。
In this button signal masking state B, this button ON signal is masked even if the button signal is turned ON (with an ON edge) at time t1 ′. This is because the button signal is turned ON immediately after the “change in angle” is detected in order to distinguish it from a normal human operation because the button is turned ON by an external impact.
Then, the switch input determination unit 21 shifts to the button signal reception state C from time t2 after the lapse of the mask time T1. In the button signal acceptance state C, the button signal is ON from time t2 to time t3, but the button signal is not recognized as ON because the button signal is accepted as “ON edge exists”. . That is, the button ON signal is not output to the controller 3.

一方、ボタン信号受付状態Cにおいて、時刻t4にボタン信号がON(ONエッジ有り)になると、このボタンON信号はスイッチ入力判定部21に受け付けられ、ボタンON状態Dとなる。このボタンON状態Dにおいては、ボタンON信号がコントローラ3に出力される(符号aで示すボタンON信号)。
その後、時刻t5において、「角度変化無し」の状態において、スイッチ入力判定部21は、ボタン信号がOFFになると、受付許可時間タイマ27を起動し、時刻t6までの受付許可時間T2を計測し、この受付許可時間T2の間は、ボタン信号受付状態Cを維持する。すなわち、「角度変化無し」及び「ボタンOFF」の状態で所定の受付許可時間T2が経過するまでは、ボタン信号の受付を許可する。そして、時刻t6以後、スイッチ入力判定部21は、再び、角度変化待ち状態Aに移行する。
従って、時刻t7において、ボタンON信号(ONエッジ有り)が入力されても、角度変化待ち状態Aであるため、このボタンON信号は受け付けられず、コントローラ3にボタンON信号が出力されることはない。
On the other hand, in the button signal acceptance state C, when the button signal is turned on (with an ON edge) at time t4, this button on signal is accepted by the switch input determination unit 21 and becomes the button on state D. In this button ON state D, a button ON signal is output to the controller 3 (button ON signal indicated by symbol a).
Thereafter, in the state of “no angle change” at time t5, when the button signal is turned OFF, the switch input determination unit 21 starts the reception permission time timer 27 and measures the reception permission time T2 until time t6. During this reception permission time T2, the button signal reception state C is maintained. That is, the reception of the button signal is permitted until the predetermined reception permission time T2 elapses in the state of “no angle change” and “button OFF”. After time t6, the switch input determination unit 21 again shifts to the angle change waiting state A.
Therefore, even if a button ON signal (with an ON edge) is input at time t7, it is in the angle change waiting state A, so this button ON signal is not accepted and the button ON signal is output to the controller 3. Absent.

なお、図3において、マスク時間T1及び受付許可時間T2は、リモコンスイッチ装置10の通常の取り扱い例を参考にして、実測あるいは実験結果により決めることができる。また、マスク時間T1を“0”秒に設定することで、「角度変化有り」の状態に移行した後、すぐに、ボタンON信号(ONエッジ有り)の入力を受け付けるようにしてもよい。また、受付許可時間T2を“0”秒に設定することで、「角度変化無し」及び「ボタンOFF」の状態で、すぐに角度変化待ち状態Aに移行するようにしてもよい。   In FIG. 3, the mask time T <b> 1 and the acceptance permission time T <b> 2 can be determined by actual measurement or experimental results with reference to a normal handling example of the remote control switch device 10. Further, by setting the mask time T1 to “0” seconds, an input of a button ON signal (with an ON edge) may be accepted immediately after shifting to the “angle change present” state. Alternatively, the acceptance permission time T2 may be set to “0” seconds to immediately shift to the angle change waiting state A in the state of “no angle change” and “button OFF”.

図4は、上述した角度変化待ち状態A、ボタン信号マスク状態B、ボタン信号受付状態C、及びボタンON状態Dの遷移図である。以下、図4(および図3)を参照しつつ、この状態遷移図について説明する。なお、この判定モードの遷移処理はスイッチ操作判定部24において行われるものである。   FIG. 4 is a transition diagram of the angle change waiting state A, the button signal mask state B, the button signal reception state C, and the button ON state D described above. Hereinafter, this state transition diagram will be described with reference to FIG. 4 (and FIG. 3). The determination mode transition process is performed by the switch operation determination unit 24.

最初に、角度変化待ち状態Aにあるものとする(例えば、図3の時刻t1以前の状態Aを参照)。そして、「ボタン信号OFF」の状態において、スイッチ状態変化検出部23によりリモコンスイッチ装置10の「角度変化有り」が検出されると、ボタン信号マスク状態Bに移行する(矢付線で示すステップSabを参照)。例えば、図2の時刻t1からt2の状態Bとなる。
このボタン信号マスク状態Bにおいて、マスク時間タイマ26によるマスク時間T1の計測中(マスク時間T1未満)に、「角度変化有り」が検出されなくなると、再度、角度変化待ち状態Aに移行する(矢付線で示すステップSbaを参照)。一方、ボタン信号マスク状態Bにおいて、マスク時間T1が経過するとボタン信号受付状態Cに移行する(矢付線で示すステップSbcを参照)。例えば、図2の時刻t2からt4の状態Cとなる。
First, it is assumed that the state is in the angle change waiting state A (see, for example, the state A before time t1 in FIG. 3). When the switch state change detection unit 23 detects that “there is an angle change” in the state of “button signal OFF”, the state shifts to the button signal mask state B (step Sab indicated by an arrow line). See). For example, the state B is from the time t1 to the time t2 in FIG.
In this button signal mask state B, when “there is an angle change” is not detected during the measurement of the mask time T1 by the mask time timer 26 (less than the mask time T1), the state shifts again to the angle change waiting state A (arrow). (Refer to step Sba indicated by a line). On the other hand, in the button signal mask state B, when the mask time T1 elapses, the state shifts to the button signal reception state C (see step Sbc indicated by an arrow line). For example, the state C changes from time t2 to t4 in FIG.

このボタン信号受付状態Cにおいて、ボタン信号がOFFからONになると(ONエッジが検出されると(「ONエッジ有り」))、ボタンON状態Dに移行する(矢付線で示すステップScdを参照)。例えば、図2の時刻t4からt5の状態Dとなる。
一方、ボタン信号受付状態Cにおいて、ボタン操作が行われることなく、受付許可時間T2を経過すると、角度変化待ち状態Aに移行する(矢付線で示すステップScaを参照)。例えば、図2おいて、時刻t5から受付許可時間T2が経過すると、時刻t6において角度変化待ち状態Aに戻る。
また、ボタンON状態Dにおいて、コントローラ3へボタンON信号を出力した後に、ボタン信号がOFFになると、ボタン信号受付状態Cに移行する(矢付線で示すステップSdcを参照)。例えば、図2において時刻t5において、ボタン信号がOFFになるとボタン信号受付状態Cに移行する。
In this button signal acceptance state C, when the button signal is turned from OFF to ON (when an ON edge is detected (“ON edge present”)), the state transitions to the button ON state D (see step Scd indicated by an arrow line). ). For example, the state D is from time t4 to time t5 in FIG.
On the other hand, in the button signal reception state C, when the reception permission time T2 elapses without any button operation, the state shifts to the angle change waiting state A (see step Sca indicated by an arrow line). For example, in FIG. 2, when the acceptance permission time T2 elapses from time t5, the state returns to the angle change waiting state A at time t6.
Further, when the button signal is turned OFF after the button ON signal is output to the controller 3 in the button ON state D, the state shifts to the button signal reception state C (see step Sdc indicated by an arrow line). For example, when the button signal is turned OFF at time t5 in FIG.

このように、本実施形態では、角度変化待ち状態Aと、ボタン信号マスク状態Bと、ボタン信号受付状態Cと、ボタンON状態Dとの4つのモードを遷移し、リモコンスイッチ装置10における意図しない誤動作を回避するようにしている。
すなわち、スイッチ操作判定部24は、角度センサ12又は加速度センサ14が操作により生じる状態の変化を検出し、検出した変化に基づいて静止状態又は動作状態を判定する。そして、判定結果に応じてスイッチの操作による入力指令(ボタンON信号)をコントローラ3に出力するか否かを決定する。
As described above, in this embodiment, the four modes of the angle change waiting state A, the button signal mask state B, the button signal reception state C, and the button ON state D are transitioned, and the remote control switch device 10 does not intend. The malfunction is avoided.
That is, the switch operation determination unit 24 detects a change in state caused by the operation of the angle sensor 12 or the acceleration sensor 14, and determines a stationary state or an operation state based on the detected change. Then, it is determined whether or not an input command (button ON signal) by operating the switch is output to the controller 3 according to the determination result.

また、図5、図7、図8、及び図9は、スイッチ入力判定部21で行われる処理の流れを示すフローチャートであり、上述したスイッチ入力判定部21において実行される処理の流れをフローチャートで示したものである。
スイッチ入力判定部21では、所定の制御処理周期で図5のフローチャートに示す処理(メインルーチン)を実行する。
5, FIG. 7, FIG. 8, and FIG. 9 are flowcharts showing the flow of processing performed by the switch input determination unit 21, and the flow of processing executed by the switch input determination unit 21 described above is a flowchart. It is shown.
The switch input determination unit 21 executes processing (main routine) shown in the flowchart of FIG. 5 at a predetermined control processing cycle.

まず、スイッチ入力判定部21において、ボタン入力部11からボタンON信号(または、OFF信号)を入力すると、まずこの信号に対してノイズを除去するためのボタン入力フィルタ処理を行う(ステップS11)。続いて、角度検出部13から入力した角度検出信号(角度入力信号)に対して、角度入力フィルタ処理を行う(ステップS12)。その後、スイッチ状態変化の検出処理(ステップS13)と、スイッチ操作の判定処理が行われる。なお、加速度センサ14を用いる場合は、角度検出部13から出力される加速度情報についてもフィルタ処理が行われる。   First, when a button ON signal (or an OFF signal) is input from the button input unit 11 in the switch input determination unit 21, first, button input filter processing for removing noise is performed on this signal (step S11). Subsequently, an angle input filter process is performed on the angle detection signal (angle input signal) input from the angle detection unit 13 (step S12). Thereafter, a switch state change detection process (step S13) and a switch operation determination process are performed. When the acceleration sensor 14 is used, the acceleration information output from the angle detection unit 13 is also filtered.

図6は、ボタン入力フィルタ処理(ステップS11)及び角度入力フィルタ処理(ステップS12)において行われるフィルタ処理について説明するための図である。図6(A)に示すように、ボタン入力信号のフィルタ処理においては、ボタンON信号の前後のノイズ(スイッチ接点のチャタリングノイズ等)をフィルタリング(除去)する。また、図6(B)に示すように、加速度情報のフィルタ処理においては、角度情報の波形全体のノイズ(ジッタ成分等の高周波ノイズ)をフィルタリングする。なお、加速度センサ14を用いる場合は、加速度検出部15から出力される加速度情報の波形全体のノイズ(高周波ノイズ)をフィルタリングする。このように、フィルタリングを行うことでノイズを抑制することにより、精度よくボタン信号及び角度情報(および加速度情報)を入力することができる。なお、この信号のフィルタリング処理は、デジタルフィルタなどを用いて行われる。   FIG. 6 is a diagram for explaining filter processing performed in the button input filter processing (step S11) and the angle input filter processing (step S12). As shown in FIG. 6A, in the filter processing of the button input signal, noise before and after the button ON signal (such as chattering noise at the switch contact) is filtered (removed). Further, as shown in FIG. 6B, in the acceleration information filtering process, noise (high-frequency noise such as a jitter component) of the entire angle information waveform is filtered. When the acceleration sensor 14 is used, noise (high frequency noise) of the entire waveform of acceleration information output from the acceleration detection unit 15 is filtered. Thus, by suppressing noise by performing filtering, it is possible to input the button signal and angle information (and acceleration information) with high accuracy. The signal filtering process is performed using a digital filter or the like.

また、図7は、図5に示すステップS13におけるスイッチ状態変化検出処理の詳細を示すフローチャートである。図7(A)は、角度センサ12を使用した場合のスイッチ状態変化検出処理の流れを示し、図7(B)は、加速度センサ14を使用した場合のスイッチ状態変化検出処理の流れを示している。なお。このスイッチ状態変化検出処理はスイッチ状態変化検出部23において行われるものである。   FIG. 7 is a flowchart showing details of the switch state change detection process in step S13 shown in FIG. 7A shows the flow of the switch state change detection process when the angle sensor 12 is used, and FIG. 7B shows the flow of the switch state change detection process when the acceleration sensor 14 is used. Yes. Note that. This switch state change detection process is performed in the switch state change detector 23.

最初に、図7(A)を参照して、角度センサ12を用いた場合のスイッチ状態変化検出処理の流れについて説明する。
まず、最初に、前回に角度検出部13から読み込んだ前回角度情報(角度情報バッファ25に保存された角度情報)と、今回の角度情報とが等しいか否かを判定する(ステップS101)。前回角度情報と、今回の角度情報とが等しくないと判定された場合(ステップS101でYes)、角度情報バッファ25をクリアする(ステップS102)。また、基準角度更新タイマ28のタイマ値をクリアする(ステップS103)。
First, the flow of the switch state change detection process when the angle sensor 12 is used will be described with reference to FIG.
First, it is determined whether or not the previous angle information (angle information stored in the angle information buffer 25) read from the angle detection unit 13 last time is equal to the current angle information (step S101). If it is determined that the previous angle information is not equal to the current angle information (Yes in step S101), the angle information buffer 25 is cleared (step S102). Further, the timer value of the reference angle update timer 28 is cleared (step S103).

そして、ステップS108に移行し、「今回角度情報>基準角度+XX度」又は「今回角度情報<基準角度−XX度」であるか否かを判定する(ステップS108)。ここで、XX度は予め設定される角度変化検出用の値である。そして、判定条件を満足する場合、すなわち、今回角度情報が「今回角度情報>基準角度+XX度」又は「今回角度情報<基準角度−XX度」である場合は(ステップS108でYes)、リモコンスイッチ装置10の状態(スイッチ状態)を「角度変化有り」とする(ステップS109)。また、ステップS108において、今回角度情報が「今回角度情報>基準角度+XX度」でなく、かつ「今回角度情報<基準角度−XX度」でない場合は(ステップS108でNo)、リモコンスイッチ装置10の状態(スイッチ状態)を「角度変化無し」とする(ステップS110)。   Then, the process proceeds to step S108, and it is determined whether “current angle information> reference angle + XX degrees” or “current angle information <reference angle−XX degrees” is satisfied (step S108). Here, the XX degree is a preset value for angle change detection. If the determination condition is satisfied, that is, if the current angle information is “current angle information> reference angle + XX degrees” or “current angle information <reference angle−XX degrees” (Yes in step S108), the remote control switch The state (switch state) of the apparatus 10 is set to “with angle change” (step S109). In step S108, if the current angle information is not “current angle information> reference angle + XX degrees” and is not “current angle information <reference angle−XX degrees” (No in step S108), the remote control switch device 10 The state (switch state) is set to “no angle change” (step S110).

一方、ステップS101において、前回角度情報と今回の角度情報とが等しいと判定された場合(ステップS101でNo)、角度情報バッファ25に今回角度情報を入力する(ステップS104)。そして、基準角度更新タイマ28のタイマ値について「タイマ値>角度変化無し判定時間」であるか否かを判定する(ステップS105)。
ステップS105において、「タイマ値>角度変化無し判定時間」であると判定された場合は(ステップS105でYes)、角度情報バッファ25に保存した角度情報の平均値を算出し、この算出した平均値を新たな基準角度の情報として入力する(ステップS106)。すなわち、ステップS101の判定において、「前回角度情報=今回角度情報」が連続する場合は、基準角度更新タイマ28の計数期間中に読み込んだ角度情報に基づいて、新たな基準角度を設定することになる。その後、ステップS108に移行する。
一方、ステップS105において、「タイマ値>角度変化無し判定時間」でないと判定された場合は(ステップS105でNo)、タイマ値をインクリメントし(ステップS107)、その後、ステップS108に移行する。
On the other hand, if it is determined in step S101 that the previous angle information is equal to the current angle information (No in step S101), the current angle information is input to the angle information buffer 25 (step S104). Then, it is determined whether the timer value of the reference angle update timer 28 is “timer value> no angle change determination time” (step S105).
If it is determined in step S105 that “timer value> no angle change determination time” (Yes in step S105), an average value of the angle information stored in the angle information buffer 25 is calculated, and the calculated average value Is input as new reference angle information (step S106). That is, in the determination of step S101, when “previous angle information = current angle information” continues, a new reference angle is set based on the angle information read during the counting period of the reference angle update timer 28. Become. Thereafter, the process proceeds to step S108.
On the other hand, if it is determined in step S105 that “timer value> no angle change determination time” (No in step S105), the timer value is incremented (step S107), and then the process proceeds to step S108.

上述したスイッチ状態変化検出処理により、角度情報を基準角度と比較することにより、リモコンスイッチ装置10の姿勢(傾き)が変化した場合に、「角度変化有り」を検出することができるとともに、「角度変化無し」が所定の時間継続した場合には、この継続した角度情報に基づいて、新たな基準角度を設定することができる。   By comparing the angle information with the reference angle by the switch state change detection process described above, it is possible to detect “there is an angle change” when the attitude (tilt) of the remote control switch device 10 changes, When “no change” continues for a predetermined time, a new reference angle can be set based on the continued angle information.

なお、スイッチ状態変化検出処理をより簡略化し、単純に水平角度±○○度以外なら「角度変化有り」、水平角度±○○度以内なら「角度変化無し」と判定するようにしてもよい。また、上記基準角度については、リモコンスイッチ装置10の起動時に毎回チェックするようにしてもよいし、あるいは、リモコンスイッチ装置10の電源が切れる前にEEPROM(Electrically Erasable PROM)などの不揮発メモリに基準角度を記憶しておき次回起動時は、記憶した値を使用する方法を使用することができる。   It should be noted that the switch state change detection process may be further simplified, and it may be determined that “there is an angle change” if it is other than the horizontal angle ± XX degrees, and “there is no angle change” if it is within the horizontal angle ± XX degrees. The reference angle may be checked every time the remote control switch device 10 is activated, or the reference angle is stored in a nonvolatile memory such as an EEPROM (Electrically Erasable PROM) before the remote control switch device 10 is turned off. Can be stored and the stored value can be used at the next startup.

次に、図7(B)を参照して、加速度センサ14を用いた場合のスイッチ状態変化検出処理の流れについて説明する。なお、加速度センサ14を使用する場合は、リモコンスイッチ装置10が静止している場合は「加速度=0」であり、人間が触るなどしてリモコンスイッチ装置10の状態が変化した場合は、「加速度≠0」となるため基準角度を設ける必要がない。   Next, the flow of the switch state change detection process when the acceleration sensor 14 is used will be described with reference to FIG. Note that when the acceleration sensor 14 is used, “acceleration = 0” when the remote control switch device 10 is stationary, and “acceleration” when the state of the remote control switch device 10 changes due to a human touch or the like. Therefore, it is not necessary to provide a reference angle.

この場合は、まず、加速度センサ14から加速度の信号を読み込み、「加速度>V1」かつ「加速度<V2」であるか否かを判定する(ステップS201)。すなわち、加速度が所定の範囲内(V1<加速度<V2)であるか否かを判定する。
そして、「加速度>V1」かつ「加速度<V2」である場合は(ステップS201でYes)、リモコンスイッチ装置10の状態(スイッチ状態)を「角度変化有り」とする(ステップS202)。一方、加速度>V1」かつ「加速度<V2」でない場合は(ステップS201でNo)、リモコンスイッチ装置10の状態(スイッチ状態)を「角度変化無し」とする(ステップS203)
このように、加速度センサ14を使用する場合は、加速度が所定の範囲内の値である場合に、リモコンスイッチ装置10の状態を「角度変化有り」とする。なお、比較基準となる範囲を示す加速度V1、V2については、リモコンスイッチ装置10の人間による通常の取り扱い例を参考にして、実測あるいは実験結果により決めることができる。
In this case, first, an acceleration signal is read from the acceleration sensor 14 to determine whether or not “acceleration> V1” and “acceleration <V2” (step S201). That is, it is determined whether or not the acceleration is within a predetermined range (V1 <acceleration <V2).
If “acceleration> V1” and “acceleration <V2” (Yes in step S201), the state (switch state) of the remote control switch device 10 is set to “with angle change” (step S202). On the other hand, when “acceleration> V1” and “acceleration <V2” are not satisfied (No in step S201), the state (switch state) of remote control switch device 10 is set to “no angle change” (step S203).
Thus, when the acceleration sensor 14 is used, when the acceleration is a value within a predetermined range, the state of the remote control switch device 10 is set to “with angle change”. The accelerations V1 and V2 indicating the comparison reference ranges can be determined by actual measurement or experimental results with reference to a normal handling example of the remote control switch device 10 by a human.

また、図8及び図9は、図5に示すステップS14におけるスイッチ操作判定処理の詳細を示すフローチャートである。このうち図8は、角度変化待ち状態A及びボタン信号マスク状態Bにおける処理の流れを示し、図9は、ボタン信号受付状態C及びタンON状態Dにおける処理の流れを示している。   8 and 9 are flowcharts showing details of the switch operation determination processing in step S14 shown in FIG. 8 shows the flow of processing in the angle change waiting state A and the button signal mask state B, and FIG. 9 shows the flow of processing in the button signal reception state C and the tan ON state D.

最初に、図8を参照して、角度変化待ち状態A及びボタン信号マスク状態Bにおける処理の流れについて説明する。
まず、現在の判定モードが「判定モード=角度変化待ち状態A」であるか否かを判定する(ステップS301)。そして、「判定モード=角度変化待ち状態A」である場合は(ステップS301でYes)、「ボタン信号=OFF」である否かを判定する(ステップS302)。
First, the flow of processing in the angle change waiting state A and the button signal mask state B will be described with reference to FIG.
First, it is determined whether or not the current determination mode is “determination mode = angle change waiting state A” (step S301). If “determination mode = angle change waiting state A” (Yes in step S301), it is determined whether or not “button signal = OFF” (step S302).

ステップS302において、「ボタン信号=OFF」でないと判定された場合は(ステップS302でNo)、そのまま「判定モード=角度変化待ち状態A」を維持して処理を終了する。ステップS302において、「ボタン信号=OFF」であると判定された場合は(ステップS302でYes)、続いて、リモコンスイッチ装置10の状態(スイッチ状態)が「スイッチ状態=角度変化有り」か否かを判定する(ステップS303)。
ステップS303において、「角度変化無し」(静止状態)と判定された場合は、そのまま「判定モード=角度変化待ち状態A」を維持して処理を終了する。
一方、ステップS303において「スイッチ状態=角度変化有り」と判定された場合は(ステップS303でYes)、マスク時間タイマ26の計数値(タイマ値)を“0”にし(ステップS304)、判定モードをボタン信号マスク状態Bに遷移させて処理を終了する(ステップS305)。
If it is determined in step S302 that “button signal = OFF” is not satisfied (No in step S302), the “determination mode = angle change waiting state A” is maintained and the process is terminated. If it is determined in step S302 that “button signal = OFF” (Yes in step S302), then the state (switch state) of the remote control switch device 10 is “switch state = change in angle” or not. Is determined (step S303).
If it is determined in step S303 that there is no “angle change” (still state), “judgment mode = angle change waiting state A” is maintained and the process is terminated.
On the other hand, if it is determined in step S303 that “switch state = change in angle” (Yes in step S303), the count value (timer value) of the mask time timer 26 is set to “0” (step S304), and the determination mode is set. The process is terminated after the transition to the button signal mask state B (step S305).

一方、ステップS301において、「判定モード=角度変化待ち状態」でないと判定された場合は(ステップS301でNo)、ステップS306に移行し、「判定モード=ボタン信号マスク状態B」であるか否かを判定する(ステップS306)。そして、ステップS306において、「判定モード=ボタン信号マスク状態B」であると判定された場合は(ステップS306でYes)、マスク時間タイマ26の計数値(タイマ値)をインクリメントし(ステップS307)、マスク時間タイマ26の計数値(タイマ値)が「タイマ値>マスク時間T1」であるか否かを判定する(ステップS308)。   On the other hand, if it is determined in step S301 that it is not “determination mode = angle change waiting state” (No in step S301), the process proceeds to step S306, and whether or not “determination mode = button signal mask state B” is determined. Is determined (step S306). If it is determined in step S306 that “determination mode = button signal mask state B” (Yes in step S306), the count value (timer value) of the mask time timer 26 is incremented (step S307). It is determined whether or not the count value (timer value) of the mask time timer 26 is “timer value> mask time T1” (step S308).

ステップS308において、「タイマ値>マスク時間T1」でないと判定された場合(ステップS308でNo)、そのまま、「判定モード=ボタン信号マスク状態B」を維持して処理を終了する。一方、「タイマ値>マスク時間T1」である判定された場合(ステップS308でYes)、「判定モード=ボタン信号受付状態C」に遷移し(ステップS309)、処理を終了する。また、ステップS306において、「判定モード=ボタン信号マスク状態B」でないと判定された場合は、ステップS310(図9)に移行する。   If it is determined in step S308 that “timer value> mask time T1” is not satisfied (No in step S308), “determination mode = button signal mask state B” is maintained and the process is terminated. On the other hand, if it is determined that “timer value> mask time T1” (Yes in step S308), the process proceeds to “determination mode = button signal reception state C” (step S309), and the process is terminated. If it is determined in step S306 that “determination mode = button signal mask state B” is not established, the process proceeds to step S310 (FIG. 9).

図9は、ボタン信号受付状態C及びボタンON状態Dにおける処理の流れを示すフローチャートである。
まず、ステップS310に引き続くステップS311において、「判定モード=ボタン信号受付状態C」であるか否かを判定する。「判定モード=ボタン信号受付状態C」であると判定された場合は(ステップS311でYes)、「ボタン信号ON(ONエッジ有り)」であるか否かを判定する(ステップS312)。
FIG. 9 is a flowchart showing the flow of processing in the button signal acceptance state C and the button ON state D.
First, in step S311 following step S310, it is determined whether or not “determination mode = button signal reception state C”. If it is determined that “determination mode = button signal reception state C” (Yes in step S311), it is determined whether or not “button signal is ON (ON edge exists)” (step S312).

そして、ステップS312において、「ボタン信号ON(ONエッジ有り)」であると判定された場合は(ステップS312でYes)、受付許可時間タイマ27の計数値(タイマ値)を“0”にし(ステップS313)、続いて、「判定モード=ボタンON状態D」に遷移し(ステップS314)、処理を終了する。
一方、ステップS312において、ボタン信号ON(ONエッジ有り)」でない判定された場合は(ステップS312でNo)、ステップS315に移行し、リモコンスイッチ装置10の状態(スイッチ状態)について「スイッチ状態≠角度変化有り」であるか否かを判定する(ステップS315)。
ステップS315において、「スイッチ状態≠角度変化有り」でないと判定された場合、すなわち「スイッチ状態=角度変化有り」と判定された場合は(ステップS315でNo)、受付許可時間タイマ27の計数値(タイマ値)を“0”にして(ステップS316)、そのまま「判定モード=ボタン信号受付状態C」を維持して処理を終了する。
If it is determined in step S312 that “button signal ON (ON edge present)” (Yes in step S312), the count value (timer value) of the reception permission timer 27 is set to “0” (step S312). S313) Subsequently, the state transits to “judgment mode = button ON state D” (step S314), and the process ends.
On the other hand, if it is determined in step S312 that the button signal is not ON (ON edge present) (No in step S312), the process proceeds to step S315, and the state (switch state) of the remote control switch device 10 is “switch state ≠ angle. Whether or not there is a change is determined (step S315).
If it is determined in step S315 that “switch state ≠ angle change present”, that is, if “switch state = angle change present” is determined (No in step S315), the count value of the acceptance permission time timer 27 (No in step S315) (Timer value) is set to “0” (step S316), “judgment mode = button signal acceptance state C” is maintained as it is, and the process is terminated.

一方、ステップS315において、「スイッチ状態≠角度変化有り」であると判定された場合、すなわち「スイッチ状態=角度変化有り」と判定された場合は(ステップS315でYes)、受付許可時間タイマ27の計数値(タイマ値)をインクリメントし(ステップS317)、続いて、受付許可時間タイマ27のタイマ値が「タイマ値>信号受付許可時間T2」であるか否かを判定する(ステップS318)。   On the other hand, if it is determined in step S315 that “switch state ≠ angle change is present”, that is, if “switch state = angle change is present” (Yes in step S315), the reception permission time timer 27 The count value (timer value) is incremented (step S317), and then it is determined whether or not the timer value of the reception permission time timer 27 is “timer value> signal reception permission time T2” (step S318).

ステップS318において、「タイマ値>信号受付許可時間T2」でないと判定された場合は、すなわち信号受付許可時間T2を経過していない場合は(ステップS318でNo)、そのまま「判定モード=ボタン信号受付状態C」を維持して処理を終了する。一方、ステップS318において、「タイマ値>信号受付許可時間T2」である判定された場合は、すなわち信号受付許可時間T2を経過している場合は(ステップS318でYes)、信号受付許可時間T2内でボタン信号がONにならなかったので、受付許可時間タイマ27の計数値(タイマ値)を“0”にし(ステップS319)、「判定モード=角度変化待ち状態」に遷移して(ステップS320)、処理を終了する。   If it is determined in step S318 that “timer value> signal reception permission time T2” is not satisfied, that is, if the signal reception permission time T2 has not elapsed (No in step S318), “determination mode = button signal reception” The process is terminated while maintaining the “state C”. On the other hand, if it is determined in step S318 that "timer value> signal reception permission time T2", that is, if the signal reception permission time T2 has elapsed (Yes in step S318), the signal reception permission time T2 is not exceeded. Since the button signal was not turned ON, the count value (timer value) of the acceptance permission timer 27 is set to “0” (step S319), and the state is changed to “judgment mode = angle change waiting state” (step S320). The process is terminated.

一方、ステップS311において、「判定モード=ボタン信号受付状態C」でないと判定された場合は(ステップS311でNo)、ステップS321に移行する。このステップS321に移行するのは、「判定モード=ボタンON状態D」の場合のみである。そして、ステップS321において、「ボタン信号=ON」であるか否かを判定する(ステップS321)。
ステップS321において、「ボタン信号=ON」であると判定された場合(ステップS321でYes)、コントローラ3へボタン信号を出力する(ステップS322)。一方、ステップS321において、「ボタン信号=ON」でないと判定された場合は、コントローラ3へのボタン信号をOFFにし(ステップS323)、「判定モード=ボタン信号受付状態C」に遷移して(ステップS324)、処理を終了する。
On the other hand, when it is determined in step S311 that “determination mode = button signal reception state C” is not satisfied (No in step S311), the process proceeds to step S321. The process proceeds to step S321 only when “determination mode = button ON state D”. Then, in step S321, it is determined whether or not “button signal = ON” (step S321).
If it is determined in step S321 that “button signal = ON” (Yes in step S321), a button signal is output to the controller 3 (step S322). On the other hand, if it is determined in step S321 that “button signal = ON” is not established, the button signal to the controller 3 is turned off (step S323), and the state transitions to “determination mode = button signal acceptance state C” (step S323). S324), the process is terminated.

以上、説明したように、本発明のリモコンスイッチ装置10においては、角度センサ12及び加速度センサ14により、リモコンスイッチ装置10の状態(傾き、動き)を感知して、人の意図するリモコン操作か否かを判定することができる。人の意図としないリモコン操作であった場合(リモコンスイッチ装置10の上に物が置かれた場合等)、電動式作動台が作動することがないように設定することが可能となる。また、リモコンの角度及び加速度を検出することにより操作可能か否かを判定するので、外部的な操作(ユーザによる操作)が複雑化しない。また、操作可能状態を表示するLEDランプ等のユーザへの伝達手段を備えるので、リモコンスイッチ装置10の操作可能か否かの判断が容易となり、電動式作動台を取り扱う上での安全性が向上する。   As described above, in the remote control switch device 10 of the present invention, the state (tilt, movement) of the remote control switch device 10 is sensed by the angle sensor 12 and the acceleration sensor 14 to determine whether or not the remote control operation intended by the person. Can be determined. When the remote control operation is not intended by a person (for example, when an object is placed on the remote control switch device 10), it is possible to set so that the electric operating table does not operate. Further, since it is determined whether or not the operation is possible by detecting the angle and acceleration of the remote controller, the external operation (operation by the user) is not complicated. In addition, since a means for transmitting to the user such as an LED lamp for displaying an operable state is provided, it is easy to determine whether or not the remote control switch device 10 can be operated, and safety in handling the electric actuator is improved. To do.

また、リモコンスイッチ装置10に加えられた操作により、状態検出センサである角度センサ12又は加速度センサ14を用いて動作状態を検出してから一定の時間(マスク時間T1)の間、ボタン信号をコントローラ3に出力しないようにした。これにより、リモコンスイッチ装置10を床に落下させてしまった場合などに動作状態となるとともに、ボタンが押下されたとしても、ボタン信号をマスクすることができ、意図しないリモコン操作がコントローラ3に出力されて電動式作動台が動作することを防ぐことができる。
また、ボタン信号受付状態Cにおいて、ボタン操作が終了後(ボタン信号がOFFとなった後)に、ボタン信号受付状態Cを一定の時間(受付許可時間T2)のあいだ状態を維持するようにした。これにより、連続したボタン操作を受け付けることができ、リモコンスイッチ装置10の操作性を損なうことなく、意図しない操作を防ぐことができる。
Further, the button signal is transmitted to the controller for a certain time (mask time T1) after the operation state is detected by the operation applied to the remote control switch device 10 using the angle sensor 12 or the acceleration sensor 14 which is a state detection sensor. No output to 3. As a result, when the remote control switch device 10 is dropped on the floor, it becomes an operating state, and even if the button is pressed, the button signal can be masked and an unintended remote control operation is output to the controller 3. It is possible to prevent the electric actuator from operating.
Further, in the button signal reception state C, after the button operation is finished (after the button signal is turned OFF), the button signal reception state C is maintained for a certain period of time (reception permission time T2). . Thereby, a continuous button operation can be received, and an unintended operation can be prevented without impairing the operability of the remote control switch device 10.

このように、従来は床に置いた状態でスイッチがONしないように、ケース形状を工夫して、ボタンの接点がONするのに必要な押下力を高めに設定してONしにくくなるようにしていたが、本発明を使用すれば、このような規制に縛られない製品を作ることが可能となる。   Thus, in the past, the case shape was devised so that the switch would not turn on when it was placed on the floor, and the pressing force required to turn on the button contact was set high to make it difficult to turn on. However, if the present invention is used, a product that is not bound by such regulations can be made.

以上、本発明の実施の形態について説明したが、本発明のリモコンスイッチ装置、及び電動ベッド装置は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。   Although the embodiment of the present invention has been described above, the remote control switch device and the electric bed device of the present invention are not limited to the above-described illustrated examples, and various types can be made without departing from the gist of the present invention. Of course, changes can be made.

1…電動ベッド装置、2…電動ベッド、3…コントローラ、3A…通信ケーブル、4,4A,4B,4C…モータ、5…ベッド本体、10…リモコンスイッチ装置、11…ボタン入力部、12…角度センサ、13…角度検出部、14…加速度センサ、15…加速度検出部、16…表示部、17…解除スイッチ、18…電源スイッチ、21…スイッチ入力判定部、22…フィルタ部、23…スイッチ状態変化検出部、24…スイッチ操作判定部、25…角度情報バッファ、26…マスク時間タイマ、27…受付許可時間タイマ、28…基準角度更新タイマ DESCRIPTION OF SYMBOLS 1 ... Electric bed apparatus, 2 ... Electric bed, 3 ... Controller, 3A ... Communication cable, 4, 4A, 4B, 4C ... Motor, 5 ... Bed main body, 10 ... Remote control switch apparatus, 11 ... Button input part, 12 ... Angle Sensor: 13 ... Angle detection unit, 14 ... Acceleration sensor, 15 ... Acceleration detection unit, 16 ... Display unit, 17 ... Release switch, 18 ... Power switch, 21 ... Switch input determination unit, 22 ... Filter unit, 23 ... Switch state Change detection unit, 24 ... switch operation determination unit, 25 ... angle information buffer, 26 ... mask time timer, 27 ... acceptance permission time timer, 28 ... reference angle update timer

Claims (7)

電動式作動台に備えたアクチュエータを駆動させるコントローラに、スイッチの操作により入力指令を出力して前記アクチュエータを遠隔操作するリモコンスイッチ装置であって、
操作により生じる状態の変化を検出する状態検出センサと、
前記状態検出センサが検出した変化に基づいて静止状態又は動作状態を判定し、判定結果に応じて前記スイッチの操作による入力指令を前記コントローラに出力するか否かを決定するスイッチ操作判定部と
を備え
前記スイッチ操作判定部は、
前記動作状態と判定してから一定時間前記スイッチの操作による入力指令を前記コントローラに出力しないようにし、前記スイッチの操作が終了した後一定時間内に受け付けた前記スイッチの操作による入力指令を前記コントローラに出力する
ことを特徴とするリモコンスイッチ装置。
A remote control switch device for remotely operating the actuator by outputting an input command by operating a switch to a controller for driving the actuator provided in the electric operating table,
A state detection sensor for detecting a change in state caused by an operation;
A switch operation determination unit that determines a stationary state or an operating state based on a change detected by the state detection sensor, and determines whether or not to output an input command by operating the switch to the controller according to a determination result; Prepared ,
The switch operation determination unit
An input command based on the operation of the switch is not output to the controller for a certain period of time after the operation state is determined, and an input command based on the operation of the switch received within a certain time after the operation of the switch is completed Remote control switch device characterized in that output to
前記状態検出センサが角度センサである
ことを特徴とする請求項1に記載のリモコンスイッチ装置。
The remote control switch device according to claim 1, wherein the state detection sensor is an angle sensor.
現在の時点から所定の時間前までにおける前記角度センサの検出した角度の平均値を基準角度として、前記角度センサが現在検出する角度が、前記基準角度より所定角度以上大きいか、又は前記基準角度よりも所定角度以上小さい場合に前記動作状態が検出されたとして、入力指令を前記コントローラに出力する判定をするスイッチ状態変化検出部を備え、
前記スイッチ操作判定部が、前記スイッチ状態変化検出部が前記動作状態を検出した場合、前記入力指令を前記コントローラに出力する判定をし、前記入力指令をコントローラに出力する
ことを特徴とする請求項2に記載のリモコンスイッチ装置。
Using the average value of the angles detected by the angle sensor from the current time point to a predetermined time before as a reference angle, the angle detected by the angle sensor is greater than the reference angle by a predetermined angle or larger than the reference angle. A switch state change detection unit that determines that an input command is output to the controller, assuming that the operation state is detected when the angle is smaller than a predetermined angle,
The switch operation determination unit, when the switch state change detection unit detects the operation state, determines to output the input command to the controller, and outputs the input command to the controller. The remote control switch device according to 2.
前記状態検出センサが加速度センサであり、
前記加速度センサにより検出される加速度が予め定められた範囲内の加速度である場合、前記動作状態が検出されたとして、入力指令を前記コントローラに出力する判定をするスイッチ状態変化検出部を備え、
前記スイッチ操作判定部が、前記スイッチ状態変化検出部が前記動作状態を検出した場合、前記入力指令を前記コントローラに出力する判定をし、前記入力指令を前記コントローラに出力する
ことを特徴とする請求項1に記載のリモコンスイッチ装置。
The state detection sensor is an acceleration sensor;
When the acceleration detected by the acceleration sensor is an acceleration within a predetermined range, the switch state change detection unit that determines to output an input command to the controller is detected as the operation state is detected,
The switch operation determination unit, when the switch state change detection unit detects the operation state, determines to output the input command to the controller, and outputs the input command to the controller. Item 12. The remote control switch device according to Item 1.
複数のボタンスイッチが配列され、該複数のボタンスイッチのうちいずれかが押下されると、押下されたボタンスイッチに応じたボタン信号を出力するボタン入力部を備え、
前記スイッチ操作判定部は、
前記スイッチ状態変化検出部によりリモコンスイッチ装置の前記動作状態が検出されるのを待つ変化待ち状態Aと、
記変化待ち状態Aにおいて前記動作状態が検出された場合に遷移する状態であって、所定のマスク時間に亘りボタン信号の受付を禁止するボタン信号マスク状態Bと、
前記ボタン信号マスク状態Bにおいて前記所定のマスク時間が経過した場合に遷移する状態であって、ボタン信号の受付を許可するボタン信号受付状態Cと、
前記ボタン信号受付状態Cにおいてボタン信号が入力された場合に遷移する状態であって、入力されたボタン信号を前記コントローラに出力する状態であるボタンON状態Dと、の4つの遷移モードを備え、
前記リモコンスイッチ装置の状態の変化と、前記ボタンスイッチのオン・オフ状態とに応じて前記4つの判定モードの間を遷移して、前記ボタン信号を受け付けるか否かを判定する
ことを特徴とする請求項3又は請求項4のいずれかに記載のリモコンスイッチ装置。
A plurality of button switches are arranged, and when any one of the plurality of button switches is pressed, a button input unit that outputs a button signal corresponding to the pressed button switch is provided.
The switch operation determination unit
And wait one change waiting state A from the operating state of the remote control switch device is detected by the switch state change detecting section,
A state if said operating state is detected in the previous SL change waiting state A, and button signals masked state B to prohibit the acceptance of the button signal for a predetermined mask time,
A transition state when the predetermined mask time has elapsed in the button signal mask state B, the button signal acceptance state C permitting acceptance of the button signal;
The button signal reception state C includes four transition modes: a button transition state when a button signal is input, and a button ON state D in which the input button signal is output to the controller.
It is determined whether or not to accept the button signal by transitioning between the four determination modes in accordance with a change in the state of the remote control switch device and an on / off state of the button switch. The remote control switch device according to claim 3 or 4.
前記リモコンスイッチ装置の動作状態を示す表示部を
備えることを特徴とする請求項1から請求項5のいずれかに記載のリモコンスイッチ装置。
The remote control switch device according to any one of claims 1 to 5, further comprising a display unit that indicates an operation state of the remote control switch device.
請求項1から請求項6のいずれかに記載のリモコンスイッチ装置を備えるとともに、
アクチュエータを駆動させるコントローラに、前記リモコンスイッチ装置のスイッチ操作により入力指令を伝達し、前記アクチュエータにより複数個所を所定の動作で駆動する
ことを特徴とする電動式作動台。
While comprising the remote control switch device according to any one of claims 1 to 6,
An electric operating table, wherein an input command is transmitted to a controller for driving an actuator by a switch operation of the remote control switch device, and a plurality of locations are driven by the actuator by a predetermined operation.
JP2009288038A 2009-12-18 2009-12-18 Remote control switch device and electric actuator Expired - Fee Related JP5613407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009288038A JP5613407B2 (en) 2009-12-18 2009-12-18 Remote control switch device and electric actuator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009288038A JP5613407B2 (en) 2009-12-18 2009-12-18 Remote control switch device and electric actuator

Publications (2)

Publication Number Publication Date
JP2011125552A JP2011125552A (en) 2011-06-30
JP5613407B2 true JP5613407B2 (en) 2014-10-22

Family

ID=44288813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009288038A Expired - Fee Related JP5613407B2 (en) 2009-12-18 2009-12-18 Remote control switch device and electric actuator

Country Status (1)

Country Link
JP (1) JP5613407B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014204846A (en) * 2013-04-12 2014-10-30 パラマウントベッド株式会社 Bed operation device and program
CN105208992B (en) * 2013-05-15 2017-11-03 八乐梦床业有限公司 Bed apparatus
JP6887715B2 (en) * 2017-05-26 2021-06-16 パラマウントベッド株式会社 Electric bed hand switch and electric bed
JP6906010B2 (en) * 2017-08-30 2021-07-21 パラマウントベッド株式会社 Bed operating device
JP6681368B2 (en) * 2017-08-30 2020-04-15 パラマウントベッド株式会社 Bed system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2637051B2 (en) * 1994-11-04 1997-08-06 パラマウントベッド株式会社 Bed provided with a floor undulating mechanism having wake-up angle adjusting means
JPH10304480A (en) * 1997-05-02 1998-11-13 Sanwa Denshi Kiki Kk Remote control transmitter
JP4418047B2 (en) * 1999-02-26 2010-02-17 三菱電機株式会社 Air conditioner remote control device
JP2002081725A (en) * 2000-09-11 2002-03-22 Daikin Ind Ltd Air conditioner
JP4688331B2 (en) * 2001-03-30 2011-05-25 セコム株式会社 Anomaly detection device

Also Published As

Publication number Publication date
JP2011125552A (en) 2011-06-30

Similar Documents

Publication Publication Date Title
JP5613407B2 (en) Remote control switch device and electric actuator
KR101400610B1 (en) Method and apparatus for replicating physical key function with soft keys in an electronic device
JP5043641B2 (en) Input device
JP5911845B2 (en) Portable terminal device, program, and unlock method
CN110989826B (en) Guiding device, control system, and recording medium
JP2010163111A (en) Air flow adjusting device
JP5875456B2 (en) Touch panel erroneous operation prevention input / output device
JP5482345B2 (en) Image forming apparatus, operation unit control method in image forming apparatus, and operation unit control program for image forming apparatus
CN102792246B (en) For controlling the method and system of at least one device
CN110215080A (en) Prevent the beddo control method and beddo of maloperation
JP5890126B2 (en) Portable electronic device, method for controlling portable electronic device, control program, and computer-readable recording medium
JP4968317B2 (en) Hot water cleaning apparatus, notification method and program for hot water cleaning apparatus
JP5326378B2 (en) Electronic thermometer
JP4681583B2 (en) Pre-bed motion detection apparatus, pre-bed motion detection program, and pre-bed motion detection method
JP2010046202A (en) Blood pressure information measuring apparatus
JP2016532795A (en) Disable low power lock device
JP2006010866A (en) Image processor
CN201668628U (en) Intelligent nursing bed controller
JP2009233206A (en) Wheelchair with automatic brake and automatic brake actuation method of wheelchair
JP2020118771A (en) Toilet system
JP6925710B2 (en) Away detection type nurse call system
JP6857387B2 (en) Away detection type nurse call system
CN218528275U (en) Electric bed control device and electric bed
KR102353510B1 (en) Smart controller having a sensor
JP7538687B2 (en) Elevator and call registration device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140307

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140908

R150 Certificate of patent or registration of utility model

Ref document number: 5613407

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees