Summary of the invention
Invention broadly provides a kind of antenna switching system and switching methods, can make the mobile terminal with dual chip
Tunable controls antenna change-over switch.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of antenna switching system is provided, is used
In mobile terminal, comprising: chip module, antenna change-over switch and antenna modules;
The chip module includes the first chip, the second chip;First chip and the second chip pass through the day
Line mould group is received and/or signals;
The antenna modules include main collection antenna and diversity antenna;
The antenna change-over switch is connect with the antenna modules, for the control signal according to first chip, control
Make the switching between the main collection antenna and diversity antenna.
First chip includes main collection access and diversity access, and the main collection access of first chip passes through the antenna
Switching switch is connect with the main collection antenna, and the diversity access of first chip passes through the antenna change-over switch and described point
Collect antenna connection, to realize that first chip is received and/or signaled by the antenna modules.
A kind of antenna switching system provided by the invention, further includes frequency divider, the diversity access of first chip and institute
The transmission channel for stating the second chip is connect by the frequency divider with the antenna change-over switch, and then is switched by the antenna
Switch is connect with the diversity antenna, to realize that second chip is received and/or signaled by the antenna modules.
A kind of antenna switching system provided by the invention further comprises opening with first chip and antenna switching
The controller connect is correlated, the control signal for sending according to first chip controls whether the antenna change-over switch carries out
Switching between the main collection antenna and diversity antenna.
First chip includes the first detection circuit and the first decision circuitry;
First detection circuit is used to measure the first received signal strength and the diversity antenna of the main collection antenna
The second received signal strength, and export to first decision circuitry;
First decision circuitry is used for by first received signal strength compared with second received signal strength,
And judging that first received signal strength is lower than second received signal strength and when lower than threshold value, the first control of output
Signal is to the controller;Judging that first received signal strength is lower than second received signal strength but is not less than threshold
When value, then second control signal is exported to the controller.
The controller is when receiving the first control signal, the input of Xiang Suoshu antenna change-over switch and work shape at present
The opposite level of state, the antenna change-over switch carry out the switching between the main collection antenna and diversity antenna;The controller
When receiving the second control signal, stop to the antenna change-over switch input signal, the antenna change-over switch not into
Switching between the row main collection antenna and diversity antenna.
After the controller receives the first control signal or second control signal, calculated using transmission antenna selection TAS
Method determine the level that is inputted to the antenna change-over switch or whether input signal.
Second chip includes the second detection circuit and output circuit;
Second detection circuit will test result transmission for detecting whether the business of current transmission is voice service
To the output circuit;
The output circuit is for receiving the testing result, in the business for judging current transmission for institute's voice traffic
When, output third controls signal to the controller;
The controller closes the control to the antenna change-over switch when receiving the third control signal.
The third control signal is that AT instructs (Attention command), and the AT application of instruction is in terminal device
Connection and communication between application.
In order to solve the above technical problems, another technical solution used in the present invention is: a kind of antenna switching method is provided,
For the antenna switching system including the first chip and the second chip in mobile terminal, comprising:
First chip obtains the reception of main collection antenna and diversity antenna in the antenna modules of the antenna switching system
Signal strength;
Control signal is generated according to the received signal strength of the acquisition, is cut with controlling the antenna of the antenna switching system
Change whether switch carries out the main switching collected between antenna and diversity antenna.
It is described that control signal is generated according to the received signal strength of the acquisition, to control the day of the antenna switching system
Line switching switchs that the step of whether carrying out the main switching collected between antenna and diversity antenna includes:
Judge whether the first received signal strength of the main collection antenna is stronger than the second reception signal of the diversity antenna
It spends low and is lower than threshold value;
If so, controller of the output first control signal to the antenna switching system, so that the controller is connecing
When receiving the first control signal, controls the antenna change-over switch and carry out cutting between the main collection antenna and diversity antenna
It changes;Otherwise output second control signal is to the controller, so that the controller when receiving the second control signal, is controlled
The antenna change-over switch is made without the switching between the main collection antenna and diversity antenna.
The beneficial effects of the present invention are: being in contrast to the prior art, the present invention passes through the first chip transmission control letter
Number give controller, active control antenna change-over switch, avoid dual chip control antenna change-over switch problem of disharmony.
Specific embodiment
To overcome the problems, such as that current mobile terminal dual chip is unable to coordinated control antenna change-over switch, the present invention provides one
Kind antenna switching system and switching method.
Referring to Fig. 1, Fig. 1 is a kind of antenna switching system schematic diagram provided by the invention.
Antenna switching system shown in FIG. 1 is used for mobile terminal, comprising: chip module 1, antenna change-over switch 2 and antenna
Mould group 3;Wherein, chip module 1 includes the first chip 4, the second chip 5, and the first chip 4 and the second chip 5 pass through antenna mould
Group 3 is received and/or signals;Antenna modules 3 include main collection antenna and diversity antenna;Antenna change-over switch 2 and antenna modules 3 connect
It connects, for the control signal according to the first chip 4, controls the switching between main collection antenna and diversity antenna.
Antenna change-over switch 2 is preferably double-point double-throw switch DPDT in the present embodiment.First chip 4 and the second chip 5
It can be modem.
It should be noted that mobile terminal generally use main collection antenna and the mechanism that is operated together of diversity antenna receiving and
Emit signal, be generally connected with collection access main in mobile terminal based on collect antenna, being connected with diversity access is diversity antenna.
In embodiments of the present invention, upper antenna 8 and lower antenna 9 respectively correspond above-mentioned main collection antenna and diversity antenna, which specific root antenna
Corresponding main collection antenna, which root antenna correspond to diversity antenna herein with no restriction, because in embodiments of the present invention, mobile terminal meeting
Antenna or diversity antenna will be collected based on antenna on this and the switching of lower antenna according to actual needs.In addition, above-mentioned upper antenna is under
Antenna can with but unlimited understanding are as follows: heaven line be positioned close on the position at the top of mobile terminal, lower antenna be positioned close to
On the position of mobile terminal bottom, in different embodiments, antenna and lower antenna may also be understood to be any and be arranged in movement on this
Terminal different location or the different two kinds of antennas of attribute.And above-mentioned upper antenna and lower antenna may include one or more day
Line.
In the present embodiment, the first chip 4 includes main collection access 6 and diversity access 7, and the main collection access 6 of the first chip 4 passes through
Antenna change-over switch 2 is connect with main collection antenna, and the diversity access 7 of the first chip 4 is connected by antenna change-over switch 2 and diversity antenna
It connects, to realize that the first chip 4 is received and/or signaled by antenna modules 3.For example, the first chip 4 passes through its main 6 He of collection access
Main collection antenna 6 can realize receipts and signalling, and the first chip 4 can realize the collection of letters number by its diversity access 6 and diversity antenna.
Antenna switching system in the present embodiment further comprises a frequency divider 11, the diversity access 7 of the first chip 4 and
The transmission channel 10 of two chips 5 is combined into an access 12 by frequency divider 11 and connect with antenna change-over switch 2, and then passes through antenna
Switching switch 2 is connect with diversity antenna, to realize that the second chip 5 is received and/or signaled by antenna modules 3.For example, working as diversity
When antenna receives signal, output is to the second chip 5 after which passes through frequency divider 11, to realize that second chip receives letter
Number.
Antenna switching system in the present embodiment further includes controller 13, which is serially connected with the first chip 4 and day
Line switches between switch 2, and whether the control signal control antenna change-over switch 2 for being sent according to the first chip 4 carries out main collection
Switching between antenna and diversity antenna.
Fig. 2-Fig. 3 is please referred to, the switching of antenna change-over switch 2 how is controlled with the first chip 4 of detailed description of illustrating.
Fig. 2 is circuit diagram included in the first chip 4, and the first chip 4 includes the first detection circuit 201 and first
Decision circuitry 202;First detection circuit 201 is used to measure the second of main the first received signal strength for collecting antenna and diversity antenna
Received signal strength, and result is exported to the first decision circuitry 202;First decision circuitry 202 is used to receive signal for first strong
Degree is judging that the first received signal strength is lower than the second received signal strength and is lower than threshold compared with the second received signal strength
When value, controller 13 of the first control signal into Fig. 1 is exported;Judging that the first received signal strength is stronger than the second reception signal
It spends low but when not less than threshold value, then exports second control signal to controller 13.Controller 13 when receiving first control signal,
The level opposite with current working condition is inputted to antenna change-over switch 2, antenna change-over switch 3 carries out main collection antenna and diversity day
Switching between line;Controller 13 stops to 2 input signal of antenna change-over switch, antenna is cut when receiving second control signal
Switch 3 is changed without the switching between main collection antenna and diversity antenna.
Specifically, as shown in Figure 3A, when first chip powers on, the master of lower antenna 9 and the first chip 4 can be first set as
Collect access 6 to connect, upper antenna 8 is connect with diversity access 7, i.e., collects antenna based on lower antenna 9 at present, upper antenna 8 is diversity antenna.
Certainly, in other embodiments, it is diversity antenna that lower antenna, which can first be arranged, collects antenna based on upper antenna, is not limited thereto.
When user uses mobile terminal, the first detection circuit 201 in the first chip 4 measures main collection antenna at this time respectively
First received signal strength of (that is, lower antenna 9) and second received signal strength of diversity antenna (that is, upper antenna 8), and export
As a result to the first decision circuitry 202;First decision circuitry 202 is strong by received first received signal strength and the second reception signal
Degree is compared.
If judging, the first received signal strength is lower than the second received signal strength and when lower than threshold value, threshold value in the present embodiment
Preferably 6dB, output first control signal to controller 13;Then controller 13 inputs and current work to antenna change-over switch 2
Make the opposite level of state, that is to say, that if current working status is high level, believe to antenna change-over switch input low level
Number;Antenna change-over switch 2 carries out the switching between main collection antenna and diversity antenna, and as shown in Figure 3B after switching, i.e., diversity is logical
Road 12 is connected with lower antenna 9, and main collection access 6 is connected with upper antenna 8, at this point, lower antenna 9 becomes diversity antenna, upper antenna 8 becomes
Main collection antenna, the second chip 5 is passively switched to be connect with lower antenna 9.
If judging that the first received signal strength is lower than the second received signal strength but when not less than threshold value, in the present embodiment
Threshold value is preferably 6dB, then exports second control signal to controller 13.Controller 13, which stops inputting to antenna change-over switch 2, to be believed
Number, antenna change-over switch 3 is without the switching between main collection antenna and diversity antenna, i.e. duplexer connection is still in Fig. 3 A
State, lower antenna 9 still based on collect antenna, upper antenna 8 is still diversity antenna.
It wherein, after above controller 13 receives first control signal or second control signal, is selected using transmission antenna
TAS algorithm determine the level that is inputted to antenna change-over switch 2 or whether input signal.
It can be seen from above-described embodiment that the received control signal of institute is provided by the first chip 4 in controller 13, the
The connection type of two chips 5 and upper antenna 8 or lower antenna 9 is controlled by the first chip 4, and the state passively switched is belonged to,
The problem of conflicting when thus avoiding the work of mobile terminal dual chip.Moreover, in above-described embodiment, 4 basis of the first chip
The received signal strength of antenna determines whether to switch, and guaranteeing will be in its main collection access 6 collocation to the antenna of better performances.
The business that mobile terminal uses is generally divided into data service and voice service, and data service is generally breakpoint transmission,
2 frequent switching of antenna change-over switch is little using influencing on its business;And voice service is to continuously transmit, if antenna change-over switch
2 frequent switchings will lead to the adverse effects such as voice goes offline.Fig. 4-Fig. 5 is please referred to, citing is described in detail when mobile terminal is in language
When sound business environment, how to effectively control antenna change-over switch 2.
Fig. 4 is the circuit diagram of the second chip 5, and the second chip 5 includes the second detection circuit 401 and output circuit 402;
Second detection circuit 401 will test result and be transmitted to output electricity for detecting whether the business of current transmission is voice service
Road 402;Output circuit 402 is for receiving testing result, when the business for judging current transmission is voice service, exports third control
Signal processed is to controller 13;Controller 13 closes the control to antenna change-over switch 2 when receiving third control signal;This reality
It applies in example, third control signal is preferably AT instruction.
Specifically, the second chip 5 is preferably capable supporting the chip of CDMA operating mode, for example, connection hair in the present embodiment
Section's MT6158 chip;First chip 4 is preferably capable supporting GSM/WCDMA/TDSCDMA/LTE TDD/LTE FDD operating mode
Chip, for example, Lian Fa section MT6169 chip.
In an application environment, mobile terminal is in the operating mode of the second chip 5, if the of the second chip 5
Two detection circuits 401 are detected currently using voice service, and the result is transmitted to output circuit 402, output circuit 402
Output third control signal AT is instructed to controller 13, and controller 13 closes its TAS function, and then closes to antenna change-over switch
2 control, i.e. antenna change-over switch 2 stop switching, guarantee the stability of voice communication.
In another application environment, the first chip 4 further includes third detection circuit 501 and the second output circuit 502.If
Mobile terminal is in the operating mode of the first chip 4, if the third detection circuit 501 of the first chip 4 detects currently just
Using voice service and the second output circuit 502 is transmitted the result to, the 4th control signal AT of the second output circuit 502 output refers to
It enables to controller 13, controller 13 closes its TAS function, and then closes the control to antenna change-over switch 2, i.e. antenna switching is opened
It closes 2 and stops switching.
It is understood that in a particular application, the first detection circuit 201, the first decision circuitry of above-mentioned first chip 4
202, third detection circuit 501 and the second output circuit 502 can be realized by independent circuit respectively, or by identical circuit
A for example, processor is realized.Equally, the second detection circuit 401 of above-mentioned second chip 5 and output circuit 402 can also be distinguished
Realized by independent circuit, or by identical circuit be, for example, a processor realize.
Fig. 6-Fig. 7 is please referred to, the present invention also provides a kind of antenna switching method, in mobile terminal including first
The antenna switching system of chip 4 and the second chip 5, antenna switching system is consistent with above content, and details are not described herein.
It is as shown in Figure 6 the step of antenna switching method in the present embodiment:
The first chip of S601 4 obtains the reception letter of main collection antenna and diversity antenna in the antenna modules 3 of antenna switching system
Number intensity;
S602 generates control signal according to the received signal strength of acquisition, is opened with controlling the antenna switching of antenna switching system
Close whether 2 carry out the main switching collected between antenna and diversity antenna.
Above-mentioned S602 step further comprises the steps, as shown in Figure 7:
S701 judges whether the first received signal strength of main collection antenna is lower than the second received signal strength of diversity antenna
And it is lower than threshold value;
S702 is if so, export the controller 13 of first control signal to antenna switching system, so that controller 13 is connecing
When receiving first control signal, control antenna change-over switch 2 carries out the switching between main collection antenna and diversity antenna;
S703 is if it is not, then export second control signal to controller 13, so that controller 13 controls letter in reception second
Number when, control antenna change-over switch 2 without it is main collection antenna and diversity antenna between switching.
Referring to Fig. 8, the present invention also provides a kind of mobile terminal, using above-mentioned antenna switching system and switching method,
Both the problem of dual chip is unable to co-ordination is avoided, in turn ensures the stability of mobile phone speech business.
Wherein, the mobile terminal in above-described embodiment can be specially all-metal mobile phone.
The mobile terminal of above scheme has the first chip and the second chip, the transmission channel of the second chip and the first chip
Diversity access and an access is shared by frequency divider, and then connect by antenna change-over switch with diversity antenna;Work as movement
When terminal works, if the first chip detects that the received signal strength of main collection antenna at this time is lower than diversity antenna and is lower than threshold value
When, switching signal is sent to controller, after controller receives signal, is switched by TAS function control antenna change-over switch, at this time
The connection type of second chip and antenna is to control in the state passively switched so as to avoid conventional dual chip uncoordinated
Problem.
Further, the business that mobile terminal uses is generally divided into data service and voice service, and data service is generally disconnected
Point transmission, antenna change-over switch frequent switching are little using influencing on its business;And voice service is to continuously transmit, if antenna is cut
Changing switch frequent switching will lead to the adverse effects such as voice goes offline.When mobile terminal is in the voice service of the second chip,
Second chip output AT is instructed to controller, and controller closes its TAS function, and antenna change-over switch stops switching, avoids at this time
First chip controls antenna change-over switch frequent switching;Similarly, when mobile terminal is in the voice service of the first chip,
First chip output AT is instructed to controller, and controller closes its TAS function, and antenna change-over switch stops switching, to make language
Sound call performance is stablized.
The above is only embodiments of the present invention, are not intended to limit the scope of the invention, all to utilize the present invention
Equivalent structure or equivalent flow shift made by specification and accompanying drawing content is applied directly or indirectly in other relevant technologies
Field is included within the scope of the present invention.