A bluetooth stereo system
By using the combination of ZV4301 chip and external FPGA processor in the Bluetooth stereo system, combined with the design of operational amplifier and driver module, the problems of system integration and audio driving capability are solved, and the effects of flexibility and high power output are achieved.
Patent Information
- Application Number
- CN202210890773.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-07-27
AI Technical Summary
Existing Bluetooth stereo systems have problems such as insufficient system integration, complex circuit design, over-reliance on a single chip, and limited audio driving capabilities.
It adopts a combined design of Bluetooth unit and audio processing unit. The Bluetooth unit is composed of ZV4301 chip and external FPGA processor. The audio processing unit is built into the FPGA processor. The audio driver is realized by using op amp and driver module. The integrated subtractor chip and transistor circuitry to increase audio drive power.
It reduces the dependence on mature Bluetooth modules, improves the flexibility of external software design, and achieves larger power output by optimizing the audio driver circuit to adapt to a wider range of application needs.
Smart Images

Figure CN115278473B
Abstract
Description
Technical Field
[0001] The invention relates to a Bluetooth stereo system, belonging to the technical field of communication circuits and systems. Background Art
[0002] Bluetooth is a low-power, short-range wireless communication technology. As a new technology, it can easily establish wireless connections, replacing traditional wired cables, and has strong portability. Its design intention is to replace the wired cables in the interfaces of existing personal computers, printers, fax machines, mobile phones and other devices. The address of each Bluetooth device is unique in the world, supporting networking modes such as micro-nets and scattered networks, and has a wide range of applications. In addition, Bluetooth devices have low power consumption and low cost, and are easier to design and develop than other communication devices. For example, Bluetooth headsets are a typical application of Bluetooth technology.
[0003] Conventional earphones need to be connected to mobile phones via cables, which limits their use and prevents them from being used during exercise. In contrast, Bluetooth wireless earphones can solve these problems and are more competitive. Users can easily make and receive calls with their phones in their pockets, briefcases, or even in another room.
[0004] The stereo system based on Bluetooth technology in the prior art usually adopts mutually independent microprocessors, Bluetooth modules, audio codec modules and power control modules to realize the system hardware. This obviously has the defect that the system integration is not high enough, resulting in complex circuit hardware design. The design of Bluetooth stereo headsets in the prior art also adopts a mature single-chip design scheme, that is, a single chip contains a 32-bit microprocessor, which is used to run the Bluetooth protocol stack, so that users can easily add Bluetooth wireless technology to their systems. Although this design scheme has the advantage of low development difficulty, it obviously also has the defect of over-reliance on single-chip manufacturers. In addition, the design of the audio processing unit also has the problem of complex circuit design, requiring the use of a dedicated audio decoding chip, and the audio driving circuit design also faces the defect that the power driving capability is limited by the power supply, and an independent larger power supply is required. Summary of the invention
[0005] In view of the above problems and shortcomings, the technical problem to be solved by the present invention is to provide a Bluetooth stereo system that can reduce the dependence on mature Bluetooth modules, improve the flexibility of external software design, and make it possible to select the external software design implementation method with the best cost-effectiveness.
[0006] In order to solve the above problems, the present invention adopts the following technical solutions
[0007] A Bluetooth stereo system, comprising a Bluetooth unit and an audio processing unit; data transmission can be achieved between the Bluetooth unit and the audio processing unit, and is characterized in that:
[0008] The Bluetooth unit includes: a Bluetooth module and an external processor, wherein the Bluetooth module can run Bluetooth protocol stack software to achieve data communication; the external processor is used to run external software;
[0009] The audio processing unit includes an audio decoding unit and an audio driving unit;
[0010] The Bluetooth module is a ZV4301 chip, the external processor is an FPGA processor, and the audio decoding unit is built into the FPGA processor;
[0011] Further, the audio driving unit comprises: an operational amplifier A1, a first driving module and a second driving module; the audio analog signal is connected to the negative input terminal of the operational amplifier A1 through a resistor RA; the negative input terminal of the operational amplifier A1 is also connected to the output terminal of the operational amplifier A1 through a feedback resistor RF, and the positive input terminal of the operational amplifier is grounded through a resistor RB; the output terminal of the operational amplifier A1 is connected to the input of the first driving module, and the output of the first audio driving module is connected to a terminal of the speaker; the audio analog signal is directly sent to the second driving module, and the output of the second audio driving module is connected to another terminal of the speaker; an integrated subtractor chip for realizing signal subtraction is selected to replace the operational amplifier A1, and the integrated subtractor chip is AD8276, and 4 resistors of the same resistance with good matching are integrated inside the AD8276. The 5th and 6th pins of the AD8276 chip are connected to form a feedback loop, and the 1st pin of the AD8276 chip is suspended, and the 3rd pin of the AD8276 chip is grounded to realize the circuit structure composed of resistors RA, RB, RF and the operational amplifier A1, and the resistance values of the resistors RA and RF are equal.
[0012] Furthermore, the first driving module and the second driving module adopt the same structure, which is as follows: including a voltage amplification part and a current amplification part; the voltage amplification part includes an operational amplifier AP; the current amplification part includes transistors Q1 to Q6; the base of transistor Q1 is connected to the output end of operational amplifier AP, the collector of transistor Q1 is connected to the collector of transistor Q3, the collector of transistor Q1 is also connected to the collector of transistor Q5, and the emitter of transistor Q1 is connected to the base of transistor Q3; the emitter of transistor Q1 is also connected to the base of transistor Q5; the emitter of transistor Q3 and the emitter of transistor Q5 are both connected to a terminal of the speaker; the base of transistor Q2 is connected to the output end of operational amplifier AP, the collector of transistor Q2 is connected to the collector of transistor Q4, the collector of transistor Q2 is also connected to the collector of transistor Q6, and the emitter of transistor Q2 is connected to the base of transistor Q4; the emitter of transistor Q2 is also connected to the base of transistor Q6; the emitter of transistor Q4 and the emitter of transistor Q6 are both connected to a terminal of the speaker.
[0013] The present invention uses the mature ZV4301 chip to implement the Bluetooth module and makes improvements. Specifically, the Bluetooth protocol stack is implemented by a 32-bit microprocessor built into the ZV4301 core, but the present invention implements the operation of the external software on an external additional processor. The external software is used to implement various specific functional requirements that need to be implemented when the Bluetooth system is placed in a specific application environment (such as a car Bluetooth stereo application), similar to various APP applications. This seems to reduce the integration of the entire system (adding a processor), but it also brings some advantages: not only can it reduce the dependence on mature devices such as the ZV4301 chip, but it can also improve the flexibility of the external software design (the development of various external software can freely choose the processor, which will inevitably bring flexibility to the development of external software), which brings the possibility of selecting the most cost-effective external software design implementation method.
[0014] In addition, the present invention achieves higher power output based on low power supply voltage. Conventional Bluetooth chips, microprocessor chips, and FPGA chips are all powered by lower voltage power supplies, such as the common 3.3V. If the same power supply voltage is required to supply the audio driving circuit, then it is difficult for the audio driving circuit to achieve higher power output, which is obviously difficult to adapt to certain application requirements. The audio driving circuit of the present invention adopts the following design to improve this problem. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the overall structure of the present invention;
[0016] Figure 2 The circuit structure diagram of the audio driver circuit unit
[0017] Figure 3 for Figure 2 Schematic diagram of the drive module structure; DETAILED DESCRIPTION
[0018] The present invention provides a Bluetooth stereo system, which is mainly composed of a Bluetooth unit 1 and an audio processing unit 2;
[0019] The Bluetooth unit 1 mainly includes: a microprocessor 11 , which can run Bluetooth protocol stack software to achieve data communication; a 2.4 GHZ radio frequency module 12 , and a baseband digital processing module 13 .
[0020] With the continuous development of ultra-large-scale digital integrated circuit technology, the overall architecture of the Bluetooth unit, the core unit of the Bluetooth stereo system, as mentioned in the background technology, mainly presents the following:
[0021] (I) It is implemented by using independent microprocessors and baseband digital processing units. For example, each circuit is implemented as follows: 1. The main processor of the system's motherboard is the SIRFPrima2 chip. The Bluetooth stereo system uses the ARM architecture, which has the characteristics of low power consumption and high performance, providing a basis for the smooth operation of the operating system and applications. The chip also integrates a GPS module. 2. Use chips such as CSR's 8311A08 to implement Bluetooth baseband transmission devices. 3. Use independent audio codec circuit chips.
[0022] (ii) Use mature Bluetooth modules, such as BC03_Multimedia chip, Bluecore5-MM chip, ZV4301 chip, etc. They are mature chips with high integration, which integrate microprocessor, RF circuit and baseband digital processing unit. Only external FLASH storage, audio codec circuit, antenna and other necessary peripheral devices are needed to realize Bluetooth stereo system.
[0023] For example, 1. BC03_Multimedia provided by CSR integrates the Bluetooth radio frequency and baseband protocol, and has an external 8MB Flash memory. Using the firmware provided by CSR, it can fully implement the Bluetooth 1.2 protocol and realize data and voice communication. It even integrates the open Kalimba DSP coprocessor and 16-bit audio codec to support enhanced audio applications. It can support I2S and SPDIF digital audio interfaces, and is mainly used in stereo headphones, car hands-free, high-performance telephone headsets, enhanced audio applications, etc.
[0024] 2. The Bluecore5-MM chip integrates the RF and baseband control of the Bluetooth system, a RISC-structured 16-bit MCU, and a Kalimba DSP with a performance of up to 64 MI / s in a single chip. The MCU (equivalent to the internal microprocessor unit) implements the Bluetooth protocol stack and application software, and the DSP implements audio and voice processing as well as encoding and decoding of streaming music files.
[0025] 3. The ZV4301 chip contains a 32-bit microprocessor, which is used to run the Bluetooth protocol stack, but it requires an external audio codec unit, usually a dedicated audio codec chip. Common chips for external audio codec units include WM8731, which has built-in analog-to-digital conversion and digital-to-analog conversion, and the number of bits of digital audio is 16-32 bits, and the sampling rate ranges from up to 96KHZ.
[0026] In summary, most of these design solutions use internally integrated microprocessor units to simultaneously implement the operation of the Bluetooth protocol stack and external application software. The overall system integration is naturally greatly improved compared to "(i) using mutually independent microprocessors and baseband digital processing units to achieve." The design can be implemented by simply cooperating with an audio codec chip.
[0027] Based on the above analysis, compared with the various solutions in the prior art, the present invention uses the mature ZV4301 chip to implement the Bluetooth module and makes improvements. Specifically, the 32-bit microprocessor built into the ZV4301 core implements the operation of the Bluetooth protocol stack, but the present invention implements the operation of the external software on an external additional processor. The external software is used to implement various specific functional requirements that need to be implemented when the Bluetooth system is placed in a specific application environment (such as a car Bluetooth stereo application), similar to various APP applications. This seems to reduce the integration of the entire system (adding a processor), but it also brings some advantages: not only can it reduce the dependence on mature devices such as the ZV4301 chip, but it can also improve the flexibility of external software design (the development of various external software can freely choose the processor, which will inevitably bring flexibility to the development of external software), which brings the possibility of choosing the most cost-effective external software design implementation method. For example, the external processor added in the present invention can be implemented by an FPGA device. The FPGA device is a semi-customized very large-scale integrated circuit that can implement various processing and control applications in a pure hardware manner. Moreover, FPGA devices of various grades, even in mid- and low-end products, usually have conventional processor cores built in, and can also call storage units that are practical with the processor core internally, which can be said to be a system in itself.
[0028] In addition, in addition to the processor core, the FPGA also contains a large amount of digital logic resources.
[0029] In order to further utilize FPGA hardware resources and improve integration, the present invention places the audio codec function usually implemented by a single peripheral chip inside the FPGA and implements the audio codec function through hardware description language development to provide design flexibility and a more specialized audio codec unit circuit, and is conducive to later design modifications. Since a semi-customized digital device FPGA is used to simultaneously implement the external processor and audio codec functions, the specific hardware function of FPAG is implemented by the user using hardware description language programming, which is usually called software in hardware and hardware in software. Therefore, in the product upgrade process, only the hardware description language design needs to be modified, and the entire system hardware design does not need to be overturned. Of course, in the audio codec implementation scheme, using a dedicated decoding chip is the fastest solution, but since the dedicated decoding chip or FPGA itself has a parallel processing structure, they can be used as high-performance data path processors, such as digital filtering, fast Fourier transform, discrete cosine transform, etc., and become key components in high-performance digital signal processing systems. Therefore, the codec algorithm can be fully implemented by the digital logic resources inside the FPGA. At the same time, the processor core can usually be integrated inside the FPGA, which can be used to implement the aforementioned external software running function.
[0030] 2. Implementation and working principle of audio processing unit
[0031] The audio processing unit mainly consists of an audio decoding unit and an audio driving unit.
[0032] Generally, the audio decoding unit is composed of a codec chip. In conventional applications, the microphone input signal enters the codec chip after audio amplification.
[0033] As mentioned above, the present invention implements the operation of external software on an external additional processor. The additional external processor in the present invention is implemented by an FPGA device, and specifically a Xilinx FPGA with an ARM architecture core is selected for implementation; in order to further utilize FPGA hardware resources and improve integration, the present invention places the audio codec function usually implemented by an external single chip inside the FPGA and implements the audio codec function through hardware description language development to provide design flexibility and a more specialized audio codec unit circuit, and is conducive to later design modifications.
[0034] The audio codec unit finally drives the speaker through the audio drive circuit. In the design of the audio drive circuit, the present invention realizes a relatively high power output based on a low power supply voltage. Conventional Bluetooth chips, microprocessor chips, and FPGA chips are all powered by relatively low voltage power supplies, such as the common 3.3V. If the same power supply voltage is required to supply the audio drive circuit, then it is difficult for the audio drive circuit to achieve a relatively high power output, which is obviously difficult to adapt to certain application requirements. The audio drive circuit of the present invention adopts the following design to improve this problem. The audio drive circuit unit includes: an operational amplifier A1, a first drive module, and a second drive module; the audio analog signal is processed in two ways at the same time. On the one hand, the audio analog signal (the signal directly used to drive the speaker after processing) is connected to the negative input terminal of the operational amplifier A1 through a resistor, such as RA; the negative input terminal of the operational amplifier A1 is also connected to the output terminal of the operational amplifier A1 through a feedback resistor RF, and the positive input terminal of the operational amplifier is grounded through a resistor RB; the output terminal of the operational amplifier A1 is connected to the input of the first audio drive module, and the output of the first audio drive module is connected to a terminal of the speaker; on the other hand, the audio analog signal is directly sent to The second audio driver module, the output of the second audio driver module is connected to the other terminal of the speaker, so that two driving signals can drive the speaker at the same time. Since two anti-phase signals drive the same speaker at the same time, the resistors RA and RF are properly adjusted to make the two resistance values close, so that the signal amplitudes applied to the two audio driver modules are close to each other, but the phases are opposite (according to the virtual disconnection characteristics of the op amp, almost no current flows into the negative input terminal of the op amp, so the current through the resistor RA driven by the audio analog signal is equal to the current through the resistor RF driven by the output signal of the op amp; in addition, the op amp has a virtual short characteristic in the negative feedback state, so the voltage at the negative input terminal of the op amp can be considered to be 0, so the above conclusion can be drawn), and when added to the two terminals of the speaker at the same time, it is obvious that the voltage signal will be superimposed, so that the voltage signal supplied to the speaker is twice that of the single-channel addition. According to the relationship between voltage and power, it can be seen that the power supplied to the speaker is increased to 4 times the previous one, which allows us to use a smaller power supply voltage to achieve a larger power output to meet the high-power drive requirements. (The power supply powered by the microprocessor and Bluetooth chip can be used, and there is no need to add a higher voltage power supply circuit)
[0035] However, in the specific circuit implementation, we cannot achieve that the resistance values of resistors RA and RF are equal or infinitely close. In the actual circuit design work, it is impossible to ensure that the resistance values of two resistors with the same nominal resistance values are absolutely equal. Sometimes there will be relatively large errors, which is obviously harmful to the design requirements of this circuit. Although it is feasible to select two resistors with exactly equal resistance values by measurement, we can usually only meet this special requirement by manual measurement and selection. This is feasible in scientific experiments, but it is obviously not suitable for industrial production. Here we have further optimized the circuit design: select an integrated subtractor chip commonly used in realizing signal subtraction to replace the operational amplifier A1. Specifically, the conventional chip AD8276 can be selected. AD8276 has 4 well-matched resistors of the same resistance value integrated inside. We connect its 5th and 6th pins to form a feedback loop, suspend its 1st pin, and ground its 3rd pin, which can replace the circuit composed of resistors RA, RB, RF and operational amplifier A1 in the present invention. The audio analog signal enters from pin 2 of AD8276 and is output from pin 6. The audio analog signal also achieves the same amplitude and inversion. However, since the two AD8276 internal resistors replacing resistors RA and RF are two 40K ohm resistors with good resistance matching (equal) achieved by the integrated circuit manufacturer through its process technology, the above problem is solved. Of course, the actual parameters need further debugging.
[0036] like Figure 3As shown, the first driving module and the second driving module designed by the present invention adopt the same structure, and their main functions are to realize voltage amplification and current amplification to realize audio driving, that is, the first driving module and the second driving module are an audio driving circuit. The voltage amplification part is realized by the operational amplifier AP, and the other structure is that the negative input end of the operational amplifier is connected to the output of the entire driving module through the resistor R1, and the negative input end of the operational amplifier AP is also grounded through the resistor R2. The voltage amplification factor of the audio signal is determined by the ratio of the resistor R1 and the resistor R2. The working current of this part of the circuit is small, and the heat generation is small. At the same time, an operational amplifier with a small output current (preferably within 5mA) should also be selected. An operational amplifier with a small output current can reduce distortion. The current amplification part is mainly composed of transistors Q1 to Q6. The current amplification circuit naturally hopes to have a larger current output. The current amplification factor of transistors that can amplify large currents is usually tens to 100. Suppose the current output of the op amp is I1. Taking Q1 and Q3 in working state as an example, the current I1 is amplified by Q1 to be I2 (I2=I1*h1, h1 is the current amplification factor of Q1, and the current amplification factors of other transistors can be marked as h2, h3, etc.). Part of I2 is sent to the base of Q3, and part is sent to the base of Q5. After being amplified by Q3 and Q5 respectively, it is finally sent to the driven object speaker. The working process of Q2 and Q4 in working state is similar, which will not be repeated here. Obviously, this circuit structure can realize step-by-step current amplification, and finally obtain a larger For transistors with large output currents, their current amplification factor will change with the change of collector current. The general rule is that when the current is large and close to the maximum rated current, the current amplification factor will change greatly (become smaller). Therefore, in order to maintain the circuit amplification factor within a stable range, the present invention divides the Q1 output current into two parts, one part is sent to the base of Q3, and the other part is sent to the base of Q5, thereby reducing the working current of Q3 and Q5 and preventing them from entering a distorted state. At the same time, this is obviously beneficial to reduce the heat generated by each transistor. According to the concept of the present invention, further transistors are added to divide the output circuit of Q3 and / or Q5 into two paths, which are amplified separately, and the final output current is injected into the speaker. This is an extension of the same design idea and will not be elaborated here. Of course, transistors with large rated currents can also be selected to cooperate with this structure for implementation, which involves specific debugging of the circuit. When the circuit is implemented specifically, resistors, capacitors or other components will be added to further improve the circuit performance, which will not be discussed here.
[0037] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions of the present invention, which should be included in the scope of the claims of the present invention.
Claims
1. A Bluetooth stereo system, comprising a Bluetooth unit and an audio processing unit; data transmission can be achieved between the Bluetooth unit and the audio processing unit, characterized in that: The Bluetooth unit includes: a Bluetooth module and an external processor, wherein the Bluetooth module can run Bluetooth protocol stack software to achieve data communication; the external processor is used to run external software; The audio processing unit includes an audio decoding unit and an audio driving unit; The Bluetooth module is a ZV4301 chip, the external processor is an FPGA processor, and the audio decoding unit is built into the FPGA processor; The audio driving unit comprises a first driving module and a second driving module; the first driving module and the second driving module adopt the same structure, and the structure is as follows: comprising a voltage amplification part and a current amplification part; the voltage amplification part comprises an operational amplifier AP; the current amplification part comprises transistors Q1 to Q6; the base of transistor Q1 is connected to the output end of operational amplifier AP, the collector of transistor Q1 is connected to the collector of transistor Q3, the collector of transistor Q1 is also connected to the collector of transistor Q5, the emitter of transistor Q1 is connected to the base of transistor Q3; the emitter of transistor Q1 It is also connected to the base of transistor Q5; the emitter of transistor Q3 and the emitter of transistor Q5 are both connected to one terminal of the speaker; the base of transistor Q2 is connected to the output end of operational amplifier AP, the collector of transistor Q2 is connected to the collector of transistor Q4, the collector of transistor Q2 is also connected to the collector of transistor Q6, the emitter of transistor Q2 is connected to the base of transistor Q4; the emitter of transistor Q2 is also connected to the base of transistor Q6; the emitter of transistor Q4 and the emitter of transistor Q6 are both connected to one terminal of the speaker.
2. A Bluetooth stereo system according to claim 1, characterized in that: The audio driving unit comprises: an operational amplifier A1, a first driving module and a second driving module; an audio analog signal is connected to the negative input terminal of the operational amplifier A1 through a resistor RA; the negative input terminal of the operational amplifier A1 is also connected to the output terminal of the operational amplifier A1 through a feedback resistor RF, and the positive input terminal of the operational amplifier is grounded through a resistor RB; the output terminal of the operational amplifier A1 is connected to the input of the first driving module, and the output of the first audio driving module is connected to a terminal of the speaker; the audio analog signal is directly sent to the second driving module, and the output of the second audio driving module is connected to another terminal of the speaker; an integrated subtractor chip for realizing signal subtraction is selected to replace the operational amplifier A1, and the integrated subtractor chip is AD8276, and 4 resistors of the same resistance with good matching are integrated inside the AD8276. The 5th and 6th pins of the AD8276 chip are connected to form a feedback loop, and the 1st pin of the AD8276 chip is suspended, and the 3rd pin of the AD8276 chip is grounded, so as to realize the circuit structure composed of the resistors RA, RB, RF and the operational amplifier A1, and the resistance values of the resistors RA and RF are equal.
