Background technology
Along with various different systems (as GSM, CDMA, PHS) the universal use of mobile phone, mobile phone manufacturing are produced with considerable scale in the whole world; Because people are vigorous to the handset demand of high-performance low price, the inevitable requirement mobile phone manufacturer enhance productivity as far as possible, reduces production costs.Test in the mobile phone production process and calibration phase, generally comprise radio frequency parameter (AGC, AFC, detection calibration RSSI), electric parameter (standby current, audio-frequency current, transmitting power) test, the Testing And Regulating of battery, writing or the like of handset identity information and production information, these a large amount of times of Testing And Regulating process need cost, often use expensive various instrument, thereby become the bottleneck of restriction production efficiency.
To produce at present the method for testing that mobile phone adopts be that the test event order is carried out, the streamlined operation, test macro as shown in Figure 1, mobile phone to be measured links to each other with computer, digital power, radio frequency testing instrument by the testing mobile phone anchor clamps.Its test process is as follows: (a) computer is exported adjustable voltage by the described digital power of gpib interface card control; (b) described computer is given an order by the RS232 serial ports, by described mobile phone anchor clamps mobile phone to be measured is carried out the test of electric parameter and the detection calibration of battery; (c) described computer is controlled this mobile phone to be measured and described radio frequency testing instrument simultaneously, carries out the test and the calibration of radio frequency parameter; (d) described computer writes identifying information and production test information to this mobile phone to be measured inside.
But the testing scheme of above-mentioned prior art has the defective of the following aspects:
1. testing process needs order to carry out, and described radio frequency testing instrument only uses in process (c), and other processes all are idle, this equipment price costliness, and utilance is very low.
2. test process is consuming time long, the testing time of its testing time=process (a)+process (b)+process (c)+process (c).
3. the direct labor also need be in wait state in automatic testing process, and therefore next mobile phone that just begins to change the outfit after a mobile phone test to be measured is intact has increased the testing time, has reduced direct labor's production efficiency.
Therefore, there is open defect in prior art, and awaits being improved.
Summary of the invention
The device that the purpose of this invention is to provide a kind of mobile phone test and calibration in order to overcome the shortcoming of above-mentioned prior art, utilizes the ability of the quick computing of all-purpose computer, significantly do not increasing on the basis of testing cost, make full use of existing tester, shorten the testing time, enhance productivity.
Technical scheme of the present invention is as follows:
The device of a kind of mobile phone test and calibration, it comprises:
One carries out the general test box of the switching of radio-frequency channel, is used for electrically connecting with at least one mobile phone to be measured;
One all-purpose computer is provided with a plurality of serial ports, at least one gpib interface card and at least one digital I;
One radio frequency testing instrument, corresponding different mobile phone standards is provided with;
One power supply by the described all-purpose computer of described gpib interface card connection, and is electrically connected with described general test box;
Described all-purpose computer links to each other with described general test box with at least one road serial ports by described digital I, is used to control the radio-frequency channel, and detection of handset ready state and described mobile phone to be measured carry out communication; And be electrical connected by described gpib interface card and described radio frequency testing instrument, described radio frequency testing instrument is electrical connected by a radio frequency cable and described general test box;
Described general test box comprises that also a rs 232 serial interface signal with described all-purpose computer is converted to the serial ports level switch module of mobile phone Transistor-Transistor Logic level rs 232 serial interface signal, and the ready detection module of the mobile phone of a testing mobile phone ready state and is selected the radio-frequency channel handover module of radio frequency testing passage.
Described device, wherein, described power supply carries out battery calibration or other at needs and need change under the situation of power supply output and be the computer-controllable power supply.
Described device, wherein, the serial ports of described all-purpose computer is the RS232 serial ports.
Described device wherein, uses the radio-frequency (RF) switch of level control in the handover module of described radio-frequency channel, select radio-frequency channel input radio frequency signal.
Described device, wherein, described radio-frequency (RF) switch is controlled by at least one relay, and is controlled the work of this relay by described digital I/O card.
Described device wherein, also is provided with the mobile phone anchor clamps between described general test box and the described mobile phone to be measured.
The device of a kind of mobile phone test provided by the present invention and calibration, because the general test box and the radio frequency detector that have adopted an all-purpose computer communication to connect, and control described general test box by this all-purpose computer and be connected with multi-section mobile phone to be measured, carry out the test and the calibration of radio frequency and non-radio frequency parameter simultaneously, made full use of expensive radio frequency testing instrument, and shortened the testing time, improved production efficiency.
Embodiment
Below will describe a specific embodiment of the present invention in detail.
The device of a kind of mobile phone test of the present invention and calibration, whole test system is divided into software and hardware two parts.Described hardware components mainly comprises as shown in Figure 2:
One general test box 110, it can carry out the switching of radio-frequency channel, and this is a core apparatus of the present invention; This general test box 110 is provided with a plurality of serial ports 1~n, thus corresponding a plurality of radio-frequency channel 1~n, and the corresponding respectively communication in these a plurality of radio-frequency channels is connected with a plurality of mobile phone 1~n150 to be measured;
One all-purpose computer 120 is provided with a plurality of serial ports, specifically can be RS232 serial ports or MOXA card; One gpib interface card 121 and a digital I 122; Be noted that a plurality of serial ports of this all-purpose computer 120 are corresponding with the number of the serial ports number of described general test box 110 and mobile phone to be measured;
One radio frequency testing instrument 130, according to different mobile phone standard such as GSM, CDMA, PHS etc., can select different corresponding radio frequency testing instrument 130 for use, this radio frequency testing instrument 130 is accepted the control of this all-purpose computer by the gpib interface card of described all-purpose computer 120, and passes through a radio frequency cable and 110 electric connections of described general test box;
One power supply 140 is used for described general test box 110 and mobile phone to be measured 150 are powered, and if require in the test event must the output variable power supply time, then this power supply 140 is automatic and adjustable power supplys;
On the other hand machine clamp 160 is arranged on the described general test box 110, is used to connect described mobile phone to be measured 150, according to actual conditions, also can not use mobile phone anchor clamps 160 and with described general test box 110 directly and described mobile phone 150 to be measured be electrical connected.
Described all-purpose computer 120 is electrical connected by the serial ports and the described general test box 110 of described digital I 122 and at least one road RS232 level, be used for the control box radio-frequency channel, the detection of handset ready state, carry out communication with mobile phone, note, used one to survey two system in the present embodiment, the serial ports of described all-purpose computer 120, the serial ports and the mobile phone number correspondence to be measured of described general test box 110 can be set in actual the setting, thereby finish Testing And Regulating from one one to multi-section mobile phone to be measured; Described general test box 110 connects two mobile phones 150 to be measured respectively, finishes serial port command and sends and receive, and the mobile phone ready state detects and the function that is connected the radio-frequency channel; Described radio frequency testing instrument 130 is electrical connected by described gpib interface card 121 and described all-purpose computer 120 on the one hand, links to each other with described general test box 110 by radio frequency cable on the other hand; Described power supply 140 can be selected common power according to different situations, perhaps carrying out battery calibration or other at needs need change under the situation of power supply output and be the computer-controllable power supply, by the control that described all-purpose computer 120 is realized this power supply 140 by described gpib interface card 121, this power supply 140 is given described general test box 110 and mobile phone to be measured 150 power supplies.
Described general test box 110 has been finished the serial ports level conversion as hardware core device of the present invention, the selection of radio frequency testing passage, the functions such as detection of testing mobile phone ready state.
Be provided with the serial ports level switch module 111 that a rs 232 serial interface signal with described all-purpose computer 120 is converted to mobile phone Transistor-Transistor Logic level rs 232 serial interface signal in the described general test box 110, as shown in Figure 3, the ready detection module 112 of mobile phone and one of one test mobile phone ready state to be measured is selected the radio-frequency channel handover module 113 of radio frequency testing passage, described serial ports level switch module 111 is converted into the operable Transistor-Transistor Logic level of mobile phone to the rs 232 serial interface signal of the RS232 level of described all-purpose computer 120 and gets rs 232 serial interface signal, can use ripe MAX232 family chip to finish; The ready detection module 112 of described mobile phone utilizes described digital I interface as signal input, situation about not connecting when mobile phone to be measured, be input as high level this moment, when mobile phone to be measured installs when can test, this interface is input as low level, and the state that described all-purpose computer 120 can read this digital I interface judges whether to carry out mobile phone test; Use the radio-frequency (RF) switch of level control in the described radio-frequency channel handover module 113, be used for selecting a certain passage, connect radio-frequency input signals as passage in the present embodiment 1 or passage 2, because the control voltage and current of this radio-frequency (RF) switch may be higher than the standard of described digital I interface, therefore can increase the direct control signal of relay as radio-frequency (RF) switch, control the work of this relay by described digital I interface, and then control described radio-frequency (RF) switch.
The device of a kind of mobile phone test of the present invention and calibration, according to the arithmetic speed and the demand of practical production of described all-purpose computer, it is many that test macro can be configured to a survey, and promptly a cover test macro can " simultaneously " test multi-section mobile phone.
The device of described mobile phone test of the present invention and calibration also is provided with software section on described all-purpose computer, its Testing And Regulating of realizing adversary's machine need be in conjunction with the control of this software section.Its step is as follows:
1. the various testers of software section initialization and the interface equipment of described all-purpose computer 120;
2. whether the input channel of described all-purpose computer 120 by described digital I detects mobile phone to be measured ready;
3., get back to step 2 circular wait if it is ready that mobile phone to be measured does not all have;
In a single day 4. find that mobile phone n (certain mobile phone to be measured wherein) is ready, then start corresponding test thread at once, control 110 pairs of these mobile phones to be measured of described general test box and test;
5. this test thread is at first tested the project of not using described radio frequency testing instrument, comprising electrical parameters measure, and battery calibration, handset identity information writes etc.;
6. whether the current radio-frequency channel that described test thread is inquired about described general test box 110 by described digital I is available;
7. if current have other test threads using the radio-frequency channel, promptly may certain other mobile phone to be measured carrying out RF calibration, taken the radio-frequency channel of radio frequency testing instrument, then return step 6, circular wait;
8. if current do not have other threads to use the radio-frequency channel, then described all-purpose computer is controlled described radio-frequency (RF) switch and is switched the radio-frequency channel to corresponding mobile phone to be measured, tests its radio frequency parameter;
9. test finishes, and described test thread writes detecting information in this mobile phone to be measured;
10. this test thread shows its test result by its operation interface, and this mobile phone to be measured of alert replacing, and promptly this mobile phone to be measured detects and finishes, and points out next mobile phone to be measured that changes the outfit;
11. this test thread withdraws from, described step 2 is returned in control, carries out the Testing And Regulating to next mobile phone to be measured successively.
By above flow process as can be seen, the test macro of the device of mobile phone test of the present invention and calibration can " simultaneously " be tested the multi-section mobile phone, when a mobile phone when using radio frequency testing instrument test radio frequency parameter, another mobile phone can be tested other non-radio frequency parameters and change the idle condition of cycle detection radio-frequency channel automatically over to after testing other non-radio frequency parameters, thereby make described radio frequency detector 130 be in working stage always, make full use of expensive tester, and raising testing efficiency, original testing time t1=is tested non-radio frequency parameter time+testing radio frequency parameter time, shorten to t2=max (testing the non-radio frequency parameter time, the testing radio frequency parameter time).
On the other hand, when operating personnel changed mobile phone, a whole set of test macro was in idle state in the method for testing of prior art, and in the present invention, test macro has equally also been saved the production time still in operation, has improved production efficiency.
Therefore, adopt device of the present invention, can enhance productivity significantly, reduce production costs.
Should be understood that; above-mentioned description to preferred embodiment of the present invention is too concrete and detailed; to those skilled in the art, can be changed, and all these change the protection range that all should belong to claims of the present invention according to the foregoing description.