Terminal device
Technical field
The utility model relates to wireless communication field, in particular to a kind of terminal device.
Background technique
Current intelligent terminal field, the utilization rate of intelligent terminal is very high, and USB (universal serial bus) is for intelligent end
It is not only used in charging for end, it may also be used for listen to music, call etc. function.But in the prior art, for intelligence
For terminal, antenna is set near USB connector more, and when USB connector ground line, antenna performance will receive influence.
At present in order to avoid electromagnetic interference on Intelligent hardware, USB connector is connected ground during USB data transmission
Line achievees the effect that reduce electromagnetic interference, but another aspect, USB connector are grounded, and are equivalent to and are increased the electric long of ground
Degree, so as to cause antenna frequency deviation, influences an antenna performance.
Utility model content
The technical problems to be solved in the utility model is to overcome cannot taking into account for the prior art to weaken in terminal device
Electromagnetic interference and protection antenna performance, providing one kind and not only having can protect terminal device not by electromagnetic interference but also be avoided that influences antenna
The terminal device of performance.
The utility model is to solve above-mentioned technical problem by following technical proposals:
The invention of this reality provides a kind of terminal device, including antenna, USB connector, ground wire, and the USB connector includes GND
Foot (grounding leg), the ground terminal of the antenna are connected with the ground wire;
The terminal device further includes detection circuit and control device;
The control terminal of the control device is connect with the detection circuit, and the first connecting pin is connect with the GND foot, and second
Connecting pin is connect with the ground wire;
Whether the detection circuit connect and described external for detecting circumscribed USB connecting line with the USB connector
Whether data transmission is had between USB connecting line and the USB connector;
When circumscribed USB connecting line is connect with the USB connector and has data transmission, the detection circuit is to described
Control terminal sends connection signal, and the control terminal receives the connection signal and connect first connecting pin with described second
End conducting;
When circumscribed USB connecting line and the USB connector disconnect, or, when circumscribed USB connecting line and the USB connector
When connection but no data transmission, the detection circuit sends cut-off signal to the control terminal, and the control terminal receives described disconnected
ON signal simultaneously disconnects first connecting pin and the second connection end.
In the present solution, when detection circuit has detected circumscribed USB connecting line and has data transmission, USB connector with
Ground wire transmission, to weaken electromagnetic interference, when no data transmission, USB connector and ground wire are disconnected, to protect the biography of electric wire
Defeated performance, to make terminal device take into account electromagnetism interference and protect the effect of antenna.
Optionally, the control device is active switch, and the terminal device further includes GPIO, when the circumscribed USB connects
When wiring connect with the USB connector and has data transmission, the GPIO controls the detection circuit to the control
End processed sends connection signal.
In the present solution, the control device can be, but not limited to as active switch, the active switch passes through the terminal
Power supply unit in equipment provides power supply.
Optionally, the terminal device further includes CPU, when the circumscribed USB connecting line is connect simultaneously with the USB connector
And when having data transmission, the CPU controls the detection circuit and sends connection signal to the control terminal.
Detection circuit is directly controlled by the CPU in the terminal device in this programme, to realize the disconnected of active switch
It connects.
Optionally, the control device is passive switch, and the detection circuit includes biasing circuit;When the circumscribed USB
When connecting line connect with the USB connector and has data transmission, the biasing circuit generates bias voltage, described inclined
Voltage is set as the connection signal and is applied to the control terminal.
Optionally, the terminal device further includes shielding case, and the shielding case covers the USB connector, the shielding
Cover can be used for preventing interfering with each other between the electronic component in terminal device.
Optionally, the terminal device is mobile phone, and terminal device described in practice can also be other shapes such as tablet computer
Formula.
This programme has detected whether that circumscribed USB signal transmits by detection circuit, if so, then control device connects USB
Device, which connects ground wire, disconnects USB connector with ground wire if nothing, thus effectively in the case where preventing antenna offset frequency
Electromagnetic interference is prevented, the performance of terminal device is greatly improved, promotes user experience.
The positive effect of the utility model is:
Terminal device provided by the utility model passes through setting control device, when USB connector being made to have data transmission, antenna
Transmission performance protected, when the transmission of USB connector no signal, weaken electromagnetic interference, to take into account antenna performance and anti-
The protection of electromagnetism significantly improves the experience of user.
Detailed description of the invention
Fig. 1 is the module diagram of the terminal device of an embodiment of the present invention.
Fig. 2 is the module diagram of the terminal device of another embodiment of the utility model.
Specific embodiment
A preferred embodiment is named, and completely illustrates the utility model in conjunction with attached drawing to become apparent from.
Embodiment 1
As shown in Figure 1, the utility model provides a kind of terminal device 1, including antenna 11, USB connector 12, ground wire 13,
The USB connector 12 includes GND foot 121, and the ground terminal 111 of the antenna is connected with the ground wire 13;
The terminal device 1 further includes detection circuit 15 and control device 14;
The control terminal 141 of the control device 14 is connect with the detection circuit 15, the first connecting pin 142 and GND
Foot 121 connects, and second connection end 143 is connect with the ground wire 13;
Whether the detection circuit 15 connect and described for detecting circumscribed USB connecting line with the USB connector 12
Whether data transmission is had between circumscribed USB connecting line and the USB connector 12;
When circumscribed USB connecting line connect with the USB connector 12 and has data transmission, the detection circuit 15 to
The control terminal 141 sends connection signal, and the control terminal 141 receives the connection signal and by first connecting pin 142
It is connected with the second connection end 143;
When circumscribed USB connecting line and the USB connector 12 disconnect, or, when circumscribed USB connecting line is connect with the USB
When the connection of device 12 but no data transmission, the detection circuit 15 sends cut-off signal, the control terminal to the control terminal 141
141 receive the cut-off signal and disconnect first connecting pin 142 and the second connection end 143.
Following is that the present embodiment principle is explained further:
Terminal device takes various ways, such as to solve the electromagnetic interference problem in circumscribed USB data procedures at present
Shielding, filtering, ground connection, wherein USB connector be grounded as a kind of common mode, but work as USB connector with connect
When, it is equivalent to and increases the length of ground wire, so as to cause antenna offset frequency, the performance of antenna is affected, thus in the present embodiment
Terminal device in increase by a control device, when there are external data transmission, then the control device control ground wire connect with USB
Device disconnects, to make antenna not offset frequency, nature keep stable state.
In the present embodiment, circumscribed USB signal has been detected whether by detection circuit, USB connection is controlled by control device
Whether device connects ground wire, to effectively prevent electromagnetic interference in the case where preventing antenna offset frequency, greatly improves terminal and sets
Standby performance promotes user experience.
Embodiment 2
As shown in Fig. 2, the utility model provides a kind of terminal device, the terminal device of the present embodiment and the terminal of implementation 1
Equipment is unanimous on the whole, the difference is that: it is described passive to open by the specific implementation passive switch 24 of the control device 14
Closing 24 includes the first connecting pin 242, second connection end 243 and control terminal 241, and control terminal 241 connects with detection circuit 15, the
One connecting pin 242 connects with the GND foot 121 on USB connector 12, and second connection end 243 connects with ground wire 13;By terminal device
1 specific implementation mobile phone 2;Mobile phone 2 further includes having shielding case 12, and shielding case 12 is covered on USB connector 12;In addition it examines
Slowdown monitoring circuit 15 further includes having biasing circuit 151, when the circumscribed USB connecting line is connect with USB connector 12 and has data biography
When defeated, biasing circuit 151 generates bias voltage, and bias voltage 151 is applied to control terminal 241 as the connection signal.
Realize that the biasing circuit of above-mentioned function can be realized using the prior art, this embodiment is not repeated.
In the present embodiment, USB is controlled by the voltage bias of passive switch 24 and connects whether machine 12 connect with ground wire 13, when
When having the transmission of circumscribed USB data, forward bias, ground wire 13 is connect with GND foot 12;It is reversed to cut when the transmission of no circumscribed USB data
Only, ground wire 13 and GND foot 12 disconnects.
Whether detection circuit 15 connect and described external for detecting circumscribed USB connecting line with the USB connector 12
Whether data transmission is had between USB connecting line and the USB connector 12.When there is external data transmission, detection circuit 15 to
Control terminal 241 sends connection signal, and control terminal 241 receives the connection signal and by the first connecting pin 242 and second connection end
243 conductings.
When no external data transmits, detection circuit 15 sends cut-off signal to control terminal 241, and control terminal 241 receives institute
It states cut-off signal and disconnects the first connecting pin 242 and second connection end 243.
In the mobile phone 2 of the present embodiment, passive switch 24 can also be substituted for active switch, and the active switch can pass through
Whether GPIO control USB connector connect with ground wire, can also realize above-mentioned connection by directly controlling CPU, can also lead to
Other modes are crossed to realize above-mentioned connection.
Realize that the circuit of above-mentioned GPIO control can be realized using the prior art, this embodiment is not repeated.
The terminal device of the present embodiment be mobile phone 2, reality in, which can also have other a variety of implementations,
Such as e-book, plate, computer.
In the present embodiment, on the one hand controls whether USB connector is grounded by passive switch, take into account protection and the electricity of antenna
The decrease of magnetic disturbance further prevents the interference of electromagnetism, to promote the property of terminal device on the other hand by addition shielding case
Can, make user experience more preferably.