Purpose of the present invention is exactly when significantly not increasing the volume and weight of mobile phone itself, make full use of antenna, loud speaker and button on the mobile phone, on mobile phone, realize function of radio receiver, and have functions such as digital tuning, channel locking, become a kind of mobile phone with function of radio receiver.
For achieving the above object, mobile phone of the present invention comprises main control chip, headphone driver, loud speaker, and wherein main control chip is in order to handle and to finish all mobile phone baseband functions; It is characterized in that also comprise special chip, special chip is in order to frequency modulation, amplitude modulation, channel search; Described main control chip is connected with special chip by control line, and to its control; Side in headphone driver connects an inductance L, in capacitor C of signal input part connection of described special chip, the other end of capacitor C is linked on the audio wire of earphone; Loud speaker is connected with the delivery outlet of described special chip, in order to export the program of radio station that is searched out.
The present invention is described in further detail below in conjunction with accompanying drawing and specific embodiment.
As shown in Figure 1, whole hardware of the present invention mainly is made up of the two large divisions: main control chip 1, special chip 2 (frame of broken lines comprises among Fig. 1).The inside of special chip 2 can be divided into five modules: FM circuit module 201, modulation circuit module 202, sequence circuit module 203, give putting and regulate and search circuit module 204, phase-locked loop module 205.Wherein FM circuit module 201 is circuit relevant with frequency modulation/amplitude modulation with modulation circuit module 202.The effect of sequence circuit module 203 is that each module is controlled, and accepts the command signal from main control chip 1 simultaneously.Give putting and regulate and search circuit module 204 is used for two kinds of working methods of special chip.Phase-locked loop module 205 relatively comes locking frequency by phase place.
Main control chip 1 is connected with special chip 2 by four control lines: bus clock line 301, write enable line 302, data wire 303, mono/stereo line 304.Main control chip 1 according to jumping the edge on the clock on the bus clock line 301, writes control byte to special chip 2 writing the 302 high level valid periods of enable line serially on data wire 303.Main control chip 1 is being write the 302 low level valid periods of enable line, according to jumping the edge on the clock on the bus clock line 301, on data wire 303 serially from special chip 2 reading state bytes.Send monophony or stereo command-request signal by mono/stereo line 304 in addition.
Special chip 2 adopts dual mode to carry out work under the control of main control chip 1: give putting and regulate operation and search operation.
Regulate under the mode of operation giving putting, main control chip 1 will pass to sequence circuit module 203 to information such as frequency range, frequency and mono/stereos by bus, and via this resume module, control is given putting and regulated and search circuit 204 reaches the frequency values of the setting of giving.
Under the search operation mode, main control chip 1 is as long as pass to sequence circuit module 203 to information such as frequency range, the direction of search, search sensitivity by bus, gives putting via this module controls and regulates and search circuit 204 reaches the frequency values of the setting of giving.
As from the foregoing, the general principles of function of radio receiver is as follows: control signal is passed to special chip 2 by lead by main control chip 1, this chip will carry out channel search then, and until finding the user to like the broadcast program of listening to, last program is by the loud speaker output of mobile phone.
Fig. 2 has described the work catenation principle between special chip, mobile phone earphone, the loud speaker:
Special chip 2 utilizes the audio wire of mobile phone earphone to make antenna.Specific implementation is the inductance L of headphone driver 4 one sides connection at mobile phone, because audio signal is a low frequency, so inductance L does not influence the tonequality of earphone.Connect a capacitor C at the special chip signal input part, the audio wire of the other end of capacitor C being linked earphone (promptly is the opposite side of inductance L, as shown in Figure 2), because the signal in radio broadcasting radio station is a high frequency, so the multiplexed audio lead is done not only economy but also convenient of antenna.The last program of radio station that is searched out can drive loud speaker 5 and broadcast by the delivery outlet of special chip.
Shown in Figure 3 is the structure treatment flow process of function of radio receiver module, and the function of radio receiver module comprises application layer unit and low layer unit.Handled by man-machine interface application layer unit before this, the unit of giving the operation of low layer control hardware subsequently signals to special chip by low layer unit controls hardware base band main control chip again with signal, realizes function of radio receiver in this way.The work of function of radio receiver module is realized by software usually.
Fig. 4 has described the detailed operation principle of function of radio receiver module.
At first, after mobile phone powers on, enter main menu, select " function of radio receiver ", enter the correlator menu; Submenu shows two: " search new channel " and " selecting existing channel ".
If select " search new channel ", then human interface software will count to the number of times that specified button is pressed, information such as the frequency range that obtains searching for, the direction of search, search sensitivity.Specified button fully can with the button multiplexing on the mobile phone.
If select " existing channel ", then menu is enumerated the channel of storage successively by the precedence of former foundation, is selected the channel of the being correlated with output valve as human interface software by the user.
Then, human interface software is with the above low layer software that passes to the control hardware operation for information about; Carry out the channel locking by low layer software indication special chip, this moment, the audio signal wire of earphone was used as antenna, received the signal of radio station at the signal input part of special chip.
After finding the channel that needs, can select " storage channel correlation " corresponding button counter value to be deposited in the memory by human interface software, after convenient, call.
The voice signal of last radio station comes out by loudspeaker plays.
If the user wants to finish function of radio receiver, can press corresponding button; After human interface software is received push button signalling, will finish the signal of radio function immediately and issue the software of low layer control hardware operation; The software of low layer control hardware operation is closed the mode of operation of special chip, and to its outage.
In sum, apparatus of the present invention mainly are divided into three parts: processor, special chip, antenna.Wherein processor can adopt the main control chip (for example AD6426 of Analog Devices Inc) on the mobile phone.The present invention adopts built-in SMD special chip (for example TEA5757 of Fei Lipu company), listens to and lock the radio programmes of liking by the button on the mobile phone is tuning.Utilize mobile phone to make antenna, finally realize the function of radio receiver of mobile phone with the lead of earphone.
By adopting above technical scheme, the present invention has increased an important function of cellular phone on the design basis of the hardware circuit that does not need to improve the art shapes design of mobile phone and revise mobile phone significantly.Utilize the lead of earphone to make antenna dexterously,, avoided redesign mobile phone baseband board, on the basis that very limited cost increases, just realized a very practical function in conjunction with digital tuning broadcast receiver special chip.And the realization of function of radio receiver can greatly promote the self-value of mobile phone.The realization of function of radio receiver is only relevant with mobile phone itself, and is irrelevant with the system product of network terminal, has independence completely on using.And significantly do not increase volume, weight and the cost of mobile phone.