JP3845577B2 - Railroad model control device - Google Patents

Railroad model control device Download PDF

Info

Publication number
JP3845577B2
JP3845577B2 JP2001380885A JP2001380885A JP3845577B2 JP 3845577 B2 JP3845577 B2 JP 3845577B2 JP 2001380885 A JP2001380885 A JP 2001380885A JP 2001380885 A JP2001380885 A JP 2001380885A JP 3845577 B2 JP3845577 B2 JP 3845577B2
Authority
JP
Japan
Prior art keywords
parameter
model
identification code
sound effect
vehicle
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
JP2001380885A
Other languages
Japanese (ja)
Other versions
JP2003181155A (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.)
Roland Corp
Original Assignee
Roland 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 Roland Corp filed Critical Roland Corp
Priority to JP2001380885A priority Critical patent/JP3845577B2/en
Publication of JP2003181155A publication Critical patent/JP2003181155A/en
Application granted granted Critical
Publication of JP3845577B2 publication Critical patent/JP3845577B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Toys (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、鉄道模型車両を駆動するための制御を行う鉄道模型の制御装置および鉄道模型の効果音を発生する鉄道模型の効果音発生装置に関する。
【0002】
【従来の技術】
従来より、鉄道模型が、子供の玩具として、あるいは大人であっても趣味として広く利用されている。
【0003】
鉄道模型にも様々なタイプのものが存在し、線路上をただ単に走行させるだけのものもあるが、車両の走行を制御する制御装置を備えたものもあり(例えば特開平6−39148号公報参照)、さらには、車両の走行を制御するだけでなく、効果音を発生する機能を備えたものもある(例えば特公昭51−5682号公報参照)。効果音を発生させると臨場感を高めることができる。
【0004】
効果音を発生する装置としては、従来、鉄道模型車両を駆動する電流の増減方向によって鉄道模型車両の加速、定速、あるいは減速という3つの走行状態を検出し、検出された走行状態に応じて走行音を発生する装置や、様々な効果音を発生するボタンを備え、ボタンを押すとその押したボタンに応じた効果音を発生する装置などが知られている。このような鉄道模型車両には様々なタイプが在り、それぞれの鉄道模型車両によって駆動条件や効果音が異なるので、鉄道模型車両のタイプごとに駆動用のパラメータや効果音のパラメータが設定される。
【0005】
【発明が解決しようとする課題】
しかしながら、鉄道模型車両が変わるたびに、駆動用のパラメータや効果音のパラメータを一々設定しなければならないため、操作が煩雑になるという問題がある。
【0006】
本発明は、上記事情に鑑み、簡単な操作で駆動用のパラメータの設定を行えて、操作子の操作によって鉄道模型車両の走行の制御を簡単に行える鉄道模型の制御装置を提供することを目的とする。また、簡単な操作で効果音のパラメータの設定を行えて、操作子の操作によって鉄道模型の効果音を発生させる鉄道模型の効果音発生装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成する本発明の制御装置は、鉄道模型車両の走行を規定する1種類以上のパラメータからなるパラメータ群を構成する各パラメータのパラメータ値を設定するとともに設定されたパラメータ値のセットに識別コードを付与するパラメータ設定部と、
前記パラメータ設定部で設定されたパラメータ値のセットを、該セットに付与された識別コードに対応づけて記憶するパラメータ記憶部と、
識別コードを指定する識別コード指定部と、
鉄道模型車両の走行を操作する操作子と、
前記パラメータ記憶部から、前記識別コード指定部で指定された識別コードと同一の識別コードに対応付けられたパラメータ値のセットを読出し、該セットに基づくとともに前記操作子の操作に応じて走行させる車両走行制御部とを備えたことを特徴とする。
【0008】
本発明の上記鉄道模型の制御装置によれば、上記パラメータ設定部によって設定された、走行を規定する1種類以上のパラメータ群を構成する各パラメータを、識別コードを付与して上記パラメータ記憶部へ記憶しておけるので、一々設定を行わずに一度だけ設定すれば、後は指定手段によって識別コードを指定するだけで簡単に各パラメータのセットを読み出せる。また、指定手段によって読み出された各パラメータが操作子の操作に応じたものであるので、簡単に鉄道模型車両の走行を、操作子を操作することによって制御することができる。
【0009】
鉄道模型の効果音を規定する1種類以上のパラメータからなるパラメータ群を構成する各パラメータのパラメータ値を設定するとともに設定されたパラメータ値のセットに識別コードを付与するパラメータ設定部と、
前記パラメータ設定部で設定されたパラメータ値のセットを、該セットに付与された識別コードに対応づけて記憶するパラメータ記憶部と、
識別コードを指定する識別コード指定部と、
鉄道模型の効果音発生を指示する操作子と、
前記パラメータ記憶部から、前記識別コード指定部で指定された識別コードと同一の識別コードに対応付けられたパラメータ値のセットを読出し、効果音を、該セットに基づくとともに前記操作子の操作に応じて発生させる効果音発音制御部とを備えたことを特徴とする。
【0010】
本発明の制御装置によれば、上記パラメータ設定部によって設定された、効果音を規定する1種類以上のパラメータ群を構成する各パラメータを、識別コードを付与して上記パラメータ記憶部へ記憶しておけるので、一々設定を行わずに一度だけ設定すれば、後は指定手段によって識別コードを指定するだけで簡単に各パラメータのセットを読み出せる。また、指定手段によって読み出された各パラメータが操作子の操作に応じたものであるので、鉄道模型の効果音を、操作子を操作することによって簡単に制御することができる。
【0011】
【発明の実施の形態】
以下、本発明の実施形態について説明する。
【0012】
図1は、本発明の鉄道模型の制御装置の操作パネルを示す図である。
【0013】
この制御装置100には、この制御装置100の電源をオン、オフする電源スイッチ101、図示しない鉄道模型に送る電力の電圧と電流を示す電圧計102と電流計103、コンプレッサ、発車ベル、警笛の3つの効果音をそれぞれ発生するための3つの効果音再生ボタン105a,105b,105cと予備ボタン105dからなる効果音再生ボタン群105、鉄道模型車両の走行速度を調整するためのマスコン・レバー106、および走行中の鉄道模型車両のブレーキ操作を行なうブレーキ・レバー107が配備されている。その他に線路へ電源を供給するための電源端子109とスピーカーが接続される音声出力端子108が配備されている。さらに本実施形態のパネルには設定手段となる、設定部110と表示部118とが備えられており、ここで画面の表示を確認しながらいろいろな設定が行えるようになっている。図1の表示部118の画面にはメニュー画面が表示されている。ここでは、「車両の選択」と、編集を行うための「エディット」と、設定された情報を記憶するための「セーブ」がそれぞれ、表示される。図中、左上にはタイトル「車両」が表示されていて並んで車両の種別が括弧「」内ここでは「113系」と表示されている。また、設定部110には、カーソルキー111〜114、リターンキー115、エンター(ENTER)キー116、回転するエンコーダキー117とで構成される操作子群が備えられている。これらのキー111〜117を操作すれば表示部118で表示される内容に応じたパラメータの設定が行える。詳細は後述する。
【0014】
ここで、マスコン・レバー106は、鉄道模型車両の走行速度を5段階(OFF,1,2,3,4)に調整するものであり、このマスコン・レバー106を操作すると、鉄道模型車両の駆動電圧が、その操作位置に応じて、数値が大きい位置に操作するほど速い走行速度に変更される。
【0015】
尚、このマスコン・レバー106によって調整されるのは、鉄道模型車両の目標走行速度であり、このマスコン・レバー106によって目標走行速度が設定されると、鉄道模型車両は、現在の走行速度から、その設定された目標走行速度に向かって、ある時間をかけて徐々にその走行速度を変化させる。鉄道模型車両の走行速度は、その鉄道模型車両に供給される電力の電圧によって制御される。詳細は後述する。
【0016】
また、ブレーキ・レバー107は、走行中の鉄道模型車両のブレーキを、6段階(緊急,4,3,2,1,開放)に調整するものである。「緊急」はブレーキ力が最も強く、数値が下がるに従ってブレーキ力が弱まり、「開放」はブレーキをかけないことを意味する。
【0017】
図2は、図1に操作パネルの外観を示す制御装置の内部構成図である。
【0018】
ここには、図1に外観を示す液晶表示部および操作部で構成される設定手段110、効果音再生ボタン群105、マスコン・レバー106とブレーキ・レバー107とで構成されるレバー操作子120が示されている。また、図1には図示していないがフレキシブルディスクなどが挿着されるメディア部130も備えている。このメディア部130ではフレキシブルディスクが着脱自在になっていてフレキシブルディスクが挿着された場合にはフレキシブルディスク内に在る駆動パラメータなどがRAM140へ転送される。また、このRAM140内に在る駆動パラメータおよびその駆動に必要な効果音パラメータをフレキシブルディスクへ転送できるようにもしてある。
【0019】
また、この図1には示されていない構成要素として他には、CPU150、ROM160、電圧発生回路170、およびバスBUS180が示されている。
【0020】
ここで、ROM160には、本発明を実施するプログラムのほかに、レバー操作子120に操作に応じた鉄道模型車両を駆動するための電圧制御や効果音再生ボタン群のボタン操作に応じた各種効果音の発生を制御するための各種プログラムが記憶されている。また、ROM160には、鉄道模型車両の走行に関する効果音である走行音(ガタンゴトン)、ブレーキに関する効果音(キー、プシュー、チッ)や、その他各種効果音が音声データとして記憶されている。ここに記憶されている効果音を読み出すときには図示しない音声処理LSIが用いられる。
【0021】
RAM140は、CPU150でROM160に格納されたプログラムを実行するときに使用される各種パラメータを一時記憶するメモリである。
【0022】
なお、図示しない音声再生LSIはROM160に記憶されている音声データを、CPU150からの指示に基づく再生速度と再生音量で再生するLSIチップでなり、この音声再生LSIで再生された音声データは、図示しないD/Aコンバータでアナログの音声信号に変換され、図示しないパワーアンプでパワー増幅され、音声出力端子108から出力される。
【0023】
また、電圧発生回路170は、鉄道模型車両に供給する電力を、CPU150の指示に基づいてその電圧を調整して発生させる。その電圧が調整された電力は、電源供給端子109から図示しない線路を経由して鉄道模型車両に供給される。鉄道模型車両は、その供給された電力により、その電圧に応じた走行速度で線路上を走行する。また、電圧発生回路170には線路の電圧を検出する検出回路も配備されており、この検出結果に応じて、効果音などの発音タイミングなどが制御される。
【0024】
表1は、マスコン・レバーの位置と設定電圧値との関係を示した表である。
【0025】
【表1】

Figure 0003845577
【0026】
ここでは設定電圧値と鉄道模型車両の目標速度は比例関係にあり、マスコン・レバー106の操作位置を検出し、CPU150は、設定電圧値が変化すると、鉄道模型車両に供給する電力の電圧値が現在供給している電圧値から設定される設定電圧値に向かって徐々にその電圧値を変化させるように電圧発生回路170を制御する。
【0027】
図3は、現在供給している電力の電圧値と設定電圧値との間の電圧差と、電圧値を現在の電圧値から徐々に変化させて設定電圧値に達するまでに要する時間との対応関係を示す図である。例えば、表1に示すように、マスコン・レバーが現在OFFの位置にあり、かつ鉄道模型車両が停止している状態から、マスコン・レバーをレバー位置‘4’に操作すると、電圧差は12Vとなり、鉄道模型車両の走行速度が徐々に速まり、60秒かけて、電圧12Vに相当する走行速度に達することになる。
【0028】
従来は表1に示す電圧の値および図3に示す電圧の時間に対する変化の仕方が固定的なものになっていたが、本実施形態では設定手段110を用いて電圧値の設定および、電圧値を現在の電圧値から除々に変化させて設定電圧値に達するまでのカーブつまり加速度の設定も行えるように改善している。詳細は後述する。
【0029】
また、表2は、ブレーキ・レバーの位置と電圧値との関係を示す表である。
【0030】
【表2】
Figure 0003845577
【0031】
CPUは、ブレーキ・レバーの位置を検出し、そのブレーキ・レバーの各位置について、電圧発生回路29で発生される電圧が以下の関数に従って変化するように、電圧発生回路29を制御する。
【0032】
尚、以下の式で、v1は、ブレーキ・レバーを有効にした時点の電圧値(オフセット電圧)である。
【0033】
Figure 0003845577
図4は、電圧発生回路29で発生している電圧値が12V(v1=12)のときにブレーキ・レバーを操作したときの電圧値の変化を示す図である。
【0034】
この図4中の、「開放」、「1」、「2」、「3」、「4」、「緊急」は、図1に示すブレーキ・レバーの各位置に対応している。この図4において、傾きが急な直線ほど、ブレーキが強く作用することを意味している。
【0035】
本実施形態では、このブレーキ・レバーを操作したときの電圧や減速値も設定手段によって設定できるようになっている。これについても後述する。
【0036】
本実施形態では、鉄道模型車両の走行開始電圧、マスコン・レバーが操作されたときに上記各式で決められる係数、ブレーキレバーが操作されたときに上記各式で示される係数、目標速度に対応する電圧値などを設定手段110によって設定して、これをメディア部に記憶できるように改善している。
【0037】
また、効果音に対しては、効果ボタンで指定される「コンプレッサ」「発車ベル」「警笛」のうちのそれぞれにいろいろな効果音を付加できるように改善している。
【0038】
このようにするといろいろなパラメータに対応してコンプレッサ(ドアの開閉音)や発車ベルや警笛にいろいろな効果音が設定できて、発音される効果音にバリエーションを持たせることができる。さらには一旦、設定手段110によって設定された駆動パラメータおよび効果音パラメータが、電源がオフされると消えてしまうのでメディアに記憶できるように改善している。
【0039】
ここで本願の特徴部分となる設定手段110の動作について図5を参照して説明する。
【0040】
図5は設定手段を構成する表示部の表示例である。
【0041】
図5にはメニュー画面1と、そのメニュー画面のいずれかを選択した場合に展開される車両選択画面2、エディット画面3、セーブ画面4がそれぞれ、示される。メニュー画面1には「車両の選択」、「エディット」、「セーブ」の3種類の選択メニューが用意されていて、いずれかがカーソルで選択されると車両選択画面2か、エディット画面3か、セーブ画面4が表示される。尚、選択メニュー画面の中で、「車両の選択」に描かれている囲み枠がカーソルを示している。他の図でも同様であり、囲み枠がカーソルを示している。車両選択画面2では車両番号を指定するようにしている。例えば485系、103系、113系の中から選択できるようにしている。エディット画面3では駆動パラメータあるいは効果音パラメータのいずれかのパラメータの選択が行える。セーブ画面4ではセーブするときに識別コードを書き込めるようにしている。尚、ここではこの識別コードが車両名と一致している。
【0042】
メニュー画面1が表示部へ表示されているときの処理を、図6を参照して説明する。図5のメニュー画面が表示されている間は図6のフローが先頭から繰り返される。図6は電源が投入されたときにCPU150で行われる設定部110に関する処理に関するフローチャートである。
【0043】
まず、ステップS61で電源が投入されるとプログラムが起動される。そして、ステップS62で初期設定が行われる。ここで初期設定が行われると次のステップS63へ進められて「車両選択」が選択されたかどうかの判定が行われる。このステップS63で「車両選択」が選択されていたらYesと判定されてステップ64へと進められて車両選択処理が行われる。車両選択が選択されていなかったらNoと判定されてステップS65へと進められる。今度は図5の選択メニューにある3種類「車両選択」「エディット」「セーブ」の選択項目のうち、エディットが選択されているかどうかがステップS65で判定される。エディットについてもセーブについてもカーソルによって選択されてエンターキーによって選択決定が行われているかどうかがステップS65、ステップS67とで判定される。そしてそれぞれに対応する処理が行われるようになっている。
【0044】
ステップS63で「車両選択」にカーソルが設定されてこのステップでYesと判定されるとステップS64へ移行して車両選択処理プログラムが起動される。この車両選択処理プログラムのフローチャートを図7に示す。
【0045】
図7では車両選択処理が選択されたことに応じてステップS72で車両の選択を行う車両選択画面が表示される。この選択画面は図5に示す車両選択画面2になる。この選択画面画面2に基づいて選択手段110で車両の選択が行われる。
【0046】
図7は、車両選択処理ルーチンの詳細を示すフローチャートである。
【0047】
ステップS72で車両選択画面が表示されたら、次のステップS73では設定手段の操作部110に設けられているリターンキー115が押下されたかどうかが判定される。リターンキー115が押下された場合には、Yesと判定されてステップS76へと進められて図5のメニュー選択画面1へ移る。そうでない場合にはステップS73はNoと判定されてステップS74と進められる。このステップS74ではエンターキーENTER116が押下されて選択決定かどうかが判定される。エンターキーENTER116が押下されていない場合にはNoと判定されてステップS73からステップS74までが繰り返される。
【0048】
ステップS74でエンターキーENTER116が押下されたら、Yesと判定されて次のステップS75へ進められる。このステップS75ではメディア130あるいはROM160から選択された車両に基づく駆動パラメータがRAM140にロードされる。そして、このRAM140にロードされた駆動用のパラメータに基づいて鉄道模型車両の走行についての制御が行われる。ステップS76でメディアからのパラメータに関するロードが終えられたらメニュー画面1戻る。この車両選択メニューで識別コード指定部が構成される。
【0049】
図8にはメディアに記憶される鉄道模型車両の駆動を行うための駆動パラメータおよび効果音パラメータが記憶領域ごとに示されている。図8は後述するIDコードで管理された1セットのパラメータ群を示す図である。ここでIDコードで管理される駆動パラメータおよび効果音パラメータがどのようなものであるかを説明する。
【0050】
駆動パラメータには走行開始電圧を先頭として以下順に最高速度、加速度、加速度カーブ、減速度、減速度カーブがそれぞれ各記憶領域に記憶されている。
【0051】
まず、鉄道模型車両が搭載しているモータや、車両数、ライト点灯によって停車状態から走行し始める電圧が異なるのでこれに対処するために走行開始電圧が駆動パラメータとして記憶されている。ここではマスコン・レバーがOFFの時の電圧値を走行開始電圧として設定する。このときの設定範囲はマスコン・レバーが1の時の設定電圧よりも小さいことを条件とする。
【0052】
次に、マスコンレバーが4の位置のときの電圧値が鉄道模型車両の最高速度を決める駆動パラメータとして記憶されている。たとえばここに12と記憶されていれば、この12Vに対応する速度が最高速度として設定される。表1を例にするとレバー位置4に対応する電圧値12Vが最高速度に相当する。
【0053】
3番目の加速度では現在位置から増加する方向にマスコンレバーを動かした時に、どれくらいの時間をかけて速度を上げるか(電圧値を上げるか)の時間が加速度を決める駆動パラメータとして記憶されている。図3を例にすると最高電圧12Vに達するまでの必要時間60secを決定することが加速度を設定することに相当する。
【0054】
4番目の加速度カーブでは線形的に速度を増加させるか、あるいは非線形的に速度を増加させるかなど、予め決められたいくつかのカーブの種類から所望のものを選択してから速度の増加カーブを設定している。言い換えれば、予め決められているいくつかの関数から所望の関数を選択することで加速度のカーブを設定することを実現する。
【0055】
5番目の減速度ではブレーキーレバーの各位置で、どれくらいの時間をかけて減速するかが駆動パラメータとして記憶されている。具体的には鉄道模型車両を駆動する電圧を何秒で0Vに下げるかを設定している。図4においては例えばレバー1のとき最高速度(電圧)12Vが0Vになるまでに25秒とあるが、この25秒という値を変更することで減速度を適宜、設定できることになる。
【0056】
最後に減速度カーブでは時間に関して線形的に減少させるのか、あるいは非線形的に速度を減少させるのかなど、予め決められたいくつかのカーブの種類から所望のものを選択して速度の減衰カーブを設定する。
【0057】
上述の如く、走行開始電圧や最高速度(速度に対応する電圧値)、加速度(時間)、加速度カーブ(一次関数、指数関数など)、減速度(時間)、減速度カーブ(一次関数、指数関数など)がそれぞれ記憶されている。これらのパラメータはプログラムにコード換算表があればどのようなものであっても良い。
【0058】
また上述した、一鉄道模型車両を駆動するために必要なパラメータ群の先頭には識別コードが付けられている。この識別コードは駆動パラメータと効果音パラメータとを1セットにして管理するために設けられており、駆動パラメータと効果音パラメータとがセットになって記憶される領域を示すポインターとしても使用できる。例えば、この識別コードが設定手段によって設定されると、この識別コードを基にロードが行われる。このロードを行う際には、予めRAM104あるいはROM160内に識別コードを書き込んでおく必要がある。例えば、フレキシブルディスクであればフレキシブルディスクに記憶されている記憶領域の情報をRAM内に記憶して、その記憶された内容を基にファイルを検索できるようにしておく。そのときにはこの識別コードが用いられる。例えばRAMに記憶された内容をルックアップテーブルのようにしておき、コードが指定されたらそれに対応する記憶領域のアドレスを読み出すようなことをすれば良い。また、ROMあるいはハードディスクなどの固定的な記憶媒体の場合には、ROM内に在る入出力装置を管理するテーブルなどを使用すれば良い。ROM内にはオペレーティングに関する記憶領域が設けられており、そこにオペレーティングシステム(以下、OSという)の内容も記憶されている。例えば入出力番号としてROMならば1F(16進数)とかメディアならば2F(16進数)とかの番号が付けられている。
【0059】
このようにしておけば、記憶媒体のどこの記憶領域にその識別コードに対応する情報ここでは駆動パラメータがあるかどうかが検索される。またフレキシブルディスクであればフレキシブルディスク内のどの記憶領域にその識別コードに対応する情報ここでは駆動パラメータがあるかどうかが検索される。識別コードに対応する駆動パラメータが記憶されている領域が検索されたら、その記憶領域の先頭アドレスから駆動パラメータを読み出せば良い。
【0060】
また、フレキシブルディスクであればバスを介してその先頭アドレスをフレキシブルディスクドライブ(以下、FDDという)に送る。送られたFDDは先頭アドレスに対応するセクタへヘッドを移動させてパラメータを読み出す。尚、このときには識別コードで指定されたパラメータが記憶されている領域の駆動パラメータの読込ポイントと読み込み終了ポイントとがCPUで判定されるようになっている。ここで、ルックアップテーブルは例えばRAMに記憶されているので、電源がオフされるとその内容が消えてしまう。したがって、フレキシブルディスクのような場合には挿着されるごとにRAMに管理テーブルを作成すれば良い。このようなことを行うとファイルの割付表を利用して記憶されるパラメータの管理が行える。
【0061】
次に編集画面について説明する。図9は図5の選択画面で「エディット」が選択された場合の処理を示すフローチャートである。
【0062】
ステップS901でエディット処理が選択されたら、以下のフローが実行される。ステップS902でエディット処理画面の表示が行われる。ここで図5のエディット処理画面3の画面が表示される。そして次のステップS903へと進められて操作部110のリターンキー111が押下されたかどうかが判定される。リターンキー111が押下されてYesと判定された場合にはステップS904、ステップS905へと進められて図5のメニュー選択画面1へ戻る。
【0063】
ここで操作部116のリターンキーが押下されない場合には選択決定のステップS906へと進められる。ここで駆動パラメータの設定を行うか、効果音パラメータの設定を行うかが選択されて決定される。この選択決定はエンターキーが押下されるかどうかで判定される。図5ではカーソルが駆動パラメータにあるので、このときにエンターキーが押下されたらステップS907へと進められて駆動パラメータの設定画面が表示される。この設定画面では主にエンコーダキーの回転操作によって、設定したいパラメータが設定されるようになっている。
【0064】
ステップS907でパラメータの設定が行われたらステップS909でパラメータ変更を行うかどうかが判定される。このときにエンターキー116が押下されたらパラメータが変更される。そして次のステップS910で変更されたパラメータがRAMに書き込まれる。そしてステップS911でリターンキーが押下されたら先頭のステップS902へと戻される。
【0065】
また、ステップS906の選択決定のときに効果音のパラメータにカーソルが設定されてエンターキーが押下されたらステップS908へと進められて効果音パラメータの設定画面が表示される。この設定画面ではパラメータが画面に表示されてそれがカーソルで選択されるか、あるいはエンコーダキーによって数値などが設定されるようになっている。
【0066】
効果音パラメータが設定されたら、ステップS909へと進められて効果音パラメータの変更を行うかどうかが判定される。変更が行われていたらステップS910へと進められて変更されたパラメータがRAMに一時記憶される。
【0067】
そして次のステップS911へと進められてリターンキーが押下されたかどうかが判定される。リターンキーが押下されてYesと判定されたらフローの先頭ステップS902へ戻される。そうでなければNoと判定されてとステップS909へと戻されて効果音あるいは駆動パラメータの設定画面が表示される。
【0068】
尚,ステップS906で選択決定が行われない場合つまりエンターキーが押下されない場合にはステップS903からS906までの処理が繰り返し行われる。
【0069】
また、メニュー画面でセーブが選択されたときには図10に示すフローが実行される。
【0070】
ステップS102でセーブ画面表示が行われる。次のステップS103ではリターンキーが押下されたかどうかの判定が行われる。リターンキーが押下されたらYesと判定されてステップS108へと進められて図5のメニュー画面1に戻る。
【0071】
ステップS103でNoと判定されたらステップS104で車両名の設定が行われる。ここで車両名設定を行うかどうかが判定される。Yesと判定されたらステップS105で車両名設定処理が行われる。このときには図5のセーブ画面4の画面が表示されている。このときにエンコーダキーを回転させて数値あるいはアルファベットを選択して車両名を書き込み、書き込み終えたら、「OK」が押される。そうすると識別コードに対応するパラメータがセットになってメディアに記憶される。図7で説明したようにメディアから読み出すときには車両選択を選択して「113系」を指定すれば、駆動パラメータおよび効果パラメータが読み出される。
【0072】
尚、FDDに挿着されたときにファイル管理テーブルを例えばRAMなどに作成しておいて、識別コードが指定されたときにはその指定された識別コードに対応するアドレスを作成されたテーブルから検索するようなことを行えば良い。
【0073】
このように、本発明の効果音再生装置によれば鉄道模型に対応するパラメータが一度設定されれば、その駆動パラメータおよび効果音パラメータが記憶されているので設定を一々行わなくても良い。
【0074】
尚、本実施形態ではメディア部としてフレキシブルディスクを挙げたが、本発明はこれに限定されずメモリカード、CD、DVDといった記憶媒体でも良い。
【0075】
【発明の効果】
以上説明したように、本発明の鉄道模型の制御装置によれば、駆動用のパラメータの設定を一度行えば、後は読み出すだけで駆動用のパラメータを簡単に設定できて、操作子によって鉄道模型車両の走行の制御を簡単に行える制御装置を提供することができる。また、本発明の鉄道模型の効果音発生装置によれば、鉄道模型車両の、効果音のパラメータの設定を一度行えば、後は読み出すだけで効果音の各パラメータを簡単に設定できて、操作子によって鉄道模型の効果音を発生させることができる鉄道模型の効果音発生装置を提供することができる。さらに、鉄道模型の制御装置にあっては、駆動パラメータの変更が簡単に行えて、鉄道模型の効果音発生装置にあっては、効果音の変更が簡単に行えるので、鉄道模型車両をいろいろな速度で走行させたり、上記鉄道模型の制御装置で走行の制御が行なわれる鉄道模型とは異なる鉄道模型の効果音を発生させたりすることができる。
【図面の簡単な説明】
【図1】本発明の、鉄道模型の効果音再生装置の一実施形態が組み込まれた鉄道模型の制御装置の操作パネルを示す図である。
【図2】図1に操作パネルの外観を示す制御装置の内部構成図である。
【図3】現在の電圧値と設定電圧値との間の電圧差と、電圧値を現在の電圧値から徐々に変化させて設定電圧値に達するまでに要する時間との対応関係を示す図である。
【図4】電圧値が12Vのときにブレーキ・レバーを操作したときの電圧値の変化を示す図である。
【図5】設定手段を構成する表示部の表示例である。
【図6】図6は電源が投入されたときにCPU150で行われる設定部110に関する処理に関するフローチャートである。
【図7】図6の車両選択処理ステップS64で行われる処理の詳細を示すフローチャートである。
【図8】識別コードで管理されるパラメータ群を示す図である。
【図9】図6のエディット処理ステップS66で行われる処理の詳細を示すフローチャートである。
【図10】図6のセーブ処理ステップS68で行われる処理の詳細を示すフローチャートである。
【符号の説明】
100 制御装置
101 電源スイッチ
102 電圧計
103 電流計
105 効果音再生ボタン群
109 電源供給端子
105a,105b,105c,105d 効果音再生ボタン
106 マスコン・レバー
107 ブレーキ・レバー
110 設定手段
130 メディア
150 CPU
160 ROM
140 RAM
170 電圧発生回路[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a railroad model control device that performs control for driving a railroad model vehicle, and a railroad model sound effect generator that generates a railroad model sound effect.
[0002]
[Prior art]
Conventionally, railway models have been widely used as children's toys or as a hobby even for adults.
[0003]
There are various types of railroad models, and there are those that simply run on the track, but there are also those equipped with a control device for controlling the running of the vehicle (for example, Japanese Patent Laid-Open No. 6-39148). In addition, there are some which have a function of generating sound effects in addition to controlling the running of the vehicle (see, for example, Japanese Patent Publication No. 51-5682). When sound effects are generated, the sense of presence can be enhanced.
[0004]
As a device for generating sound effects, conventionally, three traveling states of acceleration, constant speed, or deceleration of the model train are detected based on the direction of increase / decrease of the current driving the model train, and the detected traveling state is determined according to the detected traveling state. There are known a device that generates a running sound, a device that includes buttons that generate various sound effects, and that generates a sound effect corresponding to the pressed button when the button is pressed. There are various types of such model railway vehicles, and the driving conditions and sound effects differ depending on each model railway vehicle. Therefore, driving parameters and sound effect parameters are set for each type of railway model vehicle.
[0005]
[Problems to be solved by the invention]
However, every time the model train changes, driving parameters and sound effect parameters must be set one by one, and there is a problem that the operation becomes complicated.
[0006]
The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a railroad model control apparatus that can set driving parameters with a simple operation and can easily control the travel of a railroad model vehicle by operating an operator. And It is another object of the present invention to provide a railway model sound effect generator that can set sound effect parameters with a simple operation and generates a model sound effect by operating an operator.
[0007]
[Means for Solving the Problems]
The control device of the present invention that achieves the above object sets a parameter value of each parameter that constitutes a parameter group including one or more types of parameters that define the travel of the model railway model, and identifies the set of parameter values that have been set. A parameter setting section for assigning codes;
A parameter storage unit configured to store a set of parameter values set by the parameter setting unit in association with an identification code given to the set;
An identification code designating unit for designating an identification code;
An operator for operating the model train,
A vehicle that reads from the parameter storage unit a set of parameter values associated with the same identification code as the identification code specified by the identification code specifying unit, and travels in accordance with the operation of the operator based on the set And a travel control unit.
[0008]
According to the railroad model control device of the present invention, each parameter constituting one or more types of parameter groups that define travel set by the parameter setting unit is assigned an identification code to the parameter storage unit. Since it can be stored, if it is set only once without setting one by one, the set of each parameter can be easily read out by simply specifying the identification code by the specifying means. Moreover, since each parameter read by the designation means corresponds to the operation of the operation element, the traveling of the model train can be easily controlled by operating the operation element.
[0009]
A parameter setting unit that sets a parameter value of each parameter that constitutes a parameter group including one or more types of parameters that define a sound effect of the railway model, and that assigns an identification code to the set of parameter values set;
A parameter storage unit configured to store a set of parameter values set by the parameter setting unit in association with an identification code given to the set;
An identification code designating unit for designating an identification code;
An operator for instructing the generation of sound effects of the railway model;
A set of parameter values associated with the same identification code as the identification code specified by the identification code specifying unit is read from the parameter storage unit, and a sound effect is based on the set and according to the operation of the operator. And a sound effect sound generation control unit for generating the sound effect.
[0010]
According to the control device of the present invention, each parameter constituting one or more kinds of parameter groups that define sound effects set by the parameter setting unit is assigned an identification code and stored in the parameter storage unit. Therefore, if the setting is performed only once without setting it, each parameter set can be easily read out by simply specifying the identification code by the specifying means. Moreover, since each parameter read by the designation means corresponds to the operation of the operation element, the sound effect of the railway model can be easily controlled by operating the operation element.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described.
[0012]
FIG. 1 is a diagram showing an operation panel of a railway model control device of the present invention.
[0013]
The control device 100 includes a power switch 101 for turning on and off the power of the control device 100, a voltmeter 102 and an ammeter 103 indicating the voltage and current of power to be sent to a railway model (not shown), a compressor, a departure bell, and a horn. A sound effect playback button group 105 including three sound effect playback buttons 105a, 105b, 105c and a spare button 105d for generating three sound effects, a mascon lever 106 for adjusting the traveling speed of the model train, In addition, a brake lever 107 is provided for performing a brake operation of the traveling model railway vehicle. In addition, a power supply terminal 109 for supplying power to the track and an audio output terminal 108 to which a speaker is connected are provided. Further, the panel of this embodiment is provided with a setting unit 110 and a display unit 118 as setting means, and various settings can be performed while confirming the display of the screen. A menu screen is displayed on the screen of the display unit 118 in FIG. Here, “select a vehicle”, “edit” for editing, and “save” for storing the set information are displayed. In the figure, the title “vehicle” is displayed in the upper left, and the type of the vehicle is displayed as “113 series” in parentheses “”. The setting unit 110 is provided with an operator group including cursor keys 111 to 114, a return key 115, an enter key 116, and a rotating encoder key 117. By operating these keys 111 to 117, parameters can be set according to the contents displayed on the display unit 118. Details will be described later.
[0014]
Here, the mascon lever 106 adjusts the traveling speed of the model train vehicle in five steps (OFF, 1, 2, 3, 4). When the mascon lever 106 is operated, the train model vehicle is driven. According to the operation position, the voltage is changed to a higher traveling speed as the voltage is operated to a larger position.
[0015]
It is to be noted that what is adjusted by the mascon lever 106 is a target traveling speed of the model railway vehicle. When the target traveling speed is set by the mascon lever 106, the railway model vehicle is The traveling speed is gradually changed over a certain time toward the set target traveling speed. The traveling speed of the model train is controlled by the voltage of the electric power supplied to the model train. Details will be described later.
[0016]
The brake lever 107 adjusts the brake of the traveling model railway vehicle in six stages (emergency, 4, 3, 2, 1, release). “Emergency” means that the braking force is the strongest, the braking force weakens as the value decreases, and “open” means that the brake is not applied.
[0017]
FIG. 2 is an internal configuration diagram of the control device showing the appearance of the operation panel in FIG.
[0018]
Here, there are a setting means 110 composed of a liquid crystal display section and an operation section shown in FIG. 1, a sound effect playback button group 105, and a lever operation element 120 composed of a master control lever 106 and a brake lever 107. It is shown. Although not shown in FIG. 1, a media unit 130 into which a flexible disk or the like is inserted is also provided. In the media unit 130, the flexible disk is detachable, and when the flexible disk is inserted, the drive parameters and the like existing in the flexible disk are transferred to the RAM 140. In addition, the drive parameters in the RAM 140 and the sound effect parameters necessary for the drive can be transferred to the flexible disk.
[0019]
As other components not shown in FIG. 1, a CPU 150, a ROM 160, a voltage generation circuit 170, and a bus BUS 180 are shown.
[0020]
Here, in the ROM 160, in addition to the program for carrying out the present invention, various effects according to the button operation of the voltage control and the sound effect reproduction button group for driving the model train according to the operation of the lever operation element 120 are stored. Various programs for controlling sound generation are stored. Further, the ROM 160 stores traveling sound (gatangoton) that is a sound effect related to the traveling of the model train, sound effects (key, push shoe, chip) related to the brake, and other various sound effects as sound data. A sound processing LSI (not shown) is used to read the sound effect stored here.
[0021]
The RAM 140 is a memory that temporarily stores various parameters used when the CPU 150 executes a program stored in the ROM 160.
[0022]
An audio reproduction LSI (not shown) is an LSI chip that reproduces audio data stored in the ROM 160 at a reproduction speed and reproduction volume based on an instruction from the CPU 150. The audio data reproduced by the audio reproduction LSI is The signal is converted into an analog audio signal by the D / A converter, and is amplified by a power amplifier (not shown) and output from the audio output terminal 108.
[0023]
Moreover, the voltage generation circuit 170 adjusts the voltage based on an instruction from the CPU 150 to generate power to be supplied to the model railway vehicle. The electric power whose voltage has been adjusted is supplied from the power supply terminal 109 to the model railway vehicle via a track (not shown). The model railway vehicle travels on the track at a traveling speed corresponding to the voltage by the supplied electric power. The voltage generation circuit 170 is also provided with a detection circuit that detects the voltage of the line, and the sound generation timing such as a sound effect is controlled according to the detection result.
[0024]
Table 1 is a table showing the relationship between the position of the mascon lever and the set voltage value.
[0025]
[Table 1]
Figure 0003845577
[0026]
Here, the set voltage value and the target speed of the model train are proportional to each other, and the operation position of the master controller lever 106 is detected. When the set voltage value changes, the CPU 150 determines the voltage value of the power supplied to the model train. The voltage generation circuit 170 is controlled so that the voltage value is gradually changed from the currently supplied voltage value toward the set voltage value.
[0027]
FIG. 3 shows the correspondence between the voltage difference between the voltage value of the power currently supplied and the set voltage value, and the time required to reach the set voltage value by gradually changing the voltage value from the current voltage value. It is a figure which shows a relationship. For example, as shown in Table 1, when the master control lever is currently in the OFF position and the model train is stopped, operating the master control lever to the lever position '4' results in a voltage difference of 12V. The traveling speed of the model railway vehicle gradually increases and reaches a traveling speed corresponding to a voltage of 12 V over 60 seconds.
[0028]
Conventionally, the voltage values shown in Table 1 and the manner in which the voltage shown in FIG. 3 changes with time are fixed, but in this embodiment, the setting means 110 is used to set the voltage value and the voltage value. Is gradually improved from the current voltage value so that the curve until reaching the set voltage value, that is, the acceleration can be set. Details will be described later.
[0029]
Table 2 shows the relationship between the position of the brake lever and the voltage value.
[0030]
[Table 2]
Figure 0003845577
[0031]
The CPU detects the position of the brake lever, and controls the voltage generation circuit 29 so that the voltage generated by the voltage generation circuit 29 changes according to the following function for each position of the brake lever.
[0032]
In the following expression, v1 is a voltage value (offset voltage) at the time when the brake lever is activated.
[0033]
Figure 0003845577
FIG. 4 is a diagram showing a change in voltage value when the brake lever is operated when the voltage value generated in the voltage generation circuit 29 is 12 V (v1 = 12).
[0034]
“Open”, “1”, “2”, “3”, “4”, and “emergency” in FIG. 4 correspond to the positions of the brake lever shown in FIG. In FIG. 4, the straighter the slope is, the stronger the brake is.
[0035]
In the present embodiment, the voltage and deceleration value when this brake lever is operated can be set by the setting means. This will also be described later.
[0036]
In this embodiment, it corresponds to the travel start voltage of the model train, the coefficient determined by the above equations when the mascon lever is operated, the coefficient indicated by the above equations when the brake lever is operated, and the target speed. The voltage value or the like to be set is set by the setting means 110 and is improved so that it can be stored in the media section.
[0037]
In addition, with respect to the sound effects, various sound effects can be added to each of “compressor”, “departure bell”, and “warf” designated by the effect button.
[0038]
In this way, various sound effects can be set for the compressor (door opening / closing sound), the departure bell and the horn in response to various parameters, and the sound effects produced can have variations. Furthermore, the drive parameters and sound effect parameters once set by the setting means 110 disappear when the power is turned off, so that the parameters can be stored in the medium.
[0039]
Here, the operation of the setting means 110 which is a characteristic part of the present application will be described with reference to FIG.
[0040]
FIG. 5 is a display example of the display unit constituting the setting means.
[0041]
FIG. 5 shows a menu screen 1 and a vehicle selection screen 2, an edit screen 3, and a save screen 4 that are developed when any one of the menu screens is selected. The menu screen 1 has three types of selection menus “select vehicle”, “edit”, and “save”, and when one is selected by the cursor, the vehicle selection screen 2, the edit screen 3, The save screen 4 is displayed. In the selection menu screen, a box drawn in “vehicle selection” indicates a cursor. The same applies to other figures, and the box indicates the cursor. A vehicle number is designated on the vehicle selection screen 2. For example, it is possible to select from among 485, 103, and 113 systems. On the edit screen 3, either a drive parameter or a sound effect parameter can be selected. In the save screen 4, an identification code can be written when saving. Here, this identification code matches the vehicle name.
[0042]
Processing when the menu screen 1 is displayed on the display unit will be described with reference to FIG. While the menu screen of FIG. 5 is displayed, the flow of FIG. 6 is repeated from the top. FIG. 6 is a flowchart relating to processing related to the setting unit 110 performed by the CPU 150 when the power is turned on.
[0043]
First, when the power is turned on in step S61, the program is started. In step S62, initialization is performed. When the initial setting is performed here, the process proceeds to the next step S63 to determine whether or not “vehicle selection” is selected. If “vehicle selection” is selected in step S63, it is determined Yes and the process proceeds to step 64 to perform a vehicle selection process. If vehicle selection is not selected, it is determined No and the process proceeds to step S65. Next, it is determined in step S65 whether or not editing is selected from among the three types of “vehicle selection”, “edit”, and “save” selection items in the selection menu of FIG. In step S65 and step S67, it is determined whether the edit and the save are selected by the cursor and the selection is determined by the enter key. And processing corresponding to each is performed.
[0044]
If the cursor is set to “vehicle selection” in step S63 and it is determined Yes in this step, the process proceeds to step S64 and the vehicle selection processing program is started. A flowchart of this vehicle selection processing program is shown in FIG.
[0045]
In FIG. 7, a vehicle selection screen for selecting a vehicle is displayed in step S72 in response to the vehicle selection process being selected. This selection screen is the vehicle selection screen 2 shown in FIG. Based on this selection screen screen 2, the selection means 110 selects a vehicle.
[0046]
FIG. 7 is a flowchart showing details of the vehicle selection processing routine.
[0047]
If the vehicle selection screen is displayed in step S72, it is determined in next step S73 whether or not the return key 115 provided in the operation unit 110 of the setting means has been pressed. If the return key 115 is pressed, it is determined Yes and the process proceeds to step S76 to move to the menu selection screen 1 in FIG. Otherwise, step S73 is determined No and the process proceeds with step S74. In step S74, it is determined whether or not the enter key ENTER 116 is pressed to determine the selection. If the enter key ENTER 116 is not pressed, it is determined No and steps S73 to S74 are repeated.
[0048]
If the enter key ENTER 116 is pressed in step S74, it is determined Yes and the process proceeds to the next step S75. In step S75, driving parameters based on the vehicle selected from the medium 130 or the ROM 160 are loaded into the RAM 140. Based on the driving parameters loaded in the RAM 140, the travel of the model train is controlled. When the loading of the parameters from the medium is completed in step S76, the menu screen 1 is returned. This vehicle selection menu constitutes an identification code designating unit.
[0049]
FIG. 8 shows drive parameters and sound effect parameters for driving the model railway vehicle stored in the medium for each storage area. FIG. 8 is a diagram showing a set of parameters managed by an ID code to be described later. Here, the drive parameters and sound effect parameters managed by the ID code will be described.
[0050]
In the drive parameters, the maximum speed, acceleration, acceleration curve, deceleration, and deceleration curve are stored in each storage area in the following order starting from the travel start voltage.
[0051]
First, since the motor that is mounted on the model train vehicle, the number of vehicles, and the voltage at which the vehicle starts to travel from the stop state vary depending on the lighting, the travel start voltage is stored as a drive parameter in order to deal with this. Here, the voltage value when the mascon lever is OFF is set as the travel start voltage. The setting range at this time is conditional on being smaller than the setting voltage when the mascon lever is 1.
[0052]
Next, the voltage value when the master control lever is at the position 4 is stored as a drive parameter that determines the maximum speed of the model train. For example, if 12 is stored here, the speed corresponding to 12V is set as the maximum speed. Taking Table 1 as an example, a voltage value of 12 V corresponding to the lever position 4 corresponds to the maximum speed.
[0053]
In the third acceleration, when the mass control lever is moved in an increasing direction from the current position, the time taken to increase the speed (the voltage value is increased) is stored as a drive parameter for determining the acceleration. Taking FIG. 3 as an example, determining the required time of 60 sec to reach the maximum voltage of 12 V corresponds to setting the acceleration.
[0054]
In the fourth acceleration curve, select the desired one from several types of curves, such as whether to increase speed linearly or increase speed nonlinearly, and then increase the speed increase curve. It is set. In other words, it is possible to set the acceleration curve by selecting a desired function from several predetermined functions.
[0055]
In the fifth deceleration, how long it takes to decelerate at each position of the brake lever is stored as a drive parameter. Specifically, it is set how many seconds the voltage for driving the model train is lowered to 0V. In FIG. 4, for example, when the lever 1 is used, the maximum speed (voltage) 12 V is 25 seconds until the voltage reaches 0 V. By changing this value of 25 seconds, the deceleration can be set appropriately.
[0056]
Finally, in the deceleration curve, select a desired one of several types of curves, such as whether to decrease linearly with respect to time, or decrease the speed nonlinearly, and set the speed attenuation curve To do.
[0057]
As described above, travel start voltage, maximum speed (voltage value corresponding to speed), acceleration (time), acceleration curve (primary function, exponential function, etc.), deceleration (time), deceleration curve (primary function, exponential function) Etc.) are stored. These parameters may be any parameters as long as the program has a code conversion table.
[0058]
In addition, an identification code is attached to the head of the parameter group necessary for driving the one model railway vehicle described above. This identification code is provided to manage the drive parameter and the sound effect parameter as one set, and can be used as a pointer indicating an area where the drive parameter and the sound effect parameter are stored as a set. For example, when this identification code is set by the setting means, loading is performed based on this identification code. When this loading is performed, it is necessary to write an identification code in the RAM 104 or ROM 160 in advance. For example, in the case of a flexible disk, information on a storage area stored in the flexible disk is stored in a RAM so that a file can be searched based on the stored contents. At that time, this identification code is used. For example, the contents stored in the RAM may be stored in a look-up table, and when a code is specified, the address of the storage area corresponding to the code may be read. In the case of a fixed storage medium such as a ROM or a hard disk, a table for managing input / output devices in the ROM may be used. In the ROM, a storage area related to the operating is provided, and the contents of the operating system (hereinafter referred to as OS) are also stored therein. For example, a number such as 1F (hexadecimal number) is assigned as an input / output number for a ROM, and 2F (hexadecimal number) is assigned for a medium.
[0059]
In this way, it is searched for in which storage area of the storage medium there is information corresponding to the identification code, here the drive parameter. Further, in the case of a flexible disk, it is searched in which storage area in the flexible disk there is information corresponding to the identification code, here a drive parameter. When an area in which the drive parameter corresponding to the identification code is stored is searched, the drive parameter may be read from the head address of the storage area.
[0060]
In the case of a flexible disk, the head address is sent to a flexible disk drive (hereinafter referred to as FDD) via a bus. The sent FDD reads the parameters by moving the head to the sector corresponding to the head address. At this time, the CPU determines the read point and read end point of the drive parameter in the area where the parameter specified by the identification code is stored. Here, since the lookup table is stored in, for example, the RAM, the contents disappear when the power is turned off. Therefore, in the case of a flexible disk, a management table may be created in the RAM every time it is inserted. If this is done, the stored parameters can be managed using the file allocation table.
[0061]
Next, the editing screen will be described. FIG. 9 is a flowchart showing processing when “edit” is selected on the selection screen of FIG.
[0062]
If the edit process is selected in step S901, the following flow is executed. In step S902, an edit process screen is displayed. Here, the screen of the edit processing screen 3 of FIG. 5 is displayed. Then, the process proceeds to the next step S903, and it is determined whether or not the return key 111 of the operation unit 110 is pressed. If the return key 111 is pressed and it is determined Yes, the process proceeds to step S904 and step S905 to return to the menu selection screen 1 in FIG.
[0063]
If the return key of the operation unit 116 is not pressed here, the process proceeds to the selection determination step S906. Here, whether to set the drive parameter or the sound effect parameter is selected and determined. This selection decision is determined by whether or not the enter key is pressed. In FIG. 5, since the cursor is on the drive parameter, if the enter key is pressed at this time, the process proceeds to step S907 to display a drive parameter setting screen. In this setting screen, the parameter to be set is set mainly by rotating the encoder key.
[0064]
If the parameter is set in step S907, it is determined in step S909 whether or not to change the parameter. If the enter key 116 is pressed at this time, the parameter is changed. Then, the parameter changed in the next step S910 is written into the RAM. If the return key is pressed in step S911, the process returns to the first step S902.
[0065]
If the cursor is set in the sound effect parameter when the selection is determined in step S906 and the enter key is pressed, the process proceeds to step S908 to display the sound effect parameter setting screen. In this setting screen, a parameter is displayed on the screen and is selected by a cursor, or a numerical value or the like is set by an encoder key.
[0066]
If the sound effect parameter is set, the process proceeds to step S909 to determine whether or not to change the sound effect parameter. If the change has been made, the process proceeds to step S910, and the changed parameter is temporarily stored in the RAM.
[0067]
Then, the process proceeds to the next step S911 to determine whether or not the return key has been pressed. If the return key is pressed and it is determined as Yes, the flow returns to step S902. Otherwise, if it is determined No, the process returns to step S909 to display a sound effect or drive parameter setting screen.
[0068]
If the selection decision is not made in step S906, that is, if the enter key is not pressed, the processes from step S903 to S906 are repeated.
[0069]
When save is selected on the menu screen, the flow shown in FIG. 10 is executed.
[0070]
In step S102, a save screen is displayed. In the next step S103, it is determined whether or not the return key has been pressed. If the return key is pressed, it is determined Yes and the process proceeds to step S108 to return to the menu screen 1 in FIG.
[0071]
If it is determined No in step S103, the vehicle name is set in step S104. Here, it is determined whether or not to set the vehicle name. If it determines with Yes, a vehicle name setting process will be performed by step S105. At this time, the screen of the save screen 4 of FIG. 5 is displayed. At this time, the encoder key is rotated to select a numerical value or alphabet to write the vehicle name. When the writing is completed, “OK” is pressed. Then, the parameter corresponding to the identification code is set and stored in the medium. As described with reference to FIG. 7, when the vehicle selection is selected and “113 system” is designated when reading from the medium, the drive parameter and the effect parameter are read.
[0072]
A file management table is created in, for example, a RAM when it is inserted into the FDD, and when an identification code is designated, an address corresponding to the designated identification code is retrieved from the created table. You can do something.
[0073]
As described above, according to the sound effect reproducing apparatus of the present invention, once the parameters corresponding to the railway model are set, the drive parameters and the sound effect parameters are stored, so that the setting need not be performed one by one.
[0074]
In this embodiment, a flexible disk is used as the media unit. However, the present invention is not limited to this, and a storage medium such as a memory card, CD, or DVD may be used.
[0075]
【The invention's effect】
As described above, according to the railway model control device of the present invention, once the driving parameters are set, the driving parameters can be easily set only by reading out, and the model is controlled by the operator. It is possible to provide a control device that can easily control the traveling of the vehicle. In addition, according to the railway model sound effect generating apparatus of the present invention, once the sound effect parameter of the model train is set, each parameter of the sound effect can be easily set by simply reading and operating. It is possible to provide a railway model sound effect generator capable of generating a railway model sound effect by a child. Furthermore, in the model train control device, the drive parameters can be easily changed, and in the model model sound effect generator, the effect sound can be easily changed. It is possible to travel at a speed or to generate a sound effect of a railway model different from the railway model whose traveling is controlled by the railway model control device.
[Brief description of the drawings]
FIG. 1 is a diagram showing an operation panel of a railway model control apparatus in which an embodiment of a railway model sound effect reproducing apparatus according to the present invention is incorporated.
FIG. 2 is an internal configuration diagram of a control device showing an appearance of an operation panel in FIG. 1;
FIG. 3 is a diagram illustrating a correspondence relationship between a voltage difference between a current voltage value and a set voltage value and a time required to reach the set voltage value by gradually changing the voltage value from the current voltage value; is there.
FIG. 4 is a diagram showing a change in voltage value when the brake lever is operated when the voltage value is 12V.
FIG. 5 is a display example of a display unit constituting setting means.
FIG. 6 is a flowchart regarding processing related to a setting unit 110 performed by a CPU 150 when power is turned on.
7 is a flowchart showing details of processing performed in vehicle selection processing step S64 of FIG. 6;
FIG. 8 is a diagram illustrating a parameter group managed by an identification code.
FIG. 9 is a flowchart showing details of processing performed in edit processing step S66 of FIG. 6;
FIG. 10 is a flowchart showing details of the process performed in save process step S68 of FIG. 6;
[Explanation of symbols]
100 Control device
101 Power switch
102 Voltmeter
103 Ammeter
105 Sound effect playback buttons
109 Power supply terminal
105a, 105b, 105c, 105d Sound effect playback button
106 mascon lever
107 Brake lever
110 Setting means
130 media
150 CPU
160 ROM
140 RAM
170 Voltage generation circuit

Claims (1)

ユーザの操作を鉄道模型の車両走行の制御態様に対応付ける1種類以上のパラメータからなるパラメータ群を構成する各パラメータのパラメータ値と、ユーザの操作を鉄道模型の効果音発生の制御態様に対応付ける1種類以上のパラメータからなるパラメータ群を構成する各パラメータのパラメータ値とを設定するとともに、設定されたパラメータ値のセットに識別コードを付与するパラメータ設定部と、
前記パラメータ設定部で設定されたパラメータ値のセットを、該セットに付与された識別コードに対応付けて記憶するパラメータ記憶部と、
識別コードを指定する識別コード指定部と、
鉄道模型の車両走行を操作する車両走行操作子と、
鉄道模型の効果音発生を指示する効果音発生操作子と、
前記パラメータ記憶部から、前記識別コード指定部で指定された識別コードに対応付けられたパラメータ値のセットを読み出し、鉄道模型を、該セットに基づくとともに前記車両走行操作子の操作に応じて走行させる車両走行制御部と、効果音を、該セットに基づくとともに前記効果音発生操作子の操作に応じて発生させる効果音発音制御部とを備えたことを特徴とする鉄道模型の制御装置。
A parameter value of each parameter constituting a parameter group consisting of one or more types of parameters that associates the user's operation with the vehicle model control mode, and one type that associates the user's operation with the model sound effect control mode A parameter setting unit that sets a parameter value of each parameter that constitutes a parameter group including the above parameters, and that assigns an identification code to the set of set parameter values;
A parameter storage unit for storing a set of parameter values set by the parameter setting unit in association with an identification code given to the set;
An identification code designating unit for designating an identification code;
A vehicle travel operator for operating the model train,
A sound effect generator for instructing the generation of sound effects of the railway model;
A set of parameter values associated with the identification code designated by the identification code designation unit is read from the parameter storage unit, and the railway model is caused to travel based on the set and according to the operation of the vehicle travel operator. An apparatus for controlling a railway model, comprising: a vehicle travel control unit; and a sound effect sound generation control unit that generates sound effects according to the operation of the sound effect generating operation element based on the set.
JP2001380885A 2001-12-14 2001-12-14 Railroad model control device Expired - Fee Related JP3845577B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001380885A JP3845577B2 (en) 2001-12-14 2001-12-14 Railroad model control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001380885A JP3845577B2 (en) 2001-12-14 2001-12-14 Railroad model control device

Publications (2)

Publication Number Publication Date
JP2003181155A JP2003181155A (en) 2003-07-02
JP3845577B2 true JP3845577B2 (en) 2006-11-15

Family

ID=27591739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001380885A Expired - Fee Related JP3845577B2 (en) 2001-12-14 2001-12-14 Railroad model control device

Country Status (1)

Country Link
JP (1) JP3845577B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8154227B1 (en) * 2003-11-26 2012-04-10 Liontech Trains Llc Model train control system
JP5465406B2 (en) * 2008-09-05 2014-04-09 株式会社大一商会 Bullet ball machine
KR101239596B1 (en) 2011-08-25 2013-03-05 김종찬 A whistle sound variable device of echo steam locomotive
JP6529938B2 (en) * 2016-07-26 2019-06-12 株式会社システムゼウス Train model driving device and train model driving method

Also Published As

Publication number Publication date
JP2003181155A (en) 2003-07-02

Similar Documents

Publication Publication Date Title
JP3804615B2 (en) Sound reproduction apparatus, sound reproduction method, and program
KR100535289B1 (en) Recording / playback devices, playback devices and recording devices
US6751167B2 (en) Information playback apparatus
KR960005563A (en) Recording medium playback device
US20020172118A1 (en) Beat density detecting apparatus and information playback apparatus
JP3845577B2 (en) Railroad model control device
US20070213884A1 (en) Method of implementing PC game auto-play in vehicle applications
JP2002298562A (en) Device for displaying audio information
JP2010225235A (en) On-vehicle sound reproducing apparatus and sound reproducing method
JP3724477B2 (en) Playback apparatus and display control method
JP3015339B2 (en) Motor control device using storage medium and motor control method using storage medium
JP3721593B2 (en) Automatic performance device
JP3826856B2 (en) REPRODUCTION CONTROL DEVICE, REPRODUCTION CONTROL METHOD, AND REPRODUCTION CONTROL PROGRAM
JP3757119B2 (en) Optical disk device
JP3840828B2 (en) Video stream data reproducing apparatus and method
JP2010140533A (en) Content reproducing device
JPH07153244A (en) Reproducing device
KR960003164B1 (en) Simple reserve-edition of cdgp
JP3543535B2 (en) Magneto-optical recording / reproducing device
US5548079A (en) Music sequencer with skip operation to recorded positions associated with tone parameter sets
JP2005148648A (en) Electronic music system and computer program
JPH02294985A (en) Cd reproducing device
WO2011102116A1 (en) Audio device, audio system, and control method of audio device
JPH0644756A (en) Reproducing device
JPH09161389A (en) On-vehicle disk reproducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060620

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060724

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060821

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100825

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees