JP2019176353A - Electronic apparatus - Google Patents

Electronic apparatus Download PDF

Info

Publication number
JP2019176353A
JP2019176353A JP2018063377A JP2018063377A JP2019176353A JP 2019176353 A JP2019176353 A JP 2019176353A JP 2018063377 A JP2018063377 A JP 2018063377A JP 2018063377 A JP2018063377 A JP 2018063377A JP 2019176353 A JP2019176353 A JP 2019176353A
Authority
JP
Japan
Prior art keywords
information
potentiometer
electronic device
control parameter
stored
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.)
Pending
Application number
JP2018063377A
Other languages
Japanese (ja)
Inventor
雅之 栗原
Masayuki Kurihara
雅之 栗原
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.)
Onkyo Corp
Original Assignee
Onkyo 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 Onkyo Corp filed Critical Onkyo Corp
Priority to JP2018063377A priority Critical patent/JP2019176353A/en
Publication of JP2019176353A publication Critical patent/JP2019176353A/en
Pending legal-status Critical Current

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

To provide an electronic apparatus capable of maintaining a state before an error operation even when a potentiometer is operated in improper.SOLUTION: An electronic apparatus includes: an acquisition part that acquires information in regards to an output value of a potentiometer; and a first information storage part that stores information in regards to the output value acquired by the acquisition part as first information. After the first information is stored in the first information storage part, the acquisition part acquires the information in regards to the output value of the potentiometer as second information, compares the first information with the second information. If there is a difference, the second information is stored into a control parameter storage part as a control parameter of the electronic apparatus.SELECTED DRAWING: Figure 5

Description

本発明は、ポテンショメータを有する電子機器に関する。   The present invention relates to an electronic device having a potentiometer.

耳の遠い高齢者等の聴力を補助するために、図1に示すようなポケットタイプの集音器がある。集音器(電子機器)1は、集音器本体2とイヤホンマイク10で構成されている。集音器本体2は電源スイッチ6、電源ランプ3、ジャック4、モード切り替えボタン8、モードランプ7、ボリューム9、クリップ5を有している。またイヤホンマイク10はイヤホン11、集音マイク12、プラグ13を有している。プラグ13をジャック4に接続して使用する。   There is a pocket type sound collector as shown in FIG. 1 in order to assist hearing ability of an elderly person who is far from the ear. A sound collector (electronic device) 1 includes a sound collector body 2 and an earphone microphone 10. The sound collector body 2 includes a power switch 6, a power lamp 3, a jack 4, a mode switching button 8, a mode lamp 7, a volume 9, and a clip 5. The earphone microphone 10 includes an earphone 11, a sound collecting microphone 12, and a plug 13. The plug 13 is connected to the jack 4 for use.

イヤホン11に内蔵された集音マイク12で、周囲の音を集音し、集音器本体2に内蔵されている増幅器で増幅し、イヤホン11で再生する。集音マイク12は2つのイヤホン11にそれぞれ配設され、2チャンネルステレオで集音し、2チャンネルステレオで再生することができる。再生される音量はボリューム9で調整される。   A surrounding sound is collected by a sound collecting microphone 12 built in the earphone 11, amplified by an amplifier built in the sound collector main body 2, and reproduced by the earphone 11. The sound collecting microphones 12 are respectively disposed on the two earphones 11, and can collect sound in two-channel stereo and reproduce it in two-channel stereo. The volume to be reproduced is adjusted with the volume 9.

集音器1は単に音量を増加させて聴力を補うだけではなく、再生音の周波数特性を調整して、より聞き取りやすい音にすることもできる。モード切り替えボタン8によって、例えば会話用、テレビ視聴用、電話用など、再生音をそれぞれの用途に適した周波数特性に調整することが可能である。ユーザーはどのモードが選択されているかを、モードランプ7の発光色で確認することができる。ユーザーは集音器本体2を、クリップ5によって、胸ポケットなどに固定して使用することができる。   The sound collector 1 can not only simply increase the volume to supplement the hearing ability, but also adjust the frequency characteristics of the reproduced sound to make it easier to hear. With the mode switching button 8, it is possible to adjust the reproduced sound to a frequency characteristic suitable for each application, for example, for conversation, for watching TV, or for telephone. The user can confirm which mode is selected by the emission color of the mode lamp 7. The user can use the sound collector main body 2 while being fixed to a breast pocket or the like by the clip 5.

図2は、集音器本体2の裏面を示す図である。集音器本体2を駆動する電池16は、電池ボックス17に収納される。電池ボックス17の内部には、再生音量の左右バランスを調整する左右バランス調整つまみ15が配置されている。左右バランス調整つまみ15は、円盤状のサムホイールを有している。左右バランス調整つまみ15はポテンショメータ(図示せず)に接続されていている。電池ボックス17は電池蓋14によって閉じられる。   FIG. 2 is a view showing the back surface of the sound collector main body 2. A battery 16 that drives the sound collector main body 2 is housed in a battery box 17. Inside the battery box 17, a left / right balance adjustment knob 15 for adjusting the left / right balance of the reproduction volume is arranged. The left / right balance adjustment knob 15 has a disc-shaped thumb wheel. The left / right balance adjustment knob 15 is connected to a potentiometer (not shown). The battery box 17 is closed by the battery lid 14.

図3の様に、左右バランス調整つまみ15には、どのようなバランスに設定されているかを容易に視認できるように、サムホイールに「右」、「左」等の表示がされている。   As shown in FIG. 3, the right and left balance adjustment knob 15 displays “right”, “left”, and the like on the thumb wheel so that it can be easily seen what balance is set.

ボリューム9は、周囲の騒音レベルなどに合わせて調整されることが多いため、使用中にも容易に調整できるように集音器本体2の外部に配置されている。これに対し左右バランス調整つまみ15は、一度調整すれば、頻繁に調整することは少ない。使用中に誤って触れて回してしまうことを防止するために、左右バランス調整つまみ15は、電池ボックス17の内部に配置されている。使用時は、電池蓋14は閉じられるので、左右バランス調整つまみ15には触れることはできない。   Since the volume 9 is often adjusted according to the ambient noise level and the like, it is arranged outside the sound collector main body 2 so that it can be easily adjusted even during use. On the other hand, the left / right balance adjustment knob 15 is rarely adjusted once it is adjusted. In order to prevent accidental touching and turning during use, the left / right balance adjustment knob 15 is disposed inside the battery box 17. When in use, the battery lid 14 is closed, so the left / right balance adjustment knob 15 cannot be touched.

しかし、ユーザーが電池16の交換を行う際、誤って左右バランス調整つまみ15に触れて、気付かずに回してしまうことがある。ユーザーは操作した認識がないため、片方の音が出ない、または片方の音が小さくなったことを、故障と誤解することがあった。   However, when the user replaces the battery 16, the user may accidentally touch the left / right balance adjustment knob 15 and rotate it without realizing it. Since the user did not recognize the operation, there was a case that one of the sounds did not come out or that one of the sounds was reduced to be a malfunction.

誤って回さないようにするためには、左右バランス調整つまみ15を、図3の様なサムホイールの代わりに、調整用ドライバーによって回すことができる半固定抵抗器にする方法がある。しかし、集音器の主なユーザーである高齢者にとって、半固定抵抗器の小さなネジを回す作業は困難を伴うことが多かった。   In order to prevent accidental rotation, there is a method in which the left / right balance adjustment knob 15 is a semi-fixed resistor that can be rotated by an adjusting screwdriver instead of the thumbwheel as shown in FIG. However, for the elderly who are the main users of the sound collector, the work of turning the small screw of the semi-fixed resistor was often difficult.

またポテンショメータの代わりにロータリーエンコーダに用いる場合がある。電池16が外されている状態、即ち電源が供給されていない状態では、ロータリーエンコーダは信号出力しないので、誤って左右バランス調整つまみ15に触れても出力バランス設定値は変わらない。しかし、電池16の交換作業中に、電池16が外されていない状態で、左右バランス調整つまみ15に触れてしまった場合は、上述の様な問題が生じる。   In some cases, a rotary encoder is used instead of a potentiometer. When the battery 16 is removed, that is, when power is not supplied, the rotary encoder does not output a signal, so that the output balance setting value does not change even if the left / right balance adjustment knob 15 is touched by mistake. However, if the left and right balance adjustment knob 15 is touched while the battery 16 is not removed during the battery 16 replacement operation, the above-described problem occurs.

さらにロータリーエンコーダは、回転角度に関する情報を出力するだけなので、左右バランスがどの状態に設定されているかを、サムホイールの表示によって視認することができない。そのため、例えば左右バランスの中点に設定されているときはランプ表示や表示装置(液晶表示装置や、有機EL表示装置)で報知を行う方法があるが、コストアップの要因となる。また、音で中点に設定されていることを報知する方法は、コストアップ要因にはなり難いが、ランプ表示や表示装置を設ける場合よりも、中点であることが分かり難いという問題もある。   Furthermore, since the rotary encoder only outputs information on the rotation angle, it is impossible to visually recognize the state in which the left / right balance is set by displaying the thumbwheel. For this reason, for example, when the middle point of the left / right balance is set, there is a method of performing notification using a lamp display or a display device (a liquid crystal display device or an organic EL display device), but this causes an increase in cost. In addition, the method of notifying that the midpoint is set by sound is unlikely to cause a cost increase, but there is also a problem that it is difficult to identify the midpoint as compared with the case where a lamp display or a display device is provided. .

なお、特許文献1には、可変抵抗を用いて回転角度を検出し、検出した回転角度を記憶する技術が開示されている。   Patent Document 1 discloses a technique for detecting a rotation angle using a variable resistor and storing the detected rotation angle.

特開平5−283957号公報JP-A-5-283957

上述のように、ユーザーが気付かないうちにポテンショメータを誤操作した時、その出力が変化した状態を故障と誤解する恐れがある、という課題があった。   As described above, there is a problem that when the potentiometer is erroneously operated without the user's knowledge, the state in which the output changes may be mistaken for a failure.

本発明はこのような課題に鑑みなされたものであり、ポテンショメータを誤操作した場合でも、誤操作前の状態を維持できる電子機器を提供するものである。   This invention is made in view of such a subject, and provides the electronic device which can maintain the state before an erroneous operation, even when a potentiometer is operated incorrectly.

本発明の電子機器は、ポテンショメータの出力値に関する情報を取得する取得部と、 前記取得部が取得した前記出力値に関する情報を第1情報として記憶する第1情報記憶部と、を、有し、前記第1情報を前記第1情報記憶部に記憶した後、前記取得部は前記ポテンショメータの出力値に関する情報を第2情報として取得し、前記第1情報と前記第2情報とを比較し、差異がある場合、前記第2情報を、電子機器の制御パラメータとして制御パラメータ記憶部に記憶することを特徴とする。   The electronic device of the present invention has an acquisition unit that acquires information about an output value of a potentiometer, and a first information storage unit that stores information about the output value acquired by the acquisition unit as first information, After storing the first information in the first information storage unit, the acquisition unit acquires information on the output value of the potentiometer as second information, compares the first information with the second information, If there is, the second information is stored in a control parameter storage unit as a control parameter of the electronic device.

本発明によれば、ポテンショメータを誤操作した場合でも、誤操作前の状態を維持できる。   According to the present invention, even when the potentiometer is erroneously operated, the state before the erroneous operation can be maintained.

本発明の実施形態に係る電子機器の外観を示す図である。It is a figure which shows the external appearance of the electronic device which concerns on embodiment of this invention. 本発明の実施形態に係る電子機器の外観を示す図である。It is a figure which shows the external appearance of the electronic device which concerns on embodiment of this invention. 本発明の実施形態に係る電子機器の外観を示す図である。It is a figure which shows the external appearance of the electronic device which concerns on embodiment of this invention. 本発明の実施形態に係る電子機器のブロック図である。It is a block diagram of the electronic device which concerns on embodiment of this invention. 本発明の実施形態に係る電子機器のフローチャートである。It is a flowchart of the electronic device which concerns on embodiment of this invention. 本発明の実施形態に係る電子機器のフローチャートである。It is a flowchart of the electronic device which concerns on embodiment of this invention.

以下、本発明の実施形態について説明する。なお以下の説明では、集音器を例にとって説明するがこれに限るものではなく、例えば携帯音楽端末のような携帯電子機器で、ポテンショメータによる調節手段を備えている電子機器も本発明を適用することが可能である。また、携帯電子機器以外でもポテンショメータによる調節手段を備えていれば同様に適用可能である。また、ポテンショメータによる調節は、左右の音量バランスに限らず、音量調節や、表示装置の明るさ調整、などにも適用可能である。さらに、ポテンショメータを調節するつまみは、電池ボックスの中に配置されていなくてもよく、電子機器の外面に配置されていても良い。   Hereinafter, embodiments of the present invention will be described. In the following description, the sound collector will be described as an example. However, the present invention is not limited to this. For example, the present invention is also applied to a portable electronic device such as a portable music terminal and equipped with a potentiometer adjusting means. It is possible. Further, the present invention can be similarly applied to devices other than portable electronic devices as long as they are provided with adjusting means using a potentiometer. The adjustment by the potentiometer is not limited to the left / right volume balance, but can be applied to volume adjustment, brightness adjustment of a display device, and the like. Furthermore, the knob for adjusting the potentiometer may not be disposed in the battery box, and may be disposed on the outer surface of the electronic device.

本発明の実施形態に係る集音器(電子機器)の外観、及び集音器としての機能は、背景技術で説明した図1〜図3と同様である。図4は本発明の実施形態に係る集音器1の回路構成を示すブロック図である。集音器1は、イヤホン11に配置された集音マイク12によって集音された2チャンネルの音声信号を、増幅、周波数特性調整、及び左右バランス調整し、イヤホン11から再生する。図4は、この増幅、周波数特性調整、左右バランス調整を行う部分のブロック図である。   The appearance of the sound collector (electronic device) according to the embodiment of the present invention and the function as the sound collector are the same as those in FIGS. 1 to 3 described in the background art. FIG. 4 is a block diagram showing a circuit configuration of the sound collector 1 according to the embodiment of the present invention. The sound collector 1 amplifies, adjusts frequency characteristics, and adjusts left / right balance, and reproduces the sound signals from the two channels collected by the sound collecting microphone 12 disposed in the earphone 11 from the earphone 11. FIG. 4 is a block diagram of a portion for performing this amplification, frequency characteristic adjustment, and left / right balance adjustment.

図4の回路は、マイクロコントローラユニット(以下MCUと記す)23、デジタルシグナルプロセッサ(以下DSPと記す)20、ポテンショメータ26、増幅器21、及び22から構成されている。MCU23は、不揮発メモリ25とRAM(Random Access Memory)24を有しており、不揮発メモリ25に記憶された制御プログラムによって、集音器1全体を制御する。RAM24はMCU23の主メモリとして機能する。   The circuit shown in FIG. 4 includes a microcontroller unit (hereinafter referred to as MCU) 23, a digital signal processor (hereinafter referred to as DSP) 20, a potentiometer 26, and amplifiers 21 and 22. The MCU 23 has a nonvolatile memory 25 and a RAM (Random Access Memory) 24, and controls the entire sound collector 1 by a control program stored in the nonvolatile memory 25. The RAM 24 functions as a main memory for the MCU 23.

集音マイク12によって集音された音声信号は、DSP20の入力部(図示せず)に入力され、DSP20によって、音量調整、周波数特性調整、及び左右バランス調整が行われる。DSP20の左チャンネル出力はLch OUT端子から出力され、増幅器21で増幅され、L OUTから出力され、この出力が左側のイヤホン11に接続される。同様に右チャンネル出力はRch OUT端子から出力され、増幅器22で増幅され、R OUTの出力が右側のイヤホン11に接続される。   The audio signal collected by the sound collecting microphone 12 is input to an input unit (not shown) of the DSP 20, and volume adjustment, frequency characteristic adjustment, and left / right balance adjustment are performed by the DSP 20. The left channel output of the DSP 20 is output from the Lch OUT terminal, amplified by the amplifier 21, and output from L OUT, and this output is connected to the left earphone 11. Similarly, the right channel output is output from the Rch OUT terminal, amplified by the amplifier 22, and the output of R OUT is connected to the right earphone 11.

DSP20は、不揮発メモリ25に記憶された制御プログラムに基づいて、MCU23によって制御される。MCU23とDSP20との間の通信は、SPIやI2C等の制御信号によって行う。音量調整は、図示していないがボリューム9の出力値をMCU23に入力し、A/D変換した後、MCU23から制御信号をDSP20に送ることによって行われる。また、周波数特性調整も、図示していないがモード切り替えボタン8の出力信号をMCU23に入力し、モード切り替えボタン8によって選択された周波数特性になる様に、DSP20を制御する。   The DSP 20 is controlled by the MCU 23 based on a control program stored in the nonvolatile memory 25. Communication between the MCU 23 and the DSP 20 is performed by a control signal such as SPI or I2C. Although not shown, the volume adjustment is performed by inputting the output value of the volume 9 to the MCU 23, performing A / D conversion, and then sending a control signal from the MCU 23 to the DSP 20. Further, although not shown, the output signal of the mode switching button 8 is input to the MCU 23, and the DSP 20 is controlled so that the frequency characteristics are adjusted to the frequency characteristic selected by the mode switching button 8.

左右のチャンネルの出力バランスは、DSP20によって信号を調整して、上述のLch OUT、及びRch OUTから出力する。左右バランス調整は、ポテンショメータ26の出力に基づく。ポテンショメータ26は、固定された電源VCCとGNDに接続されている。ポテンショメータ26に接続された左右バランス調整つまみ15を回すことにより、出力される電位が変化する。なお、ポテンショメータ26は、異なる2つの固定電位の間に接続されていればよいので、片方がGNDである必要はない。また、ポテンショメータ26は、つまみを回転させるロータリーポテンショメータに限るものではなく、つまみをスライドさせるリニアポテンショメータでも良い。   The output balance of the left and right channels is adjusted by the DSP 20 and output from the above-mentioned Lch OUT and Rch OUT. The left / right balance adjustment is based on the output of the potentiometer 26. The potentiometer 26 is connected to fixed power supplies VCC and GND. By turning the left / right balance adjustment knob 15 connected to the potentiometer 26, the output potential changes. Note that the potentiometer 26 only needs to be connected between two different fixed potentials, and therefore one of the potentiometers 26 does not have to be GND. The potentiometer 26 is not limited to a rotary potentiometer that rotates the knob, and may be a linear potentiometer that slides the knob.

ポテンショメータ26の出力電位である分圧値は、MCU23の、ADC(アナログ/デジタルコンバータ)入力端子に入力される。入力されたポテンショメータ26の出力値はA/D変換され、そのA/D変換値は、RAM24に記憶される。記憶されたA/D変換値に基づいて、後述の図5のフローチャートによって決定される出力バランス設定値が、DSP20を制御して左右のバランス調整を決定する。   A divided voltage value that is an output potential of the potentiometer 26 is input to an ADC (analog / digital converter) input terminal of the MCU 23. The input output value of the potentiometer 26 is A / D converted, and the A / D converted value is stored in the RAM 24. Based on the stored A / D conversion value, the output balance setting value determined by the flowchart of FIG. 5 described later controls the DSP 20 to determine the left and right balance adjustment.

左右バランス調整を決定する具体的な動作を、図5のフローチャートを参照して説明する。集音器1は工場出荷時に、左右出力バランスが左右均等になる様に設定された、上述の出力バランス設定値が不揮発メモリ25に記憶されている。また、ポテンショメータ26もサムホイールの表示が左右均等、即ち中央になる位置にセットされている。ユーザーは電池16を挿入後、電池蓋14を閉めて電源スイッチ6をONにする(S1)。MCU23は不揮発メモリ25に記憶されている工場出荷時の出力バランス設定値を読み取る(S2)。最初に集音器1のイヤホン11から出力される音声は、工場出荷時の出力バランス設定値(制御パラメータ)に基づき左右均等のバランスとなる。   A specific operation for determining the left / right balance adjustment will be described with reference to the flowchart of FIG. When the sound collector 1 is shipped from the factory, the output balance setting value set so that the left / right output balance is equal to the left / right is stored in the nonvolatile memory 25. The potentiometer 26 is also set at a position where the display of the thumbwheel is equal to the left and right, that is, the center. After inserting the battery 16, the user closes the battery cover 14 and turns on the power switch 6 (S1). The MCU 23 reads the factory output balance value stored in the nonvolatile memory 25 (S2). The sound that is first output from the earphone 11 of the sound collector 1 has a left-right equal balance based on the output balance setting value (control parameter) at the time of shipment from the factory.

次に、ポテンショメータ26の出力である分圧値がMCU23に入力され、A/D変換したA/D変換値を読み取り、A/D変換記憶値としてRAM24(第1情報記憶部)に記憶される(S3)。この記憶したA/D変換記憶値が、A/D変換値の初期値になる。続いてさらにA/D変換値を読み取る(S4)。読み取ったA/D変換値(第2情報)と、RAM24に記憶されているA/D変換記憶値(第1情報)とを比較する(S5)。両者が一致した場合は変化がないと判断して(S5:No)、A/D変換値読み取り(S4)に戻る。   Next, the partial pressure value, which is the output of the potentiometer 26, is input to the MCU 23, the A / D converted A / D converted value is read, and stored in the RAM 24 (first information storage unit) as the A / D converted stored value. (S3). The stored A / D conversion stored value becomes the initial value of the A / D conversion value. Subsequently, the A / D conversion value is further read (S4). The read A / D conversion value (second information) is compared with the A / D conversion storage value (first information) stored in the RAM 24 (S5). If they match, it is determined that there is no change (S5: No), and the process returns to A / D conversion value reading (S4).

読み取ったA/D変換値と、RAM24に記憶されているA/D変換記憶値とが異なる場合は、A/D変換値に変化があったと判断する(S5:Yes)。A/D変換値に変化があるということは、ポテンショメータ26が何らかの理由で回され、その出力の分圧値が変化したことを意味する。   If the read A / D conversion value is different from the A / D conversion stored value stored in the RAM 24, it is determined that the A / D conversion value has changed (S5: Yes). A change in the A / D conversion value means that the potentiometer 26 has been turned for some reason, and the output partial pressure value has changed.

A/D変換値に変化があった場合(S5:Yes)、その時のA/D変換値をRAM24にA/D変換記憶値として記憶する(S6)。更にA/D変換値を読み取る(S7)。S6ステップで記憶したA/D変換記憶値と、S7ステップで読み取ったA/D変換値が同じ場合は、S6からS7のステップの間、ポテンショメータ26は操作されなかったと判断できる(S8:No)。S8ステップでA/D変換値に変化がない(S8:No)と判断した後、所定の時間、A/D変換値に変化がないか判断する(S9)。A/D変換値の読み取りは所定の時間間隔、例えば10m秒間隔で行われるので、所定の回数読み取り、例えば100回から300回読み取りを行い、この間、読み取ったA/D変換値に変化なければ、所定の時間、A/D変換値に変化がなかったと判断できる。変化がないと判断した場合(S9:Yes)は、その時に記憶されているA/D変換記憶値を、不揮発メモリ25(制御パラメータ記憶部)に記憶されている出力バランス設定値に上書きする(S10)。イヤホンからの再生音声の左右バランスは、この上書きされた出力バランス設定値が反映される。   When there is a change in the A / D conversion value (S5: Yes), the A / D conversion value at that time is stored in the RAM 24 as an A / D conversion storage value (S6). Further, the A / D conversion value is read (S7). If the A / D conversion stored value stored in step S6 is the same as the A / D conversion value read in step S7, it can be determined that the potentiometer 26 was not operated during steps S6 to S7 (S8: No). . After determining that there is no change in the A / D conversion value in step S8 (S8: No), it is determined whether there is no change in the A / D conversion value for a predetermined time (S9). Since the reading of the A / D conversion value is performed at a predetermined time interval, for example, at an interval of 10 milliseconds, the predetermined number of readings are performed, for example, 100 to 300 times are read. It can be determined that the A / D conversion value has not changed for a predetermined time. When it is determined that there is no change (S9: Yes), the A / D conversion stored value stored at that time is overwritten with the output balance set value stored in the nonvolatile memory 25 (control parameter storage unit) ( S10). The overwritten output balance setting value is reflected in the left / right balance of the reproduced sound from the earphone.

所定の時間後のA/D変換値に変化があった場合(S9:No)は、S7にもどり、所定時間内にA/D変換値が変化しなくなるまでS7からS9のステップを繰り返す。この間、A/D変換値に変化が生じた場合(S8:Yes)は、S6ステップに戻る。   If there is a change in the A / D conversion value after a predetermined time (S9: No), the process returns to S7, and steps S7 to S9 are repeated until the A / D conversion value does not change within the predetermined time. During this time, if a change occurs in the A / D conversion value (S8: Yes), the process returns to step S6.

図5のフローチャートは、電源がオフになるまで進み続ける。電源スイッチ6をオフ、または電池16が抜き取られるなどして、電源がオフになり、その後再度電源がオンになった場合は、ステップS1から再開される。   The flowchart of FIG. 5 continues until the power is turned off. If the power is turned off by turning off the power switch 6 or the battery 16 is removed, and then turned on again, the process is restarted from step S1.

ユーザーが電源スイッチ6をOFFにしないで、電池蓋14をあけ、電池16の交換作業を行うことを考える。電池16を外す際、ユーザーは気付かずに左右バランス調整つまみ15を回してしまったとする。左右バランス調整つまみ15を回すことによって、ポテンショメータ26の出力の分圧値が変化し、MCU23で読み取ったA/D変換値(S4)も変化する(S5:Yes)。しかし、電池16はすぐに取り外されるはずなので、所定時間にA/D変換値の変化を判定するS9のステップに到達する前に、電源が落ちる。そのため誤操作によって変わったA/D変換値は、出力バランス設定値に上書き(S10)されることはない。従って、新しい電池16を挿入し、電池蓋14を閉め、電源スイッチ6をONにした後は、電池交換前に不揮発メモリ25に記憶されていた、出力バランス設定値に基づき、左右の出力バランスが決定される。そのため、電池16取り外し時に、誤操作を行っても、左右の出力バランスが変わって、ユーザーが故障と誤解することを防止できる。   Consider that the user opens the battery lid 14 and replaces the battery 16 without turning off the power switch 6. It is assumed that the user has turned the left / right balance adjustment knob 15 without noticing when removing the battery 16. By turning the left / right balance adjustment knob 15, the partial pressure value of the output of the potentiometer 26 changes, and the A / D conversion value (S4) read by the MCU 23 also changes (S5: Yes). However, since the battery 16 should be removed immediately, the power is turned off before reaching the step of S9 for determining a change in the A / D conversion value at a predetermined time. Therefore, the A / D conversion value changed by an erroneous operation is not overwritten on the output balance setting value (S10). Therefore, after inserting a new battery 16, closing the battery cover 14, and turning on the power switch 6, the left and right output balances are determined based on the output balance setting values stored in the nonvolatile memory 25 before battery replacement. It is determined. Therefore, even if an incorrect operation is performed when the battery 16 is removed, it is possible to prevent the right and left output balance from changing and the user from mistaking it as a failure.

また、電源スイッチ6が機械的なスイッチで、電池16挿入時に電源がONになってしまう場合も、図5のフローチャートはステップS1から開始される。電池取り外し時に誤操作を行っても、不揮発メモリ25に記憶された前回使用時の出力バランス設定値に基づき、左右バランスは決定されるため、同様にユーザーが故障と誤解することを防止できる。   Also, when the power switch 6 is a mechanical switch and the power is turned on when the battery 16 is inserted, the flowchart of FIG. 5 is started from step S1. Even if an erroneous operation is performed when the battery is removed, the left / right balance is determined based on the output balance setting value stored in the nonvolatile memory 25 during the previous use, and thus it is possible to prevent the user from misinterpreting it as a failure.

上述の所定の時間は任意に設定可能であるが、通常数秒程度である。あまり長い時間に設定すると、左右バランス調整のレスポンスが悪くなり、使いにくくなる恐れがあるため、1〜3秒程度に設定されることが好ましい。   The above-mentioned predetermined time can be arbitrarily set, but is usually about several seconds. If the time is set too long, the response of the left / right balance adjustment is deteriorated and may be difficult to use. Therefore, it is preferably set to about 1 to 3 seconds.

次にユーザーが、電源スイッチ6をOFFにしてから、電池交換作業を行うことを考える。電源スイッチ6をOFFにすることにより、ポテンショメータ26の出力のA/D変換値は取得できなくなるので、左右バランス調整つまみ15を誤って回してしまっても、不揮発メモリ25に記憶されている出力バランス設定値は変化しない。電池16を挿入し、電池蓋14を閉じて、電源スイッチ6をONにすることによって、不揮発メモリ25に記憶されている出力バランス設定値の読み取り(S2)から始まるので、電池交換前と同じ左右バランスで音声が出力される。従って、ユーザーが故障と誤解することを防止できる。   Next, consider that the user performs battery replacement work after turning off the power switch 6. Since the A / D conversion value of the output of the potentiometer 26 cannot be obtained by turning off the power switch 6, even if the left / right balance adjustment knob 15 is accidentally turned, the output balance stored in the non-volatile memory 25 is not obtained. The set value does not change. Since the battery 16 is inserted, the battery cover 14 is closed, and the power switch 6 is turned on, the output balance setting value stored in the nonvolatile memory 25 is read (S2). Sound is output in balance. Therefore, it can prevent that a user misunderstands that it is a failure.

上述の実施形態は、左右バランス調整つまみ15が、電池ボックス17内に配置されているとして説明したが、これに限るものではない。左右バランス調整つまみ15が、電池ボックス17近傍に配置されている場合や、離れていても電池交換の際に誤って触れやすい場所に配置されている場合も、本発明は有効である。   In the above-described embodiment, the left / right balance adjustment knob 15 has been described as being disposed in the battery box 17, but is not limited thereto. The present invention is also effective when the left / right balance adjustment knob 15 is disposed in the vicinity of the battery box 17 or when the left / right balance adjustment knob 15 is disposed at a place where the left / right balance adjustment knob 15 is easily touched by mistake when replacing the battery.

(変形例)
上述のフローチャートでは、電池交換時に、ユーザーが意識していない誤操作によってポテンショメータ26が回されても、出力バランス設定値は影響を受けない。しかし、ポテンショメータ26のサムホイールには、図3の様に左右のバランス調整状態が表示されている。左右バランス調整は頻繁に行うことはないので、多くの場合問題ないが、ユーザーによっては、サムホイールの表示と、実際の左右バランスが大きく異なると、違和感を持つ場合がある。
(Modification)
In the above-described flowchart, even when the potentiometer 26 is turned by an erroneous operation that the user is not aware of when replacing the battery, the output balance setting value is not affected. However, the left and right balance adjustment states are displayed on the thumb wheel of the potentiometer 26 as shown in FIG. Since the left / right balance adjustment is not frequently performed, there is no problem in many cases. However, depending on the user, there may be a sense of incongruity when the display of the thumbwheel and the actual left / right balance differ greatly.

