JP2009194890A - Mobile terminal, audio apparatus discrimination method, audio apparatus discrimination program, and program recording medium - Google Patents

Mobile terminal, audio apparatus discrimination method, audio apparatus discrimination program, and program recording medium Download PDF

Info

Publication number
JP2009194890A
JP2009194890A JP2008124853A JP2008124853A JP2009194890A JP 2009194890 A JP2009194890 A JP 2009194890A JP 2008124853 A JP2008124853 A JP 2008124853A JP 2008124853 A JP2008124853 A JP 2008124853A JP 2009194890 A JP2009194890 A JP 2009194890A
Authority
JP
Japan
Prior art keywords
channel
audio device
audio
voltage
jack interface
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.)
Granted
Application number
JP2008124853A
Other languages
Japanese (ja)
Other versions
JP5158593B2 (en
Inventor
Akihiro Sano
昭広 佐野
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.)
NEC Platforms Ltd
Original Assignee
NEC Infrontia 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 NEC Infrontia Corp filed Critical NEC Infrontia Corp
Priority to JP2008124853A priority Critical patent/JP5158593B2/en
Publication of JP2009194890A publication Critical patent/JP2009194890A/en
Application granted granted Critical
Publication of JP5158593B2 publication Critical patent/JP5158593B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a portable terminal capable of automatically detecting the kinds of a plurality of kinds of audio apparatuses to be connected to a single jack interface, and performing changeover into connection to an audio circuit or into an audio operation, which are suitable for the connected audio apparatus. <P>SOLUTION: The mobile terminal includes at least: an R→V converting circuit 20 for converting the impedances of respective channels, i.e., LEFT, RIGHT and MIDDLE in the audio apparatus connected to the jack interface 10 into voltage values; and an A/D converter 30 for outputting results after comparing the respective voltage values with a predetermined voltage threshold. The kind of the connected audio apparatus is discriminated by the combination of comparison results between the respective voltage values of the respective channels LEFT, RIGHT and MIDDLE and the voltage threshold. A connection state with an audio CODEC 50 and the input/output level of an audio signal are changed-over based on the discrimination result. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、携帯端末、オーディオ機器判別方法、オーディオ機器判別プログラムおよびプログラム記録媒体に関し、特に、オーディオ機能を備えた携帯端末に関する。   The present invention relates to a portable terminal, an audio device identification method, an audio device identification program, and a program recording medium, and more particularly to a portable terminal having an audio function.

特許文献1の特開2006-211435号公報「携帯端末」のように、従来、携帯可能な小型の端末(例えばノートPC、PDAなど)には、外付けのヘッドホンやマイクを接続するジャックインタフェースが備えられているものがほとんどである。
特開2006-211435号公報(第6−8頁)
Conventionally, a small portable terminal (for example, a notebook PC, a PDA, etc.) as disclosed in Japanese Patent Application Laid-Open No. 2006-21435 of Patent Document 1 has a jack interface for connecting external headphones or a microphone. Most are provided.
JP 2006-21435 A (page 6-8)

ノートPCの場合、或る程度の物理的なサイズが許容されるため、ヘッドホン、マイク、ラインインなどの各種オーディオ機器のプラグに合わせた複数のジャックインタフェースとそれらの回路とを搭載することが可能である。   In the case of a notebook PC, since a certain physical size is allowed, it is possible to mount a plurality of jack interfaces and circuits corresponding to plugs of various audio devices such as headphones, microphones, and line-ins. It is.

しかしながら、より小さい携帯端末であるPDAなどにおいては、複数のジャックインタフェースを搭載することが物理的に厳しく、一般的には、ヘッドホンもしくはイヤホンマイクといった単一機能かつ単一のインタフェースのみが搭載されており、オーディオ機能を十分に提供することができていないという課題を抱えている。   However, in a PDA or the like, which is a smaller portable terminal, it is physically strict to install a plurality of jack interfaces, and in general, only a single function and a single interface such as a headphone or an earphone microphone are installed. However, there is a problem that the audio function cannot be sufficiently provided.

その反面、マルチメディア機能やソリューションシステムの進歩に伴い、PDAなどの小型の携帯端末であっても、ヘッドホン、イヤホンマイク、ステレオマイクなどの各種オーディオ機器に適応することを求める要求が益々強くなってきており、携帯端末の小型化を維持した上で、各種オーディオ機器に対応するマルチファンクショナブルなジャックインタフェースとその回路並びに接続されたオーディオ機器の種別に対して適切なスピーカボリュームやマイクゲインの設定を施すソフトウェアの提供および周囲ノイズ除去を目的とした2入力マイク対応型ヘッドセットなどに対応することが課題となってきている。   On the other hand, with the advancement of multimedia functions and solution systems, there is an increasing demand for adapting to various audio devices such as headphones, earphone microphones, stereo microphones, etc., even with small portable terminals such as PDAs. In addition, while maintaining the miniaturization of mobile terminals, setting the appropriate speaker volume and microphone gain for the type of multi-functional jack interface, its circuit, and connected audio device compatible with various audio devices It has been a challenge to provide a software that performs the above and to cope with a 2-input microphone compatible headset for the purpose of removing ambient noise.

また、様々な特性を持つマイクやスピーカに対応するため、既存のオーディオデバイスのみでなく、加えて、将来のオーディオデバイスについても、ソフトウェア(SW)的な設定のみで、あるいは、簡単な改造によって、対応可能とすることが課題となっている。   In addition, in order to support microphones and speakers with various characteristics, not only existing audio devices, but also future audio devices can be set only with software (SW) settings or by simple modifications. The challenge is to make this possible.

かくのごとき課題を解決するため、本発明は、単一のジャックインタフェースに接続されるヘッドホン、イヤホンマイク、ステレオマイクといった複数種類のオーディオ機器を自動的に検出し、接続されたオーディオ機器の種別に適したオーディオ回路への接続や動作に切り替えることを可能とする携帯端末、オーディオ機器判別方法、オーディオ機器判別プログラムおよびプログラム記録媒体を提供することを、その目的としている。   In order to solve these problems, the present invention automatically detects a plurality of types of audio devices such as headphones, earphone microphones, and stereo microphones connected to a single jack interface, and sets the types of connected audio devices. An object of the present invention is to provide a portable terminal, an audio device determination method, an audio device determination program, and a program recording medium that can be switched to connection or operation to a suitable audio circuit.

また、様々な特性を有するマイクやスピーカに対応するために、接続される入力機器(マイク)や出力機器(スピーカ)のインピーダンス特性に応じて、任意の閾値をソフトウェア(SW)的に設定可能とする携帯端末、オーディオ機器判別方法、オーディオ機器判別プログラムおよびプログラム記録媒体を提供することを、その目的としている。   In addition, in order to support microphones and speakers having various characteristics, an arbitrary threshold can be set by software (SW) according to the impedance characteristics of the connected input device (microphone) or output device (speaker). An object of the present invention is to provide a portable terminal, an audio device identification method, an audio device identification program, and a program recording medium.

前述の課題を解決するため、本発明による携帯端末、オーディオ機器判別方法、オーディオ機器判別プログラムおよびプログラム記録媒体は、次のような特徴的な構成を採用している。   In order to solve the above-described problems, the mobile terminal, the audio device identification method, the audio device identification program, and the program recording medium according to the present invention employ the following characteristic configurations.

(1)複数種類のオーディオ機器を接続することが可能な一つの4極のジャックインタフェースを備えた携帯端末において、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスの大きさを識別することにより、接続された前記オーディオ機器の種別を判別するオーディオ機器判別手段を備え、該オーディオ機器判別手段により判別した前記オーディオ機器の種別に基づいて、オーディオ信号の変換を行うオーディオCODECと前記ジャックインタフェースとの接続状態およびオーディオ信号の入出力レベルを少なくとも切り替える携帯端末。   (1) In a portable terminal having one 4-pole jack interface capable of connecting a plurality of types of audio equipment, each of the LEFT channel, RIGHT channel, and MIDDLE channel of the audio equipment connected to the jack interface An audio device discriminating unit that discriminates the type of the connected audio device by identifying the magnitude of the impedance is provided, and the audio signal is converted based on the type of the audio device discriminated by the audio device discriminating unit. A portable terminal that switches at least a connection state between an audio CODEC to be performed and the jack interface and an input / output level of an audio signal.

本発明の携帯端末、オーディオ機器判別方法、オーディオ機器判別プログラムおよびプログラム記録媒体によれば、以下のような効果を得ることができる。   According to the portable terminal, audio device identification method, audio device identification program, and program recording medium of the present invention, the following effects can be obtained.

一つのジャックインタフェースのみで、モノラルイヤホン(2極ジャック)、ステレオヘッドホン(3極ジャック)、イヤホンマイク(3極ジャック)、ステレオマイク(3極ジャック)、2入力マイク対応型ヘッドセット(4極ジャック)、あるいは、ステレオイヤホンマイク(4極ジャック)といった複数種のオーディオ機器、2極プラグ、3極プラグおよび4極プラグに適応することが可能となり、小型化された携帯端末であっても、その物理的なサイズを損ねることなく、より多様なオーディオ機能を十分に提供することが可能となる。   Only one jack interface, monaural earphone (2-pole jack), stereo headphones (3-pole jack), earphone microphone (3-pole jack), stereo microphone (3-pole jack), 2-input microphone compatible headset (4-pole jack) ) Or multiple types of audio equipment such as a stereo earphone microphone (4-pole jack), 2-pole plug, 3-pole plug, and 4-pole plug. A variety of audio functions can be sufficiently provided without deteriorating the physical size.

また、ソフトウェア(SW)的な設定のみで対応することを可能としているので、既存のデバイスだけでなく、将来のデバイスについても、より多くのオーディオデバイスをサポートすることができる。   Also, since it is possible to cope with only software (SW) settings, it is possible to support more audio devices not only for existing devices but also for future devices.

また、オーディオ機器を接続した後の種別判定と各オーディオ機器に適する設定はソフトウェア制御により自動的に行なわれるため、利用者がわざわざ切り替えの操作を行なう必要がなく、さらに、適用するジャックインタフェースの誤挿入防止にも役立ち、故障率の低減にも役立つという効果も得られる。   In addition, since the type determination after connecting the audio device and the setting suitable for each audio device are automatically performed by software control, there is no need for the user to perform the switching operation, and an error in the jack interface to be applied. This also helps prevent insertion and helps reduce the failure rate.

以下、本発明による携帯端末、オーディオ機器判別方法、オーディオ機器判別プログラムおよびプログラム記録媒体の好適な実施形態について添付図を参照して説明する。なお、以下の説明においては、本発明による携帯端末、オーディオ機器判別方法について説明するが、かかるオーディオ機器判別方法をコンピュータにより実行可能なオーディオ機器判別プログラムとして実施するようにしても良いし、あるいは、オーディオ機器判別プログラムをコンピュータにより読み取り可能な記録媒体に記録するようにしても良いことは言うまでもない。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of a mobile terminal, an audio device identification method, an audio device identification program, and a program recording medium according to the present invention will be described with reference to the accompanying drawings. In the following description, a portable terminal and audio device determination method according to the present invention will be described. However, the audio device determination method may be implemented as an audio device determination program executable by a computer, or Needless to say, the audio device determination program may be recorded on a computer-readable recording medium.

(本発明の特徴)
本発明の実施形態の説明に先立って、本発明の特徴についてその概要をまず説明する。本発明は、オーディオジャックインタフェースに接続されるヘッドホン、イヤホンマイク、ステレオマイク等の複数種のオーディオ機器を接続するインタフェースとして一つの4極ジャックインタフェースのみ備えた携帯端末であって、一つの該ジャックインタフェースに接続されたオーディオ機器の種別の自動判別を行い、接続されたオーディオ機器に適した入出力回路への接続と入出力信号レベルの設定などを行うソフトウェア(SW:Software)動作の切り替えを自動的に行うことを可能とする携帯端末を提供することを主要な特徴としている。
(Features of the present invention)
Prior to the description of the embodiments of the present invention, an outline of the features of the present invention will be described first. The present invention is a portable terminal provided with only one 4-pole jack interface as an interface for connecting a plurality of types of audio equipment such as headphones, earphone microphones, stereo microphones, etc. connected to an audio jack interface. Automatically identifies the type of audio device connected to the software, and automatically switches the software (SW: Software) operation to connect to an input / output circuit suitable for the connected audio device and set the input / output signal level. The main feature is to provide a portable terminal that can be used in the future.

あるいは、接続されたオーディオ機器を判別するためのオーディオジャック自動判別検出回路の閾値をソフトウェア(SW)制御により任意に設定する機能を有し、かつ、オーディオ機器を接続した4極ジャックインタフェースの検出信号を前記閾値と比較する比較回路をハードウェア(HW:Hardware)によって実現することにより、ソフトウェア処理(SW処理)の効率的な並列動作を可能とし、即応性の向上を図ることを特徴としている。   Alternatively, a detection signal of a 4-pole jack interface having a function of arbitrarily setting a threshold value of an audio jack automatic discrimination detection circuit for discriminating a connected audio device by software (SW) control and connected to the audio device The comparison circuit for comparing the value with the threshold value is realized by hardware (HW: Hardware), thereby enabling efficient parallel operation of software processing (SW processing) and improving responsiveness.

つまり、本発明においては、携帯端末に搭載される一つのジャックインタフェースに接続されるヘッドホン、イヤホンマイク、ステレオマイク等の各オーディオ機器をソフトウェア等の設定値に基づいて自動的に判別し、その判別結果に応じて、オーディオの入出力回路を切り替え、かつ、入出力信号レベルを適切な値に設定することによって、一つのジャックインタフェースにて複数種類のオーディオ機器に適応させることを可能にしている。   In other words, in the present invention, each audio device such as a headphone, an earphone microphone, and a stereo microphone connected to one jack interface mounted on a portable terminal is automatically determined based on a setting value such as software, and the determination According to the result, the audio input / output circuit is switched and the input / output signal level is set to an appropriate value, thereby making it possible to adapt to a plurality of types of audio devices with one jack interface.

ここで、ジャックインタフェースに接続される各オーディオ機器を自動的に判別するために、各オーディオ機器のプラグに配線されているLEFTチャンネル−GND間、RIGHTチャンネル−GND間およびMIDDLEチャンネル-GND間のインピーダンス特性を利用して、それぞれのインピーダンスを電圧値に変換し、携帯端末内部に設けたA/Dコンバータの1ch、2ch、3chとして変換された電圧値を読み取り、ソフトウェア(SW)制御により任意の値に設定される電圧閾値(基準電圧Ref)と比較する。なお、電圧閾値(基準電圧)は、1ch、2ch、3chそれぞれに異なる閾値を設定することも可能であり、それぞれのチャンネルに設定された第1の基準電圧、第2の基準電圧および第3の基準電圧と、LEFTチャンネル、RIGHTチャンネルおよびMIDDLEチャンネルそれぞれの変換された電圧値とが、それぞれ、ソフトウェア(SW)上の比較処理あるいはハードウェア(HW)上の比較回路(コンパレータ)にて比較されて、それぞれのチャンネルに対応して、3ビットの状態信号が比較結果として生成される。   Here, in order to automatically determine each audio device connected to the jack interface, the impedance between the LEFT channel-GND, the RIGHT channel-GND, and the MIDDLE channel-GND wired to the plug of each audio device Using the characteristics, each impedance is converted to a voltage value, the voltage values converted as 1ch, 2ch, and 3ch of the A / D converter provided inside the portable terminal are read, and any value is controlled by software (SW) control Is compared with a voltage threshold value (reference voltage Ref) set to. It is possible to set different threshold values for the 1ch, 2ch, and 3ch as the voltage threshold (reference voltage), and the first reference voltage, the second reference voltage, and the third threshold set for each channel. The reference voltage and the converted voltage values of the LEFT channel, RIGHT channel, and MIDDLE channel are respectively compared by a comparison process on software (SW) or a comparison circuit (comparator) on hardware (HW). Corresponding to each channel, a 3-bit status signal is generated as a comparison result.

接続されたオーディオ機器のLEFTチャンネル、RIGHTチャンネルとMIDDLEチャンネルのそれぞれについては、一般的に、入力機器(マイク)のインピーダンスは、1KΩ以上と大きく、また、出力機器(スピーカ)のインピーダンスは、8Ω〜300Ω程度と小さいので、比較結果の出力が入力機器(マイク)かまたは出力機器(スピーカ)かによって異なる。ソフトウェア(SW)上の比較処理あるいはハードウェア(HW)上の比較回路から出力される3ビットの状態信号は、前述のように、LEFTチャンネル、RIGHTチャンネルおよびMIDDLEチャンネルの電圧値とそれぞれの電圧閾値(第1の基準電圧、第2の基準電圧および第3の基準電圧)との比較結果を示しており、該比較結果の組み合わせによって、接続されたオーディオ機器の種別がモノラルイヤホン、ステレオヘッドホン、イヤホンマイク、ステレオマイク、2入力マイク対応ヘッドセット、あるいは、ステレオイヤホンマイクなどのいずれであるかが判別される。   For each of the LEFT channel, RIGHT channel, and MIDDLE channel of the connected audio device, generally, the impedance of the input device (microphone) is as large as 1 KΩ or more, and the impedance of the output device (speaker) is 8Ω to Since it is as small as about 300Ω, it differs depending on whether the output of the comparison result is an input device (microphone) or an output device (speaker). As described above, the 3-bit status signal output from the comparison process on the software (SW) or the comparison circuit on the hardware (HW) includes the voltage values of the LEFT channel, the RIGHT channel, and the MIDDLE channel, and the respective voltage thresholds. The comparison result with (the 1st reference voltage, the 2nd reference voltage, and the 3rd reference voltage) is shown, and according to the combination of the comparison results, the type of the connected audio device is monaural earphone, stereo headphone, earphone It is determined whether the microphone, stereo microphone, headset with two input microphones, or stereo earphone microphone is used.

前述のソフトウェア(SW)上の比較処理あるいはハードウェア(HW)上の比較回路における電圧閾値つまり基準電圧をハードウェア的に固定化してしまうと、入力機器(マイク)や出力機器(スピーカ)のインピーダンス特性が想定されないものには対応することができなくなるため、ソフトウェア(SW)制御によって電圧閾値つまり基準電圧を任意に設定可能にするA/DコンバータあるいはD/Aコンバータを設けたハードウェア構成とする。   If the voltage threshold, that is, the reference voltage in the comparison process on the software (SW) or the comparison circuit on the hardware (HW) is fixed in hardware, the impedance of the input device (microphone) or output device (speaker) Since it is impossible to deal with a case where characteristics are not assumed, a hardware configuration provided with an A / D converter or a D / A converter that can arbitrarily set a voltage threshold, that is, a reference voltage by software (SW) control. .

