JP3764538B2 - Electromagnetic proportional valve drive - Google Patents

Electromagnetic proportional valve drive Download PDF

Info

Publication number
JP3764538B2
JP3764538B2 JP24726396A JP24726396A JP3764538B2 JP 3764538 B2 JP3764538 B2 JP 3764538B2 JP 24726396 A JP24726396 A JP 24726396A JP 24726396 A JP24726396 A JP 24726396A JP 3764538 B2 JP3764538 B2 JP 3764538B2
Authority
JP
Japan
Prior art keywords
value
procedure
parameter
key
mode
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
JP24726396A
Other languages
Japanese (ja)
Other versions
JPH1073177A (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.)
Toyooki Kogyo Co Ltd
Original Assignee
Toyooki Kogyo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyooki Kogyo Co Ltd filed Critical Toyooki Kogyo Co Ltd
Priority to JP24726396A priority Critical patent/JP3764538B2/en
Publication of JPH1073177A publication Critical patent/JPH1073177A/en
Application granted granted Critical
Publication of JP3764538B2 publication Critical patent/JP3764538B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Magnetically Actuated Valves (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ソレノイドへの通電電流に応じて流量あるいは圧力を制御する電磁比例弁のための電磁比例弁駆動装置に関する。
【0002】
【従来の技術】
従来、この種の電磁比例弁駆動装置として本出願人の出願に係る特願平3−342108号に記載のものがある。このものは、複数段のソレノイドへの通電電流と、通電電流が漸減、漸増的変化を経て各段の通電電流に移行するようこれら漸減、漸増的変化の度合いとをそれぞれ定める各パラメータを書き換え可能に記憶する記憶素子を備え、外部からの信号に応じてこれらパラメータから、ソレノイドへの通電電流を制御する増幅器への制御信号を作り出し、これによって、外部からの信号に応じ、漸減、漸増的変化を経て複数段に変化する電流をソレノイドに通電可能としている。
【0003】
【発明が解決しようとする課題】
ところがこのものでは、パラメータを変更するためキー入力によるパラメータの設定操作を行うときには、このようなキー操作の開始時期を入力するための専用のキーを押した後、設定操作を行うようにしているので、キーの数が増えて制御装置が大形化するとともに、高価になる問題点があった。
【0004】
【課題を解決するための手段】
このような問題点を解決するため請求項1に記載の電磁比例弁駆動装置は、制御装置に、増幅器への制御信号を作り出すことは可能であるがパラメータの設定操作は行わない第1のモードと、パラメータの設定操作を可能とする第2のモードとの二つの作動モードを備えさせ、第1のモードにキー機構の一つのキーが所定時間連続して押されることを検出するタイマー機構を設けて、このタイマー機構の作動に基づき、第1のモードから第2のモードへ切り換えられるようにした。
【0005】
また、請求項2に記載の電磁比例弁駆動装置では、請求項1に記載のものに加えて、第2のモードにもキー機構の全てのキーが所定時間連続して押されないことを検出する別のタイマー機構を設け、このタイマー機構の作動に基づき、第2のモードから第1のモードへ切り換えられるようにした。
【0006】
このような構成によると、請求項1に記載のものでは、設定操作開始時期を入力する専用のキーは不要となり、また、請求項2に記載のものでは、さらに加えて、設定操作完了時期を入力する専用のキーは不要となって、キーの数を少なくすることができる。
【0007】
【実施例】
以下、電磁比例弁を電流制御式方向流量制御弁に適用した本発明の一実施例を図面に基づいて説明する。図1はこの弁1のシンボルを示し、ソレノイドAの通電による駆動で、供給ポート2と出力ポート3間をその通電電流に応じた開度で絞り流通させ、またソレノイドBの通電による駆動で供給ポート2と出力ポート4間をその通電電流に応じた開度で絞り流通させて駆動電流に応じた出力ポート3、4への制御流量を得るようにした周知の構成から成っていおり、5は戻りポートである。
【0008】
図2の如く、この弁1には制御箱6が載置され、該制御箱6には、図3の如く、増幅器7を有した増幅ユニット8と、制御装置9を有した制御ユニット10が内蔵されている。11は、増幅ユニット8に設けた電源回路で、該回路11は、給電線12で接続される商用交流を、ソレノイドA、B通電用の直流に変換する直流電源となるものであり、さらに、増幅器7や制御装置9の作動のための直流安定化電源回路を含んでいる。13は、増幅ユニット8に設けた切り換え機構で、信号線14で導入される信号のうち、後述のA1が入力されると後述のB1が入力されるまでの間、増幅器7の出力電流がソレノイドAへ供給されるよう、また、信号B1が入力されるとA1が入力されるまでの間、増幅器7の出力電流がソレノイドBへ供給されるよう、それぞれ切り換わるトグル作動を行う。また15はソレノイドA、Bの通電電流を検出する電流検出用の抵抗であり、増幅器7は、制御ユニット10のDA変換器16から信号線17を経て入力する制御信号に応じた電流をソレノイドA又はBに通電するよう、該抵抗15により生じる電圧を信号線18によりフィードバック信号として取り込みつつ、ソレノイドA又はBへの通電電流を制御する。
【0009】
制御装置9は、前記DA変換器16に出力バッファ19を介して接続したマイクロコンピュータを備えている。すなわち、20はCPU、21はCPUに接続したバスラインであり、バスライン21には、RAMとROMからなるメモリー22が接続されるとともに、EEPROM23が接続されている。なお、EEPROM23は、周知のように、電気的な操作により、記憶内容を書き換え可能とした不揮発性の記憶素子である。そして、前記出力バッファ19もバスライン21に接続しており、DA変換器16は、バスライン21を経て出力バッファ19にセットされるデータに応じたアナログ電圧を、制御信号として信号線17を経て増幅器7へ出力するのである。
【0010】
さらにバスライン21には、前記信号線14を接続した入力バッファ24が接続されるとともに、表示出力バッファ25を介して表示器26と、キー入力バッファ27を介して後述のパラメータ設定用のキー機構28が接続している。図2に示すように、表示器26は、複数の7セグメントLEDを用いた第1表示部26Aと、7個のLED(発光ダイオード)による表示窓29、30、31、32、33、34、35を備えた第2表示部26Bを有している。また、キー機構28は、パラメータキー36、UPキー37及びDWNキー38の三つのキーを備え、各キー36、37、38はそれぞれ押されることによりオン状態の信号を、また、押されないことによりオフ状態の信号をキー入力バッファ27へ出力するようになっている。なお、39はパラメータ設定の際、二つのソレノイドA、Bのどちらのパラメータを設定するかを選択するためのディップスイッチである。
【0011】
前記EEPROM23には、ソレノイドA、Bへの通電電流に関するパラメータが予め書き込まれている。本実施例で実現しようとする、弁1のソレノイドA、Bへの通電電流の様子を信号線14での信号とともに示している図4を参照してパラメータについて説明する。信号線14には、A1、A2、B1、B2の4ビットの信号が、図示しないシーケンサ等から並列状に送られるようになっており、弁1の作動が開始されると、適宜な時間を経たのち、信号A1が立ち上がり、次いでA2が立ち上がり、さらにその後、A1が立ち下がるとともにA2が立ち下がる。そして所定時間経過後、信号B1が立ち上がり、次いでB2が立ち上がり、さらにその後、B1が立ち下がるとともにB2が立ち下がる。以下このような作動が繰り返される。
【0012】
そして、ソレノイドAへの通電電流は、信号A1の立ち上がりとともに、零から時間経過に対し一定の増加量となる傾斜a1で、すなわち、時間変化に対する電流変化を一定値a1とした状態でIA1に達するまで増加する。そして、信号A2の立ち上がりまでこの電流はIA1に保たれ、信号A2の立ち上がりに応じ、時間経過の対し一定の減少量となる傾斜a2でIA2に達するまで減少して信号A1の立ち下がりまでIA2に保たれた後、信号A1の立ち下がりに応じ、零に達するまで時間経過に対し一定の減少量となる傾斜a3で減少する。
【0013】
さらに、ソレノイドBへの通電電流は、信号B1の立ち上がりとともに、零から時間経過に対し一定の増加量となる傾斜b1で、IB1に達するまで増加する。そして、信号B2の立ち上がりまでこの電流はIB1に保たれ、信号B2の立ち上がりに応じ、時間変化に対し一定の増加量となる傾斜b2でIB2に達するまで減少して信号B1の立ち下がりまでIB2に保たれた後、信号B1の立ち下がりに応じ、時間変化に対し一定の減少量となる、前記同様の一定の傾斜b3で、零に達するまで減少する。
【0014】
このような、ソレノイドAの通電電流におけるIA1、IA2、a1、a2、a3と、ソレノイドBの通電電流におけるIB1、IB2、b1、b2、b3をそれぞれ得るためのこれら各値にそれぞれ相当する値を、IA1、IA2、a1、a2、a3、IB1、IB2、b1、b2、b3にそれぞれ対応させたパラメータFa1、Fa2、Ta1、Ta2、Ta3、Fb1、Fb2、Tb1、Tb2、Tb3として定め、これら10個のパラメータがEEPROM23に予め書き込まれるのである。
【0015】
次に図5により、制御装置9による処理の手順を説明する。電源投入とともに処理が開始され、手順41での初期化に続き手順42でメモリー22のRAMがクリアされ後述の各フラグがクリアされた後、手順43でEEPROM23から各パラメータFa1、Fa2、Ta1、Ta2、Ta3、Fb1、Fb2、Tb1、Tb2、Tb3が読み出されて後の演算等で用いるためRAMの所定位置にセットされる。次いで、手順44で、設定フラグがセットされていない場合には経路45へ分岐する第1のモードが選択され、また、設定フラグがセットされている場合には経路46へ分岐する第2のモードが選択される。
【0016】
手順44で経路45に分岐したとき、手順47から54は、キー機構28のパラメータキー36が所定時間連続して押された状態(オン状態)にある場合を検出して設定フラグをセットする、タイマー機構を構成する手順群である。すなわち、手順47でパラメータキー36がオンでない場合には、手順48に移行する。手順48では、該キー36がオンとなる場合のこのオン時間を計時するタイマー作動を既に行っていれば手順50でこの計時作動を終了した後手順55に移行し、このタイマー作動を行っていなければそのまま手順55に移行する。なお、手順55では、後述のようにソレノイドA、Bの通電電流を得るための、増幅器7への制御信号を得ることができる。
【0017】
そして、手順47で、パラメータキー36のオン状態が検出されたときは、手順49で、このオン時間を計時する前記タイマー作動を行っていないことが検出されると、手順51でこのタイマー作動を開始させた後、手順55に移行する。また、手順49で、既に前記タイマー作動が行われてることが検出されれば手順52に移行する。手順52では、前記タイマー作動によるオン時間の計時値が所定時間(この実施例では5秒)に達したか否かを、すなわちタイムアップしたか否かを検出し、タイムアップしない場合には手順55へ移行し、タイムアップした状態では、手順53で前記オン時間計時のタイマー作動を終了し、手順54で設定フラグをセットした後、手順44に移行する。
【0018】
手順44で経路46に分岐すると、手順56の設定操作を経て手順55の制御操作が行われる。この手順56を図6で詳細に示す。図6において、手順57から65は、各キー36、37、38の全てが所定時間連続して押されないオフ状態にある場合を検出して設定フラグをクリアする、タイマー機構を構成する手順群である。すなわち、手順57で各キー36、37、38のどれかがオンの場合には、手順58で、各キー36、37、38の全てがオフとなるときのこのオフ時間を計時するタイマー作動が既に行っていれば手順60に移行してこの計時作動を終了したのち手順66の設定に移行し、このタイマー作動を行っていなければそのまま、手順66に移行する。
【0019】
そして、手順57で、各キー36、37、38の全てのオフ状態が検出されたとき、手順59で、このオフ時間を計時する前記タイマー作動を行っていない場合には、手順61でこのタイマー作動を開始させた後、手順55に移行する。また、手順59で、既に前記タイマー作動が行われていれば手順62に移行する。手順62では、前記タイマー作動によるオフ時間の計時値が所定時間(この実施例では5秒)に達したか否かを、すなわちタイムアップしたか否かを検出し、タイムアップしない場合には手順55へ移行し、タイムアップした場合には、手順63で前記オフ時間計時のタイマー作動を終了し、手順64で設定フラグをクリアし、手順65でUPDWNフラグと選択フラグ(これらは後述の手順66で使用)をクリアした後手順55に移行する。
【0020】
手順66は、各キー36、37、38の状態により、パラメータFa1、Fa2、Ta1、Ta2、Ta3、Fb1、Fb2、Tb1、Tb2、Tb3の設定値を得るもので、この詳細は図7に示してある。図7において、手順67は、パラメータキー36がオン状態であれば経路68へ、また、UPキー37又はDWNキー38がオン状態であれば経路69へと処理の流れを選択分岐する。経路68へ分岐するとき、手順70でUPDWNフラグがセットされているか否かが判別されてこれがセットされていればば手順71でこれをクリアした後、また、セットされていなければそのまま、手順72に移行する。手順72で、選択フラグがセットされていない場合、手順73でこれをセットした後手順74へ移行し最初のパラメータが選択される。また、手順72で、選択フラグがセットされている場合には、手順75で、選択されているパラメータの次のパラメータが選択される。なおここで、パラメータはディップスイッチ39の操作に応じてソレノイドAのためのパラメータFa1、Fa2、Ta1、Ta2、Ta3と、ソレノイドBのためのパラメータFb1、Fb2、Tb1、Tb2、Tb3のどちらか一方が選択されるもので、各パラメータはFa1、Fa2、Ta1、Ta2、Ta3の順に、またFb1、Fb2、Tb1、Tb2、Tb3の順に、予め選択順が決められており、最後のパラメータTa3あるいはTb3の次には再び最初のパラメータFa1あるいはFb1が選択されるよう決められている。
【0021】
手順67で経路69に分岐すると、手順76でUPDWNフラグのセットが検出されず、次の手順77で選択フラグのセットが検出される場合には、手順78でUPDWNフラグがセットされ、選択フラグがクリアされて手順79に移行する。手順79では、経路68での処理において選択された、選択パラメータの値が、メモリー22のRAM中の、パラメータ毎に決められる位置に、この選択パラメータの設定値としてセットされる。次いで手順80で、変更フラグがセットされ、手順81に移行する。なお、変更フラグは、後述のEEPROM23への書き込みの際に利用される。
【0022】
手順81では、UPキー37がオンか否かが検出され、UPキー37がオンの場合手順82に移行し、また、UPキー37がオンでないとき手順83に移行してDWNキー38のオンか否かが検出され、これがオンの場合手順84へ移行する。そして、手順82では、手順79による設定値が予め定めた所定値だけ増加され、手順84では、この設定値が予め定めた所定値だけ減少される。また、手順76で、UPDWNフラグのセットが検出されたときには、直接手順81に移行して、手順81、82、83、84による、UPキー37、DWNキー38のオン操作に応じた設定値の所定量の増加、減少がおこなわれる。
【0023】
次いで、手順85を経た後手順55へ移行する。手順85では前記のように増加あるいは減少処置を受けた設定値が、当該パラメータとしてセットされる。すなわち、手順43でEEPROM23から読み出されRAM中所定位置にセットされた各パラメータのうちの前記選択パラメータの値が、これに対応した設定値に置き換えられ変更されるのである。また、前記手順77で、選択フラグのセットが検出されないときや、手順83でDWNキー38がオンでない場合は、直接手順55へ移行する。
【0024】
そしてこれにより、手順66では、パラメータキー36の操作で選択されたパラメータに対し、UPキー37あるいはDWNキー38の操作でこの選択されたパラメータとは異なった値の設定値を得ることができ、このパラメータキー36操作とその後のUPキー37あるいはDWNキー38操作を反復すれば、複数のパラメータの設定値をそれぞれ得ることが可能となり、ディップスイッチ39の操作を加えることで、ソレノイドA、Bのための各パラメータの設定値を得ることができる。
【0025】
手順55の詳細は図8に示すとおりである。図8において、手順86では作動フラグAまたはBの有無を検出し、これらがない場合、手順87に移行する。手順87では、信号線14での信号A1またはB1の有無を検出し、これらがない場合、EEPROM23への書き込みを行う手順88に移行する。手順87で、信号A1が有る場合には、手順89に移行して作動フラグAがセットされ、また、信号B1が有る場合には手順90に移行して作動フラグBがセットされる。そして、手順86で、作動フラグAがセットされている場合には、ソレノイドAへの通電電流を制御する手順91に移行し、作動フラグBがセットされている場合には、ソレノイドBへの通電電流を制御する手順92へ移行する。
【0026】
手順88の詳細は図9に示す通りである。図9において、手順93で設定フラグのセットされていないことが検出され、次の手順94で変更フラグがセットされていることが検出された場合、手順95で、手順66で得られた設定値を当該パラメータとしてEEPROM23へ書き込む。すなわち、EEPROM23に記憶された各パラメータのうち、手順66での選択パラメータがその設定値に書き換えられ、変更される。次いで手順96で変更フラグがクリアされる。また、手順93で設定フラグのセットが検出された場合や、手順94で変更パラメータのセットが検出されない場合には、このような手順95、96を経ずに手順88を通過する。要するに、第1のモードにあってソレノイドA、Bへの通電制御を行わない休止状態にあり、変更フラグがセットされているときに、EEPROM23への書き込みが行われるのである。
【0027】
手順91の内容を、これを詳細に示した図10により説明する。手順97で信号線14での信号A1の有無が検出され、これが有れば手順98に移行する。手順98では、信号線14での信号A2の有無が検出され、これが無い場合には手順99で、RAM中に格納位置が定められる変数FにパラメータFa1の値が、また、有る場合には手順100で、この変数FにパラメータFa2の値がセットされる。次いで、手順101で定値フラグがセットされているか否かが検出されて、これがセットされていない場合には、手順102に移行して、この手順102により、減少フラグがセットされていない場合は手順103に移行し、減少フラグがセットされている場合は手順104に移行する。
【0028】
そして、手順103では、傾斜をパラメータTa1の値とするよう設定され、手順104では、傾斜をパラメータTa2の値とするよう設定される。次いで手順105では、このように設定された傾斜を用いて変化量が演算され、その結果がRAM中に格納位置が定められる変数fの値に加算される。すなわち、時間変化に対する変化量を定めている傾斜と、この手順105を通過する周期との乗算を行って、この結果を変数fの値に加算するのである。なお、これにより、傾斜が正となる前記Ta1の値が設定された場合にはfは増加するが、傾斜が負となる前記Ta2の値が設定された場合にはfは減少する。そして、次の手順106へ移行する。また、手順101で定置フラグのセットが検出された場合は、直接手順106へ移行する。
【0029】
手順106では、Fの値とfの値との差の絶対値が予め定めた微小値Eより大きいか否かが、要するにFとfの値同志がほぼ等しいか否かが検出され、両者がほぼ等しい場合には手順107へ、そうでない場合には手順108へ移行する。そして手順108では定置フラグセットの有無が検出されて、定置フラグがセットされている場合には手順109でこれをクリアした後、また定置フラグがセットされていなければそのままで、手順110へ移行する。手順110ではFとfの値の大小関係が判別されて、fの値がFの値より大の場合には手順111へ、そうでなければ手順112へ移行する。
【0030】
そして手順112で減少フラグのセットが検出されない場合には手順113へ移行してfの値が出力バッファ19にセットされ、また、手順112で減少フラグのセットが検出された場合には、手順114へ移行してこの減少フラグがクリアされる。前記手順110から手順111に移行した場合には、手順111で減少フラグがセットされているか否かが検出されて、これがセットされている場合には手順115へ移行して出力バッファ19にfの値がセットされるが、減少フラグがセットされていない場合には手順116へ移行してこの減少フラグがセットされる。
【0031】
また、前記手順106から手順107へ移行した場合、手順107で定置フラグがセットされているか否かが判別されて、これがセットされていなければ手順117でこれをセットし、次いで順118でFの値をfにセットした後、手順113へ移行してfの値が出力バッファ19にセットされる。また、手順107で定置フラグがセットされている場合には、これらの処置は行われない。
【0032】
そして、前記手順97で信号A1が無いことが検出されると手順119へ移行し、傾斜にパラメータTa3の値を設定した後、手順120へ移行する。手順120では、この傾斜をもとに前記手順105と同様に変化量が演算され、これをfに加算する。なお、傾斜となるTa3は負であり、加算の結果fの値は減少する。次いで手順121で、fの値が零より大きいか否かが検出され、大きい場合には手順122へ移行し、このfの値が出力バッファ19にセットされる。また、手順121で、fの値が零より大きくないことが検出されると、手順123へ移行して零が出力バッファ19にセットされ、次いで手順124で減少フラグ、定置フラグ及びfをクリアした後、手順125で作動フラグAがクリアされる。
【0033】
このような手順91では第1のモードにおいては、次のような処理が行われる。例えば図4での信号A1の立ち上がりにより、手順86により処理の流れが移行されると、手順97、98を経て手順99でFにFa1がセットされ、次いで手順101、102から103に達して傾斜にTa1が設定され手順105での演算を経て手順106、108、110、112、113へと移行してこの113でfの値が出力バッファ19にセットされる。そして、手順106でf値がFa1値とほぼ等しくなるまでこの経路を反復的に通過して、fの値は傾斜Ta1に応じて増加し、これにより、DA変換器16からの制御信号が傾斜Ta1に応じて増加し、傾斜a1で増加する通電電流が得られる。f値の増加でこれがFa1とほぼ等しくなると手順106から手順107、117、118へと移行し、定置フラグがセットされるとともに、手順113でFa1の値が出力バッファ19にセットされる。
【0034】
このため次回からの処理の流れは、定置フラグがクリアされるまで、手順101から、手順106へ移行し、さらにF値が変化しない間は手順106から手順107へ移行し、そこから直接この手順91を抜ける経路を反復通過すこととなり、出力バッファ19にはFa1の値がセットされたままとなってDA変換器16からはFa1の値に応じた一定の制御信号が出力され、IA1の通電電流が得られる。そして、信号A2が立ち上がると、手順100でFにFa2の値がセットされるので、F値がf値よりも小さくなり、処理の流れは手順106から108、109へ移行し、定置フラグがクリアされるとともに、手順110から111、116へ移行し減少フラグがセットされる。これにより、次回からの処理の流れは、手順97、98、100、101、102を経て手順104で傾斜をTa2に設定し、手順105でこの傾斜を基づく演算を経た後、手順106、108、110、111から手順115へと移行してf値を出力バッファ19にセットする経路に変更される。そして、この経路を反復して傾斜Ta2に応じf値が減少し、これに伴うDA変換器16の出力減少により、傾斜a2で減少する通電電流IA2が得られる。
【0035】
このf値の減少で、これががFa2の値にほぼ等しくなると、手順106により、前記同様に手順107へ分岐され、手順117、118を経て定置フラグのセットと、fへのFa2の値のセットを行って手順113へ移行し、Fa2の値が出力バッファ19にセットされる。これにより、前記と同様に、次回からの処理の流れは、手順101から直接手順106へ移行した後、手順107から直接に手順91を抜ける経路に変更され、出力バッファ19にはFa2の値がセットされたままとなり、この値に応じた制御信号がDA変換器19から出力され、IA2の一定の通電電流が得られる。
【0036】
次いで、信号A1が立ち下がると、手順97により手順119へ分岐され、傾斜がTa3に設定される。この傾斜を基に演算が行われてf値が零より大の間はf値が出力バッファ19にセットされるので、この経路を反復する結果f値は傾斜Ta3に応じて減少し、これに応じたDA変換器19の出力のよってa3の傾斜で減少する通電電流が得られるのである。
【0037】
また、手順91の第2のモードでの処理においては、手順99、100、103、104、119でパラメータFa1、Fa2、Ta1、Ta2、Ta3の値が読み込まれるので、前述の手順85で、これらパラメータの値が設定値に置き換えられれば、この置き換えられたパラメータの値で処理が行われ、パラメータの設定結果が即座に反映される。ここで、fをパラメータTa1の値による傾斜で増加させているとき、あるいは、fをFa1やFa2の値の一定状態としているときに、新たにFa1やFa2の値が設定値への置き換えで変更されfの値より小さくなると、前者の場合には手順110から手順111に分岐し、次いで手順116において減少フラグがセットされ、後者の場合には、手順106から108、109へ移行して定置フラグがクリアされた後、手順110、111から手順116へ移行して減少フラグがセットされて、手順105の変化量の演算に手順104で傾斜に設定されるパラメータTa2の値が用いられて、fの値が新たなFa1あるいはFa2の値に達するまでこのTa2の値に応じた傾斜で減少される。
【0038】
また、fをパラメータTa2の値による傾斜で減少させているとき、あるいは、fをパラメータFa1やFa2の値の一定状態としているときに、新たにFa1やFa2の値が設定値への置き換えで変更されfの値より大きくなると、前者の場合には手順110から手順112に分岐し、次いで手順114において減少フラグがクリアされ、後者の場合には、手順106から108、109へ移行して定置フラグがクリアされた後、手順110、112から手順114へ移行して減少フラグがクリアされて、手順105の変化量の演算に手順103で傾斜に設定されるパラメータTa1の値が用いられて、fの値が新たなFa1あるいはFa2の値に達するまでこのTa1の値に応じた傾斜で増加される。
【0039】
そして、ソレノイドBについての制御をおこなう手順92は、図10について詳記した上記手順91についての説明で、信号A1、A2をそれぞれ信号B1、B2に、また、パラメータFa1、Fa2、Ta1、Ta2、Ta3をそれぞれパラメータFb1、Fb2、Tb1、Tb2、Tb3に置き換え、さらに、作動フラグAを作動フラグBに、通電電流IA1、IA2をそれぞれIB1、IB2に、通電電流の傾斜a1、a2、a3をそれぞれb1、b2、b3に置き換えたものであるので、再述しない。
【0040】
再び図5において、手順55を経た後、手順126で設定フラグがセットされているか否かが検出され、これがセットされていない場合には手順127で手順55での制御についての表示がおこなわれ、また、セットされている場合には手順128で手順56でのパラメータ設定についての表示が行われる。すなわち、手順127では、手順91と92を通過する処理が行われる場合に、第1表示部26Aに前記変数fの値が表示される。さらに、前記手順91を通過する処理が行われる場合に第2表示部26Bでの表示窓29での、そして、手順92を通過する処理が行われる場合に第2表示部26Bでの表示窓30での発光表示が行われるとともに、変数fの値がパラメータFa1あるいはFb1の値の場合に表示窓31で、また、このf値がパラメータFa2あるいはFb2の場合は表示窓32で発光表示がおこなわれる。さらに、変数fのためにパラメータTa1あるいはTb1を用いている場合に表示窓33で、パラメータTa2あるいはTb2を用いる場合は表示窓34で、そして、パラメータTa3あるいはTb3を用いる場合は表示窓35でそれぞれ発光表示が行われる。
【0041】
また、手順128での表示では、第1表示部26Aに選択されたパラメータとその設定値が表示される。さらに、第2表示部26Bでは、選択されたパラメータがソレノイドAについてのものFa1〜Ta3の場合、表示窓29で、そして、ソレノイドBについてのものFb1〜Tb3の場合、表示窓30でそれぞれ発光表示が行われるとともに、選択パラメータがFa1かFb1の場合に表示窓31で、Fa2かFb2の場合には表示窓32で、Ta1かTb1の場合には表示窓33で、Ta2かTb2の場合には表示窓34で、そして、Ta3かTb3の場合には表示窓35で、それぞれ発光表示が行われる。
【0042】
次にこの実施例の作動を説明する。制御装置9への通電開始により、制御装置9は第1のモードで作動を開始し、弁1の作動が開始され、ソレノイドAへの通電電流が、信号線14の信号A1の立ち上がりにより、a1の傾斜でIA1に達するまで増加し、次いで、信号A2が立ち上がるまでIA1が通電される。そして、信号A2が立ち上がると、この通電電流は、IA2に達するまでa2の傾斜で減少し、IA2に達した後、信号A1の立ち下がりの応じ零に達するまでa3の傾斜で減少する。供給ポート2と出力ポート3間は、ソレノイドAへの通電電流に応じた開度が得られるので、出力ポート3、4が接続した図示しない複動形の流体アクチュエータへは通電電流に応じた供給流量が得られて、このアクチュエータは停止状態からa1に応じて増速してIA1に応じた一定速状態となり、次いでa2に応じて減速してIA2に応じたより低速の一定速状態となった後、停止するまでa3に応じて減速する。
【0043】
そして、休止状態の後、ソレノイドBへの通電電流が、信号線14の信号B1の立ち上がりにより、b1の傾斜でIB1に達するまで増加し、次いで、信号B2が立ち上がるまでIB1が通電される。そして、信号B2が立ち上がると、この通電電流は、IB2に達するまでb2の傾斜で減少し、IB2に達した後、信号B1の立ち下がりの応じ零に達するまでb3の傾斜で減少する。供給ポート2と出力ポート4間は、ソレノイドAへの通電電流に応じた開度が得られるので、前記図示しない流体アクチュエータへは通電電流に応じた供給流量が得られて、このアクチュエータは前記と逆方向へ停止状態からb1に応じて増速作動してIB1に応じた一定速状態となり、次いでb2に応じ減速してIB2に応じたより低速の一定速状態となった後、停止するまでb3に応じて減速する。以下このような作動が信号線14での信号に応じ反復される。
【0044】
この作動中に、パラメータキー36を所定時間以上オン操作すると、制御装置9は第2のモードとなる。そして、ディップスイッチ39による切換選択の後、パラメータキー36のオン操作によって選択したパラメータに対し、UPキー37又はDWNキー38のオン操作により、表示部26A、26Bを視認しつつ、増減した設定値を与え、あるいは、この操作を反復して、複数のパラメータを選択して、これらに対し適宜増減した設定値をそれぞれ与えた後、各キー36、37、38をいずれも所定時間以上オン操作しないことで、再び作動装置9は、第1のモードに復帰し、ソレノイドA、Bのいずれにも通電しない休止状態で、これら設定値がそれぞれ当該パラメータとして、EEPROM23に書き込まれる。これにより、次回からの制御装置9の作動では、手順43により読み込まれる、この変更されたパラメータを基に作動が行われる。
【0045】
また、前記の制御装置9の第2のモードでは、手順85で、選択したパラメータの設定値が当該パラメータとしてセットされ、当該パラメータの値が置き換えられるので、ソレドイドA又はBへの通電電流、ひいては、弁1で作動される流体アクチュエータの作動は、即座に設定操作を反映し、パラメータの設定に際しては、流体アクチュエータの作動を見ながら、最適の値にパラメータを設定することができる。
【0046】
そして、第1のモードから第2のモードへの切り換えは、パラメータキー36の所定時間以上のオン操作で行われ、しかも、第2のモードから第1のモードへの切り換えが、どのキー36、37、38も所定時間以上オン操作しないことにより行われるので、いずれの場合も、モード切り換えに専用のキーが要らずキーの数が少なくなって制御装置9の大形化を招かないとともに、制御装置を安価にすることができ、さらに、操作が容易となって扱い易い制御装置が得られる。
【0047】
なお、第1のモードから第2のモードへの切り換えは、パラメータキー36の所定時間以上のオン操作で行うようにしているが、キー36、37、38のどれかが所定時間以上オン操作されることで切り換えるようにしてもよい。また、本実施例は流量方向制御弁について説明したが、単に流量制御のみを行ったり、圧力制御を行う電磁比例弁に適用できることは勿論である。
【0048】
【発明の効果】
このように請求項1に記載の発明によると、キーの一つが所定時間連続して押されることにより、第1のモードから第2のモードへ切り換えられるので、設定操作開始時期を入力する専用のキーやスイッチ機構は不要となり、また、請求項2に記載の発明では、さらに加えて、キーの全てが所定時間連続して押されないことにより、第2のモードから第1のモードへ切り換えられるので、設定操作終了時期を入力する専用のキーやスイッチ機構は不要となって、キーの数を少なくでき、制御装置を小形に安価にできる。また、いずれも、操作が簡単であって制御装置の取扱を容易にできる。
【図面の簡単な説明】
【図1】本発明の一実施例の電磁比例弁のシンボル図。
【図2】本発明の一実施例の電磁比例弁の平面図。
【図3】本発明の一実施例の構成説明図。
【図4】本発明の一実施例の作動を説明する説明図。
【図5】本発明の一実施例における制御装置の作動を説明する流れ図。
【図6】図5における手順56を詳細に示す流れ図。
【図7】図6の手順66を詳細に示す流れ図。
【図8】図5の手順55を詳細に示す流れ図。
【図9】図8の手順88を詳細に示す流れ図。
【図10】図8の手順91を詳細に示す流れ図。
【符号の説明】
A、B ソレノイド
7 増幅器
9 制御装置
23 不揮発性の記憶素子
28 キー機構
36、37、38 キー
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electromagnetic proportional valve drive device for an electromagnetic proportional valve that controls a flow rate or a pressure in accordance with an energization current to a solenoid.
[0002]
[Prior art]
Conventionally, there is an electromagnetic proportional valve driving device of this type described in Japanese Patent Application No. 3-342108 related to the application of the present applicant. This can rewrite each parameter that determines the current flowing to the solenoids in multiple stages and the degree of gradually decreasing and gradually changing the energizing current to gradually change and gradually change to the current flowing in each stage. The control element to the amplifier that controls the energization current to the solenoid is generated from these parameters according to the signal from the outside, thereby gradually decreasing and increasing according to the signal from the outside. The solenoid can be energized with a current that changes in multiple stages.
[0003]
[Problems to be solved by the invention]
However, in this case, when performing a parameter setting operation by key input in order to change the parameter, the setting operation is performed after pressing a dedicated key for inputting the start time of such a key operation. Therefore, there is a problem that the number of keys increases and the control device becomes larger and expensive.
[0004]
[Means for Solving the Problems]
In order to solve such a problem, the electromagnetic proportional valve driving device according to claim 1 is a first mode in which the control device can generate a control signal to the amplifier but does not perform a parameter setting operation. And a timer mechanism for detecting that one key of the key mechanism is continuously pressed for a predetermined time in the first mode. Provided, the first mode is switched to the second mode based on the operation of the timer mechanism.
[0005]
Further, in the electromagnetic proportional valve drive device according to claim 2, in addition to the one according to claim 1, it is detected that all the keys of the key mechanism are not pressed continuously for a predetermined time also in the second mode. Another timer mechanism is provided, and the second mode can be switched to the first mode based on the operation of the timer mechanism.
[0006]
According to such a configuration, the key according to claim 1 does not require a dedicated key for inputting the setting operation start time, and the function according to claim 2 further sets the setting operation completion time. There is no need for a dedicated key to input, and the number of keys can be reduced.
[0007]
【Example】
Hereinafter, an embodiment of the present invention in which an electromagnetic proportional valve is applied to a current control type directional flow control valve will be described with reference to the drawings. FIG. 1 shows a symbol of the valve 1, which is driven by energization of the solenoid A and is squeezed between the supply port 2 and the output port 3 with an opening corresponding to the energization current, and supplied by energization of the solenoid B. It has a well-known configuration in which a control flow rate to the output ports 3 and 4 corresponding to the drive current is obtained by restricting and flowing between the port 2 and the output port 4 with an opening corresponding to the energization current. Return port.
[0008]
As shown in FIG. 2, a control box 6 is placed on the valve 1, and in the control box 6, an amplification unit 8 having an amplifier 7 and a control unit 10 having a control device 9 are placed, as shown in FIG. Built in. 11 is a power supply circuit provided in the amplifying unit 8, and the circuit 11 serves as a direct current power source for converting commercial alternating current connected by the feeder line 12 into direct current for energization of solenoids A and B; A DC stabilized power supply circuit for the operation of the amplifier 7 and the control device 9 is included. Reference numeral 13 denotes a switching mechanism provided in the amplification unit 8. Among the signals introduced through the signal line 14, the output current of the amplifier 7 is changed to the solenoid until the later-described B1 is input when the later-described A1 is input. A toggle operation is performed so that the output current of the amplifier 7 is supplied to the solenoid B so that the output current is supplied to the solenoid B until the signal A1 is input until the signal B1 is input. Reference numeral 15 denotes a current detection resistor for detecting the energization current of the solenoids A and B. The amplifier 7 supplies a current corresponding to the control signal input from the DA converter 16 of the control unit 10 via the signal line 17 to the solenoid A. Alternatively, the energization current to the solenoid A or B is controlled while taking in the voltage generated by the resistor 15 as a feedback signal through the signal line 18 so as to energize B.
[0009]
The control device 9 includes a microcomputer connected to the DA converter 16 via an output buffer 19. That is, 20 is a CPU and 21 is a bus line connected to the CPU. The bus line 21 is connected to a memory 22 including a RAM and a ROM, and to an EEPROM 23. As is well known, the EEPROM 23 is a non-volatile storage element whose stored contents can be rewritten by an electrical operation. The output buffer 19 is also connected to the bus line 21, and the DA converter 16 uses the analog voltage corresponding to the data set in the output buffer 19 via the bus line 21 as a control signal via the signal line 17. It is output to the amplifier 7.
[0010]
Further, an input buffer 24 connected to the signal line 14 is connected to the bus line 21, and a key mechanism for setting parameters, which will be described later, via a display output buffer 25 and a key input buffer 27. 28 is connected. As shown in FIG. 2, the display 26 includes a first display unit 26 </ b> A using a plurality of 7-segment LEDs, and display windows 29, 30, 31, 32, 33, 34, which include seven LEDs (light emitting diodes). The second display unit 26 </ b> B having 35 is provided. The key mechanism 28 includes three keys, a parameter key 36, an UP key 37, and a DWN key 38. When each key 36, 37, 38 is pressed, an on-state signal is displayed. An off-state signal is output to the key input buffer 27. Reference numeral 39 denotes a dip switch for selecting which of the two solenoids A and B is to be set when setting the parameters.
[0011]
In the EEPROM 23, parameters related to the energization currents to the solenoids A and B are written in advance. The parameters will be described with reference to FIG. 4 showing the state of the energization current to the solenoids A and B of the valve 1 to be realized in this embodiment together with the signal on the signal line 14. A 4-bit signal A1, A2, B1, B2 is sent in parallel to the signal line 14 from a sequencer or the like (not shown). When the operation of the valve 1 is started, an appropriate time is taken. After that, the signal A1 rises, then A2 rises, and then A1 falls and A2 falls. Then, after a predetermined time has elapsed, the signal B1 rises, then B2 rises, and then B1 falls and B2 falls. Such an operation is repeated thereafter.
[0012]
The energization current to the solenoid A reaches IA1 with a slope a1 that increases from zero with a lapse of time as the signal A1 rises, that is, with the current change with respect to time change being a constant value a1. Increase to. This current is kept at IA1 until the rising edge of the signal A2, and according to the rising edge of the signal A2, it decreases until reaching IA2 at a slope a2 which is a constant decrease over time, and reaches IA2 until the falling edge of the signal A1. After being held, in accordance with the falling edge of the signal A1, it decreases at a slope a3, which is a constant decrease over time until reaching zero.
[0013]
Further, the energization current to the solenoid B increases with the rising edge of the signal B1 from zero to a slope b1 that increases a certain amount with time until it reaches IB1. This current is kept at IB1 until the rise of the signal B2, and according to the rise of the signal B2, it decreases until reaching IB2 at a slope b2 which is a constant increase amount with respect to the time change, and reaches IB2 until the fall of the signal B1. After being maintained, in accordance with the fall of the signal B1, it decreases until reaching zero at the same constant b3 as described above, which is a constant decrease with time.
[0014]
Values corresponding to these values for obtaining IA1, IA2, a1, a2, a3 in the energizing current of the solenoid A and IB1, IB2, b1, b2, b3 in the energizing current of the solenoid B, respectively. , IA1, IA2, a1, a2, a3, IB1, IB2, b1, b2, b3 are respectively defined as parameters Fa1, Fa2, Ta1, Ta2, Ta3, Fb1, Fb2, Tb1, Tb2, and Tb3. The parameters are written in the EEPROM 23 in advance.
[0015]
Next, a processing procedure by the control device 9 will be described with reference to FIG. The process is started when the power is turned on. After initialization in step 41, the RAM of the memory 22 is cleared in step 42 and each flag described later is cleared, and then in step 43, each parameter Fa1, Fa2, Ta1, Ta2 is read from the EEPROM 23. , Ta3, Fb1, Fb2, Tb1, Tb2, and Tb3 are read and set at predetermined positions in the RAM for use in later calculations. Next, in step 44, when the setting flag is not set, the first mode for branching to the path 45 is selected, and when the setting flag is set, the second mode for branching to the path 46 is selected. Is selected.
[0016]
When branching to the path 45 in the procedure 44, the procedures 47 to 54 detect a case where the parameter key 36 of the key mechanism 28 is continuously pressed for a predetermined time (on state), and set a setting flag. It is a procedure group which comprises a timer mechanism. That is, if the parameter key 36 is not turned on in step 47, the process proceeds to step 48. In step 48, if the timer operation for measuring the on-time when the key 36 is turned on has already been performed, the timer operation must be terminated in step 50 and then the procedure proceeds to step 55 to perform this timer operation. If so, the process proceeds to step 55 as it is. In step 55, a control signal to the amplifier 7 for obtaining energization currents of the solenoids A and B can be obtained as will be described later.
[0017]
When the on state of the parameter key 36 is detected in step 47, if it is detected in step 49 that the timer operation for measuring the on time is not performed, the timer operation is performed in step 51. After starting, the procedure proceeds to step 55. If it is detected in step 49 that the timer operation has already been performed, the flow proceeds to step 52. In step 52, it is detected whether or not the time value of the on-time due to the timer operation has reached a predetermined time (5 seconds in this embodiment), that is, whether or not the time is up. When the time is up and the time is up, the timer operation for the on-time measurement is ended in step 53, the setting flag is set in step 54, and then the flow goes to step 44.
[0018]
When branching to the route 46 in the procedure 44, the control operation in the procedure 55 is performed through the setting operation in the procedure 56. This procedure 56 is shown in detail in FIG. In FIG. 6, procedures 57 to 65 are a group of procedures constituting a timer mechanism that detects a case where all the keys 36, 37, and 38 are not pressed continuously for a predetermined time and clears the setting flag. is there. That is, if any of the keys 36, 37, 38 is turned on in step 57, the timer operation for counting the off time when all the keys 36, 37, 38 are turned off in step 58 has already been performed. If so, the process proceeds to step 60, and after finishing the timing operation, the process proceeds to the setting of procedure 66. If this timer operation is not performed, the process proceeds to procedure 66 as it is.
[0019]
When all the off states of the keys 36, 37, and 38 are detected in step 57, if the timer operation for measuring the off time is not performed in step 59, this timer is determined in step 61. After the operation is started, the procedure proceeds to procedure 55. In step 59, if the timer operation has already been performed, the routine proceeds to step 62. In step 62, it is detected whether or not the time measured by the timer operation has reached a predetermined time (5 seconds in this embodiment), that is, whether or not the time is up. If the time is up, the timer operation for the off-time measurement is terminated in step 63, the setting flag is cleared in step 64, and the UPDWN flag and the selection flag (these are step 66 described later). After clearing (used), the process proceeds to step 55.
[0020]
In step 66, the set values of the parameters Fa1, Fa2, Ta1, Ta2, Ta3, Fb1, Fb2, Tb1, Tb2, and Tb3 are obtained according to the states of the keys 36, 37, and 38. Details thereof are shown in FIG. It is. In FIG. 7, the procedure 67 selectively branches the flow of processing to the path 68 if the parameter key 36 is on, and to the path 69 if the UP key 37 or the DWN key 38 is on. When branching to path 68, it is determined whether or not the UPDWN flag is set in step 70, and if it is set, it is cleared in step 71. Transition. If the selection flag is not set in step 72, it is set in step 73, and then the process proceeds to step 74 to select the first parameter. If the selection flag is set in step 72, the parameter next to the selected parameter is selected in step 75. Here, the parameter is one of the parameters Fa1, Fa2, Ta1, Ta2, Ta3 for the solenoid A and the parameters Fb1, Fb2, Tb1, Tb2, Tb3 for the solenoid B according to the operation of the dip switch 39. The parameters are selected in advance in the order of Fa1, Fa2, Ta1, Ta2, Ta3, and in the order of Fb1, Fb2, Tb1, Tb2, Tb3, and the last parameter Ta3 or Tb3 is selected. Next, it is determined that the first parameter Fa1 or Fb1 is selected again.
[0021]
When branching to path 69 in step 67, if the UPDWN flag set is not detected in step 76 and the selection flag set is detected in the next step 77, the UPDWN flag is set in step 78 and the selection flag is set. Cleared and proceeds to step 79. In step 79, the value of the selected parameter selected in the processing of the path 68 is set as a setting value of the selected parameter at a position determined for each parameter in the RAM of the memory 22. Next, in step 80, the change flag is set, and the flow proceeds to step 81. The change flag is used when writing to the EEPROM 23 described later.
[0022]
In step 81, it is detected whether or not the UP key 37 is on. If the UP key 37 is on, the process proceeds to step 82. If the UP key 37 is not on, the process proceeds to step 83 and whether the DWN key 38 is on. If it is ON, the process proceeds to step 84. In step 82, the setting value in step 79 is increased by a predetermined value, and in step 84, this setting value is decreased by a predetermined value. If the UPDWN flag is detected in step 76, the process directly proceeds to step 81, and the setting values corresponding to the ON operation of the UP key 37 and the DWN key 38 in steps 81, 82, 83, and 84 are set. A predetermined amount is increased or decreased.
[0023]
Next, after passing through the procedure 85, the procedure proceeds to the procedure 55. In step 85, the set value that has been subjected to the increase or decrease treatment as described above is set as the parameter. That is, the value of the selected parameter among the parameters read from the EEPROM 23 and set at a predetermined position in the RAM in the procedure 43 is replaced with the set value corresponding to the parameter and changed. If the selection flag set is not detected in step 77, or if the DWN key 38 is not turned on in step 83, the process proceeds directly to step 55.
[0024]
Thus, in step 66, for the parameter selected by the operation of the parameter key 36, a setting value different from the selected parameter by the operation of the UP key 37 or the DWN key 38 can be obtained. By repeating the operation of the parameter key 36 and the subsequent operation of the UP key 37 or the DWN key 38, it becomes possible to obtain setting values of a plurality of parameters, respectively, and by adding the operation of the dip switch 39, the solenoids A and B can be obtained. Therefore, it is possible to obtain a set value for each parameter.
[0025]
Details of the procedure 55 are as shown in FIG. In FIG. 8, in step 86, the presence / absence of the operation flag A or B is detected. In step 87, the presence or absence of the signal A1 or B1 on the signal line 14 is detected. If there is no signal A1, the procedure proceeds to step 88 in which writing to the EEPROM 23 is performed. In step 87, if the signal A1 is present, the procedure shifts to step 89 and the operation flag A is set. If the signal B1 is present, the procedure shifts to step 90 and the operation flag B is set. If the operation flag A is set in step 86, the process proceeds to step 91 for controlling the energization current to the solenoid A. If the operation flag B is set, the energization to the solenoid B is performed. Control proceeds to step 92 for controlling the current.
[0026]
Details of the procedure 88 are as shown in FIG. In FIG. 9, when it is detected in step 93 that the setting flag is not set, and it is detected that the change flag is set in the next step 94, the setting value obtained in step 66 in step 95. Is written to the EEPROM 23 as the parameter. That is, among the parameters stored in the EEPROM 23, the selection parameter in the procedure 66 is rewritten and changed to the set value. Next, in step 96, the change flag is cleared. If the setting flag set is detected in step 93, or if the change parameter set is not detected in step 94, the procedure 88 is passed without such steps 95 and 96. In short, the writing to the EEPROM 23 is performed when the first mode is in a dormant state where the energization control for the solenoids A and B is not performed and the change flag is set.
[0027]
The contents of the procedure 91 will be described with reference to FIG. In step 97, the presence / absence of the signal A1 on the signal line 14 is detected. In step 98, the presence / absence of the signal A2 on the signal line 14 is detected. If there is no signal A2, in step 99, the value of the parameter Fa1 is present in the variable F whose storage position is determined in the RAM. At 100, the value of the parameter Fa2 is set in this variable F. Next, in step 101, it is detected whether or not the constant value flag is set. If it is not set, the process proceeds to step 102. If the decrease flag is not set by this step 102, the procedure is performed. The process proceeds to 103, and if the decrease flag is set, the process proceeds to step 104.
[0028]
In step 103, the slope is set to the value of parameter Ta1, and in step 104, the slope is set to the value of parameter Ta2. Next, in step 105, the amount of change is calculated using the slope set in this way, and the result is added to the value of the variable f whose storage position is determined in the RAM. That is, the slope defining the amount of change with respect to the time change is multiplied by the period passing through the procedure 105, and the result is added to the value of the variable f. As a result, f increases when the value of Ta1 with a positive slope is set, but f decreases when the value of Ta2 with a negative slope is set. Then, the process proceeds to the next procedure 106. If a stationary flag set is detected in step 101, the process proceeds directly to step 106.
[0029]
In step 106, it is detected whether the absolute value of the difference between the value of F and the value of f is greater than a predetermined minute value E, in other words, whether the values of F and f are substantially equal. If almost equal, the procedure proceeds to step 107, and otherwise, the procedure proceeds to procedure 108. In step 108, the presence / absence of the stationary flag is detected. If the stationary flag is set, it is cleared in step 109, and if the stationary flag is not set, the procedure proceeds to step 110. . In step 110, the magnitude relationship between the values of F and f is determined. If the value of f is larger than the value of F, the procedure moves to procedure 111. Otherwise, the procedure moves to procedure 112.
[0030]
If the decrease flag set is not detected in step 112, the process proceeds to step 113, and the value of f is set in the output buffer 19. If the decrease flag set is detected in step 112, step 114 is performed. This decrease flag is cleared. When the procedure shifts from the procedure 110 to the procedure 111, it is detected at the procedure 111 whether or not the decrease flag is set. When the decrease flag is set, the procedure moves to the procedure 115 and the output buffer 19 stores f. If the value is set but the decrease flag is not set, the process proceeds to step 116, where the decrease flag is set.
[0031]
If the procedure proceeds from the procedure 106 to the procedure 107, it is determined whether or not the stationary flag is set in the procedure 107. If it is not set, it is set in the procedure 117. After the value is set to f, the process proceeds to step 113 and the value of f is set in the output buffer 19. If the stationary flag is set in step 107, these measures are not performed.
[0032]
If it is detected in step 97 that the signal A1 is not present, the process proceeds to step 119. After setting the value of the parameter Ta3 for the slope, the process proceeds to step 120. In step 120, the amount of change is calculated in the same manner as in step 105 based on this slope, and this is added to f. In addition, Ta3 which becomes inclination is negative, and the value of the result f of addition decreases. Next, at step 121, it is detected whether or not the value of f is larger than zero. If it is larger, the routine proceeds to step 122, where the value of f is set in the output buffer 19. If it is detected in step 121 that the value of f is not greater than zero, the procedure proceeds to step 123, where zero is set in the output buffer 19, and then in step 124, the decrease flag, the stationary flag, and f are cleared. Thereafter, the operation flag A is cleared in step 125.
[0033]
In such a procedure 91, the following processing is performed in the first mode. For example, when the flow of processing is shifted by the procedure 86 due to the rise of the signal A1 in FIG. 4, Fa1 is set to F in the procedure 99 through the procedures 97 and 98, and then the procedure 101, 102 to 103 is reached and the gradient is reached. Ta1 is set in step 105. After the calculation in step 105, the flow proceeds to steps 106, 108, 110, 112, and 113. In step 113, the value of f is set in the output buffer 19. Then, in step 106, this path is repeatedly passed until the f value becomes substantially equal to the Fa1 value, and the value of f increases in accordance with the inclination Ta1, whereby the control signal from the DA converter 16 is inclined. An energization current that increases according to Ta1 and increases at the inclination a1 is obtained. When the f value increases and becomes substantially equal to Fa1, the process proceeds from step 106 to steps 107, 117, and 118, the stationary flag is set, and the value of Fa1 is set in the output buffer 19 in step 113.
[0034]
For this reason, the flow of processing from the next time shifts from step 101 to step 106 until the stationary flag is cleared, and further shifts from step 106 to step 107 while the F value does not change. As a result, the output buffer 19 remains set with the value of Fa1 and a constant control signal corresponding to the value of Fa1 is output from the DA converter 16, and the IA1 is energized. A current is obtained. Then, when the signal A2 rises, the value of Fa2 is set to F in step 100, so the F value becomes smaller than the f value, the flow of processing shifts from steps 106 to 108, 109, and the stationary flag is cleared. At the same time, the procedure shifts from step 110 to 111 and 116, and the decrease flag is set. As a result, the flow of processing from the next time is set to Ta2 in step 104 through steps 97, 98, 100, 101, 102, and after calculation based on this inclination in step 105, steps 106, 108, From 110 and 111, the process proceeds to step 115, and the path is changed to set the f value in the output buffer 19. Then, by repeating this path, the f value is decreased according to the gradient Ta2, and the energization current IA2 that decreases at the gradient a2 is obtained due to the decrease in the output of the DA converter 16 associated therewith.
[0035]
When this f value is decreased and becomes almost equal to the value of Fa2, the procedure 106 branches to the procedure 107 in the same manner as described above, and after steps 117 and 118, the setting of the stationary flag and the setting of the value of Fa2 to f are performed. The process proceeds to step 113, and the value of Fa2 is set in the output buffer 19. Thus, as described above, the flow of processing from the next time is changed from the procedure 101 to the procedure 106 directly, and then the procedure 107 is changed to a route that directly exits the procedure 91, and the value of Fa2 is stored in the output buffer 19. The control signal corresponding to this value is output from the DA converter 19, and a constant energization current of IA2 is obtained.
[0036]
Next, when the signal A1 falls, the procedure 97 branches to the procedure 119, and the inclination is set to Ta3. Since the calculation is performed based on this inclination and the f value is set in the output buffer 19 while the f value is greater than zero, the result of repeating this path, the f value decreases according to the inclination Ta3. An energization current that decreases at the inclination of a3 is obtained by the output of the corresponding DA converter 19.
[0037]
In the process in the second mode of procedure 91, the values of parameters Fa1, Fa2, Ta1, Ta2, Ta3 are read in procedures 99, 100, 103, 104, and 119. If the parameter value is replaced with the set value, processing is performed with the replaced parameter value, and the parameter setting result is immediately reflected. Here, when f is increased by a slope according to the value of parameter Ta1, or when f is in a constant state of values of Fa1 and Fa2, the values of Fa1 and Fa2 are newly changed by replacement with set values. If the value is smaller than the value of f, the procedure branches from step 110 to step 111 in the former case, and then the decrease flag is set in step 116. In the latter case, the procedure moves from steps 106 to 108 and 109, and the stationary flag is set. Is cleared, the process proceeds from step 110, 111 to step 116, the decrease flag is set, the value of the parameter Ta2 set to the slope in step 104 is used to calculate the amount of change in step 105, and f Until the new value of Fa1 or Fa2 reaches a new value of Fa1 or Fa2.
[0038]
In addition, when f is decreased by the slope of the value of the parameter Ta2, or when the value of the parameters Fa1 and Fa2 is constant, the values of Fa1 and Fa2 are newly changed by replacement with the set values. If the value is larger than the value of f, the procedure branches from step 110 to step 112 in the former case, and then the decrease flag is cleared in step 114. In the latter case, the procedure moves from steps 106 to 108 and 109 to move to the stationary flag. Is cleared, the procedure proceeds from steps 110 and 112 to step 114, the decrease flag is cleared, and the value of the parameter Ta1 set to the slope in step 103 is used to calculate the amount of change in step 105. Until the new value of Fa1 or Fa2 reaches a new value of Fa1 or Fa2.
[0039]
The procedure 92 for controlling the solenoid B is the description of the procedure 91 described in detail with reference to FIG. 10. The signals A1 and A2 are changed to signals B1 and B2, respectively, and the parameters Fa1, Fa2, Ta1, Ta2, Ta3 is replaced with the parameters Fb1, Fb2, Tb1, Tb2, and Tb3, respectively, the operation flag A is changed to the operation flag B, the conduction currents IA1 and IA2 are changed to IB1 and IB2, respectively, and the gradients a1, a2, and a3 of the conduction currents are respectively set Since they are replaced with b1, b2, and b3, they will not be described again.
[0040]
In FIG. 5 again, after passing through step 55, it is detected in step 126 whether or not the setting flag is set. If this is not set, control 127 is displayed in step 127. If it is set, the parameter setting in step 56 is displayed in step 128. That is, in the procedure 127, when the process passing through the procedures 91 and 92 is performed, the value of the variable f is displayed on the first display unit 26A. Further, the display window 29 in the second display unit 26B is displayed when the process passing through the procedure 91 is performed, and the display window 30 is displayed in the second display unit 26B when the process passing through the procedure 92 is performed. Is displayed on the display window 31 when the value of the variable f is the value of the parameter Fa1 or Fb1, and is displayed on the display window 32 when the value of the variable f is the parameter Fa2 or Fb2. . Further, the display window 33 when the parameter Ta1 or Tb1 is used for the variable f, the display window 34 when the parameter Ta2 or Tb2 is used, and the display window 35 when the parameter Ta3 or Tb3 is used. A luminescent display is performed.
[0041]
In the display in step 128, the selected parameter and its set value are displayed on the first display unit 26A. Further, in the second display unit 26B, when the selected parameter is Fa1 to Ta3 for the solenoid A, the display window 29, and when the selected parameter is Fb1 to Tb3 for the solenoid B, the display window 30 emits light. When the selected parameter is Fa1 or Fb1, the display window 31 is used. When the selected parameter is Fa2 or Fb2, the display window 32 is used. When the selected parameter is Ta1 or Tb1, the display window 33 is used. In the display window 34, and in the case of Ta3 or Tb3, light emission display is performed in the display window 35, respectively.
[0042]
Next, the operation of this embodiment will be described. When the energization of the control device 9 is started, the control device 9 starts to operate in the first mode, the operation of the valve 1 is started, and the energization current to the solenoid A is changed to a1 by the rise of the signal A1 of the signal line 14. Until IA1 is reached, and then IA1 is energized until signal A2 rises. When the signal A2 rises, the energization current decreases at the slope of a2 until reaching IA2, and after reaching IA2, it decreases at the slope of a3 until reaching zero according to the fall of the signal A1. Since an opening degree corresponding to the energization current to the solenoid A is obtained between the supply port 2 and the output port 3, supply to the double-acting fluid actuator (not shown) connected to the output ports 3 and 4 according to the energization current After the flow rate is obtained, the actuator is accelerated according to a1 from the stopped state to a constant speed state according to IA1, and then decelerated according to a2 to a lower constant speed state according to IA2. The vehicle decelerates according to a3 until it stops.
[0043]
Then, after the resting state, the energization current to the solenoid B increases until reaching IB1 at the inclination of b1 due to the rise of the signal B1 of the signal line 14, and then IB1 is energized until the signal B2 rises. When the signal B2 rises, this energization current decreases at the slope of b2 until reaching IB2, and after reaching IB2, it decreases at the slope of b3 until reaching zero according to the fall of the signal B1. Since an opening degree corresponding to the energization current to the solenoid A is obtained between the supply port 2 and the output port 4, a supply flow rate corresponding to the energization current is obtained to the fluid actuator (not shown). From the stop state in the reverse direction, the speed is increased according to b1 to become a constant speed state according to IB1, and then decelerated according to b2 to become a lower speed constant speed state according to IB2, and then to b3 until stopping. Decelerate accordingly. Hereinafter, such an operation is repeated according to the signal on the signal line 14.
[0044]
If the parameter key 36 is turned on for a predetermined time or longer during this operation, the control device 9 enters the second mode. Then, after the switching selection by the DIP switch 39, for the parameter selected by the ON operation of the parameter key 36, the set value increased or decreased while visually confirming the display units 26A and 26B by the ON operation of the UP key 37 or the DWN key 38. Or by repeating this operation and selecting a plurality of parameters, and giving each of them a set value that is appropriately increased or decreased, and then turning on none of the keys 36, 37, and 38 for a predetermined time or more. Thus, the operating device 9 returns to the first mode again, and these set values are written in the EEPROM 23 as the parameters in a resting state in which neither of the solenoids A and B is energized. As a result, the next operation of the control device 9 is performed based on the changed parameters read in the procedure 43.
[0045]
Further, in the second mode of the control device 9, since the set value of the selected parameter is set as the parameter in step 85 and the value of the parameter is replaced, the current flowing to the soredoid A or B, and thus The operation of the fluid actuator operated by the valve 1 immediately reflects the setting operation. When setting the parameters, the parameters can be set to optimum values while observing the operation of the fluid actuator.
[0046]
The switching from the first mode to the second mode is performed by turning on the parameter key 36 for a predetermined time or more, and which key 36, the switching from the second mode to the first mode is performed. 37 and 38 are also performed by not being turned on for a predetermined time or more, so in any case, a dedicated key is not required for mode switching, the number of keys is reduced, the control device 9 is not enlarged, and control is not performed. The apparatus can be made inexpensive, and a control device that is easy to operate and easy to handle can be obtained.
[0047]
Note that the switching from the first mode to the second mode is performed by turning on the parameter key 36 for a predetermined time or longer, but any one of the keys 36, 37, and 38 is turned on for a predetermined time or longer. You may make it switch by doing. Further, although the present embodiment has been described with respect to the flow direction control valve, it is of course applicable to an electromagnetic proportional valve that performs only flow control or pressure control.
[0048]
【The invention's effect】
As described above, according to the first aspect of the present invention, when one of the keys is continuously pressed for a predetermined time, the mode is switched from the first mode to the second mode. The key and the switch mechanism are not required. Further, in the invention according to claim 2, since all the keys are not pressed continuously for a predetermined time, the second mode is switched to the first mode. A dedicated key or switch mechanism for inputting the setting operation end time is not required, the number of keys can be reduced, and the control device can be made small and inexpensive. In addition, the operation is simple and the handling of the control device can be facilitated.
[Brief description of the drawings]
FIG. 1 is a symbol diagram of an electromagnetic proportional valve according to an embodiment of the present invention.
FIG. 2 is a plan view of an electromagnetic proportional valve according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating the configuration of an embodiment of the present invention.
FIG. 4 is an explanatory diagram for explaining the operation of one embodiment of the present invention.
FIG. 5 is a flowchart for explaining the operation of the control device according to the embodiment of the present invention.
6 is a flowchart showing in detail a procedure 56 in FIG. 5;
FIG. 7 is a flowchart showing in detail the procedure 66 of FIG. 6;
FIG. 8 is a flowchart showing in detail the procedure 55 of FIG.
FIG. 9 is a flowchart showing the procedure 88 of FIG. 8 in detail.
FIG. 10 is a flowchart showing in detail the procedure 91 of FIG. 8;
[Explanation of symbols]
A, B Solenoid
7 Amplifier
9 Control device
23 Nonvolatile memory element
28 Key mechanism
36, 37, 38 keys

Claims (2)

ソレノイドへの通電電流に関するパラメータを書き換え可能に記憶する不揮発性の記憶素子と、このパラメータの書き換えのための設定値をキー操作により入力するキー機構を有し、ソレノイドへの通電電流を制御する増幅器への制御信号を、この記憶素子から読み出されたパラメータを基に作り出す制御装置を備えた電磁比例弁駆動装置であって、制御装置は、増幅器への制御信号を作り出すことは可能であるがパラメータの設定操作は行わない第1のモードと、パラメータの設定操作を可能とする第2のモードとの二つの作動モードを備え、第1のモードにキー機構の一つのキーが所定時間連続して押されることを検出するタイマー機構を設け、このタイマー機構の作動に基づき、第1のモードから第2のモードへ切り換えられることを特徴とする電磁比例弁駆動装置。A non-volatile storage element for storing a rewritable parameter relating to the energization current to the solenoid and a key mechanism for inputting a setting value for rewriting the parameter by key operation, and an amplifier for controlling the energization current to the solenoid An electromagnetic proportional valve driving device including a control device that generates a control signal based on a parameter read from the storage element, wherein the control device can generate a control signal to the amplifier There are two operation modes, a first mode in which no parameter setting operation is performed and a second mode in which the parameter setting operation is enabled, and one key of the key mechanism continues in the first mode for a predetermined time. A timer mechanism for detecting that the button is pressed is provided. Based on the operation of the timer mechanism, switching from the first mode to the second mode is performed. Proportional solenoid valve driving device according to symptoms. 第2のモードにキー機構の全てのキーが所定時間連続して押されないことを検出する別のタイマー機構を設け、このタイマー機構の作動に基づき、第2のモードから第1のモードへ切り換えられる請求項1に記載の電磁比例弁駆動装置。In the second mode, another timer mechanism for detecting that all the keys of the key mechanism are not continuously pressed for a predetermined time is provided, and the second mode is switched to the first mode based on the operation of the timer mechanism. The electromagnetic proportional valve drive device according to claim 1.
JP24726396A 1996-08-28 1996-08-28 Electromagnetic proportional valve drive Expired - Fee Related JP3764538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24726396A JP3764538B2 (en) 1996-08-28 1996-08-28 Electromagnetic proportional valve drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24726396A JP3764538B2 (en) 1996-08-28 1996-08-28 Electromagnetic proportional valve drive

Publications (2)

Publication Number Publication Date
JPH1073177A JPH1073177A (en) 1998-03-17
JP3764538B2 true JP3764538B2 (en) 2006-04-12

Family

ID=17160882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24726396A Expired - Fee Related JP3764538B2 (en) 1996-08-28 1996-08-28 Electromagnetic proportional valve drive

Country Status (1)

Country Link
JP (1) JP3764538B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005060414A1 (en) * 2005-12-15 2007-06-21 Bosch Rexroth Ag Electro hydraulic control device e.g. for control devices, has valve with control electronics for electrical control of valve as function of control signal

Also Published As

Publication number Publication date
JPH1073177A (en) 1998-03-17

Similar Documents

Publication Publication Date Title
EP0831581A3 (en) Stepping motor controller
JP2004114748A5 (en)
JP3764538B2 (en) Electromagnetic proportional valve drive
JP3764537B2 (en) Electromagnetic proportional valve drive
JP2007166892A (en) Method and device for deciding rotational speed of electric machine
JPH08314545A (en) Temperature control method in chamber of food storehouse
EP1096659A2 (en) Current mode PWM technique for a brushless motor
FI87180B (en) FOERFARANDE FOER STYRNING AV LYFTKRANSMOTOR.
JP2006143450A (en) Escalator control system and escalator control method
JP2020532056A5 (en)
JP4813981B2 (en) Stepping motor control method and control apparatus
JPH1049234A (en) Method and device for positioning equipment
JP4539279B2 (en) Inverter system, inverter device and frequency setting method thereof
JP2002149205A (en) Control device and operation parameter output method of control device
KR100878134B1 (en) System for electronic valve opening rate having function condition display and method of control therefor
KR910004655B1 (en) Duty factor control method
JP2003018752A (en) Battery-voltage discriminating device
JP5248744B2 (en) Electronic thermometer and control method of electronic thermometer
KR100204649B1 (en) Water supply control device and method of ice machine
JPH05176571A (en) Drive controller for servomotor
JP2001201145A (en) Controller for humidifier
JP3742709B2 (en) Switching method of fluid operated valve
JP4470459B2 (en) Sanitary washing device
KR100466823B1 (en) A Method of Conversion to Mature Mode of Kim-Chi Refrigerator
JP4171384B2 (en) Injection molding machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060120

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100127

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100127

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110127

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120127

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130127

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130127

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees