JP6638112B1 - Running judgment system of model railway vehicle and its running judgment program - Google Patents

Running judgment system of model railway vehicle and its running judgment program Download PDF

Info

Publication number
JP6638112B1
JP6638112B1 JP2019153315A JP2019153315A JP6638112B1 JP 6638112 B1 JP6638112 B1 JP 6638112B1 JP 2019153315 A JP2019153315 A JP 2019153315A JP 2019153315 A JP2019153315 A JP 2019153315A JP 6638112 B1 JP6638112 B1 JP 6638112B1
Authority
JP
Japan
Prior art keywords
railway vehicle
model railway
sound
state
traveling
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.)
Active
Application number
JP2019153315A
Other languages
Japanese (ja)
Other versions
JP2021029621A (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.)
Tomy Tec Co Ltd
Original Assignee
Tomy Tec 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 Tomy Tec Co Ltd filed Critical Tomy Tec Co Ltd
Priority to JP2019153315A priority Critical patent/JP6638112B1/en
Application granted granted Critical
Publication of JP6638112B1 publication Critical patent/JP6638112B1/en
Publication of JP2021029621A publication Critical patent/JP2021029621A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Toys (AREA)

Abstract

【課題】鉄道模型車両の走行判定を精度良く行う。
【解決手段】加速度センサ5aは、鉄道模型車両3に搭載されている。電圧特定部5bは、鉄道模型車両3の走行用モータを駆動する駆動電圧V(電圧値)を特定する。走行判定部5cは、加速度センサによって検知された加速度αに基づいて、鉄道模型車両3の停止状態と走行状態との間の移行を判定する。それとともに、走行判定部5cは、駆動電圧Vに基づいて、鉄道模型車両3の走行中の加減速を判定する。
【選択図】図1
An object of the present invention is to accurately determine the running of a model railway vehicle.
An acceleration sensor is mounted on a model railway vehicle. The voltage specifying unit 5b specifies a drive voltage V (voltage value) for driving the traveling motor of the model railway vehicle 3. The traveling determination unit 5c determines a transition between the stopped state and the traveling state of the model railway vehicle 3 based on the acceleration α detected by the acceleration sensor. At the same time, the traveling determination unit 5c determines the acceleration / deceleration of the model railway vehicle 3 during traveling based on the driving voltage V.
[Selection diagram] Fig. 1

Description

本発明は、鉄道模型車両の走行判定システム、および、その走行判定プログラムに関する。   The present invention relates to a travel determination system for a model railway vehicle and a travel determination program therefor.

例えば、特許文献1には、鉄道模型のレールに供給される電圧を検出回路で検出し、この検出結果に応じて、各種の効果音を選択的に発生する効果音発生装置が記載されている。また、このような速度制御用の電圧をモニタリングする手法に代えて、鉄道模型車両に加速度センサを搭載して、車両の実際の挙動をモニタリングする手法も知られている。例えば、特許文献2には、鉄道模型車両が備える3軸加速度センサを用いて、そのヨー、ピッチ、ロールといった各加速度を算出し、これらの加速度に基づいて、予め記録された音声クリップの中から適切な音声を選択的に再生する音声制御装置が記載されている。   For example, Patent Literature 1 discloses a sound effect generator that detects a voltage supplied to a rail of a model railway by a detection circuit and selectively generates various sound effects in accordance with the detection result. . Further, instead of such a method of monitoring the voltage for speed control, a method of mounting an acceleration sensor on a model railway vehicle and monitoring the actual behavior of the vehicle is also known. For example, in Patent Literature 2, each acceleration such as yaw, pitch, and roll is calculated using a three-axis acceleration sensor included in a model railway vehicle, and based on these accelerations, a voice clip recorded in advance is used. An audio control device for selectively reproducing appropriate audio is described.

特開2003−181155号公報JP 2003-181155 A 米国特許出願公開第2014/0162528号明細書U.S. Patent Application Publication No. 2014/0162528

しかしながら、速度制御用の電圧をモニタリングする手法では、極低速域における電圧対速度の特性のバラツキを無視できず、鉄道模型車両の実際の挙動を正確に把握できないといった問題がある。一般に、動力車の走行特性には、モータの電気的特性やギアの回転抵抗などに関する個体差に由来して、走行特性に製品毎のバラツキが存在する。そのため、停止している車両を走行させる場合、比較的低い電圧で走り出す個体もあれば、これよりも高い電圧にならないと走り出さない個体もある。また、走行している車両を停止させる場合、比較的高い電圧で停止する個体もあれば、これよりも低い電圧にならないと停止しない個体もある。同様のことは、動力車が牽引する車両数の寡少についても該当し、牽引数が増えるほど走り出しタイミングは遅くなり、停止タイミングは早くなる。その結果、車両の挙動に応じた挙動音の再生において、例えば、停止している車両が走り出すことに遅れて、停止音から加速音への切り替わりが生じるといった如く、車両の挙動に対して再生される挙動音が整合しない事態が起こり得る。   However, the technique of monitoring the voltage for speed control has a problem that the variation in the characteristic of voltage versus speed in an extremely low speed region cannot be ignored, and the actual behavior of the model railway vehicle cannot be accurately grasped. In general, in the running characteristics of a motor vehicle, there are variations in the running characteristics for each product due to individual differences in electric characteristics of a motor, rotational resistance of a gear, and the like. For this reason, when running a stopped vehicle, some individuals start running at a relatively low voltage, while others run only at a higher voltage. When stopping a running vehicle, there are individuals that stop at a relatively high voltage, and others that do not stop until the voltage becomes lower. The same applies to a case in which the number of vehicles towed by the motor vehicle is small, and the more the towing argument increases, the later the start-up timing and the earlier the stop timing. As a result, in the reproduction of the behavior sound according to the behavior of the vehicle, for example, the reproduction of the behavior of the vehicle is performed in such a manner that a transition from the stop sound to the acceleration sound occurs after the stopped vehicle starts running. A situation may occur where the behavior sounds do not match.

一方、加速度センサを用いたモニタリング手法は、理論上、車両の挙動を適切に検知できるはずではあるが、実際には、加速度を適切かつ安定的に検知することは困難である。その原因は、車両の走行中において、走行に由来した高周波なノイズ成分が本来の加速度成分に常時重畳され、検知信号の振幅が大きく変動してしまうからである。その結果、車両の挙動に応じた挙動音の再生において、例えば、車両が一定速で惰行しているにも関わらず加速音と減速音とが頻繁に切り替わるといった如く、車両の挙動に対して再生される挙動音が整合しない事態が起こり得る。ノイズ成分となる外乱要因としては、走行中に生じる車両の不要な振動、例えば、極低速時における動力車の不要な振動(カーノック)、レールの繋ぎ目(ジョイント)を通過する際に生じる車両の揺動、連結器(カプラー)のスプリングに由来した車両間における振動の増幅、加減速に伴う車両同士の突き上げや引き戻しなどが挙げられる。それ以外に、レールの汚れなどに起因した電気的な接触不良によって、モータの回転数が急激に変動することも外乱要因となる。このようなノイズ成分は、本発明者らが実験やシミュレーションを行って検討した結果、ローパスフィルタ処理などを施しても有効に除去できないことが判明した。   On the other hand, a monitoring method using an acceleration sensor should theoretically be able to appropriately detect the behavior of a vehicle, but in practice, it is difficult to detect acceleration appropriately and stably. The reason is that during traveling of the vehicle, a high-frequency noise component derived from traveling is always superimposed on the original acceleration component, and the amplitude of the detection signal fluctuates greatly. As a result, in the reproduction of the behavior sound according to the behavior of the vehicle, for example, the reproduction of the behavior sound of the vehicle is performed such that the acceleration sound and the deceleration sound are frequently switched even though the vehicle is coasting at a constant speed. A situation may occur where the behavior sounds that are performed do not match. Disturbance factors that become noise components include unnecessary vibration of the vehicle during traveling, for example, unnecessary vibration of a motor vehicle at extremely low speed (car knock), and vehicle vibration generated when passing through a joint of rails (joint). Examples include swinging, amplification of vibration between vehicles caused by a spring of a coupler, and pushing and pulling back of vehicles due to acceleration / deceleration. In addition, a sudden change in the number of revolutions of the motor due to poor electrical contact due to dirt on the rails also causes disturbance. The present inventors have conducted experiments and simulations to study such noise components, and as a result, it has been found that the noise components cannot be effectively removed even if low-pass filtering is performed.

本発明は、かかる事情に鑑みてなされたものであり、その目的は、鉄道模型車両の走行判定を精度良く行うことである。   The present invention has been made in view of such circumstances, and an object of the present invention is to accurately determine the running of a model railway vehicle.

かかる課題を解決すべく、第1の発明は、加速度センサと、走行判定部とを有する、鉄道模型車両の走行判定システムを提供する。加速度センサは、鉄道模型車両に搭載されている。走行判定部は、加速度センサの検知信号に基づいて、鉄道模型車両が停止している停止状態と、鉄道模型車両が走行している走行状態との間の移行を判定すると共に、鉄道模型車両の走行用モータを駆動する駆動電圧の電圧値に基づいて、鉄道模型車両の走行中の加減速を判定する。   In order to solve such a problem, a first invention provides a travel determination system for a model railway vehicle, which includes an acceleration sensor and a travel determination unit. The acceleration sensor is mounted on a model railway vehicle. The travel determination unit determines, based on the detection signal of the acceleration sensor, a transition between a stopped state in which the model railway vehicle is stopped and a travel state in which the model railway vehicle is traveling, and a determination of the model railway vehicle. Acceleration / deceleration of the model railway vehicle during traveling is determined based on the voltage value of the driving voltage for driving the traveling motor.

ここで、第1の発明において、上記走行判定部は、加速度センサの検知信号が定常範囲内から所定のしきい値を超えた値に変化した場合、停止状態から走行状態に移行したと判定することが好ましい。この場合、上記走行判定部は、停止状態から走行状態に移行したタイミングで、鉄道模型車両の挙動に応じて再生される挙動音を、停止音から加速音に切り替える指示信号を出力してもよい。   Here, in the first invention, when the detection signal of the acceleration sensor changes from within the steady range to a value exceeding a predetermined threshold, the traveling determination unit determines that the vehicle has transitioned from the stopped state to the traveling state. Is preferred. In this case, the traveling determination unit may output an instruction signal for switching the behavior sound reproduced according to the behavior of the model railway vehicle from the stop sound to the acceleration sound at a timing when the vehicle is shifted from the stop state to the travel state. .

第1の発明において、上記走行判定部は、加速度センサの検知信号が所定のしきい値を超えた値から定常範囲内に変化した場合、走行状態から停止状態に移行したと判定することが好ましい。この場合、上記走行判定部は、走行状態から停止状態に移行したタイミングで、鉄道模型車両の挙動に応じて再生される挙動音を、減速音から停止音に切り替える指示信号を出力してもよい。   In the first invention, it is preferable that the traveling determination unit determines that the vehicle has shifted from the traveling state to the stopped state when the detection signal of the acceleration sensor changes from a value exceeding a predetermined threshold value to within a steady range. . In this case, the traveling determination unit may output an instruction signal for switching the behavior sound reproduced according to the behavior of the model railway vehicle from the deceleration sound to the stop sound at a timing when the traveling state is shifted to the stop state. .

第1の発明において、上記走行判定部は、駆動電圧の電圧値を少なくとも一つの所定のしきい値と比較することによって、鉄道模型車両の走行状態を予め設定された複数の速度領域のいずれかに分類し、分類された速度領域に応じて、挙動音を選択的に再生する指示信号を出力してもよい。   In the first invention, the travel determination unit compares the drive voltage value with at least one predetermined threshold value to determine the travel state of the model railway vehicle in one of a plurality of preset speed regions. And an instruction signal for selectively reproducing the behavior sound may be output according to the classified speed region.

第2の発明は、以下のステップを有する処理をコンピュータに実行させる、鉄道模型車両の走行判定プログラムを提供する。第1のステップでは、鉄道模型車両に搭載された加速度センサの検知信号を取得する。第2のステップでは、鉄道模型車両の走行用モータを駆動する駆動電圧の電圧値を取得する。第3のステップでは、加速度センサの検知信号に基づいて、鉄道模型車両が停止している停止状態と、鉄道模型車両が走行している走行状態との間の移行を判定すると共に、駆動電圧の電圧値に基づいて、鉄道模型車両の走行中の加減速を判定する。   A second invention provides a running determination program for a model railway vehicle, which causes a computer to execute processing having the following steps. In the first step, a detection signal of an acceleration sensor mounted on the model railway vehicle is obtained. In the second step, a voltage value of a drive voltage for driving the traveling motor of the model railway vehicle is acquired. In the third step, based on the detection signal of the acceleration sensor, a transition between a stopped state in which the model railway vehicle is stopped and a traveling state in which the model railway vehicle is traveling is determined, and the driving voltage of the railway model vehicle is determined. Acceleration / deceleration during running of the model railway vehicle is determined based on the voltage value.

ここで、第2の発明において、上記第3のステップは、加速度センサの検知信号が定常範囲内から所定のしきい値を超えた値に変化した場合、停止状態から走行状態に移行したと判定することが好ましい。この場合、停止状態から走行状態に移行したタイミングで、鉄道模型車両の挙動に応じて再生される挙動音を、停止音から加速音に切り替える指示信号を出力する第4のステップを設けてもよい。 Here, in the second invention, the third step determines that the vehicle has shifted from the stop state to the running state when the detection signal of the acceleration sensor changes from a value within a steady range to a value exceeding a predetermined threshold value. Is preferred. In this case, a fourth step of outputting an instruction signal for switching the behavior sound reproduced according to the behavior of the model railway vehicle from the stop sound to the acceleration sound at a timing when the vehicle is shifted from the stop state to the traveling state may be provided. .

第2の発明において、上記第3のステップは、加速度センサの検知信号が所定のしきい値を超えた値から定常範囲内に変化した場合、走行状態から停止状態に移行したと判定することが好ましい。この場合、走行状態から停止状態に移行したタイミングで、鉄道模型車両の挙動に応じて再生される挙動音を、減速音から停止音に切り替える指示信号を出力する第5のステップを設けてもよい。   In the second invention, in the third step, when the detection signal of the acceleration sensor changes from a value exceeding a predetermined threshold to within a steady range, it is determined that the vehicle has shifted from the running state to the stop state. preferable. In this case, a fifth step of outputting an instruction signal for switching the behavior sound reproduced according to the behavior of the model railway vehicle from the deceleration sound to the stop sound at a timing when the vehicle is shifted from the running state to the stop state may be provided. .

第2の発明において、駆動電圧の電圧値を少なくとも一つの所定のしきい値と比較することによって、鉄道模型車両の走行状態を予め設定された複数の速度領域のいずれかに分類し、分類された速度領域に応じて、挙動音を選択的に再生する指示信号を出力する第6のステップを設けてもよい。   In the second invention, by comparing the voltage value of the drive voltage with at least one predetermined threshold value, the running state of the model railway vehicle is classified into any of a plurality of speed regions set in advance, and the classification is performed. A sixth step of outputting an instruction signal for selectively reproducing the behavior sound according to the speed region may be provided.

本発明によれば、停止状態と走行状態との間の移行については、極低速域における電圧対速度の特性のバラツキが顕著な駆動電圧ではなく、実際の車両挙動を検知する加速度センサによって判定される。また、走行中の加減速については、加速度センサの検知信号に含まれる走行由来のノイズ成分が大きいがゆえに、加速度センサでは適正な加速度を安定的に検知することが困難であることから、モータの入力となる駆動電圧に基づいて判定される。このように、加速度センサおよび駆動電圧を併用したモニタリングを行うことで、両者の欠点を補完できるので、鉄道模型車両の走行判定を精度良く行うことが可能になる。   According to the present invention, the transition between the stop state and the running state is determined by an acceleration sensor that detects actual vehicle behavior, not a drive voltage in which the voltage-speed characteristics in an extremely low speed range vary significantly. You. Also, regarding acceleration / deceleration during traveling, since the noise component derived from traveling included in the detection signal of the acceleration sensor is large, it is difficult for the acceleration sensor to stably detect an appropriate acceleration. The determination is made based on the input drive voltage. As described above, by performing the monitoring using the acceleration sensor and the driving voltage together, the disadvantages of both can be complemented, so that it is possible to accurately determine the traveling of the model railway vehicle.

鉄道模型走行システムのブロック図Block diagram of model railway traveling system 走行判定部の判定結果の一覧表List of judgment results of the driving judgment unit 停止状態における加速度センサの信号波形図Signal waveform diagram of acceleration sensor in stop state 走行状態における加速度センサの信号波形図Signal waveform diagram of acceleration sensor in running state 停止状態から走行状態への移行時における加速度センサの信号波形図Signal waveform diagram of the acceleration sensor when shifting from the stop state to the running state 走行状態から停止状態への移行時における加速度センサの信号波形図Signal waveform diagram of the acceleration sensor when shifting from the running state to the stop state 挙動音の車種別一覧表List of behavior sounds by vehicle type 速度領域の分類の説明図Explanatory drawing of classification of speed area 走行判定のタイミングチャートTiming chart for traveling judgment

図1は、本実施形態に係る鉄道模型走行システムのブロック図である。この走行システム1は、レール2と、鉄道模型車両3と、パワーユニット4とを有し、鉄道模型車両3は、パワーユニット4の制御の下、レール2上を走行する。鉄道模型車両3は、複数の車輪と、走行用モータM(動力車の場合)とを備えている。金属製の車輪は、車両3の下部に設けられており、金属製のレール2の踏面と接触している。モータMは、車体3の内部に設けられており、その駆動力によって車輪を回転させる。   FIG. 1 is a block diagram of a model railway traveling system according to the present embodiment. The traveling system 1 includes a rail 2, a model railway vehicle 3, and a power unit 4, and the railway model vehicle 3 travels on the rail 2 under the control of the power unit 4. The model railway vehicle 3 includes a plurality of wheels and a traveling motor M (in the case of a powered vehicle). The metal wheel is provided at the lower part of the vehicle 3 and is in contact with the tread surface of the metal rail 2. The motor M is provided inside the vehicle body 3 and rotates wheels by its driving force.

走行用モータMへの給電は、レール2と接触した車輪3を介して、レール2の電力を取り込むことによって行われる。鉄道模型車両3の制御方式には、DC制御(直流制御)、PWM制御(パルス幅変調制御)、DCC(Digital Command Control)などが存在するが、いずれの制御方式を採用してもよい。ここで、DC制御とは、モータMを駆動させる駆動電圧として、直流電圧の値そのものを0〜12Vの範囲で可変に設定して、レール2に供給する制御をいう。また、PWM制御とは、電圧パルスのデューティ比を可変に設定して、レール2に供給する制御をいう。この場合、駆動電圧は、レール2に供給される電圧パルスの実効電圧に相当する。例えば、12Vの電圧パルスを50%のオンデューティで供給したとすると、実効電圧は6Vとなる。さらに、DCCとは、鉄道模型車両3(より正確には車載デコーダ)を指定するアドレス付のデジタルコマンドを12V程度の交流電圧に重畳して、レール2に供給する制御をいう。この場合、駆動電圧は、速度制御用のデジタルコマンドの指示に基づき、鉄道模型車両3側(車載デコーダ側)にて生成される内部電圧(モータMの印加電圧)に相当する。   The power supply to the traveling motor M is performed by taking in the electric power of the rail 2 via the wheel 3 which is in contact with the rail 2. The control method of the model railway vehicle 3 includes DC control (DC control), PWM control (pulse width modulation control), DCC (Digital Command Control), and the like, and any control method may be adopted. Here, the DC control refers to control in which the value of the DC voltage itself is variably set in a range of 0 to 12 V and supplied to the rail 2 as a drive voltage for driving the motor M. The PWM control refers to control in which the duty ratio of a voltage pulse is variably set and supplied to the rail 2. In this case, the drive voltage corresponds to the effective voltage of the voltage pulse supplied to the rail 2. For example, if a voltage pulse of 12V is supplied at an on-duty of 50%, the effective voltage is 6V. Further, DCC refers to control in which a digital command with an address for designating a model railway vehicle 3 (more precisely, an in-vehicle decoder) is superimposed on an AC voltage of about 12 V and supplied to the rail 2. In this case, the drive voltage corresponds to an internal voltage (applied voltage of the motor M) generated on the model railway vehicle 3 side (on-vehicle decoder side) based on the instruction of the digital command for speed control.

また、走行システム1は、鉄道模型車両3の走行判定を行う走行判定システム5と、鉄道模型車両3の挙動音を再生するサウンド再生部6とを備えている。走行判定システム5は、加速度センサ5aと、電圧特定部5bと、走行判定部5cとを有する。加速度センサ5aは、鉄道模型車両3に搭載されており、車長方向における車両3の挙動を加速度(現在値)として直接かつリアルタイムで検知する。加速度センサ5aとしては、ピエゾ抵抗型、静電容量型、熱検知型といったタイプが知られているが、いずれのタイプを用いてもよい。特に、スマートフォンなどで広く採用されているMEMS加速度センサは、小型、安価かつ高感度であるため、本実施形態としての用途に適している。加速度センサ5aの検知信号は、加速度αとして、走行判定部5cに入力される。   The travel system 1 includes a travel determination system 5 that determines travel of the model railway vehicle 3 and a sound reproduction unit 6 that reproduces the behavior sound of the model railway vehicle 3. The traveling determination system 5 has an acceleration sensor 5a, a voltage specifying unit 5b, and a traveling determination unit 5c. The acceleration sensor 5a is mounted on the model railway vehicle 3, and detects the behavior of the vehicle 3 in the vehicle length direction directly and in real time as acceleration (current value). As the acceleration sensor 5a, types such as a piezo-resistance type, a capacitance type, and a heat detection type are known, but any type may be used. In particular, a MEMS acceleration sensor widely used in smartphones and the like is suitable for use as the present embodiment because it is small, inexpensive, and highly sensitive. The detection signal of the acceleration sensor 5a is input to the traveling determination unit 5c as the acceleration α.

なお、走行判定部5cに入力される加速度αは、加速度センサ5の出力に対してオフセット除去やローパスフィルタによる平滑化といった処理を施したものであってもよい。これらの処理は、マイコン側でソフトウェア的に処理することも可能なので、物理的な構成として、走行判定部5cとしてのマイコンがローパスフィルタなどの機能も担っていてもよい。   The acceleration α input to the traveling determination unit 5c may be obtained by performing processing such as offset removal or smoothing using a low-pass filter on the output of the acceleration sensor 5. Since these processes can be performed by software on the microcomputer side, as a physical configuration, the microcomputer as the traveling determination unit 5c may also have a function such as a low-pass filter.

電圧特定部5bは、鉄道模型車両3の走行用モータMを駆動する駆動電圧の電圧値をリアルタイムで特定する。電圧特定部5bは、加速度センサ5aとは異なり、必ずしも車両3に搭載されている必要はなく、制御方式に応じて適宜の箇所に配置すればよい。具体的には、DC制御およびPWM制御の場合、駆動電圧そのものが車両3の外部から直接供給されるので、車両3の内部、レール2、パワーユニット4、および、パワーユニット4の接続機器のいずれに電圧特定部5bを配置してもよい。また、DCCの場合、駆動電圧は車両内部で生成されるので、駆動電圧を直接検知するのであれば、基本的に、車両3の内部に電圧特定部5bが配置される。ただし、速度制御用のデジタルコマンドの内容は駆動電圧の電圧値と一義的に対応するため、このデジタルコマンドの内容を特定・解析する機構を電圧特定部5bとして用いてもよく、この場合、電圧特定部5bは車両3の外部に配置されていてもよい。また、駆動電圧の特定は、車両3内またはレールなどに設けられた電圧検知用のセンサを用いて直接的に行ってもよいし、パワーユニット4に設けられた速度制御用のツマミやノブの操作量を検知することによって間接的に行ってもよい。電圧特定部5bから出力された駆動電圧の電圧値は、駆動電圧Vとして、走行判定部5cに入力される。   The voltage specifying unit 5b specifies, in real time, a voltage value of a driving voltage for driving the traveling motor M of the model railway vehicle 3. Unlike the acceleration sensor 5a, the voltage specifying unit 5b does not necessarily need to be mounted on the vehicle 3, and may be disposed at an appropriate location according to the control method. Specifically, in the case of the DC control and the PWM control, since the drive voltage itself is directly supplied from the outside of the vehicle 3, the voltage is applied to any of the inside of the vehicle 3, the rail 2, the power unit 4, and the connected devices of the power unit 4. The specifying unit 5b may be provided. In the case of DCC, the driving voltage is generated inside the vehicle. Therefore, if the driving voltage is directly detected, basically, the voltage specifying unit 5b is arranged inside the vehicle 3. However, since the content of the digital command for speed control uniquely corresponds to the voltage value of the drive voltage, a mechanism for specifying and analyzing the content of the digital command may be used as the voltage specifying unit 5b. The specifying unit 5b may be arranged outside the vehicle 3. The drive voltage may be directly specified by using a voltage detection sensor provided in the vehicle 3 or on a rail, or by operating a speed control knob or knob provided in the power unit 4. It may be performed indirectly by detecting the amount. The voltage value of the driving voltage output from the voltage specifying unit 5b is input to the traveling determination unit 5c as the driving voltage V.

走行判定部5cは、加速度センサ5aによって検知された加速度αと、電圧特定部5bによって特定された駆動電圧Vとに基づいて、鉄道模型車両3の走行判定をリアルタイムで行う。具体的には、加速度αに基づいて、車両3が停止している状態(停止状態)と、車両3が走行している状態(走行状態)との間における状態の移行が判定される。停止/走行の状態移行の判定には、以下に挙げる2つのタイプが存在し、本実施形態ではどちらの判定も行っているが、どちらか一方のみの判定であってもよい。1つは、停止している車両3が走り出す際の移行であり(停止→走行)、もう一つは、走行している車両3が停止する際の移行である(走行→停止)。また、走行判定部5cは、加速度αに関わりなく、電圧特定部5bによって特定された駆動電圧Vに基づいて、鉄道模型車両3の走行中における加減速を判定する。   The traveling determination unit 5c performs a traveling determination of the model railway vehicle 3 in real time based on the acceleration α detected by the acceleration sensor 5a and the driving voltage V specified by the voltage specifying unit 5b. Specifically, based on the acceleration α, the transition of the state between the state where the vehicle 3 is stopped (stop state) and the state where the vehicle 3 is running (running state) is determined. There are the following two types of determination of the stop / run state transition. In the present embodiment, both types of determination are performed, but only one of them may be determined. One is a transition when the stopped vehicle 3 starts running (stop → run), and the other is a transition when the running vehicle 3 stops (run → stop). Further, the traveling determination unit 5c determines acceleration / deceleration during traveling of the model railway vehicle 3 based on the driving voltage V specified by the voltage specifying unit 5b regardless of the acceleration α.

図2は、走行判定部5cによる判定結果の一覧表である。判定結果としては、上述した「停止状態」および「走行状態」の2つに大別され、「走行状態」は、さらに、「惰行」、「加速」および「減速」の3つに細分化されている。まず、加速度α(絶対値)が所定のしきい値αthよりも小さい場合、すなわち、加速度αが定常範囲内の場合には、駆動電圧Vに関わりなく、「停止状態」と判定される。また、加速度α(絶対値)がしきい値αthを超えた値である場合、すなわち、加速度αが定常範囲外である場合には、「走行状態」と判定される。この場合、駆動電圧Vに変化がなければ、「惰行」、すなわち、速度がほぼ一定であると判定される。また、駆動電圧Vが上昇していれば「加速」と判定され、駆動電圧Vが下降していれば「減速」と判定される。   FIG. 2 is a list of determination results by the traveling determination unit 5c. The determination result is roughly divided into the above-mentioned "stop state" and "running state", and the "running state" is further subdivided into "coasting", "acceleration" and "deceleration". ing. First, when the acceleration α (absolute value) is smaller than a predetermined threshold value αth, that is, when the acceleration α is within a steady range, it is determined to be “stop state” regardless of the drive voltage V. If the acceleration α (absolute value) exceeds the threshold value αth, that is, if the acceleration α is outside the steady range, it is determined that the vehicle is in the “running state”. In this case, if there is no change in the drive voltage V, it is determined that "coasting", that is, the speed is substantially constant. If the drive voltage V is increasing, it is determined to be “acceleration”, and if the drive voltage V is decreasing, it is determined to be “deceleration”.

しきい値αthは、加速度αが定常範囲内/定常範囲外のいずれであるか、換言すれば、鉄道模型車両3が停止状態/走行状態のいずれであるかを判定するために用いられる。図3は、鉄道模型車両3の停止状態における加速度センサ5aの信号波形図である。同図において、元波形は、速度センサ5aの設置水平度に起因したオフセット誤差が存在するため、全体的にマイナス側にシフトしている。そこで、元波形に対して、オフセット除去、実効値計算、および、ローパスフィルタによる平滑化といった各種処理が施され、これによって、処理済波形が生成される。停止状態における処理済波形は、本来の加速度成分のみならず走行由来のノイズ成分も含まない0近傍の値、すなわち、定常範囲内として安定している。これに対して、図4に示すように、走行状態における処理済波形は、停止状態のそれとは異なり、加速度成分に由来して全体的に定常範囲内からシフトしており、かつ、高周波なノイズ成分の重畳によって振幅が大きく変動している。ノイズ成分となる外乱要因としては、車両3の走行に由来した振動、例えば、極低速時における動力車の不要な振動(カーノック)、レールの繋ぎ目(ジョイント)を通過する際に生じる車両の揺動、連結器(カプラー)のスプリングに由来した車両間における振動の増幅、加減速に伴う車両同士の突き上げや引き戻しなどが挙げられる。それ以外に、レールの汚れに起因した電気的な接触不良によって、モータMの回転数が急激に変動することも外乱要因となる。   The threshold value αth is used to determine whether the acceleration α is within the steady range or outside the steady range, in other words, whether the model railway vehicle 3 is in the stopped state or the running state. FIG. 3 is a signal waveform diagram of the acceleration sensor 5a when the model railway vehicle 3 is stopped. In the figure, the original waveform is shifted to the negative side as a whole due to the presence of an offset error due to the horizontal installation of the speed sensor 5a. Therefore, various processes such as offset removal, effective value calculation, and smoothing with a low-pass filter are performed on the original waveform, thereby generating a processed waveform. The processed waveform in the stopped state is stable as a value near 0 that does not include not only the original acceleration component but also the noise component derived from running, that is, within the steady range. On the other hand, as shown in FIG. 4, the processed waveform in the running state is different from that in the stopped state, and is entirely shifted from within the steady range due to the acceleration component. The amplitude fluctuates greatly due to the superposition of the components. Disturbance factors that become noise components include vibrations caused by the running of the vehicle 3, such as unnecessary vibrations of the motor vehicle at extremely low speeds (car knocks) and vehicle vibrations caused when passing through rail joints (joints). Dynamic, amplification of vibration between vehicles caused by a spring of a coupler, and pushing and pulling back of vehicles due to acceleration / deceleration. In addition, a sudden change in the number of revolutions of the motor M due to poor electrical contact due to contamination of the rail also causes disturbance.

以上のような停止状態/走行状態における波形の差異に着目して、停止状態の加速度αはそれ以内に必ず収まり、かつ、走行状態の加速度αはそれを必ず超えるようなしきい値αthを、実験やシミュレーションを通じて適切に設定すれば、停止状態(定常範囲内)および走行状態(しきい値αthを超えた定常範囲外)の切り分けが可能になる。具体的には、図5に示すように、加速度αが定常範囲内からしきい値αthを超える値に変化した場合、停止状態から走行状態に移行したものと判定される(スタート判定)。そして、この変化タイミングが、停止状態から走行状態に移行したタイミング、すなわち、スタートタイミングと判定される。一方、図6に示すように、加速度αがしきい値αthを超えた値から定常範囲内に変化した場合、走行状態から停止状態に移行したものと判定される(ストップ判定)。そして、この変化タイミングが、走行状態から停止状態に移行したタイミング、すなわち、ストップタイミングと判定される。   Focusing on the difference between the waveforms in the stop state / running state as described above, the threshold αth is set such that the acceleration α in the stop state always falls within the range, and the acceleration α in the run state always exceeds it. If it is set appropriately through simulations and simulations, it is possible to distinguish between a stopped state (within the steady range) and a running state (outside the steady range exceeding the threshold value αth). Specifically, as shown in FIG. 5, when the acceleration α changes from within the steady range to a value exceeding the threshold αth, it is determined that the vehicle has shifted from the stopped state to the running state (start determination). Then, this change timing is determined to be the timing when the vehicle has shifted from the stop state to the running state, that is, the start timing. On the other hand, as shown in FIG. 6, when the acceleration α changes from a value exceeding the threshold value αth into a steady range, it is determined that the vehicle has shifted from the running state to the stop state (stop determination). Then, the change timing is determined to be the timing when the running state is shifted to the stop state, that is, the stop timing.

また、走行判定部5cは、走行判定システム5が搭載されたユニット内またはその外部に設けられたサウンド再生部6に対して、挙動音の再生またはその切り替えを指示する指示信号を出力する。   Further, the traveling determination unit 5c outputs an instruction signal for instructing the reproduction of the behavior sound or the switching thereof to the sound reproducing unit 6 provided inside or outside the unit in which the traveling determination system 5 is mounted.

なお、走行判定部5cは、鉄道模型車両3に搭載されたマイコンとして実現することができるが、鉄道模型車両3の外部、例えば、パワーユニット4の一機能、または、パワーユニット4に接続されるマイコン搭載の周辺機器として実現してもよい。   Note that the traveling determination unit 5c can be realized as a microcomputer mounted on the model train 3, but is provided outside the model train 3, for example, a function of the power unit 4 or a microcomputer mounted on the power unit 4. May be realized as peripheral devices.

サウンド再生部6は、走行判定部5cからの指示信号に基づいて、鉄道模型車両3の挙動に応じた挙動音をリアルタイムで再生する。再生される挙動音は、鉄道模型車両3における車載スピーカ、パワーユニット4の近傍に配置された外部スピーカ、無線通信可能なスマートフォンの内蔵スピーカなどから出力される。   The sound reproduction unit 6 reproduces a behavior sound according to the behavior of the model railway vehicle 3 in real time based on the instruction signal from the traveling determination unit 5c. The reproduced behavior sound is output from an in-vehicle speaker in the model railway vehicle 3, an external speaker arranged near the power unit 4, a built-in speaker of a smartphone capable of wireless communication, and the like.

図7は、挙動音の車種別一覧表である。鉄道模型車両3の挙動音は、走行判定部5cの判定結果に対応して、「停止音、「加速音」、「惰行音」および「減速音」の4つが設定されている。ただし、それぞれの挙動音は車種によって大きく相違する(さらに言えば、同一車種でも、車両形式によって相違する。)。具体的には、電車(新型)の場合、挙動音は、主電動機の回転音(モータ音)と、送風機の定常的な音とを主体としており、走行時の速度に応じて、モータ音の音質(低周波音〜高周波音)が変化する。電車(旧型)の場合、挙動音は、釣り掛けモータの回転音(モータ音)と、風機の定常的な音とを主体としており、走行時の速度に応じて、モータ音の音質(低周波音〜高周波音)が変化する。ただし、電車(新型)とは異なり、惰行状態や減速状態ではモータ音は生じない。気動車の場合、挙動音は、ディーゼル機関の駆動音を主体としており、惰行状態や減速状態ではアイドル音となる。気動車固有の特徴としては、加速時の挙動音(加速音)として、低速時に再生される「変速段音」と、高速時に再生される「直結段音」との切り替えが挙げられる。蒸気機関車の場合、挙動音は、ドラフト音(車速に応じた音間隔の変化を含む。)を主体としており、惰行状態や減速状態では絶気音となる。なお、新型電気機関車は電車(新型)、旧型電気機関車は電車(旧型)、ディーゼル機関車は気動車にそれぞれ準じるものとする。   FIG. 7 is a list of behavior sounds by vehicle type. The behavior sound of the model railway vehicle 3 is set to four “stop sound,” “acceleration sound”, “coasting sound”, and “deceleration sound” in accordance with the determination result of the traveling determination unit 5c. However, the respective behavior sounds greatly differ depending on the vehicle type (further speaking, even the same vehicle type differs depending on the vehicle type). Specifically, in the case of a train (new type), the behavior sound mainly consists of the rotation sound of the main motor (motor sound) and the steady sound of the blower. The sound quality (low-frequency sound to high-frequency sound) changes. In the case of a train (old type), the behavior sound mainly consists of the rotation sound of a fishing motor (motor sound) and the steady sound of a wind turbine. (Wave sound to high frequency sound) changes. However, unlike a train (new model), no motor noise is generated in a coasting state or a deceleration state. In the case of a diesel vehicle, the behavior sound is mainly driven by a diesel engine, and becomes an idle sound in a coasting state or a deceleration state. As a characteristic feature of the railcar, there is a switching between a “shift speed sound” reproduced at a low speed and a “direct connection step sound” reproduced at a high speed as a behavior sound (acceleration sound) at the time of acceleration. In the case of a steam locomotive, the behavior sound is mainly a draft sound (including a change in a sound interval according to the vehicle speed), and becomes a stunning sound in a coasting state or a deceleration state. The new electric locomotive is based on a train (new type), the old electric locomotive is based on a train (old type), and the diesel locomotive is based on a diesel train.

