160 likes | 333 Views
MOBY DIC TOOLBOX. MOBY-DIC WORKSHOP Noordwijkerhout , 23-08-2012. DESCRIPTION. Main features :. MATLAB / SIMULINK. Object oriented programming. Graphical User Interface. HTML Documentation. GPL v2 license (open source). http://ncas.dibe.unige.it/software/MOBY-DIC_Toolbox/.
E N D
MOBY DIC TOOLBOX MOBY-DIC WORKSHOP Noordwijkerhout, 23-08-2012
DESCRIPTION Mainfeatures: MATLAB / SIMULINK Objectorientedprogramming GraphicalUser Interface HTML Documentation GPL v2 license (open source) http://ncas.dibe.unige.it/software/MOBY-DIC_Toolbox/ Requirements: MATLAB R2008a or newer C / C++ compiler Hybrid Toolbox Multi Parametric Toolbox (MPT) Yalmip MATLAB R2011a and Xilinx System Generator (onlyfor HDL simulation)
CONTROL/CIRCUIT CO-DESIGN PLANT EMBEDDED CONTROLLER Fast Small Low-power Low-cost
GOAL OF THE TOOLBOX (1) Control/circuit co-design LINEAR SYSTEM CONSTRAINTS CONTROL SPECS. FPGA/ASIC IMPLEMENTATION CLOSED-LOOP SIMULATION CIRCUIT SPECS. DIGITAL CIRCUIT
CONTROL DESIGN generateMPCfunction CallsHybrid Toolbox or Multi Parametric Toolboxtocomputeexplicit MPC controllaw @linearSystemobject LINEAR SYSTEM CONSTRAINTS CONTROL SPECS. GENERATE MPC @constraintsobject @pwagobject Piecewise Affine functiondefinedovergenericpolytopicpartition PWAG
CIRCUIT DESIGN getCircuitPerformances Gets information aboutcircuitperformances in advance. PWAG getCircuitPerformances synthesizemethod Generates VHDL filesfor the circuitimplementationofexact MPC controller. More solutions are available, the choiceisperformedbased on circuitspecifications Latency, multipliers, memory occup. synthesize CIRCUIT SPECS. VHDL files
CONTROL APPROXIMATION pwasApproximation Approximates the PWAG controller with a Piece-Wise Affine functiondefinedover a simplicialpartition, byimposingconstraints. LINEAR SYSTEM CONSTRAINTS PWAG APPROXIMATE pwarApproximation Approximates the PWAG controller with a Piece-Wise Affine functiondefinedover a rectangularpartition, byimposingconstraints. PWAS / PWAR
APPROXIMATION BENEFITS Regularityof the partition Fast circuitcomputation Stability can beproven (a posteriori) PWAG/PWAS/ PWAR STABILITY TEST
CIRCUIT DESIGN getCircuitPerformances Gets information aboutcircuitperformances in advance, alsobeforegenerating the approximatecontrolfunctionitself. PWAS/PWAR getCircuitPerformances Latency, multipliers, memory occup. synthesizemethod Generates VHDL filesfor the circuitimplementationofapproximate MPC controller. synthesize CIRCUIT SPECS. VHDL files
CLOSED-LOOP SIMULATION generateSimulinkModel Generates a Simulinkmodelof the closed-loop system, in which the controliscomputedbysimulating the VHDL files (delays and fixedpointrepresentationeffects are takeninto account) Requires Xilinx System Generator PLANT PWAG / PWAS / PWAR VHDL files GENERATE SIMULINK MODEL
VIRTUAL SENSOR DESIGN Unmeasurable output z PLANT Inputs u Measurableoutputs y VIRTUAL SENSOR Estimated unmeasurable output z Fast Small Low-power Low-cost
GOAL OF THE TOOLBOX (2) Virtual sensors design DATASET SENSOR SPECS. FPGA/ASIC IMPLEMENTATION VALIDATION CIRCUIT SPECS. DIGITAL CIRCUIT
VIRTUAL SENSOR DESIGN identify Identify a PWAS virtualsensorstartingfrommeasuresof u, y and z TRAINING DATASET SENSOR SPECS. IDENTIFY The estimationof z isperformedbycomputing the valueof a PWAS functionof u, y and the estimated z at previoustimeinstants VIRTUAL SENSOR
VIRTUAL SENSOR VALIDATION validate Validates the virtualsensor on a test set toseeif the estimationis accurate VIRTUAL SENSOR TEST DATASET VALIDATE
VIRTUAL SENSOR CIRCUIT synthesizemethod Generates VHDL filesfor the circuitimplementationof PWAS virtualsensor. More solutions are available, the choiceisperformedbased on circuitspecifications VIRTUAL SENSOR CIRCUIT SPECS. synthesize VHDL files