図6は変形例の動作を示すフローチャートである。既に説明した図5のフローチャートのS3ステップとS4ステップとの間に、S11ステップを追加している。ポテンショメータ26の出力である分圧値を読み取り(S3)、この値と不揮発メモリ25に記憶されている出力バランス設定値とを比較する(S11)。これらの間の差異が、所定の値以上の場合(S11:No)は、ポテンショメータ26のサムホイールの表示が、実際の左右の出力バランスと大きく乖離していると判断できる。所定の範囲は任意に設定可能であるが、例えばサムホイールの角度で45度程度に相当する値である。   FIG. 6 is a flowchart showing the operation of the modification. An S11 step is added between the steps S3 and S4 in the flowchart of FIG. 5 already described. The partial pressure value, which is the output of the potentiometer 26, is read (S3), and this value is compared with the output balance setting value stored in the nonvolatile memory 25 (S11). If the difference between them is equal to or greater than a predetermined value (S11: No), it can be determined that the display of the thumb wheel of the potentiometer 26 is significantly different from the actual left and right output balance. The predetermined range can be arbitrarily set, and is a value corresponding to, for example, about 45 degrees in the angle of the thumb wheel.

出力バランス設定値とA/D変換記憶値との差異が所定の値より大きい場合(S11:No)は、S3に戻り、乖離が所定の範囲内になるまでS11の判定が繰り返される。差異が所定の範囲内の場合(S11:Yes)は、S4に進む。以下は図5と同様である。   When the difference between the output balance set value and the A / D conversion stored value is larger than the predetermined value (S11: No), the process returns to S3, and the determination of S11 is repeated until the deviation falls within the predetermined range. When the difference is within the predetermined range (S11: Yes), the process proceeds to S4. The following is the same as FIG.

ユーザーは、サムホイールの表示が、実際の左右出力バランスと大きく異なっている場合は、その差を縮めるようにサムホイールを回す。差異が所定の範囲内に到達するまで、S11とS3のステップが繰り返され、所定の範囲内に収まった時のA/D変換記憶値が、その後のA/D変換値の変化判定(S5)の基準となる。これにより、サムホイールの表示と、実際の左右バランスの乖離を小さくすることができる。   If the thumbwheel display is significantly different from the actual left / right output balance, the user turns the thumbwheel to reduce the difference. Steps S11 and S3 are repeated until the difference reaches the predetermined range, and the A / D conversion stored value when the difference falls within the predetermined range is determined as the subsequent change in the A / D conversion value (S5). It becomes the standard. Thereby, the difference between the display of the thumb wheel and the actual left / right balance can be reduced.

本発明は、上述した実施形態に限られるものではなく、特許請求の範囲及び明細書全体から読み取れる発明の要旨或いは思想に反しない範囲で適宜変更可能であり、そのような変更を伴う電子機器もまた本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the gist or concept of the invention that can be read from the claims and the entire specification. It is also included in the technical scope of the present invention.

本発明は、ポテンショメータを有する電子機器に好適に採用され得る。
The present invention can be suitably employed in an electronic device having a potentiometer.

1…集音器(電子機器)
2…集音器本体
3…電源ランプ
4…ジャック
5…クリップ
6…電源スイッチ
7…モードランプ
8…モード切り替えボタン
9…ボリューム
10…イヤホンマイク
11…イヤホン
12…集音マイク
13…プラグ
14…電池蓋
15…左右バランス調整つまみ
16…電池
17…電池ボックス
20…デジタルシグナルプロセッサ(DSP)
21、22…増幅器
23…マイクロコントローラユニット(MCU)
24…RAM
25…不揮発性メモリ
26…ポテンショメータ
1 ... Sound collector (electronic equipment)
2 ... Sound collector body 3 ... Power lamp 4 ... Jack 5 ... Clip 6 ... Power switch 7 ... Mode lamp 8 ... Mode switch button 9 ... Volume 10 ... Earphone microphone 11 ... Earphone 12 ... Sound collecting microphone 13 ... Plug 14 ... Battery Lid 15 ... Left / right balance adjustment knob 16 ... Battery 17 ... Battery box 20 ... Digital signal processor (DSP)
21, 22 ... Amplifier 23 ... Microcontroller unit (MCU)
24 ... RAM
25 ... Nonvolatile memory 26 ... Potentiometer

Claims (9)