鉄道模型車両3の速度に応じて挙動音を変える場合、走行判定部5cは、駆動電圧Vに基づいて、車両3の速度状態を予め定められた複数の速度領域のいずれかに分類する。具体的には、図8に示すように、現在の駆動電圧Vを少なくとも一つのしきい値Vth1,Vth2と比較することによって、車両3の走行状態が低速領域、中速領域、および高速領域のうちのいずれかに分類される。そして、分類された速度領域に応じて、挙動音を選択的に再生する指示信号がサウンド再生部6に出力される。   When changing the behavior sound according to the speed of the model railway vehicle 3, the traveling determination unit 5c classifies the speed state of the vehicle 3 into one of a plurality of predetermined speed regions based on the drive voltage V. Specifically, as shown in FIG. 8, by comparing the current drive voltage V with at least one threshold value Vth1 or Vth2, the traveling state of the vehicle 3 can be set in the low speed region, the medium speed region, and the high speed region. Classified as one of them. Then, an instruction signal for selectively reproducing the behavior sound is output to the sound reproduction unit 6 according to the classified speed region.

図9は、走行判定システム5による走行判定のタイミングチャートである。同図は、「速度」の推移から理解できるように、停止している鉄道模型車両3が、加速、惰行、再加速、減速、惰行、再減速といった時系列的な順序を経て、再び停止するケースを例示している。   FIG. 9 is a timing chart of travel determination by the travel determination system 5. In the figure, as can be understood from the transition of “speed”, the stopped model train 3 stops again through a time-series sequence of acceleration, coasting, re-acceleration, deceleration, coasting, and re-deceleration. It illustrates a case.

まず、タイミングt0において、駆動電圧Vが0Vから上昇し始める。しかしながら、車両3が即座に走り出すことはなく、駆動電圧Vがある程度上昇しない限り、車両3は停止したままであり、加速度αは定常範囲内となる。その結果、判定結果は「停止」となり、サウンド再生部6に対して停止音の再生が指示される。   First, at timing t0, the drive voltage V starts to rise from 0V. However, the vehicle 3 does not start running immediately, and as long as the drive voltage V does not rise to some extent, the vehicle 3 remains stopped, and the acceleration α is within the steady range. As a result, the determination result is “stop”, and the sound reproducing unit 6 is instructed to reproduce the stop sound.

つぎに、駆動電圧Vがある程度上昇したタイミングt1において、停止していた車両3が走り始める。これにより、加速度αは定常範囲内からしきい値αthを超えた値(定常範囲外)に変化し、それ以降、タイミングt7で車両3が停止するまで、しきい値αthを超えた状態が維持される。加速度αがしきい値αthを超えた場合、駆動電圧Vに基づいて、車両3の加減速、より具体的には、「加速」、「惰行」および「減速」のいずれかの走行状態が判定される。タイミングt1では、駆動電圧Vが上昇中であるから、判定結果は「加速」となり、サウンド再生部6に加速音の再生が指示される。すなわち、停止状態から走行状態(加速)に移行するタイミングt1は、上述したスタートタイミングに相当し、このスタートタイミングで、走行判定部5cからの指示信号に基づき、再生される挙動音が停止音から加速音に切り替わる。   Next, at the timing t1 when the drive voltage V increases to some extent, the stopped vehicle 3 starts running. Thereby, the acceleration α changes from within the steady range to a value exceeding the threshold αth (outside the steady range), and thereafter, the state in which the acceleration α exceeds the threshold αth is maintained until the vehicle 3 stops at the timing t7. Is done. When the acceleration α exceeds the threshold value αth, the acceleration / deceleration of the vehicle 3, more specifically, any one of “acceleration”, “coasting”, and “deceleration” is determined based on the drive voltage V. Is done. At the timing t1, since the drive voltage V is increasing, the determination result is "acceleration", and the sound reproducing unit 6 is instructed to reproduce the acceleration sound. That is, the timing t1 at which the vehicle shifts from the stop state to the running state (acceleration) corresponds to the above-described start timing. At this start timing, the behavior sound reproduced from the stop sound to the acceleration sound based on the instruction signal from the running determination unit 5c. Switch to

つぎに、タイミングt2において、上昇していた駆動電圧Vが一定となると、駆動電圧Vに基づく判定結果は「惰行」となり、サウンド再生部6に対して惰行音の再生が指示される。それ以降、駆動電圧Vに基づく判定結果は、判定期間t2〜t3で「惰行」、期間t3〜t4で「加速」、期間t4〜t5で「減速」、期間t5〜t6で「惰行」、期間t6〜t7で「減速」と推移し、それぞれの判定結果に応じた挙動音の再生が、惰行音、加速音、減速音、惰行音、減速音の順で指示される。その際、鉄道模型車両3の走行状態を予め設定された複数の速度領域のいずれかに分類し、分類された速度領域に応じて、挙動音を選択的に再生してもよいことは、上述したとおりである。   Next, when the increased drive voltage V becomes constant at the timing t2, the determination result based on the drive voltage V becomes "coasting", and the sound reproducing unit 6 is instructed to reproduce the coasting sound. Thereafter, the determination result based on the drive voltage V is “coasting” in the determination period t2 to t3, “acceleration” in the period t3 to t4, “deceleration” in the period t4 to t5, “coasting” in the period t5 to t6, and the period From t6 to t7, the speed changes to "deceleration", and the reproduction of the behavior sound according to each determination result is instructed in the order of the coasting sound, the acceleration sound, the deceleration sound, the coasting sound, and the deceleration sound. At that time, the running state of the model railway vehicle 3 may be classified into any of a plurality of preset speed regions, and the behavior sound may be selectively reproduced according to the classified speed regions. As you did.

そして、駆動電圧Vが十分に下降したタイミングt7において、走行していた車両3が停止する。これにより、加速度αはしきい値αthを超えた値(定常範囲外)から定常範囲内に変化する。その結果、判定結果は「停止」となり、サウンド再生部6に対して停止音の再生が指示される。すなわち、走行状態(減速)から停止状態に移行するタイミングt7は、上述したストップタイミングに相当し、このストップタイミングで、走行判定部5cからの指示信号に基づき、再生される挙動音が減速音から停止音に切り替わる。   Then, at timing t7 when the drive voltage V has sufficiently decreased, the running vehicle 3 stops. As a result, the acceleration α changes from a value exceeding the threshold value αth (outside the steady range) to within the steady range. As a result, the determination result is “stop”, and the sound reproducing unit 6 is instructed to reproduce the stop sound. That is, the timing t7 at which the vehicle shifts from the running state (deceleration) to the stop state corresponds to the above-described stop timing. At this stop timing, the behavior sound reproduced from the deceleration sound is changed based on the instruction signal from the running determination unit 5c. Switch to stop sound.

このように、本実施形態によれば、加速度αおよび駆動電圧Vを併用して、鉄道模型車両3の走行判定が行われる。すなわち、鉄道模型車両3における停止状態と走行状態との間の移行については、駆動電圧Vではなく、加速度αに基づいて判定される。駆動電圧Vは、モータMの入力に相当するから、走行由来の外乱要因とは無関係ではあるものの、極低速域における電圧対速度の特性のバラツキが顕著であるがゆえに、移行判定の指標には適さない。そこで、この移行判定については、定常範囲内であるか否かの切り分けが明確な加速度αが用いられる。一方、走行中の加減速については、加速度αではなく、駆動電圧Vに基づいて判定される。加速度αは、走行中において外乱要因の影響を大きく受けるため、走行中の加減速判定の指標には適さない。そこで、このような外乱要因とは無関係な駆動電圧Vが用いられる。このように、加速度αおよび駆動電圧Vの相互の欠点を補完することで、鉄道模型車両3の走行判定を精度良く行うことが可能になる。   As described above, according to the present embodiment, the travel determination of the model railway vehicle 3 is performed using the acceleration α and the drive voltage V together. That is, the transition between the stop state and the traveling state in the model railway vehicle 3 is determined based on the acceleration α instead of the driving voltage V. Since the drive voltage V is equivalent to the input of the motor M, it is not related to the disturbance factor due to traveling, but since the variation of the voltage-speed characteristic in the extremely low speed range is remarkable, the drive voltage V Not suitable. Therefore, in this transition determination, an acceleration α that clearly determines whether or not it is within the steady range is used. On the other hand, acceleration / deceleration during traveling is determined based on the driving voltage V, not the acceleration α. The acceleration α is greatly affected by disturbance factors during traveling, and is not suitable as an index for determining acceleration / deceleration during traveling. Therefore, a drive voltage V irrelevant to such a disturbance factor is used. As described above, by complementing the mutual disadvantages of the acceleration α and the drive voltage V, it is possible to accurately determine the traveling of the model railway vehicle 3.

また、本実施形態によれば、停止状態と走行状態との間の移行タイミング、具体的には、スタートタイミングやストップタイミングで、再生すべき挙動音の切り替えが行われる。これにより、移行タイミングと同期した挙動音の再生が可能になるため、鉄道模型としてのリアリティの向上を図ることができる。   Further, according to the present embodiment, the behavior sound to be reproduced is switched at the transition timing between the stop state and the running state, specifically, at the start timing or the stop timing. As a result, the behavior sound can be reproduced in synchronization with the transition timing, so that the reality as a railway model can be improved.

さらに、本実施形態によれば、駆動電圧Vをしきい値Vth1,Vth2と比較することによって、鉄道模型車両3の走行状態が複数の速度領域のいずれかに分類される。これにより、鉄道模型車両3の走行状態に応じたきめ細かな制御、例えば、速度に応じて挙動音を選択的に制御することが可能になる。   Furthermore, according to the present embodiment, by comparing the drive voltage V with the threshold values Vth1 and Vth2, the traveling state of the model railway vehicle 3 is classified into any of a plurality of speed regions. Thereby, it becomes possible to perform fine control according to the running state of the model railway vehicle 3, for example, to selectively control the behavior sound according to the speed.

なお、上述した実施形態では、走行判定部5cの判定結果に基づいて、挙動音の再生を制御する例について説明したが、本発明はこれに限定されるものではない。例えば、アクチュータ搭載の連結器(カプラー)を自動解放するために、極低速域における走行判定を行ってもよい。また、それ以外にも、走行判定部5cの判定結果に応じて、鉄道模型車両3の客用ドアをアクチュータで自動開閉する制御などに適用してもよい。   In the above-described embodiment, an example in which the reproduction of the behavior sound is controlled based on the determination result of the traveling determination unit 5c has been described, but the present invention is not limited to this. For example, in order to automatically release a coupler (coupler) equipped with an actuator, traveling determination in an extremely low speed range may be performed. In addition, the present invention may be applied to control for automatically opening and closing the customer door of the model railway vehicle 3 with an actuator according to the determination result of the traveling determination unit 5c.

さらに、本発明は、上述した実施形態に係る走行判定システム5をマイコンで等価的に実現するコンピュータ・プログラム(走行判定プログラム)として捉えることもできる。具体的には、この走行判定プログラムは、加速度センサ5aの検知信号を取得するステップと、駆動電圧Vを取得するステップと、加速度αに基づいて、停止状態および走行状態の間の移行を判定すると共に、駆動電圧Vに基づいて、走行中の加減速を判定するステップとを有する処理をコンピュータに実行させる。それぞれのステップの詳細は、上述した実施形態で述べたとおりである。   Further, the present invention can be regarded as a computer program (running determination program) that implements the running determination system 5 according to the above-described embodiment equivalently by a microcomputer. Specifically, the traveling determination program determines a transition between a stop state and a traveling state based on the acceleration α and the step of acquiring the detection signal of the acceleration sensor 5a, the step of acquiring the drive voltage V, and the like. And a step of determining acceleration / deceleration during traveling based on the driving voltage V. Details of each step are as described in the above embodiment.

1 鉄道模型走行システム
2 レール
3 鉄道模型車両
4 パワーユニット
5 走行判定システム
5a 加速度センサ
5b 電圧特定部
5c 走行判定部
6 サウンド再生部
REFERENCE SIGNS LIST 1 model railway traveling system 2 rail 3 model railway vehicle 4 power unit 5 traveling determination system 5 a acceleration sensor 5 b voltage specifying unit 5 c traveling determination unit 6 sound reproduction unit

Claims (12)

