290 likes | 427 Views
A new servo controller for a Materials Testing Machine - MTM Final Presentation B. Students : Uri Goldfeld & David Schwartz Supervisor : Daniel Alkalay & Amir Reoven. General System Description.
E N D
A new servo controllerfor a Materials Testing Machine - MTMFinal Presentation B Students : Uri Goldfeld & David Schwartz Supervisor :Daniel Alkalay & Amir Reoven
General System Description The MTM system we work on is a mechanical system that allows us to test the physical properties of materials and structures. Testing is done by applying static or dynamic loads, using an hydraulic actuator in closed-loop servo control. Feedback for closed loop control uses displacement OR Strain sensors. The MTM system enables us to determine tensile/compressive strength, fatigue resistance, crack growth resistance ect.
Main Project Goals The global purpose is to develop a modern computer based mechanical testing system, using current hardware and software tools. Part A: Part B: Servo + hydraulics Old control system Software controller FPGA LabView
Goals achieved Part A • Learning LabVIEW • Learning the required control tools • Performing system identification • Implementation of a simulation environment • Simulate the whole system using our controller • Keeping the environment General
Hardware: - E series 6036 DAQ card - M series 6122 DAQ card - hp33120 waveform generator via RS232 Software: - NI LabVIEW 7.1 - DaqMx toolbox - PID toolbox
Project Goals of Part B: • Learn LabVIEW FPGA module • Learn LabVIEW RT module • Build the control system in FPGA • Generate all required experiment waveforms • Build a general system which can be easily adjusted when hardware is changed • Allow control on most functions and parameters • Build an “easy to use” GUI
Hardware: -PXI 8187 chassis - NI FPGA PXI-7811R - Valve driver (amplifier) - LVDT signal conditioner - Load Cell signal conditioner - Power supply Software: - LabVIEW 7.1 - LabVIEW FPGA module
LabVIEW FPGA module The LabVIEW FPGA program consists of two parts: • host VI • FPGA VI The Host VI executes on windows and the FPGA VI must be compiled and downloaded to FPGA.
PXI 8187 LabVIEW windows Signal generation Gui, configurations FPGA 7831R PID , Limit check Interlock check New system overview valve driver Lvdt conditioner Load Cell conditioner Power supply Lvdt Load Cell Valve
InputsOutputs to FPGA User configurations[physical] PID Parameters LabVIEW windows PV from FPGA Limits [V] Stimulus signal [V] Limits status configurations Set Point (encoder)
User configurations • Choose control sensor and limit sensor • Configure Limits for load (Kg) and displacement (cm)
User configurations (cont.) • Waveform type, amplitude, frequency • PID parameters (optional) • Sensor Calibration parameters (optional) return
Signal Generation • User specification are in physical units i.e Kg, cm, mm/min Kg/min • Signals supported – sine, ramp, square, idle, set point, triangle, haversine, havertriangle, haversquare.
Initialization data Unit converts Master int. limits Idle Signal Generation User configurations mux Signal type Signal type V2B Amplitude & Freq Amplitude & Freq. calc FPGA
VI hierarchy return
InputsOutputs Configurations from windows External: Stimulus signal to “Valve driver” FPGA 7831R Details LVDT conditioner Internal: Response signals to windows Load Cell conditioner Limits check result to windows “Hard” interlocks Optional feature: internal “signal conditioner” to LVDT (get response “sine”) send stimulus “sine” and calculat the valve’s location
FPGA 8187 details • Hardware: NI PXI-7811R: - 1M gate FPGA, 160 DIO for PXI - 16 bit A/D,D/A - ± 10V@20mA excitation • Phases: 1. Filter input signal (sample every 20 uSEC) 2. Check limits on input signal if o.k. pass to phase 3 3. Every 1mSEC send input signal to PID for control 4. Send control signal to “valve driver”
Setup of limits windows Master interlocks Limit check Filtering SP PV A/D LVDT PID Load Cell Valve Driver D/A Rate Limiter return
Internal signal conditioner (LVDT) System Description: LVDT input: requires an excitation sine of 5KHz, 10V. LVDT output: amplitude modulatedsine and sign (ΔΦ = 0 or 180 ) To find the position of the servo valve, the LVDT output is divided be the excitation, then filtered to get the correct DC value return
Valve driver • Servo drive requirements : ±10V @ 70mA • PXI D/A spec: ±10V @ 20 mA. • The servo valve input requires a Bipolar excitation (0 and π) • The PXI 7831R synthesizes one vector, internal 16bit D/A drives the external power amplifier. • The power amplifier generates the Bipolar signals • Valve driver – power amp Specs: • 2 x opa541 power operational amplifiers • +-15V supply, max current output 500mA • Output over load & temp protection • DC offset 5mV return
conditioners LVDT: singer EL-15 series zero & gain trimmers ±12V power supply 10V, 5.7Khz sine excitation voltage Load Cell: 10V DCexcitation voltage 12V power supply
Features summary • Generic servo valve control system: suitable to general servo valves and conditioners configurations • Auto tune system: auto adjustments of control system parameters • Supports all required experiment waveforms • Supports load and displacement control • Friendly GUI • Can be extended for additional waveforms, sensors, actuators and different GUI. Forward
Calibration and Manual tune Tuning and calibration is required After changing a part of the system (valve, sensors , ect..) return
Auto Tuning • Different program was made for auto tuning. It finds the PID gains automatically for the servo valve, according to user requirements. return
System Limitation (Bottlenecks) • FPGA : 1.Only 1M gates. (we use ~75% of it) 2.Long compile times for every change. 3.FPGA Emulator can’t simulate RT loops. • LabVIEW Windows : 1. maximum time resolution of 1 ms. 2. Other programs running in the background may cause control gaps. possible solutions : 1.additional memory 2.LabVIEW RT
Future work • Connect hydraulic and Hard interlocks to the FPGA. • integrate all Electronics and mechanical controls on to a suitable Enclosure. • Add data logging capabilities . • Provide a client server function (web control). • Optional : Change execution environment from LabVIEW windows to LabVIEW’s RT module.
Demonstrations 1. Sine experiment LabVIEW 2. Sine experiment Caliber 3. Ramp experiment LabVIEW 4. Ramp experiment Caliber