ソフトウェア(SW)上の比較処理にて比較を行う場合、携帯端末内部でA/Dコンバータの1ch〜3ch(LEFT,RIGHT,MIDDLEの各チャンネル)における電圧値をソフトウェア制御により設定された電圧閾値つまり基準電圧と比較する。オーディオ機器を接続するジャックインタフェースには、オーディオ信号の入出力を切り替える入出力セレクタ回路が接続されており、電圧閾値との比較結果に応じて、LEFTチャンネル、RIGHTチャンネルとMIDDLEチャンネルのそれぞれを、入力(マイク)PASSもしくは出力(スピーカ)PASSに切り替える。   When the comparison is performed in the comparison process on the software (SW), the voltage value of the A / D converter 1ch to 3ch (each channel of LEFT, RIGHT, and MIDDLE) inside the portable terminal is set to a voltage threshold set by software control, that is, Compare with reference voltage. An input / output selector circuit for switching input / output of an audio signal is connected to the jack interface for connecting an audio device, and each of the LEFT channel, the RIGHT channel, and the MIDDLE channel is input according to the comparison result with the voltage threshold value. Switch to (microphone) PASS or output (speaker) PASS.

この際、入出力セレクタ回路には、ジャックインタフェースにオーディオ機器が接続されたことを認識するプラグ認識信号が入力されており、オーディオ機器が接続されたことが検出された際に、初めて、接続されたオーディオ機器の種別に合った入出力をジャックインタフェースに供給する動作を起動することが可能である。   At this time, the plug recognition signal for recognizing that the audio device is connected to the jack interface is input to the input / output selector circuit, and the connection is made only when it is detected that the audio device is connected. It is possible to start the operation of supplying input / output suitable for the type of audio device to the jack interface.

さらに、ジャックインタフェースのプラグ認識信号は、オーディオCODECに入力され、これに基づいて、オーディオCODECはCPUに対して割り込み処理を行う。CPUへの割り込み処理によって、携帯端末に搭載されているソフトウェアは、A/Dコンバータにおける比較結果に基づいて、接続されたオーディオ機器の種別を判別し、各オーディオ機器に適した入出力の値(出力ボリューム、入力ゲインなど)で動作するように設定する。   Further, the plug recognition signal of the jack interface is input to the audio CODEC, and based on this, the audio CODEC performs an interrupt process for the CPU. Through the interrupt processing to the CPU, the software installed in the portable terminal determines the type of the connected audio device based on the comparison result in the A / D converter, and the input / output value suitable for each audio device ( Set to work with output volume, input gain, etc.

あるいは、ハードウェア(HW)上の比較回路にて比較を行う場合、ソフトウェア(SW)制御によって電圧閾値つまり基準電圧を任意に設定可能にするD/Aコンバータおよび比較回路(コンパレータ)を設け、かつ、該比較回路の出力によって入出力セレクタ回路を直接制御することを可能としたハードウェア構成とする。   Alternatively, when the comparison is performed by the comparison circuit on the hardware (HW), a D / A converter and a comparison circuit (comparator) that can arbitrarily set a voltage threshold, that is, a reference voltage by software (SW) control are provided, and The hardware configuration is such that the input / output selector circuit can be directly controlled by the output of the comparison circuit.

比較回路(コンパレータ)からの出力である3ビットの状態信号は、CODECの制御IO部およびオーディオ信号の入出力を切り替える入出力セレクタ回路の制御部に接続されており、電圧閾値との比較結果に応じて、LEFTチャンネル、RIGHTチャンネルとMIDDLEチャンネルのそれぞれを、入力(マイク)PASSもしくは出力(スピーカ)PASSに切り替える。   The 3-bit status signal output from the comparison circuit (comparator) is connected to the control unit of the CODEC and the control unit of the input / output selector circuit that switches the input / output of the audio signal. In response, the LEFT channel, RIGHT channel, and MIDDLE channel are switched to input (microphone) PASS or output (speaker) PASS.

なお、ジャックインタフェースへのオーディオ機器の接続状態はオーディオCODECにてジャックインタフェースからのプラグ認識信号として認識可能としている。したがって、プラグ認識信号による認識結果に基づいて、オーディオCODECはCPUに対して割り込み処理を行う。割り込み処理によって、携帯端末に搭載されているソフトウェア(SW)は、ジャックインタフェースへのオーディオ機器の接続を認識し、接続された各オーディオ機器に適した入出力の値(出力ボリューム、入力ゲイン)で動作するようにオーディオCODECの動作状態を設定する。   Note that the connection state of the audio device to the jack interface can be recognized as a plug recognition signal from the jack interface by the audio CODEC. Therefore, the audio CODEC performs an interrupt process on the CPU based on the recognition result by the plug recognition signal. By interrupt processing, the software (SW) installed in the mobile terminal recognizes the connection of the audio device to the jack interface, and uses input / output values (output volume, input gain) appropriate for each connected audio device. The operating state of the audio CODEC is set so as to operate.

(第1の実施形態の構成)
まず、本発明による携帯端末の第1の実施形態として、ジャックインタフェースに接続されるオーディオ機器の各チャンネルの変換後の電圧値と電圧閾値つまり基準電圧との比較をソフトウェア(SW)的に設定された電圧閾値を用いてA/Dコンバータにより行う場合について説明する。
(Configuration of the first embodiment)
First, as a first embodiment of the portable terminal according to the present invention, a comparison between a converted voltage value of each channel of an audio device connected to a jack interface and a voltage threshold, that is, a reference voltage is set by software (SW). A description will be given of a case where the voltage threshold is used and an A / D converter is used.

図1は、本発明による携帯端末の第1の実施形態におけるブロック構成の一例を示すブロック構成図である。図1を参照すると、本第1の実施形態による携帯端末は、オーディオ機器のプラグが接続される4極のジャックインタフェース10と、LEFTチャンネル、RIGHTチャンネルおよびMIDDLEチャンネルのインピーダンス特性を電圧値へ変換するR→V変換回路20と、それぞれ変換された電圧値をソフトウェア(SW)的に設定された電圧閾値つまり基準電圧と比較した結果を出力する多チャンネル多ビットのA/Dコンバータ30と、CPU60と、メモリ70と、各回路を接続するバス602と、を有して構成されている。なお、A/Dコンバータ30では、R→V変換回路20にて変換された電圧値をデジタル信号に変換して、CPU60に対して出力し、CPU60において、A/Dコンバータ30からの電圧値を、ソフトウェア(SW)的に設定された電圧閾値つまり基準電圧と比較するように構成しても良い。   FIG. 1 is a block configuration diagram showing an example of a block configuration in the first embodiment of the portable terminal according to the present invention. Referring to FIG. 1, the portable terminal according to the first embodiment converts the impedance characteristics of the 4-pole jack interface 10 to which the plug of the audio device is connected, the LEFT channel, the RIGHT channel, and the MIDDLE channel into voltage values. An R → V conversion circuit 20; a multi-channel multi-bit A / D converter 30 that outputs a result obtained by comparing the converted voltage value with a voltage threshold, that is, a reference voltage set by software (SW); , A memory 70 and a bus 602 for connecting each circuit. In the A / D converter 30, the voltage value converted by the R → V conversion circuit 20 is converted into a digital signal and output to the CPU 60, and the CPU 60 converts the voltage value from the A / D converter 30. Alternatively, a voltage threshold set in software (SW), that is, a reference voltage may be compared.

さらに、オーディオCODEC50と、ジャックインタフェース10のプラグ認識信号101を受け取るとともに入出力セレクタ回路42の切り替えを制御する入出力セレクタ回路の制御部41と、オーディオCODEC50の各入出力信号(LEFT/RIGHT)をジャックインタフェース10のLEFT信号102、RIGHT信号103およびMIDDLE信号104に接続する入出力セレクタ回路42と、を有している。また、オーディオCODEC50は、CPU60と専用インタフェース601によって接続されて構成される。   Further, the control unit 41 of the input / output selector circuit that receives the audio CODEC 50, the plug recognition signal 101 of the jack interface 10 and controls the switching of the input / output selector circuit 42, and the input / output signals (LEFT / RIGHT) of the audio CODEC 50 are sent. And an input / output selector circuit 42 connected to the LEFT signal 102, the RIGHT signal 103, and the MIDDLE signal 104 of the jack interface 10. The audio CODEC 50 is configured by being connected to the CPU 60 by a dedicated interface 601.

本第1の実施形態においては、オーディオ用のジャックインタフェース10は、4極プラグに対応しており、LEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルおよびGNDが配線されていて、LEFT信号102、RIGHT信号102、MIDDLE信号104およびGNDが接続されて、2入力マイク対応型ヘッドセットにも対応することができる。   In the first embodiment, the audio jack interface 10 corresponds to a four-pole plug, and LEFT channel, RIGHT channel, MIDDLE channel, and GND are wired, and LEFT signal 102, RIGHT signal 102, The MIDDLE signal 104 and GND are connected to support a two-input microphone compatible headset.

図2は、図1の携帯端末に4極オーディオ機器プラグを接続した状態を説明する説明図である。つまり、図2に示すように、4極オーディオ機器プラグ80のLEFTチャンネルインピーダンスR1、RIGHTチャンネルインピーダンスR2、MIDDLEチャンネルインピーダンスR3およびGNDが、ジャックインタフェース10のそれぞれのジャックに挿入されて、ジャックインタフェース10のLEFT信号102、RIGHT信号103、MIDDLE信号104およびGND(接地部)のそれぞれに接続され、R→V変換回路20および入出力セレクタ回路42に接続される。   FIG. 2 is an explanatory diagram for explaining a state in which a 4-pole audio device plug is connected to the portable terminal of FIG. That is, as shown in FIG. 2, the LEFT channel impedance R1, RIGHT channel impedance R2, MIDDLE channel impedance R3 and GND of the 4-pole audio device plug 80 are inserted into the respective jacks of the jack interface 10, and The LEFT signal 102, the RIGHT signal 103, the MIDDLE signal 104, and the GND (grounding unit) are connected to the R → V conversion circuit 20 and the input / output selector circuit 42, respectively.

また、オーディオ機器のプラグとして、一般的な3極タイプにも対応しており、ジャックインタフェース10に接続されるプラグには、それぞれ、LEFTチャンネル、RIGHTチャンネル、GNDが配線されており、ヘッドホンは、LEFT/RIGHTチャンネル共に、スピーカ出力であり、イヤホンマイクは、LEFTチャンネルがマイク入力、RIGHTチャンネルがスピーカ出力であり、ステレオマイクは、LEFT/RIGHTチャンネル共にマイク入力となっている。また、2極タイプのモノラルイヤホンにも対応しており、ジャックインタフェース10に接続されるプラグには、LEFTチャンネル、GNDが配線されており、LEFTチャンネルは、スピーカ出力となる。   In addition, as a plug of an audio device, a general three-pole type is also supported. The plug connected to the jack interface 10 is wired with a LEFT channel, a RIGHT channel, and a GND, respectively. Both the LEFT / RIGHT channel is a speaker output, the earphone microphone is a microphone input for the LEFT channel, the RIGHT channel is a speaker output, and the stereo microphone is a microphone input for both the LEFT / RIGHT channel. It also supports a two-pole type monaural earphone. A LEFT channel and a GND are wired to a plug connected to the jack interface 10, and the LEFT channel serves as a speaker output.

図3は、図1の携帯端末に3極オーディオ機器プラグを接続した状態を説明する説明図である。つまり、図3に示すように、3極オーディオ機器プラグ90のLEFTチャンネルインピーダンスR1、RIGHTチャンネルインピーダンスR2およびGNDが、ジャックインタフェース10のそれぞれのジャックに挿入され、ジャックインタフェース10のLEFT信号102、RIGHT信号103およびGND(接地部)のそれぞれに接続され、R→V変換回路20および入出力セレクタ回路42に接続される。なお、ジャックインタフェース10のMIDDLE信号104は、GND(接地部)に接続される。   FIG. 3 is an explanatory diagram for explaining a state in which a three-pole audio device plug is connected to the portable terminal of FIG. That is, as shown in FIG. 3, the LEFT channel impedance R1, RIGHT channel impedance R2 and GND of the three-pole audio device plug 90 are inserted into the respective jacks of the jack interface 10, and the LEFT signal 102 and RIGHT signal of the jack interface 10 are inserted. 103 and GND (grounding unit), respectively, and connected to the R → V conversion circuit 20 and the input / output selector circuit 42. The MIDDLE signal 104 of the jack interface 10 is connected to GND (grounding unit).

モノラルイヤホンのような2極タイプのプラグの場合、ジャックインタフェース10に接続されるプラグには、LEFTチャンネル、GNDが配線されており、LEFTチャンネルインピーダンスR1およびGNDが、ジャックインタフェース10のそれぞれのジャックに挿入され、ジャックインタフェース10のLEFT信号102およびGND(接地部)のそれぞれに接続され、R→V変換回路20および入出力セレクタ回路42に接続される。なお、ジャックインタフェース10のRIGHT信号103およびMIDDLE信号104は、GND(接地部)に接続される。   In the case of a two-pole type plug such as a monaural earphone, the LEFT channel and GND are wired to the plug connected to the jack interface 10, and the LEFT channel impedances R 1 and GND are connected to the respective jacks of the jack interface 10. Inserted and connected to the LEFT signal 102 and GND (grounding unit) of the jack interface 10, and connected to the R → V conversion circuit 20 and the input / output selector circuit 42. The RIGHT signal 103 and the MIDDLE signal 104 of the jack interface 10 are connected to GND (grounding unit).

(第1の実施形態の動作の説明)
次に、図1に示す携帯端末の動作の一例について説明する。図2または図3に示すように、図1の携帯端末のジャックインタフェース10にオーディオ機器の4極または3極のプラグが接続されると、ジャックインタフェース10のLEFT信号102、RIGHT信号103およびMIDDLE信号104として、R→V変換回路20に入力される。
(Description of operation of the first embodiment)
Next, an example of the operation of the mobile terminal illustrated in FIG. 1 will be described. As shown in FIG. 2 or FIG. 3, when a 4-pole or 3-pole plug of an audio device is connected to the jack interface 10 of the portable terminal of FIG. 1, the LEFT signal 102, the RIGHT signal 103, and the MIDDLE signal of the jack interface 10 are connected. 104 is input to the R → V conversion circuit 20.

R→V変換回路20は、オーディオ機器の4極または3極のプラグのLEFTチャンネルインピーダンスR1、RIGHTチャンネルインピーダンスR2およびMIDDLEチャンネルインピーダンスR3を、電圧に変換して、それぞれ、左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203として出力する。   The R → V conversion circuit 20 converts the LEFT channel impedance R1, the RIGHT channel impedance R2 and the MIDDLE channel impedance R3 of the 4-pole or 3-pole plug of the audio device into a voltage, and the left voltage value V-LEFT201, Output as a right voltage value V-RIGHT 202 and a medium voltage value V-MIDDLE 203.

つまり、図4の特性表に示すように、ジャックインタフェース10のLEFT信号102、RIGHT信号103およびMIDDLE信号104は、オーディオ機器のプラグの各ピンが有する機能(マイク機能もしくはスピーカ機能)に対応するインピーダンス特性を有している。各信号のインピーダンスは、前述のように、R→V変換回路20において、電圧値にそれぞれ変換され、図1に示すように、左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203として、A/Dコンバータ30の1ch、2chおよび3chに出力される。   That is, as shown in the characteristic table of FIG. 4, the LEFT signal 102, the RIGHT signal 103, and the MIDDLE signal 104 of the jack interface 10 are impedances corresponding to functions (microphone function or speaker function) of each pin of the plug of the audio device. It has characteristics. As described above, the impedance of each signal is converted into a voltage value in the R → V conversion circuit 20, and as shown in FIG. 1, the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202, and the medium voltage value are converted. As V-MIDDLE 203, it is output to 1ch, 2ch and 3ch of the A / D converter 30.

ここに、図4は、図1の携帯端末に接続されるオーディオ機器プラグの各チャンネルのインピーダンスの大きさを示す説明図であり、ヘッドホン、イヤホンマイク、ステレオマイク、2入力マイク対応型ヘッドセット(2入力型イヤホンマイク)によって、それぞれのオーディオ機器プラグの各チャンネルのインピーダンスが異なっていることを説明している。   FIG. 4 is an explanatory diagram showing the magnitude of impedance of each channel of the audio device plug connected to the portable terminal of FIG. 1, and is a headset (headphone, earphone microphone, stereo microphone, 2-input microphone compatible headset). This explains that the impedance of each channel of each audio device plug differs depending on the two-input type earphone microphone).

例えば、3極オーディオ機器プラグであるヘッドホンの場合、LEFTチャンネル、RIGHTチャンネルとも、スピーカ機能であり、LEFTチャンネルインピーダンスR1、RIGHTチャンネルインピーダンスR2は、いずれも、300Ω以下であり、約8Ω〜約150Ωの間である。また、MIDDLEチャンネルインピーダンスR3は、GND(接地部)に接続されていて、0Ωである。   For example, in the case of headphones that are three-pole audio equipment plugs, both the LEFT channel and the RIGHT channel have speaker functions, and the LEFT channel impedance R1 and the RIGHT channel impedance R2 are both 300Ω or less, and about 8Ω to about 150Ω. Between. The MIDDLE channel impedance R3 is connected to GND (grounding unit) and is 0Ω.

また、4極オーディオ機器プラグである2入力マイク対応型ヘッドセットの場合、LEFTチャンネル、MIDDLEチャンネルはともにマイク機能であり、LEFTチャンネルインピーダンスR1、MIDDLEチャンネルインピーダンスR3は、ともに、約1KΩ以上の無限大(∞)と等価であり、一方、RIGHTチャンネルはスピーカ機能であり、RIGHTチャンネルインピーダンスR2は、300Ω以下であり、約8Ω〜約150Ωの間である。   In the case of a 2-input microphone-compatible headset that is a 4-pole audio equipment plug, both the LEFT channel and the MIDDLE channel have a microphone function, and both the LEFT channel impedance R1 and the MIDDLE channel impedance R3 are infinitely about 1 KΩ or more. On the other hand, the RIGHT channel is a speaker function, and the RIGHT channel impedance R2 is 300Ω or less, and is between about 8Ω and about 150Ω.

左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203は、前述のように、多チャンネル多ビットのA/Dコンバータ30の1ch、2chおよび3chに入力される。A/Dコンバータ30においては、入力されてきた左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203の電圧値とソフトウェア(SW)的に任意の値に設定することが可能な電圧閾値の基準電圧Refとの間の比較が行なわれる。比較結果は、図1に示すように、バス602を経由して、メモリ70に保存され、CPU60によって、読み出されて、オーディオCODEC50に対する制御信号に変換される。   The left voltage value V-LEFT 201, the right voltage value V-RIGHT 202, and the intermediate voltage value V-MIDDLE 203 are input to the 1ch, 2ch, and 3ch of the multi-channel multi-bit A / D converter 30 as described above. In the A / D converter 30, the voltage values of the input left voltage value V-LEFT 201, right voltage value V-RIGHT 202, and intermediate voltage value V-MIDDLE 203 can be set to arbitrary values in software (SW). A comparison between the possible voltage threshold and the reference voltage Ref is performed. As shown in FIG. 1, the comparison result is stored in the memory 70 via the bus 602, read by the CPU 60, and converted into a control signal for the audio CODEC 50.

