Custom Automated Test Stands
How we can help:
Turnkey Custom Automated Test Stands
Software development for automated test stands
Obsolete Test Stand Upgrades / Migration
A few clients that have trusted us to deliver an automated test stand:
Proof Points:
Over 300 turnkey automated test stands delivered.
Software delivered for over 900 automated test stands.
Platinum level National Instruments Alliance Partner, which puts us in the top 2% worldwide.
Over 3,000 LabVIEW solutions delivered (See more »).
- Over 200 obsolete test systems updated (See more »).
Key considerations for automated test stand development
Footprint – the stand should be designed to fit into the existing manufacturing or test cell infrastructure in both floor space and height.
Facility supplies – connections for power, shop air, Ethernet, and so on should be considered in the design.
Ergonomics – the layout of the components that the operator interacts with (monitor, keyboard, E-stop button, instrumentation panels, …) should be designed for accessibility and long-term use.
Portability – will the stand need to be moved frequently so that the enclosure is on casters? If so, consideration should be given to vibration of internal components during movement.
Maintainability – components should be accessible without having to remove other components, whether for calibration, repair, or maintenance.
NEMA rating – consider the environment in which the stand will reside, such as dusty, oil-mist, hot, and so on.
Automated Test Stand Case Studies
Enhancing an existing test system for ease of maintenance
Enhancing an existing test system for ease of maintenance
Reduction of time and frustration motivates software upgrade of a capable but inflexible test system
Client – A world-wide manufacturer of refrigeration units
Challenge
Our client had been using a 15-year old test system LabVIEW-based application that was becoming difficult to update. Plus, the designs of their newest refrigeration units were more complex than ever, requiring new test steps.
On top of that, our client wanted to give the operator flexibility in sequencing the test steps. For example:
- the operator might want to run a specific test twice to verify operation.,
- The operator might want to restart a sequence in the middle after reworking a part.
- Or the test engineer might want to add another test step to further clarify operational data for historical trend analysis.
The existing application was based on a state machine architecture. While state machines can be edited to handle different sequence flows, this test application had numerous alterations over the past 15+ years to support the needs for testing new product designs. These amendments compounded over the years into an unwieldy test application.
New products were about to be introduced which would require additional modifications to the existing state machine and subsequent verification that:
- changes worked as planned and,
- changes didn’t affect any other existing modes of operation. This need was increasingly daunting.
The Design and Development Process
Very early in discussions, we showed our client a test application based on an object-oriented (OO) software architecture, and its associated user interface, that we had used in previous test system projects for other clients. We thought it might satisfy some of the desires we were hearing about:
- how the older state-machine-based test system was difficult to maintain,
- how some users were frustrated by the inflexibility of the test sequencer,
- and wondering why the system can’t be easier to update for new product requirements.
Moving the existing application over to this new architecture would clearly require more effort than another patch, so we had to decide if the cost for this approach would be justified based on two major benefits:
- Simplify the management and verification of future changes.
- Enable flexible test flows to give the test operator a better user experience.
Both benefits would accumulate cost savings for maintenance and upgrades going forward. After discussions with our client, we jointly decided this approach was justified.
After reviewing this OO approach, our client asked us to use it to develop a small test system for another component of the refrigerator products. This small system gave our client the chance to explore the “look and feel” of this new architecture and user interface design before embarking on the test system discussed in this case study.
That trial project was a success, and we were given the go-ahead. The benefits, as described above, were clear.
After the development was complete, we:
- worked with our client on integrating the test system into the existing test station,
- performed acceptance testing,
- and delivered the final items, like source code, to our client.
Solution
The initial upgrade tasks in creating this new application started by identifying the code for the test steps in the existing test application, which was based on that state-machine architecture, and then rewriting the test step functionality with the OO methodologies discussed earlier.
We also reworked the sequencing of steps to use an OO-based test sequencer. The test sequencer was reused from some of our prior projects.
For each test step in the existing test application, we repurposed the existing LabVIEW code in two ways:
- First, we identified code functionalities that were commonly used throughout the state machine for the purpose of defining a set of reusable step types.
- Second, we converted that common functionality into LabVIEW classes via copy-paste into the class methods, coupled with extraction of the configuration parameters needed to give each class the behavior needed for a particular step.
For example, the existing state machine contained many steps that provided a request-response method over a data bus. These similar steps were corralled into a single class with methods for data communication. Thus, each of the multiple original states in the existing application which requested parameter values could be made by calls to the same class in the new application simply by providing specific configuration inputs to the same class method.
Benefits
This OO design simplified updates to the test steps and their sequencing.
Furthermore, the operator interface was simpler, cleaner, and allowed the operator to manage the flow of the test steps. For example, operators could jump around in the test sequence when needed, say for reviewing the occasional confusing result or helping to develop the production test sequence.
The OO design of this new test system application was aimed squarely at improving the user experiences of both the operator and test engineer. Secondarily, the OO design will help the test system developer by untangling the original state machine code into supportable, extensible, and maintainable software.
Some specific benefits available from this new OO design:
- Reduced frustration – If the operator noted something confusing about the outcome of a test step, that step can be rerun without needing to restart the entire test sequence.
- Improved operational efficiency – The operator and/or test engineer can try a different sequence of test steps for operational or efficiency improvement.
- Faster test system updates – Two aspects make updates faster and cleaner. First, new product designs can be accommodated with less worry about whether the fragile state machine code will break, Second, the code modularity of OO test steps makes it easier to implement new tests.
These usability and maintainability features will save our client cost and schedule in future product upgrades as well as highlight the contributions of the test system on production efficiency.
System Overview
The test hardware was based on NI CompactDAQ and the application was written in LabVIEW. The automated test system provided the following main features:
- Test configuration based on the type of part being tested
- Test sequencing with part-specific test steps
- Test sequence execution can be managed by the operator in real-time
- Display of test results as the sequence progresses
- Archiving of test data for historical tracking
The test flow that this application runs is:
- The operator enters the model and serial numbers (typed in or scanned in).
- The test system looks up the model number and finds the test sequence to run.
- The test system populates the sequencer screen with the appropriate test sequence.
- The operator can select a step from which to start or just click the Start Test button to begin the entire sequence.
- Buttons at the bottom of the sequence display allow the user to Pause, Abort, or Resume the sequence.
- Executed test steps are highlighted in green (pass) or red (fail) to indicate how the sequence is progressing. The operator can scroll through the test sequence to review the outcome of each step.
- If the sequence is configured to do so, the sequence may pause at a failed step so the operator can repair and retest that step.
The unit under test (UUT) was monitored by the test system to view sensors both internal and external to the UUT. The external sensors are used to detect the environment of the unit, such as being in position, connected to power, and so on.
Besides a few thermocouples and digital inputs, measurement data used to determine pass/fail was obtained from the UUT via the data bus.
All these inputs were handled by a set of NI modules in a 4-Slot cDAQ chassis.
SOFTWARE FUNCTIONS |
---|
Data communications |
Acquire sensor data |
Control digital output |
Acquire digital inputs |
Test sequence management and execution |
Archiving of all test results |
HARDWARE USED |
---|
1 Port High Speed Communication Module |
8 Channel AI Module |
8 Channel Sourcing DO Module |
8 Channel Sinking DI Module |
Automated production test of EO/IR imaging subsystem
Automated production test of EO/IR imaging subsystem
Assessing quality of mission-critical electronics for imaging
Increased throughput by automated signal skew adjustment and pixel verification
Client – Worldwide supplier of products for aerospace and defense
Challenge
Our client wanted a test system that would significantly increase production rates for a very specialized focal plane array (FPA) and associated readout integrated circuit (ROIC) electronics.
In broad strokes, the system needed to support the following:
- Increase production test throughput as much as reasonably possible within budget and schedule constraints.
- Provide some low-code or no-code way to create new test protocols.
- Protect the DUT using hardware and software interlocks.
- Verify the correctness of test image(s) and all its pixels.
Solution
The FPA and ROIC testing for this client used many of the same techniques we have implemented for FPA/ROIC testers at some of our other clients. Thus, the solution was built around our AEDIS platform and some custom connectivity hardware which paired the DUT to the AEDIS hardware.
Specifically, the test needed to:
- Send digital signals from the AEDIS hardware to initiate and coordinate the test steps.
- De-skew bitstreams from the DUT.
- Organize and rearrange the bitstreams into image pixels.
- Provide custom “personality” modules to connect the DUT and AEDIS hardware.
- Protect the DUT from connection and power faults.
Benefits
All the bulleted items above are common requests from our clients and are supplied with the AEDIS platform or easily accommodated by design of the platform. Consequently, AEDIS often meets 80% or even 90% of typical client needs.
Thus, the client was able to cost-justify an AEDIS-based solution for two main reasons:
- overall system costs for an AEDIS-based solution were significantly less than a completely custom system and
- the increased production rates provided plenty of schedule buyback.
Furthermore, the script-based, low-code capabilities offered by AEDIS enabled:
- Support of different test images.
- Control of image transfer initiation, handling responses from the DUT, and flow.
- Version control (by the client) of script-based test configurations.
- Defined parsing of bitstreams to create the image pixels to simplify downstream image collection.
System Overview
The test system was built around AEDIS, which is a combination of five major components:
- NI FlexRIO PXI modules and chassis.
- Signal conditioning hardware.
- A REST API interface for the client’s test sequencer and LabVIEW FPGA for the hardware interfacing.
- An out-of-the-box browser-based app to interact with the AEDIS system.
- A source measure unit to supply and test the DUT’s power needs.
With this design, AEDIS acts as an instrument to incorporate into the client’s overall test system.
The NI FlexRIO modules use Xilinx FPGAs for digital I/O at the rates and channel counts required to fully test the FPA on the DUT. Some digital lines were used for commands to the FPA while most were used to receive output from the FPA.
The AEDIS interfacing hardware acts as an ITA while converting the FPA/ROIC signals to types expected by the FlexRIO. A custom “personality” module provides the physical connectivity from the client’s hardware cabling to the ITA. The AEDIS software handles the test configuration setup, data acquisition, and data storage via high-speed RAID drives.
During development of the test system, AEDIS hardware and software were also used to emulate the actual FPA and electronics to verify, before deployment, that the test system was working as required. This same setup can also be used for periodic verification as might be needed for an annual equipment performance audit.
Finally, configuration files were built from user-created scripts to give the client flexibility for adding new test capabilities for the DUT.
Some of the significant hardware and software challenges mitigated by this combination of PXI FlexRIO and AEDIS are:
- Interface to tester: The AEDIS system is treated as an instrument managed by an overall test system. The client developed some custom C# code to interface to the AEDIS REST API interface to automate their test procedures.
- DUT interfacing: Standard (keyed) cabling ran between the DUT and the custom AEDIS “personality” card to match cabling to the DUT. The output of this personality module went to the AEDIS LVDS modules.
- Channel skew: The high-frequency digital LVDS signals from the DUT can develop noticeable timing skews between channels upon arrival at the FlexRIO inputs due to signal path length differences. The test system had to detect and accommodate for these skews before combining the bits streams into bytes, then pixels, then an image.
- High data rates: Not only were the digital data output at high frequency but many channels were needed to accommodate the full frame rate of the DUT. The FPGA and the PXI backplane needed enough processing and transport bandwidth to accommodate the throughput.
- Interlocks: Keyed cabling and “signal present” software checks assured proper connections between the DUT and the AEDIS hardware before testing would begin. These safety checks were justified due to the high cost of each DUT.
- User-defined scripts: Scripts created and edited by the user provided flexibility to address future test types and system obsolescence. For example, the scripts defined details such as a) the DUT-specific commands (some of which could not be shared with us for secrecy reasons), b) when the image is being captured (or ignored), and c) if the image is stored to disk or RAM.
SOFTWARE FUNCTIONS |
---|
Browser-based app for manual operation and recipe creation and editing |
REST API interface for support of automated operation |
Configuration of the test via scripts |
Pre-test interlock checks |
Data collection, bit stream processing, and mapping digital bitstream to pixels |
HARDWARE USED |
---|
Standard AEDIS components for signal buffering, conditioning, and signal acquisition |
Custom personality hardware for connectivity and physical connection interlocks |
Signal test points in AEDIS breakout ITA modules enabled use of a logic analyzer for troubleshooting and further verification |
Automated Measurement System – Verifying Flow Rate Performance in a Medical Device
Automated Measurement System – Verifying Flow Rate Performance in a Medical Device
Assessing quality and managing traceability of a medical device
Automation increases throughput by testing multiple units independently
Client
Worldwide supplier of products for surgery
Challenge
Our client wanted to perform detailed quality checks on the performance of some of their fluid dispensing products. These products dispense fluid over long periods of time (hours) so rigorous testing of each unit in production would take too long. But, being medical devices, these products need to follow ISO 28620 standards and FDA 21 CFR Part 820 regulations, so a rigorous test process is helpful to fulfill these needs. The automated test system below is part of that overall fulfilment.
The client came to Viewpoint with the following high-level desires for a system to test the product:
- Support independent configuration and testing for up to 6 units.
- Simplify overall test setup by copying the configuration from one unit to another.
- Handle different volume amounts supported by assorted models.
- Measure from each unit the weight of fluid dispensed as a function of time. (Weight was converted to volume using the fluid density.)
- Compute the “instantaneous” flow rate (volume vs time) as the test progresses.
- Keep track of the calibration status of the weight scales at each of the 6 positions in the test system.
- Enable some measurements to be excluded at the start and end of the run for calculations of average flow rate.
- Provide graphs and metrics of results to enable faster review of the data during the test.
- Add ability to comment on each unit while testing is in progress, and after, and track these for compliance.
- Print (PDF) a report on each unit’s results along with its identifying info, such as subcomponent lot numbers, the test datetime stamp, and the operator’s ID.
Solution
The client had an initial version of the testing application which they developed for testing their various initial design iterations. Viewpoint enhanced this existing application with the features listed above. The motivations for this enhancement were to:
- Automate testing of the initial production units more thoroughly than the existing application allowed.
- Enhance the user experience for easier testing.
A major aspect of the user experience was to support testing of multiple units independently from each other so that unit testing on one device could start/stop while other devices were installed in (or removed from) the tester without interrupting tests on other units.
- This need was especially important since some models might take twice as long to test as other models or the setup of one unit might need additional adjustments before starting. This meant that starting and stopping all at the same time could reduce utilization of the tester, and it made sense to have independent and parallel operation.
- Furthermore, with parallel testing, the tester was not constrained to having a full set of units to begin testing operation, since the tester could run with only 1 unit installed.
The other major enhancements focused on the user experience by offering real-time data of a particular unit’s testing, as well as real-time graphs to show progress. These graphs were useful because the operator could clearly see when a unit was not performing as expected and the test for that unit could be aborted without affecting testing on the other units.
Since this testing needs to follow the requirements in the ISO 28620 standard and 21 CFR Part 820, it was important for the application to be aware of the calibration status of each of the 6 weight scales, one for each position in the test system.
Benefits
The main goal of this project was to augment the test operator’s ability to set up the testing of products while providing real-time visual feedback to the operator about the testing status.
Some of the benefits of this automated test system were:
- The test automation provided consistency resulting from the software-enforced test process.
- Test status via the visual feedback helped increase the efficiency of the operator.
- Enhance the user experience for easier testing.
System Overview
The application was developed in LabVIEW and measurements were made via RS-232 communications to each of the 6 weight scales. Once a unit was installed in the tester and the operator started the test on that unit, the application:
- tared that unit’s scale,
- started the flow,
- and collected weight measurements frequently to build a curve of “instantaneous” flow versus time.
These “instantaneous” flow numbers were used to compute statistics such as maximum flow and average flow over the course of the entire test run.
Some of the primary functionality of this system includes:
- Independent tests: testing a specific unit doesn’t interfere with testing of others.
- Graphs of flow rate during the test execution: visualize the unit’s performance during the hours-long test time, not just at the end.
- Calibration check: the next calibration date of each of the weight scales are maintained in a configuration file, so the operator can check that the test system is ready to run a test at a particular position.
- Different volumes: since each unit is tested independently, the system can handle different volumes for each position in the tester.
- Enhanced commenting: operators can enter comments about each unit (or all of them) and have these comments archived for compliance purposes.
SOFTWARE FUNCTIONS |
---|
Logging of weight versus time for up to 6 test positions via RS-232 communications to scales. |
Manage the configuration and commenting of the test. |
Save, recall, and copy configuration information to ease the operator’s setup effort and time. |
Display graphically the curves of flow versus time while the test progresses. |
Compute statistics on the flow after test completion. |
HARDWARE USED |
---|
Multiport ethernet to RS-232 serial communications. |
Custom Automated Test System – Quantifying Energy and Durability Performance for Refrigeration
Custom Automated Test System – Quantifying Energy and Durability Performance for Refrigeration
Automation reduces manual labor while improving traceability
Assessing performance for improved energy ratings and longevity
Client – Zero Zone – Commercial refrigeration systems manufacturer
Challenge
Zero Zone wanted to improve the capabilities and durability of their new reach-in refrigeration products.
You might think that refrigeration is a mundane product line, but that is just not true! So many innovations are occurring as manufacturers are redesigning their products to improve their environmental footprint through better energy efficiency, coolants, and durability.
Assessment requires an understanding of the performance of the refrigeration units under many conditions. Zero Zone was taking measurements with a datalogger with too few channels, and no synchronization, to other devices that feed into the system. Plus, they had multiple models of their reach-in refrigerators that needed to be assessed. Furthermore, simplifying the data collection and analysis would make it easier to validate against ASHRAE standards.
Zero Zone came to Viewpoint with the following high-level desires:
- Expand the measurements by adding more channels and channel types (e.g., 4-20 mA, ±10 VDC and digital I/O).
- Provide graphs and KPIs to enable faster analysis of the data during the test.
- Minimize the chance of data loss during long test runs.
- Synchronize data collection and actuation.
- Automate storage of measurements per a user-defined period to eliminate manual start/stop of data collection.
- Simplify the manual configuration setup.
- Enable a way to find relevant data perhaps months or years after the test run.
Solution
Viewpoint developed a monitoring and control durability test system that could exercise Zero Zone’s refrigerators through hundreds of operation cycles over multiple conditions to simulate actual usage in, for example, a grocery store.
During initial conversations, we collaborated closely with Zero Zone to brainstorm on some potential approaches. We made some suggestions that could satisfy their desires while also managing their time and cost budgets.
For example, by automatically populating the cells in an Excel template based on their original systems’ Excel spreadsheet, we provided streamlined report generation without having to rewrite all the calculation code embedded in their Excel file in another app. The compromises we jointly endorsed were:
- Run an app on a PC to configure and monitor the test.
- Use both NI Compact RIO and Compact DAQ to enable robust and synchronized data collection and control with the ability to expand channels by adding modules in both the cRIO and cDAQ chassis.
- Store data on a local PC rather than a remote server to minimize the probability of data lost during the test run.
- Save configurations into Excel files for recall, and cloning, of prior setups.
- Write measurements automatically into the same Excel file for archive of the test setup and measurements.
- Create, in this same Excel file through cell formulas, the summary report from the summary calculations. This approach allowed flexibility for changes to internal and external test standards.
- Upload the summary data and test reference info into a SQL database for data management and long-term test statistics.
Digital outputs (DOs) were used to control various aspects of the test, such as door open/close and defrost on/off cycles. For flexibility, the user can specify the sequencing of these DO channels, in the Excel file used for the test, with various parameters that define the duty cycle, period, number of cycles, and start delay. The timing of these DO state changes was synchronized to the data acquisition by the real-time loop in the cRIO.
This system was deployed to 6 test bays, each one of which might be testing a unit for as little as a few weeks or as much as a few months.
Benefits
The main goal of this project was to reduce the effort and associated human error in the design and execution of the test run.
Some of the primary benefits for this automated system were:
- Reduced Errors: pre-verified template files used for test configuration and data storage lent consistency to test setup and execution.
- Less Testing Time and Effort: the automatic execution of the test and storage of measurements enabled running tests for multiple days (and nights) without technician interaction. Technicians could work on setting up other units for test rather than babysit the existing test. On average, based on the duration of the test time, testing throughput increased by approximately 25% to 40%.
- Shorter Reporting Time and Effort: reports were available about 85% faster than the time previously spent creating manually. The quicker feedback saved costs through early detection of unit problems and faster teardown at the end.
Some additional major benefits were:
- More details on refrigerator operation: “Wow! We never saw that before.”
- Database consolidation: statistical analysis takes hours not days and includes all tests run in the lab, not just ASHRAE tests. This central database enables long term retrieval of all test data.
- Reuse: techs embraced ability to reuse and modify previous setups.
- Consistency: driving the test definition through an Excel file encouraged uniformity.
- Traceability: documented and timestamped calibration measurements.
- Flexibility: channel counts, acquisition modules configuration, calibration, and calculation formulas were straightforward to change for new test setups.
The test automation provided by this system greatly reduced the labor involved in configuring, running, and analyzing the test run. Furthermore, the customer benefited from the consistency that resulted from the software-enforced process.
System Overview
We developed the application in LabVIEW and LabVIEW RT combined with a cRIO connected to a cDAQ via TSN Ethernet.
The data acquisition modules slotted into the cRIO and cDAQ chassis handled the I/O to the customer sensors and actuators. The sensors mostly measured:
- temperature,
- pressure,
- flow,
- power, and
- voltage.
SOFTWARE FUNCTIONS |
---|
Data logging of between 50 and 150 channels and control via digital signals |
Interface with Excel files for configuration, data logging, and summary calculations |
SQL database for summary and test setup data |
Real-time loop for robust operation |
HARDWARE USED |
---|
NI cRIO 8-slot chassis, TSN enabled |
NI cDAQ 8-slot chassis, TSN enabled |
Various NI cSeries signal conditioning modules |
Replacing Wire-wrap Boards with Software, FPGAs, and Custom Signal Conditioning
Replacing Wire-wrap Boards with Software, FPGAs, and Custom Signal Conditioning
Electronic components of fielded systems were aging out
Reverse engineering effort converted wire wrap boards to FPGA-based I/O
Client – Amentum – A supplier for Military Range System Support
Challenge
Amentum (www.amentum.com) supports a decades-old system deployed in the early 1980s. While the mechanical subsystems were still functioning, the wire-wrapped discrete logic and analog circuitry was having intermittent problems.
Systems designed and built decades ago can sometimes have wonderful documentation packets. Nevertheless, we’ve been burned too often when the docs don’t incorporate the latest redlines, last-minute changes, or other updates.
The replacement system needed to be a form-fit-function replacement to land in the same mounting locations as the original equipment with the same behavior and connections. Below is an image of the existing wire-wrap boards and their enclosure. We had to fit the new equipment in this same spot.
Figure 1 – Original wire-wrap boards
Finally, Amentum wanted to work with Viewpoint in a joint development approach. While our joint capabilities looked complementary, we didn’t know at the start how well we would mesh with our technical expertise and work culture – it turns out we worked extremely well together as a team and neither one alone could have easily delivered the solution.
Solution
Since the team treated the existing documentation package with suspicion, we adopted a “trust but verify” approach. We would use the documents to give overall direction, but we would need details from the signals to verify operation.
Leveraging Amentum’s experience with the fielded systems, the team decided early on to record actual signals to understand the real I/O behavior. We used the system’s “test verification” unit to run the system through some check out procedures normally run prior to system usage. This verification unit enabled us to use a logic analyzer for the I/O to and from the discrete logic digital signals and an oscilloscope and DMM for the analog signals. The available schematics were reviewed to assure that the signals made sense.
With a trustable understanding of system operation, Amentum created a requirements document. We jointly worked on the design of the new system. There were both an “inside” system (in a control shelter) and an “outside” system (in the unit’s pedestal).
Some overall tasks were:
- Viewpoint recommended an architecture for the inside application running on PXIe LabVIEW RT and FPGA layers.
- Amentum created the system control software on a Linux PC.
- Viewpoint developed the more intricate parts of the inside application and mentored Amentum on other parts they developed. This work recreated the existing discrete logic and analog I/O using PXIe NI FPGA boards.
- Viewpoint designed custom interposer boards to connect harnesses to the NI PXIe equipment, including a test point and backplane boards.
- Amentum designed and developed the cRIO-based outside system application and Viewpoint created a set of custom interposer boards to connect harnesses to the cSeries modules.
The PXIe FPGA boards handled the required 60 MHz clock-derived signals with correct phases, polarity, and so on. Furthermore, the wire-wrap boards were register-based so the PXIe had to decode “bus signals” sent over a Thunderbolt bus to emulate the programming and readouts from the various wire-wrap boards.
Figure 2 – PXIe replacement to wire-wrap boards
Amentum wanted to be able to support the LabVIEW FPGA VIs used to replace the functionality of the discrete logic. So, Viewpoint acted as mentor and code reviewer with Amentum to ramp them up on using LabVIEW FPGA effectively. Neither one of us alone would have been successful coding the applications in the allotted time. Joint knowledge and experience from both Viewpoint and Amentum were required.
Signal conditioning and harnesses needed to be reworked or replaced as well, of course, since the landing points for the wires were different in the new system. Viewpoint suggested a technique, which we’ve used frequently in past obsolescence upgrade projects, to create PCB boards that accepted existing connectors.
For the cRIO, these interposer “connection” PCBs plugged directly into the cRIO cSeries module. For the PXIe, these interposer PCBs accepted the field wiring connectors and converted them to COTS cables that connected to the PXIe modules. These interposer PCBs could have signal conditioning incorporated as needed. This approach significantly reduced the need for custom harnesses. All told, about 200 signals were passed between the PXIe and various other subsystems, and about 100 for the cRIO. This approach saved significant wiring labor and cost.
Figure 3 – cRIO with interposer boards between cSeries and field harnesses
The work to design and build the signal conditioning custom electronics was split between Viewpoint and Amentum. Viewpoint did more design than build and handed over the schematics and Gerber files to Amentum so they could manage the builds while also being able to make modifications to the boards as needed.
Benefits
Amentum wanted an engineering firm that was willing to work along side them as a partner. Joint discussions about architecture and design led to a collaborative development effort where Amentum benefited from Viewpoint’s extensive expertise and guidance on LabVIEW architectural implementation and FPGA coding style.
The main outcomes were:
- As a partner of the team, Viewpoint acted as staff augmentation by providing experienced engineers with technical capabilities that Amentum initially lacked.
- This team approach delivered a stronger product to the end-customer more quickly than either of us could do alone.
- The combination of Viewpoint’s and Amentum’s experience reduced the amount of reverse engineering needed due to the lack of firm requirements.
- Reduction of electronics obsolescence by using software-centric FPGA-based functionality. Recompiled LabVIEW FPGA could target future boards models.
- Increased software-based functionality simplifies future updates and modifications.
- Decrease in number of parts leading to simpler maintenance.
- Lower wattage consumed eliminated need for an anticipated HVAC upgrade.
- Cybersecurity concerns were reduced by using Linux-based systems and FPGA coding.
System Overview
Using software to emulate the old hardware was a critical success factor. Since the requirements were not 100% solid at the start of the project, some field-testing was required for final verification and validation. The flexibility of the software approach eased modifications and tweaks as development progressed. A hardware-only solution would have necessitated difficult and costly changes. For example, some of the changes occurred very near the final deployment after the system was finally connected to an actual unit in the field.
SOFTWARE FUNCTIONS |
---|
Emulate original discrete logic functions via FPGAs |
Emulate original analog signal I/O |
Overall system control via Linux PC |
Maintain the same user experience as existed before |
Modern application architecture for simpler maintenance |
HARDWARE USED |
---|
NI cRIO chassis with various cSeries modules |
NI PXIe chassis with FPGA modules to handle all the analog and digital I/O via a combination of multifunction and digital-only cards |
Custom PCBs for signal conditioning and connectivity |
Automated Manufacturing Test System for Electronic Medical Devices
Automated Manufacturing Test System for Electronic Medical Devices
Using PXI and LabVIEW for modular testing of over 1,000 different models
Client – a medical device manufacturer and repair depot
Challenge
Our client manufactures hospital patient pendants used to control bed frame, nurse calling, and TV functions. The company was also growing after adapting a business model of being a repair depot for older designs for their own and the pendants of other manufacturers. As such, their products are very high mix and medium volume.
The basic functions for all these pendant models are closely related, so the client wanted a means to build a single automated test system that could verify functionality for 1000s of models. And, since the products are medical devices, the testers needed to comply to 21 CFR Part 820 and Part 11.
Solution
The testers were designed to support the common measurements needed to test the circuitry of the devices as well as the complex signals required to drive TVs and entertainment systems. A test sequence editor was created which allowed the client to create as many test sequences as needed to test each specific pendant model by creating a list from pre-defined basic measurement steps configured for each specific measurement.
For example, each device had a power supply, the voltage of which needed to be tested. To test a specific model, a voltage measurement step was added to the model-specific sequence and configured with the upper and lower measurement limits for the power supply. The complete test sequence was created by adding and configuring other measurements test steps as needed. Each test step could also be configured with switch configurations to connect the measurement equipment, such as a DMM, to the proper pins on the device circuit board.
Using this configuration process, the client was able to support the testing of well over 1000 models without any programming. A separate application was developed to create these test sequences which were saved as XML and fed to the test system for selection and execution.
The test execution was managed by NI TestStand and the pre-defined common test steps were written in LabVIEW. The test sequences and test results were interfaced to the client SQL database which they used in their ERP system. This ERP system used the results produced by the test system to help manage the workflow of production, for example by assuring that all units had passed testing before being shipped. Part 11 compliance was handled through checksums used to check if results had been modified.
Benefits
- Test sequence editor used to develop and maintain tests for 1000s of device models
- Enabling our client to create test sequences without programming reduced overall development costs by about 50%.
- Test sequences and test results were stored in the client’s ERP SQL-compliant database for integration with manufacturing workflow
- Modular and common software developed for the test systems reduced the V&V effort during IQ & OQ by allowing testing of the test execution application separate from the individual test sequences.
System Overview
The automated test system was able to execute each test sequence in three different modes: engineering, service, and production. Each mode has been specifically designed for various departments throughout the manufacturing floor. Typically, the manufacturing engineer would verify the sequence by executing it in engineering mode. Once the test sequence parameters pass, it was then approved for production testing.
During actual product testing, an approved and digitally-signed test sequence is loaded and executed via the test sequencer, designed for automated production. During execution, test results are displayed to the operator and simultaneously pushed to a database. The automated test system produces a record for each tested device, indicating the disposition of each test step and the overall performance of the device. All result data are digitally signed and protected from tampering.
The architecture of the test system follows a typical client – server model.
All client stations communicate with a central ERP and SQL server and each computer is secured by applying operating system security. The SQL server contains all of the test definitions, device history records and results. Information from it can be queried at any time by quality engineers throughout the organization, assuming they have proper login access. This provides real time status about products ready for shipment. Also, other than the software running on the client stations, no other user has permission to write or modify any information in this database. The client is able to keep the server in a protected area separating it from the manufacturing environment while the client test stations are placed throughout the manufacturing area.
Surprisingly, there were only twelve test steps needed to uniquely configure and be combined to create sequences to test well over 2000 unique models. Test steps are capable of measuring basic resistance, current and voltage parameters as well as perform sound quality measurements and high speed digital waveform analysis. Several tests were designed to be subjective while others are fully automated and test to a specified acceptable tolerance. During configuration, each test step requires the manufacturing engineer to enter expected values and tolerance limits to define pass – fail status. Upon testing, the devices are attached to a generic interface connection box and the test system makes the appropriate connections and measurements.
SOFTWARE FUNCTIONS |
---|
NI TestStand |
Low-level measurement drivers to interface to a DMM, signal generator, switches, and data acquisition cards. |
Measurement-based test steps |
Test sequence execution |
Test sequence management |
User access management |
Test report creation and management |
Verification of test sequence content and ability of user to execute |
Verification of the content of the test results |
HARDWARE USED |
---|
NI PXI chassis and controller |
NI PXI acquisition cards for analog measurements |
NI PXI acquisition cards for digital input and output |
NI PXI DMM for precision voltage and resistance measurements |
Audio amplifier for speaker tests |
INTERFACES / PROTOCOLS |
---|
Ethernet |
*- images are conceptual, not actual
Automated Manufacturing Test Systems for Medical Diagnostic Equipment
Automated Manufacturing Test Systems for Medical Diagnostic Equipment
Using NI PXI and LabVIEW as a common architecture for multiple test systems testing several subassemblies
Client: a manufacturer of automated blood analysis machines
Challenge
Our client was embarking on a complete redesign of their flagship automated in-vitro Class 1 blood diagnostic machine. In order to meet schedule goals, the design and build of several automated test systems needed to occur in parallel with the overall machine. In a major design paradigm shift, many components of the machine were being manufactured as modular subassemblies, every one of which was an electro-mechanical device. Thus, multiple testers were required to test each of the specific subassemblies in the machine. And, since this was a medical device, the testers needed to comply to 21 CFR Part 820 and Part 11.
Solution
With a looming deadline, the testers needed a common architecture, so that all testers could leverage the development from the others. Since each subassembly could be tested independently of the overall machine prior to final assembly, the design of the testers was based on a common measurement and reporting architecture, written in LabVIEW, that interfaced to the customers Part 11 compliant database for testing procedures and measurement results. Furthermore, procedures and validation checks for calibration of the testers were part of the overall test architecture.
Benefits
- Modularization of the test system architecture aided development and maintenance
- Reduced overall development costs due to standardization of test sequence steps and reporting
- Both test sequences and test results were stored in a managed database that satisfied 21 CFR Part 11 requirements
- Modular and common software developed for the test systems reduced the V&V effort during IQ & OQ.
System Overview
Since multiple subassemblies were being tested, with one part-specific test system per part, the automated test systems used as much common hardware as possible to simplify the development effort through common hardware drivers and test steps. Measurements were made with PXI equipment. Test steps and the test executive that executed the test sequence(s) were developed using LabVIEW.
The types of test steps required to verify the proper operation of each subassembly were categorized into basic operations, such as voltage reading, pulse counting, temperature reading, and communications with on-board microcontrollers. The specifics of each measurement could be configured for each of these measurement types so that each test step accommodated the needs of the specifics of each subassembly. For example, one subassembly might have needed to run the pulse counting for 2 seconds to accumulate enough pulses for accurate RPM calculation while another subassembly might have only needed 0.5 seconds to accomplish that calculation.
The configuration of a test step algorithm was accomplished via an XML description. The accumulation of these XML descriptions of each test step defined the test sequence run on that specific subassembly.
Test results were associated with these test sequences by completing the entries initially left blank in the test sequence, so that all results were explicitly bound to the test sequence.
The operator user interface distinguished between released and unreleased test sequences. With unreleased test sequences, engineers could try the most recent subassembly designs without needing to wait for final validation. The released sequences were only available to test operators. This login-driven branching was managed using the Windows login, so that the client employees could use their company badge-driven login process. Once logged in, the user would be able to execute the test sequence in automated mode, where all steps happen automatically, or manual mode, where one step could be operated at a time.
Furthermore, the Windows environment was locked down using built-in user account group policies to designate the level at which a user could access Windows or be locked into accessing only the test application.
V&V Effort
During the V&V effort, each test sequence was verified for expected operation, against both known good and bad parts. Once verified, the sequence was validated against the requirements and, when assured to be as expected, a checksum was applied to the resulting XML test sequence file and all was saved in a Part 11 compliant database. Upon retrieval, when ready to run a test, the sequence was checked against this checksum to assure that a sequence had not been tampered.
Test results, saved as XML in the same file format as the test sequence, were also surrounded by a checksum to verify that no tampering had occurred.
The IQ/OQ efforts were handled in a traditional manner with the client developing the IQ/OQ documentation, with our assistance, and then executing these procedures, again with our assistance.
SOFTWARE FUNCTIONS |
---|
Low-level measurement drivers |
Measurement-based test steps |
Test sequence execution |
Test sequence management |
User access management |
Test report creation and management |
Verification of test sequence content and ability of user to execute |
Verification of the content of the test results |
HARDWARE USED |
---|
PXI chassis and controller |
PXI acquisition cards for analog measurements |
PXI acquisition cards for digital input and output |
CAN card |
INTERFACES / PROTOCOLS |
---|
Ethernet |
CAN |
*- images are conceptual, not actual
Endurance and Environmental automated test system for electro-mechanical sub-system
(image is representative, not actual)
Endurance and Environmental automated test system for electro-mechanical sub-system
Automating tests that run for weeks at a time
Client – Automotive component supplier
Challenge
Our client was already doing validation, but it was manual, and the client’s customer started requesting faster turnaround of results. Their customer was also requesting data to be sent with the results. Our client chose to automate the validation process to enhance their productivity.
Solution
Viewpoint utilized the (mostly) existing hardware from the manual tester and developed software to automate the testing. The LabVIEW-based automated test system allows for endurance & environmental validation testing of an electro-mechanical sub-system.
Benefits
- Automates tests that run for weeks at a time
- Logs errors during the test (e.g., for continuous monitoring tests, logging the number of instances of when a UUT’s LIN (Local Interconnect Network) response deviates from a static, current draw outside of limits)
- Capable of testing a large variety of product lines
- Logs pertinent data to a database for post-test analysis/inclusion into reports
System Overview
The UUT is an electro-mechanical part that falls under a variety of different product lines. As such, the client had a couple variants of the tester, based on the communication needs of the UUT. A total of more than a dozen testers were deployed. The functionality of the tester evolved over time, specifically modifying software to make the tests faster / decrease cycle time.
SOFTWARE FUNCTIONS |
---|
Extensive diagnostic/manual operation of system for debug of software and electrical connections between the UUT and the test stand/tooling. |
Product-specific software components to operate unique products. |
Execute mechanical endurance tests. |
Execute environmental endurance tests. |
Database output containing results from every test cycle (either mechanical cycles or time depending on test being run). |
HARDWARE USED |
---|
USB-LIN module |
USB and PCI CAN Interfaces |
Analog input card |
Digital Input card |
Digital Output card |
Power Supplies |
DMMs |
Switch Matrix |
INTERFACES / PROTOCOLS |
---|
CAN |
LIN |
USB |
GPIB |
Endurance Tester using NI cRIO
Endurance Tester using NI cRIO
Multiple International Deployments Helps Prove Product Meets Spec.
Each endurance test can run upwards of 6 months.
Client: Major Automotive Component Supplier
Challenge
A new endurance test system was developed to give more precision in the control setpoint. This additional precision enabled potential clients to review the product performance in real-life situations. Each endurance test can run upwards of 6 months.
Solution
The updated endurance tester supports product validation by providing the desired parameter control method, allowing the client to prove more obviously that their part met the stated specification.
Viewpoint developed the software and selected the NI hardware for the first unit. The client is now deploying copies of this system to multiple international manufacturing plants.
Benefits
- Able to prove meeting a particular product specification of interest
- Closed loop parameter control
- Data collection
- Configurable Alarms
- Emergency shutdown functionality
System Overview
The cRIO-based endurance tester provides closed loop control, data collection, and alarming with controlled and emergency shutdown functions. The operator can manually configure a test or load a saved configuration. After a manual operator check to make sure the setup is operating correctly, a successful test will run its full duration and stop on its own.
SOFTWARE FUNCTIONS |
---|
Touch PC interface / GUI |
Closed loop parameter control |
Data collection |
Controlled & emergency shutdown |
Alarming |
HARDWARE USED |
---|
NI CompactRIO |
NI analog input cSeries module |
NI analog output cSeries module |
NI digital input cSeries module |
NI digital output cSeries module |
INTERFACES / PROTOCOLS |
---|
TCP |
Creating an N-Up Tester to handle increased production volume demands
Creating an N-Up Tester to handle increased production volume demands
Enhanced throughput offers ROI payback period of less than 1 year
Client
Automotive Components Supplier / Manufacturer
Challenge
The company makes automotive components in very large volume, several part models each at more than 1 million per year.
The client’s primary concern was conserving floor space. They were completely out of spare manufacturing space.
Solution
Viewpoint created an N-up NI PXI-based Manufacturing Test System. In this case, N=6 because analysis showed that a 6-up electronic part tester allowed the test operator to cover the test time with the load/unload time.
At the high volumes needed, the client needed to parallelize as much as possible. The cost of 6 sets of test equipment and device sockets was less important than speed. Using the equation:
ProfitPerUnit x NumberAdditionalPartsPerYearAfterParallelizing > CostOfTestEquipment,
being able to completely parallelize made the number of extra units per year large enough that the payback time for completely duplicating the measurement instrumentation for each UUT socket was less than about 1 year.
Benefits
- Paid for itself in less than 1 year by the enhanced throughput.
- This approach consumed about 20% the floor space that would have been used for duplicating the test system 5 more times (for a total of 6 testers)
System Overview
Viewpoint developed an NI TestStand application that ran 6 instances of the test sequence independently of each other utilizing the duplicated PXI-based test equipment. The common parts of the overall master sequence were:
- Startup check for the entire test stand
- Shutdown of the entire test stand
- Archiving the test results into the database
Part handling was managed by a PLC and robot which delivered the parts from a tray into the UUT sockets. Digital bits were used for signaling the test sequence which parts were present in their sockets and ready to test.
SOFTWARE FUNCTIONS |
---|
Test System GUI |
Test sequencer |
Startup checker |
Test Results Archiver |
Increasing Test System Automation for Existing Tester to handle Production Volume Demand Increase
Increasing Test System Automation for Existing Tester to handle Production Volume Demand Increase
Reduced test time across several products by an average of ~25% and reduced time to create paperwork by ~3x
Client
Manufacturer of high-voltage power supplies
Challenge
The client already had an existing manufacturing test system in place. They wanted Viewpoint to enhance the tester due to an increase in production volume demand. Viewpoint reviewed the existing test system and noted 3 areas for improvement:
- Automation available in the measurement instruments – most of the test equipment was automatable, via some combination of serial, GPIB, or Ethernet interfaces. Furthermore, some equipment, such as an oscilloscope, had the ability to store and recall setup configurations. The test operators already used these configurations to decrease setup time for the next test step. Most test equipment did not have automated setup.
- Operator time spent on each test step – the client had been through a Lean assessment and had already done a good job of timing operations. However, we specifically noted that the operator was manually connecting to the test points and manually transcribing to paper the measurement results from instrument displays.
- Automating the connections – many types of product models were being tested at this test system. Connecting the test equipment to all sorts of products would require either 1) many types of test harnesses and connectors or 2) a redesign of the products to make test connections simpler and quicker.
Solution
The enhanced automated test system included automation of instrumentation interfaces, a test executive to run the test sequences, automated test report generation, and automated test data archiving for the electronic UUT.
Benefits
- Reduced total test time across several products by an average of ~25%.
- Time to create paperwork was reduced by ~2/3 due to automated data collection.
System Overview
The enhanced test system included the following updates:
- Test sequence automation
- Automated test report generation
- Automated test data archiving
- Automation of instrumentation interfaces
- Configurable automated test steps associated with each type of measurement instrument. The test operators would create a sequence of steps to setup each instrument and record the resulting measurement. The sequence of steps could be saved and recalled for each product to be tested, so the instruments could be used automatically.
- New programmable meter – integrated the new DMM meter with a programmable interface to replace the one that was not automatable.
- Foot switch integration – Since the connections to the test points were manual, a foot switch allowed the operator to take the measurement and advance to the next step.
The StepWise test executive platform managed the multiple test procedures created for the different products. StepWise also handled creation of HTML reports for every part tested.
SOFTWARE FUNCTIONS |
---|
Test GUI |
Test Sequencer |
Report Generator |
Test Data Archiving |
Instrument interfaces |
Product Validation & Production Test System – For complex Mission-critical sub-system
Product Validation & Production Test System – For complex Mission-critical sub-system
Upgrade reduces per unit test time by ~40% and improves reliability of software
Challenge
The customer needed to upgrade their existing test system. Their old test system was very manual:
- It did not provide ability for unattended operation
- The thermal control had to be set manually
- They wanted to do less manual review of the data
The client develops mission-critical products, so there’s a desire to reduce manual operations because they have to explain any anomalies, and manual operations are typically more error-prone. They needed repeatable results that they could trust.
Solution
Viewpoint developed a new test system that utilized new hardware and software, augmented by existing low level hardware and firmware. The test system was developed to perform both functional test for production and environmental testing, and was designed to handle up to 4 DUTs at once. The test system utilizes the StepWise test executive software with custom test steps, which allowed the client to create their own highly configurable test sequences. The system was developed in two phases, with the second phase adding support for a FPGA expansion backplane (NI CompactRIO chassis) in order to provide future capability for bringing some of the microcontroller sequence activity into the NI space. In addition, the previous version had a mix of serial, TTL, and USB instrumentation, which was not as robust as Ethernet based instrumentation. Phase II involved upgrading to all Ethernet based instrumentation, and did away with the original test system’s many manual toggle switches that could be used instead of the programmable mode through the SW.
Benefits
- ~40% test time reduction per unit
- ~25% reduction in anomalies that needed to be justified
- ~500 manhours saved in test execution
System Overview
Software Functions |
---|
Test sequencing |
Test report generation |
Data recording/logging |
Error handling |
Test GUI |
Oscilloscope interface |
Thermal chamber interface |
Power supply interface |
External custom hardware interface |
Custom Manufacturing Inspection System – with Machine vision and Advanced Motion Control
Custom Manufacturing Inspection System
with Machine Vision and Advanced Motion Control
Client – Xerox
Challenge
Our client had an old manufacturing inspection system (really two systems: one inspection system and an assembly/inspection system) that would no longer be supported by IT and was going to be removed from the network. They needed the operating system updated, so they decided to take this as an opportunity to port the old code from VB to C#.NET, as well as update some hardware.
As migration projects often do, this effort began by working with the client to solidify requirements, followed by a reverse engineering effort to understand the old system to try to make it match the new system as much as possible.
Solution
The updated manufacturing inspection system (one inspection system and an assembly/inspection system) included a new operating system, ported code, new motion control software, new machine vision software, and a new GUI.
Benefits
- OS Update – Updated operating system that is supported by the IT department and is less of a security risk
- Software Porting – Ported software to more maintainable language
- Measurement Accuracy – Increased inspection measurement accuracy for sub-set of measurements
- New GUI – improved operator user experience by improving readability, reducing # of required button clicks, and adding auto scroll functionality
- Report Generation – maintained existing format to interface with customer database
System Overview
The device under inspection is essentially an image sensor array used for scanning images in high end commercial-grade scanning printers. The inspection system utilizes machine vision and precision motion control to verify the location & orientation of several parts, with measurement accuracy measured in microns.
SOFTWARE FUNCTIONS |
---|
Vision / metrology – pattern match and inspection |
Camera interface |
Motion controller interface |
Command Recipe Decoder |
Report Generation |
Camera Calibration |
Robot Controller Command Interface |
GUI |
HARDWARE (SELECTED & SUPPLIED BY CLIENT) |
---|
Cognex camera |
ACS motion control system |
2-Dimensional Cartesian Robot & Controller |
Inspection fixture |
Power Supplies |
INTERFACES |
---|
EtherCAT |
Modbus/TCP |
Production Test of Large Uninterruptible Power Supplies
Production Test of Large Uninterruptible Power Supplies
Manufacturing Test of UPS Units Designed for Data Center Backup Power
Client: A major manufacturer of data-critical three-phase uninterruptable power supplies
Challenge
A major manufacturer of very large three-phase uninterruptible power supplies (UPSs) needed better measurement, analysis, and report generation capabilities. Their clients used these UPSs on mission critical equipment, such as data warehouse server farms, communications equipment, and so one. Existing testing procedures used equipment that did not allow for complete simultaneous coverage of all sections of a UPS unit, from input to output. Our client wanted a better understanding of the signals on each of the three phases at various locations within the UPS, especially when power sources were switched or faults were induced.
Also, in the prior test procedure, factory acceptance reports were manually assembled for our client’s end-customers, delaying the final sign-off. Finally, since the end-customer might want to run a specially configured test or run a series of tests in a different sequence than some other end-customer, our client wanted to be able to rerun certain types of tests or run tests in a customer-specific order. Thus, the test sequencing needed to be flexible and editable, possibly on the fly.
Finally, synchronization between the data collection on all signals was critical to assess functionality, since all 3-phases of the UPS output needed to be in the proper timing relationship.
Solution
At a high-level, the majority of testing a UPS relies on knowing the reaction of the UPS to changes on the input side (such as a grid power outage) and changes on the output side (such as an immediate heavy load). Thus, many of the tests performed on a UPS deal with power quality measurements, such as defined by IEEE 519 or IEC 61000 series standards, which cover both continuous and transient operation. The StepWise test execution platform was utilized to allow the customer to develop arbitrary test sequences using the application specific test steps developed for the program.
Our solution used a cRIO to measure both current and voltage from each leg of the 3-phase power (and neutral) by using appropriate cSeries modules connected to various voltage and current test points within the UPS. The cRIO had enough slots to allow a single cRIO to measure a single UPS.
Assessment of continuous operation mainly reviewed the UPS output power quality. Here, it was important to know the amplitude and phase of each leg of the 3-phase power. Synchronous data acquisition between all voltages and current channels was needed for proper timing alignment of collected data points.
Assessment of transient operation was often a review of power ripple and recovery time. For example, in the event of grid power loss, a UPS would switch over to backup power, with the result being a small transient created on the output a UPS. Again, the voltages and currents needed to be collected synchronously to assure that event timing was aligned.
For increased power capacity, the UPSs could be connected in parallel. When ganged together, the continuous and transient behavior of each UPS needed to be compared to the others, in order to capture the behavior of the entire combined system. Consequently, each cRIO (one per UPS) had to share a clock to enable synchronous data collection across all cRIOs. A timing and synchronization module was placed into each cRIO chassis with one cRIO acting as the master clock source and the others being slaved to that clock.
The overall test system architecture has a master PC communicating with each cRIO. Each cRIO was placed in certain activity states by the master PC, such as “arm for measurement”, “transfer collected data”, and “respond with system health”. This arrangement enables the number of cRIO to shrink or grow depending on the number of UPSs being testing in parallel.
Results
The test system connected the timing module in each cRIO in a daisy-chained configuration, leading to data sampling synchronization error of less than 100 ns between all cRIOs, which translates to about +/-0.001 degree phase error for 60 Hz power signals. This timing synchronization was more than sufficient to analyze the collected waveform data for power quality and transient structure.
LabVIEW was used to create various configurable test steps that could be executed in random order as well as in an automated sequential manner. Our client was thus able to test a UPS in a predefined manner as well as react rapidly to queries from their customer when they were viewing a factory run-off test. For example, the customer might ask to re-run the same test several times in a row to validate consistent responses.
Each type of test included automated analysis routines that numerically calculated the relevant parameters against which the UPS was being checked. Not only was this automated calculation faster, but it reduced mistakes and improved reproducibility as compared to the previous post-testing partially manual calculations.
Data from all tests, even repeated ones, on a given UPS were archived for quality control purposes and made a part of the device history for that UPS.
Finally, the report generation capability built into this test system was far superior to the previous methodology by allowing our client to hand their customer a professional report package practically immediately the testing was complete. Customer satisfaction was improved substantially with this state-of-the-art test system.
Manufacturing Test – for mission-critical components
Manufacturing Test – for mission-critical components
Using PXI & LabVIEW RT
Client: A major manufacturer of implantable cardiac and neural stimulators
Challenge
Our client needed several extremely reliable test systems to test the batteries that power their implantable medical devices. These new test systems were needed for two main reasons. First, the needed to upgrade existing obsolete test equipment, based on antiquated hardware and software. Second, new battery designs could not be tested on the old equipment.
A critical aspect of the new test system was the need to detect any excessive charge being extracted from the battery, thus rendering it unsuitable for surgical implantation. Thus, the test system needed to monitor the total energy withdrawn from a battery during testing to assure that it never exceeded a certain limit while also offering precise control of the type of pulses being drained from a battery.
All test results had to be stored in a database in order to maintain device history for each battery manufactured for archiving, quality control, and process improvements.
Solution
The updated manufacturing test system is PXI-based along with a custom micro-controller-based circuit board for some low-level control. Each PXI controller communicated to the microcontroller (uC) on the custom PCB via CAN. The uC controlled the current drain from the battery while monitoring actual current and voltage from the battery at over 1000 samples per second using a precision 6.5 digit PXI DMM. Additionally, each PXI chassis was used to test many hundreds of batteries. Signal connections were handled by several switch multiplexers. Overall control of all the PXI testers was managed by a host PC connected to the PXI controller.
Benefits
- Reduced test system cost vs complete COTS solution with combo LabVIEW RT on PXI and firmware on microcontroller-based custom circuit board
- Enabled tight control of DUT operation on controller with microsecond level responsiveness while being supervised by higher-level PXI RT
- Quick-reaction test abort capability
- Test results stored to database for archiving, quality control, and process improvements
System Overview
In a simplified view, the testing proceeded by pulsing the battery with a series of different durations and varying amperages. The exact sequence of this pulsing is unique for each DUT model. Measurements were made using a PXI filled with various NI boards such as DMMs, for accuracy, and data acquisition cards, for general purpose use.
Additionally, the pulsing amperage levels needed to be tightly controlled in order to know that the tests have been performed properly. Thus, a real-time amperage control scheme had to be implemented to maintain the level requested for the pulse. We chose to accomplish this control via an analog control circuit developed using a custom Viewpoint-developed circuit board. This board was controlled via a Microchip PIC microprocessor. The LabVIEW RT application communicated with the microcontroller to setup the pulsing sequence and coordinate the start and stop of the pulsing and the NI acquisition hardware.
This custom circuitry also reduced the overall cost of the test system by about 40%.
The engineering time to design this custom circuitry was more than offset by the reduction in material costs because more than 10 test systems were deployed, allowing the non-recurring engineering effort to be shared between many systems.
When no critical issues were detected, the waveforms acquired by the PXI system were stored and then analyzed to determine the viability of the DUT. The pass/fail disposition, the waveforms, the total energy consumed, and other test results were then passed along to a master PC that managed all these results in a database for archiving, quality control, and process improvements, each set of results being tied to the unique unit serial number.
The test systems provided reliable operation for testing the large annual production volumes of the mission-critical DUTs.
SOFTWARE FUNCTIONS |
---|
LabVIEW RT – for managing the microcontroller functions and overall data collection and safety monitoring |
Microcontroller application – to provide precision pulsing of the batteries |
Communicate to the host PC – to both receive pulsing instructions and configurations and to return pulse waveforms for each battery tested. |
MAIN HARDWARE COMPONENTS |
---|
PXI chassis & controller |
PXI DMM |
PXI analog input modules |
SCXI multiplexing switches |
INTERFACES / PROTOCOLS: |
---|
Ethernet TCP-IP |
CAN |
Manufacturing Test System for Electrical Components
Manufacturing Test System for Electrical Components
Replacing Obsolete Custom Electronics with cRIOs in High-Power Capacitor Testing
Modular Embedded cRIO Systems Shortens Development and Reduces Risk in Complex PC-based Test System
Client: A major manufacturer of electrical power generation and distribution equipment.
Problem Scope
This project involved retrofitting a test system used to verify operation of a high-power capacitor used in electrical power distribution. This system was originally built around 1990. Critical sections of the original test system relied on custom, wire-wrapped analog and digital circuitry to process, analyze, and isolate the high-voltage and high-current signals created by the capacitor. Analog filters, rectifiers, and comparators produced pass/fail status signals. A master PC, other measurement and control equipment, the analog circuits, and a six-position carousel were integrated to create the entire automated test and control system.
For each unit under test (UUT), test specifications are obtained from a Manufacturing Execution System (MES) and cached locally. The subsystems at each carousel position are designed to run independently. This parallel capability allows greater throughput and reduced test time per capacitor unit. In addition, as different capacitor models move through the carousel stations, the test parameters and conditions must be aware of the particular model being tested.
Test results for UUT are pushed back to the MES system for record retention and data mining. The existing MES interfaces were retained exactly for the retrofit.
Challenge
All capacitors require 100% testing prior to shipment, so the test system is critical for the facility operation. Two or even three shifts are common depending on production needs and the facility cannot afford any significant downtime. Thus, a challenge was to design and build a test system that worked and was very robust.
Another huge challenge was the lack of documentation on the existing system, requiring a sizable amount of reverse engineering to understand the test system operation before development on the new system could begin.
Furthermore, one of the most important challenges surrounded replacement of substantial amounts of original test equipment before the new test equipment could be installed. Thus, we absolutely had to minimize the time and risk in this upgrade changeover.
Technical Highlights
A schematic of the overall system architecture is shown in the figure. The major components of the system are:
- Master PC for supervisory control and test execution management
- NI cRIOs with FPGAs and Ethernet for independent yet PC-supervised operation
- Station-specific FPGA code for replacing wire-wrap circuitry functionality
- Integration with existing MES, safety equipment, tooling, and measurement hardware
The architecture chosen was made very modular by the capabilities offered by the cRIO. The Master PC interfaced with station-specific measurement instrumentation as needed, such as GPIB controlled equipment, and coordinated control and outcomes from the cRIOs. This additional equipment is not shown in the figure.
Solution
The Master PC coordinated all the activities including interfacing with the existing MES database and printers at the manufacturing facility. In addition, this PC provided the operator interface and, when needed, access to engineering screen on a diagnostic laptop.
The cRIOs were essential to the success of this test system. Each cRIO functioned as the equivalent of a high-speed standalone instrument.
The cRIOs at each carousel test position had to provide the following features:
- Digital I/O for machine feedback, safeties, and fault conditions
- State machines to coordinate with external commands and signals
- Perform numeric calculations to emulate the old analog circuitry
- Control loops for currents associated with voltages needed by different capacitors
- Communication support with the master PC
- Computation and detection of internal fault and UUT pass/fail conditions
We were able to duplicate the behavior of the wire-wrapped circuitry by converting the schematic diagrams of these circuits into FPGA code and then tweaking that code to mimicking the actual signals we measured with data acquisition equipment on the original test hardware.
The outputs of the circuitry were reconstructed on the FPGA with band-pass filtering, calibration compensation, point-to-point RMS, and phase & frequency functions. This functionality was implemented in fixed-point math and the 24-bit inputs on the A/D provided sufficient resolution and bandwidth for a faithful reproduction of the electronic circuitry. These embedded cRIOs provided a very effective solution to what otherwise might have required another set of costly and rigid custom circuits.
Finally, for optimizing the task of replacing the old equipment, we used a set of cRIOs, not shown in Figure 1, to provide Hardware-In-the-Loop (HIL) simulation of the manufacturing and measurement equipment. These cRIOs imitated the rest of the machine by providing inputs to and reacting to outputs from the embedded cRIO controllers, thus supporting comprehensive verification of the new test system before the tear-out of the existing hardware. Furthermore, these HIL cRIOs enabled fault injection for conditions that would have been difficult and possibly dangerous to create on the actual equipment.
Not ready to chat but want to learn more? Check out these resources: