The device and method of a kind of test clock or signal driving load capacity
Technical field
The present invention relates to signal quality and signal sequence field tests in the digital display circuit, the device and method of particularly a kind of test clock or signal driving load capacity.
Background technology
In the digital display circuit, the output terminal of gate circuit generally all links to each other with the input end of other gate circuits, is called bringing onto load, and a gate circuit allows at most with several similar load door, is exactly its carrying load ability, also can be described as its driving force.General two aspects of dividing of the index of gauge signal driving force: dynamic property and static properties.Dynamic property just is meant drive signal rising/fall time; And static properties just is meant the drive signal level value.The driving force of signal is generally determined by chip itself.The performance that driving force is not enough: level amplitude height does not get on or is unable to come down, and the edge is slow.The size of drive current depends primarily on the equivalent internal resistance of load and drive source, and both can simply be considered as the relation of dividing potential drop.Driving tube also has the maximum current of a permission, and this is the constraint that is subjected to semiconductor technology.For receiver, it only is concerned about whether voltage crosses thresholding, for electric current, just sees that can driver bear.
As shown in Figure 1, general load can equivalence be that a resistance adds a capacitive load, and a plurality of loads are relations in parallel.Load is many more, and capacitive reactance increases, and the charge and discharge electric current strengthens, and the time, the elongated signal edge that will cause was slow, i.e. the rise and fall time lengthening.Resistance reduces, and the drive current that needs is just big more accordingly, surpasses certain limit, and the level value of drive signal is reduced.How signal waveform deteriorates into the requirement that exceeds the receiving end device, can cause the receiving end device can't operate as normal.If drive current exceeds the requirement of driving element, working long hours to cause device failure.
When design circuit, the designer can come the computational load ability according to the parameter index in the receiver transmitter spare data, and uses emulation tool when circuit design, and driving force is estimated.But if the interface signal between printed circuit board (PCB) (Print Circuit Board is called for short PCB), emulation tool just can not effectively have been assessed the driving force of drive signal.And, be difficult to the resource that provides abundant again in product development stage, test the actual driving force, the particularly test of driving force ultimate value of drive signal.Whether the driving force that just could detect this signal at present when system testing even practical application meets the demands, and product reliability stability has all been brought unfavorable factor.
Summary of the invention
The present invention develops in order to address the above problem, its objective is provides a kind of apparatus and method that address the above problem, utilize this proving installation, as long as parameter index requirements such as the level of setting measured signal, rise time, fall times, just can test out it automatically can load-carrying ability.Simultaneously can also add one or more loads, test under the different loads situation, parameters such as the level of measured signal, rise time, fall time, the limit driving force of assessment measured signal for measured signal.
In view of above-mentioned purpose, the invention provides the device and method of a kind of test clock or signal driving load capacity, said apparatus comprises at least with the lower part:
Load unit comprises and selects module and fictitious load module, connects measurand and monitoring and control module, selects and simulate the load of polytype and quantity;
Monitoring and control module, comprise monitoring means and analysis and Control module, above-mentioned monitoring means comprises performance number acquisition module and parameter module, and monitoring is connected load unit and man-machine interface with control module, test measured signal parameter is judged and control institute's loading quantity and type;
Man-machine interface comprises display module and load module as a result, connects monitoring and control module, shows test results, and index thresholding or loaded quantity are set, and issues test command.
Wherein, the fictitious load module can be used one or more realizations in resistance capacitance combinational circuit, programmable logic chip or the chip for driving.Above-mentioned measured signal parameter comprises signal level, rise time and fall time at least.Above-mentioned measurand is provided with external interface, and digital electric signal is arranged on it, is used for driving a plurality of loads.Monitoring can use existing instrument to carry out index test with control module, oscillograph for example, but need to use the virtual instrument mode to test automatically; Also can directly be designed for the device of index test.
The present invention also provides the method for a kind of test clock or signal driving load capacity:
The device of a kind of aforesaid test clock or signal driving load capacity at first is provided;
A kind of method of testing is provided then, may further comprise the steps at least,
The first step is by above-mentioned man-machine interface input test index thresholding or loaded quantity;
Second step was divided into N bar branch road with measurand to the measured signal of said apparatus output, and wherein N is a natural number, and its value equals the maximal value according to the number of practical situations needs offered load;
In the 3rd step, if input parameter is the test index thresholding, then above-mentioned load unit is selected to add load, if input parameter is loaded quantity, then above-mentioned load unit adds the load that meets above-mentioned input parameter;
The 4th step, the first via of above-mentioned branch road is directly received the fictitious load module, and send into monitoring means as monitored signal, and above-mentioned second branch road is linked the fictitious load module to N bar branch road by selecting module, and the quantity of the branch road of its connection is controlled by the analysis and Control module;
In the 5th step, above-mentioned monitoring means test measured signal parameter reports the analysis and Control module with the test index data, and the analysis and Control module is judged test data;
In the 6th step, if input parameter is the test index thresholding, then above-mentioned analysis and Control module judges whether signal index is out-of-limit, if, changeed for the 7th step, if not, changeed for the 3rd step; If input parameter is loaded quantity, changeed for the 7th step;
In the 7th step, above-mentioned analysis and Control module obtains the test result of relation of the driving force of institute's loading and drive signal, reports this test result by man-machine interface.
In above-mentioned the 3rd step, when load unit was selected to add load, the quantity of at every turn adding load was one.
Adopt apparatus and method of the present invention, as long as set the parameter index requirements such as level, rise time, fall time of measured signal, just can test out measurand automatically can load-carrying ability; Simultaneously can also add one or more loads, test under the different loads situation, parameters such as the level of measured signal, rise time, fall time, the limit driving force of assessment measured signal for measured signal.Owing to do not have special related tool to finish this test at present, therefore device of the present invention also can be described as an emulation tool, but it is than electric design automation (Electronic DesignAutomation, be called for short EDA) the instrument better authenticity, help to improve reliability of products, stability.Simultaneously, utilize these apparatus and method save time, laborsaving, can increase work efficiency, help to shorten the Products Development cycle.
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.For those skilled in the art that, from detailed description of the invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Description of drawings
Fig. 1 is known load equivalent block diagram.
Fig. 2 is the test clock of a preferred embodiment of the present invention or the device synoptic diagram of signal driving load capacity.
Fig. 3 is the test clock of another preferred embodiment of the present invention or the device synoptic diagram of signal driving load capacity.
Fig. 4 is the test flow chart of a preferred embodiment of the present invention.
Fig. 5 is the test flow chart of another preferred embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing preferred embodiment of the present invention is described in detail below.
As shown in Figure 2, the device of test clock of a preferred embodiment of the present invention or signal driving load capacity comprises at least with the lower part:
Load unit 2 comprises and selects module 201 and fictitious load module 202, connects measurand 101 and monitoring and control module 3, is used to provide load, and the load number of its connection and type are adjustable;
Monitoring and control module 3, comprise performance number acquisition module 301, parameter module 302 and analysis and Control module 303, connect load unit 2 and man-machine interface 4, be used for carrying out the test of parameters such as signal level, edge time to having added the measured signal after the load, judge whether charge capacity satisfies index request, and control loaded quantity of institute and type in the loading unit;
Man-machine interface 4 comprises display module 401 and load module 402 as a result at least, connects monitoring and control module 3, shows the test result of monitoring with control module output, and to the Detection ﹠ Controling unit judgement index thresholding is set.
Measurand 101 is used to introduce the electric drive signal of needs test to said apparatus; Select module 201 to be used for selecting loadtype and quantity with the measured signal coupling, make institute connect load and tested electric signals can interconnect, and with practical application loaded performance parameter consistent; Fictitious load module 202 can select to use methods such as resistance capacitance combinational circuit, programmable logic chip or chip for driving to realize simulating multichannel loading according to loadtype; Performance number acquisition module 301 is used for gathering in real time the measured signal level value; The signal level value that parameter module 302 is gathered in real time according to performance number acquisition module 301 calculates parameters such as edge time; 303 pairs of whole devices of analysis and Control module are provided with, control its running, comprise the number of opening cut-off signals of control selection module 201, the desired value of calculating is analyzed, each the index threshold value that issues with man-machine interface 4 compares judgement, reports test result etc. to man-machine interface 4; Display module 401 is used for showing test results as a result; Load module 402 is used for being provided with the index thresholding or issues test command etc.
The above-mentioned edge time comprises rise time and fall time at least.Monitoring can use existing instrument to carry out index test with control module 3, oscillograph for example, but need to use the virtual instrument mode to test automatically; Also can directly be designed for the device of index test.
The test clock of another preferred embodiment of the present invention or the implementation of signal driving load capacity at first, provide the device of a kind of test clock or signal driving load capacity as shown in Figure 3, comprise
Measurand 101, the drive signal that is used to introduce the needs test is to said apparatus, and its external interface has digital electric signal, is used for driving a plurality of loads;
Select module 201, be connected to measurand 101, be used for finishing the selection of load number and type, that is to say that it can be according to the connection of one or more signal of configuration switch;
Fictitious load module 202 connects measured signal by selecting module 201, is used for providing load to measured signal, and it can simulate one or more loads;
Monitoring means 304, comprise performance number acquisition module 301 and parameter module 302, be used for testing the needed index of judgement driving force, for example voltage of signals value, rise time and fall time, the load that it brought need be compared with other load, can ignore, monitoring means 304 can use existing instrument to carry out index test, oscillograph for example, but need to use the virtual instrument mode to test automatically, also can directly be designed for the device of index test;
Analysis and Control module 303, send control signal, the number of opening cut-off signals of module 201 is selected in control, the quantity and the type of control fictitious load unit 202 fictitious loads, the implementation and the parameter setting of control monitoring means 304, the test data that monitoring means 304 reports is handled, and each the index threshold value that issues with man-machine interface 4 compares judgement, reports test result to man-machine interface 4;
Man-machine interface 4, acceptance test personnel's instruction issues each index threshold value of judgement measured signal driving force to analysis and Control module 303, and shows the test result of monitoring means 304 outputs.
Then, provide a kind of method of testing, its step is as follows:
Measurand 101 is divided into N bar branch road to the measured signal of said apparatus output, wherein N is a natural number, its value equals the maximal value according to the number of practical situations needs offered load, because measured signal adds a load at least, so the first via of above-mentioned branch road is directly received fictitious load module 202, and send into monitoring means 304 as monitored signal, this is because be connected to the signal quality unanimity of each load, so only need monitor one road signal, get final product so only need that the first via monitored signal of above-mentioned N bar branch road is sent into monitoring means 304; Above-mentioned second branch road is linked fictitious load module 202 to N bar branch road by selecting module 201, and the quantity of the branch road of its connection is controlled by analysis and Control module 303; Above-mentioned monitoring means 304 reports analysis and Control module 303 with the test index data, analysis and Control module 303 is judged test data according to each index threshold value that man-machine interface 4 issues judgement measured signal driving force, obtain the test result of relation of the driving force of institute's loading and drive signal, report this test result by man-machine interface 4.
The testing process of a preferred embodiment of the present invention as shown in Figure 4, when the performance index of given signal require, this device can test out automatically can offered load quantity,
Step 41, input test index request, for example voltage magnitude, rise time and requirement fall time;
Step 42 is added a load;
Step 43, test signal voltage, rise time and fall time;
Step 44 judges whether signal index is out-of-limit, if not, forwards step 42 to, if then continue;
Step 45 outputs test result.
The testing process of another preferred embodiment of the present invention as shown in Figure 5, when specifying the quantity of offered load, the performance index that this device can test signal are carried out the signal quality assessment signal is added the unequally loaded situation,
Step 51, the quantity of load is added in input;
Step 52, test signal voltage, rise time and fall time;
Step 53 outputs test result.
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention; If do not break away from the spirit and scope of the present invention, the present invention is made amendment or is equal to replacement, all should be encompassed in the middle of the protection domain of claim of the present invention.