つまり、CPU60は、多チャンネル多ビットのA/Dコンバータ30の該比較結果に基づいて、図5のフローチャートに示すような動作を行う。図5は、図1の携帯端末におけるA/Dコンバータ30、CPU60の動作の一例を示すフローチャートである。図5において、R→V変換回路20において変換された左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203の電圧値が、A/Dコンバータ30の1ch、2chおよび3chに入力されると(ステップS1)、入力されてきた左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203の電圧値とソフトウェア(SW)的に任意の値に設定することが可能な基準電圧Refとの間の比較が行なわれる(ステップS2)。   That is, the CPU 60 performs the operation shown in the flowchart of FIG. 5 based on the comparison result of the multi-channel multi-bit A / D converter 30. FIG. 5 is a flowchart showing an example of operations of the A / D converter 30 and the CPU 60 in the mobile terminal of FIG. In FIG. 5, the voltage values of the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202, and the intermediate voltage value V-MIDDLE 203 converted by the R → V conversion circuit 20 are 1ch, 2ch, and 3ch of the A / D converter 30. (Step S1), the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202 and the intermediate voltage value V-MIDDLE 203 that have been input and software (SW) are set to arbitrary values. A comparison is made with the reference voltage Ref that is possible (step S2).

A/Dコンバータ30は、左電圧値V−LEFT201、右電圧値V−RIGHT202または中電圧値V−MIDDLE203の電圧値が基準電圧Refよりも低い場合(ステップS2の「V−LEFT/V−RIGHT/V−MIDDLE203<SW設定参照電圧」の場合)、1ch、2ch、3chのうち、基準電圧Refよりも低い電圧値に該当するchの出力を「Low」レベルに設定して、メモリ70に出力する(ステップS3)。一方、左電圧値V−LEFT201、右電圧値V−RIGHT202または中電圧値V−MIDDLE203の電圧値が基準電圧Ref以上に高い場合(ステップS2の「V−LEFT/V−RIGHT/V−MIDDLE203≧SW設定参照電圧」の場合)、1ch、2ch、3chのうち、基準電圧Ref以上に高い電圧値に該当するchの出力を「High」レベルに設定して、メモリ70に出力する(ステップS4)。   When the voltage value of the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202, or the intermediate voltage value V-MIDDLE 203 is lower than the reference voltage Ref (the “V-LEFT / V-RIGHT” in step S2), the A / D converter 30 In the case of / V-MIDDLE203 <SW setting reference voltage ”), the output of the ch corresponding to the voltage value lower than the reference voltage Ref among the 1ch, 2ch, and 3ch is set to the“ Low ”level and output to the memory 70 (Step S3). On the other hand, when the voltage value of the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202 or the intermediate voltage value V-MIDDLE 203 is higher than the reference voltage Ref (“V-LEFT / V-RIGHT / V-MIDDLE 203 ≧ In the case of “SW setting reference voltage”, the output of the ch corresponding to the voltage value higher than the reference voltage Ref among the 1ch, 2ch, and 3ch is set to the “High” level and is output to the memory 70 (step S4). .

次に、CPU60は、メモリ70に保存されている1ch、2ch、3chそれぞれの出力レベル(「Low」レベル、「High」レベル)の組み合わせを判別する(ステップS5)。まず、組み合わせとして、1ch,3chの出力が「High」レベルで、2chの出力が「Low」レベルであった場合(ステップS5の「1ch=[High]、2ch=[Low]、3ch=[High]」の場合)、図4に示すように、4極プラグの2入力マイク対応型ヘッドセットと判別する(ステップS10)。なお、3chの出力が「High」レベルであった場合に、1ch、2chの出力レベルが前述の組み合わせ以外であった場合には、既存のオーディオ機器としては、該当するオーディオ機器プラグが存在していないものとして、判別処理を打ち切る。   Next, the CPU 60 determines combinations of output levels (“Low” level and “High” level) of 1ch, 2ch, and 3ch stored in the memory 70 (step S5). First, as a combination, when the output of 1ch and 3ch is “High” level and the output of 2ch is “Low” level (“1ch = [High], 2ch = [Low], 3ch = [High” in step S5). ]]), As shown in FIG. 4, it is determined that the headset has a four-pole plug and is compatible with a two-input microphone (step S10). In addition, when the output of 3ch is “High” level, and the output level of 1ch and 2ch is other than the above-mentioned combination, the corresponding audio device plug exists as an existing audio device. The discriminating process is aborted as if it is not present.

ステップS5において、3chの出力が「Low」レベルであった場合(ステップS5の「3ch=[Low]」の場合)、3極オーディオ機器プラグが接続されている場合であり、次に、1ch、2chの出力レベルの組み合わせを判別する(ステップS6)。組み合わせとして、1chの出力が「High」レベルで、2chの出力が「Low」レベルであった場合(ステップS6の「1ch=[High]、2ch=[Low]」の場合)、図4に示すように、イヤホンマイクと判別する(ステップS7)。また、1ch、2chの出力がともに「Low」レベルであった場合(ステップS6の「1ch=[Low]、2ch=[Low]」の場合)、図4に示すように、ヘッドホンと判別する(ステップS8)。また、1ch、2chの出力がともに「High」レベルであった場合(ステップS6の「1ch=[High]、2ch=[High]」の場合)、図4に示すように、ステレオマイクと判別する(ステップS9)。   In step S5, when the output of 3ch is at the “Low” level (in the case of “3ch = [Low]” in step S5), this is the case where the three-pole audio device plug is connected, and then the 1ch, A combination of output levels of 2ch is determined (step S6). As a combination, when the output of 1ch is “High” level and the output of 2ch is “Low” level (in the case of “1ch = [High], 2ch = [Low]” in step S6), it is shown in FIG. Thus, it is determined as an earphone microphone (step S7). Further, when the outputs of both 1ch and 2ch are at the “Low” level (“1ch = [Low], 2ch = [Low]” in step S6), it is determined as headphones as shown in FIG. 4 ( Step S8). If both the 1ch and 2ch outputs are at “High” level (“1ch = [High], 2ch = [High]” in step S6), it is determined as a stereo microphone as shown in FIG. (Step S9).

CPU60は、判別した結果に基づいて、接続されたオーディオ機器に適した回路への接続やオーディオ動作に切り替えるために、専用インタフェース601を介して、オーディオCODEC50に制御信号を出力して、オーディオCODEC50の動作を切り替えさせる。この結果、オーディオCODEC50の制御IO部から入出力セレクタ回路の制御部41に対する出力制御信号501,502,503の出力が、接続されたオーディオ機器プラグの判別結果に応じて、異なる値として出力される。したがって、入出力セレクタ回路42は、接続されたオーディオ機器に適した状態で、オーディオCODEC50からの出力信号(LEFT/RIGHT)を、ジャックインタフェース10のLEFT信号102、RIGHT信号103、MIDDLE信号104として提供し、また、逆に、ジャックインタフェース10からのLEFT信号102、RIGHT信号103、MIDDLE信号104をオーディオCODEC50への入力信号(LEFT/RIGHT)として供給する。   Based on the determined result, the CPU 60 outputs a control signal to the audio CODEC 50 via the dedicated interface 601 in order to switch to connection to a circuit suitable for the connected audio device or to an audio operation. Switch operation. As a result, the output of the output control signals 501, 502, and 503 from the control IO unit of the audio CODEC 50 to the control unit 41 of the input / output selector circuit is output as a different value depending on the determination result of the connected audio device plug. . Therefore, the input / output selector circuit 42 provides the output signal (LEFT / RIGHT) from the audio CODEC 50 as the LEFT signal 102, the RIGHT signal 103, and the MIDDLE signal 104 of the jack interface 10 in a state suitable for the connected audio device. Conversely, the LEFT signal 102, RIGHT signal 103, and MIDDLE signal 104 from the jack interface 10 are supplied as input signals (LEFT / RIGHT) to the audio CODEC 50.

前述のように、接続されたオーディオ機器プラグのピンが、スピーカ機能の場合には、「Low」レベルつまりSW設定基準電圧Refよりも低い電圧値が認識され、一方、マイク機能の場合には、「High」レベルつまりSW設定基準電圧値Ref以上に高い電圧値が認識されることとなる。したがって、オーディオCODEC50の制御IO部の出力制御信号501,502,503の出力の組み合わせによって、入出力セレクタ回路の制御部41においても、ジャックインタフェース10に接続されたオーディオ機器がヘッドホン、イヤホンマイク、ステレオマイクもしくは2入力マイク対応型ヘッドセットのいずれであるかを判別することができる。また、SW設定基準電圧値Refは、CPU60のソフトウェア制御によってメモリ70に記憶されており、必要に応じて、更新される。   As described above, when the pin of the connected audio equipment plug has the speaker function, a voltage value lower than the “Low” level, that is, the SW setting reference voltage Ref is recognized. On the other hand, in the case of the microphone function, A voltage value higher than the “High” level, that is, the SW setting reference voltage value Ref is recognized. Therefore, the audio device connected to the jack interface 10 is connected to the headphone, the earphone microphone, the stereo in the control unit 41 of the input / output selector circuit according to the combination of the output control signals 501, 502, and 503 of the control IO unit of the audio CODEC 50. It can be determined whether the headset is a microphone or a two-input microphone-compatible headset. The SW setting reference voltage value Ref is stored in the memory 70 by software control of the CPU 60, and is updated as necessary.

図6は、図1の携帯端末におけるオーディオ信号の入出力セレクタ回路42とその入出力セレクタ回路42を制御する制御部41を説明する説明図であり、制御部41には、オーディオ機器が未接続の際の回路誤動作を防止するために、ジャックインタフェース10からのプラグ認識信号101と、オーディオCODEC50の制御IO部からの出力制御信号501,502,503の出力と、が入力される。   FIG. 6 is an explanatory diagram for explaining the input / output selector circuit 42 for audio signals and the control unit 41 for controlling the input / output selector circuit 42 in the portable terminal of FIG. In order to prevent circuit malfunction at this time, the plug recognition signal 101 from the jack interface 10 and the output control signals 501, 502, and 503 from the control IO unit of the audio CODEC 50 are input.

制御部41は、図5のフローチャートにおいて示した通り、オーディオCODEC50の制御IO部からの出力制御信号501,502,503の出力の組み合わせに応じて、接続されたオーディオ機器プラグの種別を判別し、判別した結果に基づいて、図6の説明図に示す通り、入出力セレクタ回路42のスイッチSW−A421,SW−B422,SW−C423,SW−D424,SW−E425,SW−F426のON/OFF状態を切り替えて、接続されたオーディオ機器に適切なPASSを提供する。   As shown in the flowchart of FIG. 5, the control unit 41 determines the type of the connected audio device plug according to the combination of the output control signals 501, 502, and 503 from the control IO unit of the audio CODEC 50, Based on the determination result, as shown in the explanatory diagram of FIG. 6, the switches SW-A421, SW-B422, SW-C423, SW-D424, SW-E425, and SW-F426 of the input / output selector circuit 42 are turned on / off. Switch states to provide the appropriate PASS for the connected audio device.

ここに、スイッチSW−A421は、オーディオCODEC50からの出力信号(LEFT)をジャックインタフェースのLEFT信号102に接続するスイッチであり、SW−B422は、ジャックインタフェースのLEFT信号102をオーディオCODEC50への入力信号(LEFT)に接続するスイッチである。また、スイッチSW−C423は、オーディオCODEC50からの出力信号(RIGHT)をジャックインタフェースのRIGHT信号103に接続するスイッチであり、SW−D424は、ジャックインタフェースのRIGHT信号103をオーディオCODEC50への入力信号(RIGHT)に接続するスイッチである。また、スイッチSW−E425は、オーディオCODEC50からの出力信号(MIDDLE)をジャックインタフェースのMIDDLE信号104に接続するスイッチであり、SW−F426は、ジャックインタフェースのMIDDLE信号104をオーディオCODEC50への入力信号(MIDDLE)に接続するスイッチである。   Here, the switch SW-A 421 is a switch for connecting the output signal (LEFT) from the audio CODEC 50 to the LEFT signal 102 of the jack interface, and the SW-B 422 is an input signal to the audio CODEC 50 of the jack interface LEFT signal 102. This is a switch connected to (LEFT). The switch SW-C 423 is a switch for connecting the output signal (RIGHT) from the audio CODEC 50 to the RIGHT signal 103 of the jack interface, and the SW-D 424 is the input signal (input to the audio CODEC 50) of the RIGHT signal 103 of the jack interface. RIGHT). The switch SW-E 425 is a switch for connecting the output signal (MIDDLE) from the audio CODEC 50 to the MIDDLE signal 104 of the jack interface, and the SW-F 426 is an input signal (input to the audio CODEC 50) of the MIDDLE signal 104 of the jack interface. This is a switch connected to MIDDLE).

接続されたオーディオ機器がヘッドホンとして判別された場合は、図6に示すSW−A421とSW−C423とが、また、接続されたオーディオ機器がイヤホンマイクとして判別された場合は、図6に示すSW−B422とSW−C423とが、また、接続されたオーディオ機器がステレオマイクとして判別された場合は、図6に示すSW−B422とSW−D424とが、それぞれ、ON状態となる。また、4極プラグにて使用可能となる2入力マイク対応型ヘッドセットとして判別された場合は、図6に示すSW−B422,SW−C423およびSW−F426がON状態となる。   When the connected audio device is determined as a headphone, SW-A 421 and SW-C 423 shown in FIG. 6 are used. When the connected audio device is determined as an earphone microphone, the SW shown in FIG. -B422 and SW-C423, and when the connected audio device is determined as a stereo microphone, SW-B422 and SW-D424 shown in FIG. 6 are turned on. If it is determined that the headset is compatible with a two-input microphone that can be used with a four-pole plug, SW-B422, SW-C423, and SW-F426 shown in FIG. 6 are turned on.

以上の切り替え動作によって、図6において、ジャックインタフェース10のLEFT信号102、RIGHT信号103およびMIDDLE信号104は、接続されたオーディオ機器の種類に応じて、オーディオCODEC50の適切なオーディオ信号と接続される。   With the above switching operation, the LEFT signal 102, RIGHT signal 103, and MIDDLE signal 104 of the jack interface 10 in FIG. 6 are connected to an appropriate audio signal of the audio CODEC 50 according to the type of the connected audio device.

さらに、図7に示すように、ジャックインタフェース10から入出力セレクタ回路の制御部41に入力されるプラグ認識信号101は、オーディオCODEC50の制御部にも入力されており、オーディオCODEC50の制御部は、プラグ認識信号101によって、ジャックインタフェース10にオーディオ機器が接続されたことを検出した場合、CPU60に対して専用インタフェース601を介して、割り込みを発生させる。図7は、図1の携帯端末においてジャックインタフェース10にオーディオ機器が接続されたことをCPU60に通知する経路の一例を説明する説明図である。   Furthermore, as shown in FIG. 7, the plug recognition signal 101 input from the jack interface 10 to the control unit 41 of the input / output selector circuit is also input to the control unit of the audio CODEC 50, and the control unit of the audio CODEC 50 When it is detected by the plug recognition signal 101 that an audio device is connected to the jack interface 10, an interrupt is generated for the CPU 60 via the dedicated interface 601. FIG. 7 is an explanatory diagram illustrating an example of a route for notifying the CPU 60 that an audio device is connected to the jack interface 10 in the mobile terminal of FIG.

専用インタフェース601を介してオーディオ機器が接続されたことを示す割り込みが発生すると、CPU60は、多チャンネル多ビットA/Dコンバータ30により検出された電圧値とSW設定基準電圧Refとの比較結果に基づいて、接続されたオーディオ機器の種別を判別する動作を行い、判別した結果に基づいて、オーディオCODEC50の制御IO部に対して制御信号を生成して出力する。この結果、CPU60からの制御信号により、接続されたオーディオ機器に適した状態にオーディオCODEC50の動作が切り替えられると同時に、入出力セレクタ回路42の接続状態も、オーディオCODEC50の制御IO部からの出力制御信号501,502,503に基づいて、接続されたオーディオ機器に適した状態に設定される。而して、適切なソフトウェアの設定値(出力ボリューム、入力ゲインなど)によって、オーディオの入出力動作を開始させることができる。   When an interrupt indicating that an audio device is connected via the dedicated interface 601 is generated, the CPU 60 is based on the comparison result between the voltage value detected by the multi-channel multi-bit A / D converter 30 and the SW setting reference voltage Ref. Then, an operation for determining the type of the connected audio device is performed, and a control signal is generated and output to the control IO unit of the audio CODEC 50 based on the determined result. As a result, the control signal from the CPU 60 switches the operation of the audio CODEC 50 to a state suitable for the connected audio device. At the same time, the connection state of the input / output selector circuit 42 is also controlled by the output from the control IO unit of the audio CODEC 50. Based on the signals 501, 502, and 503, a state suitable for the connected audio device is set. Thus, an audio input / output operation can be started by an appropriate software setting value (output volume, input gain, etc.).

(第1の実施形態の効果の説明)
以上のように、本第1の実施形態によれば、一つのジャックインタフェース10のみで、モノラルイヤホン(2極ジャック)、ステレオヘッドホン(3極ジャック)、イヤホンマイク(3極ジャック)、ステレオマイク(3極ジャック)、2入力マイク対応型ヘッドセット(4極ジャック)といった複数種のオーディオ機器、2極プラグ、3極プラグおよび4極プラグに適応することが可能となり、小型化された携帯端末であっても、その物理的なサイズを損ねることなく、オーディオ機能を十分に提供することが可能となる。
(Description of the effect of the first embodiment)
As described above, according to the first embodiment, only one jack interface 10 is used, and the monaural earphone (2-pole jack), stereo headphone (3-pole jack), earphone microphone (3-pole jack), stereo microphone ( It is possible to adapt to multiple types of audio equipment such as a 3-pole jack) and 2-input microphone compatible headset (4-pole jack), a 2-pole plug, a 3-pole plug, and a 4-pole plug. Even if it exists, it becomes possible to provide an audio | voice function fully, without impairing the physical size.

また、オーディオ機器を接続した後の種別判定と各オーディオ機器に適する設定はソフトウェア制御により自動的に行なわれるため、利用者がわざわざ切り替えの操作を行なう必要がなく、さらに、適用するジャックインタフェースの誤挿入防止にも役立ち、故障率の低減にも役立つという効果も得られる。   In addition, since the type determination after connecting the audio device and the setting suitable for each audio device are automatically performed by software control, there is no need for the user to perform the switching operation, and an error in the jack interface to be applied. This also helps prevent insertion and helps reduce the failure rate.

(第2の実施形態の構成例)
次に、本発明による携帯端末の第2の実施形態として、ジャックインタフェースに接続されるオーディオ機器の各チャンネルの変換後の電圧値と電圧閾値つまり基準電圧との比較を比較回路によりハードウェア(HW)的に行う場合について説明する。図8は、本発明による携帯端末の第2の実施形態におけるブロック構成の一例を示すブロック構成図である。
(Configuration example of the second embodiment)
Next, as a second embodiment of the portable terminal according to the present invention, a comparison circuit compares the converted voltage value of each channel of an audio device connected to the jack interface with a voltage threshold, that is, a reference voltage, by hardware (HW ) Will be described. FIG. 8 is a block configuration diagram showing an example of a block configuration in the second embodiment of the portable terminal according to the present invention.

図8を参照すると、本第2の実施形態による携帯端末は、オーディオ機器のプラグが接続される4極のジャックインタフェース10と、LEFTチャンネル、RIGHTチャンネルおよびMIDDLEチャンネルのインピーダンス特性を電圧値つまり左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203へそれぞれ変換するR→V変換回路20と、それぞれ変換された電圧値つまり左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203を、電圧閾値つまり第1の基準電圧851、第2の基準電圧852および第3の基準電圧853とそれぞれ比較する第1の比較回路31、第2の比較回路32および第3の比較回路33と、第1の基準電圧851、第2の基準電圧852および第3の基準電圧853を1ch、2chおよび3chから出力するD/Aコンバータ85、右電圧値V−RIGHT202、中電圧値V−MIDDLE203を1ch、2chから入力して、RIGHTチャンネル、MIDDLEチャンネルそれぞれの変換された電圧値をデジタル値に変換する多チャンネル多ビットのA/Dコンバータ35と、CPU60と、各回路を接続するバス602と、を有して構成されている。   Referring to FIG. 8, the portable terminal according to the second embodiment has impedance characteristics of a 4-pole jack interface 10 to which a plug of an audio device is connected, a LEFT channel, a RIGHT channel, and a MIDDLE channel. R → V conversion circuit 20 for converting the value V-LEFT 201, the right voltage value V-RIGHT 202, and the intermediate voltage value V-MIDDLE 203, respectively, and the converted voltage values, that is, the left voltage value V-LEFT 201 and the right voltage value V-RIGHT 202, respectively. And the first comparison circuit 31, the second comparison circuit 32, which compare the medium voltage value V-MIDDLE 203 with the voltage threshold, that is, the first reference voltage 851, the second reference voltage 852, and the third reference voltage 853, respectively. The third comparison circuit 33 and the first reference voltage 85 The D / A converter 85 that outputs the second reference voltage 852 and the third reference voltage 853 from the 1ch, 2ch, and 3ch, the right voltage value V-RIGHT 202, and the intermediate voltage value V-MIDDLE 203 are input from the 1ch and 2ch. A multi-channel multi-bit A / D converter 35 that converts the converted voltage values of the RIGHT channel and the MIDDLE channel into digital values, a CPU 60, and a bus 602 that connects each circuit. Yes.

D/Aコンバータ85は、バス602を介して、CPU60と接続され、第1の基準電圧851、第2の基準電圧852および第3の基準電圧853の電圧値をソフトウェア(SW)制御により可変に設定することができる。また、A/Dコンバータ35が検出したRIGHTチャンネル、MIDDLEチャンネルの電圧値は、バス602を介して、CPU60に入力される。   The D / A converter 85 is connected to the CPU 60 via the bus 602, and the voltage values of the first reference voltage 851, the second reference voltage 852, and the third reference voltage 853 are variably controlled by software (SW) control. Can be set. The voltage values of the RIGHT channel and MIDDLE channel detected by the A / D converter 35 are input to the CPU 60 via the bus 602.

さらに、オーディオCODEC50と、ジャックインタフェース10のプラグ認識信号101を受け取るとともに入出力セレクタ回路42の切り替えを制御する入出力セレクタ回路の制御部41と、オーディオCODEC50の各入出力信号(LEFT/RIGHT)をジャックインタフェース10のLEFT信号102、RIGHT信号103およびMIDDLE信号104に接続する入出力セレクタ回路42と、を有している。また、オーディオCODEC50は、CPU60と専用インタフェース601によって接続されて構成される。   Further, the control unit 41 of the input / output selector circuit that receives the audio CODEC 50, the plug recognition signal 101 of the jack interface 10 and controls the switching of the input / output selector circuit 42, and the input / output signals (LEFT / RIGHT) of the audio CODEC 50 are sent. And an input / output selector circuit 42 connected to the LEFT signal 102, the RIGHT signal 103, and the MIDDLE signal 104 of the jack interface 10. The audio CODEC 50 is configured by being connected to the CPU 60 by a dedicated interface 601.

第1の比較回路31、第2の比較回路32および第3の比較回路33それぞれの比較結果である第1の比較結果311、第2の比較結果312および第3の比較結果313は、入出力セレクタ回路42の制御部41およびオーディオCODEC50の制御IO部に入力され、ジャックインタフェース10に接続されたオーディオ機器のプラグの種類を自動的に識別して、入出力セレクタ回路42の接続の切り替えおよびオーディオCODEC50の動作の切り替えを迅速に行う構成とされている。   The first comparison result 311, the second comparison result 312 and the third comparison result 313, which are the comparison results of the first comparison circuit 31, the second comparison circuit 32, and the third comparison circuit 33, are input / output. The type of the plug of the audio device that is input to the control unit 41 of the selector circuit 42 and the control IO unit of the audio CODEC 50 and connected to the jack interface 10 is automatically identified, and the connection switching of the input / output selector circuit 42 and the audio are performed. The operation of the CODEC 50 is quickly switched.

本第2の実施形態においては、オーディオ用のジャックインタフェース10は、4極プラグ、3極プラグおよび2極プラグに対応している。4極プラグの場合は、LEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルおよびGNDが配線されていて、LEFT信号102、RIGHT信号103、MIDDLE信号104およびGNDが接続されて、2入力マイク対応型ヘッドセットやステレオイヤホンマイクにも対応することができる。   In the second embodiment, the audio jack interface 10 corresponds to a 4-pole plug, a 3-pole plug, and a 2-pole plug. In the case of the 4-pole plug, the LEFT channel, RIGHT channel, MIDDLE channel, and GND are wired, and the LEFT signal 102, RIGHT signal 103, MIDDLE signal 104, and GND are connected, and a headset or stereo that supports two-input microphones. Earphone microphone can also be supported.

図9は、図8の携帯端末に4極オーディオ機器プラグを接続した状態を説明する説明図である。つまり、図9に示すように、4極オーディオ機器プラグ80のLEFTチャンネルインピーダンスR1、RIGHTチャンネルインピーダンスR2、MIDDLEチャンネルインピーダンスR3およびGNDが、ジャックインタフェース10のそれぞれのジャックに挿入されて、ジャックインタフェース10のLEFT信号102、RIGHT信号103、MIDDLE信号104およびGND(接地部)のそれぞれに接続され、R→V変換回路20および入出力セレクタ回路42に接続される。   FIG. 9 is an explanatory diagram for explaining a state in which a 4-pole audio device plug is connected to the mobile terminal of FIG. That is, as shown in FIG. 9, the LEFT channel impedance R1, RIGHT channel impedance R2, MIDDLE channel impedance R3 and GND of the 4-pole audio equipment plug 80 are inserted into the respective jacks of the jack interface 10, and the jack interface 10 The LEFT signal 102, the RIGHT signal 103, the MIDDLE signal 104, and the GND (grounding unit) are connected to the R → V conversion circuit 20 and the input / output selector circuit 42, respectively.

また、図10は、図8の携帯端末に3極オーディオ機器プラグを接続した状態を説明する説明図である。つまり、図10に示すように、3極オーディオ機器プラグ90のLEFTチャンネルインピーダンスR1、RIGHTチャンネルインピーダンスR2およびGNDが、ジャックインタフェース10のそれぞれのジャックに挿入され、ジャックインタフェース10のLEFT信号102、RIGHT信号103およびGND(接地部)のそれぞれに接続され、R→V変換回路20および入出力セレクタ回路42に接続される。なお、ジャックインタフェース10のMIDDLE信号104は、GND(接地部)に接続される。   FIG. 10 is an explanatory diagram for explaining a state in which a three-pole audio device plug is connected to the portable terminal of FIG. That is, as shown in FIG. 10, the LEFT channel impedance R1, RIGHT channel impedance R2 and GND of the three-pole audio device plug 90 are inserted into the respective jacks of the jack interface 10, and the LEFT signal 102 and RIGHT signal of the jack interface 10 are inserted. 103 and GND (grounding unit), respectively, and connected to the R → V conversion circuit 20 and the input / output selector circuit 42. The MIDDLE signal 104 of the jack interface 10 is connected to GND (grounding unit).

また、図11は、図8の携帯端末に2極オーディオ機器プラグを接続した状態を説明する説明図である。つまり、図11に示すように、2極オーディオ機器プラグ95のLEFTチャンネルインピーダンスR1およびGNDが、ジャックインタフェース10のそれぞれのジャックに挿入され、ジャックインタフェース10のLEFT信号102およびGND(接地部)のそれぞれに接続され、R→V変換回路20および入出力セレクタ回路42に接続される。なお、ジャックインタフェース10のRIGHT信号103およびMIDDLE信号104は、GND(接地部)に接続される。   Moreover, FIG. 11 is explanatory drawing explaining the state which connected the 2 pole audio equipment plug to the portable terminal of FIG. That is, as shown in FIG. 11, the LEFT channel impedances R1 and GND of the two-pole audio device plug 95 are inserted into the respective jacks of the jack interface 10, and the LEFT signal 102 and the GND (grounding unit) of the jack interface 10 are respectively To the R → V conversion circuit 20 and the input / output selector circuit 42. The RIGHT signal 103 and the MIDDLE signal 104 of the jack interface 10 are connected to GND (grounding unit).

図12は、図8の携帯端末におけるLEFT信号102、RIGHT信号103およびMIDDLE信号104の電圧値とそれぞれの電圧閾値と比較する比較回路の構成の一例を示す構成図である。図12に示すように、LEFT信号102、RIGHT信号103およびMIDDLE信号104のインピーダンス特性をそれぞれ電圧変換した左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203とそれぞれの電圧閾値つまり第1の基準電圧851、第2の基準電圧852および第3の基準電圧853とを比較する比較回路として、第1の比較回路31、第2の比較回路32および第3の比較回路33が備えられており、それぞれの比較回路における比較結果が、第1の比較結果311、第2の比較結果312および第3の比較結果313として出力され、図8に示すように、入出力セレクタ回路42の制御部41およびオーディオCODEC50の制御IO部に供給される。   FIG. 12 is a block diagram showing an example of the configuration of a comparison circuit that compares the voltage values of the LEFT signal 102, the RIGHT signal 103, and the MIDDLE signal 104 with respective voltage thresholds in the mobile terminal of FIG. As shown in FIG. 12, the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202, and the intermediate voltage value V-MIDDLE 203 obtained by converting the impedance characteristics of the LEFT signal 102, the RIGHT signal 103, and the MIDDLE signal 104, respectively, and the respective voltages are shown. The first comparison circuit 31, the second comparison circuit 32, and the third comparison circuit 33 are used as comparison circuits that compare the threshold, that is, the first reference voltage 851, the second reference voltage 852, and the third reference voltage 853. The comparison results in the respective comparison circuits are output as the first comparison result 311, the second comparison result 312, and the third comparison result 313, as shown in FIG. The control unit 41 and the control IO unit of the audio CODEC 50 are supplied.

図13は、図8の携帯端末におけるオーディオ信号の入出力セレクタ回路42と該入出力セレクタ回路42を制御する制御部41を説明する説明図である。図13に示すように、制御部41には、第1の比較回路31、第2の比較回路32および第3の比較回路33それぞれから出力される第1の比較結果311、第2の比較結果312および第3の比較結果313が、オーディオ機器が未接続の際の回路誤動作や未設定状態のオーディオCODEC50からの出力を防止するために、ジャックインタフェース10から出力されるプラグ認識信号101およびオーディオCODEC50の制御IO部から出力される出力制御信号501とともに入力される。   FIG. 13 is an explanatory diagram for explaining the audio signal input / output selector circuit 42 and the control unit 41 for controlling the input / output selector circuit 42 in the portable terminal of FIG. As shown in FIG. 13, the control unit 41 includes a first comparison result 311 and a second comparison result output from the first comparison circuit 31, the second comparison circuit 32, and the third comparison circuit 33, respectively. 312 and the third comparison result 313 indicate that the plug recognition signal 101 and the audio CODEC 50 output from the jack interface 10 are used to prevent circuit malfunction when the audio device is not connected and output from the audio CODEC 50 in the unset state. It is input together with the output control signal 501 output from the control IO unit.

制御部41は、第1の比較結果311、第2の比較結果312および第3の比較結果313の組み合わせに応じて、ジャックインタフェース10に接続されたオーディオ機器プラグの種別を判別し、その判別結果に基づいて、入出力セレクタ回路42のスイッチSW−A421,SW−B422,SW−C423,SW−D424,SW−E425,SW−F426のON/OFF状態を切り替えて、接続されたオーディオ機器に適切なPASSを提供する。   The control unit 41 determines the type of the audio device plug connected to the jack interface 10 according to the combination of the first comparison result 311, the second comparison result 312, and the third comparison result 313, and the determination result The switch SW-A421, SW-B422, SW-C423, SW-D424, SW-E425, and SW-F426 of the input / output selector circuit 42 are switched on / off based on the PASS.

ここに、スイッチSW−A421は、オーディオCODEC50からの出力信号(LEFT)をジャックインタフェースのLEFT信号102に接続するスイッチであり、SW−B422は、ジャックインタフェースのLEFT信号102をオーディオCODEC50への入力信号(LEFT)に接続するスイッチである。また、スイッチSW−C423は、オーディオCODEC50からの出力信号(RIGHT)をジャックインタフェースのRIGHT信号103に接続するスイッチであり、SW−D424は、ジャックインタフェースのRIGHT信号103をオーディオCODEC50への入力信号(RIGHT)に接続するスイッチである。また、スイッチSW−E425は、オーディオCODEC50からの出力信号(MIDDLE)をジャックインタフェースのMIDDLE信号104に接続するスイッチであり、SW−F426は、ジャックインタフェースのMIDDLE信号104をオーディオCODEC50への入力信号(MIDDLE)に接続するスイッチである。   Here, the switch SW-A 421 is a switch for connecting the output signal (LEFT) from the audio CODEC 50 to the LEFT signal 102 of the jack interface, and the SW-B 422 is an input signal to the audio CODEC 50 of the jack interface LEFT signal 102. This is a switch connected to (LEFT). The switch SW-C 423 is a switch for connecting the output signal (RIGHT) from the audio CODEC 50 to the RIGHT signal 103 of the jack interface, and the SW-D 424 is the input signal (input to the audio CODEC 50) of the RIGHT signal 103 of the jack interface. RIGHT). The switch SW-E425 is a switch for connecting the output signal (MIDDLE) from the audio CODEC 50 to the MIDDLE signal 104 of the jack interface, and the SW-F426 is an input signal (input to the audio CODEC 50) of the MIDDLE signal 104 of the jack interface. This is a switch connected to MIDDLE).

図14は、図8の携帯端末においてジャックインタフェース10にオーディオ機器が接続されたことをCPU60に通知する経路の一例を説明する説明図である。図14に示すように、ジャックインタフェース10から入出力セレクタ回路42の制御部41に入力されるプラグ認識信号101は、オーディオCODEC50の制御部にも入力されており、オーディオCODEC50の制御部は、プラグ認識信号101によって、ジャックインタフェース10にオーディオ機器が接続されたことを検出した場合、CPU60に対して専用インタフェース601を介して通知する。   FIG. 14 is an explanatory diagram illustrating an example of a path for notifying the CPU 60 that an audio device is connected to the jack interface 10 in the mobile terminal of FIG. As shown in FIG. 14, the plug recognition signal 101 input from the jack interface 10 to the control unit 41 of the input / output selector circuit 42 is also input to the control unit of the audio CODEC 50, and the control unit of the audio CODEC 50 When it is detected by the recognition signal 101 that an audio device is connected to the jack interface 10, the CPU 60 is notified via the dedicated interface 601.

なお、図14に示すように、オーディオCODEC50の制御部には、第1の比較回路31、第2の比較回路32および第3の比較回路33それぞれから出力される第1の比較結果311、第2の比較結果312および第3の比較結果313が入力されており、オーディオCODEC50の制御部は、CPU60に対して専用インタフェース601を介して第1の比較結果311、第2の比較結果312および第3の比較結果313を通知するとともに、第1の比較結果311、第2の比較結果312および第3の比較結果313の組み合わせに応じて、ジャックインタフェース10に接続されたオーディオ機器プラグの種別を判別し、その判別結果に基づいて、接続されたオーディオ機器に適した状態にオーディオCODEC50の動作を切り替える。   As shown in FIG. 14, the control unit of the audio CODEC 50 includes a first comparison result 311 output from the first comparison circuit 31, a second comparison circuit 32, and a third comparison circuit 33. 2 comparison result 312 and third comparison result 313 are input, and the control unit of the audio CODEC 50 transmits the first comparison result 311, the second comparison result 312, and the second comparison result to the CPU 60 via the dedicated interface 601. 3 comparison result 313 and the type of the audio device plug connected to the jack interface 10 is determined according to the combination of the first comparison result 311, the second comparison result 312, and the third comparison result 313. Then, based on the determination result, the operation of the audio CODEC 50 is performed in a state suitable for the connected audio device. Replace Ri.

また、図14に示すように、第1の比較回路31、第2の比較回路32および第3の比較回路33それぞれに入力される第1の基準電圧851、第2の基準電圧852および第3の基準電圧853は、CPU60からバス602を介してソフトウェア(SW)制御により指定される制御信号に基づいて、D/Aコンバータ85により生成される。   As shown in FIG. 14, the first reference voltage 851, the second reference voltage 852 and the third reference voltage 851, which are input to the first comparison circuit 31, the second comparison circuit 32, and the third comparison circuit 33, respectively. The reference voltage 853 is generated by the D / A converter 85 based on a control signal designated by the software (SW) control from the CPU 60 via the bus 602.

図15は、図8の携帯端末に接続されるオーディオ機器プラグの各チャンネルのインピーダンスの大きさを示す説明図であり、LEFT信号102、RIGHT信号103およびMIDDLE信号104と各オーディオ機器プラグとの対応関係を示すインピーダンス特性表である。図15に示すように、ヘッドホン、イヤホンマイク、ステレオマイク、2入力マイク対応型ヘッドセット(2入力型イヤホンマイク)、ステレオイヤホンマイク、モノラルスピーカ/イヤホンによって、それぞれのオーディオ機器プラグの各チャンネルのインピーダンスが異なっている。   FIG. 15 is an explanatory diagram showing the magnitude of impedance of each channel of the audio equipment plug connected to the portable terminal of FIG. 8, and the correspondence between the LEFT signal 102, the RIGHT signal 103 and the MIDDLE signal 104 and each audio equipment plug. It is an impedance characteristic table | surface which shows a relationship. As shown in FIG. 15, the headphone, earphone microphone, stereo microphone, 2-input microphone-compatible headset (2-input earphone microphone), stereo earphone microphone, monaural speaker / earphone, impedance of each channel of each audio device plug Is different.

例えば、3極オーディオ機器プラグであるヘッドホンの場合、LEFTチャンネル、RIGHTチャンネルとも、スピーカ機能であり、LEFTチャンネルインピーダンスR1、RIGHTチャンネルインピーダンスR2は、いずれも、300Ω以下であり、約8Ω〜約150Ωの間である。また、MIDDLEチャンネルインピーダンスR3は、GND(接地部)に接続されていて、0Ωである。   For example, in the case of headphones that are three-pole audio equipment plugs, both the LEFT channel and the RIGHT channel have speaker functions, and the LEFT channel impedance R1 and the RIGHT channel impedance R2 are both 300Ω or less, and about 8Ω to about 150Ω. Between. The MIDDLE channel impedance R3 is connected to GND (grounding unit) and is 0Ω.

また、4極オーディオ機器プラグである2入力マイク対応型ヘッドセット(2入力型イヤホンマイク)の場合、LEFTチャンネル、MIDDLEチャンネルはともにマイク機能であり、LEFTチャンネルインピーダンスR1、MIDDLEチャンネルインピーダンスR3は、ともに、約1KΩ以上の無限大(∞)と等価であり、一方、RIGHTチャンネルはスピーカ機能であり、RIGHTチャンネルインピーダンスR2は、300Ω以下であり、約8Ω〜約150Ωの間である。   In the case of a 2-input microphone compatible headset (2-input earphone microphone) that is a 4-pole audio equipment plug, both the LEFT channel and the MIDDLE channel have a microphone function, and the LEFT channel impedance R1 and the MIDDLE channel impedance R3 are both The RIGHT channel is a speaker function, and the RIGHT channel impedance R2 is 300Ω or less, and is between about 8Ω and about 150Ω.

また、2極オーディオ機器プラグであるモノラルスピーカ/イヤホンの場合、LEFTチャンネルはスピーカ機能であり、LEFTチャンネルインピーダンスR1は、300Ω以下であり、約8Ω〜約150Ωの間である。また、RIGHTチャンネルインピーダンスR2、MIDDLEチャンネルインピーダンスR3は、GND(接地部)に接続されていて、0Ωである。   In the case of a monaural speaker / earphone that is a two-pole audio device plug, the LEFT channel is a speaker function, and the LEFT channel impedance R1 is 300Ω or less, and is between about 8Ω and about 150Ω. The RIGHT channel impedance R2 and the MIDDLE channel impedance R3 are connected to GND (ground portion) and are 0Ω.

(第2の実施形態の動作の説明)
次に、図8に示す携帯端末の動作の一例について説明する。図9ないし図11のいずれかに示すように、図8の携帯端末のジャックインタフェース10にオーディオ機器の4極または3極または2極のプラグが接続されると、ジャックインタフェース10のLEFT信号102、RIGHT信号103およびMIDDLE信号104として、R→V変換回路20に入力される。
(Description of the operation of the second embodiment)
Next, an example of the operation of the mobile terminal illustrated in FIG. 8 will be described. As shown in any of FIGS. 9 to 11, when a 4-pole, 3-pole, or 2-pole plug of an audio device is connected to the jack interface 10 of the portable terminal of FIG. 8, the LEFT signal 102 of the jack interface 10; RIGHT signal 103 and MIDDLE signal 104 are input to R → V conversion circuit 20.

R→V変換回路20は、オーディオ機器の4極または3極または2極のプラグのLEFTチャンネルインピーダンスR1、RIGHTチャンネルインピーダンスR2およびMIDDLEチャンネルインピーダンスR3を、電圧に変換して、それぞれ、左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203として出力する。ここで、図15に説明したように、左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203は、オーディオ機器の種別に応じて、つまり、オーディオ機器プラグの各ピンが有する機能(マイクもしくはスピーカ)のインピーダンス特性に応じて、それぞれに異なる電圧値に変換されている。   The R → V conversion circuit 20 converts the LEFT channel impedance R1, the RIGHT channel impedance R2, and the MIDDLE channel impedance R3 of the 4-pole, 3-pole, or 2-pole plug of the audio device into voltages, and the left voltage value V -LEFT 201, right voltage value V-RIGHT 202 and medium voltage value V-MIDDLE 203 are output. Here, as described in FIG. 15, the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202, and the medium voltage value V-MIDDLE 203 depend on the type of audio device, that is, each pin of the audio device plug is Depending on the impedance characteristic of the function (microphone or speaker) it has, it is converted to a different voltage value.

R→V変換回路20から出力された左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203は、図8に示すように、第1の比較回路31、第2の比較回路32および第3の比較回路33に入力され、さらに、右電圧値V−RIGHT202、中電圧値V−MIDDLE203は、A/Dコンバータ35のch1、ch2にそれぞれ入力される。   As shown in FIG. 8, the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202, and the intermediate voltage value V-MIDDLE 203 output from the R → V conversion circuit 20 are the first comparison circuit 31 and the second comparison circuit. The right voltage value V-RIGHT 202 and the intermediate voltage value V-MIDDLE 203 are input to the ch 1 and ch 2 of the A / D converter 35, respectively, input to the circuit 32 and the third comparison circuit 33.

第1の比較回路31、第2の比較回路32および第3の比較回路33においては、R→V変換回路20からの左電圧値V−LEFT201、右電圧値V−RIGHT202および中電圧値V−MIDDLE203と、ソフトウェア(SW)制御により設定されているD/Aコンバータ85からの第1の基準電圧851、第2の基準電圧852および第3の基準電圧853とを、それぞれ、比較し、その結果を、第1の比較結果311、第2の比較結果312および第3の比較結果313として出力する。   In the first comparison circuit 31, the second comparison circuit 32, and the third comparison circuit 33, the left voltage value V-LEFT 201, the right voltage value V-RIGHT 202, and the intermediate voltage value V− from the R → V conversion circuit 20. Compare the MIDDLE 203 with the first reference voltage 851, the second reference voltage 852, and the third reference voltage 853 from the D / A converter 85 set by software (SW) control. Are output as the first comparison result 311, the second comparison result 312, and the third comparison result 313.

第1の比較回路31、第2の比較回路32および第3の比較回路33それぞれから出力された第1の比較結果311、第2の比較結果312および第3の比較結果313は、図8に示すように、入出力セレクタ回路42の制御部41およびオーディオCODEC50の制御IO部に入力され、接続されたオーディオ機器に適応した接続状態およびオーディオ信号のCODEC動作を可能とするとともに、第1の比較結果311、第2の比較結果312および第3の比較結果313を、つまり、入出力セレクタ回路42の接続状態、オーディオCODEC50の動作状態を、専用インタフェース601を介してCPU60(つまりソフトウェア(SW))に通知することが可能となる。   The first comparison result 311, the second comparison result 312 and the third comparison result 313 output from the first comparison circuit 31, the second comparison circuit 32, and the third comparison circuit 33, respectively, are shown in FIG. As shown in the figure, the control unit 41 of the input / output selector circuit 42 and the control IO unit of the audio CODEC 50 are input to enable the connection state suitable for the connected audio device and the CODEC operation of the audio signal, and the first comparison The result 311, the second comparison result 312, and the third comparison result 313, that is, the connection state of the input / output selector circuit 42 and the operation state of the audio CODEC 50 are sent to the CPU 60 (that is, software (SW)) via the dedicated interface 601. Can be notified.

また、右電圧値V−RIGHT202、中電圧値V−MIDDLE203が入力されたA/Dコンバータは、右電圧値V−RIGHT202、中電圧値V−MIDDLE203を、デジタル信号に変換して、バス602を介して、CPU60に通知する。CPU60は、デジタル変換された右電圧値V−RIGHT202、中電圧値V−MIDDLE203に基づいて、ジャックインタフェース10に接続されたオーディオ機器プラグが2極プラグ、3極プラグ、4極プラグのいずれかを判別することが可能である。   Further, the A / D converter to which the right voltage value V-RIGHT 202 and the intermediate voltage value V-MIDDLE 203 are input converts the right voltage value V-RIGHT 202 and the intermediate voltage value V-MIDDLE 203 into a digital signal, and uses the bus 602. To the CPU 60. The CPU 60 determines whether the audio device plug connected to the jack interface 10 is a 2-pole plug, a 3-pole plug, or a 4-pole plug based on the digitally converted right voltage value V-RIGHT 202 and medium voltage value V-MIDDLE 203. It is possible to determine.

つまり、図15の特性表に示すように、MIDDLE信号104のインピーダンスが0Ω(GND)(つまり中電圧値V−MIDDLE203が0V)の場合は、4極プラグ以外であることを示しており、かかる場合において、RIGHT信号103のインピーダンスが0Ω(GND)(つまり右電圧値V−RIGHT202が0V)の場合は、2極プラグであることを示し、一方、RIGHT信号103のインピーダンスが0Ω(GND)(つまり右電圧値V−RIGHT202が0V)ではない場合は、3極プラグであることを示している。また、MIDDLE信号104のインピーダンスが0Ω(GND)(つまり中電圧値V−MIDDLE203が0V)ではない場合は、4極プラグであることを示している。   That is, as shown in the characteristic table of FIG. 15, when the impedance of the MIDDLE signal 104 is 0Ω (GND) (that is, the medium voltage value V-MIDDLE 203 is 0 V), it indicates that the plug is not a four-pole plug. In this case, when the impedance of the RIGHT signal 103 is 0Ω (GND) (that is, the right voltage value V-RIGHT 202 is 0 V), it indicates a two-pole plug, while the impedance of the RIGHT signal 103 is 0Ω (GND) ( That is, when the right voltage value V-RIGHT 202 is not 0 V), it indicates a three-pole plug. Further, when the impedance of the MIDDLE signal 104 is not 0Ω (GND) (that is, the medium voltage value V-MIDDLE 203 is 0 V), it indicates that the plug is a four-pole plug.

また、ジャックインタフェース10は、オーディオ機器プラグが接続されたことを示すプラグ認識信号101を生成して、入出力セレクタ回路42の制御部41およびオーディオCODEC50の制御IO部に対して出力して、入出力セレクタ回路42の制御部41およびオーディオCODEC50の制御IO部の動作タイミングを制御する。さらに、ジャックインタフェース10からのプラグ認識信号101を受け取ったオーディオCODEC50の制御IO部は、専用インタフェース601を介してCPU60(つまりソフトウェア(SW))に通知することが可能である。   The jack interface 10 also generates a plug recognition signal 101 indicating that an audio device plug has been connected, and outputs the plug recognition signal 101 to the control unit 41 of the input / output selector circuit 42 and the control IO unit of the audio CODEC 50. The operation timing of the control unit 41 of the output selector circuit 42 and the control IO unit of the audio CODEC 50 is controlled. Further, the control IO unit of the audio CODEC 50 that has received the plug recognition signal 101 from the jack interface 10 can notify the CPU 60 (that is, software (SW)) via the dedicated interface 601.

CPU60は、オーディオCODEC50の制御IO部からのプラグ認識信号101を受信すると、図16のフローチャートに示すような動作を行う。図16は、図8の携帯端末におけるCPU60の動作の一例を示すフローチャートである。図16において、オーディオCODEC50の制御IO部からのプラグ認識信号101を受信すると(ステップS21のYes)、A/Dコンバータ35のch1、ch2の電圧検出結果つまり右電圧値V−RIGHT202、中電圧値V−MIDDLE203のデジタル値を、バス602を介してA/Dコンバータ35より読み取る(ステップS22)。   When receiving the plug recognition signal 101 from the control IO unit of the audio CODEC 50, the CPU 60 performs an operation as shown in the flowchart of FIG. FIG. 16 is a flowchart showing an example of the operation of the CPU 60 in the mobile terminal of FIG. In FIG. 16, when the plug recognition signal 101 is received from the control IO unit of the audio CODEC 50 (Yes in step S21), the voltage detection results of ch1 and ch2 of the A / D converter 35, that is, the right voltage value V-RIGHT 202, the medium voltage value. The digital value of V-MIDDLE 203 is read from the A / D converter 35 via the bus 602 (step S22).

A/Dコンバータ35より読み取ったch1、ch2の電圧検出結果のうち、まず、ch2の電圧検出結果が0Vか否かを判別する(ステップS23)。ch2の電圧検出結果が0Vではなかった場合(ステップS23のNo)、中電圧値V−MIDDLE203が0V以外の場合つまりMIDDLE信号104のインピーダンスが0Ω(GND)以外の場合であり、図15にて説明したように、ジャックインタフェース10に接続されたオーディオ機器プラグが4極プラグの場合であることが判明する。   Of the voltage detection results of ch1 and ch2 read by the A / D converter 35, it is first determined whether or not the voltage detection result of ch2 is 0V (step S23). When the voltage detection result of ch2 is not 0V (No in step S23), the medium voltage value V-MIDDLE 203 is other than 0V, that is, the impedance of the MIDDLE signal 104 is other than 0Ω (GND). As explained, it turns out that the audio equipment plug connected to the jack interface 10 is a four-pole plug.

したがって、次に、4極プラグのうち、2入力型イヤホンマイク、ステレオイヤホンマイクのいずれが接続されているかを判別するために、D/Aコンバータ85のch3の基準電圧を設定して、第3の基準電圧853を出力し(ステップS24)、D/Aコンバータ85の第3の基準電圧853と中電圧値V−MIDDLE203との比較を第3の比較回路33にて実施し、第3の比較回路33から出力される第3の比較結果313を、専用インタフェース601を介して読み取る(ステップS25)。   Therefore, next, in order to determine which of the four-pole plugs the two-input type earphone microphone or the stereo earphone microphone is connected, the ch3 reference voltage of the D / A converter 85 is set, and the third The reference voltage 853 is output (step S24), and the third comparison circuit 33 compares the third reference voltage 853 of the D / A converter 85 with the intermediate voltage value V-MIDDLE 203 to obtain the third comparison. The third comparison result 313 output from the circuit 33 is read via the dedicated interface 601 (step S25).

読み取った第3の比較結果313として、中電圧値V−MIDDLE203が第3の基準電圧853以上である場合(ステップS25の「(V−MIDDLE)≧(基準電圧)」の場合)には、図15に示すように、2入力型イヤホンマイク(2入力マイク対応ヘッドセット)であるものと判別する(ステップS26)。かかる場合においては、第1の比較結果311、第2の比較結果312および第3の比較結果313が入力される入出力セレクタ回路42の制御部41も、自動的に、4極プラグの2入力型イヤホンマイクであることを判別して、図13に示す入出力セレクタ回路42のスイッチSW−B422、スイッチSW−C423およびスイッチSW−F426をONに設定する。   As the read third comparison result 313, when the medium voltage value V-MIDDLE 203 is equal to or higher than the third reference voltage 853 (in the case of “(V-MIDDLE) ≧ (reference voltage)” in step S25), FIG. As shown in FIG. 15, it is determined that it is a two-input earphone microphone (a headset corresponding to a two-input microphone) (step S26). In such a case, the control unit 41 of the input / output selector circuit 42 to which the first comparison result 311, the second comparison result 312, and the third comparison result 313 are input also automatically has two inputs of a four-pole plug. The switch SW-B 422, the switch SW-C 423, and the switch SW-F 426 of the input / output selector circuit 42 shown in FIG.

一方、読み取った第3の比較結果313として、中電圧値V−MIDDLE203が第3の基準電圧853よりも低い場合(ステップS25の「(V−MIDDLE)<(基準電圧)」の場合)には、図15に示すように、ステレオイヤホンマイクであるものと判別する(ステップS27)。かかる場合においては、第1の比較結果311、第2の比較結果312および第3の比較結果313が入力される入出力セレクタ回路42の制御部41も、自動的に、4極プラグのステレオイヤホンマイクであることを判別して、図13に示す入出力セレクタ回路42のスイッチSW−B422、スイッチSW−C423およびスイッチSW−E425をONに設定する。   On the other hand, as the read third comparison result 313, when the intermediate voltage value V-MIDDLE 203 is lower than the third reference voltage 853 (in the case of “(V-MIDDLE) <(reference voltage)” in step S25). As shown in FIG. 15, it is determined that it is a stereo earphone microphone (step S27). In such a case, the control unit 41 of the input / output selector circuit 42 to which the first comparison result 311, the second comparison result 312, and the third comparison result 313 are input is also automatically a four-pole plug stereo earphone. It is determined that it is a microphone, and the switch SW-B422, switch SW-C423, and switch SW-E425 of the input / output selector circuit 42 shown in FIG. 13 are set to ON.

また、ch2の電圧検出結果が0Vであった場合(ステップS23のYes)、中電圧値V−MIDDLE203が0Vの場合つまりMIDDLE信号104のインピーダンスが0Ω(GND)の場合であり、図15にて説明したように、ジャックインタフェース10に接続されたオーディオ機器プラグが3極プラグまたは2極プラグの場合であることが判明する。   Further, when the voltage detection result of ch2 is 0V (Yes in step S23), the intermediate voltage value V-MIDDLE 203 is 0V, that is, the impedance of the MIDDLE signal 104 is 0Ω (GND), and in FIG. As explained, it turns out that the audio equipment plug connected to the jack interface 10 is a three-pole plug or a two-pole plug.

したがって、次に、3極プラグか、2極プラグかを判別するために、ch1の電圧検出結果が0Vであるか否かを判別する(ステップS28)。ch1の電圧検出結果が0Vであった場合(ステップS28のYes)、右電圧値V−RIGHT202が0Vの場合つまりRIGHT信号103のインピーダンスが0Ω(GND)の場合であり、図15にて説明したように、ジャックインタフェース10に接続されたオーディオ機器プラグが2極プラグの場合であり、モノラルスピーカ/イヤホンであるものと判別する(ステップS29)。かかる場合においては、第1の比較結果311、第2の比較結果312および第3の比較結果313が入力される入出力セレクタ回路42の制御部41も、自動的に、2極プラグのモノラルスピーカ/イヤホンであることを判別して、図13に示す入出力セレクタ回路42のスイッチSW−A421のみをONに設定する。   Therefore, next, in order to determine whether the plug is a three-pole plug or a two-pole plug, it is determined whether or not the voltage detection result of ch1 is 0V (step S28). When the voltage detection result of ch1 is 0V (Yes in step S28), the right voltage value V-RIGHT 202 is 0V, that is, the impedance of the RIGHT signal 103 is 0Ω (GND), which has been described with reference to FIG. As described above, the audio device plug connected to the jack interface 10 is a two-pole plug, and is determined to be a monaural speaker / earphone (step S29). In such a case, the control unit 41 of the input / output selector circuit 42 to which the first comparison result 311, the second comparison result 312, and the third comparison result 313 are input is also automatically a monaural speaker with a two-pole plug. / Earphone is discriminated and only the switch SW-A 421 of the input / output selector circuit 42 shown in FIG. 13 is set to ON.

一方、ch1の電圧検出結果が0Vではなかった場合(ステップS28のNo)、中電圧値V−MIDDLE203が0Vの場合つまりMIDDLE信号104のインピーダンスが0Ω(GND)の場合であって、かつ、右電圧値V−RIGHT202が0V以外の場合つまりRIGHT信号103のインピーダンスが0Ω(GND)以外の場合であり、図15にて説明したように、ジャックインタフェース10に接続されたオーディオ機器プラグが3極プラグの場合であることが判明する。   On the other hand, if the voltage detection result of ch1 is not 0V (No in step S28), the medium voltage value V-MIDDLE 203 is 0V, that is, the impedance of the MIDDLE signal 104 is 0Ω (GND), and the right When the voltage value V-RIGHT 202 is other than 0V, that is, when the impedance of the RIGHT signal 103 is other than 0Ω (GND), the audio device plug connected to the jack interface 10 is a three-pole plug as described with reference to FIG. It turns out that this is the case.

したがって、次に、3極プラグのうち、ヘッドホン、イヤホンマイク、ステレオマイクのいずれが接続されているかを判別するために、D/Aコンバータ85のch1およびch2の基準電圧を設定して、第1の基準電圧851および第2の基準電圧852を出力し(ステップS30)、D/Aコンバータ85の第1の基準電圧851と左電圧値V−LEFT201との比較およびD/Aコンバータ85の第2の基準電圧852と右電圧値V−RIGHT202との比較を、第1の比較回路31および第2の比較回路32それぞれにて実施し、第1の比較回路31および第2の比較回路32からそれぞれ出力される第1の比較結果311および第2の比較結果312を、専用インタフェース601を介して読み取る(ステップS31)。   Therefore, next, in order to determine which of the three-pole plug is connected to the headphone, the earphone microphone, or the stereo microphone, the ch1 and ch2 reference voltages of the D / A converter 85 are set, and the first The reference voltage 851 and the second reference voltage 852 are output (step S30), the first reference voltage 851 of the D / A converter 85 is compared with the left voltage value V-LEFT 201, and the second of the D / A converter 85 is output. The comparison between the reference voltage 852 and the right voltage value V-RIGHT 202 is performed by the first comparison circuit 31 and the second comparison circuit 32, respectively, and from the first comparison circuit 31 and the second comparison circuit 32, respectively. The output first comparison result 311 and second comparison result 312 are read via the dedicated interface 601 (step S31).

次いで、読み取った第1の比較結果311として、左電圧値V−LEFT201が第1の基準電圧851以上である場合(ステップS31の「(V−LEFT)≧(基準電圧)」の場合)には、読み取った第1の比較結果311を「High」に設定し(ステップS32)、一方、読み取った第1の比較結果311として、左電圧値V−LEFT201が第1の基準電圧851よりも低い場合(ステップS31の「(V−LEFT)<(基準電圧)」の場合)には、読み取った第1の比較結果311を「Low」に設定する(ステップS33)。   Next, as the read first comparison result 311, when the left voltage value V-LEFT 201 is equal to or higher than the first reference voltage 851 (in the case of “(V-LEFT) ≧ (reference voltage)” in step S <b> 31). When the read first comparison result 311 is set to “High” (step S32), the left voltage value V-LEFT 201 is lower than the first reference voltage 851 as the read first comparison result 311. (When “(V-LEFT) <(reference voltage)” in step S31), the read first comparison result 311 is set to “Low” (step S33).

同様に、読み取った第2の比較結果312として、右電圧値V−RIGHT202が第2の基準電圧852以上である場合(ステップS31の「(V−RIGHT)≧(基準電圧)」の場合)には、読み取った第2の比較結果312を「High」に設定し(ステップS32)、一方、読み取った第2の比較結果312として、右電圧値V−RIGHT202が第2の基準電圧852よりも低い場合(ステップS31の「(V−RIGHT)<(基準電圧)」の場合)には、読み取った第2の比較結果312を「Low」に設定する(ステップS33)。   Similarly, when the right voltage value V-RIGHT 202 is equal to or higher than the second reference voltage 852 as the read second comparison result 312 (in the case of “(V-RIGHT) ≧ (reference voltage)” in step S31). Sets the read second comparison result 312 to “High” (step S 32), and on the other hand, as the read second comparison result 312, the right voltage value V-RIGHT 202 is lower than the second reference voltage 852. In the case (“(V-RIGHT) <(reference voltage)” in step S31), the read second comparison result 312 is set to “Low” (step S33).

しかる後、第1の比較結果311、第2の比較結果312の「Low」、「High」の設定結果を組み合わせることにより、ヘッドホン、イヤホンマイク、ステレオマイクのいずれが接続されているかを判別する(ステップS34)。第1の比較結果311および第2の比較結果312の双方が「Low」であった場合(ステップS34の「第1=[Low]、第2=[Low]」の場合)には、図15に示すように、ヘッドホン(ステレオヘッドホン)であるものと判別する(ステップS35)。かかる場合においては、第1の比較結果311、第2の比較結果312および第3の比較結果313が入力される入出力セレクタ回路42の制御部41も、自動的に、3極プラグのヘッドホンであることを判別して、図13に示す入出力セレクタ回路42のスイッチSW−A421およびスイッチSW−C423をONに設定する。   Thereafter, by combining the setting results of “Low” and “High” of the first comparison result 311 and the second comparison result 312, it is determined which of the headphones, the earphone microphone, and the stereo microphone is connected ( Step S34). When both the first comparison result 311 and the second comparison result 312 are “Low” (in the case of “first = [Low], second = [Low]” in step S34), FIG. As shown in FIG. 5, it is determined that the headphone is a stereo headphone (step S35). In such a case, the control unit 41 of the input / output selector circuit 42 to which the first comparison result 311, the second comparison result 312 and the third comparison result 313 are input is also automatically a three-pole plug headphone. It is discriminated that the switch SW-A 421 and the switch SW-C 423 of the input / output selector circuit 42 shown in FIG.

また、第1の比較結果311が「High」であり、第2の比較結果312が「Low」であった場合(ステップS34の「第1=[High]、第2=[Low]」の場合)には、図15に示すように、イヤホンマイクであるものと判別する(ステップS36)。かかる場合においては、第1の比較結果311、第2の比較結果312および第3の比較結果313が入力される入出力セレクタ回路42の制御部41も、自動的に、3極プラグのイヤホンマイクであることを判別して、図13に示す入出力セレクタ回路42のスイッチSW−B422およびスイッチSW−C423をONに設定する。   Further, when the first comparison result 311 is “High” and the second comparison result 312 is “Low” (in the case of “first = [High], second = [Low]” in step S34). ) Is determined to be an earphone microphone as shown in FIG. 15 (step S36). In such a case, the control unit 41 of the input / output selector circuit 42 to which the first comparison result 311, the second comparison result 312, and the third comparison result 313 are input is also automatically a three-pole plug earphone microphone. And the switches SW-B422 and SW-C423 of the input / output selector circuit 42 shown in FIG. 13 are set to ON.

また、第1の比較結果311および第2の比較結果312の双方が「High」であった場合(ステップS34の「第1=[High]、第2=[High]」の場合)には、図15に示すように、ステレオマイクであるものと判別する(ステップS37)。かかる場合においては、第1の比較結果311、第2の比較結果312および第3の比較結果313が入力される入出力セレクタ回路42の制御部41も、自動的に、3極プラグのイヤホンマイクであることを判別して、図13に示す入出力セレクタ回路42のスイッチSW−B422およびスイッチSW−D424をONに設定する。   In addition, when both the first comparison result 311 and the second comparison result 312 are “High” (in the case of “first = [High], second = [High]” in step S34), As shown in FIG. 15, it is determined that it is a stereo microphone (step S37). In such a case, the control unit 41 of the input / output selector circuit 42 to which the first comparison result 311, the second comparison result 312, and the third comparison result 313 are input is also automatically a three-pole plug earphone microphone. And the switches SW-B422 and SW-D424 of the input / output selector circuit 42 shown in FIG. 13 are set to ON.

かくのごときオーディオジャックの自動認識機能により、オーディオジャックの状態つまりジャックインタフェース10に接続されたオーディオ機器プラグの種別を自動的に検出することにより、接続されたオーディオ機器の判別を行い、かつ、入出力セレクタ回路42を適切な接続状態に切り替えた後は、オーディオCODEC50の動作状態を、ソフトウェア(SW)的に可変に制御可能な設定値(出力ボリューム、入力ゲイン)として適切な値に設定して動作を開始させることができる。   By automatically detecting the state of the audio jack, that is, the type of the audio equipment plug connected to the jack interface 10 by the automatic recognition function of the audio jack like this, the connected audio equipment is discriminated and the input is turned on. After the output selector circuit 42 is switched to an appropriate connection state, the operation state of the audio CODEC 50 is set to an appropriate value as a setting value (output volume, input gain) that can be variably controlled by software (SW). The operation can be started.

(第2の実施形態の効果の説明)
以上のように、本第2の実施形態によれば、ハードウェア(HW)的な比較手段を用いる場合であっても、第1の実施形態の場合と同様、一つのジャックインタフェース10のみで、モノラルスピーカ/イヤホン(2極ジャック)、ステレオヘッドホン(3極ジャック)、イヤホンマイク(3極ジャック)、ステレオマイク(3極ジャック)、2入力マイク対応型ヘッドセット(4極ジャック)、ステレオイヤホンマイク(4極ジャック)といった複数種のオーディオ機器、2極プラグ、3極プラグおよび4極プラグに適応することが可能となり、小型化された携帯端末であっても、その物理的なサイズを損ねることなく、オーディオ機能を十分に提供することが可能となる。
(Description of the effect of the second embodiment)
As described above, according to the second embodiment, even when hardware (HW) comparison means is used, as in the first embodiment, only one jack interface 10 is used. Monaural speaker / earphone (2-pole jack), stereo headphone (3-pole jack), earphone microphone (3-pole jack), stereo microphone (3-pole jack), 2-input microphone compatible headset (4-pole jack), stereo earphone microphone It is possible to adapt to multiple types of audio equipment such as (4-pole jack), 2-pole plug, 3-pole plug and 4-pole plug, and even the miniaturized portable terminal loses its physical size. Therefore, the audio function can be sufficiently provided.

また、オーディオ機器を接続した後の種別判定と各オーディオ機器に適する設定はソフトウェア制御により自動的に行なわれるため、利用者がわざわざ切り替えの操作を行なう必要がなく、さらに、適用するジャックインタフェースの誤挿入防止にも役立ち、故障率の低減にも役立つという効果も得られる。   In addition, since the type determination after connecting the audio device and the setting suitable for each audio device are automatically performed by software control, there is no need for the user to perform the switching operation, and an error in the jack interface to be applied. This also helps prevent insertion and helps reduce the failure rate.

