Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The schematic diagram of Fig. 3 pick-up unit embodiment one that to be the present invention connect for detection of the radio frequency interface extrapolation, as shown in Figure 3, this device comprises: RF switch connector 31 and testing circuit 33; Wherein testing circuit 33 is connected with RF switch connector 31.
RF switch connector 31 is mechanical switch structure, is be used to the connector that connects external radio frequency plug.
Testing circuit 33 is used for inserting according to RF switch connector 31 state of external radio frequency plug, in detection port output high level or the low level of testing circuit 33.
When not inserting external radio frequency plug in RF switch connector 31, external radio-frequency cable C and A point with the B point all less than being connected, A point in RF switch connector and B point are electrically connected to, and this moment, the detection port of testing circuit 33 was exported high level (or low level); When inserting external radio frequency plug in RF switch connector 31, external radio-frequency cable C is electrically connected to A point in RF switch connector 31 by external radio frequency plug, and the B point in external radio-frequency cable C and RF switch connector 33 disconnects, and A point and B point disconnect, at this moment the detection port output low level (or high level) of testing circuit 33.That is to say, different according to the concrete structure of testing circuit, insert in RF switch connector 31 or when not inserting external radio frequency plug, the height of the level of the detection port output of testing circuit is different, according to the height of output level, can judge whether be inserted with external radio frequency plug in RF switch connector.
RF switch connector in the present embodiment can be applied to several scenes, for example: be used for connecting external antenna with the transceiver of built-in aerial, under this application scenarios, A point in Fig. 3 connects the radio frequency transceiver front end, the B point connects the built-in aerial of transceiver, the C point is connected to external antenna, and when external like this radio frequency plug did not insert, the radio frequency transceiver front end just was connected with the built-in aerial of transceiver self; After the external radio frequency plug that connects external antenna inserted RF switch connector, the radio frequency transceiver front end just was connected with external antenna, and with the built-in aerial disconnection of transceiver self.In addition, RF switch connector also can be applicable to drawing of interior other radiofrequency signals of transceiver etc.Wherein built-in aerial is a kind of antenna form of transceiver, is characterized as to be built in radio transceiver device inside; External antenna is a kind of antenna form of transceiver, is characterized as to be placed on the radio transceiver device outside, is connected with radio transceiver device by radio frequency connector.
Whether be inserted with external radio frequency plug in detecting RF switch connector after, can control according to testing result the work of other parts of communication facilities or other equipment, for example: according to the insertion state-detection result of extrapolation radio frequency connector, terminal device can inform whether the user has external antenna to insert by indication (signal lamp or man-machine interface prompting etc.), to avoid in the situation that do not have antenna to connect the hardware damage that (port mismatch) user misoperation (such as opening radio frequency transceiver) causes; Perhaps, terminal device can be identified the current wireless connection conditions that whether is according to testing result, as going to control radio transmitted power according to antenna in the difference of the physical property of different frequent points wireless connection conditions is next, make it smooth in each frequency range, correct simultaneously some frequency power excessive, to reduce Overall Power Consumption, reduce the complete machine heating.
The embodiment of the present invention, the state that external radio frequency plug is inserted or do not insert by testing circuit is converted to DC level output, detects with convenient insertion state to RF switch connector.
Fig. 4 A is that the present invention does not insert the schematic diagram of state for detection of the pick-up unit embodiment two of radio frequency interface extrapolation connection, and Fig. 4 B is that the present invention inserts the schematic diagram of states for detection of the pick-up unit embodiment two of radio frequency interface extrapolation connection; As shown in Fig. 4 A and Fig. 4 B, on the basis of device embodiment one, the testing circuit 33 in this device comprises the first detecting unit 40.
The first detecting unit 40 is used for when RF switch connector 31 inserts external radio frequency plug, detection port output high level at testing circuit 33, when not inserting external radio frequency plug in RF switch connector 31, in the first detection port output low level of testing circuit.
The first detecting unit 40 specifically can comprise: draw voltage port 49, the first detection port 42 on the first electric capacity 41, the first inductance 43, the second inductance 45, the first resistance 47, first.
The first end of the first electric capacity 41 is electrically connected to the front end of the radio frequency transceiver of outside, and the second end of the first electric capacity 41 is electrically connected to the first end of RF switch connector 31 and the first end of the first inductance 43 respectively.
The second end ground connection of the first inductance 43.
The first end of the second inductance 45 is electrically connected to the second end of RF switch connector 31, and the second end of the second inductance 45 is electrically connected to first end and first detection port 44 of the first resistance 47 respectively.
Draw voltage port 49 to be electrically connected on second end and first of the first resistance 47.
Wherein, the end of the first end of RF switch connector 31 for being connected with external radio frequency plug when external radio frequency plug inserts.
The electric capacity that uses in the present embodiment is capacitance, and the inductance that uses in the present embodiment is the straight inductance of resistance.
The present embodiment changes the topological structure of testing circuit by RF switch connector difference of self port connection status when having or not external radio frequency plug to insert, make the voltage of the detection port of testing circuit also change thereupon, detect thereby reach the purpose whether external radio frequency plug inserts; Simultaneously in testing circuit with capacitance with hinder the alternating current sense and guarantee isolation between direct current and high-frequency circuit.
In another embodiment of the present embodiment, the first detecting unit can also comprise the second electric capacity 44.The first end of the second electric capacity 44 is electrically connected to the built-in aerial of the transceiver of outside, and the second end of the second electric capacity 44 is electrically connected to the second end of RF switch connector 31 and the first end of the second inductance 45 respectively.
In the present embodiment, as shown in Fig. 4 A, when external radio frequency plug did not insert RF switch connector, the first detection port 42 and earth terminal were communicated with, and this moment, the first detection port was low level; As shown in Figure 4 B, when external radio frequency plug inserts RF switch connector, the value that the voltage of the first detection port 42 draws voltage on being namely, this moment, the first detection port was high level.
Further, the first inductance in the present embodiment can be replaced by resistance, and the second inductance also can be replaced by resistance, and the resistance of the preferred high value of resistance here arrives hundreds of kilo-ohms as tens of.
The embodiment of the present invention is converted to high level output by testing circuit with the state that external radio frequency plug inserts, and the state that external radio frequency plug is not inserted is converted to low level output, detects with convenient insertion state to RF switch connector.
Fig. 5 A is that the present invention does not insert the schematic diagram of state for detection of the pick-up unit embodiment three of radio frequency interface extrapolation connection, and Fig. 5 B is that the present invention inserts the schematic diagram of states for detection of the pick-up unit embodiment three of radio frequency interface extrapolation connection; As shown in Fig. 5 A and Fig. 5 B, on the basis of device embodiment one, the testing circuit 33 in this device comprises the second detecting unit 50.
The second detecting unit 50 is used for when RF switch connector 31 inserts external radio frequency plug, detection port output low level at testing circuit 33, when not inserting external radio frequency plug in RF switch connector 31, at the second detection port output high level of testing circuit 33.
The second detecting unit 50 specifically can comprise: draw voltage port 59, the second detection port 52 on the 3rd electric capacity 51, the 3rd inductance 53, the 4th inductance 55, the second resistance 57, second.
The first end of the 3rd electric capacity 51 is electrically connected to the front end of the radio frequency transceiver of outside, and the second end of the 3rd electric capacity 51 is electrically connected to the first end of RF switch connector 31 and the first end of the 3rd inductance 53 respectively.
The second end of the 3rd inductance 53 is electrically connected to the first end of the second detection port 52 and the second resistance 57 respectively.
The second end ground connection of the second resistance 57.
The first end of the 4th inductance 55 is electrically connected to the second end of RF switch connector 31, draws voltage port 59 to be electrically connected on second end and second of the 4th inductance 55.
Wherein, the end of the first end of RF switch connector 31 for being connected with external radio frequency plug when external radio frequency plug inserts.
The electric capacity that uses in the present embodiment is capacitance, and the inductance that uses in the present embodiment is the straight inductance of resistance.The present embodiment changes the topological structure of testing circuit by RF switch connector difference of self port connection status when having or not external radio frequency plug to insert, make the voltage of the detection port of testing circuit also change thereupon, detect thereby reach the purpose whether external radio frequency plug inserts; Simultaneously in testing circuit with capacitance with hinder the alternating current sense and guarantee isolation between direct current and high-frequency circuit.
In another embodiment of the present embodiment, the second detecting unit can also comprise the 4th electric capacity 54.The first end of the 4th electric capacity 54 is electrically connected to the built-in aerial of the transceiver of outside, and the second end of the 4th electric capacity 54 is electrically connected to the second end of RF switch connector 31 and the first end of the 4th inductance 55 respectively.
In the present embodiment, as shown in Fig. 5 A, when external radio frequency plug does not insert RF switch connector, draw voltage port 59 to be communicated with on the second detection port 52 and second, this moment, the second detection port 52 was high level; As shown in Fig. 5 B, when external radio frequency plug inserted RF switch connector, in the situation that there is no DC voltage on external radio frequency plug, it is drop-down that the voltage of the second detection port 52 is grounded end, and this moment, the second detection port 52 was low level.
Further, the 3rd inductance in the present embodiment can be replaced by resistance, and the 4th inductance also can be replaced by resistance, and the resistance here is preferably the resistance of high value, arrives hundreds of kilo-ohms as tens of.
The embodiment of the present invention is converted to low level output by testing circuit with the state that external radio frequency plug inserts, and the state that external radio frequency plug is not inserted is converted to high level output, detects with convenient insertion state to RF switch connector.
The embodiment of the present invention also provides a kind of method for detection of the connection of radio frequency interface extrapolation, the method uses arbitrary pick-up unit that connects for detection of the radio frequency interface extrapolation that the embodiment of the present invention provides that RF switch connector is detected, according to the output level of the detection port of pick-up unit, can judge RF switch connector is whether to be inserted with external radio frequency plug in radio frequency interface.
The embodiment of the present invention, the state that external radio frequency plug is inserted or do not insert by testing circuit is converted to DC level output, detects with convenient insertion state to RF switch connector.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.