Audio circuits and electronics
By designing an audio circuit in an electronic device, the audio signal to be played is adjusted and separated into medium and high audio and low audio signals, and the 2.1 channel playback effect is achieved through two speakers, which solves the sound quality effect and cost in the existing technology. The problem of unified thickness improves sound quality and reduces costs.
Patent Information
- Application Number
- CN202210246100.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-14
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2042-03-14
AI Technical Summary
There are difficulties in pursuing the unity of sound quality, effect, cost and thickness of existing electronic devices. The sound quality of the 2.0 channel solution is ordinary, while the 2.1 channel solution is costly and the thickness cannot be thin.
Design an audio circuit, including an audio input circuit, a sound effect adjustment circuit, an amplifier circuit and a speaker, and divide the audio signal to be played into medium and high audio signals and low audio signals through the sound effect adjustment circuit, and output it to two power amplification through the power amplifier circuit. One speaker, achieving 2.1 channel playback effect, while reducing design costs.
It improves the sound quality and user's auditory experience, reduces design costs, simplifies the entire machine structure, and does not require setting up three speakers.
Smart Images

Figure CN114745633B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of audio playback, and in particular relates to an audio circuit and electronic equipment. Background Art
[0002] Consumer electronic devices, such as monitors or all-in-one conference devices, have internal amplifier modules and play audio through speakers. Most products are designed with 2.0 channels (left and right speakers) or 2.1 channels (left and right speakers + subwoofer).
[0003] like Figure 1 As shown, the existing 2.0 channel solution is to use an analog amplifier inside the whole machine to receive analog audio signals and match it with 2 speakers.
[0004] The existing 2.0 channel only uses 2 speakers and no subwoofer is set. The thickness of the whole machine is relatively thin, but the sound quality is ordinary and there is no bass effect.
[0005] like Figure 2 As shown, the existing 2.1-channel solution is that a digital amplifier is used inside the whole machine to receive digital audio signals and is matched with three speakers. It has a heavy bass effect and good sound quality, and is loved by more consumers. However, since it is equipped with three speakers, the cost is relatively high. At the same time, since the sound cavity of the matched bass speaker is relatively large, the thickness of the whole machine cannot be made thinner.
[0006] Therefore, conventional electronic devices cannot achieve the unity of sound quality, cost and product thickness. Summary of the invention
[0007] The purpose of the present invention is to provide an audio circuit, aiming to improve the sound quality while reducing the design cost and product thickness.
[0008] A first aspect of an embodiment of the present invention provides an audio circuit, comprising:
[0009] An audio input circuit, the audio input circuit being used to receive a first audio signal to be played;
[0010] Audio output circuit;
[0011] a sound effect adjustment circuit connected to the audio input circuit and the audio output circuit respectively, the sound effect adjustment circuit performs sound effect adjustment on the first audio signal, and converts and outputs a second audio signal, wherein the second audio signal includes a mid-high audio signal and a low audio signal;
[0012] A power amplifier circuit connected to the audio output circuit, the first speaker and the second speaker respectively;
[0013] The power amplifier circuit is used to amplify the power of the second audio signal, and output the power-amplified second audio signal to the first speaker and the second speaker respectively, so that the first speaker and the second speaker play the corresponding audio signal.
[0014] Optionally, the sound effect adjustment circuit comprises a DSP chip and a memory connected thereto, and the memory stores sound effect adjustment parameters;
[0015] The DSP chip is used to read the sound effect adjustment parameters and perform sound effect adjustment on the first audio signal when the power-on trigger operation is in progress, and convert and output the second audio signal.
[0016] Optionally, the audio circuit further includes a headphone interface, which is connected to the DSP chip and is used to connect a headphone device;
[0017] The DSP chip is further used to output the second audio signal to the headphone device, so that the headphone device plays the corresponding audio signal.
[0018] Optionally, the first audio signal is a LINE analog audio signal, the audio input circuit comprises a LINE interface and a first filter coupling circuit connected to each other, and the first filter coupling circuit is also connected to the DSP chip;
[0019] The LINE interface is used to input a LINE analog audio signal to be played;
[0020] The first filter coupling circuit is used to filter and couple the LINE analog audio signal and then output it to the DSP chip;
[0021] The audio output circuit comprises a second filter coupling circuit, and the second filter coupling circuit is respectively connected to the DSP chip and the power amplifier circuit;
[0022] The second filtering coupling circuit is used to couple and filter the second audio signal of the analog signal type output by the DSP chip and then output it to the power amplifier circuit.
[0023] Optionally, the first audio signal further includes an I2S digital audio signal and an AUX analog audio signal, and the audio input circuit further includes an I2S interface, an AUX interface, a first filter circuit and a third filter coupling circuit;
[0024] The first filter circuit is connected to the I2S interface and the DSP chip respectively, and the third filter coupling circuit is connected to the AUX interface and the DSP chip respectively;
[0025] The I2S interface is used to input the I2S digital audio signal to be played;
[0026] The AUX interface is used to input the AUX analog audio signal to be played;
[0027] The first filtering circuit is used for filtering the I2S digital audio signal and then outputting it to the DSP chip;
[0028] The third filter coupling circuit is used for filtering and coupling the AUX analog audio signal and then outputting it to the DSP chip;
[0029] The audio output circuit also includes a second filtering circuit;
[0030] The second filter circuit is connected to the DSP chip and the power amplifier circuit respectively;
[0031] The second filtering circuit is used to filter the second audio signal of the digital signal type output by the DSP chip and then output it to the power amplifier circuit.
[0032] Optionally, the audio circuit further includes a mute control circuit, and the mute control circuit is connected to the power amplifier circuit;
[0033] The mute control circuit is used to output a mute control signal to trigger and control the mute output of the power amplifier circuit.
[0034] Optionally, the audio circuit further includes a mode selection circuit, and the mode selection circuit is connected to the DSP chip;
[0035] The mode selection circuit is used to output a mode selection signal to trigger and control the DSP chip to switch the working mode.
[0036] Optionally, the audio circuit further includes a chip setting circuit, and the chip setting circuit is connected to the DSP chip;
[0037] The chip setting circuit is used to output a parameter adjustment signal to trigger and control the DSP chip to perform parameter setting.
[0038] Optionally, the audio circuit further includes a reset control circuit, and the reset control circuit is connected to the DSP chip;
[0039] The reset control circuit is used to output a reset control signal to trigger the reset of the DSP chip.
[0040] A second aspect of an embodiment of the present invention provides an electronic device, including a first speaker, a second speaker, and the audio circuit as described above, wherein the first speaker and the second speaker are respectively connected to the audio circuit.
[0041] Compared with the prior art, the beneficial effects of the embodiments of the present invention are as follows: the above-mentioned audio circuit adjusts the sound effect of the first audio signal to be played, so that the output second audio signal has a mid-high audio signal and a low audio signal respectively. At the same time, the second audio signal is amplified by the power amplifier circuit and output to two speakers respectively to play the mid-high audio and the low audio, thereby achieving a 2.1-channel playback effect, improving the sound quality and the user's auditory experience. At the same time, there is no need to set up three speakers, which reduces the design cost and simplifies the structure of the whole machine. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a schematic diagram of the structure of a traditional 2.0-channel audio circuit;
[0043] Figure 2 It is a schematic diagram of the structure of a traditional 2.1-channel audio circuit;
[0044] Figure 3 A schematic diagram of a first structure of an audio circuit provided by an embodiment of the present invention;
[0045] Figure 4 A second structural schematic diagram of an audio circuit provided by an embodiment of the present invention;
[0046] Figure 5 A third structural schematic diagram of the audio circuit provided by an embodiment of the present invention;
[0047] Figure 6 A fourth structural schematic diagram of an audio circuit provided by an embodiment of the present invention;
[0048] Figure 7 for Figure 5 A circuit diagram of a first filter coupling circuit in the audio circuit shown;
[0049] Figure 8 for Figure 5 A circuit diagram of a first filter circuit and a second filter circuit in the audio circuit shown;
[0050] Fig. 9 for Figure 5 A circuit diagram of a third filter coupling circuit in the audio circuit shown;
[0051] Fig.10 for Figure 6 The circuit diagram of the mute control circuit in the audio circuit shown. DETAILED DESCRIPTION
[0052] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0053] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0054] A first aspect of an embodiment of the present invention provides an audio circuit 100 .
[0055] like Figure 3 As shown, Figure 3 A first structural diagram of an audio circuit 100 provided in an embodiment of the present invention, wherein the audio circuit 100 includes:
[0056] An audio input circuit 10, the audio input circuit 10 is used to receive a first audio signal to be played;
[0057] Audio output circuit 30;
[0058] A sound effect adjustment circuit 20 connected to the audio input circuit 10 and the audio output circuit 30 respectively, the sound effect adjustment circuit 20 performs sound effect adjustment on the first audio signal and converts and outputs a second audio signal, wherein the second audio signal includes a mid-high audio signal and a low audio signal;
[0059] A power amplifier circuit 40 connected to the audio output circuit 30, the first speaker 200 and the second speaker 300 respectively;
[0060] The power amplifier circuit 40 is used to amplify the power of the second audio signal and output the power-amplified second audio signal to the first speaker 200 and the second speaker 300 respectively, so that the first speaker 200 and the second speaker 300 play the corresponding audio signal.
[0061] In this embodiment, the first audio signal to be played is provided by a front-end signal source, wherein the front-end signal source may be a main chip in the same electronic device as the audio circuit 100, or another electronic device or a memory 22 or other structure.
[0062] The first audio signal is input to the sound effect adjustment circuit 20 through the audio input circuit 10. The audio input circuit 10 supports corresponding types of audio signal input, such as LINE analog audio signal, I2S digital audio signal, AUX analog audio signal, etc. The sound effect adjustment circuit 20 stores sound effect adjustment parameters and has a sound effect adjustment function. It receives an analog or digital first audio signal and adjusts the parameters of the first audio signal according to the sound effect adjustment parameters, thereby converting and outputting a second audio signal, including dynamic bass enhancement, loudness, EQ, volume control, etc. The second audio signal includes a mid-high audio signal and a low audio signal. The mid-high audio signal and the low audio signal are amplified by the power amplifier circuit 40 and then output to the first speaker 200 and the second speaker 300. The first speaker 200 and the second speaker 300 respectively play the mid-high audio signal and the low audio signal at the same time to achieve a 2.1-channel playback effect, improve the sound quality effect and enhance the user's auditory experience. At the same time, there is no need to set up three speakers, which reduces the design cost and simplifies the structure of the whole machine.
[0063] Among them, according to the type of audio input, the audio input circuit 10 can select the corresponding interface circuit. Similarly, the audio output circuit 30 can select the corresponding digital signal processing circuit or analog signal processing circuit according to the type of audio signal converted and output by the sound effect adjustment circuit 20. The specific structure is not limited.
[0064] The power amplifier circuit 40 can adopt a corresponding power amplifier chip or power amplifier circuit 40 with an analog power amplifier and / or a digital power amplifier. The specific structure is not limited. Optionally, the power amplifier circuit 40 is a power amplifier chip, which receives the second audio signal of the analog signal type or the digital signal type output by the DSP chip 21 and performs corresponding power amplification processing.
[0065] Furthermore, the audio circuit 100 also includes a power supply circuit 50 for providing working power to the corresponding chip or circuit. The power supply circuit 50 can adopt corresponding step-down circuits, voltage stabilizing circuits and other structures, and output one or more working power supplies of corresponding voltage levels to the corresponding modules.
[0066] The sound effect adjustment circuit 20 may use a corresponding sound effect adjustment chip, optionally, such as Figure 4 As shown, the sound effect adjustment circuit 20 includes a DSP chip 21 and a memory 22 connected to each other, and the memory 22 stores sound effect adjustment parameters;
[0067] The DSP chip 21 is used to read the sound effect adjustment parameters and perform sound effect adjustment on the first audio signal when the power-on trigger operation is performed, and convert and output the second audio signal.
[0068] Among them, the DSP chip 21 can realize the sound effect adjustment from analog audio signal to analog audio signal, the sound effect adjustment from digital audio signal to digital audio signal, the sound effect adjustment from digital audio signal to analog audio signal, and multiple sound effect adjustment outputs from analog audio signal to digital audio signal, that is, it can support the input of analog audio signal and digital audio signal, as well as the conversion output of analog audio signal and digital audio signal.
[0069] The sound effect adjustment parameters are stored in the memory 22. The sound effect adjustment parameters can be adjusted differently according to different speaker cavities, the overall structure of the machine, and the subjective tastes of different users to achieve different sound quality effects and frequency response curves. The adjusted parameters are burned into the memory 22. After the DSP chip 21 is powered on, the DSP chip 21 automatically reads the parameter configuration from the memory 22, and adjusts the sound effect of the first audio signal according to the parameter configuration, including different degrees of dynamic bass enhancement, loudness, EQ, volume control, etc., and then outputs the required second audio signal, and outputs it to the power amplifier circuit 40 and the speaker to achieve playback effects with different sound qualities.
[0070] Please continue reading Figure 4 Optionally, the audio circuit 100 further includes an earphone interface 61, which is connected to the DSP chip 21 and is used to connect an earphone device;
[0071] The DSP chip 21 is also used to output the second audio signal to the headphone device so that the headphone device plays the corresponding audio signal, so that when the audio is output, on the one hand, it can be output to the speaker for external transmission, and on the other hand, it can be output to the headphone device for separate playback. The headphone device can be a headphone with different structures such as a headset, in-ear headphones, etc.
[0072] Alternatively, if Figure 5 As shown, the first audio signal is a LINE analog audio signal, and the audio input circuit 10 includes a LINE interface 11 and a first filter coupling circuit 12 connected to each other, and the first filter coupling circuit 12 is also connected to the DSP chip 21;
[0073] LINE interface 11, used for inputting LINE analog audio signals to be played;
[0074] The first filter coupling circuit 12 is used to filter and couple the LINE analog audio signal and then output it to the DSP chip 21;
[0075] The audio output circuit 30 includes a second filter coupling circuit 31, and the second filter coupling circuit 31 is respectively connected to the DSP chip 21 and the power amplifier circuit 40;
[0076] The second filter coupling circuit 31 is used for coupling and filtering the second audio signal of the analog signal type output by the DSP chip 21 and then outputting it to the power amplifier circuit 40 .
[0077] In this embodiment, the LINE interface 11 receives a first audio signal to be played, and the first audio signal is a LINE analog audio signal. After filtering and coupling processing by the first filter coupling circuit 12, it is output to the DSP chip 21, thereby converting a second audio signal of the corresponding analog signal type. The second audio signal is filtered and coupled by the second filter coupling circuit 31 and then output to the power amplifier circuit 40 to achieve analog signal power amplification processing, and then output to the first speaker 200 and the second speaker 300, so as to achieve the playback of the mid-high audio and low audio of the analog audio signal and achieve the 2.1-channel sound quality playback effect.
[0078] The LINE interface 11 may adopt an audio socket of a corresponding structure, and the first filter coupling circuit 12 and the second filter coupling circuit 31 may adopt corresponding filter circuits and coupling circuits. Optionally, as Figure 7 As shown, the first filtering coupling circuit 12 includes a first inductor L1, a second inductor L2, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a first capacitor C1, a second capacitor C2, a third capacitor C3 and a fourth capacitor C4, wherein the first inductor L1, the first resistor R1 and the first capacitor C1 constitute a filtering unit to implement filtering of a first audio signal, the third capacitor C3 and the third resistor R3 constitute a coupling unit to implement coupling output of an analog audio signal, similarly, the second inductor L2, the second resistor R2 and the second capacitor C2 constitute a filtering unit to implement filtering of another first audio signal, the fourth capacitor C4 and the fourth resistor R4 constitute a coupling unit to implement coupling output of an analog audio signal.
[0079] The second filter coupling circuit 31 may adopt the same or similar structure as the first filter coupling circuit 12 to implement filter coupling processing of the second audio signal and output it to the power amplifier circuit 40 .
[0080] For further information, please refer to Figure 5 Optionally, the first audio signal further includes an I2S digital audio signal and an AUX analog audio signal, and the audio input circuit 10 further includes an I2S interface 13, an AUX interface 15, a first filter circuit 14 and a third filter coupling circuit 16;
[0081] The first filter circuit 14 is connected to the I2S interface 13 and the DSP chip 21 respectively, and the third filter coupling circuit 16 is connected to the AUX interface 15 and the DSP chip 21 respectively;
[0082] An I2S interface 13 is used to input an I2S digital audio signal to be played;
[0083] AUX interface 15, used for inputting AUX analog audio signals to be played;
[0084] The first filter circuit 14 is used to filter the I2S digital audio signal and then output it to the DSP chip 21;
[0085] The third filter coupling circuit 16 is used to filter and couple the AUX analog audio signal and then output it to the DSP chip 21;
[0086] The audio output circuit 30 further includes a second filter circuit 32;
[0087] The second filter circuit 32 is connected to the DSP chip 21 and the power amplifier circuit 40 respectively;
[0088] The second filtering circuit 32 is used for filtering the second audio signal of the digital signal type output by the DSP chip 21 and then outputting it to the power amplifier circuit 40 .
[0089] In this embodiment, the I2S interface 13 and the AUX interface 15 are backup interfaces, which can support the connection of the corresponding I2S audio module and the AUX audio module, and input the I2S digital audio signal or the AUX analog audio signal. At the same time, in order to match the signal processing of the digital audio signal and the analog audio signal, a first filtering circuit 14 connected to the I2S interface 13 is set, and a third filtering coupling circuit 16 connected to the AUX interface 15 is set to realize the filtering coupling processing of the analog audio signal and the filtering work of the digital audio signal.
[0090] The DSP chip 21 receives a first audio signal of a corresponding digital signal type and an analog signal type, and converts it into a second audio signal of a corresponding digital signal type or an analog signal type. At the same time, in order to match the output second audio signal of a digital signal type, a corresponding second filtering circuit 32 is provided to implement filtering of the digital signal.
[0091] By adding the I2S interface 13, the AUX interface 15 and the corresponding filtering circuit, more types of front-end signal sources and back-end power amplifier circuits 40 can be compatible, thereby improving the diversity of signal conversion and playback functions.
[0092] The first filter circuit 14 and the second filter circuit 32 may adopt corresponding capacitor-resistor structures, optionally, as Figure 8 As shown, the filtering circuit includes a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7 and an eighth capacitor C8. The resistors and capacitors respectively constitute a filtering unit for one signal, and respectively implement filtering processing on each signal of the first audio signal or the second audio signal of the digital signal type.
[0093] The third filter coupling circuit 16 is used to implement the filtering process of the AUX analog audio signal. Fig. 9 As shown, the third filter coupling circuit 16 includes multiple filter coupling branches, which are respectively used to perform filter coupling processing on each signal of the AUX analog audio signal, wherein each filter coupling branch includes structures such as filter inductance, filter capacitor, resistor, and coupling capacitor.
[0094] like Figure 6 As shown, optionally, the audio circuit 100 further includes a mute control circuit 62, and the mute control circuit 62 is connected to the power amplifier circuit 40;
[0095] The mute control circuit 62 is used to output a mute control signal to trigger the mute output of the power amplifier circuit 40, thereby controlling the power amplifier circuit 40 to be in a mute state or a working state. The mute control circuit 62 can adopt a corresponding key, chip, etc. structure. Optionally, as Fig.10 As shown, the mute control circuit 62 includes an eighteenth resistor R18, a nineteenth resistor R19, a twentieth resistor R20, a twenty-first resistor R21, a twenty-second resistor R22, a twenty-third resistor R23, a twenty-fourth resistor R24, a twenty-fifth resistor R25, a twenty-sixth resistor R26, a first transistor Q1 and a second transistor Q2;
[0096] Among them, the first end of the eighteenth resistor R18 is used to input the trigger signal RESET, the second end of the eighteenth resistor R18, the first end of the nineteenth resistor R19 and the base of the first transistor Q1 are interconnected, the second end of the nineteenth resistor R19 and the first end of the twenty-fifth resistor R25 are connected together to form a second signal end of the mute control circuit 62, the second end of the twenty-fifth resistor R25 and the emitter of the first transistor Q1 are both grounded, the collector of the first transistor Q1, the first end of the twentieth resistor R20, the first end of the twenty-first resistor R21 and the first end of the twenty-second resistor R22 are connected together, and the second end of the twenty-fifth resistor R25 and the emitter of the first transistor Q1 are both grounded. The second end of the resistor R20 is connected to the positive power supply VCC, the second end of the twenty-first resistor R21 and the first end of the twenty-third resistor R23 are connected to the base of the second transistor Q2, the second end of the twenty-second resistor R22 and the first end of the twenty-sixth resistor R26 are connected together to form the first signal end of the mute control circuit 62, the second end of the twenty-third resistor R23 and the first end of the twenty-fourth resistor R24 are connected together and connected to the positive power supply VCC, the second end of the twenty-fourth resistor R24 is connected to the emitter of the second transistor Q2, and the second end of the twenty-sixth resistor R26 is grounded.
[0097] Among them, the first end of the mute control circuit 62 is connected to the power amplifier circuit 40, and the second signal end of the mute control circuit 62 is a spare port for outputting a mute control signal to the DSP chip 21 to achieve silent control of the DSP chip 21.
[0098] Specifically, after power-on, the trigger signal RESET is at a low level, the first transistor Q1 is turned off, a high level is input to the base of the second transistor Q2, the second transistor Q2 is turned off, and a low level is output to the power amplifier circuit 40, thereby controlling the power amplifier circuit 40 to mute.
[0099] When the trigger signal RESET switches to a high level, the first transistor Q1 is turned on and outputs a low level to the second transistor Q2. The second transistor Q2 is turned on, the first end of the mute control circuit 62 outputs a high level and controls the power amplifier circuit 40 to switch to a working state.
[0100] At the same time, the trigger signal RESET can also be output to the DSP chip 21 through the eighteenth resistor R18 and the nineteenth resistor R19 to achieve silent control of the DSP chip 21 .
[0101] like Figure 6 As shown, optionally, the audio circuit 100 further includes a mode selection circuit 63, and the mode selection circuit 63 is connected to the DSP chip 21;
[0102] The mode selection circuit 63 is used to output a mode selection signal to trigger the DSP chip 21 to switch the working mode.
[0103] In this embodiment, the DSP chip 21 supports self-start mode, I2C control mode, etc., and connects to the mode selection circuit 63 through the corresponding pin or interface. When in the self-start mode, the DSP chip 21 turns on or off the self-start mode by judging the high and low levels of its own self-start pin. When switching to the self-start mode, the DSP chip 21 automatically reads the parameter configuration from the memory 22 for initialization and sound effect processing to achieve sound effect adjustment. At the same time, write protection is also set in the self-start mode. The sound effect adjustment parameters are controlled to be written into the memory 22 according to the high and low levels of the write protection pin, or the parameter data is saved when the power is off.
[0104] When the DSP chip 21 is connected to the computer through the I2C interface for sound effect configuration, the DSP chip 21 switches to the I2C control mode, and the sigma studio audio software on the computer configures parameters through the I2C interface and burns them into the memory 22. When the port I2C is not connected, the DSP chip 21 returns to the self-start mode and reads the parameter configuration from the memory 22.
[0105] Therefore, the mode selection circuit 63 can be an I2C interface or a signal source that sends a corresponding high level to achieve mode selection for the DSP chip 21 .
[0106] Please continue reading Figure 6 , Optionally, the audio circuit 100 further includes a chip setting circuit 64, and the chip setting circuit 64 is connected to the DSP chip 21;
[0107] The chip setting circuit 64 is used to output a parameter adjustment signal to trigger the control DSP chip 21 to perform parameter setting, such as frequency, sound effect adjustment parameters, etc. For example, the chip setting circuit 64 changes the output frequency of the phase-locked loop of the DSP chip 21 by outputting different combination level signals. For example, the output frequency of the phase-locked loop is set to 64*fs, 256*fs, 384*fs, and 512*fs respectively, where fs is the sampling frequency.
[0108] The chip setting circuit 64 can be a level output circuit, or a conversion circuit, or a corresponding burning module, and the specific structure is not limited.
[0109] Alternatively, if Figure 6 As shown, the audio circuit 100 further includes a reset control circuit 65, and the reset control circuit 65 is connected to the DSP chip 21;
[0110] The reset control circuit 65 is used to output a reset control signal to trigger the reset control of the DSP chip 21. Specifically, after power-on, the reset control circuit 65 outputs a high level or a low level to control the DSP reset. After the reset is completed, the reset control circuit 65 switches the level output, and the DSP chip 21 works normally. Among them, the reset control circuit 65 can use a reset chip to automatically reset, or select a button to achieve manual reset. The corresponding RC reset circuit can also be selected to automatically achieve the reset control of the DSP chip 21 after power-on using the RC characteristics. The specific structure is not limited.
[0111] Optionally, the input end of the mute control circuit 62 is connected to the reset chip, that is, during reset, the mute control circuit 62 synchronously outputs a mute control signal to the DSP chip 21 and the power amplifier circuit 40, controls the DSP chip 21 and the power amplifier circuit 40 to be in a mute state, and at the same time, when the reset is completed, switches the working state of the DSP chip 21 and the power amplifier circuit 40 to a normal state.
[0112] Optionally, the audio circuit 100 also includes a crystal oscillator circuit, which is connected to the DSP chip 21. The crystal oscillator circuit can use a quartz crystal oscillator. At the same time, according to the analog signal type or digital signal type of the first audio signal, a corresponding switching switch or switching circuit can be selected, that is, when the first audio signal is a LINE analog audio signal or an AUX analog audio signal, the crystal oscillator circuit switches to the quartz crystal oscillator, and the quartz crystal oscillator provides the master clock. When an I2S digital audio signal is input, the master clock of the DSP chip 21 is switched to the master clock signal provided by the I2S digital audio signal. Similarly, when an I2S digital audio signal is output, the master clock of the DSP chip 21 is switched to the master clock signal provided by the I2S digital audio signal. The specific setting is based on the audio signal type.
[0113] The present invention further provides an electronic device, which includes a first speaker 200, a second speaker 300 and an audio circuit 100. The specific structure of the audio circuit 100 refers to the above embodiment. Since the electronic device adopts all the technical solutions of all the above embodiments, it at least has all the beneficial effects brought by the technical solutions of the above embodiments, which are not described one by one here. The first speaker 200 and the second speaker 300 are respectively connected to the audio circuit 100.
[0114] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. An audio circuit, characterized in that: include: An audio input circuit, the audio input circuit being used to receive a first audio signal to be played; Audio output circuit; a sound effect adjustment circuit connected to the audio input circuit and the audio output circuit respectively, the sound effect adjustment circuit performs sound effect adjustment on the first audio signal, and converts and outputs a second audio signal, wherein the second audio signal includes a mid-high audio signal and a low audio signal; A power amplifier circuit connected to the audio output circuit, the first speaker and the second speaker respectively; The power amplifier circuit is used to amplify the power of the second audio signal, and output the power-amplified second audio signal to the first speaker and the second speaker respectively, so that the first speaker and the second speaker play the corresponding audio signal; The sound effect adjustment circuit comprises a DSP chip and a memory connected to each other, and the memory stores sound effect adjustment parameters; The DSP chip is used to read the sound effect adjustment parameter and perform sound effect adjustment on the first audio signal when the power-on trigger operation is in progress, and convert and output the second audio signal; The audio circuit further includes a mute control circuit, and the mute control circuit is connected to the power amplifier circuit; The mute control circuit is used to output a mute control signal to trigger the mute output of the power amplifier circuit, and output a trigger signal to trigger the DSP chip to be silent; The audio circuit also includes a mode selection circuit, and the mode selection circuit is connected to the DSP chip; The mode selection circuit is used to output a mode selection signal to trigger and control the DSP chip to switch the working mode; The DSP chip is connected to the mode selection circuit through a corresponding pin or interface. The DSP chip supports a self-starting mode and an I2C control mode. When in the self-starting mode, the DSP chip turns on or off the self-starting mode by judging the high and low levels of its own self-starting pin. When switched to the self-starting mode, the DSP chip automatically reads parameter configuration from the memory for initialization and sound effect processing to achieve sound effect adjustment; When the DSP chip is connected to a computer via an I2C interface for sound effect configuration, the DSP chip switches to an I2C control mode, and the computer performs parameter configuration via the I2C interface and burns the configuration into the memory. When the port I2C is not connected, the DSP chip returns to an automatic startup mode and reads the parameter configuration from the memory. The audio circuit also includes a reset control circuit, and the reset control circuit is connected to the DSP chip; The reset control circuit is used to output a reset control signal to trigger the reset control of the DSP chip. The input end of the mute control circuit is connected to the reset control circuit. When resetting, the mute control circuit synchronously outputs a mute control signal to the DSP chip and the power amplifier circuit to control the DSP chip and the power amplifier circuit to be in a mute state.
2. The audio circuit according to claim 1, characterized in that The audio circuit also includes a headphone interface, which is connected to the DSP chip and is used to connect a headphone device; The DSP chip is further used to output the second audio signal to the headphone device, so that the headphone device plays the corresponding audio signal.
3. The audio circuit according to claim 1, wherein: The first audio signal is a LINE analog audio signal, the audio input circuit comprises a LINE interface and a first filter coupling circuit connected to each other, and the first filter coupling circuit is also connected to the DSP chip; The LINE interface is used to input a LINE analog audio signal to be played; The first filter coupling circuit is used to filter and couple the LINE analog audio signal and then output it to the DSP chip; The audio output circuit comprises a second filter coupling circuit, and the second filter coupling circuit is respectively connected to the DSP chip and the power amplifier circuit; The second filtering coupling circuit is used to couple and filter the second audio signal of the analog signal type output by the DSP chip and then output it to the power amplifier circuit.
4. The audio circuit according to claim 3, characterized in that: The first audio signal also includes an I2S digital audio signal and an AUX analog audio signal, and the audio input circuit also includes an I2S interface, an AUX interface, a first filter circuit and a third filter coupling circuit; The first filter circuit is connected to the I2S interface and the DSP chip respectively, and the third filter coupling circuit is connected to the AUX interface and the DSP chip respectively; The I2S interface is used to input the I2S digital audio signal to be played; The AUX interface is used to input the AUX analog audio signal to be played; The first filtering circuit is used for filtering the I2S digital audio signal and then outputting it to the DSP chip; The third filter coupling circuit is used for filtering and coupling the AUX analog audio signal and then outputting it to the DSP chip; The audio output circuit also includes a second filtering circuit; The second filter circuit is connected to the DSP chip and the power amplifier circuit respectively; The second filtering circuit is used to filter the second audio signal of the digital signal type output by the DSP chip and then output it to the power amplifier circuit.
5. The audio circuit according to any one of claims 2 to 4, characterized in that: The audio circuit also includes a chip setting circuit, and the chip setting circuit is connected to the DSP chip; The chip setting circuit is used to output a parameter adjustment signal to trigger and control the DSP chip to perform parameter setting.
6. An electronic device, characterized in that: The invention comprises a first speaker, a second speaker and the audio circuit according to any one of claims 1 to 5, wherein the first speaker and the second speaker are respectively connected to the audio circuit.
Citation Information
Patent Citations
Method and system for realizing sky sound effect based on screen projection equipment
CN113873421A