Utility model content
The embodiment of the present application provides a kind of test macro, to solve in the prior art in the test performance for treating test article
When being tested, test process is cumbersome, the low problem of testing efficiency.
In order to solve the above technical problems, the utility model provides a kind of test macro, including master control borad, further includes:
For providing the power supply change-over device of default electric signal, institute according to the control of the master control borad for the test product to be measured
The input terminal for stating power supply change-over device is connect with the master control borad, the output end of the power supply change-over device and the test product to be measured
Connection;
It is connect with the data acquisition interface of the test product to be measured and the master control borad, for obtaining the survey of the test product to be measured
Data are tried, and the test data is sent to the master control borad to obtain the information feedback device of test result.
Preferably, further includes:
It is connect with the master control borad, for placing the test needle bed of the test product to be measured, wherein the test needle bed passes through
Probe is connect with the test point of the test product to be measured.
Preferably, the information feedback device specifically includes lighting device and multimeter, and the lighting device is for testing
Whether the voltage of the discharging function of the test product to be measured, the test point that the multimeter is used to test the test product to be measured conforms to
It asks.
Preferably, when the information feedback device is multimeter, further includes:
It is connect with the master control borad, the test needle bed and the multimeter, for being incited somebody to action according to the control of the master control borad
The test point switches to the target detection point of the test product to be measured to connect between the target detection point and the multimeter
Connection switch matrix.
Preferably, the switch matrix is specially relay matrix.
Preferably, the multimeter is connect especially by USB or gpib interface with the master control borad.
Preferably, further includes:
It is connect with the master control borad and the information feedback device, for showing the test data and the test result
Display device.
Preferably, further includes:
It is connect with the master control borad, for when the electric signal and the default electricity for detecting that the power supply change-over device provides
When signal mismatches, the warning device of warning note;
Accordingly, the master control borad is also used to control the power supply change-over device and stops working.
Preferably, the warning device is specially buzzer.
Preferably, the test product to be measured is solar controller.
Compared with the prior art, a kind of test macro provided by the utility model, including master control borad further include that power supply turns
The input terminal of changing device and information feedback device, power supply change-over device is connect with master control borad, and output end is connect with test product to be measured, letter
Breath feedback device is connect with the data acquisition interface of test product to be measured and master control borad, when the related function of needing to treat test article carries out
When test, power supply change-over device will provide default electric signal accordingly according to the control of master control borad for test product to be measured, meanwhile, letter
The test data of the available test product to be measured of feedback device is ceased, and the test data can be sent to master control borad to obtain test
As a result, realizing the test for treating test article correlation function in turn, it can be seen that, the test macro, test product to be measured needs great
Electric signal, master control borad can control the power supply change-over device and provide great electric signal;With in the prior art when test product to be measured
Work electric signal difference when, need replacing battery to be adapted to the electric signal of current test product to be measured and compare, simplify and tested
Journey improves testing efficiency.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that the described embodiments are only a part of the embodiments of the utility model, instead of all the embodiments.
Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work
All other embodiment, fall within the protection scope of the utility model.
The core of the utility model is to provide a kind of test macro, can solve in the prior art in the survey for treating test article
When examination performance is tested, the cumbersome problem of test process.
It is with reference to the accompanying drawing and specific real in order to make those skilled in the art more fully understand the embodiment of the utility model
Applying mode, the utility model is described in further detail.
Fig. 1 is a kind of test system structure composition schematic diagram provided by the utility model embodiment, as shown in Figure 1, should
Test macro includes master control borad 101, further includes:
For being that test product 102 to be measured provides the power supply change-over device 103 of default electric signal according to the control of master control borad 101,
The input terminal of power supply change-over device 103 is connect with master control borad 101, and the output end of power supply change-over device 103 and test product 102 to be measured connect
It connects;It is connect with the data acquisition interface of test product 102 to be measured and master control borad 101, for obtaining the test data of test product 102 to be measured,
And test data is sent to master control borad 101 to obtain the information feedback device 104 of test result.
In order to this programme is described in detail, be hereafter illustrated by taking the performance test to solar controller as an example, i.e., it is to be measured
Test product 102 is solar controller, in the prior art, when the performance to solar controller is tested, it usually needs root
According to the type of solar controller, battery is replaced to be adapted to current solar controller to be tested, not only test process is numerous
It is trivial, and testing efficiency is low.
Test macro provided by the embodiment of the present application replaces battery in the prior art with power supply change-over device 103
For solar controller power supply, the input terminal of power supply change-over device 103 connect with master control borad 101, power supply change-over device 103 it is defeated
Outlet is connect with solar controller;Power supply change-over device 103 can be mentioned according to the control of master control borad 101 for solar controller
For presetting electric signal, that is to say, that power supply change-over device 103 can be according to the difference of the type of solar controller or type etc.
Different electric signals is provided, to be adapted to current solar controller to be tested;Default electric signal can shift to an earlier date according to the actual situation
Setting, electric signal includes voltage signal and current signal;Then it recycles and is adopted with the data of solar controller and master control borad 101
The information feedback device 104 for collecting interface connection obtains the test data of solar controller, and the test data is sent to master
Plate 101 is controlled to obtain test result, can simplify test process and improves testing efficiency;In practical applications, solar energy mould
Quasi- device is the work of analog solar solar panel, for whether just to test the charge function of test product 102 (solar controller) to be measured
Often.Various electronic components (including test product 102 to be measured) are integrated on pcb board (printed circuit board), this integrated electronic member
The pcb board of device is referred to as PCBA board, and PCBA board is placed in the property realized on test needle bed to solar controller to be tested
It can test.Master control borad 101 controls each device and cooperates, and is the core of entire test macro, controls each device according to setting
Process work, and can determine whether the test result of solar controller is correct.
For whether charge function to test solar controller is normal, the embodiment of the present application is illustrated, first
Master control borad 101 controls power supply change-over device 103 and powers to test product 102 to be measured, and the voltage of test product 102 to be measured reaches preset voltage value
Later, i.e. the voltage value of 103 final output of power supply change-over device to solar controller is master control borad after preset voltage value
101 control again solar simulator export give test product 102 (solar controller) to be measured charging, then recycle signal feedback dress
The actual voltage value for the solar controller to be tested that 104 (multimeters) acquire is set, and the actual voltage value is sent to master
Plate 101 is controlled, the actual voltage value that information feedback device 104 is sent is compared by master control borad 101 with preset voltage value again, if
Difference between actual voltage value and preset voltage value is in allowable range of error, then it is believed that solar controller to be tested
Charge function is normal, if the difference between actual voltage value and preset voltage value illustrates not in allowable range of error
The charge function of the solar controller to be tested is abnormal, for example, preset voltage value is 5V, allowable range of error 0V-0.2V,
The actual voltage value measured is 4.2V, because the difference between actual voltage value and preset voltage value is 0.8V, not in error
In allowed band 0V-0.2V, so illustrating that the charge function of the solar controller to be tested is abnormal, if the practical electricity measured
Pressure value is 4.9V, then the difference between actual voltage value and preset voltage value is 0.1V, is in allowable range of error 0V-0.2V
It is interior, so illustrating that the charge function of the solar controller to be tested is normal.This only determines the charging function of solar controller
Whether normally a kind of mode the charging function of solar controller can also can be determined otherwise in practical applications
Can whether normal, details are not described herein.
A kind of test macro provided by the utility model, including master control borad further include that power supply change-over device and information are anti-
Present device, the input terminal of power supply change-over device connect with master control borad, and output end is connect with test product to be measured, information feedback device and to
Test article is connected with the data acquisition interface of master control borad, and when the related function of needing to treat test article is tested, power supply turns
Changing device will provide default electric signal accordingly according to the control of master control borad for test product to be measured, meanwhile, information feedback device can
To obtain the test data of test product to be measured, and the test data can be sent to master control borad to obtain test result, Jin Ershi
Now treat the test of test article correlation function, it can be seen that, the test macro, test product to be measured needs how many electric signal, master control borad
It can control the power supply change-over device provides how many electric signal;It is different from the work electric signal in the prior art when test product to be measured
When, battery is needed replacing to be adapted to the electric signal of current test product to be measured and compare, and is simplified test process, is improved test effect
Rate.
In order to improve convenient test and practicability, on the basis of the above embodiments, preferably embodiment, is gone back
Include:
It is connect with master control borad 101 and power supply change-over device 103, for placing the test needle bed of test product 102 to be measured, wherein
Test needle bed is connect by probe with the test point of test product 102 to be measured.
Specifically, the output end of power supply change-over device 103 is connect with the PCBA board on test needle bed, is integrated in PCBA board
Each electronic component (including the devices such as solar controller and solar simulator), test needle bed pass through on probe and PCBA board
The test point of test product 102 (solar controller) to be measured connects, and can be used to test key point voltage.It tests on needle bed with spy
Needle, test process is convenient, and simply, practicability is high.
On the basis of the above embodiments, preferably embodiment, information feedback device 104 specifically include multiple photographs
Bright device and multimeter, multiple lighting devices are used to test the discharging function of test product 102 to be measured, and multimeter is to be tested for testing
Whether the voltage of the test point of product 102 meets the requirements.
It is using the discharging function that the lighting device in information feedback device 104 can detecte solar controller to be tested
No to meet the requirements, solar controller is divided into boosting, decompression and three kinds of constant pressure according to applicable cases, three kinds of solar controllers
Output voltage is all different, and the voltage that corresponding power supply change-over device 103 provides is not also identical, when test solar controller
When whether discharging function is normal, it is necessary to connect multiple lighting devices to complete the test of solar controller discharging function, lead
Control plate 101 can automatically switch to corresponding lighting device according to the type of solar controller to be tested.Specifically, be exactly
After solar controller power supply, whether lighting device corresponding with solar controller type is detected by master control borad 101
It works normally, that is, the electric signal and power supply change-over device 103 for corresponding to the output end of lighting device are supplied to solar controller
Whether the difference of electric signal is in defined threshold range, if it is, illustrating the discharging function of corresponding solar controller just
Often, if it is not, then illustrating that the discharging function of corresponding solar controller is abnormal, the detection process and detection in the prior art
Process is identical, can specifically be realized by program, more details can be found in the prior art.Preferably, each lighting device by LAN or
GPIB communication interface is communicated with master control borad 101.
It can detecte the voltage of the test point of solar controller to be tested by the multimeter in information feedback device 104
Whether meet the requirements, it in practical applications, can be with after power supply change-over device 103 is solar controller power supply to be tested
Multimeter is connected to corresponding test point on test needle bed, and the data that multimeter is measured are sent to master control borad 101, then
Judge whether the difference of electric signal that the data that multimeter measures are provided with power supply change-over device 103 meets by master control borad 101 again
It is required that and then realize test to the voltage of the test point of solar controller to be tested, specific test process can pass through program
It realizes, identical as test process in the prior art, details are not described herein;Preferably embodiment, multimeter specifically lead to
USB or gpib interface is crossed to connect with master control borad 101.Just whether discharging function and charge function to solar controller to be tested
Whether normal test in defined threshold range judges that corresponding function is using difference in addition to provided by the embodiments of the present application
It is no it is normal except, can also realize that the utility model is without limitation using other way.Preferably embodiment, the survey
Test system further include: connect with master control borad 101, the electric signal and default electric signal for providing when power supply change-over device 103 are not
When matching, the warning device of warning note;Accordingly, master control borad 101 is also used to control power supply change-over device 103 and stops working.
Specifically, be exactly master control borad 101 judge power supply change-over device 103 provide electric signal and preset electric signal mismatch when,
For example, preset electric signal is 3V, and the electric signal that actually measured power supply change-over device 103 exports is 3.5V, illustrates power supply
Conversion equipment 103 is possible to break down, and at this moment just needs master control borad 101 to control the warning device warning note relevant personnel and checks
Questions and prospect, and control power supply change-over device 103 and stop working, it is burned to prevent solar controller to be tested.As preferred
Ground embodiment, warning device are specially buzzer.Certainly, warning device can also select other than it can select buzzer
With other satisfactory warning devices, details are not described herein.
In order to improve the degree of automation and convenience of test process, on the basis of the above embodiments, preferably
Embodiment, when information feedback device 104 is multimeter, further includes: it is connect with master control borad 101, test needle bed and multimeter,
For test point to be switched to the target detection point of test product 102 to be measured to connect target detection point according to the control of master control borad 101
The switch matrix connected between multimeter.
Each test point on switch matrix connecting test needle bed, it is logical by LAN or GPIB communication interface and master control borad 101
Letter, master control borad 101 is according to the target detection point of the switch of testing procedure automatic transfer switch matrix to test product 102 to be measured, by mesh
Mapping pilot is connected on multimeter, and multimeter measures the voltage of each test point, then sends measured data to master control borad
101, master control borad 101 judges whether the test point voltage is normal.Preferably embodiment, switch matrix are specially relay
Matrix controls the disconnection and conducting of corresponding relay by master control borad 101 according to the actual situation.
Test case is checked in order to facilitate the operation of personnel, on the basis of the above embodiments, preferably embodiment,
Further include: it is connect with master control borad 101 and information feedback device 104, for showing the display device of test data and test result.
In entire test process, can use the display device connecting with master control borad 101 and information feedback device 104 will
The test result that the test data or master control borad 101 that information feedback device 104 obtains obtain is shown, operator is facilitated
It checks, in practical applications, relevant test data and test result can also be stored, the later period is facilitated to search.
Fig. 2 is a kind of test macro overall structure composition schematic diagram provided by the utility model embodiment, such as Fig. 2 institute
Show, which includes: master control borad 101, power supply change-over device 103, test needle bed 201, lighting device 202, multimeter 204
And switch matrix 203, lighting device 202 and multimeter 204 form information feedback device 104, test product 102 to be measured is located at test
Needle bed 201;Master control borad 101 respectively with power supply change-over device 103, test needle bed 201, lighting device 202, multimeter 204 and
Switch matrix 203 connects, for controlling the work of each device, and the data for being obtained to lighting device 202 and multimeter 204 into
Row judges that realize the performance test for treating test article 102, in practical applications, master control borad 101 can select main control computer;
Test needle bed 201 connect respectively with power supply change-over device 103, lighting device 202 and switch matrix 203, switch matrix 203 and
The connection of multimeter 204 is corresponding to be measured multimeter 204 is automatically switched to test needle bed 201 according to the control of master control borad 101
The target detection point of test product 102, and then realize the test for treating the charge function of test article 102, lighting device 202 is exactly in fact
The whether normal electronic load of discharging function for testing test product 102 to be measured is tested on needle bed 201 and is put in practical applications
It is equipped with pcb board, test product 102 to be measured and other related devices are integrated on pcb board.It is not drawn into warning device in Fig. 2 and shows
Showing device, but do not represent no warning device and display device.
Below by taking solar controller is tested as an example, entire test process is introduced, 101 (master control of master control borad first
Computer) the pneumatic compression bar pressure for testing needle bed 201 of control, if master control borad 101 detects that the compression bar of test needle bed 201 is pressed onto
Latched position then starts entire testing process, and then controlling power supply change-over device 103 is test product 102 (solar controller) to be measured
Power supply, exports different voltage, and solar controller is started to work.If first being examined to the drain conditions of solar controller
It surveys, master control borad 101 controls power supply change-over device 103 and provides different quiescent voltage and dynamic electric voltage for solar controller, so
Multimeter 204 and the target detection of corresponding solar controller point are connected by switch matrix 203 afterwards, multimeter 204 obtains
To the data of related objective test point, and master control borad 101 is sent the data to, master control borad 101 judges corresponding solar control
Device is with the presence or absence of short circuit or overcurrent condition, and specific deterministic process sees above described, and details are not described herein, which can also be right
The voltage of each target detection point is calibrated, and influence of the component deviation to solar controller is effectively reduced;It can control simultaneously
The display device connecting with master control borad 101 shows relevant test data or ought show fault message in the event of failure, passes through display
Device shows dependent failure information, and ought in the event of failure can be by the warning device (buzzer) that connect with master control borad 101
Warning note operator, and control power supply change-over device 103 and stop working, remind operator to check fault message, so as to
Timely handling failure.In practical applications, master control borad 101 by LAN or GPIB communication interface and tests the PCB on needle bed 201
Board communications and the software version number and type information for obtaining solar controller are controlled according to different solar controller models
Related device work.Discharging function detection: solar controller on the market all has constant current output function at present, exports electric current
Required precision controls within ± 2%, it is therefore desirable to which whether the discharge current for testing solar controller meets the requirements, if put
Electric current is unsatisfactory for requiring, then needs to carry out discharge current calibration.Master control borad 101 is electric by the output for calculating solar controller
Flow curve generates one group of calibration array, issues solar controller by communication ports such as LAN or UART or ISP, realizes that electric current is inclined
Difference calibration.One group of preset electric current is provided particularly as being the control power supply change-over device 103 of master control borad 101 for solar controller
Then value is obtaining corresponding one group of actual value using the lighting device 202 in information feedback device 104, and by the actual value
It is sent to master control borad 101, master control borad 101 generates current curve according to preset current value and corresponding actual value, and then realizes
Current deviation calibration to solar controller.Similarly, the voltage of solar controller can also be calibrated, it is entire to test
After process is completed, all devices are returned to original state.
A kind of test macro provided by the utility model is described in detail above.Several examples are used herein
The principles of the present invention and embodiment are expounded, the explanation of above embodiments is merely used to help understand this reality
With novel technical solution and its core concept;At the same time, for those skilled in the art, the think of according to the utility model
Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair
The limitation of the utility model, those skilled in the art make the utility model under the premise of no creative work
Modification, equivalent replacement, improvement etc., should be included in the application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One operation is distinguished with another operation, without necessarily requiring or implying there are any between these entities or operation
This actual relationship or sequence.Moreover, the similar word such as term " includes ", so that including the unit of a series of elements, equipment
Or system not only includes those elements, but also including other elements that are not explicitly listed, or further includes for this list
Member, equipment or the intrinsic element of system.