JP2014171175A - Electronic apparatus - Google Patents
Electronic apparatus Download PDFInfo
- Publication number
- JP2014171175A JP2014171175A JP2013043016A JP2013043016A JP2014171175A JP 2014171175 A JP2014171175 A JP 2014171175A JP 2013043016 A JP2013043016 A JP 2013043016A JP 2013043016 A JP2013043016 A JP 2013043016A JP 2014171175 A JP2014171175 A JP 2014171175A
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- audio
- unit
- sound
- plug
- 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
Links
Images
Landscapes
- Headphones And Earphones (AREA)
- Telephone Function (AREA)
Abstract
【課題】簡単な構成でプラグ部を識別する。
【解決手段】電子機器は、ジャック部の第2端子から音声信号を入力する音声入力端子と、第1端子と接続される音声出力端子とを有する制御部を、備える。この制御部は、プラグ部の装着が検出されたとき、予め定めた音声を表す音声信号を音声出力端子から出力する所定音声出力手段と、所定音声出力手段により音声信号が出力されるとき、音声入力端子から入力する音声信号と、予め定めた音声を表す音声信号とを比較する比較手段と、比較の結果に基づき、装着されているプラグ部の種類を判定する判定手段と、を有する。
【選択図】図3A plug unit is identified with a simple configuration.
An electronic apparatus includes a control unit having an audio input terminal for inputting an audio signal from a second terminal of the jack unit and an audio output terminal connected to the first terminal. The control unit is configured to output a sound signal representing a predetermined sound from the sound output terminal when the attachment of the plug unit is detected, and a sound signal when the sound signal is output by the sound output unit. Comparing means for comparing a sound signal input from the input terminal with a sound signal representing a predetermined sound, and a determining means for determining the type of the plug portion mounted based on the comparison result.
[Selection] Figure 3
Description
本発明は、装着されるプラグの種類を識別する電子機器に関する。 The present invention relates to an electronic device that identifies the type of plug to be attached.
イヤホンなどのプラグを機器本体にジャックなどのイヤホン接続部に差し込んで使用する場合に、挿入されたプラグを識別する方法が、特許文献1(特開2008−301068号公報)、特許文献2(特開平11−162574号公報)および特許文献3(特開2009−194890号公報)に提案されている。 When a plug such as an earphone is inserted into an equipment main body and connected to an earphone connection portion such as a jack, a method for identifying the inserted plug is disclosed in Patent Document 1 (Japanese Patent Laid-Open No. 2008-310688) and Patent Document 2 (Japanese Patent Application Laid-Open No. 2008-301068). No. 11-162574) and Patent Document 3 (Japanese Unexamined Patent Application Publication No. 2009-194890).
特許文献1では、マイク端子の電圧変化を検出して、接続されたのがイヤホンなのかイヤホンマイクなのかを判別する。また、特許文献2では、電位の比較回路の比較結果に応じてスイッチを切り換えて適正な出力回路に接続する。また、特許文献3では、各ラインのインピーダンスを電圧値に変換し、電圧閾値の比較結果に基づき、オーディオコーデックとの接続および信号の入出力レベルを切り替える。
In
図6は、従来のマイク付きステレオイヤホンの4極プラグの外観を模式的に示す図である。図6(A)と(B)に示すように、プラグのピンアサインに対しての統一規格は無く、プラグ先端から軸が延びる根基の方向に(L)(R)(G)(M)の順でピンアサインされた種類(以下、Aタイプと称する)と、(L)(R)(M)(G)にピンアサインされた種類(以下、Bタイプと称する)の2種類が主流となっている。なお、(L)は左チャネル、(R)は右チャネル、(M)はマイクチャネル、および(G)が接地チャネルの各端子を示し、端子間は、絶縁体で電気的に分離されている。 FIG. 6 is a diagram schematically showing the external appearance of a four-pole plug of a conventional stereo earphone with a microphone. As shown in FIGS. 6 (A) and (B), there is no unified standard for the pin assignment of the plug, and (L) (R) (G) (M) There are two main types: the types assigned in order (hereinafter referred to as A type) and the types assigned to (L), (R), (M), and (G) (hereinafter referred to as B type). ing. (L) indicates the left channel, (R) indicates the right channel, (M) indicates the microphone channel, and (G) indicates each terminal of the ground channel. The terminals are electrically separated by an insulator. .
したがって、プラグが挿入される本体機器側のジャックがAタイプ用であれば、Aタイプのプラグを有するマイク付きステレオイヤホンを使用する必要があり、本体機器側のジャックがBタイプ用であれば、Bタイプのプラグを有するマイク付きステレオイヤホンを使用しなければならない。本体機器側のジャックとタイプの違うプラグを有したマイク付きステレオイヤホンを使用した場合には、イヤホンからは正常なレベルの音声が発生せず、また正確なマイク信号が発生しない。 Therefore, if the main device side jack into which the plug is inserted is for the A type, it is necessary to use a stereo earphone with a microphone having an A type plug, and if the main device side jack is for the B type, A stereo earphone with a microphone with a B-type plug must be used. When a stereo earphone with a microphone having a plug of a type different from that of the jack on the main device side is used, a normal level sound is not generated from the earphone, and an accurate microphone signal is not generated.
上記の特許文献1〜3で提案された方式を応用すれば、イヤホンが挿入された際の電圧変化を測定し自動的に回路接続を切り替える機能の実現は可能であるが、電位を比較するための回路ブロックを別途必要とするため、スマートフォン等のモバイル機器へ搭載した場合には、小型化が阻害される。
By applying the methods proposed in
それゆえに本発明の目的は、簡単な構成でプラグ部を識別する電子機器を提供することである。 Therefore, an object of the present invention is to provide an electronic device that identifies a plug portion with a simple configuration.
この発明のある局面に従えば、オーディオ機器のプラグ部が着脱可能に装着されるジャック部を備える電子機器が提供される。 According to an aspect of the present invention, an electronic device including a jack portion to which a plug portion of an audio device is detachably attached is provided.
プラグ部は、端子が配置される第1位置および第2位置を有し、この第1位置にはイヤホン端子が配置され、且つ第2位置には当該プラグ部の種類に応じてマイク端子と、イヤホン端子からの音声信号を導出する導出端子とのいずれか一方が配置される。 The plug portion has a first position and a second position where the terminal is disposed, an earphone terminal is disposed at the first position, and a microphone terminal is disposed at the second position according to the type of the plug portion, Either one of the derivation terminal for deriving the audio signal from the earphone terminal is arranged.
ジャック部は、装着されたプラグ部の第1位置のイヤホン端子が接続される第1端子と、第2位置の端子が接続される第2端子とを有する。 The jack portion has a first terminal to which the earphone terminal at the first position of the attached plug portion is connected, and a second terminal to which the terminal at the second position is connected.
電子機器は、ジャック部の第2端子から音声信号を入力する音声入力端子と、第1端子と接続される音声出力端子とを有する制御部を、備える。この制御部は、プラグ部の装着が検出されたとき、予め定めた音声を表す音声信号を音声出力端子から出力する所定音声出力手段と、所定音声出力手段により音声信号が出力されるとき、音声入力端子から入力する音声信号と、予め定めた音声を表す音声信号とを比較する比較手段と、比較の結果に基づき、装着されているプラグ部の種類を判定する判定手段と、を有する。 The electronic device includes a control unit having an audio input terminal for inputting an audio signal from the second terminal of the jack unit and an audio output terminal connected to the first terminal. The control unit is configured to output a sound signal representing a predetermined sound from the sound output terminal when the attachment of the plug unit is detected, and to output a sound signal when the sound signal is output from the sound output unit. Comparing means for comparing a sound signal input from the input terminal with a sound signal representing a predetermined sound, and a determining means for determining the type of the plug portion mounted based on the comparison result.
本発明によれば、音声入力端子から入力する音声信号と、予め定めた音声を表す音声信号とを比較した結果に基づき、装着されているプラグ部の種類を判定することにより、簡単な構成でプラグ部を識別する。 According to the present invention, a simple configuration is achieved by determining the type of the plug part that is attached based on the result of comparing the audio signal input from the audio input terminal and the audio signal representing the predetermined audio. Identify the plug part.
本発明の実施の形態について図面を参照しながら詳細に説明する。なお、各図中同一または相当部分には同一符号を付してその説明は繰返さない。 Embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and description thereof will not be repeated.
本実施の形態では、プラグ部の種類(タイプともいう)識別機能を有する電子機器として、マイク付きイヤホンのプラグ部が着脱可能に挿入されるジャック部を有したスマートフォンを例示するが、これに限定されない。たとえば、Personal Digital Assistant(以下、PDAと称する)、タブレット端末、携帯電話などを含む携帯型の端末、および音声録音再生機器など、または携帯型に限定されない据え置き型の端末であってもよい。 In the present embodiment, the electronic device having the function of identifying the type (also referred to as type) of the plug portion is exemplified by a smartphone having a jack portion into which the plug portion of the earphone with microphone is detachably inserted. Not. For example, it may be a personal digital assistant (hereinafter referred to as PDA), a portable terminal including a tablet terminal, a mobile phone, and a voice recording / playback device, or a stationary terminal that is not limited to a portable terminal.
また、プラグ部を有する機器としてマイク付きイヤホンを例示したが、これに限定されず、電子機器のジャック部に着脱可能に装着されるプラグ部を有して、これを用いて電子機器との間で音声を入出力するためのオーディオ機器全般に適用することができる。 In addition, the microphone-equipped earphone is exemplified as the device having the plug portion. However, the present invention is not limited to this, and the device has a plug portion that is detachably attached to the jack portion of the electronic device. It can be applied to all audio equipment for inputting / outputting sound.
(外観)
図1には、本実施の形態に係るスマートフォン300の外観が示される。図1を参照して、スマートフォン300は筐体を備え、筐体の主表面には表示部113、音声を収音するためのマイク50、音声を送出するためのスピーカ51、および電源ボタンなどを含む各種キーからなる操作部4を含む。また、筐体の側面には、後述のメモリカード108を着脱可能に挿入するためのメモリカード挿入部90、およびマイク付きステレオイヤホン54のプラグ部55が着脱可能に装着されるイヤホンジャック部53を含む。
(appearance)
FIG. 1 shows the appearance of
表示部113は、Liquid Crystal Display(以下、LCDと称する)とタッチパネルとを一体的に備えて、ユーザは表示される情報に従ってタッチパネルを操作することにより、指示を入力することができる。
The
マイク付きステレオイヤホン54は、ケーブルの一方端において耳に装着されるイヤホン53Lと53Rを有し、他方端においてプラグ部55を有し、さらにケーブルの途中にマイク52を有する。マイク付きステレオイヤホン54の使用時には、ユーザの耳に装着されたイヤホン53Lおよび53Rから音声が出力されて、マイク52によりユーザの発話による音声等が収音される。なお、マイク付きステレオイヤホン54に代替してマイク付きヘッドホンを用いてもよい。
The stereo earphone with
本実施の形態では、説明を簡単にするために、音声の入出力は、マイク50およびスピーカ51ではなく、マイク付きステレオイヤホン54を用いてなされる場合を想定する。
In the present embodiment, in order to simplify the explanation, it is assumed that audio input / output is performed using the
(ハードウェア構成)
図2には、スマートフォン300のハードウェア構成が示される。スマートフォン300は、Central Processing Unit(以下、CPUと称する)からなるプロセッサである主制御部100、Random Access Memory(以下、RAMと称する)、Read Only Memory(以下、ROMと称する)および不揮発性のメモリからなる記憶部102、操作部4からのキー操作を受け付けて、受け付けた操作に基づいた指示(情報)を出力するキー入力部103、表示部113のタッチパネルを介した操作を受け付けて、受け付けた操作に基づいた指示(情報)を出力する操作受付部111、スピーカ51またはイヤホンジャック部53に音声信号を出力する音声出力部104、および外部メモリInterface(以下、I/Fと称する)部107を含む。外部I/F部107は、メモリカード108が着脱可能に装着されて、装着されたメモリカード108のデータをアクセス(読み書き)するためのドライバ回路などを含む。
(Hardware configuration)
FIG. 2 shows a hardware configuration of the
スマートフォン300はさらに、表示部113のLCDの表示動作を制御するドライバ回路などの表示制御部110、マイク50または52に対応の音声入力部112、ネットワークを介した通信を制御するための変調・復調回路などを含む通信部114、各部に電力を供給する電池などの電源部115、および時間を計るタイマ116を含む。
The
(イヤホンジャック部の接続切り替え)
図3は、本実施の形態に係るイヤホンジャック部53における端子の接続切り替えを説明する図である。図3(A)には、イヤホンジャック部53の周辺回路であって、イヤホンジャック部53の端子とプラグ部55の端子(チャンネル)との接続切り替えに関連する回路が示される。関連する周辺回路として、主制御部100、コーデック部201、切替部202、および切替部202を制御するための切替制御部203が示される。主制御部100のCPUは、コーデック部201および切替制御部203を制御する。ここでは、説明のために、主制御部100とコーデック部201と切替制御部203とは個別に備えたが、主制御部100はコーデック部201と切替制御部203の機能を一体的に備えて制御部として提供されてもよい。
(Earphone jack connection switching)
FIG. 3 is a diagram for explaining connection switching of terminals in the
ここで図6を参照して、4極式のプラグ部55は、軸の先端方向から根基方向に向かって端子が配置される第1位置、第2位置および第3位置を有する。この第1位置にはイヤホン端子に相当する左チャネル(L),右チャネル(R)が配置される。一方、第2位置には当該プラグ部55がAタイプ・Bタイプのいずれであるかに応じてマイクチャネル(M)と、イヤホン端子からの音声信号を接地側に導出する導出端子に相当のグランドチャネル(G)とのいずれか一方が配置される。
Here, referring to FIG. 6, quadrupole plug
イヤホンジャック部53は、4極式のプラグ部55がイヤホンジャック部53の図示しない穴に挿入されて装着されたときイヤホン端子の左チャネル(L),右チャネル(R)と接続される第1の端子に相当する端子531,532、および端子533,534を有する。端子533,534の一方は第2の端子に相当し、他方は第3の端子に相当する。端子533と534は、挿入されるプラグ部55がAタイプであればマイクチャネル(M)とグランドチャネル(G)にそれぞれ接続され、Bタイプであればグランドチャネル(G)とマイクチャネル(M)にそれぞれ接続される。
The
切替部202は、後述の端子Micと接続されて、接続された端子Micに音声信号を出力するための接点(端子)M、接地電位(GND)に接続される接点(端子)G、ならびにイヤホンジャック部53の端子533および534のそれぞれに接続される接点(端子)G´とM´を有する。
The switching unit 202 is connected to a terminal Mic described later, a contact (terminal) M for outputting a sound signal to the connected terminal Mic, a contact (terminal) G connected to the ground potential (GND), and an earphone. Contacts (terminals) G ′ and M ′ connected to the
コーデック部201は、音声信号の処理回路ブロックである。具体的には、切替部202の接点Mと接続されて、接点Mから音声信号を入力するための端子Mic、イヤホンジャック部53の端子531と532のそれぞれに接続されてイヤホンジャック部53へ音声信号を出力するための端子ORとOL、およびグランド(接地電位)に接続された端子GNDを備える。さらに、主制御部100からのデジタルデータを音声信号に変換して端子ORとOLを介し出力する復号化回路(図示せず)、および端子Micを介し入力する音声信号をデジタルデータに変換して主制御部100に出力する符号化回路(図示せず)を有する。
The
動作において、切替制御部203は、主制御部100から指示信号207を入力する毎に、指示信号207に基づき制御信号208を生成し内部レジスタ回路(図示せず)に記憶する。レジスタ回路の制御信号208は切替部202に出力される。制御信号208は、たとえば “High”と“Low”の2値レベルを示す。主制御部100から新たな指示信号207が出力されるまで、レジスタ回路の制御信号208は直前の指示信号207によるレベル(“Low”または“High”)を保持する。
In operation, the switching
切替部202は、切替制御部203からの制御信号208に基づき、コーデック部201とイヤホンジャック部53との間の音声入力経路である音声パスを切り替える。具体的には、切替部202は、制御信号208が“High”であるとき、Aタイプの音声パスのために接点MとM´を接続し、且つ接点GとG´を接続し(図3(B)の実線を参照)、“Low”であるとき、Bタイプの音声パスのために接点MとG´を接続し、且つ接点GとM´を接続する(図3(B)の破線を参照)ように切り替える。
The switching unit 202 switches an audio path that is an audio input path between the
(処理フロー)
図4は、本実施の形態に係る処理を示すフローチャートである。当該フローチャートに従うプログラムは、予め記憶部102に格納されて、主制御部100のCPUがプログラムを記憶部102から読み出し、プログラムの命令を実行し、実行結果に従い各部を制御することにより処理が実現される。
(Processing flow)
FIG. 4 is a flowchart showing processing according to the present embodiment. The program according to the flowchart is stored in advance in the
まず、切替部202は図3(B)の実線で示すAタイプの音声パスの状態にあると想定する。このとき、ユーザがスマートフォン300のイヤホンジャック部53にマイク付きステレオイヤホン54のプラグ部55を装着する。装着したとき、プラグ部55の端子はイヤホンジャック部53の端子と接続し、両端子間の接続部と切替部202を経由して、コーデック部201の入力端子Micに印加されるバイアス電圧は変化する。
First, it is assumed that the switching unit 202 is in the state of the A type voice path indicated by the solid line in FIG. At this time, the user attaches the
主制御部100のCPUは、イヤホンジャック部53にプラグ部55が装着されたか否かを判定する(ステップS100)。装着されたと判定しない(ステップS100でNO)ときは、ステップS100の処理が繰り返されるが、装着されたと判定すると(ステップS100でYES)、ステップS103に移行する。なお、装着判定に関しては従来方式を用いることができる。具体的には、CPUはコーデック部201の出力から入力端子Micの電位の変化を検出すると、イヤホンジャック部53にプラグ部55が装着されたと判定する。この判定には、マイクバイアス電圧の変化に限らず、スイッチ式を用いてもよい。
The CPU of the
CPUは、プラグ部55の装着を検出すると、予め定めた音声を示す音声信号を出力する(ステップS103)。具体的には、CPUは、記憶部102の所定領域から予め格納されている音源データを読み出し、コーデック部201に出力する。コーデック部201は、音源データを音声信号に復号し、復号後の音声信号を端子ORまたは端子OLを介し出力する。端子ORまたはOLからの音声信号は、イヤホンジャック部53の端子531または532を介して、イヤホン53Lまたは53Rからユーザの耳に出力される。本実施の形態では、音源データは、プラグ部55のタイプを判定するためのデータであって、人間の聴覚では通常聞くことのできない可聴周波数帯域を除く周波数帯域の音声信号に相当する。したがって、ユーザに耳障りな音による違和感・不快感を与えることなく、プラグ部55のタイプ判定が可能となる。
When detecting the attachment of the
音源データによる音声を出力した後は、CPUは音声を比較処理する(ステップS106)。具体的には、イヤホンジャック部53の端子534からの信号は切替部202(端子M´とMの音声パス)を介しコーデック部201の端子Micに入力する。コーデック部201は入力した信号を符号化し、符号化後のデジタルデータを主制御部100に出力する。主制御部100のCPUは、コーデック部201からのデジタルデータと、記憶部102の所定記憶領域から読み出した判定用の音源データとをパターンマッチングにより比較し、比較結果から、両者が一致する、または類似するかを判定する(ステップS109)。
After outputting the sound based on the sound source data, the CPU compares the sound (step S106). Specifically, the signal from the
一致も類似もしないと判定した場合には(ステップS109でNO)、CPUは指示信号207を変更することなく、処理を終了する。つまり、両者が異なっていると判定した場合は、Aタイプの音声パス用の切替部202(図3(B)の実線を参照)に合致したタイプのプラグ部55が装着されている場合である。したがって、CPUは指示信号207を変更することなく、すなわち切替部202は端子の接続切り替えはせずに(図3(B)の実線の音声パスのまま)、処理を終了する。
If it is determined that there is no match or similarity (NO in step S109), the CPU ends the process without changing the
一方、一致または類似すると判定した場合には(ステップS109でYES)、ステップS112に移行する。すなわち、切替部202の現在のAタイプの音声パス(図3(B)の実線を参照)と異なったタイプのプラグ部55が接続されていると判定する。たとえば、イヤホンジャック部53に、Bタイプのプラグ部55が装着された場合が相当する。判定結果に応じて主制御部100のCPUは切替制御部203に接続切替を指示するための指示信号207を出力する(ステップS112)。
On the other hand, if it is determined that they match or are similar (YES in step S109), the process proceeds to step S112. That is, it is determined that a
切替制御部203は、内部レジスタに記憶されていた指示信号207の値と、新たに入力した指示信号207の値とを比較し、比較結果から、両信号は相違すると判定した場合には、今回入力した指示信号を内部レジスタに格納する。これにより、内部レジスタの信号は更新される。したがって、切替制御部203からは、内部レジスタに記憶した更新後の指示信号207に基づき、“High”→“Low”に更新された新たな制御信号208が出力される。
The switching
切替部202は、“High”→“Low”に更新された制御信号208に基づき端子の接続を切り替える。具体的には、接点Mを接点M´→G´へ接続するように切り替え、且つ接点Gを接点G´→接点M´へ接続するように切り替える(ステップS115)。
The switching unit 202 switches terminal connections based on the
その後は、端子Micに印加されるバイアス電圧の変化からプラグ部55が抜けたと判定されるまでの間、内部レジスタの値であるタイプ判定結果は保持されて、それに基づく音声パスの接続の切替態様は保持される。したがって、AタイプおよびBタイプいずれのプラグ部55であっても、切替部202によって当該タイプに合致するように音声パスを自動的に切り替えることが可能となる。
Thereafter, the type determination result, which is the value of the internal register, is held until the
(接続切り替えの態様)
図5は、本実施の形態に係るイヤホンジャック部53を接続したときの動作を説明するための図である。
(Connection switching mode)
FIG. 5 is a diagram for explaining the operation when the
マイク付きステレオイヤホン54のイヤホン53Lおよび53Rのそれぞれは、音声を伝達するために振動するスピーカ振動板と、当該振動板に関連してボイスコイル(通常16〜32Ω程度)を有する。
Each of the
切替部202がAタイプの音声パス(図3(B)の実線)であるときに、Aタイプのプラグ部55が装着された場合には(図5(A)参照)、または切替部202がBタイプの音声パス(図3(B)の破線)であるときに、Bタイプのプラグ部55が接続された場合には(図5(B)参照)、端子ORまたはOLから出力された音声信号が、イヤホン53Lまたは53Rのボイスコイルを流れるとき振動板が振動し耳に音が伝達される。また、マイク52により収音された音声信号は、プラグ部55の端子→イヤホンジャック部53の端子→切替部202の接点M→コーデック部201の端子Micを経由し主制御部100に入力する。この場合には、イヤホン53Lまたは53Rへ出力された音声信号が端子Micに入力するような後述の回路ループは構成されない。その結果、上記の比較処理では、主制御部100は、マイク52により実際に収音された音声と音源データによる音声とを比較し、スマートフォン300の音声パスのタイプと合致したタイプのプラグ部55が接続されていると判定する。
When the switching unit 202 is an A type voice path (solid line in FIG. 3B) and the A
これに対して、切替部202がAタイプの音声パス(図3(B)の実線)であるときに、Bタイプのプラグ部55が接続された場合には(図5(C)参照)、または切替部202がBタイプの音声パス(図3(B)の破線)であるときに、Aタイプのプラグ部55が接続された場合には(図5(D)参照)、端子ORまたはOLから出力された音声信号が、イヤホン53Lまたは53Rのボイスコイルを流れるとき振動板が振動し耳に音が伝達されるとともに、当該音声信号はイヤホンのボイスコイルを通って、プラグ部55のグランド端子→イヤホンジャック部53の端子→切替部202の接点M→コーデック部201の端子Micを経由し主制御部100に入力するような回路ループが形成されて、一方のマイク52により収音された音声信号は切替部202の接地端子に導出されて、主制御部100には入力しない。その結果、上記の比較処理では、主制御部100は、回路ループを経由して帰還した音声(マイク52により実際に収音された音声ではない)と音源データによる音声とを比較し、両音声は一致する、すなわち切替部202が音声パスのタイプとは異なるタイプのプラグ部55が接続されていると判定する。
On the other hand, when the switching unit 202 is an A type voice path (solid line in FIG. 3B) and the B
このように比較処理の結果に基づき、イヤホンジャック部53の音声信号を入力するための端子533(534)に接続されたプラグ部55側の端子がマイクチャネル(M)であるか否か、すなわちプラグ部55のタイプを判定することができる。
Thus, based on the result of the comparison processing, whether or not the terminal on the
タイプの異なったプラグ部55が接続されていると判定したとき、CPUは新たな指示信号207を出力する。これにより、切替制御部203はチャネル(L)(R)(G)(M)の4本の回路接続のうち、チャネル(G)と(M)の2本の回路接続を入れ替えるような制御信号208を出力する。切替部202は制御信号208に基づき音声パスを切り替える。つまり、図3(B)の実線の接続であった場合には破線の接続に切替えられ、破線の接続であった場合には実線の接続に切替えられる。音声パス切替えにより上記の回路ループは解消される。その結果、端子Micには回路ループを経由して帰還した音声ではなく、マイク52で収音された音声が入力する。したがって、プラグ部55のタイプにかかわらず、ユーザは正常に音声を聞くことができ、また音声を収音させることができる。
When determining that plugs 55 of different types are connected, the CPU outputs a
(実施の形態の効果)
上記のタイプ判定は、スマートフォン300等の端末に標準的に搭載されている部品(コーデック部201、CPUなど)により実現できるので、特別な回路の追加等は不要であり、端末の小型・軽量化が阻害されることはない。
(Effect of embodiment)
Since the above type determination can be realized by components (
また、タイプの判定には、通常人間の耳で聴覚することのできない周波数帯域の音声信号を使用することにより、マイク付きステレオイヤホン54を装着したユーザに意図しない音声による違和感・不快感を与えることは無い。それゆえに、判定が実行されていることをユーザに気づかれることも無い。
In addition, in the type determination, an audio signal in a frequency band that cannot be normally heard by the human ear is used, so that the user wearing the stereo earphone with
このように本実施の形態では、スマートフォン300内の音声パスを、装着されているマイク付きステレオイヤホン54のプラグ部55の仕様(AタイプまたはBタイプ)を判定し、判定したタイプに合致するように切り替えることが可能となる。この結果、ユーザがスマートフォン300のタイプに合致したプラグ部55を有するマイク付きステレオイヤホン54に交換する必要はなく、また、交換しなくても従来のようなタイプ不整合による課題(イヤホンからは正常な音声レベルの音声が発生せず、また正確なマイク信号が発生しない)が生じることもない。
Thus, in the present embodiment, the specification (A type or B type) of the
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
4 操作部、50,52 マイク、51 スピーカ、53 イヤホンジャック部、53L,53R イヤホン、54 マイク付きステレオイヤホン、55 プラグ部、100 主制御部、201 コーデック部、202 切替部、203 切替制御部、207 指示信号、208 制御信号、300 スマートフォン。 4 operation unit, 50, 52 microphone, 51 speaker, 53 earphone jack unit, 53L, 53R earphone, 54 stereo earphone with microphone, 55 plug unit, 100 main control unit, 201 codec unit, 202 switching unit, 203 switching control unit, 207 Instruction signal, 208 Control signal, 300 Smartphone.
Claims (5)
前記プラグ部は、端子が配置される第1位置および第2位置を有し、
前記第1位置にはイヤホン端子が配置され、且つ前記第2位置には当該プラグ部の種類に応じてマイク端子と、前記イヤホン端子からの音声信号を導出する導出端子とのいずれか一方が配置され、
前記ジャック部は、装着された前記プラグ部の前記第1位置の前記イヤホン端子が接続される第1端子と、前記第2位置の端子が接続される第2端子とを有し、
前記電子機器は、
前記ジャック部の前記第2端子から音声信号を入力する音声入力端子と、前記第1端子と接続される音声出力端子とを有する制御部を、備え、
前記制御部は、
前記プラグ部の装着が検出されたとき、予め定めた音声を表す音声信号を前記音声出力端子から出力する所定音声出力手段と、
前記所定音声出力手段により音声信号が出力されるとき、前記音声入力端子から入力する音声信号と、前記予め定めた音声を表す音声信号とを比較する比較手段と、
比較の結果に基づき、装着されている前記プラグ部の種類を判定する判定手段と、を有する、電子機器。 An electronic device including a jack portion to which a plug portion of an audio device is detachably attached,
The plug portion has a first position and a second position where a terminal is disposed,
An earphone terminal is disposed at the first position, and either a microphone terminal or a lead-out terminal for deriving an audio signal from the earphone terminal is disposed at the second position according to the type of the plug portion. And
The jack portion has a first terminal to which the earphone terminal at the first position of the plug portion attached is connected, and a second terminal to which a terminal at the second position is connected,
The electronic device is
A control unit having an audio input terminal for inputting an audio signal from the second terminal of the jack unit, and an audio output terminal connected to the first terminal;
The controller is
A predetermined sound output means for outputting a sound signal representing a predetermined sound from the sound output terminal when mounting of the plug portion is detected;
A comparison means for comparing an audio signal input from the audio input terminal with an audio signal representing the predetermined audio when an audio signal is output by the predetermined audio output means;
An electronic device comprising: determination means for determining a type of the plug part mounted based on a result of the comparison.
前記第1位置には前記イヤホン端子が配置され、前記第2位置には当該プラグ部の種類に応じて前記マイク端子と前記導出端子とのいずれか一方が配置され、前記第3位置には当該一方とは異なる他方が配置され、
前記ジャック部は、装着された前記プラグ部の前記第3位置の端子が接続される第3端子をさらに有し、
前記電子機器は、
前記制御部の前記音声入力端子に、前記ジャック部の前記第2端子および前記第3端子の一方を切替えて接続するための切替部を、さらに備え、
前記制御部は、
前記判定手段により判定された種類に基づき、前記音声入力端子に前記第2端子および前記第3端子の一方を切替えて接続するように、前記切替部を制御する、請求項1に記載の電子機器。 The plug portion further has a third position where the terminal is disposed,
The earphone terminal is arranged at the first position, either the microphone terminal or the lead-out terminal is arranged at the second position according to the type of the plug part, and the third position is The other is different from the other,
The jack portion further includes a third terminal to which a terminal at the third position of the attached plug portion is connected,
The electronic device is
A switching unit for switching and connecting one of the second terminal and the third terminal of the jack unit to the audio input terminal of the control unit;
The controller is
2. The electronic apparatus according to claim 1, wherein the switching unit is controlled to switch and connect one of the second terminal and the third terminal to the audio input terminal based on the type determined by the determination unit. .
前記所定音声出力手段は、
前記格納部の前記音源データから、前記予め定めた音声を表す音声信号を取得し、前記音声出力端子から出力する、請求項1から3のいずれかに記載の電子機器。 A storage unit for storing sound source data;
The predetermined sound output means includes
4. The electronic device according to claim 1, wherein an audio signal representing the predetermined audio is acquired from the sound source data of the storage unit and is output from the audio output terminal. 5.
前記所定音声出力手段により音声信号が出力されるとき、前記音声入力端子から入力する音声信号と、前記格納部の前記音源データから取得した前記予め定めた音声を表す音声信号とを比較する、請求項4に記載の電子機器。 The comparison means includes
When an audio signal is output by the predetermined audio output means, an audio signal input from the audio input terminal is compared with an audio signal representing the predetermined audio acquired from the sound source data of the storage unit. Item 5. The electronic device according to Item 4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013043016A JP2014171175A (en) | 2013-03-05 | 2013-03-05 | Electronic apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013043016A JP2014171175A (en) | 2013-03-05 | 2013-03-05 | Electronic apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2014171175A true JP2014171175A (en) | 2014-09-18 |
Family
ID=51693242
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013043016A Pending JP2014171175A (en) | 2013-03-05 | 2013-03-05 | Electronic apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2014171175A (en) |
-
2013
- 2013-03-05 JP JP2013043016A patent/JP2014171175A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI849887B (en) | Sound reproduction device | |
| TWI702853B (en) | mobile phone | |
| TWI754896B (en) | Receiver and mobile phone system | |
| US10063960B2 (en) | Pressure sensing earbuds and systems and methods for the use thereof | |
| US8331579B2 (en) | Reproducing apparatus and headphone apparatus | |
| EP2451188A2 (en) | Using accelerometers for left right detection of headset earpieces | |
| US9113246B2 (en) | Automated left-right headphone earpiece identifier | |
| US20180220230A1 (en) | Audio i o headset plug and plug detection circuitry | |
| EP2605498B1 (en) | Earphone connection detecting system and mobile device for supporting the system | |
| US20090003641A1 (en) | Headset with on-ear detection | |
| US20070147630A1 (en) | User configurable headset for monaural and binaural modes | |
| US20090154720A1 (en) | Sound output control device and sound output control method | |
| KR101473173B1 (en) | Earphone for mobile phone with Active Noise Cancellation function | |
| WO2008000304A1 (en) | Earphone system with usage detection | |
| US20140330562A1 (en) | Method and Apparatus for Obtaining Information from the Web | |
| US8243977B2 (en) | Media player system, media player, and earphone | |
| EP2839675A1 (en) | Auto detection of headphone orientation | |
| CN112013949A (en) | Earphone wearing state determining method and device and earphone | |
| CN101304619A (en) | Wireless earphone, audio device and audio playback method | |
| US11523231B2 (en) | Methods and systems for assessing insertion position of hearing instrument | |
| CN107209378B (en) | Head-mounted display device and head-mounted display system | |
| TW200826725A (en) | Headset capable of switching signal transmission | |
| EP3240265A1 (en) | Apparatus and method for processing audio signals | |
| US12200426B2 (en) | Setting system of wireless headphone and setting method of wireless headphone | |
| TW202019191A (en) | Headset |