Audio device

CN116017232BActive Publication Date: 2026-08-11ANKER INNOVATIONS TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-17
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

通过增加音频解码芯片进行双声道输出的方式,会增加程序复杂程度,导致功耗增大

Benefits of technology

[0007]上述音频设备,通过将单声道驱动电路、双声道驱动电路设计为共用控制电路的第一声道端口和第二声道端口,节省接口资源。控制电路在双声道接口接入设备时,根据转接头接口接入的转接头的类型对第一声道端口和第二声道端口进行声道输出配置,以支持音频设备的单声道和双声道音频输出,相对于传统音频设备增加音频解码芯片进行双声道输出,可降低程序复杂程度,从而降低功耗。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116017232B_ABST
    Figure CN116017232B_ABST
Patent Text Reader

Abstract

This application relates to an audio device, including: a control circuit, a mono driver circuit, a stereo driver circuit, an adapter interface, and a stereo interface; a first channel port of the control circuit is connected to both the mono and stereo driver circuits, a second channel port of the control circuit is connected to the stereo driver circuit, the mono driver circuit is connected to the adapter interface, and the stereo driver circuit is connected to the stereo interface; the control circuit is used to configure the channel output of the first and second channel ports according to the type of adapter connected to the adapter interface when the stereo interface is connected to a device. By designing the mono and stereo driver circuits to share the first and second channel ports of the control circuit, interface resources are saved. Configuring the channel output of the first and second channel ports according to the type of adapter connected to the adapter interface reduces program complexity and thus reduces power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of audio processing technology, and in particular to an audio device. Background Technology

[0002] With the development of internet technology, people's demand for audio devices is increasing. Currently, audio devices mainly adopt a 2*TX (Transmit) + 1*RX (Receive) design and support two audio tracks working simultaneously for user convenience.

[0003] Traditional audio devices connect the main chip to a mono device via a mono interface, and connect two sets of interfaces on the main chip to an audio decoding chip, which then connects to a stereo device via a stereo interface. Of the two sets of interfaces connecting the main chip and the audio decoding chip, one set is used for audio transmission, and the other for function configuration. Adding an audio decoding chip for stereo output increases program complexity and power consumption. Summary of the Invention

[0004] Therefore, it is necessary to provide an audio device that can reduce power consumption in response to the above problems.

[0005] An audio device includes: a control circuit, a mono driver circuit, a dual-channel driver circuit, an adapter interface, and a dual-channel interface;

[0006] The first channel port of the control circuit is connected to the mono driver circuit and the dual-channel driver circuit, the second channel port of the control circuit is connected to the dual-channel driver circuit, the mono driver circuit is connected to the adapter interface, and the dual-channel driver circuit is connected to the dual-channel interface; the control circuit is used to configure the channel output of the first channel port and the second channel port according to the type of adapter connected to the adapter interface when the dual-channel interface is connected to a device.

[0007] The aforementioned audio device saves interface resources by designing the mono and stereo driver circuits to share the first and second channel ports of the control circuit. When a device is connected via a stereo interface, the control circuit configures the first and second channel ports for channel output according to the type of adapter connected to the adapter interface, thus supporting both mono and stereo audio outputs. Compared to traditional audio devices that require an audio decoding chip for stereo output, this reduces program complexity and consequently lowers power consumption. Attached Figure Description

[0008] Figure 1 This is a structural block diagram of an audio device in one embodiment;

[0009] Figure 2 This is a schematic diagram of the structure of an audio device in one embodiment;

[0010] Figure 3 This is a schematic diagram of the main controller in one embodiment;

[0011] Figure 4 This is a schematic diagram of the switching circuit and the dual-channel operational amplifier circuit in one embodiment;

[0012] Figure 5 This is a schematic diagram of the structure of a single-channel operational amplifier circuit in one embodiment;

[0013] Figure 6 This is a schematic diagram of the audio device in another embodiment;

[0014] Figure 7 This is a schematic diagram of the main controller in another embodiment;

[0015] Figure 8 This is a schematic diagram of the switching circuit in another embodiment;

[0016] Figure 9 This is a schematic diagram of the structure of a single-channel operational amplifier circuit in another embodiment;

[0017] Figure 10 This is a schematic diagram of the headphone amplifier driver circuit in one embodiment. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0019] In current audio devices, the main chip uses two sets of interfaces to connect to the audio decoding chip: one set of I2S for audio transmission and the other set of I2C for function configuration. The power consumption during operation is around 5mA, while the overall power consumption of this type of product is around 60mA, equivalent to an 8% increase in overall power consumption and an 8% reduction in battery life. Furthermore, the cost of dedicated audio decoding chips is not cheap, further increasing the cost of the audio device. Therefore, the audio device provided in this application saves interface resources by designing the mono and stereo driver circuits as the left and right channel ports of a shared control circuit. The channel output configuration is based on the type of adapter connected to the adapter interface to support both mono and stereo audio output, reducing program complexity, lowering power consumption, and simultaneously reducing the cost of the audio device.

[0020] In one embodiment, an audio device is provided, which may be a wireless or wired audio device. For example... Figure 1As shown, the audio device includes a control circuit 100, a mono driver circuit 200, an adapter interface 300, a stereo driver circuit 400, and a stereo interface 500. The first channel port of the control circuit 100 is connected to both the mono driver circuit 200 and the stereo driver circuit 400, and the second channel port of the control circuit 100 is connected to the stereo driver circuit 400. The mono driver circuit 200 is connected to the adapter interface 300, and the stereo driver circuit 400 is connected to the stereo interface 500. The control circuit 100 is used to configure the channel output of the first and second channel ports according to the type of adapter connected to the adapter interface 300 when the device is connected to the stereo interface 500.

[0021] The control circuit 100 has a first channel port that can be a left channel port / right channel port, and a second channel port that can be a right channel port / left channel port. The adapter interface 300 is used to connect adapters, which can include communication adapters, mono adapters, etc. The stereo interface 500 is used to connect devices that support analog audio input, such as headphones, cameras, and mobile phones. It can be understood that the mono interface only supports a single audio track input, while the stereo interface 500 supports two audio tracks simultaneously. Furthermore, the types of communication adapters, mono adapters, and stereo interface 500 are not unique and can be configured according to actual needs. For example, the communication adapter can be a Type-C adapter to connect to a Type-C device for audio transmission, the mono adapter can be a Lightning adapter, and the stereo interface 500 can use a 3.5mm / TRS interface.

[0022] Specifically, the control circuit 100 can perform input detection via GPIO (General Purpose Input Output) or ADC (Analog to Digital Converter) interface to detect whether an adapter is connected to the adapter interface 300 and the type of adapter connected. The mono driver circuit 200 and the stereo driver circuit 400 can be in working state after the audio equipment is powered on, receiving signals output by the control circuit 100; alternatively, the control circuit 100 can output control commands to control whether the mono driver circuit 200 and the stereo driver circuit 400 are working, or control whether power is supplied to the mono driver circuit 200 and the stereo driver circuit 400, thereby controlling whether they are working.

[0023] When the control circuit 100 detects a device connected to the dual-channel interface 500, it configures the channel output according to the adapter connection status of the adapter interface 300. For example, the control circuit 100 can be configured by software to output left and right channels. When a mono adapter is connected to the adapter interface 300, the control circuit 100 adjusts the channel output. By configuring the left and right channels in conjunction with the adapter connection status of the adapter interface 300, the mono driver circuit 200 and the dual-channel driver circuit 400 can share the left and right dual-channel ports of the control circuit 100.

[0024] In one embodiment, when a device is connected to the dual-channel interface 500, if no adapter is connected to the adapter interface 300, the control circuit 100 configures the first and second channel ports as dual-channel outputs. Specifically, since adapters have built-in pull-down resistors, the control circuit 100 can identify whether an adapter is connected to the adapter interface 300 and the type of adapter connected by the signal detected by the ADC interface. When no adapter is connected to the adapter interface 300, the control circuit 100 defaults to software-configured left and right channel outputs, outputting dual-channel audio to the device through the dual-channel interface 500.

[0025] In one embodiment, when the device is connected to the dual-channel interface 500, if a communication adapter is connected to the adapter interface 300, the control circuit 100 configures the first and second channel ports as dual-channel outputs. The control circuit 100 determines the adapter connection status, and when the adapter interface 300 is connected to the communication adapter, it also defaults to software-configured left and right channel outputs, outputting dual-channel audio to the device through the dual-channel interface 500.

[0026] In one embodiment, when a device is connected to the dual-channel interface 500, if a mono adapter is connected to the adapter interface 300, the control circuit 100 configures the first and second channel ports for mixing output. When a mono adapter is connected to the adapter interface 300, the control circuit 100 configures it to output two audio tracks in a mixing mode, so that the two audio tracks are mixed into one audio track, thus preventing the other channel of the dual-channel interface 500 from having no sound when the mono adapter is working.

[0027] The aforementioned audio device saves interface resources by designing the mono driver circuit 200 and the dual-channel driver circuit 400 to share the first and second channel ports of the control circuit 100. When the dual-channel interface 500 is connected to the device, the control circuit 100 configures the channel output of the first and second channel ports according to the type of adapter connected to the adapter interface 300, so as to support mono and dual-channel audio output of the audio device. Compared with the traditional audio device that adds an audio decoding chip for dual-channel output, the program complexity is reduced, thereby reducing power consumption.

[0028] The specific structure of the control circuit 100 is not unique. In one embodiment, the control circuit 100 includes a main controller and a switching circuit. The first channel port of the main controller is connected to the mono driver circuit 200 and the dual-channel driver circuit 400. The second channel port of the main controller is connected to the dual-channel driver circuit 400. The control terminal of the main controller is connected to the switching circuit. The adapter detection port and communication port of the main controller are connected to the adapter interface 300. The device detection port of the main controller is connected to the dual-channel interface 500. The switching circuit is connected to the mono driver circuit 200. Figure 2 and Figure 3 The main controller U1 can be an MCU (Micro Control Unit) or a CPU (Central Processing Unit). In this embodiment, the main controller U1 can use an ATS2835P chip. Specifically, the left channel port AOUTL of the main controller U1 can be used as the first channel port, connected to the mono driver circuit 200 and the dual-channel driver circuit 400, and the right channel port AOUTR of the main controller U1 can be used as the second channel port, connected to the dual-channel driver circuit 400. The adapter detection port ADC_DET of the main controller U1 is used for adapter detection, and the communication port of the main controller U1 is used to communicate with the Type-C adapter via USB DP*DM. The device detection port AOUT_DET of the main controller U1 is connected to the dual-channel interface 500. The control terminal OPA_SW of the main controller U1 is connected to the switch circuit 120, and the power supply port of the main controller U1 is connected to the power supply terminal AVCC. When the switch circuit 120 is turned on, it supplies power to the mono driver circuit 200 through the power supply terminal AVCC. Furthermore, the switching circuit 120 can also be connected to the dual-channel driver circuit 400, supplying power to the dual-channel driver circuit 400 via the power supply terminal AVCC when it is on. For example, when it detects that the adapter interface 300 is connected to an adapter and the dual-channel interface 500 is connected to a device, the main controller U1, in addition to configuring the left and right channels, also controls the switching circuit 120 to be on, enabling the mono driver circuit 200 and the dual-channel driver circuit 400 to operate. It can be understood that if the adapter interface 300 is not connected to an adapter and the dual-channel interface 500 is not connected to a device, the switching circuit 120 is turned off, shutting off the power supply to save power consumption.

[0029] In one embodiment, such as Figure 2As shown, the mono drive circuit 200 includes a mono operational amplifier circuit 210, which is connected to the first channel port of the main controller U1, the switching circuit 120, and the adapter interface 300. Further, the dual-channel drive circuit 400 includes a dual-channel operational amplifier circuit 410, which is connected to the first channel port and the second channel port of the main controller U1, the switching circuit 120, and the dual-channel interface 500. The switching circuit 120 can be controlled by a MOSFET or a transistor. The mono operational amplifier circuit 210 uses a single-channel operational amplifier for signal processing, while the dual-channel operational amplifier circuit 410 uses a dual-channel operational amplifier for signal processing. By using the mono operational amplifier circuit 210 and the dual-channel operational amplifier circuit 410 in parallel to drive both mono and dual-channel audio, simultaneous operation of both channels is supported. Furthermore, the operational amplifiers isolate analog signals, preventing noise issues caused when devices are inserted sequentially.

[0030] In one embodiment, when a device is connected to the dual-channel interface 500, the main controller U1 controls the switching circuit 120 to turn on, supplying power to the mono operational amplifier circuit 210 and the dual-channel operational amplifier circuit 410; when no device is connected to the dual-channel interface 500, the main controller U1 controls the switching circuit 120 to turn off, stopping the supply of power to the mono operational amplifier circuit 210 and the dual-channel operational amplifier circuit 410. When a device is connected to the dual-channel interface 500, the switching circuit 120 is turned on to supply power, enabling the mono operational amplifier circuit 210 and the dual-channel operational amplifier circuit 410 to operate; when no device is connected to the dual-channel interface 500, the switching circuit 120 is turned off to stop the supply of power, saving power consumption.

[0031] like Figure 4As shown, in one embodiment, the switching circuit 120 includes resistors R44 and R45, a switching transistor Q1, a ferrite bead FB3, resistors R135, R136, R137, and R138. The control terminal of the switching transistor Q1 is connected to the control terminal OPA_SW of the main controller U1. Resistor R44 connects to the first terminal of the switching transistor Q1, and resistor R45 connects to the analog ground terminal. The first terminal of the switching transistor Q1 is connected to the power supply terminal AVCC. The second terminal of the switching transistor Q1 is connected to the first terminal of the ferrite bead FB3. The second terminal of the ferrite bead FB3 connects to the mono operational amplifier circuit 210 and the first terminal of resistor R135. The second terminal of resistor R135 connects to the mono operational amplifier circuit 210, and resistor R136 connects to the analog ground terminal. Resistors R137 and R138 connect to the dual-channel operational amplifier circuit 410. In this embodiment, the switching transistor Q1 is a P-channel MOSFET, with the gate G as the control terminal, the source S as the first terminal, and the drain D as the second terminal. In addition, the switching circuit 120 may also include capacitors C71, C72, C145, C133, and C134. One end of capacitor C71 is connected to the power supply terminal AVCC, and the other end is connected to the analog ground terminal. After capacitors C72 and C145 are connected in parallel, one end is connected to the second terminal of the ferrite bead FB3, and the other end is connected to the analog ground terminal. After capacitors C133 and C134 are connected in parallel, one end is connected to the second terminal of resistor R135, and the other end is connected to the analog ground terminal.

[0032] Specifically, the left channel port of the main controller U1 may include a left channel port AOUTL and a left channel port AOUTL_1. For example... Figure 5As shown, in one embodiment, the mono operational amplifier circuit 210 includes a mono operational amplifier U6, resistors R36, R38, R39, R153, capacitors C63, C64, C65, C68, and C69, wherein the mono operational amplifier U6 may be an SGM721 chip. The first end of resistor R36 is connected to the left channel port AOUTL_1 of the main controller U1 through capacitor C63. The second end of resistor R36 is connected to the second end of resistor R135 in the switching circuit 120 through resistor R153. The second end of resistor R36 is also connected to port 4 of the single-channel operational amplifier U6 through capacitor C64. Port 5 of the single-channel operational amplifier U6 is connected to the first end of resistor R135 in the switching circuit 120. Port 3 of the single-channel operational amplifier U6 is connected to the second end of resistor R36. Port 2 of the single-channel operational amplifier U6 is connected to the analog ground terminal. One end of resistor R39 and capacitor C68 are both connected to port 1 of the single-channel operational amplifier U6, and the other end is connected to port 4 of the single-channel operational amplifier U6. Resistor R38 and capacitor C69 are connected in series, and the other end of resistor R38 is connected to port 4 of the single-channel operational amplifier U6, and the other end of capacitor C69 is connected to the analog ground terminal. One end of capacitor C65 is connected to port 1 of the single-channel operational amplifier U6, and the other end is used to connect to the Lighting adapter. In addition, the audio equipment also includes capacitor C139, one end of which is connected to port 5 of the single-channel operational amplifier U6, and the other end is connected to the analog ground terminal.

[0033] Furthermore, continue to refer to Figure 4 The dual-channel operational amplifier circuit 410 includes a dual operational amplifier U12 (divided into U12A and U12B in the figure), resistors R93, R94, R95, R96, R100, R101, R102, and R103, capacitors C106, C98, C103, C105, C99, C104, C100, C110, C111, C114, C116, C112, C115, and C113, and TVS (Transient Voltage Suppressor) transistors D11 and D10. In this embodiment, the dual operational amplifier U12 can be an SGM722 chip.

[0034] Among them, the first end of resistor R93 is connected to the left channel port AOUTL of the main controller U1 through capacitor C106, the second end of resistor R93 is connected to the left channel port AOUTL_1 of the main controller U1, and is connected to the first end of resistor R94 through capacitor C98. The second end of resistor R94 is connected to resistor R138 in switch circuit 120, and is connected to port 3 of dual operational amplifier U12, and is connected to port 2 of dual operational amplifier U12 through capacitor C99. One end of resistor R96 and capacitor C104 are connected to port 1 of dual operational amplifier U12, and the other end is connected to port 2 of dual operational amplifier U12. One end of capacitor C100 is connected to port 1 of dual operational amplifier U12, and the other end of capacitor C100 is used to connect to pin 3 of interface J8, and is connected to the digital ground terminal through TVS tube D11. The first end of capacitor C103 is connected to the second end of resistor R93. The second end of capacitor C103 is connected to the analog ground terminal. Resistor R95 and capacitor C105 are connected in series. The other end of resistor R95 is connected to port 2 of dual operational amplifier U12. The other end of capacitor C105 is connected to the second end of capacitor C103.

[0035] The first end of resistor R100 is connected to the right channel port AOUTR of the main controller U1 through capacitor C110. The second end of resistor R100 is connected to the first end of resistor R101 through capacitor C111. The second end of resistor R101 is connected to resistor R137 in switch circuit 120, and then to port 5 of dual operational amplifier U12. It is also connected to port 6 of dual operational amplifier U12 through capacitor C112. One end of resistor R103 and capacitor C115 are both connected to port 7 of dual operational amplifier U12, and the other end is connected to port 6 of dual operational amplifier U12. One end of capacitor C113 is connected to port 7 of dual operational amplifier U12, and the other end of capacitor C113 is used to connect to pin 5 of interface J8 and to the digital ground terminal through TVS diode D10. The first end of capacitor C114 is connected to the second end of resistor R100. The second end of capacitor C114 is connected to the analog ground terminal. Resistor R102 and capacitor C116 are connected in series. The other end of resistor R102 is connected to port 6 of dual operational amplifier U12. The other end of capacitor C116 is connected to the second end of capacitor C114.

[0036] In addition, the audio equipment includes resistors R104, R140, R143, R144, R145, and R146, and a TVS diode D12. Pin 2 of interface J8 is connected to the analog ground. Resistors R104 and R140 are connected in series, with their common terminal connected to pin 6 of interface J8. The other end of resistor R104 is connected to the power supply terminal AVCC, and the other end of resistor R140 is connected to the device detection port AOUT_DET of the main controller U1, and is connected to the digital ground through TVS diode D12. Resistors R143, R144, R145, and R146 are each connected to the analog ground at one end and to the digital ground at the other end.

[0037] Combination Figures 3-5 This provides an embodiment that uses a dual-channel operational amplifier and a single-channel operational amplifier connected in parallel to drive dual-channel and mono audio. Interface J8 is a 3.5mm / TRS jack used for audio output, allowing connection to external headphones (supporting high-impedance headphones), cameras, mobile phones, and other analog audio input devices. Capacitors C105, C110, C100, C113, and C65 act as DC blocking capacitors. Resistor R93 and capacitors C103 and C100 and C114 act as low-pass filters; capacitor C96 and resistor R94, capacitor C111 and resistor R101, and capacitor C63 and resistor R36 act as high-pass filters. Resistors R95 and R96, R10 and R103, and R38 and R39 are used to adjust the gain of the two operational amplifiers, respectively. TVS diodes D10, D11, and D12 act as anti-static transistors. Switch Q1 is a P-MOS transistor, controlling the power switch of the dual operational amplifier U12. Capacitors C145, C72, C133, C134, C99, C104, C112, C115, C64, and C68 are used for power supply filtering. Ferrite bead FB3 is used to filter high-frequency interference. Resistors R135, R136, R137, R138, and R153 are voltage adjustment resistors for the op-amp configuration. Resistors R143, R144, R145, and R146 are resistors connecting analog ground and digital ground.

[0038] The ATS2835P chip can determine the adapter connection status via the ADC_DET port (the adapter has a built-in pull-down resistor). When no adapter is connected, the ATS2835P chip defaults to software-configured left and right channel output. If the AOUT_DET port detects a low level (indicating a device connection), the OPA_SW port is pulled low to enable the op-amp power supply, and interface J8 outputs dual channels; conversely, the OPA_SW port is pulled high to disable power supply and save power.

[0039] Both Type-C and Lightning adapters have built-in pull-down resistors. The pull-down resistor for the Lightning adapter is 10K, and the pull-down resistor for the Type-C adapter is 20K. The adapter type can be detected by using the ADC_DET port based on the different voltage divisions of the resistors.

[0040] When a Type-C adapter is connected, the ATS2835P chip is configured by default to output left and right channels via software. If the AOUT_DET port detects a low level (indicating a device is connected), the OPA_SW port is pulled low to turn on the op-amp power supply, and interface J8 outputs dual channels. Conversely, the OPA_SW port is pulled high to turn off the power supply and save power.

[0041] When connected to the Lightning adapter, the ATS2835P chip is configured to output two audio tracks in a mixed format (the left and right channels output the same). The OPA_SW port is pulled low to turn on the op-amp power. At this time, the Lightning adapter outputs a mono channel (the Lightning adapter only supports mono input), and the J8 interface outputs a pseudo stereo channel (the two audio tracks have been mixed into one audio track). Because the sound of the two channels is consistent, this avoids the situation where the right channel of the J8 interface has no sound when the Lightning adapter is working.

[0042] In another embodiment, such as Figure 6 and Figure 7 As shown, the dual-channel driver circuit 400 includes a headphone amplifier driver circuit 420, which is connected to the first channel port, the second channel port, the enable port AUX_PA_EN, and the dual-channel interface 500 of the main controller U1. Similarly, the left channel port AOUTL of the main controller U1 can be used as the first channel port, connected to the mono operational amplifier circuit 210 and the headphone amplifier driver circuit 420, and the right channel port AOUTR of the main controller U1 can be used as the second channel port, connected to the headphone amplifier driver circuit 420. In this embodiment, to meet the needs of professional headphone monitoring, the headphone amplifier driver circuit 420 uses a professional headphone amplifier, capable of driving professional monitoring headphones, making it convenient for users.

[0043] Furthermore, in one embodiment, when a device is connected to the dual-channel interface 500, the main controller U1 controls the switching circuit 120 to turn on, supplying power to the mono operational amplifier circuit 210 and outputting an enable signal to the headphone amplifier driver circuit 420, thus controlling the headphone amplifier driver circuit 420 to start working. When no device is connected to the dual-channel interface 500, the main controller U1 controls the switching circuit 120 to turn off, stopping the supply of power to the mono operational amplifier circuit 210 and stopping the output of the enable signal to the headphone amplifier driver circuit 420, thus controlling the headphone amplifier driver circuit 420 to stop working. For example, if the adapter interface 300 is not connected to an adapter and no device is connected to the dual-channel interface 500, the power supply to the operational amplifier and headphone amplifier is turned off, saving power consumption.

[0044] In another embodiment, such as Figure 8 As shown, the switching circuit 120 includes resistors R161 and R163, a switching transistor Q2, a ferrite bead FB4, resistors R160 and R162. The control terminal of the switching transistor Q2 is connected to the control terminal OPA_SW of the main controller U1. Resistor R161 connects to the first terminal of the switching transistor Q2, and resistor R163 connects to the analog ground terminal. The first terminal of the switching transistor Q2 is connected to the power supply terminal AVCC. The second terminal of the switching transistor Q2 is connected to the first terminal of the ferrite bead FB4. The second terminal of the ferrite bead FB4 connects to the mono operational amplifier circuit 210 and the first terminal of resistor R160. The second terminal of resistor R160 is connected to the mono operational amplifier circuit 210 and is connected to the analog ground terminal through resistor R162. In this embodiment, the switching transistor Q2 is a P-channel MOSFET, with the gate G as the control terminal, the source S as the first terminal, and the drain D as the second terminal. In addition, the switching circuit 120 may also include capacitors C156, C153, C152, C154, and C155. One end of capacitor C156 is connected to the power supply terminal AVCC, and the other end is connected to the analog ground terminal. After capacitors C153 and C152 are connected in parallel, one end is connected to the second terminal of the ferrite bead FB4, and the other end is connected to the analog ground terminal. After capacitors C154 and C155 are connected in parallel, one end is connected to the second terminal of resistor R160, and the other end is connected to the analog ground terminal.

[0045] like Figure 9As shown, in another embodiment, the mono operational amplifier circuit 210 includes a mono operational amplifier U13, resistors R157, R156, R158, R1159, capacitors C147, C148, C151, C150, and C149. The mono operational amplifier U13 can also use an SGM721 chip. The first end of resistor R157 is connected to the left channel port AOUTL of the main controller U1 via capacitor C147. The second end of resistor R157 is connected to the second end of resistor R160 in the switching circuit 120 via resistor R156. The second end of resistor R157 is also connected to port 4 of the mono operational amplifier U13 via capacitor C148. Port 5 of the mono operational amplifier U13 is connected to the first end of resistor R160 in the switching circuit 120. Port 3 of the mono operational amplifier U13 is connected to the second end of resistor R157. Port 2 of operational amplifier U13 is connected to analog ground; one end of resistor R159 and capacitor C150 are both connected to port 1 of single-channel operational amplifier U13, and the other end is connected to port 4 of single-channel operational amplifier U13; resistor R158 and capacitor C151 are connected in series, with the other end of resistor R158 connected to port 4 of single-channel operational amplifier U13 and the other end of capacitor C151 connected to analog ground; one end of capacitor C149 is connected to port 1 of single-channel operational amplifier U13, and the other end is used to connect to the Lighting adapter.

[0046] Furthermore, such as Figure 10 As shown, the headphone amplifier driver circuit 420 includes a headphone amplifier U2, a ferrite bead FB2, resistors R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, and R27, and capacitors C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26, C27, C28, C29, and C30. In this embodiment, the headphone amplifier U2 can be an SGM4917AYTQ16G / TR chip.

[0047] In this configuration, the first end of ferrite bead FB2 is connected to the power supply terminal AVCC and grounded through capacitor C18. The second end of ferrite bead FB2 is connected to ports 1, 9, and 13 of headphone amplifier U2. The second end of ferrite bead FB2 is also connected to the analog ground terminal through capacitors C19 and C20. One end of capacitor C16 is connected to ports 9 and 13 of headphone amplifier U2, and the other end is connected to the analog ground terminal. One end of capacitor C17 is connected to ports 9 and 13 of headphone amplifier U2, and the other end is connected to the analog ground terminal. Resistors R17 and R18 are connected in series, with their common terminal connected to the analog ground terminal through capacitor C22. The other end of resistor R17 is connected to the analog ground terminal through capacitor C23. The other end of resistor R18 is connected to port 8 of headphone amplifier U2 and to port 10 of headphone amplifier U2 through resistor R16. Resistors R19 and R20 are connected in series, with their common terminal connected to the analog ground via capacitor C25. The other end of resistor R19 is connected to the right channel port AOUTR of the main controller U1 via capacitor C24. The other end of resistor R20 is connected to port 7 of the headphone amplifier U2 and connected to the analog ground via resistor R21. Resistors R23 and R24 are connected in series, with their common terminal connected to the analog ground via capacitor C27. The other end of resistor R23 is connected to the analog ground via capacitor C28. The other end of resistor R24 ​​is connected to port 14 of the headphone amplifier U2 and connected to port 12 of the headphone amplifier U2 via resistor R25. Resistors R26 and R27 are connected in series, with their common terminal connected to the analog ground via capacitor C30. The other end of resistor R26 is connected to the left channel port AOUTL of the main controller U1 via capacitor C29. The other end of resistor R27 is connected to port 15 of the headphone amplifier U2 and connected to the analog ground via resistor R28. Port 16 of headphone amplifier U2 is connected to the enable port AUX_PA_EN of main controller U1, and is connected to the analog ground terminal through resistor R22. One end of capacitor C21 is connected to ports 5 and 11 of headphone amplifier U2, and the other end is connected to the analog ground terminal; one end of capacitor C26 is connected to port 2 of headphone amplifier U2, and the other end is connected to port 4 of headphone amplifier U2. Port 10 of headphone amplifier U2 is connected to pin 5 of interface J9, and port 12 of headphone amplifier U2 is connected to pin 3 of interface J9. Ports 3, 6, and 17 of headphone amplifier U2 are all connected to the analog ground terminal.

[0048] In addition, the audio equipment includes TVS diodes D13, D14, and D15, resistors R29, R30, R154, and R155. Port 10 of headphone amplifier U2 is also connected to the digital ground terminal via TVS diode D15, and port 12 of headphone amplifier U2 is also connected to the digital ground terminal via TVS diode D13. Pin 2 of interface J9 is connected to the analog ground terminal. Resistors R154 and R155 are connected in series, with their common terminal connected to pin 6 of interface J9. The other end of resistor R155 is connected to the power supply terminal AVCC, and the other end of resistor R154 is connected to the device detection port AOUT_DET of the main controller U1, and is connected to the digital ground terminal via TVS diode D14. Resistors R29 and R30 are each connected to the analog ground terminal on one end and to the digital ground terminal on the other.

[0049] Combination Figures 7-10 This provides an embodiment using a headphone amplifier and a single-channel operational amplifier connected in parallel to drive dual-channel and mono audio. Interface J9 is a 3.5mm / TRS jack used for audio output, allowing connection to external headphones (supporting high-impedance headphones), cameras, mobile phones, and other analog audio input devices. Capacitors C16, C17, C18, C19, C20, and C21 are filtering and decoupling capacitors for headphone amplifier U2. Ferrite beads FB2 and FB4 are used to filter high-frequency interference. Capacitor C26 is a charge pump capacitor. Capacitors C23, C24, C28, and C29 are DC blocking capacitors. Resistors R19 and C25, R26 and C30 are used for low-pass filtering. Resistors R20 and R21, R27 and R28 are used for input amplitude adjustment. TVS diodes D13, D14, and D15 are used for electrostatic discharge protection. Resistors R154 and R155 are audio input device insertion detection resistors. Capacitors C152, C153, C154, C156, C148, and C150 are filter capacitors for the single-channel operational amplifier U13. Switch Q2 is a P-MOS transistor that controls the power switch of the single-channel operational amplifier U13. Resistors R160 and R162 are bias voltage adjustment resistors for the single-channel operational amplifier U13. Capacitor C147 and resistor R157 are used for high-pass filtering. Resistors R158 and R159 are used for op-amp gain adjustment. Capacitor C149 is a DC blocking capacitor. Resistors R29 and R30 are analog ground and digital ground connection resistors.

[0050] The ATS2835P chip can determine the adapter connection status via the ADC_DET port (the adapter has a built-in pull-down resistor). When no adapter is connected, the ATS2835P chip defaults to software-configured left and right channel output. If the AOUT_DET port detects a low level (indicating a device connection), the OPA_SW port is pulled low and the AUX_PA_EN port is pulled high to power the op-amp and headphone amplifier, and the J9 interface outputs dual channels. Conversely, the OPA_SW port is pulled high and the AUX_PA_EN port is pulled low to power off the device and save power.

[0051] When a Type-C adapter is connected, the ATS2835P chip is configured by default to output left and right channels via software. If the AOUT_DET port detects a low level (indicating a device is connected), the OPA_SW port is pulled low and the AUX_PA_EN port is pulled high to power the op-amp and headphone amplifier, and the J9 interface outputs dual channels. Conversely, the OPA_SW port is pulled high and the AUX_PA_EN port is pulled low to power off the device and save power.

[0052] When connected to the Lightning adapter, the ATS2835P chip is configured to output two audio tracks in a mixed format (the left and right channels output the same). The OPA_SW port is pulled low and the AUX_PA_EN port is pulled high, powering on the op-amp and headphone amplifier. At this time, the Lightning adapter outputs a mono channel (Lightning only supports mono input), and the J9 interface outputs a pseudo stereo channel (the two audio tracks have been mixed into one audio track). Because the sound of the two channels is consistent, this avoids the situation where the right channel of the J9 interface has no sound when the Lightning adapter is working.

[0053] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0054] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. An audio device, characterized in that, include: Control circuit, mono drive circuit, dual-channel drive circuit, adapter interface and dual-channel interface; The first channel port of the control circuit is connected to the mono driver circuit and the dual-channel driver circuit, and the second channel port of the control circuit is connected to the dual-channel driver circuit. The mono driver circuit is connected to the adapter interface, and the dual-channel driver circuit is connected to the dual-channel interface. The control circuit is used to detect the device access status of the dual-channel interface and the type of adapter connected to the adapter interface. When a device is connected to the dual-channel interface, the control circuit configures the channel output of the first channel port and the second channel port according to the type of adapter connected to the adapter interface, and controls the mono driver circuit and / or the dual-channel driver circuit to enter the working state. Specifically, when a mono adapter is detected connected to the adapter interface, the control circuit configures the first channel port and the second channel port for mixing output.

2. The audio device according to claim 1, characterized in that, When the dual-channel interface is connected to the device, if the adapter interface is connected to a communication adapter, the control circuit configures the first channel port and the second channel port as dual-channel output.

3. The audio device according to claim 1, characterized in that, When the device is connected to the dual-channel interface, if the adapter interface is not connected to an adapter, the control circuit configures the first channel port and the second channel port as dual-channel output.

4. The audio device according to any one of claims 1-3, characterized in that, The control circuit includes a main controller and a switching circuit. The first channel port of the main controller is connected to the mono driver circuit and the dual-channel driver circuit. The second channel port of the main controller is connected to the dual-channel driver circuit. The control terminal of the main controller is connected to the switching circuit. The adapter detection port and communication port of the main controller are connected to the adapter interface. The device detection port of the main controller is connected to the dual-channel interface. The switching circuit is connected to the mono driver circuit.

5. The audio device according to claim 4, characterized in that, The mono drive circuit includes a mono operational amplifier circuit, which is connected to the first channel port of the main controller, the switching circuit, and the adapter interface.

6. The audio device according to claim 5, characterized in that, The dual-channel drive circuit includes a dual-channel operational amplifier circuit, which is connected to the first channel port of the main controller, the second channel port of the main controller, the switching circuit, and the dual-channel interface.

7. The audio device according to claim 6, characterized in that, When a device is connected to the dual-channel interface, the main controller controls the switching circuit to turn on, supplying power to the mono operational amplifier circuit and the dual-channel operational amplifier circuit; when no device is connected to the dual-channel interface, the main controller controls the switching circuit to turn off, stopping the supply of power to the mono operational amplifier circuit and the dual-channel operational amplifier circuit.

8. The audio device according to claim 5, characterized in that, The dual-channel driving circuit includes a headphone amplifier driving circuit, which is connected to the first channel port of the main controller, the second channel port of the main controller, the enable port of the main controller, and the dual-channel interface.

9. The audio device according to claim 8, characterized in that, When a device is connected to the dual-channel interface, the main controller controls the switching circuit to turn on, supplying power to the mono operational amplifier circuit and outputting an enable signal to the headphone amplifier driver circuit, thereby controlling the headphone amplifier driver circuit to start working; when no device is connected to the dual-channel interface, the main controller controls the switching circuit to turn off, stopping the supply of power to the mono operational amplifier circuit and stopping the output of the enable signal to the headphone amplifier driver circuit, thereby controlling the headphone amplifier driver circuit to stop working.

Citation Information

Patent Citations

  • Stereo / monaural selecting circuit

    US4433209A