An audio playback device and method
By introducing a plug detection circuit and a Bluetooth chip into the audio playback device, the plug type can be identified and switched, supporting analog, digital audio signals and Bluetooth signal input. This solves the problem of a single signal source in the audio playback device, achieving multi-signal source compatibility and simplified design.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2026-03-17
AI Technical Summary
Existing audio playback devices cannot simultaneously support input from both analog and digital audio signal sources, resulting in a poor user experience.
An audio playback device is designed, comprising a Bluetooth chip, a first socket, a plug detection circuit, first and second audio transmission circuits, and a socket power supply circuit. The plug detection circuit identifies the plug type and switches to the corresponding working mode, supports the transmission of analog and digital audio signals, and receives Bluetooth audio signals through the Bluetooth chip.
It achieves compatibility of audio playback devices with different types of audio signal sources, reduces the number of interfaces, simplifies the design, and supports the detection and real-time understanding of audio playback status.
Smart Images

Figure CN116347295B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic equipment technology, and in particular to an audio playback device and method. Background Technology
[0002] As audio playback devices gradually develop towards multi-functionality and intelligence, the types of audio signal source devices that provide audio signals to audio playback devices are also constantly increasing.
[0003] Currently, audio playback devices support a limited range of audio signal sources. While they support analog audio signal sources, they cannot simultaneously support digital audio signal sources and Bluetooth audio signal input sources, resulting in a poor user experience. Summary of the Invention
[0004] This application provides an audio playback device and method to solve the problem that existing audio playback devices support a limited range of audio signal sources.
[0005] The technical solutions provided in this application are as follows:
[0006] On one hand, embodiments of this application provide an audio playback device, including: a Bluetooth chip, a first socket, a first plug detection circuit, a first audio transmission circuit, a second audio transmission circuit, and a first socket power supply circuit;
[0007] The first end of the first socket is connected to the first external plug, the second end of the first socket is connected to the first end of the first plug detection circuit, the third end of the first socket is connected to the first end of the first audio transmission circuit, the fourth end of the first socket is connected to the first end of the second audio transmission circuit, and the fifth end of the first socket is connected to the first end of the first socket power supply circuit; the first socket is used to receive audio signals transmitted by the connected external plug.
[0008] The second end of the first plug detection circuit is connected to the first end of the Bluetooth chip; the plug detection circuit is used to determine the plug type of the external first plug, and generate a corresponding plug type signal according to the plug type of the external first plug and send it to the Bluetooth chip.
[0009] The second end of the first audio transmission circuit is connected to the second end of the Bluetooth chip; the first audio transmission circuit is used to transmit the audio signal input by the plug type analog audio plug to the Bluetooth chip.
[0010] The second terminal of the second audio transmission circuit is connected to the third terminal of the Bluetooth chip; the second audio transmission circuit is used to transmit the audio signal input from the plug type digital audio plug to the Bluetooth chip.
[0011] The Bluetooth chip is used to determine the plug type of the external first plug connected to the first socket based on the plug type signal, switch to the working mode corresponding to the plug type of the external first plug connected to the first socket, and receive the audio signal transmitted by the audio transmission circuit corresponding to the plug type of the external first plug connected to the first socket.
[0012] In one possible implementation, the first plug detection circuit includes: a first resistor, a second resistor, a first power supply, and a first capacitor;
[0013] The first end of the first resistor is connected to the first power supply, and the second end of the first resistor is connected to the first end of the second resistor and the first end of the Bluetooth chip.
[0014] The second end of the second resistor is connected to the second end of the first socket and the first end of the first capacitor, respectively.
[0015] The second terminal of the first capacitor is connected to ground.
[0016] In one possible implementation, the audio playback device further includes: a first state detection circuit;
[0017] The first terminal of the first state detection circuit is connected to the third terminal of the first audio transmission circuit, the second terminal of the first state detection circuit is connected to the third terminal of the second audio transmission circuit, and the third terminal of the first state detection circuit is connected to the fourth terminal of the Bluetooth chip. The first state detection circuit is used to detect the input state of the audio signal transmitted in the first audio transmission circuit or the second audio transmission circuit, and generate an audio input state signal to send to the Bluetooth chip so that the Bluetooth chip can determine the input state of the audio signal.
[0018] In one possible implementation, the first state detection circuit includes: a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first transistor, a second transistor, a first diode, a second capacitor, a third capacitor, a fourth capacitor, and a second power supply.
[0019] The third resistor and the second capacitor form the first branch; one end of the first branch is connected to the first audio transmission circuit, and the other end of the first branch is connected to the base of the first diode.
[0020] The fourth resistor and the third capacitor form the second branch; one end of the second branch is connected to the second audio transmission circuit, and the other end of the second branch is connected to the base of the first diode.
[0021] The collector of the first diode is connected to the second power supply via the fifth resistor, and the emitter of the first diode is grounded via the sixth resistor.
[0022] The anode of the first diode is connected to the collector of the first diode, and the cathode of the first diode is connected to the base of the second transistor via the seventh resistor;
[0023] The collector of the second transistor is connected to the second power supply via the eighth resistor, and the emitter of the second transistor is grounded.
[0024] The first terminal of the fourth capacitor is connected to the cathode of the first diode, and the second terminal of the fourth capacitor is grounded.
[0025] The first end of the ninth resistor is connected to the second power supply, and the second end of the ninth resistor is connected to the base of the first transistor.
[0026] In one possible implementation, the audio playback device further includes: a second socket, a third audio transmission circuit, and a power supply circuit for the second socket;
[0027] The first end of the second socket is connected to the external second plug, the second end of the second socket is connected to the first end of the third audio transmission circuit, and the third end of the second socket is connected to the first end of the power supply circuit of the second socket; the second socket is used to receive audio signals transmitted by the connected external second plug; wherein, the plug type of the external second plug is a Universal Serial Bus (USB) plug.
[0028] The second terminal of the third audio transmission circuit is connected to the fifth terminal of the Bluetooth chip; the third terminal of the third audio transmission circuit is connected to the sixth terminal of the Bluetooth chip; the third audio transmission circuit is used to transmit the audio signal input from the external second plug to the Bluetooth chip, so that the Bluetooth chip switches to the working mode corresponding to the external second plug according to the level change of the second terminal of the third audio transmission circuit, and also enables the Bluetooth chip to receive the audio signal input from the external second plug and determine the input status of the audio signal input from the external second plug.
[0029] The second terminal of the second socket power supply circuit is connected to the seventh terminal of the Bluetooth chip; the second socket power supply circuit is used to supply power to the second socket.
[0030] In one possible implementation, the third audio transmission circuit includes: a tenth resistor, an eleventh resistor, a first bidirectional diode, and a second bidirectional diode;
[0031] The first end of the tenth resistor is connected to the fifth end of the Bluetooth chip, and the first end of the tenth resistor is connected to the second end of the second socket.
[0032] The first end of the eleventh resistor is connected to the sixth end of the Bluetooth chip, and the first end of the eleventh resistor is connected to the fourth end of the second socket.
[0033] The first terminal of the first bidirectional diode is connected to the first terminal of the tenth resistor, and the second terminal of the first bidirectional diode is connected to ground.
[0034] The first terminal of the second bidirectional diode is connected to the first terminal of the eleventh resistor, and the second terminal of the second bidirectional diode is connected to ground.
[0035] In one possible implementation, the Bluetooth chip is also used for:
[0036] When no plug type signal is received and the level at the second end of the third audio transmission circuit does not change, the operating mode is set to Bluetooth mode, and the audio signal input from the external Bluetooth audio signal source is received via Bluetooth communication; it is also used to determine the input state of the audio signal by detecting the magnitude of the audio signal input from the external Bluetooth audio signal source.
[0037] In one possible implementation, the audio playback device further includes: an audio processing circuit and an audio playback circuit;
[0038] The first terminal of the audio processing circuit is connected to the eighth terminal of the Bluetooth chip, and the second terminal of the audio processing circuit is connected to the first terminal of the audio playback circuit. The audio processing circuit is used to process the audio signal output by the Bluetooth chip. The audio playback circuit is used to play the processed audio signal.
[0039] On the other hand, embodiments of this application provide an audio processing method, including:
[0040] Determine whether a plug type signal is currently being received;
[0041] If so, the plug type of the connected external first plug or external second plug is determined according to the plug type signal, the working mode corresponding to the plug type is switched, and the audio signal transmitted by the audio transmission circuit corresponding to the plug type is received; wherein, the plug type includes: analog audio plug and digital audio plug.
[0042] If not, determine whether the level of the second terminal of the third audio transmission circuit has changed; if yes, switch to the working mode corresponding to the external second plug and receive the audio signal transmitted by the third audio transmission circuit; if no, set the working mode to Bluetooth mode and receive the audio signal input from the external Bluetooth audio signal source through Bluetooth communication.
[0043] In one possible implementation, the audio playback method further includes:
[0044] Determine the current working mode;
[0045] If the current working mode is the working mode corresponding to the plug type of the external first plug, then the input status of the audio signal is determined according to the audio input status signal.
[0046] If the current working mode is the working mode corresponding to the plug type of the external second plug, then the input state of the audio signal is determined according to the audio signal input from the external second plug.
[0047] If the current operating mode is Bluetooth mode, the input status of the audio signal is determined by detecting the magnitude of the audio signal input from the external Bluetooth audio signal source.
[0048] The beneficial effects of the embodiments of this application are as follows:
[0049] In this embodiment, by providing a first socket that can be connected to plugs of different plug types, and by transmitting different types of audio signals through plugs of different plug types, the audio playback device can be made compatible with different types of audio signal sources. Furthermore, two different types of plugs can be connected through the first socket, thus reusing the first socket, reducing the number of interfaces of the audio playback device, and simplifying the design of the audio playback device.
[0050] Other features and advantages of this application will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description
[0051] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0052] Figure 1 This is a schematic diagram of the first circuit structure of the audio playback device in the embodiments of this application;
[0053] Figure 2 This is a schematic diagram of a second circuit structure of the audio playback device in an embodiment of this application;
[0054] Figure 3 This is a schematic diagram of a third circuit structure of the audio playback device in the embodiments of this application;
[0055] Figure 4 This is a schematic diagram of a fourth circuit structure of the audio playback device in the embodiments of this application;
[0056] Figure 5 This is a schematic diagram of the fifth circuit structure of the audio playback device in the embodiments of this application;
[0057] Figure 6 This is a schematic diagram of the sixth circuit structure of the audio playback device in the embodiments of this application;
[0058] Figure 7 This is a schematic diagram of the seventh circuit structure of the audio playback device in the embodiments of this application;
[0059] Figure 8 This is a schematic diagram of the eighth circuit structure of the audio playback device in the embodiments of this application;
[0060] Figure 9 This is a schematic diagram outlining the audio playback method in the embodiments of this application. Detailed Implementation
[0061] To make the objectives, technical solutions, and beneficial effects of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0062] This application provides an audio playback device, see below. Figure 1 As shown, the audio playback device provided in this application embodiment includes: a Bluetooth chip 110, a first socket 120, a first plug detection circuit 130, a first audio transmission circuit 140, a second audio transmission circuit 150, and a first socket power supply circuit 160.
[0063] The first end of the first socket 120 is connected to the first external plug, the second end of the first socket 120 is connected to the first end of the first plug detection circuit 130, the third end of the first socket 120 is connected to the first end of the first audio transmission circuit 140, the fourth end of the first socket 120 is connected to the first end of the second audio transmission circuit 150, and the fifth end of the first socket 120 is connected to the first end of the first socket power supply circuit 160; the first socket 120 is used to receive audio signals transmitted by the connected external plug.
[0064] The second end of the first plug detection circuit 130 is connected to the first end of the Bluetooth chip 110; the plug detection circuit is used to determine the plug type of the external first plug, and generate a corresponding plug type signal according to the plug type of the external first plug and send it to the Bluetooth chip 110.
[0065] The second end of the first audio transmission circuit 140 is connected to the second end of the Bluetooth chip 110; the first audio transmission circuit 140 is used to transmit the audio signal input by the plug type analog audio plug to the Bluetooth chip 110.
[0066] The second terminal of the second audio transmission circuit 150 is connected to the third terminal of the Bluetooth chip 110; the second audio transmission circuit 150 is used to transmit the audio signal input by the plug type digital audio plug to the Bluetooth chip 110.
[0067] The Bluetooth chip 110 is used to determine the plug type of the external first plug connected to the first socket 120 according to the plug type signal, switch to the working mode corresponding to the plug type of the external first plug connected to the first socket 120, and receive the audio signal transmitted by the audio transmission circuit corresponding to the plug type of the external first plug connected to the first socket 120.
[0068] exist Figure 1 In the audio playback device shown, the first socket power supply circuit 160 is mainly used to supply power to the socket. The first socket 120 is a 3.5mm headphone jack, and the external first plug connected to the first socket 120 includes a line-in data cable plug and a 3.5mm round-head optical fiber plug. The line-in data cable plug is an analog audio plug, and the optical fiber plug is a digital audio plug. Different plug types correspond to different audio signal sources; the analog audio plug corresponds to an analog audio signal source, and the digital audio plug corresponds to a digital audio signal source. Both line-in data cable plugs and 3.5mm round-head fiber optic plugs can be inserted into the first socket 120. The first plug detection circuit 130 can generate a corresponding plug type signal based on the plug type and send it to the Bluetooth chip 110. The Bluetooth chip 110 can determine whether the plug type of the external first plug currently inserted into the first socket 120 is an analog audio plug or a digital audio plug based on the plug type signal. If the plug type of the first plug is an analog audio plug, the Bluetooth chip 110 can determine that the external plug is a line-in data cable plug, delete the original audio signal source from the list, add the line-in audio signal source to the list, and automatically switch to line-in mode to receive the audio signal transmitted by the first audio transmission circuit 140. If the plug type of the first plug is a digital audio plug, the Bluetooth chip 110 can determine that the external plug is a 3.5mm round-head fiber optic plug, delete the original audio signal source from the list, add the fiber optic audio signal source to the list, and automatically switch to fiber optic mode to receive the audio signal transmitted by the first audio transmission circuit 140. In this way, by setting a first socket 120 that can be connected to plugs of different plug types, and transmitting different types of audio signals through plugs of different plug types, the audio playback device can be compatible with different types of audio signal sources. Furthermore, two different types of plugs can be connected through the first socket 120 alone, thus reusing the first socket 120, reducing the number of interfaces of the audio playback device, and simplifying the design of the audio playback device.
[0069] In specific implementations, the first plug detection circuit 130 in the audio playback device provided in this application embodiment can have various specific structures to realize its function. For example... Figure 2 As shown, the first plug detection circuit 130 includes: a first resistor R1, a second resistor R2, a first power supply VCC1, and a first capacitor C1;
[0070] The first end of the first resistor R1 is connected to the first power supply VCC1, and the second end of the first resistor R1 is connected to the first end of the second resistor R2 and the first end of the Bluetooth chip 110.
[0071] The second end of the second resistor R2 is connected to the second end of the first socket 120 and the first end of the first capacitor C1, respectively.
[0072] The second terminal of the first capacitor C1 is connected to ground.
[0073] exist Figure 2 In the first plug detection circuit 130 of the audio playback device shown, the first power supply VCC1 is generally a 3.3V DC power supply. The first resistor R1 and the second resistor R2 are mainly used to adjust the current input by the external power supply, and the first capacitor C1 is used for filtering to reduce the interference brought to the circuit by the first power supply VCC1. Since the plug materials of the line-in data cable plug and the 3.5mm round fiber optic plug are different, the level changes caused by inserting them into the first socket 120 are also different. The line-in data cable plug is made of metal and is conductive. When the external first plug inserted into the first socket 120 is a line-in data cable plug, the level between the first resistor R1 and the second resistor R2 is pulled low, and the plug type signal input to the Bluetooth chip 110 is low. The 3.5mm round fiber optic plug is generally made of glass or plastic and is not conductive. When the external first plug inserted into the first socket 120 is a 3.5mm round fiber optic plug, the level between the first resistor R1 and the second resistor R2 is high, and the plug type signal input to the Bluetooth chip 110 is high.
[0074] In addition, for specific implementation, please refer to Figure 3 As shown, the first audio transmission circuit 140 mainly consists of multiple resistors, multiple capacitors, and multiple bidirectional transient suppression diodes. The capacitors primarily function as filters, while the bidirectional transient suppression diodes provide electrostatic discharge protection. The second audio transmission circuit 150 mainly includes bidirectional transient suppression diodes for electrostatic discharge protection. The first socket power supply circuit 160 mainly includes a 3.3V power supply and multiple capacitors. The 3.3V power supply powers the socket, and the capacitors filter the circuit to reduce interference from the 3.3V power supply.
[0075] In one possible implementation, see [reference] Figure 4As shown, the audio playback device also includes: a first state detection circuit 170;
[0076] The first terminal of the first state detection circuit 170 is connected to the third terminal of the first audio transmission circuit 140, the second terminal of the first state detection circuit 170 is connected to the third terminal of the second audio transmission circuit 150, and the third terminal of the first state detection circuit 170 is connected to the fourth terminal of the Bluetooth chip 110. The first state detection circuit 170 is used to detect the input state of the audio signal transmitted in the first audio transmission circuit 140 or the second audio transmission circuit 150, and generate an audio input state signal to send to the Bluetooth chip 110 so that the Bluetooth chip 110 can determine the input state of the audio signal.
[0077] exist Figure 4 In the audio playback device shown, the first state detection circuit 170 can determine the input state of the audio signal, including a playing state and a paused state. Based on the audio playback state, a corresponding level signal is generated and sent to the Bluetooth chip 110 as an audio input state signal, so that the Bluetooth chip 110 can determine whether the audio signal input state is playing or paused. In this way, the audio playback device can not only support multiple audio signal sources but also detect the audio playback state, thus allowing for real-time monitoring of the audio playback status.
[0078] In specific implementations, the first state detection circuit 170 in the audio playback device provided in this application embodiment can have various specific structures to realize its function. For example... Figure 5 As shown, the first state detection circuit 170 includes: a third resistor R8, a fourth resistor R9, a fifth resistor R10, a sixth resistor R11, a seventh resistor R12, an eighth resistor R13, a ninth resistor R14, a first transistor Q1, a second transistor Q2, a first diode, a second capacitor C9, a third capacitor C10, a fourth capacitor C11, and a second power supply VCC2.
[0079] The third resistor R8 and the second capacitor C9 form the first branch; one end of the first branch is connected to the first audio transmission circuit 140, and the other end of the first branch is connected to the base of the first diode.
[0080] The fourth resistor R9 and the third capacitor C10 form the second branch; one end of the second branch is connected to the second audio transmission circuit 150, and the other end of the second branch is connected to the base of the first diode.
[0081] The collector of the first diode is connected to the second power supply VCC2 via the fifth resistor R10, and the emitter of the first diode is grounded via the sixth resistor R11.
[0082] The anode of the first diode is connected to the collector of the first diode, and the cathode of the first diode is connected to the base of the second transistor Q2 through the seventh resistor R12.
[0083] The collector of the second transistor Q2 is connected to the second power supply VCC2 via the eighth resistor R13, and the emitter of the second transistor Q2 is grounded.
[0084] The first terminal of the fourth capacitor C11 is connected to the cathode of the first diode, and the second terminal of the fourth capacitor C11 is grounded.
[0085] The first end of the ninth resistor R14 is connected to the second power supply VCC2, and the second end of the ninth resistor R14 is connected to the base of the first transistor Q1.
[0086] exist Figure 5In the first state detection circuit 170 of the audio playback device shown, the first branch and the second branch are used to filter the audio signals transmitted on the branches. The first transistor Q1 acts as an amplifier, the second transistor Q2 acts as a switch, the fourth capacitor C11 is used for filtering, and the second power supply VCC2 is generally a 3.3V DC power supply. When the audio signal in the first audio transmission circuit 140 is input to the first state detection circuit 170, the audio playback state is playback state. After being filtered by the first branch, the audio signal is amplified by the first transistor Q1 and then input to the base of the second transistor Q2. The voltage between the second transistor Q2 and the eighth resistor R13 is low level. At this time, the audio input state signal sent to the Bluetooth chip 110 is low level. When there is no data input to the first state detection circuit 170 from the first audio transmission circuit 140, the audio playback state is paused state. The voltage between the second transistor Q2 and the eighth resistor R13 is high level. At this time, the audio input state signal sent to the Bluetooth chip 110 is high level. Due to the transmission characteristics of the 3.5mm round-headed fiber optic plug, audio signal transmission begins immediately after the fiber optic plug is inserted into the first socket 120. At this time, when the audio signal in the second audio transmission circuit 150 is input to the first state detection circuit 170, the audio playback state is "playback state." After being filtered by the first branch, the audio signal is amplified by the first transistor Q1 and then input to the base of the second transistor Q2. The voltage between the second transistor Q2 and the eighth resistor R13 is low. At this time, the audio input status signal sent to the Bluetooth chip 110 is low. The level logic table shown in Table 1 can be obtained based on the plug type signal and the audio input status signal. According to the level logic in Table 1, the Bluetooth chip 110 can exclude the case where no external first plug is inserted into the first socket 120, causing the plug type signal to be low. That is, when no external first plug is inserted into the first socket 120, both the plug type signal and the audio input status signal are high. The Bluetooth chip 110 can then further determine whether the 3.5mm round-headed fiber optic plug is inserted.
[0087] Table 1. Logic Level Table for Plug Type Signals and Audio Input Status Signals
[0088] Plug type signal Audio input status signal line in data cable plug low level low level / high level 3.5mm round fiber optic connector high level low level
[0089] In one possible implementation, see [reference] Figure 6 As shown, the audio playback device also includes: a second socket 180, a third audio transmission circuit 181, and a second socket power supply circuit 182;
[0090] The first end of the second socket 180 is connected to the external second plug, the second end of the second socket 180 is connected to the first end of the third audio transmission circuit 181, and the third end of the second socket 180 is connected to the first end of the second socket power supply circuit 182; the second socket 180 is used to receive audio signals transmitted by the connected external second plug; wherein, the plug type of the external second plug is a Universal Serial Bus (USB) plug.
[0091] The second terminal of the third audio transmission circuit 181 is connected to the fifth terminal of the Bluetooth chip 110; the third terminal of the third audio transmission circuit 181 is connected to the sixth terminal of the Bluetooth chip 110; the third audio transmission circuit 181 is used to transmit the audio signal input from the external second plug to the Bluetooth chip 110, so that the Bluetooth chip 110 switches to the working mode corresponding to the external second plug according to the level change of the second terminal of the third audio transmission circuit 181, and also enables the Bluetooth chip 110 to receive the audio signal input from the external second plug and determine the input state of the audio signal input from the external second plug;
[0092] The second terminal of the second socket power supply circuit 182 is connected to the seventh terminal of the Bluetooth chip 110; the second socket power supply circuit 182 is used to supply power to the second socket 180.
[0093] exist Figure 6 The audio playback device shown includes a second socket 180, which is a USB socket with a Universal Serial Bus (USB) plug. When the USB plug is not inserted into the second socket 180, the second terminal USB_D+ of the third audio transmission circuit 181 is at a low level. The Bluetooth chip 110 determines that no external second plug is inserted into the second socket 180 and maintains its original operating mode. When the USB plug is inserted into the second socket 180, the second terminal USB_D+ of the third audio transmission circuit 181 is pulled high from its original low level. The Bluetooth chip 110 determines that an external second plug is inserted into the second socket 180 based on the high-level signal input from the second terminal USB_D+ of the third audio transmission circuit 181. The Bluetooth chip 110 then removes the original audio signal source from its list and adds the USB plug to the list. When an audio signal source is added to the list, the system automatically switches to USB mode and receives the audio signal transmitted by the third audio transmission circuit 181. When the Bluetooth chip 110 receives the audio signal transmitted by the third audio transmission circuit 181, it sets the USB audio flag to 1. When the Bluetooth chip 110 does not receive the audio signal transmitted by the third audio transmission circuit 181, it sets the USB audio flag to 0. The Bluetooth chip 110 can further determine the input state of the audio signal based on the audio flag bit. A USB audio flag bit of 1 is considered as the audio signal input state as playback state, and a USB audio flag bit of 0 is considered as the audio signal input state as pause state.
[0094] In specific implementations, the third audio transmission circuit 181 in the audio playback device provided in this application embodiment can have various specific structures to realize its function. For example... Figure 7 As shown, the third audio transmission circuit 181 includes a tenth resistor R15, an eleventh resistor R16, a first bidirectional diode ESD4, and a second bidirectional diode ESD5.
[0095] The first end of the tenth resistor R15 is connected to the fifth end of the Bluetooth chip 110, and the first end of the tenth resistor R15 is connected to the second end of the second socket 180.
[0096] The first end of the eleventh resistor R16 is connected to the sixth end of the Bluetooth chip 110, and the first end of the eleventh resistor R16 is connected to the fourth end of the second socket 180.
[0097] The first terminal of the first bidirectional diode ESD4 is connected to the first terminal of the tenth resistor R15, and the second terminal of the first bidirectional diode ESD4 is connected to ground.
[0098] The first terminal of the second bidirectional diode ESD5 is connected to the first terminal of the eleventh resistor R16, and the second terminal of the second bidirectional diode ESD5 is connected to ground.
[0099] exist Figure 7 In the audio playback device shown, the tenth resistor R15 and the eleventh resistor R16 are used to regulate the voltage on the audio signal transmission line; the first bidirectional diode and the second bidirectional diode can be bidirectional transient suppression diodes, and the first bidirectional diode ESD4 and the second bidirectional diode ESD5 are used for electrostatic discharge protection. Furthermore, the second socket power supply circuit 182 can be composed of a bidirectional diode ESD6 and a fuse F. The first terminal of the bidirectional diode ESD6 is grounded, and the second terminal of the bidirectional diode ESD6 is connected to the first terminal of the fuse F and the third terminal of the second socket 180, respectively; the second terminal of the fuse F is connected to the sixth terminal of the Bluetooth chip 110. The bidirectional diode ESD6 in the second socket power supply circuit 182 can be a bidirectional transient suppression diode, which is used for electrostatic discharge protection; the fuse F is used for overcurrent protection.
[0100] In one possible implementation, the Bluetooth chip is also used for:
[0101] When no plug type signal is received and the level of the second terminal of the third audio transmission circuit does not change, the operating mode is set to Bluetooth mode and the audio signal input from the external Bluetooth audio signal source is received via Bluetooth communication; it is also used to determine the input state of the audio signal by detecting the magnitude of the audio signal input from the external Bluetooth audio signal source.
[0102] In practical applications, when no plug type signal is received and the level at the second terminal of the third audio transmission circuit remains unchanged, the Bluetooth chip removes the original audio signal source from the list and adds the Bluetooth audio signal source to the list, automatically switches to Bluetooth mode, and receives the audio signal input from the external Bluetooth audio signal source via Bluetooth communication. Bluetooth also detects whether the amplitude of the audio signal input from the external Bluetooth audio signal source exceeds a preset threshold. If so, the audio signal input state is determined to be playback; otherwise, the audio signal input state is determined to be paused.
[0103] In one possible implementation, see [reference] Figure 8 As shown, the audio playback device also includes: an audio processing circuit 190 and an audio playback circuit 191;
[0104] The first terminal of the audio processing circuit 190 is connected to the eighth terminal of the Bluetooth chip 110, and the second terminal of the audio processing circuit 190 is connected to the first terminal of the audio playback circuit 191. The audio processing circuit 190 is used to process the audio signal output by the Bluetooth chip 110. The audio playback circuit 191 is used to play the processed audio signal.
[0105] exist Figure 8 In the audio playback device shown, after receiving an audio signal, the Bluetooth chip 110 sends the data to the audio processing circuit 190 for noise suppression, mixing, and other processing before sending it to the audio playback circuit 191. The audio playback circuit 191 amplifies the processed audio signal and plays it through a speaker.
[0106] It's worth mentioning that the Bluetooth chip can also connect to a remote control module, a power supply module, and an indicator light module. The remote control module receives control commands from an external remote control, the power supply module powers the Bluetooth chip, and the indicator light module displays the Bluetooth chip's operating mode and audio signal input status under Bluetooth control.
[0107] After introducing the audio playback device provided in the embodiments of this application, the audio playback method involved in the embodiments of this application will be described in detail below.
[0108] The audio playback method provided in this application can be applied to the audio playback device in the above embodiments of this application. Specifically, see [link to relevant documentation]. Figure 9 As shown, the general flow of the audio playback method provided in this application embodiment is as follows:
[0109] Step 901: Determine whether a plug type signal is currently received;
[0110] Step 902: If yes, determine the plug type of the connected external first plug or external second plug according to the plug type signal, switch to the working mode corresponding to the plug type, and receive the audio signal transmitted by the audio transmission circuit corresponding to the plug type; wherein, the plug type includes: analog audio plug and digital audio plug; if no, determine whether the level of the second terminal of the third audio transmission circuit has changed; if yes, switch to the working mode corresponding to the external second plug and receive the audio signal transmitted by the third audio transmission circuit; if no, set the working mode to Bluetooth mode and receive the audio signal input from the external Bluetooth audio signal source through Bluetooth communication.
[0111] In practical applications, when the Bluetooth chip receives a plug type signal, it determines that a plug is currently inserted into the socket. The plug type can be determined based on the plug type signal and its transmitter. If the plug type signal is low and the transmitter is the first plug detection circuit, the Bluetooth chip determines the plug type is an analog audio plug. The Bluetooth chip removes the existing audio signal source from the list and adds the "line in" audio signal source to the list, automatically switching to line in mode. It then receives the audio signal transmitted by the first audio transmission circuit and sends the audio signal to the audio processing circuit. If the plug type signal is high and the transmitter is the first plug detection circuit, the Bluetooth chip determines the plug type is a digital audio plug. The Bluetooth chip removes the existing audio signal source from the list and adds the "optical fiber" audio signal source to the list, automatically switching to optical fiber mode. It then receives the audio signal transmitted by the second audio transmission circuit and sends the audio signal to the audio processing circuit. When the Bluetooth chip does not receive a plug type signal, it checks if the level of the second terminal of the third audio transmission circuit has changed. If the level of the second terminal of the third audio transmission circuit changes from low to high, the Bluetooth chip determines that the plug type is a USB plug. The Bluetooth chip removes the original audio signal source from the list and adds the USB audio signal source to the list, automatically switches to USB mode, receives the audio signal transmitted by the third audio transmission circuit, and then sends the audio signal to the audio processing circuit. If the level of the second terminal of the third audio transmission circuit remains low, the Bluetooth chip determines that no plug is currently inserted. The Bluetooth chip sets Bluetooth mode as the default mode. Specifically, the Bluetooth chip removes the original audio signal source from the list, adds the Bluetooth audio signal source to the list, automatically switches to Bluetooth mode, receives the audio signal input from the external Bluetooth audio signal source via Bluetooth communication, and then sends the audio signal to the audio processing circuit.
[0112] In one possible implementation, when the Bluetooth chip determines the operating mode and receives the audio signal, it can further determine the input state of the audio signal, specifically, but not limited to, the following operating methods:
[0113] First, determine the current work mode;
[0114] Then, if the current working mode is the working mode corresponding to the plug type of the external first plug, the input state of the audio signal is determined according to the audio input state signal; if the current working mode is the working mode corresponding to the plug type of the external second plug, the input state of the audio signal is determined according to the audio signal input from the external second plug; if the current working mode is Bluetooth mode, the input state of the audio signal is determined by detecting the magnitude of the audio signal input from the external Bluetooth audio signal source.
[0115] In practical applications, different operating modes correspond to different methods for determining the playback state. When the current operating mode is line-in or optical fiber mode, the Bluetooth chip determines the audio signal input state based on the audio input status signal. Specifically, in line-in mode, a low audio input status signal indicates playback, while a high signal indicates pause. In optical fiber mode, a low audio input status signal indicates playback. In USB mode, the Bluetooth chip determines the USB audio flag based on the audio signal input from the external second connector. When the USB audio flag is set to 1, the audio signal is in playback mode; when it is set to 0, the audio signal is in pause mode. When the current working mode is Bluetooth mode, the Bluetooth chip further determines the input state of the audio signal by detecting whether the amplitude of the audio signal input from the external Bluetooth audio signal source exceeds a preset threshold. If the amplitude of the audio signal input from the external Bluetooth audio signal source exceeds the preset threshold, the input state of the audio signal is determined to be playback mode; if the amplitude of the audio signal input from the external Bluetooth audio signal source does not exceed the preset threshold, the input state of the audio signal is determined to be paused mode.
[0116] Based on the above analysis, the audio signal playback method provided in this application embodiment can meet the access of multiple audio signal sources, solve the problem that the audio playback device supports only a single audio signal source, and can also automatically switch to different working modes to achieve the adaptation of the audio playback device to different audio signal sources.
[0117] It should be noted that although several units or sub-units of the device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units.
[0118] Furthermore, although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0119] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.
[0120] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.
Claims
1. An audio playback device, characterized by, The audio playing device comprises a Bluetooth chip, a first socket, a first plug detection circuit, a first audio transmission circuit, a second audio transmission circuit and a first socket power supply circuit. The first end of the first socket is connected with an external first plug, the second end of the first socket is connected with the first end of the first plug detection circuit, the third end of the first socket is connected with the first end of the first audio transmission circuit, the fourth end of the first socket is connected with the first end of the second audio transmission circuit, and the fifth end of the first socket is connected with the first end of the first socket power supply circuit; the first socket is used for receiving the audio signal transmitted by the connected external first plug; The second end of the first plug detection circuit is connected with the first end of the Bluetooth chip; the plug detection circuit is used for determining the plug type of the external first plug and generating the plug type signal corresponding to the plug type of the external first plug and sending the plug type signal to the Bluetooth chip; wherein the plug type comprises a digital audio plug and an analog audio plug; The second end of the first audio transmission circuit is connected with the second end of the Bluetooth chip; the first audio transmission circuit is used for transmitting the input audio signal of the plug type of the analog audio plug to the Bluetooth chip; The second end of the second audio transmission circuit is connected with the third end of the Bluetooth chip; the second audio transmission circuit is used for transmitting the input audio signal of the plug type of the digital audio plug to the Bluetooth chip; The Bluetooth chip is used for determining the plug type of the external first plug connected with the first socket according to the plug type signal, switching to the working mode corresponding to the plug type of the external first plug connected with the first socket and receiving the audio signal transmitted by the audio transmission circuit corresponding to the plug type of the external first plug connected with the first socket; The first plug detection circuit comprises a first resistor, a second resistor, a first power supply and a first capacitor; The first end of the first resistor is connected with the first power supply, and the second end of the first resistor is connected with the first end of the second resistor and the first end of the Bluetooth chip; The second end of the second resistor is connected with the second end of the first socket and the first end of the first capacitor respectively; The second end of the first capacitor is connected with the ground; The audio playing device further comprises a first state detection circuit; The first end of the first state detection circuit is connected with the third end of the first audio transmission circuit, the second end of the first state detection circuit is connected with the third end of the second audio transmission circuit, and the third end of the first state detection circuit is connected with the fourth end of the Bluetooth chip; the first state detection circuit is used for detecting the input state of the audio signal transmitted by the first audio transmission circuit or the second audio transmission circuit and generating the audio input state signal and sending the audio input state signal to the Bluetooth chip, so that the Bluetooth chip determines the input state of the audio signal. The first state detection circuit comprises a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first triode, a second triode, a first diode, a second capacitor, a third capacitor, a fourth capacitor and a second power supply; 2. The audio playback device of claim 1, wherein, The third resistor and the second capacitor constitute a first branch; one end of the first branch is connected with the first audio transmission circuit, and the other end of the first branch is connected with the base of the first diode; The fourth resistor and the third capacitor constitute a second branch; one end of the second branch is connected with the second audio transmission circuit, and the other end of the second branch is connected with the base of the first diode; The collector of the first diode is connected to the second power supply through the fifth resistor, and the emitter of the first diode is grounded through the sixth resistor; The anode of the first diode is connected with the collector of the first diode, and the cathode of the first diode is connected to the base of the second triode through the seventh resistor; The collector of the second triode is connected to the second power supply through the eighth resistor, and the emitter of the second triode is grounded; The first end of the fourth capacitor is connected with the cathode of the first diode, and the second end of the fourth capacitor is grounded; The first end of the ninth resistor is connected with the second power supply, and the second end of the ninth resistor is connected with the base of the first triode.
3. The audio playback device of claim 2, wherein, Further comprising: A second socket, a third audio transmission circuit and a second socket power supply circuit; The first end of the second socket is connected with an external second plug, the second end of the second socket is connected with the first end of the third audio transmission circuit, and the third end of the second socket is connected with the first end of the second socket power supply circuit; the second socket is used for receiving the audio signal transmitted by the connected external second plug; wherein the plug type of the external second plug is a universal serial bus (USB) plug; The second end of the third audio transmission circuit is connected with the fifth end of the Bluetooth chip, and the third end of the third audio transmission circuit is connected with the sixth end of the Bluetooth chip; the third audio transmission circuit is used for transmitting the audio signal input by the external second plug to the Bluetooth chip, so that the Bluetooth chip switches to the working mode corresponding to the external second plug according to the level change of the second end of the third audio transmission circuit, and also makes the Bluetooth chip receive the audio signal input by the external second plug and determine the input state of the audio signal input by the external second plug; The second end of the second socket power supply circuit is connected with the seventh end of the Bluetooth chip; the second socket power supply circuit is used for supplying power to the second socket.
4. The audio playback device of claim 3, wherein, The third audio transmission circuit comprises: a tenth resistor, an eleventh resistor, a first bidirectional diode and a second bidirectional diode; The first end of the tenth resistor is connected with the fifth end of the Bluetooth chip, and the first end of the tenth resistor is connected with the second end of the second socket; The first end of the eleventh resistor is connected with the sixth end of the Bluetooth chip, and the first end of the eleventh resistor is connected with the fourth end of the second socket; The first end of the first bidirectional diode is connected with the first end of the tenth resistor, and the second end of the first bidirectional diode is connected with the ground; The first end of the second bidirectional diode is connected with the first end of the eleventh resistor, and the second end of the second bidirectional diode is connected with the ground.
5. The audio playback device of claim 4, wherein, The Bluetooth chip is also used for: When the plug type signal is not received and the level of the second end of the third audio transmission circuit does not change, the working mode is set as the Bluetooth mode, and the audio signal input by the external Bluetooth audio signal source is received through Bluetooth communication; and the input state of the audio signal is determined by detecting the size of the audio signal input by the external Bluetooth audio signal source.
6. The audio playback device of claim 5, wherein, Further comprising: an audio processing circuit and an audio playing circuit; a first end of the audio processing circuit is connected with an eighth end of the Bluetooth chip, and a second end of the audio processing circuit is connected with a first end of the audio playing circuit; the audio processing circuit is used for audio processing of the audio signal output by the Bluetooth chip; and the audio playing circuit is used for playing the audio signal after audio processing.
Citation Information
Patent Citations
Audio interface adaptation circuit and electronic device
CN104735591A
Earphone driving circuit and noise reduction earphone
CN213547799U