以上、本発明の好適実施例の構成を説明した。しかし、斯かる実施例は、本発明の単なる例示に過ぎず、何ら本発明を限定するものではないことに留意されたい。本発明の要旨を逸脱することなく、特定用途に応じて種々の変形変更が可能であることが、当業者には容易に理解できよう。例えば、前述の実施形態においては、ジャックインタフェース10に接続して自動判別されるオーディオ機器の種別として、モノラルスピーカ/イヤホン(2極ジャック)、ステレオヘッドホン(3極ジャック)、イヤホンマイク(3極ジャック)、ステレオマイク(3極ジャック)、2入力マイク対応型ヘッドセット(4極ジャック)あるいはステレオイヤホンマイク(4極ジャック)の場合について説明したが、これらのオーディオ機器は、代表的なオーディオ機器であり、本発明は、かかる場合のみに限るものではなく、マイク機能および/またはスピーカ機能を保有するオーディオ機器であれば、如何なるオーディオ機器であっても、適用することが可能であり、また、既存のデバイスのみでなく、将来のデバイスについても、ソフトウェア的な変更処理あるいは軽微な改造のみで適応することが可能である。
また、本発明の実施態様は、課題を解決するための手段における構成(1)に加えて、次のような構成として表現できる。
(2)前記オーディオCODECと前記ジャックインタフェースとの接続状態およびオーディオ信号の入出力レベルを切り替える動作をソフトウェア制御により行う上記(1)の携帯端末。
(3)前記オーディオ機器判別手段は、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスを電圧値に変換する変換手段と、該変換手段により変換されたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、あらかじめ設定した電圧閾値と比較した結果を出力するA/Dコンバータと、を少なくとも備え、前記A/Dコンバータから出力されるLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果の組み合わせに基づいて、接続された前記オーディオ機器の種別を判別する上記(1)または(2)の携帯端末。
(4)前記オーディオ機器判別手段は、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスを電圧値に変換する変換手段と、該変換手段により変換されたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、デジタル値に変換するA/Dコンバータと、前記A/Dコンバータにてデジタル値に変換したLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、あらかじめ設定した電圧閾値と比較する比較手段と、を少なくとも備え、前記比較手段から出力されるLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果の組み合わせに基づいて、接続された前記オーディオ機器の種別を判別する上記(1)または(2)の携帯端末。
(5)前記オーディオ機器判別手段は、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスを電圧値に変換する変換手段と、あらかじめ設定した電圧閾値を生成するD/Aコンバータと、前記変換手段により変換されたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、前記D/Aコンバータにてあらかじめ生成した電圧閾値と比較する比較回路と、を少なくとも備え、前記比較回路から出力されるLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果の組み合わせに基づいて、接続された前記オーディオ機器の種別を判別する上記(1)または(2)の携帯端末。
(6)前記比較回路から出力されるLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果により、前記オーディオCODECの動作状態および前記オーディオCODECと前記ジャックインタフェースとの接続状態を切り替える上記(5)の携帯端末。
(7)RIGHTチャンネル、MIDDLEチャンネルの電圧値の双方と0Vとの比較結果に基づいて、前記ジャックインタフェースに接続されたオーディオ機器プラグが、少なくとも2極プラグ、3極プラグ、4極プラグのいずれであるかを判別する上記(3)ないし(6)のいずれかの携帯端末。
(8)LEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値と比較する前記電圧閾値は、ソフトウェア制御により、任意の値に設定変更を行うことができる上記(3)ないし(7)のいずれかの携帯端末。
(9)前記オーディオ機器判別手段は、LEFTチャンネル、MIDDLEチャンネルの双方の電圧値が前記電圧閾値以上に高く、かつ、RIGHTチャンネルの電圧値が前記電圧閾値よりも低い場合、接続された前記オーディオ機器が、4極プラグタイプの2入力マイク対応型ヘッドセットであるものと判別する上記(3)ないし(8)のいずれかの携帯端末。
(10)前記オーディオ機器判別手段は、MIDDLEチャンネルの電圧値が0Vではなく、かつ、MIDDLEチャンネル、RIGHTチャンネルの双方の電圧値が前記電圧閾値よりも低く、かつ、LEFTチャンネルの電圧値が前記電圧閾値以上に高い場合、接続された前記オーディオ機器が、4極プラグタイプのステレオイヤホンマイクであるものと判別する上記(3)ないし(9)のいずれかの携帯端末。
(11)前記オーディオ機器判別手段は、MIDDLEチャンネルの電圧値が0Vであり、かつ、RIGHTチャンネルの電圧値が前記電圧閾値よりも低く、かつ、LEFTチャンネルの電圧値が前記電圧閾値以上に高い場合、接続された前記オーディオ機器が、3極プラグタイプのイヤホンマイクであるものと判別する上記(3)ないし(10)のいずれかの携帯端末。
(12)前記オーディオ機器判別手段は、MIDDLEチャンネルの電圧値が0Vであり、かつ、LEFTチャンネル、RIGHTチャンネルのいずれの電圧値も前記電圧閾値よりも低い場合、接続された前記オーディオ機器が、3極プラグタイプのヘッドホンであるものと判別する上記(3)ないし(11)のいずれかの携帯端末。
(13)前記オーディオ機器判別手段は、MIDDLEチャンネルの電圧値が0Vであり、かつ、LEFTチャンネル、RIGHTチャンネルの双方の電圧値が前記電圧閾値以上に高い場合、接続された前記オーディオ機器が、3極プラグタイプのステレオマイクであるものと判別する上記(3)ないし(12)のいずれかの携帯端末。
(14)前記オーディオ機器判別手段は、MIDDLEチャンネル、RIGHTチャンネルの双方の電圧値が0Vの場合、接続された前記オーディオ機器が、2極プラグタイプのモノラルイヤホンであるものと判別する上記(3)ないし(13)のいずれかの携帯端末。
(15)前記ジャックインタフェースに前記オーディオ機器のプラグが接続されたことを認識するプラグ認識手段を備え、前記プラグ認識手段により、前記ジャックインタフェースに前記オーディオ機器のプラグが接続されたことを認識した場合に、接続された前記オーディオ機器の種別を判別する前記オーディオ機器判別手段の動作を起動する上記(1)ないし(14)のいずれかの携帯端末。
(16)複数種類のオーディオ機器を接続することが可能な一つの4極のジャックインタフェースを備え、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスの大きさを識別することにより、接続された前記オーディオ機器の種別を判別する携帯端末におけるオーディオ機器判別方法であって、判別した前記オーディオ機器の種別に基づいて、オーディオ信号の変換を行うオーディオCODECと前記ジャックインタフェースとの接続状態およびオーディオ信号の入出力レベルを少なくとも切り替えるオーディオ機器判別方法。
(17)前記オーディオCODECと前記ジャックインタフェースとの接続状態およびオーディオ信号の入出力レベルを切り替える動作をソフトウェア制御により行う上記(16)のオーディオ機器判別方法。
(18)前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスを電圧値に変換する変換ステップと、該変換ステップにより変換されたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、あらかじめ設定した電圧閾値と比較した結果を出力する比較ステップと、を少なくとも有し、前記比較ステップにより求めたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果の組み合わせに基づいて、接続された前記オーディオ機器の種別を判別する上記(16)または(17)のオーディオ機器判別方法。
(19)LEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値と比較する前記電圧閾値は、ソフトウェア制御により、任意の値に設定変更を行うことができる上記(18)のオーディオ機器判別方法。
(20)RIGHTチャンネル、MIDDLEチャンネルの電圧値の双方と0Vとの比較結果に基づいて、前記ジャックインタフェースに接続されたオーディオ機器プラグが、少なくとも2極プラグ、3極プラグ、4極プラグのいずれであるかを判別する上記(18)または(19)のオーディオ機器判別方法。
(21)LEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値と比較する前記電圧閾値は、ソフトウェア制御により、任意の値に設定変更を行うことができる上記(18)ないし(20)のいずれかのオーディオ機器判別方法。
(22)上記(16)ないし(21)のいずれかのオーディオ機器判別方法の少なくとも一部を、コンピュータにより実行可能なプログラムとして実施するオーディオ機器判別プログラム。
(23)上記(22)のオーディオ機器判別プログラムを、コンピュータにより読み取り可能な記録媒体に記録しているプログラム記録媒体。
The configuration of the preferred embodiment of the present invention has been described above. However, it should be noted that such examples are merely illustrative of the invention and do not limit the invention in any way. Those skilled in the art will readily understand that various modifications and changes can be made according to a specific application without departing from the gist of the present invention. For example, in the above-described embodiment, the types of audio devices that are automatically determined by being connected to the jack interface 10 are monaural speakers / earphones (2-pole jack), stereo headphones (3-pole jack), earphone microphones (3-pole jack). ), Stereo microphone (3-pole jack), 2-input microphone compatible headset (4-pole jack), or stereo earphone microphone (4-pole jack), these audio devices are typical audio devices. The present invention is not limited to such a case, and can be applied to any audio device as long as the audio device has a microphone function and / or a speaker function. Not only for future devices but also for future devices. It is possible to adapt only wear specific change processing or minor modifications.
Moreover, the embodiment of the present invention can be expressed as the following configuration in addition to the configuration (1) in the means for solving the problems.
(2) The portable terminal according to (1), wherein an operation for switching a connection state between the audio CODEC and the jack interface and an input / output level of an audio signal is performed by software control.
(3) The audio device determination means includes conversion means for converting impedances of LEFT channels, RIGHT channels, and MIDDLE channels of the audio equipment connected to the jack interface into voltage values, and LEFT converted by the conversion means. An A / D converter that outputs a result of comparing the voltage value of each of the channel, the RIGHT channel, and the MIDDLE channel with a preset voltage threshold, and includes a LEFT channel, a RIGHT channel output from the A / D converter, The portable terminal according to (1) or (2), wherein the type of the connected audio device is determined based on a combination result of comparison with the voltage threshold value of each MIDDLE channel.
(4) The audio device discriminating means includes: a conversion means for converting impedances of LEFT channel, RIGHT channel, and MIDDLE channel of the audio equipment connected to the jack interface into voltage values; and LEFT converted by the conversion means. A / D converter that converts each voltage value of the channel, RIGHT channel, and MIDDLE channel into a digital value, and a voltage value of each of the LEFT channel, RIGHT channel, and MIDDLE channel that is converted into a digital value by the A / D converter, Comparison means for comparing with a preset voltage threshold, and the voltage threshold for each of the LEFT channel, RIGHT channel, and MIDDLE channel output from the comparison means Based on a combination of the result of comparison between the portable terminal of the determines the type of the connected the audio device (1) or (2).
(5) The audio device determination means generates conversion voltage means for converting impedances of LEFT channel, RIGHT channel, and MIDDLE channel of the audio device connected to the jack interface into voltage values, and generates a preset voltage threshold value. A D / A converter, and at least a comparison circuit that compares the voltage values of the LEFT channel, RIGHT channel, and MIDDLE channel converted by the conversion means with a voltage threshold generated in advance by the D / A converter, The type of the connected audio device is determined based on a combination of comparison results with the voltage threshold values of the LEFT channel, the RIGHT channel, and the MIDDLE channel output from the comparison circuit. Portable terminal 1) or (2).
(6) The operation state of the audio CODEC and the connection state between the audio CODEC and the jack interface are switched according to the comparison result with the voltage threshold value of each of the LEFT channel, the RIGHT channel, and the MIDDLE channel output from the comparison circuit. (5) Mobile terminal.
(7) Based on the comparison result of both the voltage values of the RIGHT channel and the MIDDLE channel and 0 V, the audio device plug connected to the jack interface is at least a 2-pole plug, a 3-pole plug, or a 4-pole plug. The mobile terminal according to any one of the above (3) to (6), which determines whether there is any.
(8) The voltage threshold value to be compared with the voltage value of each of the LEFT channel, RIGHT channel, and MIDDLE channel can be changed to any value by software control. Mobile device.
(9) The audio device discriminating means connects the audio device when the voltage values of both the LEFT channel and the MIDDLE channel are higher than the voltage threshold and the voltage value of the RIGHT channel is lower than the voltage threshold. The mobile terminal according to any one of (3) to (8), wherein the mobile terminal is determined to be a four-pole plug type two-input microphone-compatible headset.
(10) The audio device discriminating means is such that the voltage value of the MIDDLE channel is not 0V, the voltage values of both the MIDDLE channel and the RIGHT channel are lower than the voltage threshold value, and the voltage value of the LEFT channel is the voltage. The portable terminal according to any one of (3) to (9), wherein when the audio device is higher than a threshold, the connected audio device is determined to be a four-pole plug type stereo earphone microphone.
(11) When the voltage value of the MIDDLE channel is 0 V, the voltage value of the RIGHT channel is lower than the voltage threshold value, and the voltage value of the LEFT channel is higher than the voltage threshold value The portable terminal according to any one of (3) to (10), wherein the connected audio device is determined to be a three-pole plug type earphone microphone.
(12) When the voltage value of the MIDDLE channel is 0V and the voltage value of both the LEFT channel and the RIGHT channel is lower than the voltage threshold, the audio device determination unit determines that the connected audio device is 3 The mobile terminal according to any one of (3) to (11), wherein the mobile terminal is determined to be a polar plug type headphone.
(13) When the voltage value of the MIDDLE channel is 0 V and the voltage values of both the LEFT channel and the RIGHT channel are higher than the voltage threshold value, the audio device determination unit determines that the connected audio device is 3 The portable terminal according to any one of (3) to (12), wherein the portable terminal is determined to be a polar plug type stereo microphone.
(14) The audio device determining means determines that the connected audio device is a two-pole plug type monaural earphone when the voltage values of both the MIDDLE channel and the RIGHT channel are 0V. Or any one of (13).
(15) A case where plug recognition means for recognizing that the plug of the audio device is connected to the jack interface is recognized, and the plug recognition means recognizes that the plug of the audio device is connected to the jack interface The portable terminal according to any one of (1) to (14), wherein the operation of the audio device determination means for determining the type of the connected audio device is started.
(16) A single 4-pole jack interface capable of connecting a plurality of types of audio equipment is provided, and the impedance magnitude of each of the LEFT channel, RIGHT channel, and MIDDLE channel of the audio equipment connected to the jack interface An audio device identification method in a portable terminal that identifies the type of the connected audio device by identifying the audio device, and the audio CODEC and the jack for converting an audio signal based on the identified type of the audio device An audio device determination method for switching at least an input / output level of an audio signal and a connection state with an interface.
(17) The audio device determination method according to (16), wherein an operation of switching a connection state between the audio CODEC and the jack interface and an input / output level of an audio signal is performed by software control.
(18) A conversion step for converting the impedances of the LEFT channel, RIGHT channel, and MIDDLE channel of the audio device connected to the jack interface into voltage values, and the LEFT channel, RIGHT channel, and MIDDLE channel converted by the conversion step. A comparison step for outputting a result of comparing each voltage value with a preset voltage threshold, and a comparison result with the voltage threshold for each of the LEFT channel, RIGHT channel, and MIDDLE channel obtained by the comparison step. The audio device identification method according to (16) or (17), wherein the type of the connected audio device is determined based on the combination of the above.
(19) The audio device determination method according to (18), wherein the voltage threshold value to be compared with the voltage value of each of the LEFT channel, the RIGHT channel, and the MIDDLE channel can be changed to an arbitrary value by software control.
(20) Based on the comparison result between the voltage values of the RIGHT channel and the MIDDLE channel and 0 V, the audio device plug connected to the jack interface is at least a 2-pole plug, a 3-pole plug, or a 4-pole plug. (18) or (19) the audio device discriminating method of discriminating whether or not there is.
(21) Any one of the above (18) to (20), wherein the voltage threshold value to be compared with the voltage value of each of the LEFT channel, RIGHT channel, and MIDDLE channel can be changed to an arbitrary value by software control. Audio device identification method.
(22) An audio device determination program that implements at least a part of the audio device determination method of any one of (16) to (21) as a program executable by a computer.
(23) A program recording medium in which the audio device determination program of (22) is recorded on a computer-readable recording medium.

本発明による携帯端末の第1の実施形態におけるブロック構成の一例を示すブロック構成図である。It is a block block diagram which shows an example of the block configuration in 1st Embodiment of the portable terminal by this invention. 図1の携帯端末に4極オーディオ機器プラグを接続した状態を説明する説明図である。It is explanatory drawing explaining the state which connected the 4 pole audio equipment plug to the portable terminal of FIG. 図1の携帯端末に3極オーディオ機器プラグを接続した状態を説明する説明図である。It is explanatory drawing explaining the state which connected the 3 pole audio equipment plug to the portable terminal of FIG. 図1の携帯端末に接続されるオーディオ機器プラグの各チャンネルのインピーダンスの大きさを示す説明図である。It is explanatory drawing which shows the magnitude | size of the impedance of each channel of the audio equipment plug connected to the portable terminal of FIG. 図1の携帯端末におけるA/Dコンバータ、CPUの動作の一例を示すフローチャートである。3 is a flowchart illustrating an example of operations of an A / D converter and a CPU in the mobile terminal of FIG. 図1の携帯端末におけるオーディオ信号の入出力セレクタ回路と該入出力セレクタ回路を制御する制御部を説明する説明図である。FIG. 2 is an explanatory diagram illustrating an audio signal input / output selector circuit and a control unit that controls the input / output selector circuit in the portable terminal of FIG. 1. 図1の携帯端末においてジャックインタフェースにオーディオ機器が接続されたことをCPUに通知する経路の一例を説明する説明図である。FIG. 2 is an explanatory diagram illustrating an example of a path for notifying a CPU that an audio device is connected to a jack interface in the portable terminal of FIG. 1. 本発明による携帯端末の第2の実施形態におけるブロック構成の一例を示すブロック構成図である。It is a block block diagram which shows an example of the block configuration in 2nd Embodiment of the portable terminal by this invention. 図8の携帯端末に4極オーディオ機器プラグを接続した状態を説明する説明図である。It is explanatory drawing explaining the state which connected the 4 pole audio equipment plug to the portable terminal of FIG. 図8の携帯端末に3極オーディオ機器プラグを接続した状態を説明する説明図であるIt is explanatory drawing explaining the state which connected the 3 pole audio equipment plug to the portable terminal of FIG. 図8の携帯端末に2極オーディオ機器プラグを接続した状態を説明する説明図である。It is explanatory drawing explaining the state which connected the 2 pole audio equipment plug to the portable terminal of FIG. 図8の携帯端末におけるLEFT信号、RIGHT信号およびMIDDLE信号の電圧値とそれぞれの電圧閾値と比較する比較回路の構成の一例を示す構成図である。FIG. 9 is a configuration diagram illustrating an example of a configuration of a comparison circuit that compares voltage values of LEFT signals, RIGHT signals, and MIDDLE signals with respective voltage thresholds in the mobile terminal of FIG. 8. 図8の携帯端末におけるオーディオ信号の入出力セレクタ回路と該入出力セレクタ回路を制御する制御部を説明する説明図である。FIG. 9 is an explanatory diagram illustrating an audio signal input / output selector circuit and a control unit that controls the input / output selector circuit in the portable terminal of FIG. 8. 図8の携帯端末においてジャックインタフェースにオーディオ機器が接続されたことをCPUに通知する経路の一例を説明する説明図である。FIG. 9 is an explanatory diagram illustrating an example of a path for notifying a CPU that an audio device is connected to a jack interface in the mobile terminal of FIG. 8. 図8の携帯端末に接続されるオーディオ機器プラグの各チャンネルのインピーダンスの大きさを示す説明図である。It is explanatory drawing which shows the magnitude | size of the impedance of each channel of the audio equipment plug connected to the portable terminal of FIG. 図8の携帯端末におけるCPUの動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of CPU in the portable terminal of FIG.

符号の説明Explanation of symbols

10 ジャックインタフェース
20 R→V変換回路
30 A/Dコンバータ
31 第1の比較回路
32 第2の比較回路
33 第3の比較回路
35 A/Dコンバータ
41 入出力セレク回路の制御部
42 入出力セレクタ回路
50 オーディオCODEC
60 CPU
70 メモリ
80 4極オーディオ機器プラグ
85 D/Aコンバータ
90 3極オーディオ機器プラグ
95 2極オーディオ機器プラグ
101 プラグ認識信号
102 LEFT信号
103 RIGHT信号
104 MIDDLE信号
201 左電圧値V−LEFT
202 右電圧値V−RIGHT
203 中電圧値V−MIDDLE
311 第1の比較結果
312 第2の比較結果
313 第3の比較結果
421 スイッチSW−A
422 スイッチSW−B
423 スイッチSW−C
424 スイッチSW−D
425 スイッチSW−E
426 スイッチSW−F
501,502,503 出力制御信号
601 専用インタフェース
602 バス
851 第1の基準電圧
852 第2の基準電圧
853 第3の基準電圧
10 Jack Interface 20 R → V Conversion Circuit 30 A / D Converter 31 First Comparison Circuit 32 Second Comparison Circuit 33 Third Comparison Circuit 35 A / D Converter 41 Control Unit 42 of Input / Output Select Circuit Input / Output Selector Circuit 50 Audio CODEC
60 CPU
70 Memory 80 4-pole audio equipment plug 85 D / A converter 90 3-pole audio equipment plug 95 2-pole audio equipment plug 101 Plug recognition signal 102 LEFT signal 103 RIGHT signal 104 MIDDLE signal 201 Left voltage value V-LEFT
202 Right voltage value V-RIGHT
203 Medium voltage value V-MIDDLE
311 First comparison result 312 Second comparison result 313 Third comparison result 421 Switch SW-A
422 Switch SW-B
423 Switch SW-C
424 Switch SW-D
425 Switch SW-E
426 Switch SW-F
501, 502, 503 Output control signal 601 Dedicated interface 602 Bus 851 First reference voltage 852 Second reference voltage 853 Third reference voltage

Claims (23)

複数種類のオーディオ機器を接続することが可能な一つの4極のジャックインタフェースを備えた携帯端末において、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスの大きさを識別することにより、接続された前記オーディオ機器の種別を判別するオーディオ機器判別手段を備え、該オーディオ機器判別手段により判別した前記オーディオ機器の種別に基づいて、オーディオ信号の変換を行うオーディオCODECと前記ジャックインタフェースとの接続状態およびオーディオ信号の入出力レベルを少なくとも切り替えることを特徴とする携帯端末。   In a portable terminal having one 4-pole jack interface capable of connecting a plurality of types of audio devices, the impedance of each of the LEFT channel, RIGHT channel, and MIDDLE channel of the audio device connected to the jack interface is large. An audio CODEC that converts the audio signal based on the type of the audio device determined by the audio device determination unit. A portable terminal characterized by switching at least a connection state between the terminal and the jack interface and an input / output level of an audio signal. 前記オーディオCODECと前記ジャックインタフェースとの接続状態およびオーディオ信号の入出力レベルを切り替える動作をソフトウェア制御により行うことを特徴とする請求項1に記載の携帯端末。   2. The portable terminal according to claim 1, wherein an operation of switching a connection state between the audio CODEC and the jack interface and an input / output level of an audio signal is performed by software control. 前記オーディオ機器判別手段は、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスを電圧値に変換する変換手段と、該変換手段により変換されたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、あらかじめ設定した電圧閾値と比較した結果を出力するA/Dコンバータと、を少なくとも備え、前記A/Dコンバータから出力されるLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果の組み合わせに基づいて、接続された前記オーディオ機器の種別を判別することを特徴とする請求項1または2に記載の携帯端末。   The audio device discriminating means includes: a conversion means for converting impedances of LEFT channel, RIGHT channel, and MIDDLE channel of the audio equipment connected to the jack interface into voltage values; a LEFT channel, RIGHT converted by the conversion means; An A / D converter that outputs a result of comparing the voltage value of each of the channel and the MIDDLE channel with a preset voltage threshold, and each of the LEFT channel, the RIGHT channel, and the MIDDLE channel output from the A / D converter The mobile terminal according to claim 1, wherein the type of the connected audio device is determined based on a combination of a comparison result with the voltage threshold. 前記オーディオ機器判別手段は、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスを電圧値に変換する変換手段と、該変換手段により変換されたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、デジタル値に変換するA/Dコンバータと、前記A/Dコンバータにてデジタル値に変換したLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、あらかじめ設定した電圧閾値と比較する比較手段と、を少なくとも備え、前記比較手段から出力されるLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果の組み合わせに基づいて、接続された前記オーディオ機器の種別を判別することを特徴とする請求項1または2に記載の携帯端末。   The audio device discriminating means includes: a conversion means for converting impedances of LEFT channel, RIGHT channel, and MIDDLE channel of the audio equipment connected to the jack interface into voltage values; a LEFT channel, RIGHT converted by the conversion means; A / D converter that converts the voltage value of each channel and MIDDLE channel into a digital value, and the voltage value of each of the LEFT channel, RIGHT channel, and MIDDLE channel converted into a digital value by the A / D converter is set in advance. Comparison means for comparing with a voltage threshold value, and each of the voltage threshold values of the LEFT channel, RIGHT channel, and MIDDLE channel output from the comparison means. Based on a combination of the compare result, the portable terminal according to claim 1 or 2, characterized in that determines the type of the connected the audio equipment. 前記オーディオ機器判別手段は、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスを電圧値に変換する変換手段と、あらかじめ設定した電圧閾値を生成するD/Aコンバータと、前記変換手段により変換されたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、前記D/Aコンバータにてあらかじめ生成した電圧閾値と比較する比較回路と、を少なくとも備え、前記比較回路から出力されるLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果の組み合わせに基づいて、接続された前記オーディオ機器の種別を判別することを特徴とする請求項1または2に記載の携帯端末。   The audio device discriminating unit includes a conversion unit that converts impedances of LEFT channel, RIGHT channel, and MIDDLE channel of the audio device connected to the jack interface into voltage values, and a D / A that generates a preset voltage threshold value. A comparator and a comparison circuit that compares the voltage values of the LEFT channel, the RIGHT channel, and the MIDDLE channel converted by the conversion means with a voltage threshold value generated in advance by the D / A converter, and includes at least the comparison circuit. The type of the connected audio device is determined based on a combination of comparison results with the voltage threshold values of the LEFT channel, RIGHT channel, and MIDDLE channel output from The mobile terminal according to claim 1 or 2. 前記比較回路から出力されるLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果により、前記オーディオCODECの動作状態および前記オーディオCODECと前記ジャックインタフェースとの接続状態を切り替えることを特徴とする請求項5に記載の携帯端末。   The operation state of the audio CODEC and the connection state between the audio CODEC and the jack interface are switched according to the comparison result with the voltage threshold value of each of the LEFT channel, RIGHT channel, and MIDDLE channel output from the comparison circuit. The mobile terminal according to claim 5. RIGHTチャンネル、MIDDLEチャンネルの電圧値の双方と0Vとの比較結果に基づいて、前記ジャックインタフェースに接続されたオーディオ機器プラグが、少なくとも2極プラグ、3極プラグ、4極プラグのいずれであるかを判別することを特徴とする請求項3ないし6のいずれかに記載の携帯端末。   Based on the comparison result of both the voltage values of the RIGHT channel and the MIDDLE channel and 0 V, whether the audio device plug connected to the jack interface is at least a 2-pole plug, a 3-pole plug, or a 4-pole plug The mobile terminal according to claim 3, wherein the mobile terminal is discriminated. LEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値と比較する前記電圧閾値は、ソフトウェア制御により、任意の値に設定変更を行うことができることを特徴とする請求項3ないし7のいずれかに記載の携帯端末。   The voltage threshold value to be compared with the voltage value of each of the LEFT channel, RIGHT channel, and MIDDLE channel can be changed to an arbitrary value by software control. Mobile device. 前記オーディオ機器判別手段は、LEFTチャンネル、MIDDLEチャンネルの双方の電圧値が前記電圧閾値以上に高く、かつ、RIGHTチャンネルの電圧値が前記電圧閾値よりも低い場合、接続された前記オーディオ機器が、4極プラグタイプの2入力マイク対応型ヘッドセットであるものと判別することを特徴とする請求項3ないし8のいずれかに記載の携帯端末。   When the voltage value of both the LEFT channel and the MIDDLE channel is higher than the voltage threshold value and the voltage value of the RIGHT channel is lower than the voltage threshold value, the audio device determination unit determines that the connected audio device is 4 9. The portable terminal according to claim 3, wherein the portable terminal is determined to be a pole plug type two-input microphone compatible headset. 前記オーディオ機器判別手段は、MIDDLEチャンネルの電圧値が0Vではなく、かつ、MIDDLEチャンネル、RIGHTチャンネルの双方の電圧値が前記電圧閾値よりも低く、かつ、LEFTチャンネルの電圧値が前記電圧閾値以上に高い場合、接続された前記オーディオ機器が、4極プラグタイプのステレオイヤホンマイクであるものと判別することを特徴とする請求項3ないし9のいずれかに記載の携帯端末。   The audio device discriminating unit is configured such that the voltage value of the MIDDLE channel is not 0 V, the voltage values of both the MIDDLE channel and the RIGHT channel are lower than the voltage threshold value, and the voltage value of the LEFT channel is equal to or higher than the voltage threshold value. The portable terminal according to claim 3, wherein when it is high, the connected audio device is determined to be a four-pole plug type stereo earphone microphone. 前記オーディオ機器判別手段は、MIDDLEチャンネルの電圧値が0Vであり、かつ、RIGHTチャンネルの電圧値が前記電圧閾値よりも低く、かつ、LEFTチャンネルの電圧値が前記電圧閾値以上に高い場合、接続された前記オーディオ機器が、3極プラグタイプのイヤホンマイクであるものと判別することを特徴とする請求項3ないし10のいずれかに記載の携帯端末。   The audio device discriminating means is connected when the voltage value of the MIDDLE channel is 0V, the voltage value of the RIGHT channel is lower than the voltage threshold value, and the voltage value of the LEFT channel is higher than the voltage threshold value. 11. The portable terminal according to claim 3, wherein the audio device is determined to be a three-pole plug type earphone microphone. 前記オーディオ機器判別手段は、MIDDLEチャンネルの電圧値が0Vであり、かつ、LEFTチャンネル、RIGHTチャンネルのいずれの電圧値も前記電圧閾値よりも低い場合、接続された前記オーディオ機器が、3極プラグタイプのヘッドホンであるものと判別することを特徴とする請求項3ないし11のいずれかに記載の携帯端末。   When the voltage value of the MIDDLE channel is 0V and the voltage values of the LEFT channel and the RIGHT channel are both lower than the voltage threshold, the connected audio device is a three-pole plug type. The mobile terminal according to claim 3, wherein the mobile terminal is determined to be a headphone. 前記オーディオ機器判別手段は、MIDDLEチャンネルの電圧値が0Vであり、かつ、LEFTチャンネル、RIGHTチャンネルの双方の電圧値が前記電圧閾値以上に高い場合、接続された前記オーディオ機器が、3極プラグタイプのステレオマイクであるものと判別することを特徴とする請求項3ないし12のいずれかに記載の携帯端末。   When the voltage value of the MIDDLE channel is 0V and the voltage values of both the LEFT channel and the RIGHT channel are higher than the voltage threshold, the connected audio device is a three-pole plug type. The mobile terminal according to claim 3, wherein the mobile terminal is identified as a stereo microphone. 前記オーディオ機器判別手段は、MIDDLEチャンネル、RIGHTチャンネルの双方の電圧値が0Vの場合、接続された前記オーディオ機器が、2極プラグタイプのモノラルイヤホンであるものと判別することを特徴とする請求項3ないし13のいずれかに記載の携帯端末。   The audio device determining means determines that the connected audio device is a two-pole plug type monaural earphone when the voltage values of both the MIDDLE channel and the RIGHT channel are 0V. The mobile terminal according to any one of 3 to 13. 前記ジャックインタフェースに前記オーディオ機器のプラグが接続されたことを認識するプラグ認識手段を備え、前記プラグ認識手段により、前記ジャックインタフェースに前記オーディオ機器のプラグが接続されたことを認識した場合に、接続された前記オーディオ機器の種別を判別する前記オーディオ機器判別手段の動作を起動することを特徴とする請求項1ないし14のいずれかに記載の携帯端末。   Plug recognition means for recognizing that the plug of the audio device is connected to the jack interface, and when the plug recognition means recognizes that the plug of the audio device is connected to the jack interface 15. The portable terminal according to claim 1, wherein an operation of the audio device determination unit that determines the type of the audio device that has been performed is activated. 複数種類のオーディオ機器を接続することが可能な一つの4極のジャックインタフェースを備え、前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスの大きさを識別することにより、接続された前記オーディオ機器の種別を判別する携帯端末におけるオーディオ機器判別方法であって、判別した前記オーディオ機器の種別に基づいて、オーディオ信号の変換を行うオーディオCODECと前記ジャックインタフェースとの接続状態およびオーディオ信号の入出力レベルを少なくとも切り替えることを特徴とするオーディオ機器判別方法。   A single 4-pole jack interface capable of connecting a plurality of types of audio equipment is provided, and the magnitude of impedance of each of the LEFT channel, RIGHT channel, and MIDDLE channel of the audio equipment connected to the jack interface is identified. An audio device determination method in a mobile terminal for determining the type of the connected audio device, comprising: an audio CODEC that converts an audio signal based on the determined type of the audio device; and the jack interface. An audio device discrimination method characterized by switching at least a connection state and an input / output level of an audio signal. 前記オーディオCODECと前記ジャックインタフェースとの接続状態およびオーディオ信号の入出力レベルを切り替える動作をソフトウェア制御により行うことを特徴とする請求項16に記載のオーディオ機器判別方法。   17. The audio device determination method according to claim 16, wherein an operation of switching a connection state between the audio CODEC and the jack interface and an input / output level of an audio signal is performed by software control. 前記ジャックインタフェースに接続された前記オーディオ機器のLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれのインピーダンスを電圧値に変換する変換ステップと、該変換ステップにより変換されたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値を、あらかじめ設定した電圧閾値と比較した結果を出力する比較ステップと、を少なくとも有し、前記比較ステップにより求めたLEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの前記電圧閾値との比較結果の組み合わせに基づいて、接続された前記オーディオ機器の種別を判別することを特徴とする請求項16または17に記載のオーディオ機器判別方法。   A conversion step for converting the impedances of the LEFT channel, RIGHT channel, and MIDDLE channel of the audio device connected to the jack interface into voltage values, and the voltages of the LEFT channel, RIGHT channel, and MIDDLE channel converted by the conversion step, respectively. A comparison step for outputting a result of comparing a value with a preset voltage threshold, and a combination of comparison results with the voltage threshold for each of the LEFT channel, the RIGHT channel, and the MIDDLE channel obtained by the comparison step. 18. The audio device determination method according to claim 16, wherein the type of the connected audio device is determined based on the type. LEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値と比較する前記電圧閾値は、ソフトウェア制御により、任意の値に設定変更を行うことができることを特徴とする請求項18に記載のオーディオ機器判別方法。   19. The audio device determination method according to claim 18, wherein the voltage threshold value to be compared with the voltage value of each of the LEFT channel, the RIGHT channel, and the MIDDLE channel can be changed to an arbitrary value by software control. RIGHTチャンネル、MIDDLEチャンネルの電圧値の双方と0Vとの比較結果に基づいて、前記ジャックインタフェースに接続されたオーディオ機器プラグが、少なくとも2極プラグ、3極プラグ、4極プラグのいずれであるかを判別することを特徴とする請求項18または19に記載のオーディオ機器判別方法。   Based on the comparison result of both the voltage values of the RIGHT channel and the MIDDLE channel and 0 V, whether the audio device plug connected to the jack interface is at least a 2-pole plug, 3-pole plug, or 4-pole plug 20. The audio device determination method according to claim 18 or 19, wherein the determination is performed. LEFTチャンネル、RIGHTチャンネル、MIDDLEチャンネルそれぞれの電圧値と比較する前記電圧閾値は、ソフトウェア制御により、任意の値に設定変更を行うことができることを特徴とする請求項18ないし20のいずれかに記載のオーディオ機器判別方法。   21. The voltage threshold value to be compared with the voltage value of each of the LEFT channel, the RIGHT channel, and the MIDDLE channel can be changed to an arbitrary value by software control. Audio device identification method. 請求項16ないし21のいずれかに記載のオーディオ機器判別方法の少なくとも一部を、コンピュータにより実行可能なプログラムとして実施することを特徴とするオーディオ機器判別プログラム。   22. An audio device determination program that implements at least a part of the audio device determination method according to claim 16 as a program executable by a computer. 請求項22に記載のオーディオ機器判別プログラムを、コンピュータにより読み取り可能な記録媒体に記録していることを特徴とするプログラム記録媒体。   23. A program recording medium, wherein the audio device identification program according to claim 22 is recorded on a computer-readable recording medium.
JP2008124853A 2008-01-15 2008-05-12 Portable terminal, audio device identification method, audio device identification program, and program recording medium Active JP5158593B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008124853A JP5158593B2 (en) 2008-01-15 2008-05-12 Portable terminal, audio device identification method, audio device identification program, and program recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2008005249 2008-01-15
JP2008005249 2008-01-15
JP2008124853A JP5158593B2 (en) 2008-01-15 2008-05-12 Portable terminal, audio device identification method, audio device identification program, and program recording medium

Publications (2)

Publication Number Publication Date
JP2009194890A true JP2009194890A (en) 2009-08-27
JP5158593B2 JP5158593B2 (en) 2013-03-06

Family

ID=41076446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008124853A Active JP5158593B2 (en) 2008-01-15 2008-05-12 Portable terminal, audio device identification method, audio device identification program, and program recording medium

Country Status (1)

Country Link
JP (1) JP5158593B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110100728A (en) * 2010-03-05 2011-09-15 삼성전자주식회사 Circuit apparatus and method for recognition earphone in electronic device
JP2013066149A (en) * 2011-05-20 2013-04-11 Kyocera Corp Portable terminal, earphone identification program, and earphone identification method
WO2013098974A1 (en) * 2011-12-27 2013-07-04 Toa 株式会社 Portable audio playback device
US9173026B2 (en) 2012-03-27 2015-10-27 Panasonic Intellectual Property Management Co., Ltd. Sound recording device
WO2015182663A1 (en) * 2014-05-28 2015-12-03 京セラ株式会社 Electronic device, earphone, and electronic device system
JP2017529734A (en) * 2014-07-29 2017-10-05 ゼットティーイー コーポレーションZte Corporation Mobile terminal
KR101878873B1 (en) * 2011-09-14 2018-07-17 삼성전자주식회사 Mobile Apparatus Capable of Multi Channel Receiving and Outputting Sound Using Common Connector and Operation Method therefor
US10659870B2 (en) 2017-09-27 2020-05-19 Samsung Electronics Co., Ltd. Audio device and operating method of audio device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09148861A (en) * 1995-11-24 1997-06-06 Sharp Corp Acoustic equipment
JPH1079997A (en) * 1996-09-05 1998-03-24 Sony Corp Connecting device of information equipment and connecting device of stereo sound/video device
JP2002101491A (en) * 2000-09-25 2002-04-05 Sanyo Electric Co Ltd Audio signal processing unit, and portable telephone set
JP2005531227A (en) * 2002-06-24 2005-10-13 アナログ デバイシーズ インク Identification system and method for recognizing any one of many different types of equipment
JP2006229545A (en) * 2005-02-17 2006-08-31 Nec Infrontia Corp It terminal and its audio apparatus identifying method
JP2007124073A (en) * 2005-10-26 2007-05-17 Nec Infrontia Corp Audio input/output apparatus and input/output function switching method
JP2007180742A (en) * 2005-12-27 2007-07-12 Nec Infrontia Corp Mobile terminal and method for discriminating audio equipment in mobile terminal
JP2008294803A (en) * 2007-05-25 2008-12-04 Kenwood Corp Reproducing device, and reproducing method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09148861A (en) * 1995-11-24 1997-06-06 Sharp Corp Acoustic equipment
JPH1079997A (en) * 1996-09-05 1998-03-24 Sony Corp Connecting device of information equipment and connecting device of stereo sound/video device
JP2002101491A (en) * 2000-09-25 2002-04-05 Sanyo Electric Co Ltd Audio signal processing unit, and portable telephone set
JP2005531227A (en) * 2002-06-24 2005-10-13 アナログ デバイシーズ インク Identification system and method for recognizing any one of many different types of equipment
JP2006229545A (en) * 2005-02-17 2006-08-31 Nec Infrontia Corp It terminal and its audio apparatus identifying method
JP2007124073A (en) * 2005-10-26 2007-05-17 Nec Infrontia Corp Audio input/output apparatus and input/output function switching method
JP2007180742A (en) * 2005-12-27 2007-07-12 Nec Infrontia Corp Mobile terminal and method for discriminating audio equipment in mobile terminal
JP2008294803A (en) * 2007-05-25 2008-12-04 Kenwood Corp Reproducing device, and reproducing method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110100728A (en) * 2010-03-05 2011-09-15 삼성전자주식회사 Circuit apparatus and method for recognition earphone in electronic device
KR101636771B1 (en) 2010-03-05 2016-07-06 삼성전자주식회사 Circuit apparatus and method for recognition earphone in electronic device
JP2013066149A (en) * 2011-05-20 2013-04-11 Kyocera Corp Portable terminal, earphone identification program, and earphone identification method
KR101878873B1 (en) * 2011-09-14 2018-07-17 삼성전자주식회사 Mobile Apparatus Capable of Multi Channel Receiving and Outputting Sound Using Common Connector and Operation Method therefor
WO2013098974A1 (en) * 2011-12-27 2013-07-04 Toa 株式会社 Portable audio playback device
JP5661948B2 (en) * 2011-12-27 2015-01-28 Toa株式会社 Portable audio playback device
US9173026B2 (en) 2012-03-27 2015-10-27 Panasonic Intellectual Property Management Co., Ltd. Sound recording device
WO2015182663A1 (en) * 2014-05-28 2015-12-03 京セラ株式会社 Electronic device, earphone, and electronic device system
JP2015226226A (en) * 2014-05-28 2015-12-14 京セラ株式会社 Electronic apparatus, earphone, and electronic apparatus system
JP2017529734A (en) * 2014-07-29 2017-10-05 ゼットティーイー コーポレーションZte Corporation Mobile terminal
US10659870B2 (en) 2017-09-27 2020-05-19 Samsung Electronics Co., Ltd. Audio device and operating method of audio device

Also Published As

Publication number Publication date
JP5158593B2 (en) 2013-03-06

Similar Documents

Publication Publication Date Title
JP5158593B2 (en) Portable terminal, audio device identification method, audio device identification program, and program recording medium
JP4191192B2 (en) Identification method of audio device in portable terminal and portable terminal
US10659874B2 (en) Audio I O headset plug and plug detection circuitry
US8111841B2 (en) Audio input/output device and method for switching input/output functions
US8260380B2 (en) Headset with remote control
JP4304627B2 (en) Acoustic system
US10327058B2 (en) Headset having remote control for multimedia playback device
JP5161153B2 (en) Audio device recognition apparatus and portable computer
KR101941509B1 (en) Apparatus and method for preventing error recognition in earjack
US11435412B2 (en) Socket monitoring
KR20070022442A (en) Mobile phone had a function of blocking the Pop-Up Noise when an ear phone connected with the mobile phone
KR101868542B1 (en) Mobile terminal
JPH09148861A (en) Acoustic equipment
JP2010166130A (en) Plug insertion and pulling-out detection circuit and voice reproduction apparatus
CN211378222U (en) Audio circuit, head-mounted display equipment and head-mounted display system
KR20090041000A (en) Method and apparatus for detecting ear jack of mobile terminal
JP4497544B2 (en) Audio apparatus, recording apparatus, audio system, and audio signal output method
KR20160033490A (en) Accessory Apparatus of four Pole Audio Plug-Jack Connector Type and Method for Supplying Power thereof
KR101584345B1 (en) Ear Set and Acoustic Processing System Including The Same
KR100393812B1 (en) Switch addition apparatus and method for remote controller
KR101134773B1 (en) Apparatus and method for Outputing Audio
CN108897521B (en) Electronic equipment and control method
CN115357539A (en) Signal control method, electronic device and storage medium
CN115426591A (en) Earphone plug noise elimination circuit and mobile device
GB2387979A (en) A connector interface for a mobile phone

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20091211

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091215

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101012

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120410

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120607

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120710

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120910

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120920

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121203

R150 Certificate of patent or registration of utility model

Ref document number: 5158593

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350