The present invention relates generally to synchronizing control of test instruments.
According to known technology, multiple testing instruments can be operated to perform testing on multiple components. For example, a manufacturer of multi-layer ceramic capacitors uses a test system to determine the quality of a lot of product before the product is sold to a customer. The test system performs several tests that provide data on the capacitance, dissipation factor and insulation resistance. The data can then be used to sort the parts by tolerance and find those parts that are defective.
Tests are performed in a sequence that varies depending on individual manufacturer requirements. For example the following sequence can be used. Referring to
The part can then move to another station, where the part can be charged to a programmed voltage by a programmable voltage and current source. The part can then be held at the programmed voltage for a certain period of time, called the “soak time”. After this period of time, an insulation resistance measurement can be performed by a high resistance meter. This measurement returns a single value in units of either current or resistance. The current measured is the leakage current through the capacitor when a voltage is applied, and the resistance is calculated from R=V÷(leakage current) where V is an input parameter.
Referring now to
As ceramic capacitors become smaller and higher in capacitance, the effects of the dielectric and parasitic elements become more pronounced and more complex. Ideally, the electrical properties of a capacitor would be observed for a long period of time to minimize the effect of parasitics. However, this is not always feasible from a manufacturing stand point because it would take too long to test millions of devices. Therefore, the industry sometimes relies on only a short snapshot of this time to make a determination of the status of the parts. Insuring the accuracy and reliability of the data is crucial, as it directly affects the customers' yield and the quality of the delivered product.
The industry standard for measuring the leakage current through a capacitor is to use an Agilent 4349B High Resistance Meter in combination with a programmable voltage and current source. The Agilent 4349B is a high precision instrument that uses an integrating current-to-voltage converter and a selectable integration time of 10, 30, 100 and 400 milliseconds. The output of the meter is a single current reading after this integration period is complete. The user then relies on this one measurement to decide whether a given capacitor is acceptable or not.
The voltage and current supply used with the meter is a programmable computer-controlled device, such as an Electro Scientific Industries 5412/5422 power supply.
The voltage and current supply and the meter are controlled by a host personal computer that provide commands and data to control both the triggering of the voltage and current supply and the triggering of the meter to measure the resultant data of the tested component, such as the capacitors described. Between these devices, timing between startup charge and the start of measurement must be very well controlled. In addition, multiple supplies and meters are typically operated to test a number of components simultaneously at each of the stations in order to speed up the entire testing process. Thus, timing between each of these combinations of supplies and meters must also be well controlled to minimize variation in testing between the combinations operating at the same time so that variations in results for similar components are not introduced by the testing process, which could obscure the identification of a satisfactory device under test as defective or a defective device under test as satisfactory.
Methods for synchronizing plural test devices coupled to a host are taught herein. For example, a method can include initializing a counter of each of the plural test devices nearly simultaneously, incrementing each of the counters nearly simultaneously when an increment message is received by respective ones of the plural test devices and triggering an action by at least one of the plural test devices when a respective counter of the at least one of the plural test devices reaches a programmed counter value.
An apparatus for synchronizing plural test devices coupled to a host is also taught herein. One example of such an apparatus comprises a first counter in a first of the plural test devices, a second counter in a second of the plural test devices. The host is operable to transmit an initialization signal to the first counter and the second counter wherein the initialization signal initializes the first counter and the second counter. The host is also operable to transmit a periodic signal indicating a start of a data stream. The first counter and the second counter are operable to increment when the periodic signal is received by the first and the second of the plural test devices, and one of a source signal and a measurement signal is triggerable by the first and the second of the plural test devices when the first counter and the second counter reach a programmed counter value.
Also taught herein is an apparatus for testing plural components receiving a source signal and a measurement signal controlled by a host. In this apparatus, the improvement comprises a first source-measurement unit sending the source signal and the measurement signal to selected ones of the plural components, and a second source-measurement unit sending the source signal and the measurement signal to others of the plural components. A first counter is in the first source-measurement unit, and a second counter is in the second source-measurement unit. The host is operable to send an initialization signal to initialize the first and second counters nearly simultaneously with respect to each other. Each of the first and second counters is operable to increment when a periodic signal is sent from the host to the first and second source-measurement units where the periodic signal indicates a start of a data stream. The first source-measurement unit sends one of the source signal or the measurement signal when the first counter reaches a programmed counter value, and the second source-measurement unit sends the same one of the source signal or the measurement signal when the second counter reaches the programmed counter value.
Other applications of the present invention will become apparent to those skilled in the art when the following description of the best mode contemplated for practicing the invention is read in conjunction with the accompanying drawings
The description herein makes reference to the accompanying drawings wherein like reference numerals refer to like parts throughout the several views, and wherein:
In the system discussed above, the voltage and current supply uses a parallel digital input-output (IO) interface for communication between the host personal computer (PC) and the meter. The meter uses a standard general purpose interface bus (GPIB) in combination with a parallel interface. The host PC runs an application directly controlling triggering of the voltage and current supply and triggering of the meter. That is, the host PC transmits instructions through a parallel interface to trigger the voltage and current supply. Then, depending upon the delay, if any, of the desired test, the meter is triggered through a parallel interface. The GPIB interface returns the measurement result to the host PC through a serial interface.
Among other problems, this results in a costly interface due to the extensive cabling, etc. This combination of interfaces is also slow and thus limits the number of samples that can be obtained during short test cycles (on the order of 30 ms). Further, operation of these instruments such that triggering for plural voltage and current supplies and plural meters for a number of tested components in a single test cycle and over a number of test cycles is difficult to do with any consistency due to the existence of “jitter.”
Jitter referred to herein is a flicker or fluctuation in a transmission signal, and more specifically refers to an offset of time from the norm. Here, jitter indicates that the trigger signal arrives either ahead or behind a standard clock cycle. Jitter causes a trigger point to vary between instruments and between samples of the same instrument. Various causes of jitter exist in the system and include, for example, the cables whereby variation exists in the amount of time a signal takes to transmit from driver ends of cables to receiver ends of the respective cables, the varying speed of the host PC application software controlling the various triggers, varying transmission times of the interfaces, etc.
As discussed in more detail below, jitter is a particular concern as the measurement times are reduced. In the conventional system described, jitter can be as high as ±one (1) millisecond.
To address in part problems associated with the known configuration, a single source-measurement unit has been developed that combines the functionality of the current and voltage supply of applying current and voltage signals to a component and the functionality of the meter for taking resulting measurements of the component. One example of a configuration comprising a plurality of these source-measurement units, or test instruments, with a host PC in a universal serial bus (USB) tiered star topology is shown in
The first USB port 14 is coupled through a cable 22 to a source-measurement unit 20. The second USB port 16 is coupled through another cable 22 to a USB hub 24, which contains a number of USB ports 26, shown here as four USE ports 26. Connected by respective cables 22 to the USB ports 26 of the USB hub 24 are additional source-measurement units 20 (only two shown).
Each source-measurement unit 20 is identical, and for simplicity only one is shown in additional detail. Each includes a USB port 28 for receiving the cable 22 and a peripheral SIE 30. In one embodiment, the peripheral SIE 30 is the EZ-USB SX2™ High-Speed USE Interface Device by Cypress Semiconductor Corp. of San Jose, Calif. Each source-measurement unit 20 also includes a central processing unit 32. The central processing unit 32 can be embodied in a microcontroller with integrated RAM, ROM, analog to digital (A/D) converters, digital to analog (D/A) converters, input and output terminals, etc., or can be a microprocessor coupled to peripheral components. The central processing unit 32 performs commands related to the application of current and voltage signals to a component being tested and the acquisition and processing of measured values from this test component. Since standard connections from the source-measurement unit 20 to the component being tested known from the conventional current and voltage supply and meter previously described can be used with this configuration, the connections 34 between the source-measurement unit 20 and the test components 36 are shown schematically. (Only three test components 36 are shown for clarity.) Alternately, a device such as Cypress° FX2™ that contains a SIE internal to a microcontroller can be used in place of the peripheral SIE 30 and the central processing unit 32.
As mentioned briefly above, the industry relies on data collected during a short period of time to determine whether a component, or part, is satisfactory or defective. A novel method of synchronization of the various source-measurement units 20 provides a deterministic system that allows maximization of the amount of information that can be gathered during short periods of time while minimizing jitter.
Embodiments of the methods taught herein allow control of the remote devices, source-measurement units 20, with precise synchronous timing. This allows precision triggering by the devices, for example.
More specifically, each of the remote testing instruments contains the embedded controller 32 that supervises all control within the unit 20. The embedded controller 32 interfaces with the SIE integrated circuit 30. Also mentioned, the source-measurement units 20 interface with the host via a USB cable 22. A custom host software driver is built on top the USB driver to provide a unified interface to the source-measurement units 20 for a host application program. With USB 2.0 (High Speed) buses, the unified interface downloads setup information, uploads measurements and triggers the source-measurement units 20. Each source-measurement unit 20 is polled at least once every USB micro-frame (i.e., every 125 μs).
As mentioned, the host PC SIE 18 broadcasts a start of frame (SOF) signal that indicates the start of the micro-frame. Since the broadcast of the SOF is performed by hardware, and is independent of the software applications, the SOF broadcast reaches each SIE 30 of the respective source-measurement units 20 almost simultaneously. This SOF can be used to synchronize all devices on the network and control them in a deterministic manner according to methods taught herein because the SIE hardware maintains a consistent time base.
One example of such a method can be described with reference to
At 44 the host PC 10 begins transmitting sequence traffic in the form of micro-frames. Each remote CPU 32 monitors its respective micro-frame counter for the micro-frame where a trigger is to occur according to the programmed instruction sequence. The remaining actions are described with reference to one remote device, but each of the source-measurement units 20 performs the same actions. Once the micro-frame counter reaches the trigger frame in response to the query at 46, the action associated with the trigger occurs at 50.
Nearly simultaneously with the trigger at 50 is the start of a counter, or timer, of the CPU 32. Of course, a timer external from the CPU 32 could also be used. The timer continues counting until a trigger offset is reached at 54. That is, in addition to the initial trigger, additional triggers can be included in the programmed instruction sequence. In this manner, the host PC 10 and the source-measurement units 20 or other remote devices can phase lock on the SOF, and the host PC 20 can command the source-measurement units 20 to trigger at the start of a specific future micro-frame or some offset from the start of a future micro-frame. When the timer reaches the trigger offset at 54, the action associated with the trigger occurs at 56.
Of course, these steps and their order can vary. For example, the initial trigger that occurs upon the detection of the associated micro-frame count at 46 is not required to trigger an action at 50 and start the CPU timer at 52. Instead, the trigger could only be used to start the CPU timer so that when the offset is reached at 54, an action could be taken at an offset period from the SOF. As another example, the CPU counter started at 52 could continue counting up to the SOF of the next micro-frame (in this example up to 125 μs), and subsequent actions could trigger at certain pre-programmed timer values after the action triggered at 56.
An application of the teachings herein is next described with reference to a test system for measuring the insulation resistance of a multi-layer ceramic capacitor.
Referring now to
As mentioned initially, the conventional methods and systems can result in a jitter as high as ±one (1) millisecond. Since the predictive IR method occurs after a short soak of 20 ms to two seconds, jitter could cause a significant decrease in the reliability and reproducibility of the test. That is, sub-millisecond jitter in the timing can cause errors in the prediction. Making the measurement too soon can make the leakage current appear high, and making the measurement too late can make the leakage look too low. The effect of jitter is minimized by synchronizing the operation of the test instruments as described with reference to
Namely, a host PC, such as host PC 10, is typically used to coordinate all the devices. The application software of the host PC 10 is un-deterministic and provides a marginal time base for coordinating the devices, but the USB hardware 14, 16, 18, 22, 24, 26, 28, 30 provides deterministic synchronization improves predictive measurement accuracy. The host PC 10 application software run on the CPU 12 can download to the CPU 32 of the source-measurement unit 20 the micro-frame index of when to start charging the devices under test up to the test voltage and the future micro-frame of when to make the leakage current measurement. All of the source-measurement units 20 in the system would then trigger simultaneously to make accurate leakage measurements of the various devices under test.
The host USB SIE 18 drives the SOP out on all of the source-measurement units 20 connected to it at the same time. Relative to each other, the units 20 would see a SOP jitter due to the signal transmission on the cable 18. The USB Specification discussed above states a maximum cable delay specification of 26 ns. Another relatively small jitter factor would be how deterministic the software could react to the incoming SOP signal and fire the source or measurement trigger at the unit 20. The total jitter would be very small compared to the ±1 ms jitter where a Windows®-based application directly controls the trigger.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiments but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims, which scope is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures as is permitted under the law.
As one example, although conventional methods of making measurements can be used with this method, other measurement methods can be used such as those described in the co-pending application entitled “Multi-Point, Multi-Parameter Data Acquisition For Multi-Layer Ceramic Capacitor Testing” with inventors Kenneth V. Almonte and Charles Bickford. That application, which is filed herewith and which is assigned to the assignee of the present invention, is incorporated herein in its entirety by reference.
Also, as is clear from the description, the preferred communication protocol is the USB communication protocol. However, other communications protocols that include a functional equivalent to the state of frame such that they are deterministic are also possible.
The preferred embodiments described use an integrated source-measurement unit 20. However, separate remote devices can be used for the source functions and the measurement functions.