CN110300318B - USB terminal interface circuit and USB terminal interface circuit control method - Google Patents

USB terminal interface circuit and USB terminal interface circuit control method Download PDF

Info

Publication number
CN110300318B
CN110300318B CN201910402622.XA CN201910402622A CN110300318B CN 110300318 B CN110300318 B CN 110300318B CN 201910402622 A CN201910402622 A CN 201910402622A CN 110300318 B CN110300318 B CN 110300318B
Authority
CN
China
Prior art keywords
analog switch
usb
terminal
reference signal
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910402622.XA
Other languages
Chinese (zh)
Other versions
CN110300318A (en
Inventor
刘泽民
林敏强
蒋浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Konka Electronic Technology Co Ltd
Original Assignee
Shenzhen Konka Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Konka Electronic Technology Co Ltd filed Critical Shenzhen Konka Electronic Technology Co Ltd
Priority to CN201910402622.XA priority Critical patent/CN110300318B/en
Publication of CN110300318A publication Critical patent/CN110300318A/en
Application granted granted Critical
Publication of CN110300318B publication Critical patent/CN110300318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof

Abstract

The invention discloses a USB terminal interface circuit and a control method thereof, wherein the USB terminal interface circuit is connected with an external USB device and comprises a television main chip, a USB interface terminal and an analog switch module; after the external USB equipment is connected into the circuit, the external USB equipment is communicated with the television main chip through the USB interface terminal, and the type of the external USB equipment is judged by the television; if the external USB equipment is far-field voice equipment, the television main chip generates a high-level control signal to conduct the analog switch module; meanwhile, the analog switch module receives the echo reference signal, transmits the echo reference signal to the USB interface terminal and sends the echo reference signal to far-field voice equipment; if the external USB equipment is other equipment, the television main chip generates a low level control signal to disconnect the analog switch module. According to the invention, the analog switch module is additionally arranged between the USB interface terminal and the television main chip, so that one interface can carry out data transmission with external far-field voice equipment and return an echo reference signal to the far-field voice equipment.

Description

USB terminal interface circuit and USB terminal interface circuit control method
Technical Field
The invention relates to the field of smart televisions, in particular to a USB terminal interface circuit and a control method of the USB terminal interface circuit.
Background
Most of televisions are currently adapted with far-field voice modules, the far-field voice modules are mainly divided into a television-end built-in module and an external module on hardware, a Universal Serial Bus (USB) signal and an echo reference signal are mainly connected to a television mainboard, and after a remote voice device with the external module is connected to the television, in the far-field voice recognition process, sound emitted by a television loudspeaker needs to be eliminated, so that an echo reference signal needs to be returned from the television to the external module of the far-field voice device, and reference data is provided for an echo elimination algorithm at the end of the external far-field voice module.
In the prior art, the built-in module mainly adopts a custom wire specification, the external module mainly uses a USB2.0 TYPE A TYPE interface to transmit a voice signal, and a 3.5mm TRRS earphone interface is used to acquire a television echo reference signal.
However, in the current signal transmission of the external far-field voice module at the television end, a USB is adopted to transmit data and an echo reference signal is transmitted through an earphone interface, and two external terminals at the television end are occupied, which wastes television terminal resources.
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention aims to provide a USB terminal interface circuit and a method for controlling the USB terminal interface circuit, in which an analog switch module is added between a USB interface terminal and a television main chip, so that an interface can perform data transmission with an external far-field speech device and transmit an echo reference signal back to the far-field speech device, thereby saving the resources of the television terminal; and improves the effect of echo cancellation of the module.
In order to achieve the purpose, the invention adopts the following technical scheme:
a kind of USB terminal interface circuit, the said USB terminal interface circuit is connected with external USB apparatus, it includes the television main chip, the said USB terminal interface circuit also includes USB interface terminal, analog switch module; after the external USB equipment is connected into the circuit, the external USB equipment is communicated with the television main chip through a USB interface terminal, and the type of the external USB equipment is judged by the television; if the external USB equipment is far-field voice equipment, a television main chip generates a high-level control signal to conduct the analog switch module; meanwhile, the analog switch module receives an echo reference signal, transmits the echo reference signal to the USB interface terminal and sends the echo reference signal to far-field voice equipment; if the external USB equipment is other equipment, the television main chip generates a low level control signal to disconnect the analog switch module. According to the embodiment of the invention, the analog switch module is additionally arranged between the USB interface terminal and the television main chip, so that data transmission can be carried out between one interface and external far-field voice equipment, an echo reference signal is transmitted back to the far-field voice equipment, and the problem of equipment non-recognition caused by signal sequence errors when the external USB equipment is connected can be avoided by introducing the analog switch module.
Optionally, in the embodiment of the present invention, the circuit further includes a power amplifier module, the power amplifier module is connected to the television main chip and the analog switch module, the echo reference signal is amplified by the power amplifier module and then transmitted to the analog switch module, and the echo reference signal is transmitted to the USB interface terminal by the analog switch module and is sent to the far-field speech device. According to the embodiment of the invention, the power amplifier module is additionally arranged between the television main chip and the analog switch module, the echo reference signal is subjected to the sound effect processing of the power amplifier, the echo reference signal is amplified by the power amplifier module and is closer to the actual output sound signal of the television loudspeaker, and the effect of the echo cancellation algorithm at the end of the external far-field voice module is better promoted.
Optionally, in the embodiment of the present invention, the USB interface terminal is a USB3.0 interface terminal, which is specifically configured to transmit data for communication between an external USB device and a television main chip, and transmit an echo reference signal to a remote voice device when the external USB device is a remote voice device; the first pin of the USB3.0 interface terminal is connected with a power supply, the second pin and the third pin of the USB3.0 interface terminal are connected with a television main chip, the fourth pin and the seventh pin of the USB3.0 interface terminal are grounded, and the fifth pin, the sixth pin, the eighth pin and the ninth pin of the USB3.0 interface terminal are connected with the analog switch module. In the embodiment, the USB3.0 interface terminal is used to transmit normal communication data and echo reference signals at the same time, so that transmission of a voice signal and an echo reference signal compatible with external far-field voice equipment is realized.
The analog switch module comprises an analog switch unit, an output capacitor unit and an input capacitor unit; the analog switch unit is specifically used for conducting on or off according to a control signal of a television main chip so as to transmit an echo reference signal to the USB interface terminal or not transmit the echo reference signal to the USB interface terminal; the output capacitor unit is specifically used for filtering the output of the analog switch unit; the input capacitor unit is specifically used for analog switch unit input filtering.
The analog switch unit comprises an analog switch, a first output end, a second output end, a third output end and a fourth output end of the analog switch are respectively connected with the output capacitor unit, a first input end, a second input end, a third input end and a fourth input end of the analog switch are respectively connected with the input capacitor unit, and a control end of the analog switch is connected with the television main chip.
The output capacitor unit comprises a first capacitor, a second capacitor, a third capacitor and a fourth capacitor, the first capacitor is respectively connected with a fifth pin of the USB interface terminal and a first output end of the analog switch, the second capacitor is respectively connected with a sixth pin of the USB interface terminal and a second output end of the analog switch, the third capacitor is respectively connected with an eighth pin of the USB interface terminal and a third output end of the analog switch, and the fourth capacitor is respectively connected with a ninth pin of the USB interface terminal and a fourth output end of the analog switch.
The input capacitor unit comprises a fifth capacitor, a sixth capacitor, a seventh capacitor and an eighth capacitor, the fifth capacitor, the sixth capacitor, the seventh capacitor and the eighth capacitor are respectively connected with a first input end, a second input end, a third input end and a fourth input end of the analog switch, and the fifth capacitor, the sixth capacitor, the seventh capacitor and the eighth capacitor are further connected with the power amplifier module.
A USB terminal interface circuit control method is characterized by comprising the following steps:
the external USB equipment access circuit is communicated with the television main chip through a USB interface terminal;
the television judges whether the external USB equipment is far-field voice equipment or other equipment according to the information received by the television main chip;
if the external USB equipment is judged to be far-field voice equipment, a television main chip generates a high-level control signal to the analog switch module to conduct the high-level control signal, and meanwhile, the analog switch module receives an echo reference signal, transmits the echo reference signal to the USB interface terminal and sends the echo reference signal to the far-field voice equipment; if the external USB equipment is judged to be other equipment, the television main chip generates a low-level control signal to the analog switch module, so that the analog switch module keeps the off state of low level;
when the far-field voice equipment is detected to be pulled out, the television main chip converts the control signal from high level to low level, and controls the analog switch module to be disconnected and enter a turn-off state.
If the external USB equipment is judged to be far-field voice equipment, a television main chip generates a high-level control signal to the analog switch module to conduct the high-level control signal, and meanwhile, the analog switch module receives an echo reference signal, transmits the echo reference signal to the USB interface terminal and sends the echo reference signal to the far-field voice equipment; if the external USB equipment is judged to be other equipment, the television main chip generates a low level control signal to the analog switch module, and the step of enabling the analog switch module to keep the off state of the low level comprises the following steps:
the input capacitor unit filters the echo reference signal and transmits the echo reference signal to the analog switch;
the analog switch transmits the echo reference signal to an output capacitor unit and outputs the echo reference signal to a USB interface terminal;
and the USB interface terminal transmits the echo reference signal to far-field voice equipment.
Compared with the prior art, the USB terminal interface circuit and the control method thereof provided by the invention have the advantages that the USB terminal interface circuit is connected with an external USB device and comprises a television main chip, a USB interface terminal and an analog switch module; after the external USB equipment is connected into the circuit, the external USB equipment is communicated with the television main chip through the USB interface terminal, and the type of the external USB equipment is judged by the television; if the external USB equipment is far-field voice equipment, the television main chip generates a high-level control signal to conduct the analog switch module, and meanwhile, the analog switch module receives an echo reference signal, transmits the echo reference signal to the USB interface terminal and sends the echo reference signal to the far-field voice equipment; if the external USB equipment is other equipment, the television main chip generates a low level control signal to disconnect the analog switch module. According to the invention, the analog switch module is additionally arranged between the USB interface terminal and the television main chip, so that one interface can carry out data transmission with external far-field voice equipment and return an echo reference signal to the far-field voice equipment, and the television terminal resource is saved; meanwhile, the introduction of the analog switch module can avoid the problem that the equipment cannot be identified due to signal sequence errors when the external USB equipment is accessed.
Drawings
FIG. 1 is a block diagram of a USB terminal interface circuit according to the present invention;
FIG. 2 is a block diagram of an alternate embodiment of a USB terminal interface circuit according to the present invention;
FIG. 3 is a circuit diagram of a USB terminal interface circuit according to the present invention;
FIG. 4 is a flow chart of a USB terminal interface circuit control method according to the present invention;
FIG. 5 is a flowchart of a USB terminal interface circuit control method in step S310 according to the present invention;
fig. 6 is a flowchart of the USB terminal interface circuit control method provided in step S300.
Detailed Description
In view of the defect that in the prior art, two external terminals of a television end are occupied by a mode of transmitting data through a USB and transmitting echo reference signals through an earphone interface, and television terminal resources are wasted, the invention realizes that one interface can transmit data with external far-field voice equipment and transmit the echo reference signals back to the far-field voice equipment by adding an analog switch module between the USB interface terminal and a television main chip, and saves the television terminal resources. And a further scheme collects the amplified signal transmitted to the loudspeaker from the rear end of the power amplifier module as an echo reference signal, so that the echo cancellation effect of the far-field voice module can be effectively improved.
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The USB3.0 interface terminal referred to in the present invention is known as superspeedsub-providing a standard interface for various devices connected to a PC or audio/high frequency device. The USB3.0 interface terminal related in the invention is only a hardware device, the computer can use the related functions of the USB3.0 only after the related hardware device of the USB3.0 is installed, from a keyboard to a high throughput disk drive, various devices can adopt the low-cost interface to carry out plug-and-play connection of stable operation, and users basically do not need to worry about the plug-and-play connection. The new USB3.0 provides several enhanced functions as follows while maintaining compatibility with USB 2.0:
1. the bandwidth is greatly improved-up to 5Gbps full duplex (480 Mbps half duplex for USB 2.0).
2. Better power management is achieved.
3. The host can provide more power for the device, thereby realizing the application of USB (universal serial bus) -rechargeable batteries, LED illumination, mini fans and the like.
4. The host can be made to recognize the device more quickly.
5. The new protocol makes the data processing more efficient.
Referring to fig. 1, the USB terminal interface circuit provided by the present invention is connected to an external USB device, and includes a television main chip 100, a USB interface terminal 200, and an analog switch module 300; after the external USB equipment is connected to the circuit, the external USB equipment is communicated with the television main chip 100 through the USB interface terminal 200, and the type of the external USB equipment is judged by the television; if the external USB device is a far-field voice device, the television main chip 100 generates a high-level control signal to turn on the analog switch module 300; meanwhile, the analog switch module 300 receives the echo reference signal, transmits the echo reference signal to the USB interface terminal 200, and transmits the echo reference signal to the far-field voice device; if the external USB device is another device, the television main chip 100 generates a low level control signal to turn off the analog switch module 300. According to the embodiment of the invention, the analog switch module 300 is additionally arranged between the USB interface terminal 200 and the television main chip 100, so that data transmission can be carried out between one interface and external far-field voice equipment, an echo reference signal is transmitted back to the far-field voice equipment, the television terminal resource is saved, and the problem of equipment non-recognition caused by signal sequence errors when the external USB equipment is connected can be avoided by introducing the analog switch module 300.
In specific implementation, when the external USB device is connected to the USB terminal interface circuit, the external USB device communicates with the television main chip through two communication pins, i.e., DM and DP, and the television main chip determines whether the external USB device is a remote voice device, if so, the television main chip generates a high-level control signal to control the analog switch module to be turned on, and the television main chip generates an echo reference signal to the analog switch module 300, and meanwhile, the analog switch module 300 receives the echo reference signal and transmits the echo reference signal to the USB terminal, and further transmits the echo reference signal to the remote voice device through the USB terminal; the method and the device have the advantages that when the external USB device is a far-field voice device, the analog switch module is turned on to transmit the echo reference signal to the external USB device, and if the external USB device is other devices, the analog switch is turned off, so that the phenomenon that the device cannot be identified due to time sequence errors caused by signal interference is avoided.
It should be noted that the television main chip may be any existing smart television chip adapted to far-field speech equipment, and this is not limited here.
Optionally, referring to fig. 2, in an optional embodiment of the present invention, the circuit further includes a power amplifier module 400, the power amplifier module 400 is connected to the television main chip 100 and the analog switch module 300, the echo reference signal is amplified by the power amplifier module 400 and then transmitted to the analog switch module 300, and the echo reference signal is transmitted to the USB interface terminal 200 by the analog switch module 300 and is sent to the far-field speech device. According to the embodiment of the invention, the power amplifier module is additionally arranged between the television main chip and the analog switch module, the echo reference signal is subjected to the sound effect processing of the power amplifier, the echo reference signal is amplified by the power amplifier module and is closer to the actual output sound signal of the television loudspeaker, and the effect of the echo cancellation algorithm at the end of the external far-field voice module is better promoted.
Optionally, the power amplifier module is further connected to a loudspeaker, the amplified sound signal is transmitted to the loudspeaker for playing, and the echo reference signal is acquired from a transmission line between the power amplifier and the loudspeaker and then transmitted to the analog switch module.
In specific implementation, in an optional embodiment of the present invention, the television main chip 100 generates a sound signal, amplifies the sound signal by the power amplification module 400, and transmits the sound signal to the speaker 500 to play the sound; an echo reference signal is collected between the rear end of the power amplifier module 400 and a connecting line of the loudspeaker 500, the echo reference signal and a sound signal played by the loudspeaker 500 are amplified by the power amplifier module 400 and are closer to the sound signal actually output by the loudspeaker 500, the collected echo reference signal is transmitted to the analog switch module 300, and the television judges whether the currently inserted external USB device is a far-field voice device or not, if so, the television main chip 100 generates a high-level control signal to conduct the analog switch module 300, so that the amplified echo reference signal is transmitted to the USB interface terminal 200 from the analog switch module 300 and then transmitted to the far-field voice device, and better reference data are provided for noise elimination of the far-field voice device.
Optionally, referring to fig. 3, in an embodiment of the present invention, the USB interface terminal 200 is a USB3.0 interface terminal, and is specifically configured to transmit data for communication between an external USB device and the television main chip 100, and transmit an echo reference signal to a remote voice device when the external USB device is the remote voice device; in the embodiment, the USB3.0 interface terminal is used to transmit normal communication data and echo reference signals at the same time, so that transmission of a voice signal and an echo reference signal compatible with external far-field voice equipment is realized.
In specific implementation, the USB3.0 interface terminal selected in the embodiment of the present invention specifically uses a USB3.0 TYPE a interface terminal, the USB3.0 interface terminal has 9 signal pins, an interface definition of the USB3.0 interface terminal is modified in the embodiment of the present invention, specifically, a first pin VBUS of the USB3.0 interface terminal is connected to a power supply, a second pin DM and a third pin DP of the USB3.0 interface terminal are connected to the television main chip 100, a fourth pin GND1 and a seventh pin GND2 of the USB3.0 interface terminal are grounded, and a fifth pin SPK _ L-, a sixth pin SPK _ L +, an eighth pin SPK _ R-, and a ninth pin SPK _ R + of the USB3.0 interface terminal are connected to the analog switch K module 300.
The first pin VBUS of the USB3.0 interface terminal is a 5V power supply pin; the second pin DM and the third pin DP of the USB3.0 interface terminal are USB2.0 standard differential data transmission signal pins, and the second pin DM and the third pin DP of the USB3.0 interface terminal are connected with the television main chip 100 and an external USB device, so as to transmit signals for communication between the external USB device and the television main chip 100; a fifth pin SPK _ L and a sixth pin SPK _ L + of the USB3.0 interface terminal are transmission pins for transmitting a differential echo reference signal of a left sound channel, an eighth pin SPK _ R and a ninth pin SPK _ R + of the USB3.0 interface terminal are transmission pins for transmitting a differential echo reference signal of a right sound channel, the fifth pin SPK _ L-, the sixth pin SPK _ L +, the eighth pin SPK _ R-and the ninth pin SPK _ R + of the USB3.0 interface terminal are connected with corresponding pins of the analog switch module 300 and external USB equipment, and when the external USB equipment is far-field speech equipment and the analog switch module 300 is switched on, the fifth pin SPK _ L-and the sixth pin SPK _ L + of the USB3.0 interface terminal and the eighth pin SPK _ R-and the ninth pin SPK _ R + of the USB3.0 interface terminal respectively transmit left and right echo reference signals to the remote speech equipment; the fourth pin GND1 and the seventh pin GND2 of the USB3.0 interface terminal are grounding pins.
The analog switch module 300 comprises an analog switch unit 301, an input capacitor unit 302 and an output capacitor unit 303; the analog switch unit 301 is specifically configured to turn on or off according to a control signal of the television main chip 100, so as to transmit an echo reference signal to the USB interface terminal 200 or not transmit the echo reference signal to the USB interface terminal 200; the output capacitor unit 303 is specifically used for filtering the output of the analog switch unit 301; the input capacitor unit 302 is specifically used for filtering the input of the analog switch unit 301.
The analog switch unit 301 includes an analog switch K, a first output terminal OUT1, a second output terminal OUT2, a third output terminal OUT3 and a fourth output terminal OUT4 of the analog switch K are respectively connected to the output capacitor unit 303, a first input terminal IN1, a second input terminal IN2, a third input terminal IN3 and a fourth input terminal IN4 of the analog switch K are respectively connected to the input capacitor unit 302, and a control terminal CTL of the analog switch K is connected to the tv main chip 100.
The output capacitor unit 303 includes a first capacitor C1, a second capacitor C2, a third capacitor C3 and a fourth capacitor C4, the first capacitor C1 is respectively connected to the fifth pin of the USB interface terminal 200 and the first output end OUT1 of the analog switch K, the second capacitor C2 is respectively connected to the sixth pin of the USB interface terminal 200 and the second output end OUT2 of the analog switch K, the third capacitor C3 is respectively connected to the eighth pin of the USB interface terminal 200 and the third output end OUT3 of the analog switch K, and the fourth capacitor C4 is respectively connected to the ninth pin of the USB interface terminal 200 and the fourth output end OUT4 of the analog switch K.
The input capacitor unit 302 includes a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7 and an eighth capacitor C8, the fifth capacitor C5, the sixth capacitor C6, the seventh capacitor C7 and the eighth capacitor C8 are respectively connected to the first input terminal IN1, the second input terminal IN2, the third input terminal IN3 and the fourth input terminal IN4 of the analog switch K, and the fifth capacitor C5, the sixth capacitor C6, the seventh capacitor C7 and the eighth capacitor C8 are further connected to the power amplifier module 400.
In a specific implementation, in the embodiment of the present invention, the analog switch K is a four-channel analog switch, and is mainly used to control on/off of a left-channel and right-channel differential echo reference signal, a control end CTL of the analog switch K is connected to a selective control end STL _ CTL of the television main chip 100, and the selective control end STL _ CTL of the television main chip generates a control signal to control on/off of the analog switch, so as to control whether to transmit the echo reference signal, specifically, the fifth capacitor C5, the sixth capacitor C6, the seventh capacitor C7, and the eighth capacitor C8 respectively receive AMP _ L-, AMP _ L +, AMP _ R-, and AMP _ R + signals sent by the power amplifier module, and enter the analog switch K through capacitor filtering, when the control end CTL is at a low level, the four-way switch of the analog switch K is turned off, and the fifth pin SPK-, sixth pin SPK _ L +, and the eighth pin SPK + of the USB3.0 interface terminal 201 are turned on/off, The eighth pin SPK _ R-and the ninth pin SPK _ R + are equivalent to open circuits; when the control end CTL is at a high level, four switches of the analog switch K are conducted, and the echo reference signal is transmitted to an interface output pin through the analog switch K; in addition, a capacitor is respectively connected to the four input ends and the four output ends of the analog switch K, so that the effects of input capacitor filtering and output capacitor filtering are achieved, and the input voltage and the output voltage of the analog switch K module 300 are stable.
It should be noted that, the four-channel analog switch K may be constructed by selecting an appropriate chip device according to actual requirements, and the circuit design is not deeply developed here.
Based on the USB terminal interface circuit, the present invention further provides a method for controlling a USB terminal interface circuit, referring to fig. 4, the method for controlling a USB terminal interface circuit includes the following steps:
s100, externally connecting a USB device access circuit, and communicating with a television main chip through a USB interface terminal;
s200, the television judges whether the external USB equipment is far-field voice equipment or other equipment through information received by a television main chip;
s300, if the external USB device is judged to be far-field voice equipment, a television main chip generates a high-level control signal to an analog switch module to conduct the external USB device, and meanwhile the analog switch module receives an echo reference signal, transmits the echo reference signal to a USB interface terminal and sends the echo reference signal to the far-field voice equipment; if the external USB equipment is judged not to be far-field voice equipment, a low-level control signal is generated to the analog switch module by the television main chip, so that the analog switch module keeps the low-level turn-off state;
s400, when the far-field voice equipment is detected to be pulled out, the television main chip converts the control signal from high level to low level, and controls the analog switch module to be disconnected and enter a turn-off state.
Specifically, in the embodiment of the present invention, when the USB interface terminal is not connected to the external USB device, the analog switch module defaults to a low level, and the analog switch module defaults to an off state; after the external USB equipment is connected into the circuit, the external USB equipment is firstly communicated with a television main chip through a USB interface terminal, then the television judges the equipment type of the external equipment according to the information received by the television main chip, and whether a high-level control signal is sent or not is selected according to the equipment type to turn on the analog switch module; if the remote-field speech equipment is adopted, the television main chip generates a high-level control signal to control the switch module of the module to be switched on, and generates an echo reference signal to the analog switch module 300 and transmits the echo reference signal to the remote-field speech equipment through the USB interface terminal; if the voice equipment is not far-field voice equipment, the main chip of the television generates a level control signal to enable the analog switch module to keep a low-level turn-off state, and the problems that the echo reference signal interferes other equipment and the equipment cannot be identified due to signal sequence errors are avoided. When the far-field voice equipment is detected to be pulled out, the television main chip converts the control signal from high level to low level, controls the analog switch module to be disconnected, enters a turn-off state and achieves the reset effect.
Optionally, referring to fig. 5, in the embodiment of the present invention, the step S300 includes:
s310, the television main chip generates an echo reference signal, the echo reference signal is amplified in advance through a power amplification module, and the amplified echo reference signal is transmitted to an analog switch module.
Specifically, referring to fig. 6, in the embodiment of the present invention, the step S300 further includes:
s301, the input capacitor unit filters the echo reference signal and transmits the echo reference signal to the analog switch;
s302, the analog switch transmits the echo reference signal to an output capacitor unit and outputs the echo reference signal to a USB interface terminal;
and S303, transmitting the echo reference signal to far-field voice equipment through the USB interface terminal.
In summary, according to the USB terminal interface circuit and the control method of the USB terminal interface circuit provided by the present invention, the USB terminal interface circuit is connected to an external USB device, and includes a television main chip, a USB interface terminal, and an analog switch module; after the external USB equipment is connected into the circuit, the external USB equipment is communicated with the television main chip through the USB interface terminal, and the type of the external USB equipment is judged by the television; if the external USB equipment is far-field voice equipment, the television main chip generates a high-level control signal to conduct the analog switch module, and meanwhile, the analog switch module receives an echo reference signal, transmits the echo reference signal to the USB interface terminal and sends the echo reference signal to the far-field voice equipment; if the external USB equipment is other equipment, the television main chip generates a low level control signal to disconnect the analog switch module. According to the invention, the analog switch module is additionally arranged between the USB interface terminal and the television main chip, so that one interface can carry out data transmission with external far-field voice equipment and return an echo reference signal to the far-field voice equipment, and the television terminal resource is saved; meanwhile, the introduction of the analog switch module can avoid the problem that the equipment cannot be identified due to signal sequence errors when the external USB equipment is accessed.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.

Claims (9)

1. A USB terminal interface circuit is connected with an external USB device and comprises a television main chip, and is characterized by also comprising a USB interface terminal and an analog switch module; after the external USB equipment is connected into the circuit, the external USB equipment is communicated with the television main chip through a USB interface terminal, and the type of the external USB equipment is judged by the television; if the external USB equipment is far-field voice equipment, a television main chip generates a high-level control signal to conduct the analog switch module; meanwhile, the analog switch module receives an echo reference signal, transmits the echo reference signal to the USB interface terminal and sends the echo reference signal to far-field voice equipment; if the external USB equipment is other equipment, the television main chip generates a low-level control signal to disconnect the analog switch module;
the USB interface terminal is a USB3.0 interface terminal and is specifically used for transmitting data for communication between an external USB device and a television main chip and transmitting an echo reference signal to a far-field voice device when the external USB device is a far-field voice device; normal communication data and an echo reference signal are simultaneously transmitted through the USB3.0 interface terminal.
2. The USB terminal interface circuit according to claim 1, further comprising a power amplifier module, wherein the power amplifier module is connected to the TV main chip and the analog switch module, and the TV main chip generates the echo reference signal, and the echo reference signal is amplified by the power amplifier module and then transmitted to the analog switch module, and then transmitted to the USB interface terminal by the analog switch module and then transmitted to the far-field speech device.
3. The USB terminal interface circuit according to claim 1, wherein the first pin of the USB3.0 interface terminal is connected to a power supply, the second pin and the third pin of the USB3.0 interface terminal are connected to a tv main chip, the fourth pin and the seventh pin of the USB3.0 interface terminal are grounded, and the fifth pin, the sixth pin, the eighth pin and the ninth pin of the USB3.0 interface terminal are connected to an analog switch module.
4. The USB terminal interface circuit according to claim 1 or 2, wherein the analog switch module includes an analog switch unit, an output capacitor unit, and an input capacitor unit; the analog switch unit is specifically used for conducting on or off according to a control signal of a television main chip so as to transmit an echo reference signal to the USB interface terminal or not transmit the echo reference signal to the USB interface terminal; the output capacitor unit is specifically used for filtering the output of the analog switch unit; the input capacitor unit is specifically used for analog switch unit input filtering.
5. The USB terminal interface circuit according to claim 4, wherein the analog switch unit comprises an analog switch, the first, second, third and fourth output terminals of the analog switch are respectively connected to the output capacitor unit, the first, second, third and fourth input terminals of the analog switch are respectively connected to the input capacitor unit, and the control terminal of the analog switch is connected to the TV main chip.
6. The USB terminal interface circuit according to claim 5, wherein the output capacitor unit comprises a first capacitor, a second capacitor, a third capacitor and a fourth capacitor, the first capacitor is connected to the fifth pin of the USB interface terminal and the first output terminal of the analog switch, the second capacitor is connected to the sixth pin of the USB interface terminal and the second output terminal of the analog switch, the third capacitor is connected to the eighth pin of the USB interface terminal and the third output terminal of the analog switch, and the fourth capacitor is connected to the ninth pin of the USB interface terminal and the fourth output terminal of the analog switch.
7. The USB terminal interface circuit according to claim 6, wherein the input capacitor unit comprises a fifth capacitor, a sixth capacitor, a seventh capacitor and an eighth capacitor, the fifth capacitor, the sixth capacitor, the seventh capacitor and the eighth capacitor are respectively connected to the first input terminal, the second input terminal, the third input terminal and the fourth input terminal of the analog switch, and the fifth capacitor, the sixth capacitor, the seventh capacitor and the eighth capacitor are further connected to the power amplifier module.
8. A USB terminal interface circuit control method is characterized by comprising the following steps:
the external USB equipment access circuit is communicated with the television main chip through a USB interface terminal;
the television judges whether the external USB equipment is far-field voice equipment or other equipment according to the information received by the television main chip;
if the external USB equipment is judged to be far-field voice equipment, a television main chip generates a high-level control signal to the analog switch module to conduct the high-level control signal, and meanwhile, the analog switch module receives an echo reference signal, transmits the echo reference signal to the USB interface terminal and sends the echo reference signal to the far-field voice equipment; if the external USB equipment is judged to be other equipment, the television main chip generates a low-level control signal to the analog switch module, so that the analog switch module keeps the off state of low level;
when the far-field voice equipment is detected to be pulled out, the television main chip converts the control signal from high level to low level, controls the analog switch module to be disconnected and enters a turn-off state;
the USB interface terminal is a USB3.0 interface terminal and is specifically used for transmitting data for communication between an external USB device and a television main chip and transmitting an echo reference signal to a far-field voice device when the external USB device is a far-field voice device; normal communication data and an echo reference signal are simultaneously transmitted through the USB3.0 interface terminal.
9. The method according to claim 8, wherein if the external USB device is a far-field audio device, the tv main chip generates a high-level control signal to the analog switch module to turn on the analog switch module, and the analog switch module receives the echo reference signal, transmits the echo reference signal to the USB interface terminal, and transmits the echo reference signal to the far-field audio device; if the external USB equipment is judged to be other equipment, the television main chip generates a low level control signal to the analog switch module, and the step of enabling the analog switch module to keep the off state of the low level comprises the following steps:
the input capacitor unit filters the echo reference signal and transmits the echo reference signal to the analog switch;
the analog switch transmits the echo reference signal to an output capacitor unit and outputs the echo reference signal to a USB interface terminal;
and the USB interface terminal transmits the echo reference signal to far-field voice equipment.
CN201910402622.XA 2019-05-15 2019-05-15 USB terminal interface circuit and USB terminal interface circuit control method Active CN110300318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910402622.XA CN110300318B (en) 2019-05-15 2019-05-15 USB terminal interface circuit and USB terminal interface circuit control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910402622.XA CN110300318B (en) 2019-05-15 2019-05-15 USB terminal interface circuit and USB terminal interface circuit control method

Publications (2)

Publication Number Publication Date
CN110300318A CN110300318A (en) 2019-10-01
CN110300318B true CN110300318B (en) 2021-09-21

Family

ID=68026876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910402622.XA Active CN110300318B (en) 2019-05-15 2019-05-15 USB terminal interface circuit and USB terminal interface circuit control method

Country Status (1)

Country Link
CN (1) CN110300318B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913159B (en) * 2019-11-29 2022-08-09 高创(苏州)电子有限公司 Digital television, electronic equipment and control method
CN113053089B (en) * 2019-12-27 2022-06-10 深圳Tcl新技术有限公司 Far-field voice privacy protection circuit and method
CN113132793A (en) * 2019-12-31 2021-07-16 深圳Tcl新技术有限公司 Far-field voice control method, smart television, far-field voice module and connecting line
CN111581129B (en) * 2020-03-24 2022-05-31 西安广和通无线通信有限公司 Terminal mainboard circuit, terminal equipment and ADC interface multiplexing control method
CN113267736B (en) * 2021-05-31 2022-04-12 荣耀终端有限公司 Charging test device and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725153A (en) * 2004-07-23 2006-01-25 宏碁股份有限公司 Power supply monitoring method
CN201063682Y (en) * 2007-05-24 2008-05-21 林碧芬 Wireless network telephone apparatus with hold-free handset
CN102361505A (en) * 2011-05-24 2012-02-22 惠州Tcl移动通信有限公司 Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface
CN106782589A (en) * 2016-12-12 2017-05-31 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its pronunciation inputting method and device
CN108235189A (en) * 2018-02-07 2018-06-29 深圳创维-Rgb电子有限公司 The echo cancelling device and television set of a kind of voice signal
CN207833501U (en) * 2018-02-09 2018-09-07 深圳创维-Rgb电子有限公司 Signal transmitting apparatus, playing device and far field language play back system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI265742B (en) * 2004-04-29 2006-11-01 Kye Systems Corp Multimedia device
CN101374180A (en) * 2007-08-23 2009-02-25 义隆电子股份有限公司 Auto-calibration and synchronization method as well as method for eliminating echo of network telephone
TW200926150A (en) * 2007-12-07 2009-06-16 Univ Nat Chiao Tung Intelligent voice purification system and its method thereof
JP5024010B2 (en) * 2007-12-10 2012-09-12 ヤマハ株式会社 Audio conferencing system
CN203057371U (en) * 2012-11-08 2013-07-10 康佳集团股份有限公司 Camera device having echo elimination function and television set
JP2014230136A (en) * 2013-05-23 2014-12-08 船井電機株式会社 Information terminal, speech communication system and video communication system
TWI671737B (en) * 2015-08-07 2019-09-11 圓剛科技股份有限公司 Echo-cancelling apparatus and echo-cancelling method
CN208422407U (en) * 2018-06-07 2019-01-22 深圳巴金科技有限公司 It is a kind of for far saying the echo eliminating device of speech recognition

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725153A (en) * 2004-07-23 2006-01-25 宏碁股份有限公司 Power supply monitoring method
CN201063682Y (en) * 2007-05-24 2008-05-21 林碧芬 Wireless network telephone apparatus with hold-free handset
CN102361505A (en) * 2011-05-24 2012-02-22 惠州Tcl移动通信有限公司 Electronic equipment and method for identifying external power amplification module based on MICRO-USB interface
CN106782589A (en) * 2016-12-12 2017-05-31 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its pronunciation inputting method and device
CN108235189A (en) * 2018-02-07 2018-06-29 深圳创维-Rgb电子有限公司 The echo cancelling device and television set of a kind of voice signal
CN207833501U (en) * 2018-02-09 2018-09-07 深圳创维-Rgb电子有限公司 Signal transmitting apparatus, playing device and far field language play back system

Also Published As

Publication number Publication date
CN110300318A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN110300318B (en) USB terminal interface circuit and USB terminal interface circuit control method
CN107728991B (en) Electronic equipment and FM playing method
EP1782224B1 (en) Apparatus and method for enabling digital and analog data communication over a data bus
US7103381B1 (en) Method and/or apparatus for implementing USB and audio signals shared conductors
KR20170120611A (en) Connectors for audio data transmission
US20080126592A1 (en) System and Method for Providing Serial Bus Connectivity
US20070239924A1 (en) Electronic device transmitting audio-and-video signals with USB connector
US11403245B2 (en) Terminal, terminal peripheral, signal transmission system and signal sending and receiving method
CN109660894B (en) Terminal peripheral and audio signal transmission method
WO2018014471A1 (en) Terminal, terminal peripheral, signal sending and receiving method, and data transmission system
US20030023329A1 (en) Method and apparatus to provide digital or analog audio signals to multiple computer system outputs
US10198392B2 (en) Peripheral device, host device, and processing method
CN100489822C (en) Audio system
CN110879792B (en) Electronic equipment and interface control method thereof
CN101626412A (en) Mobile terminal circuit with multifunctional earphone socket and implementation method thereof
CN113411703B (en) Audio playing method, earphone box, wireless earphone and earphone suite
CN2754294Y (en) High-side television receiver
CN113778923A (en) Multifunctional electronic equipment
CN114281745A (en) Docking station capable of switching connection of multiple uplink hosts
US9252727B2 (en) Peripheral apparatus
CN109976694B (en) Data transmission device, terminal, method and processor system
CN111247781B (en) Audio circuit and audio playing system based on intelligent terminal
CN1595960A (en) Digital television set with added USB interface
US20040117521A1 (en) Sounding apparatus and personal computer system having sounding apparatus
CN110650399A (en) Method for realizing compatibility of earphone and serial port function through earphone pin

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant