Finding the Best Electronic Solution
Maritime transport is crucial to the world’s economy. With 90 percent of the world’s trade shipped by sea, it is the most cost-effective way to move bulk cargo across the globe. Ocean freight services also have a smaller carbon footprint than air freight. Efficiency continues to improve with the newer, larger generation of container ships exceeding 400 m in length and weighing up to 200,000 tons. Moving these giants requires a power plant the size of a three-story office building to drive gearing and propellers of huge proportions. To ensure this drive train succeeds, we needed a colossal test rig.
With a rig of these proportions and vast power capabilities, we needed an approachable development platform that keeps all aspects of control, acquisition, and safety in one system. Normally, when a rig like this is designed, there is a logger from one supplier, multiple PID control systems from another, and logic handling from yet another.
The downside with this approach is that it can end up separating responsibilities and skills across suppliers with each expecting to work on their own specialty as there is no commonality between the tools. Integrating the individual components can be complicated and costly, in both time and budget. Identifying the root cause of problems can take time as everyone oversees only their specific area of specialty. Many different vendors are used, which limits scalability due to the time spent on integration when any single component changes. This makes future proofing a design challenging.
We chose LabVIEW and CompactRIO as they have simple integration and expandability. Because they are part of the same platform, everyone can be familiar with every part of the system. This makes fault finding significantly easier. Scalability becomes straightforward too as CompactRIO features an expandable chassis for new I/O and sensible programming in LabVIEW makes adding new features a quick process.
Computer Controlled Solutions Limited (CCS)
CCS is an NI Silver Alliance partner with a strong core in software and electronics design. We have four software developers, three of whom are Certified LabVIEW Architects, within our engineering staff. We provide test rigs and DAQ systems primarily for the auto sport and aerospace sectors. We are domain experts on the CompactRIO platform and can deliver real-time processing and advanced FPGA solutions to a wide range of problems. We solved this problem with our mantra of “minimize the brains.”
We use CompactRIO and its I/O because the platform is:
- Modular—Off-the-shelf hardware is available quickly and worldwide.
- Parallel—All logic is efficiently coded in FPGA firmware with a 25ns response. FPGA use is a key decision; it means all the critical control and acquisition is handled at the same time instead of using microprocessors that must execute all logic in a series where one process can hang all the others.
- A Single Development Environment—The whole project is self-contained in a LabVIEW project file, so no third-party add-ons can upset maintenance in future years.
- Expandable—The modular nature and rack mounting of the CompactRIO product means we can easily expand the system in the future. Here, we used three CompactRIO systems all synchronized and handling hundreds of I/O with a high-bandwidth acquisition of data.
Moving 25 Tons and Applying Large Load
The test rig has a 25-ton platform that supports the 30-ton drive train. We raise and lower this with submillimeter accuracy to engage splines and then apply up to 400 kN of tensile or compressive load.
We also accurately apply 300 kNm of torque to the unit whilst it is rotating at constant speed. Considering the average sports car can produce 0.5 kNm of force, we were dealing with considerable torque. We applied the load using two large actuators precisely synchronized and able to swap between a displacement and load control mode. We based our solution on custom written closed-loop control code on the FPGA. Based on standard PID control loops, the CompactRIO platform helped us design more complex algorithms to account for precise dual control of load and displacement. For accurate and noise-free measurement, we used digital devices wherever possible wired directly to the FPGA. We measured the torque frequency signal and absolute encoder data, which results in total calibration accuracy, 100 percent linearity, and high-speed measurement for critical feedback channels.
Flexible Software Design Criteria: How DIAdem and TDMS Are Essential
As this was a new machine for testing units at the end of production, we still faced questions about how to apply the high loads and torques, rather than just simply testing, analyzing, and reporting. Our engineers needed ultimate flexibility in using this rig for research, quality testing, and production test processes.
The solution was to design the software with a clear status ribbon along the main screen. This ribbon clearly indicated the full range of loading, installing, and testing the unit in such a way that the operator could step forward and backward at any time along the process. If required, the operator could then go once through a whole test process or skip parts or perform retests at will. The issue with this approach is: how do you acquire all this data in a tidy format, in one file, and analyze it with any popular package when you don’t know what data you will collect and in what order until runtime?
This is where saving in a Technical Data Management Streaming (TDMS) format helps. We open a new file when the unit under test is loaded and can then save separate data blocks at will, with full calibration information, varying channel count, and frequency as required. Data is grouped by type so that if an engineer performs a retest, the new data can be logically stored next to the data of the first test. This data is in a compact, single file which can easily be loaded into Excel, DIAdem, The MathWorks, Inc. MATLAB® software, and more with very clear metadata for analysis and reporting.
Fast Fault Detection
Detecting a transducer fault quickly is critical with a test rig of this power and size. Writing algorithms in LabVIEW on the FPGA allowed us to constantly monitor all critical transducers. Any failure instantly puts the rig into a controlled and safe shutdown procedure and clearly indicates the nature of the fault and its location to the operator for quick repair.
The rig is fully complete and operational. Shipping, building, and commissioning this giant test rig to a remote location in Europe was aided using secure remote access to directly assist the operators and carry out any modifications to software.
As a company, we learned a lot about upscaling to these huge forces and the best control methods to suit the application. We also have high-resolution cameras to assist in loading the unit. In the future we can incorporate these into LabVIEW with machine vision software to help automate the measurement of gear contact patterns.
The NI hardware and software platform approach proved to be the best solution and one we will continue to take advantage of in building more “big engineering” products.
Computer Controlled Solutions Limited
Tel: +44 1926 485 532