200824486 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種耳機及識別耳機類型並調整音效模式 • 的音頻播放裝置。 、 【先前技術】 一般情況下,一個音頻播放裝置所輸出的音效是固定 的,耳機成為影響音效的重要附件,即使一個音頻播放裝 ⑩ 4本身的音錄好,但如果制-個音效差的耳機時,用 戶所聽到音頻播放裝置輸出的音頻品質依然不是很好。所 以,為了保證用戶能聽到較好的音效,音頻播放裝置生產 廢商都為每一音頻播放襄置匹配一耳機。但往往一個用戶 ,常有多個不同類型/型號耳機,例如,有些用戶不習慣耳 塞式而習慣耳罩式耳機,或者是用戶在某些情況下希望使 用不同類型/型號的耳機,或者所匹配的耳機損壞後,用户 需購買新的匹配耳機。 • 乂現在市場耳機的生產薇家很多,耳機的類型也很多, 目:市%上就有多種不同阻抗值的耳機,例如:8歐姆、 16馱姆、24歐姆及32歐姆等阻抗值。當24歐姆的耳機使 用在匹配電阻值為32歐姆耳機的音頻播放裝置上時,用戶 斤i^至j的g頻效果會發生很大的變化。因此有專利技術, 如二開日為2005年9月15日、公開號為2〇〇5〇2〇1568的 美國專利申請提供了檢測耳機的電阻值,音頻播放裝置根 據不同耳機的電阻值調整輸出的功率的技術。 然而’即使是同一廠家生產的相同電阻值的耳機亦具 6 200824486 有不同的型號/類型,而不同型號/類型耳機的音敦曰 “樣,例如Y廠家生產電阻值為32歐姆的耳機,有a心不〜 型號/類型,其中A型號/類型耳機中音效果較好、低2等 果較差、而高音一般,而B型號/類型耳機低音效果較=攻 中音一般、而高音較差。而公開號為2〇〇5〇2〇1568的美國 專利申请只揭鉻了根據不同耳機的電阻值調整音頻播放舉 置輸出的功率,這樣當使用八或B型號/類型的耳機,音頻 • 播放裝置都會輸出32歐姆耳機對應功率,其結果仍是用戶 所聽到音頻音效不會很理想。 【發明内容】 基於上述問題,本發明的目的在於提供一種耳機,該 耳機包括有識別電阻。 同時本發明的另一目的在於提供一種音頻播放裝置, 該音頻播放裝置可檢測耳機的識別電阻值,並根據識別電 阻值判斷耳機類型,根據不同耳機類型調整輸出的音效模 • 式,以提高耳機的音效。 其中,所述耳機包括一][D引腳、及一 ID引腳接地電 阻Rid °根據耳機類型的不同接入不同阻值的id引腳接地 電阻RID。當所述耳機插入一音頻播放裝置時,所述音頻播 放裝置通過耳機插孔檢測所述ID引腳接地電阻Rid的電阻 值’級類比-數位轉換器轉換為數位電阻值(R),並輸入微 處理器處理;所述微處理器讀取所述記憶體内預存的一預 設電阻值、耳機類型及音效模式列表,然後根據預設電阻 值、耳機類型及音效模式列表判斷出插入耳機插孔的耳機 7 200824486200824486 IX. Description of the Invention: [Technical Field] The present invention relates to an earphone and an audio playback device that recognizes the type of earphone and adjusts the sound mode. [Prior Art] In general, the sound output of an audio playback device is fixed, and the earphone becomes an important accessory that affects the sound effect. Even if the audio recording of an audio playback device 104 is good, if the sound is poor, When the headphones are used, the audio quality output by the audio playback device that the user hears is still not very good. Therefore, in order to ensure that the user can hear better sound effects, the audio player production waste makers match one earphone for each audio playback device. But often a user often has multiple different types/models of headphones. For example, some users are not used to earbuds and are used to earphones, or users may want to use different types/models of headphones in some cases, or match After the headset is damaged, the user needs to purchase a new matching headset. • There are many types of headphones in the market, and there are many types of headphones. There are many kinds of headphones with different impedance values, such as 8 ohms, 16 ohms, 24 ohms and 32 ohms. When a 24 ohm headphone is used on an audio playback device that matches a 32 ohm headphone, the g-frequency effect of the user's i^ to j will vary greatly. Therefore, there is a patented technology, such as the U.S. Patent Application No. 2,5,2,1,568, issued on September 15, 2005, the disclosure of which is incorporated herein by reference. The technology of the output power. However, even the earphones of the same resistance value produced by the same manufacturer have different models/types, and different types/types of headphones have the same sound. For example, Y manufacturers produce headphones with a resistance value of 32 ohms. a heart is not ~ model / type, where the A model / type headphone sound effect is better, the low 2 is worse, and the high sound is normal, while the B model / type headphone bass effect is better than the attack midrange, and the high sound is poor. US Patent Application Publication No. 2〇〇5〇2〇1568 discloses only the chrome adjustment of the audio playback output power according to the resistance values of different earphones, so that when using an eight or B model/type earphone, the audio • playback device The 32 ohm headphone corresponding power is output, and the result is that the audio sound effect heard by the user is not ideal. [Invention] Based on the above problems, an object of the present invention is to provide an earphone including an identification resistor. Another object is to provide an audio playback device that can detect an identification resistance value of an earphone and determine the earphone according to the identification resistance value. Type, adjust the output sound mode according to different earphone types to improve the sound effect of the earphone. Among them, the earphone includes a] [D pin, and an ID pin grounding resistance Rid ° different depending on the type of earphone The id pin grounding resistance RID of the resistance value. When the earphone is inserted into an audio playback device, the audio playback device detects the resistance value of the ID pin grounding resistance Rid through the headphone jack 'level analog-digital converter conversion The digital resistance value (R) is input to the microprocessor for processing; the microprocessor reads a preset resistance value, a type of the earphone type, and a sound mode list pre-stored in the memory, and then according to the preset resistance value, the earphone Type and sound mode list to determine the earphone 7 inserted into the headphone jack 200824486
在一種實施方式中,所述音頻播放裝置包括一耳機插 孔、一檢測單元、一類比-數位轉換器、一微處理器、一記 憶體、一音頻播放單元。當一耳機插入耳機插孔時,所述 的檢測單元檢測耳機插頭的ID引腳的電阻值,將 的電阻值輸入至所述的類比-數位轉換器,經類比-數位轉換 器轉換為數位電阻值(R),並將所述的數位電阻值輸入所 述的微處理器。所述微處理器讀取所述記憶體中的預設電 阻值-耳機類型-音效模式列表,並將所述數位檢測電阻值 (R)與讀取的預設電阻值比較,根據比較結果判斷出連接 於所述耳機插孔的耳機類型。微處理器根據判斷出的耳機 類型讀取相應的音效模式進行音頻播放。 在另一實施方式中,所述音 孔、-音頻播放單元、-微處理器、一記憶體及一耳相 所料機可插人所述耳機減巾;所料_耳機細 括—第-朗引腳,所述識別引腳連接於—識別電阻; =機插孔包括有-第二識射丨腳,用於與所述耳機名 播弟^識則腳電連接;該記憶體存儲有—預設電阻值 趟、型-音效模式關系列表,該關系列表定義電阻值、巧 :、里及音效模式之—檢測單元,用於通 2別㈣檢職朗電阻賴㈣阻值;—類比-勤 ’用轉賴賴_阻賴得触電阻值 处理器根據該數位電阻值及該關系列表判斷出耳機 獲得該耳機類型對應的音效模式,並控制該音頻播^ 8 200824486 根據該音效模式輪出音頻。 本發明之優點在於,所述耳機及音頻播放裝置,可以 識別不同類型的耳機並調整音效輸出模式,以使耳機獲得 • 最佳音效。 【實施方式】 …明參閱圖1,為本發明耳機的耳機插頭的示意圖。所 述耳機插頭101包括一音頻地引腳D、一識別引 • 腳1D —左聲逼引腳L、一右聲道引腳R。所述引腳之間 由絕緣材料隔開。· 一口月#參閱圖2’為耳機阻抗與插頭引腳的連接關係 不意圖。所述識別㈣ID連接於一識別電阻Rid。所述耳 機本體左右聲道㈣几分別為。所述識別電阻&和 耳機左右聲道阻k Rl、Rr並聯連接於音頻地引腳。 請參閱圖3,圖4和圖5’圖3為本發明耳機與一音頻 播放裝置的耳機插孔結合使用之示意圖。圖4為本發明音 =播=裝置的硬體架構圖。圖5為預設電阻值耳機類型_ 曰放板式關系列表。如圖4所示,音頻播放裝置謂包括 —耳機插孔20、一音頻播放單元3〇、一檢測單元4〇、一 :比-數位轉換器50、一微處理器6〇、一記憶體7〇。所述 曰頻播玫袭置100的耳機插孔20連接所述耳機10,所述 ^10可為具有圖1所述耳機插頭皿的耳機或其他耳 U ’耳機10亦可以作為音頻播放裝置勘的一部分。 所述耳機插孔20包括與所述耳機1〇插頭對應的第二 5、另J引腳ID、第一音頻地引腳Audi〇GND、第二左聲道引 200824486 腳l、第二右聲道引㈣’該等彡丨腳與所述耳機的對應的 引腳接駁方式如圖3所示。 “ 該存儲裝置70存儲用於運行音頻播放裝置所需的程 式和指令;所述記憶體7Q還存料—職電阻值_耳機類型 _音效模式關系列表8 G,該關系列表8 0記錄不同預設電阻 對應的耳機類型及音效模式之間的關係,即預設電阻值、 耳機*頁型、曰效板式-—對應。例如識別引腳電阻(ID)阻 • 料於預設電阻Rl的阻值時,該耳機的耳機類型為A,對 應的音效模式為EQl。該存儲裝置%存儲有多種音效模 式’如EQl、EQ2、Eq3、戰等分別代表播放時不同的高 音(_〇、中音(middle)、以及低音(bass)的頻率效 率補償。 當耳機10連接於音頻播放裝置本體100的耳機插孔 20時,所述檢測單元40通過所述耳機插孔2〇上的第二識 別引腳ID檢測出識別電阻細的模擬電阻值,並將檢測 • 到的電阻值輸入至類比-數字轉換單元5〇。所類比_數字轉 換單元50將接收的類比電阻值轉換成數位電阻值⑻,並 將所述數位電阻值輸入至所述微處理器6〇。 所述微處理器60接收所述數位電阻值⑻,並讀取記 憶體内的電阻值-耳機類型一音效模式關系列表8〇,將檢測 的所述數位電阻值(R)與音效模式關系列表8〇巾預設電阻 值進行比較,得到該耳機的耳機類型。當判斷出耳機類型 後,微處理器60根據該耳機類型讀取記憶體中的對應的音 效模式,微處理器60控制所述音頻播放單元3〇接收所述 200824486 音效模式,並輸出一音頻信號至耳機插孔20。該耳機1〇 經由所述耳機插孔20接收所述音頻播放裝置輸出的音頻 信號,獲得理想的音效。 • 例如檢測到的識別引腳電阻(Rid)阻值等於ri,則音頻 播放裝置判斷耳機為A型,同時微處理器讀取音效模式 巵(^至音頻播放單元,音頻播放裝置1〇〇以音效模式EQi 的播放方式輸出音頻;同理,如果檢測到的識別引腳電阻 _ (RID)阻值等於R2,則音頻播放裝置判斷耳機為B型,微處 理器60讀取音效模式Ε〇2控制音頻播放單元3〇以音效模 式EQ2輸出音頻。採用以上方式,音頻播放裝置1〇〇判斷 耳機類型,並根據耳機類型重新設定播放音效模式,使耳 機獲付隶佳的音頻效應。 【圖式簡單說明】 圖1為本發明具體實施方式一耳機插頭示意圖。 • 圖2為本發明具體實施方式一耳機阻抗連接關係示意 圖。 圖3為本發明耳機與耳機插孔結合使用之示意圖 圖4為本發明音頻播放裝置一硬體架構圖。 圖5為本發明具體實施方式一預設電阻值_耳機類型_音 效模式關系列表。 【主要元件符號說明】 音頻播放裝置 耳機 1n 11 200824486 耳機插孔 20 音頻播放單元 30 檢測單元 40 • 類比-數位轉換器 50 微處理器 60 存儲器 70 預設電阻值-耳機類型-音效模式關系列表 80 耳機插頭 101 12In one embodiment, the audio playback device includes a headphone jack, a detecting unit, an analog-to-digital converter, a microprocessor, a memory, and an audio playback unit. When a headphone is inserted into the earphone jack, the detecting unit detects the resistance value of the ID pin of the earphone plug, inputs the resistance value to the analog-digital converter, and converts it into a digital resistor through the analog-digital converter. A value (R) is entered and the digital resistance value is input to the microprocessor. The microprocessor reads a preset resistance value-phone type-sound mode list in the memory, and compares the digital detection resistance value (R) with the read preset resistance value, and judges according to the comparison result The type of earphone connected to the headphone jack. The microprocessor reads the corresponding sound mode according to the determined type of earphone for audio playback. In another embodiment, the sound hole, the audio playback unit, the microprocessor, the memory, and the ear phase can be inserted into the earphone to reduce the towel; a pin, the identification pin is connected to the identification resistor; the machine jack includes a second identification pin for electrically connecting to the earphone name of the earphone; the memory is stored - Preset resistance value 趟, type-sound mode relationship list, the relationship list defines the resistance value, Q:: and the sound mode - the detection unit is used to pass 2 (4) the inspection resistance (4) resistance value; - analogy -Qin's relying on the resistance value processor to determine the sound mode corresponding to the earphone type according to the digital resistance value and the relationship list, and controlling the audio broadcast according to the sound mode mode wheel Out of the audio. The invention has the advantages that the earphone and the audio playing device can recognize different types of earphones and adjust the sound output mode so that the earphone obtains the best sound effect. [Embodiment] FIG. 1 is a schematic view of a headphone plug of an earphone according to the present invention. The earphone plug 101 includes an audio ground pin D, an identification pin 1D - a left sounding pin L, and a right channel pin R. The pins are separated by an insulating material. · One month <See Figure 2' for the connection between the headphone impedance and the plug pin. The identification (four) ID is connected to an identification resistor Rid. The left and right channels (four) of the earphone body are respectively. The identification resistor & and the left and right channel resistances k Rl, Rr of the earphone are connected in parallel to the audio ground pin. Please refer to FIG. 3, FIG. 4 and FIG. 5'. FIG. 3 is a schematic diagram showing the use of the earphone of the present invention in combination with the earphone jack of an audio playback device. Figure 4 is a diagram showing the hardware architecture of the sound = broadcast = device of the present invention. Figure 5 is a list of preset resistance value earphone type _ 板 board type relationship. As shown in FIG. 4, the audio playback device includes a headphone jack 20, an audio playback unit 3A, a detecting unit 4A, a ratio-digital converter 50, a microprocessor 6A, and a memory 7. Hey. The earphone jack 20 of the wireless broadcast device 100 is connected to the earphone 10, and the device 10 can be an earphone or other ear U with the earphone plug shown in FIG. 1. The earphone 10 can also be used as an audio playback device. a part of. The earphone jack 20 includes a second 5 corresponding to the earphone 1 plug, another J pin ID, a first audio ground pin Audi 〇 GND, a second left channel lead 200824486 pin l, and a second right sound The reference pin (4)'s pin-to-head connection with the corresponding pin is shown in Figure 3. "The storage device 70 stores programs and instructions required for running the audio playback device; the memory 7Q also stores the material resistance value_headphone type_sound mode relationship list 8G, and the relationship list 8 0 records different pre- Set the relationship between the type of the earphone corresponding to the resistance and the sound mode, that is, the preset resistance value, the headphone* page type, the effect board type--correspondence. For example, the identification of the pin resistance (ID) resistance is determined by the resistance of the preset resistor R1. When the value is set, the earphone type of the earphone is A, and the corresponding sound effect mode is EQl. The storage device stores a plurality of sound effect modes such as EQl, EQ2, Eq3, war, etc., respectively, representing different trebles during playback (_〇, midrange) (middle), and frequency efficiency compensation of the bass. When the earphone 10 is connected to the earphone jack 20 of the audio playback device body 100, the detecting unit 40 passes the second identification on the earphone jack 2 The pin ID detects an analog resistance value that identifies the resistance, and inputs the detected resistance value to the analog-to-digital conversion unit 5. The analogy_digital conversion unit 50 converts the received analog resistance value into a digital resistance value (8). And inputting the digital resistance value to the microprocessor 6. The microprocessor 60 receives the digital resistance value (8) and reads the resistance value in the memory - the earphone type - the sound effect mode relationship list 8 Comparing the detected digital resistance value (R) with the sound effect mode relationship list 8 wipe the preset resistance value to obtain the earphone type of the earphone. When the earphone type is determined, the microprocessor 60 reads according to the earphone type. Taking the corresponding sound mode in the memory, the microprocessor 60 controls the audio playback unit 3 to receive the 200824486 sound mode, and outputs an audio signal to the earphone jack 20. The earphone 1 is via the earphone jack 20 receiving the audio signal output by the audio playback device to obtain an ideal sound effect. • For example, if the detected resistance of the identification pin resistance (Rid) is equal to ri, the audio playback device determines that the earphone is type A, and the microprocessor reads Sound mode 巵 (^ to the audio playback unit, the audio playback device 1 输出 outputs the audio in the playback mode of the sound mode EQi; similarly, if the detected identification pin resistance _ (RID) resistance value In R2, the audio playback device determines that the earphone is of type B, and the microprocessor 60 reads the sound effect mode Ε〇2 to control the audio playback unit 3 to output audio in the sound mode EQ2. In the above manner, the audio playback device 1 determines the type of the earphone. And resetting the playing sound mode according to the type of the earphone, so that the earphone is paid a good audio effect. [Simplified Schematic] FIG. 1 is a schematic diagram of a headphone plug according to a specific embodiment of the present invention. FIG. 3 is a schematic diagram of a hardware structure of an audio playback device according to the present invention. FIG. 5 is a schematic diagram of a preset resistor value _ earphone type according to an embodiment of the present invention. _ Sound mode relationship list. [Main component symbol description] Audio playback device headphone 1n 11 200824486 Headphone jack 20 Audio playback unit 30 Detection unit 40 • Analog-to-digital converter 50 Microprocessor 60 Memory 70 Preset resistance value - Headphone type - Sound mode relationship list 80 Headphone plug 101 12