Audio control circuit and related control method
The BIOS or operating system stage is judged through the listing operation of the USB interface circuit and the main device, and the pop-suppression circuit is controlled, which solves the pop-support problem caused by the initialization noise of the audio control circuit, and realizes the normal playback of the speaker when it is turned on.
Patent Information
- Application Number
- CN202110351605.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-12-10
- Filing Date
- 2021-03-31
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-03-31
AI Technical Summary
When the electronic device is turned on, the initialization process of the audio control circuit may generate noise, causing the speaker to explode. Especially in the audio control circuit using the USB interface, how to accurately control the pop suppression circuit to avoid this problem without affecting the audio playback is a challenge. .
The USB interface circuit performs an enumeration operation with the main device, and determines whether it is in the BIOS or operating system stage according to the packet content, and generates a control signal to turn on or off the pop-suppression circuit to avoid or resolve the pop-suppression phenomenon.
It effectively avoids the burst phenomenon during power-on, ensures that the speaker can play audio signals normally during the operating system stage, and improves the user experience.
Smart Images

Figure CN114625334B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an audio control circuit with a Universal Serial Bus (USB) interface. Background Art
[0002] In an electronic device that has a speaker or is 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, thereby causing the speaker to have a pop sound phenomenon, causing discomfort to the user. In order to solve this problem, a pop sound suppression circuit (de-pop circuit) can be set around the audio control circuit to reduce or eliminate the pop sound phenomenon. However, since some audio control circuits are gradually beginning to use USB interfaces, how to use the audio control circuit with a USB interface to accurately control the operation of the pop sound suppression circuit to effectively suppress the pop sound phenomenon without affecting normal audio playback is an important issue. Summary of the invention
[0003] Therefore, one of the purposes 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 a signal from a host device, so as to control a pop suppression circuit to solve the problems described in the prior art.
[0004] In one 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 an enumeration operation with the host device through the USB interface circuit, and to determine whether the host device is operating in a BIOS stage or an operating system stage through the packet content of the host device during the enumeration process, so as to generate 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 host device is operating in the operating system stage, the processing circuit generates the control signal to turn off the pop suppression circuit.
[0005] In another embodiment of the present invention, a control method for an audio control circuit is disclosed, which includes the following steps: performing an enumeration operation with a host device through a USB interface circuit; judging whether the host device is operating in a BIOS stage or an operating system stage through packet contents during the enumeration process with the host device; generating a control signal to turn on a pop suppression circuit when it is judged that the host device is operating in the BIOS stage; and generating the control signal to turn off the pop suppression circuit when it is judged that the host device is operating in the operating system stage. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 is a schematic diagram of an electronic device according to an embodiment of the present invention.
[0007] Figure 2 is a flow chart of a control method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0008] Figure 1 Schematic diagram of an electronic device according to an embodiment of the present invention. Figure 1 As shown, the electronic device includes a main device 102, an audio control circuit 100, a pop suppression circuit 104 and a speaker 106, wherein the audio control circuit 100 includes a USB interface circuit 110, a processing circuit 120 and a specific pin 130. In this embodiment, the electronic device can be a computer host, a notebook computer or any other electronic device with a sound playback function, and the audio control circuit 100 is an audio device built into the main board, that is, the main device 102, the audio control circuit 100 and the pop suppression circuit 104 are made on a main board; in addition, the speaker 106 can be a sound amplification device external to the electronic device or built into the electronic device.
[0009] In this embodiment, the host device 102 may be a processor chipset in the electronic device, which is connected to the USB interface circuit 110 of the audio control circuit 100 through a USB interface, and the host device 102 transmits the audio signal through the USB interface circuit 110 to the processing circuit 120 for related processing (e.g., encoding and decoding), and then generates an output audio signal Vout to the speaker 106 for playback. However, as described in the prior art, when the electronic device is turned on, the codec or related circuits of the audio control circuit 100 may generate noise during the initialization process, thereby causing the speaker 106 to have a popping sound phenomenon. Therefore, the audio control circuit 100 of this embodiment can determine whether the host device 102 is operating in the BIOS stage or the operating system stage through the packet content during the enumeration process with the host device 102, so as to generate a control signal Vc to control the popping sound suppression circuit 104 to block the output audio signal Vout from being transmitted to the speaker 106, or to reduce the volume of the output audio signal Vout, so as to avoid the popping sound phenomenon when the electronic device is turned on, causing discomfort to the user. Specifically, when the processing circuit 120 determines that the host device 102 is currently operating in the BIOS stage through the packet content during the enumeration process with the host device 102, the processing circuit 120 generates a control signal Vc to turn on the pop suppression circuit 104 to block the output audio signal Vout from being transmitted to the speaker 106, or to reduce the volume of the output audio signal Vout; and when the processing circuit 120 determines that the host device 102 is currently operating in the operating system stage through the packet content during the enumeration process with the host device 102, the processing circuit 120 generates a control signal Vc to turn off the pop suppression circuit 104, that is, the output audio signal Vout can be directly transmitted to the speaker 106 for playback.
[0010] In the present embodiment, the audio control circuit 100 itself is a chip, and the specific pin 130 is one of the plurality of pins of the chip, and the pop suppression circuit 104 is disposed outside the audio control circuit 100. However, in another embodiment, the audio control circuit 100 and the pop suppression circuit 104 may also be disposed in the same chip, that is, the control signal Vc generated by the audio control circuit 100 is transmitted to the pop suppression circuit 104 through the wiring inside the chip, without passing through the specific pin 130, and these design changes all belong to the scope of the present invention.
[0011] Figure 2Flowchart of a control method according to an embodiment of the present invention. In step 200, the process starts, and the electronic device is powered on to perform initialization operations. In step 202, the host device 102 and the audio control circuit 100 start the enumeration process. During the enumeration process, the host device 102 transmits a USB packet to the audio control circuit 100 and assigns an address; then, the audio control circuit 100 reports back to the host device 102 to inform that it is a device with audio function, and transmits relevant information to the host device 102, such as the number of supported configurations, vendor ID, product ID, sample rate, volume range, etc.; finally, the host device 102 identifies the type of the audio control circuit 100, and transmits a USB audio class (UAC) related packet to the audio control circuit 100. In one embodiment, the UAC-related packet refers to a data packet generated by the host device 102 after the host device 102 has completed the identification of the type of the audio control circuit 100, which is used / processed by the audio control circuit 100 or is used to control the operation of the audio control circuit 100, such as setting the volume value of the audio control circuit 100, setting whether the device of the audio control circuit 100 is muted or unmute, and setting the current operation sampling rate of the audio control circuit 100. It should be noted that since a person with ordinary knowledge in the art should be able to understand the detailed operation of the enumeration process, and the focus of this embodiment is to use the packet content in the enumeration process to determine whether to turn on / off the pop suppression circuit 104, the above content only describes the main operations related to this embodiment in the enumeration process, and other details of the enumeration process are not repeated here.
[0012] In step 204, the processing circuit 120 determines whether a UAC-related packet has been received. If not, the process proceeds to step 206; if so, the process proceeds to step 212. In step 206, since the processing circuit 120 has not received a UAC-related packet, the processing circuit 120 determines that the host device 102 or the processor is currently operating in the BIOS stage, that is, the host device 102 has not completed the relevant operation of identifying the audio control circuit 100. In step 208, the processing circuit 120 generates a control signal Vc to turn on the pop suppression circuit 104 to block the output audio signal Vout from being transmitted to the speaker 106, or to reduce the volume of the output audio signal Vout. In step 210, the host device 102 notifies the audio control circuit 100 to perform the enumeration operation, and the process returns to step 202.
[0013] In step 212, since the processing circuit 120 has received the UAC related packet, the processing circuit 120 determines that the host device 102 or the processor is currently operating in the operating system stage, that is, the host device 102 has completed the related operations of identifying the audio control circuit 100, and in the case of the Microsoft Windows operating system, the processing circuit 120 can determine that the screen of the current electronic device has displayed the Windows window interface. In step 214, the processing circuit 120 generates a control signal Vc to turn off the pop suppression circuit 104, that is, the pop suppression circuit 104 will not block the output audio signal Vout from being transmitted to the speaker 106 or reduce the volume of the output audio signal Vout, and the output audio signal Vout can be directly transmitted to the speaker 106 for playback. In step 216, if the host device 102 notifies the audio control circuit 100 to re-enumerate, the process returns to step 202.
[0014] To briefly summarize the present invention, in the audio control circuit and the 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 turns on the popping suppression circuit when it is determined that the main device is operating in the BIOS stage to avoid the popping phenomenon and causing discomfort to the user, and turns off the popping suppression circuit when it is determined that the main device is operating in the operating system stage so that the speaker can play the audio signal normally. Through the present invention, the audio control circuit with a USB interface can simply and effectively achieve the function of avoiding the popping phenomenon.
[0015] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.
[0016]
Explanation of symbols
[0017] 100: Audio control circuit
[0018] 102: Main device
[0019] 104: Pop suppression circuit
[0020] 106: Speaker
[0021] 110: USB interface circuit
[0022] 120: Processing circuit
[0023] 130: Specific pin
[0024] 200-216: Steps
[0025] Vc: control signal
[0026] Vout: Output audio signal.
Claims
1. An audio control circuit, comprising: a universal serial bus interface circuit for connecting to a host device; a processing circuit coupled to the universal serial bus interface circuit, for performing an enumeration operation with the host device through the universal serial bus interface circuit, and determining whether the host device is operating in a basic input and output system stage or an operating system stage through packet contents in the enumeration process with the host device, so as to generate a control signal; When the processing circuit determines that the host device operates in the basic input and output system stage, the processing circuit generates the control signal to turn on a pop suppression circuit; and when the processing circuit determines that the host device operates in the operating system stage, the processing circuit generates the control signal to turn off the pop suppression circuit.
2. The audio control circuit according to claim 1, wherein the processing circuit determines whether the host device is operating in the basic input and output system stage or the operating system stage according to whether a universal serial bus audio class related packet is received from the host device to generate the control signal.
3. The audio control circuit according to claim 2, wherein if the processing circuit does not receive the universal serial bus audio class related packet, the processing circuit determines that the host device operates in the basic input and output system stage, and generates the control signal to turn on the pop suppression circuit; and if the processing circuit receives the universal serial bus audio class related packet, the processing circuit determines that the host device operates in the operating system stage, and generates the control signal to turn off the pop suppression circuit.
4. The audio control circuit according to claim 1, wherein the audio control circuit is disposed in a chip, and the control signal generated by the processing circuit is transmitted to the pop suppression circuit located outside the chip through a specific pin of the chip.
5. The audio control circuit according to claim 1, wherein the processing circuit is further used to generate an output audio signal, and when the processing circuit determines that the host device operates in the basic input and output system stage, the processing circuit generates the control signal to turn on the pop suppression circuit to block the output audio signal from being transmitted to a speaker, or to reduce the volume of the output audio signal; and when the processing circuit determines that the host device operates in the operating system stage, the processing circuit generates the control signal to turn off the pop suppression circuit so that the output audio signal is directly transmitted to the speaker.
6. A control method applied to an audio control circuit, comprising: Performing enumeration operation with a host device through a universal serial bus interface circuit; Determining whether the host device is operating in a basic input and output system stage or an operating system stage by comparing the packet contents with the host device during the enumeration process; When it is determined that the main device is operating in the basic input and output system stage, generating a control signal to start a pop suppression circuit; and When it is determined that the main device is operating in the operating system stage, the control signal is generated to turn off the pop suppression circuit.
7. The control method according to claim 6, wherein the step of determining whether the host device is operating in the basic input and output system stage or the operating system stage by using the packet content in the enumeration process with the host device comprises: Whether the host device is operating in the basic input and output system stage or the operating system stage is determined according to whether a universal serial bus audio class related packet is received from the host device.
8. The control method according to claim 7, wherein the step of determining whether the host device is operating in the basic input and output system stage or the operating system stage according to whether the USB audio class related packet is received from the host device comprises: If the USB audio class related packet is not received, determining that the host device is operating in the basic input and output system stage; and If the USB audio class related packet is received, it is determined that the host device is operating in the operating system stage.
9. The control method according to claim 6, wherein the audio control circuit is disposed in a chip, and the control signal is transmitted to the pop suppression circuit located outside the chip through a specific pin of the chip.
10. The control method according to claim 6, wherein when it is determined that the host device operates in the basic input and output system stage, the step of generating the control signal to turn on the pop suppression circuit; and when it is determined that the host device operates in the operating system stage, the step of generating the control signal to turn off the pop suppression circuit comprises: When it is determined that the main device operates in the basic input and output system stage, the control signal is generated to turn on the pop suppression circuit to block an output audio signal from being transmitted to a speaker, or to reduce the volume of the output audio signal; and When it is determined that the main device is operating in the operating system stage, the control signal is generated to turn off the pop suppression circuit so that the output audio signal is directly transmitted to the speaker.
