Optimized Control for an Independent Metering Valve With Integrated Diagnostic Features