TW202223623A - Audio control circuit and associated control method - Google Patents
Audio control circuit and associated control method Download PDFInfo
- Publication number
- TW202223623A TW202223623A TW110110561A TW110110561A TW202223623A TW 202223623 A TW202223623 A TW 202223623A TW 110110561 A TW110110561 A TW 110110561A TW 110110561 A TW110110561 A TW 110110561A TW 202223623 A TW202223623 A TW 202223623A
- Authority
- TW
- Taiwan
- Prior art keywords
- host device
- circuit
- operating
- stage
- processing circuit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Circuit For Audible Band Transducer (AREA)
- Input Circuits Of Receivers And Coupling Of Receivers And Audio Equipment (AREA)
- Selective Calling Equipment (AREA)
- Stereo-Broadcasting Methods (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
本發明係有關於具有通用序列匯流排(Universal Serial Bus,USB)介面的音訊控制電路。The present invention relates to an audio control circuit with a Universal Serial Bus (USB) interface.
在本身具有揚聲器或是連接到外部揚聲器的電子裝置中,當電子裝置開機時,內部音訊控制電路的編解碼器或相關電路在初始化過程可能會產生雜訊,因而使得揚聲器出現爆音(pop sound)現象,造成使用者的不適。為了解決此一問題,可以在音訊控制電路的周邊設置一個爆音抑制電路(de-pop circuit),以降低或消除爆音現象。然而,由於目前有部分的音訊控制電路逐漸開始採用USB介面,而如何利用具有USB介面的音訊控制電路來準確地控制爆音抑制電路的操作,以有效地抑制爆音現象且不會影響到正常的音訊播放,是一個重要的課題。In an electronic device with its own speaker or connected to an external speaker, when the electronic device is turned on, the codec or related circuits of the internal audio control circuit may generate noise during the initialization process, resulting in a pop sound of the speaker. phenomenon, causing discomfort to the user. In order to solve this problem, a de-pop circuit can be arranged around the audio control circuit to reduce or eliminate the de-pop phenomenon. However, since some audio control circuits gradually begin to use the USB interface, how to use the audio control circuit with the USB interface to accurately control the operation of the pop suppression circuit, so as to effectively suppress the pop phenomenon without affecting the normal audio Playback is an important subject.
因此,本發明的目的之一在於提出一種音訊控制電路,其可以根據來自主裝置的訊號來判斷目前電子裝置是操作在基本輸入輸出系統(Basic Input/Output System,BIOS)階段或是作業系統階段,以供控制爆音抑制電路,以解決先前技術中所述的問題。Therefore, one of the objectives of the present invention is to provide an audio control circuit, which can determine whether the current electronic device is operating in the Basic Input/Output System (BIOS) stage or the operating system stage according to the signal from the host device. , to control the pop suppression circuit to solve the problems described in the prior art.
在本發明的一實施例中,揭露了一種音訊控制電路,其中該音訊控制電路包含了一USB介面電路以及一處理電路。該USB介面電路用以連接至一主裝置,且該處理電路用以透過該USB介面電路與該主裝置進行列舉操作,並透過與該主裝置在列舉過程中的封包內容來判斷該主裝置是操作於一BIOS階段或是一作業系統階段,以供產生一控制訊號;其中當該處理電路判斷該主裝置操作於該BIOS階段時,該處理電路產生該控制訊號以開啟一爆音抑制電路;以及當該處理電路判斷該主裝置操作於該作業系統階段時,該處理電路產生該控制訊號以關閉該爆音抑制電路。In an embodiment of the present invention, an audio control circuit is disclosed, wherein the audio control circuit includes a USB interface circuit and a processing circuit. The USB interface circuit is used to connect to a host device, and the processing circuit is used to perform enumeration operations with the host device through the USB interface circuit, and determine whether the host device is the host device through the packet content with the host device during the enumeration process. operating in a BIOS stage or an operating system stage for generating a control signal; wherein when the processing circuit determines that the host device is operating in the BIOS stage, the processing circuit generates the control signal to turn on a pop suppression circuit; and When the processing circuit determines that the main device is operating in the operating system stage, the processing circuit generates the control signal to turn off the pop suppression circuit.
在本發明的另一實施例中,揭露了一種應用於一音訊控制電路的控制方法,其包含有以下步驟:透過一USB介面電路來與一主裝置進行列舉操作;透過與該主裝置在列舉過程中的封包內容來判斷該主裝置是操作於一BIOS階段或是一作業系統階段;當判斷該主裝置操作於該BIOS階段時,產生一控制訊號以開啟一爆音抑制電路;以及當判斷該主裝置操作於該作業系統階段時,產生該控制訊號以關閉該爆音抑制電路。In another embodiment of the present invention, a control method applied to an audio control circuit is disclosed, which includes the following steps: performing an enumeration operation with a host device through a USB interface circuit; The packet content in the process determines whether the host device is operating in a BIOS stage or an operating system stage; when it is determined that the host device is operating in the BIOS stage, a control signal is generated to turn on a pop suppression circuit; and when it is determined that the host device is operating in the BIOS stage When the main device operates in the operating system stage, the control signal is generated to close the pop suppression circuit.
第1圖為根據本發明一實施例之電子裝置的示意圖。如第1圖所示,電子裝置包含了一主裝置102、一音訊控制電路100、一爆音抑制電路104以及一揚聲器106,其中音訊控制電路100包含了一USB介面電路110、一處理電路120以及一特定接腳130。在本實施例中,電子裝置可以是一電腦主機、一筆記型電腦或是其他任何具有聲音播放功能的電子裝置,而音訊控制電路100係為主機板上所內建的音訊裝置,亦即主裝置102、音訊控制電路100及爆音抑制電路104係製作在一主機板上;此外,揚聲器106可以是外接於電子裝置、或是內建於電子裝置的擴音裝置。FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 1, the electronic device includes a
在本實施例中,主裝置102可以是電子裝置內的一處理器晶片組,其透過USB介面連接至音訊控制電路100的USB介面電路110,且主裝置102係將音訊訊號透過USB介面電路110傳送至處理電路120進行相關的處理(例如,編解碼等處理)後,產生輸出音訊訊號Vout至揚聲器106進行播放。然而,如先前技術中所述,當電子裝置開機時,音訊控制電路100的編解碼器或相關電路在初始化過程可能會產生雜訊,因而使得揚聲器106出現爆音現象,因此,本實施例的音訊控制電路100可以透過與主裝置102在列舉(enumerate)過程中的封包內容來判斷主裝置102是操作在BIOS階段或是作業系統階段,以供產生控制訊號Vc來控制爆音抑制電路104來阻斷輸出音訊訊號Vout傳送至揚聲器106、或是降低輸出音訊訊號Vout的音量,以避免電子裝置在開機時出現爆音現象而造成使用者不適。具體來說,當處理電路120透過與主裝置102在列舉過程中的封包內容判斷目前主裝置102是操作在BIOS階段,則處理電路120產生控制訊號Vc以開啟爆音抑制電路104來阻斷輸出音訊訊號Vout傳送至揚聲器106、或是降低輸出音訊訊號Vout的音量;而當處理電路120透過與主裝置102在列舉過程中的封包內容判斷目前主裝置102是操作在作業系統階段,則處理電路120產生控制訊號Vc以關閉爆音抑制電路104,亦即輸出音訊訊號Vout可以直接被傳送至揚聲器106進行播放。In this embodiment, the
在本實施例中,音訊控制電路100本身係為一晶片,而特定接腳130為該晶片之多個接腳中的其一,且爆音抑制電路104係設置於音訊控制電路100之外。然而,在另一實施例中,音訊控制電路100與爆音抑制電路104也可以設置在同一個晶片中,亦即音訊控制電路100所產生的控制訊號Vc透過晶片內部的走線傳送至爆音抑制電路104,而不需要透過特定接腳130,這些設計上的變化均隸屬於本發明的範疇。In this embodiment, the
第2圖為根據本發明一實施例之控制方法的流程圖。於步驟200,流程開始,且電子裝置上電進行初始化操作。在步驟202,主裝置202與音訊控制電路100開始進行列舉過程,在列舉過程中,主裝置102會傳送USB封包至音訊控制電路100並分配一個位址;接著,音訊控制電路100會回報主裝置102以告知本身是具有音訊功能的裝置,並傳送相關的資訊置主裝置102,例如所支援的配置(Configuration)個數、供應商身分(vendor ID)、產品身分(product ID)、取樣率(sample rate)、音量範圍(volume range)...等等;最後,主裝置102識別音訊控制電路100的類別,並傳送USB音訊類別(USB audio class,UAC)相關封包至音訊控制電路100。在一實施例中,UAC相關封包指的是主裝置102在完成識別音訊控制電路100的類別後,所產生之供音訊控制電路100使用/處理的資料封包或是用來控制音訊控制電路100操作的封包,例如設定音訊控制電路100的音量大小值、設定音訊控制電路100的裝置是靜音或取消靜音(mute or unmute)、設定音訊控制電路100的當下操作的取樣率(sample rate)。需注意的是,由於本領域具有通常知識者應能了解列舉過程詳細操作,再加上本實施例的重點在於利用列舉過程中的封包內容來判斷是否開啟/關閉爆音抑制電路104,故上述內容僅描述了列舉過程中與本實施例相關主要操作,而列舉過程的其他細節在此不贅述。FIG. 2 is a flowchart of a control method according to an embodiment of the present invention. In
在步驟204中,處理電路120判斷目前是否已接經收到UAC相關封包,若否,流程進入步驟206;若是,流程進入步驟212。在步驟206中,由於處理電路120尚未接收到UAC相關封包,故處理電路120判斷目前主裝置102或是處理器操作在BIOS階段,亦即主裝置102尚未完成識別音訊控制電路100的相關操作。在步驟208,處理電路120產生控制訊號Vc以開啟爆音抑制電路104來阻斷輸出音訊訊號Vout傳送至揚聲器106、或是降低輸出音訊訊號Vout的音量。在步驟210,主裝置102通知音訊控制電路100進行列舉操作,且流程回到步驟202。In
在步驟212,由於處理電路120已經接收到UAC相關封包,故處理電路120判斷目前主裝置102或是處理器操作在作業系統階段,亦即主裝置102已經完成識別音訊控制電路100的相關操作,且以Microsoft Windows作業系統來說,處理電路120可以判斷目前電子裝置的螢幕已經顯示了Windows視窗介面。在步驟214,處理電路120產生控制訊號Vc以關閉爆音抑制電路104,亦即,爆音抑制電路104不會阻斷輸出音訊訊號Vout傳送至揚聲器106或是降低輸出音訊訊號Vout的音量,且輸出音訊訊號Vout可以直接被傳送至揚聲器106進行播放。在步驟216,若是主裝置102通知音訊控制電路100重新進行列舉操作,則流程回到步驟202。In
簡要歸納本發明,在本發明之音訊控制電路及相關的控制方法中,音訊控制電路係根據是否已經接收到UAC相關封包來判斷主裝置是操作在BIOS階段或是作業系統階段,並在判斷主裝置操作在BIOS階段時開啟爆音抑制電路以避免爆音現象而造成使用者不適,且在判斷主裝置操作在作業系統階段時關閉爆音抑制電路以使得揚聲器可以正常播放音訊訊號。透過本發明,可以簡單有效地讓具有USB介面的音訊控制電路達到避免爆音現象的功能。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 To briefly summarize the present invention, in the audio control circuit and related control method of the present invention, the audio control circuit determines whether the main device is operating in the BIOS stage or the operating system stage according to whether the UAC related packet has been received, and determines whether the main device is operating in the BIOS stage or the operating system stage. When the device is operating in the BIOS stage, the pop suppression circuit is turned on to avoid user discomfort caused by the pop phenomenon, and when it is judged that the main device is operating in the operating system stage, the pop suppression circuit is turned off so that the speaker can play audio signals normally. Through the present invention, the audio control circuit with the USB interface can simply and effectively achieve the function of avoiding the popping sound phenomenon. The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
100:音訊控制電路
102:主裝置
104:爆音抑制電路
106:揚聲器
110:USB介面電路
120:處理電路
130:特定接腳
200~216:步驟
Vc:控制訊號
Vout:輸出音訊訊號
100: Audio control circuit
102: Main unit
104: Pop Suppression Circuit
106: Speakers
110: USB interface circuit
120: Processing circuit
130:
第1圖為根據本發明一實施例之電子裝置的示意圖。 第2圖為根據本發明一實施例之控制方法的流程圖。 FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present invention. FIG. 2 is a flowchart of a control method according to an embodiment of the present invention.
100:音訊控制電路 100: Audio control circuit
102:主裝置 102: Main unit
104:爆音抑制電路 104: Pop Suppression Circuit
106:揚聲器 106: Speakers
110:USB介面電路 110: USB interface circuit
120:處理電路 120: Processing circuit
130:特定接腳 130: specific pin
Vc:控制訊號 Vc: control signal
Vout:輸出音訊訊號 Vout: output audio signal
Claims (10)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/363,010 US11929722B2 (en) | 2020-12-10 | 2021-06-30 | Audio control circuit and associated control method |
JP2021117279A JP7235810B2 (en) | 2020-12-10 | 2021-07-15 | Audio control circuit and related control method |
EP21187830.1A EP4012550A1 (en) | 2020-12-10 | 2021-07-27 | Audio control circuit and associated control method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US202063124027P | 2020-12-10 | 2020-12-10 | |
US63/124,027 | 2020-12-10 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202223623A true TW202223623A (en) | 2022-06-16 |
TWI779530B TWI779530B (en) | 2022-10-01 |
Family
ID=81897230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110110561A TWI779530B (en) | 2020-12-10 | 2021-03-24 | Audio control circuit and associated control method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114625334A (en) |
TW (1) | TWI779530B (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6216052B1 (en) * | 1996-10-23 | 2001-04-10 | Advanced Micro Devices, Inc. | Noise elimination in a USB codec |
KR100191463B1 (en) * | 1996-12-30 | 1999-06-15 | 윤종용 | Volume control apparatus of audio system with microphone |
CN100561581C (en) * | 2005-12-31 | 2009-11-18 | 联想(北京)有限公司 | Audio playing apparatus and voice playing control method |
TWI382657B (en) * | 2007-03-01 | 2013-01-11 | Princeton Technology Corp | Audio processing system |
TWI423119B (en) * | 2008-10-15 | 2014-01-11 | C Media Electronics Inc | Externally-connected audio apparatus and method for processing audio signal thereof |
CN105338445A (en) * | 2014-06-26 | 2016-02-17 | 展讯通信(上海)有限公司 | Signal transmission device, method and mobile terminal |
CN107145323A (en) * | 2016-03-01 | 2017-09-08 | 中兴通讯股份有限公司 | A kind of method for controlling volume and device and terminal |
KR102386285B1 (en) * | 2017-09-08 | 2022-04-14 | 삼성전자주식회사 | Method for controlling audio outputs by applications respectively through earphone and electronic device for the same |
CN111241018B (en) * | 2018-11-28 | 2021-08-10 | 比亚迪股份有限公司 | Audio starting circuit, interface circuit and terminal of Type-C USB interface |
CN111479194B (en) * | 2019-01-23 | 2022-02-15 | 瑞昱半导体股份有限公司 | Method for controlling audio playing device and related control circuit |
-
2021
- 2021-03-24 TW TW110110561A patent/TWI779530B/en active
- 2021-03-31 CN CN202110351605.5A patent/CN114625334A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
TWI779530B (en) | 2022-10-01 |
CN114625334A (en) | 2022-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4820434B2 (en) | Microphone mute control | |
JP3742474B2 (en) | Computer system having an audio device | |
US8249730B2 (en) | Systems and methods for shadowing an HDA codec | |
US6885900B1 (en) | Method and apparatus for providing multiple channel audio in a computing system | |
US8447047B2 (en) | Information processing apparatus and information processing method | |
US11334134B2 (en) | Integrated circuit | |
JP2009151242A (en) | Information processing device and display control method | |
JP2006339852A (en) | Information processor and method for selecting module | |
JP2001197599A (en) | Phase adjustment method, audio reproducing device and recording medium | |
US8294821B1 (en) | HDMI consumer electronics control common interface | |
TWI779530B (en) | Audio control circuit and associated control method | |
US11929722B2 (en) | Audio control circuit and associated control method | |
US6195437B1 (en) | Method and apparatus for independent gain control of a microphone and speaker for a speakerphone mode and a non-speakerphone audio mode of a computer system | |
US20050131561A1 (en) | Information handling system including docking station with digital audio capability | |
TWI768803B (en) | Audio control circuit, host device and associated control method | |
US20100046110A1 (en) | Information processing apparatus and control method thereof | |
EP1696313A2 (en) | An Audio Signal Switching Apparatus | |
CN213024346U (en) | Intelligent interaction equipment | |
US11341014B2 (en) | System and method for generating a hotkey in a pre-boot environment | |
CN114840460B (en) | Hot plug processing method, storage medium, electronic equipment and processing system | |
KR100982258B1 (en) | Notebook computer | |
TW202404373A (en) | Capture device and method | |
JP2003022149A (en) | Personal computer and computer system | |
KR970029005A (en) | Sound reinforcement device of portable computer and its method | |
TWI401559B (en) | Data processing system and regulating method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent |