Summary of the invention
An object of the present invention is to provide a kind of camera module test platform, to improve the compatibility of adapter unit to different camera module.
According to a first aspect of the invention, provide a kind of camera module test platform, it comprises test cell and adapter unit, described test cell has the adapter unit connectivity port for connecting described adapter unit, described adapter unit have module interface for connecting camera module and with test cell connectivity port one to one, described adapter unit connectivity port; Described test platform also comprises connection dispensing unit, described connection dispensing unit have the test lead port connected one to one with described adapter unit connectivity port, the change-over terminal port connected one to one with described test cell connectivity port and with described test lead port switch switching circuit one to one; Switch switching circuit described in each comprises and described change-over terminal port gate-controlled switch one to one, and one end of gate-controlled switch described in each connects with corresponding test lead port, the other end is connected with corresponding change-over terminal port
Preferably, described gate-controlled switch is load switch or cmos switch.
Preferably, described test platform also comprises scanning element and switch control unit, and described scanning element is used for the bar code of scan camera shooting head mould group, and obtains the interface definition information stored in described bar code and be sent to described switch control unit; Described switch control unit is used for the target change-over terminal port determining corresponding test lead port described in each according to described interface definition information, to obtain the target switch state of the gate-controlled switch of switch switching circuit described in each, and the gate-controlled switch conducting of answering according to described target switch state control pair or disconnection, with make described adapter unit and corresponding camera module adaptive.
Preferably, described switch control unit is set to according to gate-controlled switch described in each with the corresponding relation of described test lead port and identify corresponding gate-controlled switch with the corresponding relation of described change-over terminal port.
Preferably, described scanning element comprises one-dimension code scanner and/or Quick Response Code scanner.
Preferably, described test platform also comprises display unit, and described display unit is for receiving and showing the target change-over terminal port of correspondence that described switch control unit provides test lead port described in each.
Preferably, gate-controlled switch described in each is connected in series between corresponding test lead port and corresponding change-over terminal port with a sampling resistor separately; Described test platform also comprises detecting unit and alarm unit, and described detecting unit flows through the current signal of sampling resistor described in each for obtaining, and determines the actual change-over terminal port of corresponding test lead port described in each according to described current signal; Described alarm unit for the correspondence that receives described detecting unit and provide test lead port described in each actual change-over terminal port and receive the target change-over terminal port of correspondence that described switch control unit provides test lead port described in each, and the target change-over terminal port of the arbitrary described test lead port of correspondence and actual change-over terminal port inconsistent time carry out alarm.
Preferably, gate-controlled switch described in each is connected in series between corresponding test lead port and corresponding change-over terminal port with a sampling resistor separately;
Described test platform also comprises detecting unit and display unit, and described detecting unit flows through the current signal of sampling resistor described in each for obtaining, and determines the actual change-over terminal port of corresponding test lead port described in each according to described current signal; Described display unit is for receiving and showing the actual change-over terminal port of correspondence that described detecting unit provides test lead port described in each.
Another object of the present invention is to provide a kind of camera module test system, and this system can realize the adaptation of converting unit and camera module according to the interface type of camera module.
According to a second aspect of the invention, provide a kind of camera module test system, it comprises camera module and camera module test platform of the present invention, the interface of described camera module and being plugged in together for the module interface being connected camera module of described adapter unit; Switch switching circuit described in each only has a gate-controlled switch to be in conducting state, and change-over terminal port corresponding to the gate-controlled switch being in conducting state is different, to form the passage being communicated with test lead port described in each and different change-over terminal port, and described passage makes described adapter unit and described camera module adaptation.
Preferably, described camera module has bar code, stores interface definition information in described bar code, and described interface definition information comprises the information of the target change-over terminal port of the corresponding test lead port described in each of reflection.
The present inventor finds, in the prior art, there is the problem of adapter unit poor compatibility.Therefore, the technical assignment that the present invention will realize or technical matters to be solved are that those skilled in the art never expect or do not anticipate, therefore the present invention is a kind of new technical scheme.
A beneficial effect of the present invention is, camera module test platform of the present invention and Operation system setting have connection dispensing unit, and each test lead port can be connected on the change-over terminal port of needs by the on off state adjusting gate-controlled switch by this connection dispensing unit, therefore, camera module test platform of the present invention and system can realize same adapter unit and define different from interface, but the adaptation between the different camera modules that interface type is identical, this explanation, for camera module test platform of the present invention, only need the interface type supervisory relay unit according to camera module, and without the need to the same type management adapter unit according to camera module of prior art, this will greatly reduce the configuration categories of adapter unit, and then the effect being convenient to manage and reduce testing cost can be obtained.
By referring to the detailed description of accompanying drawing to exemplary embodiment of the present invention, further feature of the present invention and advantage thereof will become clear.
Embodiment
Various exemplary embodiment of the present invention is described in detail now with reference to accompanying drawing.It should be noted that: unless specifically stated otherwise, otherwise positioned opposite, the numerical expression of the parts of setting forth in these embodiments and step and numerical value do not limit the scope of the invention.
Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in the appropriate case, described technology, method and apparatus should be regarded as a part for instructions.
In all examples with discussing shown here, any occurrence should be construed as merely exemplary, instead of as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: represent similar terms in similar label and letter accompanying drawing below, therefore, once be defined in an a certain Xiang Yi accompanying drawing, then do not need to be further discussed it in accompanying drawing subsequently.
Adapter unit docking port is there is and defines different camera modules and do not possess compatible problem in the present invention in order to solve existing camera module test platform, provide a kind of camera module test platform through improving, as shown in Figure 2, camera module test platform 1 of the present invention is except test cell 101, outside adapter unit 102 and communication unit 101, also be provided with and connect dispensing unit 104, wherein, test cell 101 has the adapter unit connectivity port for connecting adapter unit 102, all adapter unit connectivity ports can form an adapter unit connecting interface, so that carry out the connection of test cell 101.Adapter unit 102 have module interface for connecting camera module 2 and with test cell connectivity port one to one, adapter unit connectivity port, all test cell connectivity ports can form a test cell connecting interface, so that carry out the connection of adapter unit 102.This communication unit 103 is the same with the function of communication unit 103 ', is set to the connection for setting up between test cell 101 and host computer, to upload test data to host computer, and the test instruction that reception host computer sends, and then complete various test.This connection dispensing unit 104 has the test lead port connected one to one with adapter unit connectivity port, the change-over terminal port connected one to one with test cell connectivity port, and with test lead port switch switching circuit one to one, at this, because adapter unit connectivity port and test cell connectivity port are one to one, therefore, test lead port is identical with the quantity of change-over terminal port, each switch switching circuit comprises and change-over terminal port gate-controlled switch one to one, at this, due to switch switching circuit be with test lead port one to one, therefore, all gate-controlled switches of a switch switching circuit are by same for correspondence test lead port, one end of each gate-controlled switch connects with corresponding test lead port, and the other end of each gate-controlled switch connects with corresponding change-over terminal port, to realize the configuration structure that each test lead port is connected with all change-over terminal ports each via a switch switching circuit.
To connect dispensing unit 104, there is n test lead port and n change-over terminal port, wherein n be greater than or equal to 2 natural number, test lead port N (i) represents, the value of i is the natural number of 1 to n, change-over terminal port Y (j) represents, the value of j is the natural number of 1 to n, the gate-controlled switch of corresponding test port N (i) and change-over terminal port Y (j) represents with Sij, Fig. 6 shows the circuit theory diagrams of the switch switching circuit of corresponding test lead port N (1), wherein, controllable switch S 11 is connected between test lead port N (1) and change-over terminal port Y (1), controllable switch S 12 is connected between test lead port N (1) and change-over terminal port Y (2), by that analogy, controllable switch S 1 (n-1) is connected between test lead port N (1) and change-over terminal port Y (n-1), controllable switch S 1 (n) is connected between test lead port N (1) and change-over terminal port Y (n), like this, making the gate-controlled switch conducting of switch switching circuit of corresponding test lead port N (1), when all the other gate-controlled switches disconnect, just can test lead port N (1) be connected on the change-over terminal port of the gate-controlled switch of corresponding conducting, such as, controllable switch S 12 conducting, like this, just the passage being communicated with test lead port N (1) and change-over terminal port Y (2) is defined, and then make the adapter unit connectivity port be connected with test lead port N (1) of test cell 101, and the contact pin be connected with change-over terminal port Y (2) by adapter unit 102 of camera module 2 or jack are linked together, to realize the transmission of respective signal.
As can be seen here, when camera module test platform 1 of the present invention is supported in and does not change adapter unit 102, the interface according to camera module 2 defines the application each contact pin of the interface of camera module or jack are communicated with the corresponding adapter unit connectivity port of test cell 101.Like this, as long as the interface type of the module interface of adapter unit 102 and camera module 2 matches, namely the module interface of adapter unit 102 and the interface of camera module 2 can to being plugged together, just can by the on off state of the gate-controlled switch of each switch switching circuit of adjustment, realize the adaptation of adapter unit 102 and camera module 2, and then improve the compatibility of adapter unit 102 for different model camera module.So, camera module test platform 1 of the present invention only need according to the interface type configuration adapter unit 102 of camera module, and without the need to the type configuration adapter unit according to camera module as prior art, this just can greatly reduce the configuration categories of adapter unit 102, and then obtains the effect being convenient to manage and reduce testing cost.
It is such as the mechanical switch of toggle switch that above-mentioned gate-controlled switch can adopt, also can adopt is such as the electronic switches such as relay contact, load switch, cmos switch, owing to having the switch chip adopting cmos switch at present, therefore, can using of a switch chip switching channels as gate-controlled switch, the switch chip that also can directly utilize port number to mate forms above-mentioned switch switching circuit.
Test platform of the present invention can the manually above-mentioned connection dispensing unit 104 of operative configuration, also above-mentioned connection dispensing unit 104 can be configured by automatic operation, such as, when adopting the mechanical switchs such as toggle switch at gate-controlled switch, tester can according to the on off state of each toggle switch of interface definition manual adjustments of camera module to be tested, and then manually operated the configuration connecting dispensing unit 104, and adopt relay contact at gate-controlled switch, during the electronic switch that cmos switch etc. are controlled by electric signal, tester manually can input the information of the target switch state reflecting each gate-controlled switch to the switch control unit that correspondence connects dispensing unit 104 according to the definition of the interface of camera module to be tested, the on off state of the gate-controlled switch of each switch switching unit is adjusted according to this information that tester inputs to make switch control unit, be specially, adopt in the embodiment of relay contact at gate-controlled switch, by pilot relay coil electric and dead electricity adjusts the on off state of corresponding relay contact, and adopt in the embodiment of cmos switch at gate-controlled switch, the on off state of corresponding cmos switch is adjusted by the control end of cmos switch.
In order to improve the automaticity of test platform of the present invention, to reduce manual operation as much as possible, as shown in Figure 3, relay contact is adopted at gate-controlled switch of the present invention, in a specific embodiment of the electronic switch that cmos switch etc. can be controlled by electric signal, this test platform also comprises scanning element 105 and switch control unit 106, this scanning element 105 is for the bar code of scan camera shooting head mould group 2, and obtain the interface definition information stored in bar code and be sent to switch control unit 106, this interface definition information can comprise the information such as the interface type of camera module and the definition of each core of interface (contact pin or jack).This switch control unit 106 is then for determining the target change-over terminal port of each test lead port corresponding according to this interface definition information, the change-over terminal port that to a test lead port be connected of this target change-over terminal port namely for being determined by interface definition information, to obtain the target switch state of the gate-controlled switch of each switch switching circuit, and the gate-controlled switch conducting of answering according to target switch state control pair or disconnection, with make adapter unit 102 and corresponding camera module 2 adaptive.This switch control unit 106 can prestore the table of comparisons of the mapping relations between reflection interface definition information and the target change-over terminal port of each test lead port corresponding.This scanning element 105 can comprise one-dimension code scanner and/or Quick Response Code scanner, can gather to make this scanning element 105 information be stored in one-dimensional bar code and/or two-dimensional bar.
The conducting of corresponding moral gate-controlled switch or disconnection can be controlled quickly and accurately according to target switch state to make switch control unit 106, in one particular embodiment of the present invention, this switch control unit 106 is set to according to each gate-controlled switch with the corresponding relation of test lead port and identify corresponding gate-controlled switch with the corresponding relation of change-over terminal port, and the gate-controlled switch Sij by corresponding test port N (i) and change-over terminal port Y (j) identifies.
The configuring condition connecting dispensing unit 104 is known intuitively in order to enable tester, so that when nonpassage of signal looking up the fault reason, in one particular embodiment of the present invention, as shown in Figure 4, this test platform also comprises display unit 107, this display unit 107 for receiving and the target change-over terminal port of each test lead port of correspondence that provides of display switch control module 106, such as, can show the target change-over terminal port of each test lead port corresponding in table form.
Due to after configuring connection dispensing unit 104, the actual switch state of each gate-controlled switch may not be inconsistent with target switch state because of a variety of causes, this will cause signal communication fault, know in time for the ease of operating personnel and solve this fault, in one particular embodiment of the present invention, each gate-controlled switch is connected in series between corresponding test lead port and corresponding change-over terminal port with a sampling resistor separately, on this basis, as shown in Figure 5, this test platform 1 also comprises detecting unit 108 and alarm unit 109, detecting unit 108 flows through the current signal of each sampling resistor for obtaining, and the actual change-over terminal port of each test lead port corresponding is determined according to this current signal, particularly, camera module 2 is connected to adapter unit 102 and start test after, only have the sampling resistor of connecting with the gate-controlled switch being in conducting state just to have electric current to flow through, therefore, just the actual change-over terminal port be connected with each test lead port can be determined according to the current signal flowing through each sampling resistor, the target change-over terminal port of each test lead port of correspondence that this alarm unit 109 provides for the actual change-over terminal port of each test lead port of correspondence that receives detecting unit 108 and provide and receiving key control module 106, and the target change-over terminal port of correspondence arbitrary test lead port and actual change-over terminal port inconsistent time carry out alarm.
The actual disposition situation connecting dispensing unit 104 is known intuitively in order to enable tester, so that when nonpassage of signal looking up the fault reason, in one particular embodiment of the present invention, each gate-controlled switch is connected in series between corresponding test lead port and corresponding change-over terminal port with a sampling resistor separately; On this basis, as shown in Figure 5, this test platform also comprises detecting unit 108 and display unit 107, and this detecting unit 108 for obtaining the current signal flowing through each sampling resistor, and determines the actual change-over terminal port of each test lead port corresponding according to current signal; This display unit 107 for receiving and showing the actual change-over terminal port of each test lead port of correspondence that detecting unit provides, such as, shows the actual change-over terminal port of each test lead port corresponding in table form.
On the basis of Camera Test platform 1 of the present invention, present invention also offers a kind of camera module test system, as shown in Figures 2 to 5, it comprises camera module 2 and camera module test platform of the present invention 1, the interface of this camera module 2 and being plugged in together for the module interface being connected camera module 2 of adapter unit 102; Each switch switching circuit only has a gate-controlled switch to be in conducting state, and change-over terminal port corresponding to the gate-controlled switch being in conducting state is different, to form the passage being communicated with each test lead port and different change-over terminal port, and this passage makes adapter unit 102 and camera module adaptation 2, the requirement that the interface namely making the connection between test cell 101 and camera module 2 meet camera module 2 defines.
In order to alleviate the burden of switch control unit 106, have in a specific embodiment of bar code at camera module 2, namely the interface definition information stored in this bar code comprises the information of the target change-over terminal port of reflection each test lead port corresponding, like this, switch control unit 106 need to carry out from this information the target change-over terminal port directly reading each test lead port corresponding, and then obtain the target switch state of gate-controlled switch of each corresponding switch switching circuit.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, identical similar part cross-reference between each embodiment, what each embodiment stressed is the difference with other embodiments, and each embodiment can be used alone as required or be combined with each other.
Although be described in detail specific embodiments more of the present invention by example, it should be appreciated by those skilled in the art, above example is only to be described, instead of in order to limit the scope of the invention.It should be appreciated by those skilled in the art, can without departing from the scope and spirit of the present invention, above embodiment be modified.Scope of the present invention is limited by claims.