ポテンショメータの出力値に関する情報を取得する取得部と、
前記取得部が取得した前記出力値に関する情報を第1情報として記憶する第1情報記憶部と、
を、有し、
前記第1情報を前記第1情報記憶部に記憶した後、前記取得部は前記ポテンショメータの出力値に関する情報を第2情報として取得し、前記第1情報と前記第2情報とを比較し、差異がある場合、前記第2情報を、電子機器の制御パラメータとして制御パラメータ記憶部に記憶することを特徴とする電子機器。
An acquisition unit for acquiring information about the output value of the potentiometer;
A first information storage unit that stores information about the output value acquired by the acquisition unit as first information;
And having
After storing the first information in the first information storage unit, the acquisition unit acquires information on the output value of the potentiometer as second information, compares the first information with the second information, If there is, the second information is stored in a control parameter storage unit as a control parameter of the electronic device.
前記第1情報と前記第2情報とを比較し、差異がない場合、前記取得部は前記ポテンショメータの出力値に関する情報を前記第2情報として取得することを特徴とする請求項1記載の電子機器。   2. The electronic apparatus according to claim 1, wherein when the first information is compared with the second information and there is no difference, the acquisition unit acquires information on an output value of the potentiometer as the second information. . 前記第1情報と前記第2情報とを比較し、差異がある場合、前記第2情報が所定の時間変化しないことを条件に、前記2情報を、前記制御パラメータとして前記制御パラメータ記憶部に記憶することを特徴とする請求項1記載の電子機器。   The first information and the second information are compared, and if there is a difference, the two information is stored in the control parameter storage unit as the control parameter on condition that the second information does not change for a predetermined time. The electronic device according to claim 1, wherein: 初回電源投入時に、前記制御パラメータ記憶部に前記制御パラメータの初期値が記憶されていることを特徴とする請求項1記載の電子機器。   The electronic device according to claim 1, wherein an initial value of the control parameter is stored in the control parameter storage unit when the power is turned on for the first time. 前記ポテンショメータを操作する操作部には、前記ポテンショメータの前記出力値に対応する表示を有する表示部を有することを特徴とする請求項1記載の電子機器。   The electronic device according to claim 1, wherein the operation unit for operating the potentiometer includes a display unit having a display corresponding to the output value of the potentiometer. 記憶された前記制御パラメータと前記取得部が取得した前記第1情報との差異が、所定の範囲内にあることを条件に、前記第2情報の取得を行うことを特徴とする請求項1記載の電子機器。   The second information is acquired on condition that a difference between the stored control parameter and the first information acquired by the acquiring unit is within a predetermined range. Electronic equipment. 前記ポテンショメータを操作する操作部は、前記電子機器を駆動する電池の近傍に配置されていることを特徴とする請求項1記載の電子機器。   The electronic device according to claim 1, wherein the operation unit that operates the potentiometer is disposed in the vicinity of a battery that drives the electronic device. 前記ポテンショメータを操作する操作部は、前記電子機器を駆動する電池を収納する電池ボックス内に配置されていることを特徴とする請求項1記載の電子機器。   The electronic device according to claim 1, wherein the operation unit that operates the potentiometer is disposed in a battery box that houses a battery that drives the electronic device. ポテンショメータを有する電子機器の制御方法であって、
前記ポテンショメータの出力値に関する情報を取得し第1情報として第1情報記憶部に記憶するステップと、
前記第1情報記憶部に記憶するステップの後、前記ポテンショメータの出力値に関する情報を第2情報として取得するステップと、
前記第1情報と前記第2情報とを比較するステップと、
前記比較するステップの結果、前記第1情報と前記第2情報とに差異がある場合、前記第2情報を、電子機器の制御パラメータとして制御パラメータ記憶部に記憶するステップと、
を、有することを特徴とする電子機器の制御方法。
A method for controlling an electronic device having a potentiometer,
Acquiring information related to the output value of the potentiometer and storing the information as first information in a first information storage unit;
After the step of storing in the first information storage unit, obtaining information on the output value of the potentiometer as second information;
Comparing the first information and the second information;
If there is a difference between the first information and the second information as a result of the comparing step, storing the second information in a control parameter storage unit as a control parameter of the electronic device;
A method for controlling an electronic device, comprising:
JP2018063377A 2018-03-29 2018-03-29 Electronic apparatus Pending JP2019176353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018063377A JP2019176353A (en) 2018-03-29 2018-03-29 Electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018063377A JP2019176353A (en) 2018-03-29 2018-03-29 Electronic apparatus

Publications (1)

Publication Number Publication Date
JP2019176353A true JP2019176353A (en) 2019-10-10

Family

ID=68169800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018063377A Pending JP2019176353A (en) 2018-03-29 2018-03-29 Electronic apparatus

Country Status (1)

Country Link
JP (1) JP2019176353A (en)

Similar Documents

Publication Publication Date Title
US8682002B2 (en) Systems and methods for transducer calibration and tuning
US9232322B2 (en) Hearing aid devices with reduced background and feedback noises
EP2487930B1 (en) Sound signal output apparatus and sound signal output method
US9779714B2 (en) Active noise control arrangement, active noise control headphone and calibration method
US8315406B2 (en) Music reproducing system and information processing method
CN105262452A (en) Method and apparatus for adjusting volume, and terminal
US20100142719A1 (en) Acoustic apparatus and method of controlling an acoustic apparatus
JP2019176353A (en) Electronic apparatus
JP2007097087A (en) Volume control device
US10128806B2 (en) Method of controlling an audio amplifier unit and audio amplifier unit
JP2012084949A (en) Acoustic characteristics correction device
KR20060095983A (en) Audio accessory optimization system
US9888310B2 (en) Audio equipment
JP2010167912A (en) Onboard audio device
KR20070053986A (en) An audio volume control apparatus and a player with the audio volume control apparatus
US8842862B2 (en) Hearing aid device with user-controlled automatic adjusting means
JP4404043B2 (en) Hearing aid and hearing aid adjustment device
JP4322866B2 (en) Hearing aid and hearing aid processing system
JP2014202808A (en) Input/output device
KR20070056709A (en) Apparatus and method for compensating of ear phone output according to ear phone impedence
JP2018084843A (en) Input/output device
WO2005096732A2 (en) Hearing aid software system
US20230362528A1 (en) Hearing dose recording systems; hearing dose recording headphones
US20210058703A1 (en) Method for Controlling a Sound Output of a Hearing Device
JP6773876B2 (en) Input / output device