鉄道模型車両の走行判定システムにおいて、
前記鉄道模型車両に搭載された加速度センサと、
前記加速度センサの検知信号に基づいて、前記鉄道模型車両が停止している停止状態と、前記鉄道模型車両が走行している走行状態との間の移行を判定すると共に、前記鉄道模型車両の走行用モータを駆動する駆動電圧の電圧値に基づいて、前記鉄道模型車両の走行中の加減速を判定する走行判定部と
を有することを特徴とする鉄道模型車両の走行判定システム。
In the running judgment system of a model railway vehicle,
An acceleration sensor mounted on the model railway vehicle,
Based on the detection signal of the acceleration sensor, a transition between a stopped state in which the model railway vehicle is stopped and a traveling state in which the model railway vehicle is traveling is determined, and the traveling of the model railway vehicle is determined. A travel determination unit that determines acceleration / deceleration during travel of the model railway vehicle based on a voltage value of a drive voltage that drives a motor for use in a railway model vehicle.
前記走行判定部は、前記加速度センサの検知信号が定常範囲内から所定のしきい値を超えた値に変化した場合、前記停止状態から前記走行状態に移行したと判定することを特徴とする請求項1に記載された鉄道模型車両の走行判定システム。   The travel determination unit determines that the vehicle has transitioned from the stop state to the travel state when the detection signal of the acceleration sensor changes from within a steady range to a value exceeding a predetermined threshold. Item 3. The running determination system for a model railway vehicle according to item 1. 前記走行判定部は、前記停止状態から前記走行状態に移行したタイミングで、前記鉄道模型車両の挙動に応じて再生される挙動音を、停止音から加速音に切り替える指示信号を出力することを特徴とする請求項2に記載された鉄道模型車両の走行判定システム。   The travel determination unit outputs an instruction signal for switching a behavior sound reproduced according to the behavior of the model railway vehicle from a stop sound to an acceleration sound at a timing when the vehicle is shifted from the stop state to the travel state. The running determination system for a model railway vehicle according to claim 2. 前記走行判定部は、前記加速度センサの検知信号が所定のしきい値を超えた値から定常範囲内に変化した場合、前記走行状態から前記停止状態に移行したと判定することを特徴とする請求項1に記載された鉄道模型車両の走行判定システム。   The travel determining unit determines that the vehicle has shifted from the travel state to the stop state when the detection signal of the acceleration sensor changes from a value exceeding a predetermined threshold to within a steady range. Item 3. The running determination system for a model railway vehicle according to item 1. 前記走行判定部は、前記走行状態から前記停止状態に移行したタイミングで、前記鉄道模型車両の挙動に応じて再生される挙動音を、減速音から停止音に切り替える指示信号を出力することを特徴とする請求項4に記載された鉄道模型車両の走行判定システム。   The traveling determination unit outputs an instruction signal for switching a behavior sound reproduced according to the behavior of the model railway vehicle from a deceleration sound to a stop sound at a timing when the traveling state is shifted to the stop state. The running determination system for a model railway vehicle according to claim 4. 前記走行判定部は、前記駆動電圧の電圧値を少なくとも一つの所定のしきい値と比較することによって、前記鉄道模型車両の走行状態を予め設定された複数の速度領域のいずれかに分類し、前記分類された速度領域に応じて、前記挙動音を選択的に再生する指示信号を出力することを特徴とする請求項3または5に記載された鉄道模型車両の走行判定システム。 The traveling determination unit, by comparing the voltage value of the drive voltage with at least one predetermined threshold value, classifies the traveling state of the model railway vehicle into one of a plurality of preset speed regions, 6. The system according to claim 3, wherein an instruction signal for selectively reproducing the behavior sound is output according to the classified speed region. 鉄道模型車両の走行判定プログラムにおいて、
前記鉄道模型車両に搭載された加速度センサの検知信号を取得する第1のステップと、
前記鉄道模型車両の走行用モータを駆動する駆動電圧の電圧値を取得する第2のステップと、
前記加速度センサの検知信号に基づいて、前記鉄道模型車両が停止している停止状態と、前記鉄道模型車両が走行している走行状態との間の移行を判定すると共に、前記駆動電圧の電圧値に基づいて、前記鉄道模型車両の走行中の加減速を判定する第3のステップと
を有する処理をコンピュータに実行させることを特徴とする鉄道模型車両の走行判定プログラム。
In the running judgment program of the model railway vehicle,
A first step of obtaining a detection signal of an acceleration sensor mounted on the model railway vehicle;
A second step of acquiring a voltage value of a drive voltage for driving a traveling motor of the model railway vehicle;
Based on the detection signal of the acceleration sensor, a transition between a stopped state in which the model railway vehicle is stopped and a traveling state in which the model railway vehicle is traveling is determined, and the voltage value of the driving voltage is determined. And a third step of determining acceleration / deceleration during running of the model railway vehicle based on the computer program.
前記第3のステップは、前記加速度センサの検知信号が定常範囲内からしきい値を超えた値に変化した場合、前記停止状態から前記走行状態に移行したと判定することを特徴とする請求項7に記載された鉄道模型車両の走行判定プログラム。 The said 3rd step WHEREIN: When the detection signal of the said acceleration sensor changes from the inside of a steady range to the value exceeding the threshold value, it determines with having changed into the said driving | running state from the said stop state, A running determination program for the model railway vehicle described in 7. 前記停止状態から前記走行状態に移行したタイミングで、前記鉄道模型車両の挙動に応じて再生される挙動音を、停止音から加速音に切り替える指示信号を出力する第4のステップをさらに有することを特徴とする請求項8に記載された鉄道模型車両の走行判定プログラム。   A fourth step of outputting an instruction signal for switching a behavior sound reproduced according to the behavior of the model railway vehicle from a stop sound to an acceleration sound at a timing when the vehicle is shifted from the stop state to the traveling state. The running determination program for a model railway vehicle according to claim 8. 前記第3のステップは、前記加速度センサの検知信号が所定のしきい値を超えた値から定常範囲内に変化した場合、前記走行状態から前記停止状態に移行したと判定することを特徴とする請求項7に記載された鉄道模型車両の走行判定プログラム。   The third step is characterized in that when the detection signal of the acceleration sensor changes from a value exceeding a predetermined threshold value to within a steady range, it is determined that the traveling state has shifted to the stop state. A running determination program for a model railway vehicle according to claim 7. 前記走行状態から前記停止状態に移行したタイミングで、前記鉄道模型車両の挙動に応じて再生される挙動音を、減速音から停止音に切り替える指示信号を出力する第5のステップをさらに有することを特徴とする請求項10に記載された鉄道模型車両の走行判定プログラム。   A fifth step of outputting an instruction signal for switching a behavior sound reproduced according to the behavior of the model railway vehicle from a deceleration sound to a stop sound at a timing when the traveling state is shifted to the stop state. The running determination program for a model railway vehicle according to claim 10. 前記駆動電圧の電圧値を少なくとも一つの所定のしきい値と比較することによって、前記鉄道模型車両の走行状態を予め設定された複数の速度領域のいずれかに分類し、前記分類された速度領域に応じて、前記挙動音を選択的に再生する指示信号を出力する第6のステップをさらに有することを特徴とする請求項9または11に記載された鉄道模型車両の走行判定プログラムBy comparing the voltage value of the drive voltage with at least one predetermined threshold value, the running state of the model railway vehicle is classified into one of a plurality of speed regions set in advance, and the classified speed region 12. The program according to claim 9, further comprising a sixth step of outputting an instruction signal for selectively reproducing the behavior sound in response to the command.
JP2019153315A 2019-08-25 2019-08-25 Running judgment system of model railway vehicle and its running judgment program Active JP6638112B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019153315A JP6638112B1 (en) 2019-08-25 2019-08-25 Running judgment system of model railway vehicle and its running judgment program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019153315A JP6638112B1 (en) 2019-08-25 2019-08-25 Running judgment system of model railway vehicle and its running judgment program

Publications (2)

Publication Number Publication Date
JP6638112B1 true JP6638112B1 (en) 2020-01-29
JP2021029621A JP2021029621A (en) 2021-03-01

Family

ID=69183718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019153315A Active JP6638112B1 (en) 2019-08-25 2019-08-25 Running judgment system of model railway vehicle and its running judgment program

Country Status (1)

Country Link
JP (1) JP6638112B1 (en)

Also Published As

Publication number Publication date
JP2021029621A (en) 2021-03-01

Similar Documents

Publication Publication Date Title
JP5779526B2 (en) Electric vehicle control device
CN103895567A (en) Method and device for sound simulation and sound production of electric vehicle
CN102602333A (en) Multi-mode pedestrian safety sound warning system for electric vehicle
JP2014039451A (en) Vibration reduction device and method for power train of electric vehicle
KR102126668B1 (en) Apparatus and method for controlling virtual engine sound in responding to autocruise speed settings
CN105291970A (en) Method for controlling an extended-range electric vehicle including an electronic sound enhancement system
JP2005292785A (en) Onboard audio system and signal processing method therefor
JP5573766B2 (en) Vehicle approach warning device
CN114274871B (en) A method for controlling the tone of electric vehicles based on motor vibration
CN105257412A (en) Pedal opening degree signal treating method and device
WO2014184828A1 (en) Vehicle approach alert device
JP4656045B2 (en) Notification device
JP6638112B1 (en) Running judgment system of model railway vehicle and its running judgment program
JP2020010945A (en) Railway model sound unit and railway model vehicle
JP5659989B2 (en) Vehicle approach notification device
JPH1127810A (en) Electric vehicle
JP2015076961A (en) Electric vehicle
CN104290607B (en) A kind of driver of auxiliary adapts to the method to pure electric vehicle control for brake
JP5678877B2 (en) Vehicle approach notification device
CN118579048B (en) A hybrid power mode switching control method, device and system
CN205871866U (en) A audio playback system and electric automobile for electric automobile
JP2012166662A (en) Travel sound amplifying device, travel sound amplifying method and program
JP6730057B2 (en) Electric vehicle control device
JP4944284B1 (en) Acoustic device and output sound control method
CN114212093B (en) A safe driving monitoring method, system and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190910

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20190910

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20191023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191029

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191031

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191223

R150 Certificate of patent or registration of utility model

Ref document number: 6638112

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250