Model-Based Design for Medical Applications. Rob Reilink, M.Sc Ph.D

Similar documents
Model-Based Design as an Enabler for Supply Chain Collaboration

Von der Idee bis zur Umsetzung in einer Entwicklungsumgebung State of the Art von Dr. Simon Ginsburg

An Optimized Direct Digital Frequency. Synthesizer (DDFS)

FPGA implementation of Induction Motor Vector Control using Xilinx System Generator

Real-Time Testing Made Easy with Simulink Real-Time

Getting to Smart Paul Barnard Design Automation

5G R&D at Huawei: An Insider Look

High speed all digital phase locked loop (DPLL) using pipelined carrier synthesis techniques

Method We follow- How to Get Entry Pass in SEMICODUCTOR Industries for 2 nd year engineering students

Methodology for testing a regulator in a DC/DC Buck Converter using Bode 100 and SpCard

2015 The MathWorks, Inc. 1

SpectraTronix C700. Modular Test & Development Platform. Ideal Solution for Cognitive Radio, DSP, Wireless Communications & Massive MIMO Applications

A HARDWARE DC MOTOR EMULATOR VAGNER S. ROSA 1, VITOR I. GERVINI 2, SEBASTIÃO C. P. GOMES 3, SERGIO BAMPI 4

EMBEDDED DOPPLER ULTRASOUND SIGNAL PROCESSING USING FIELD PROGRAMMABLE GATE ARRAYS

What s Behind 5G Wireless Communications?

Power Supply Control With FPGAs: Model-Based Design With Matlab, Simulink And DSP Builder

Pre-distortion. General Principles & Implementation in Xilinx FPGAs

CORDIC Based Digital Modulator Systems

Rapid Prototyping and FPGA-in-the-Loop Verification of a DFrFT-based OFDM System

INTRODUCTION. In the industrial applications, many three-phase loads require a. supply of Variable Voltage Variable Frequency (VVVF) using fast and

EFFICIENT FPGA IMPLEMENTATION OF 2 ND ORDER DIGITAL CONTROLLERS USING MATLAB/SIMULINK

A Model Based Digital PI Current Loop Control Design for AMB Actuator Coils Lei Zhu 1, a and Larry Hawkins 2, b

CHAPTER 5 DIGITAL REALIZATION OF PID CONTROLLER AND INVERSE PARK S TRANSFORMATION

Hardware Implementation of Automatic Control Systems using FPGAs

VLSI Implementation of Digital Down Converter (DDC)

Advances in Wireless Communications: Standard Compliant Models and Software Defined Radio By Daniel Garcίa and Neil MacEwen

Evaluation of CORDIC Algorithm for the processing of sine and cosine functions

Design and Simulation of PID Controller using FPGA

Virtual Instrumentation Technologies for Hands-on Learning in Resourceconstrained

FPGA Based Hardware Efficient Digital Decimation Filter for - ADC

From Antenna to Bits:

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

When to use an FPGA to prototype a controller and how to start

Keywords: FPGA, Software Define Radio, QAM, Synchronization, Wireless Communication, Carrier Recovery, System Generator, BPSK.

Mohd Ahmer, Mohammad Haris Bin Anwar and Amsal Subhan ijesird, Vol. I (XI) May 2015/422

Digital Self Excited Loop Implementation and Experience. Trent Allison Curt Hovater John Musson Tomasz Plawski

FPGA Based Implementation of Sinusoidal PWM for Induction Motor Drive Applications

Current Rebuilding Concept Applied to Boost CCM for PF Correction

Real-Time Step Motor Emulator for Hardware-in-the-Loop Simulation

Curriculum Vitae. Education. Distinctions. Personal info

DMCode-MS(BL) MATLAB Library

Validation of Frequency- and Time-domain Fidelity of an Ultra-low Latency Hardware-in-the-Loop (HIL) Emulator

Prototyping Unit for Modelbased Applications

PID Implementation on FPGA for Motion Control in DC Motor Using VHDL

Design & Implementation of an Adaptive Delta Sigma Modulator

FPGA Implementation of Desensitized Half Band Filters

DESIGN OF INTELLIGENT PID CONTROLLER BASED ON PARTICLE SWARM OPTIMIZATION IN FPGA

What s Behind 5G Wireless Communications?

Optimizing Performance Using Slotless Motors. Mark Holcomb, Celera Motion

Monitoring Station for GNSS and SBAS

IMPLEMENTATION OF QALU BASED SPWM CONTROLLER THROUGH FPGA. This Chapter presents an implementation of area efficient SPWM

Digital Systems Design

LABORATORIES-ECE. Sir Srinivasa Ramanujan - Microprocessor & Microcontroller Laboratory

Constant voltage and Constant frequency operation of DFIG using Lab view FPGA and crio

Speed Control of BLDC Motor Using FPGA

Synthesis of Blind Adaptive Beamformer using NCMA for Smart Antenna

Simulation and Verification of FPGA based Digital Modulators using MATLAB

A COMPARISON ANALYSIS OF PWM CIRCUIT WITH ARDUINO AND FPGA

DIGITAL SIGNAL PROCESSING WITH VHDL

Multidist The Distortion Unit with Optional Multiband Functionality. Michael Back

Farid Alidoust Aghdam 1 and Siamak Saeidi Haghi Introduction. 2. Microstepping Driver Structure

Research Article. Amiya Karmakar Ȧ,#, Deepshikha Mullick Ḃ,#,* and Amitabha Sinha Ċ. Abstract

- Software Engineer con Laurea Magistrale in Informatica, Telecomunicazioni o Elettronica

Rapid FPGA Modem Design Techniques For SDRs Using Altera DSP Builder

Audio Sample Rate Conversion in FPGAs

Rotation of Coordinates With Given Angle And To Calculate Sine/Cosine Using Cordic Algorithm

QAM Receiver Reference Design V 1.0

Design of Multiplier Less 32 Tap FIR Filter using VHDL

Pragmatic Strategies for Adopting Model-Based Design for Embedded Applications. The MathWorks, Inc.

Pramod Kumar Naik Senior Application Engineer MathWorks Products

A Novel Low-Power High-Resolution ROM-less DDFS Architecture

Embracing Complexity. Gavin Walker Development Manager

CHAPTER 4 PI CONTROLLER BASED LCL RESONANT CONVERTER

VHDL Implementation of High Performance Digital Up Converter Using Multi-DDS Technology For Radar Transmitters

PE713 FPGA Based System Design

Engineering Thesis. The use of Synchronized Phasor Measurement to Determine Power System Stability, Transmission Line Parameters and Fault Location

Low-Power Communications and Neural Spike Sorting

Available online at ScienceDirect. Anugerah Firdauzi*, Kiki Wirianto, Muhammad Arijal, Trio Adiono

Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen

Implementation of the CORDIC Algorithm in a Digital Down-Converter

YOUR VIDEO TITLE POWER DISTRIBUTION FOR

Base Station RF Development with MATLAB Dr Chen Ming Shanghai Bell Co., Ltd. 2015/04/24

Implementing Audio Digital Feedback Loop Using the National Instruments RIO System

Magnetic Suspension System Control Using Position and Current Feedback. Senior Project Proposal. Team: Gary Boline and Andrew Michalets

DYNAMICALLY RECONFIGURABLE PWM CONTROLLER FOR THREE PHASE VOLTAGE SOURCE INVERTERS. In this Chapter the SPWM and SVPWM controllers are designed and

Control Systems Overview REV II

Implementation of a BPSK Transceiver for use with KUAR

Digital Signal Processing Techniques

The Application of System Generator in Digital Quadrature Direct Up-Conversion

Job Description. Commitment: Must be available to work full-time hours, M-F for weeks beginning Summer of 2018.

CHAPTER 5 NOVEL CARRIER FUNCTION FOR FUNDAMENTAL FORTIFICATION IN VSI

A Novel Approach For the Design and Implementation of FPGA Based High Speed Digital Modulators Using Cordic Algorithm

LABORATORIES-ECE. Microprocessor & Microcontroller Lab - Srinivasa Ramanujan Lab

THIS work focus on a sector of the hardware to be used

Design and synthesis of FPGA for speed control of induction motor

High Performance DSP Solutions for Ultrasound

Frequency Response Analyzers for Stability Analysis and Power Electronics Performance Testing

FPGA & Pulse Width Modulation. Digital Logic. Programing the FPGA 7/23/2015. Time Allotment During the First 14 Weeks of Our Advanced Lab Course

A Simulink/SMASH co-simulation interface Version October 2003

Automated Generation of Built-In Self-Test and Measurement Circuitry for Mixed-Signal Circuits and Systems

Transcription:

Model-Based Design for Medical Applications using HDL Coder Rob Reilink, M.Sc Ph.D

DEMCON Profile 6 locations HIGHTECH SYSTEMS MEDICAL SYSTEMS EMBEDDED SYSTEMS INDUSTRIAL SYSTEMS & VISION OPTOMECHATRONIC SYSTEMS Established in 1993 (25 yr) ~ 500 employees ~ 50M turnover >10 year experience with Model-Based Design From early idea through to product 2

Model-based design @ DEMCON Continuous integration Executable specs Link between model and requirements Unit testing Processor in the loop Hardware in the loop Test & verification Model Design with simulation Code generation Automatic code generation Simulation of concepts Detailed simulation of components Rapid prototyping What-if studies 2007 PC xpc / Simulink Realtime More compact 2011 DSP / microcontroller Embedded Coder Higher speed 2017 FPGA HDL Coder 3

Use case: precision cut surgical instrument Software (FPGA) Hardware PWM generator Power amplifier Analog filter & transformer Piezo stack Piezo actuator driven by adjustable sine wave Class-D power amplifier for energy efficiency Business case: more compact, more energy-efficient, more flexible 4

Frequency domain behavior of a piezo actuator Piezo impedance Z = U/I Capacitive behavior Highest power output Resistive behavior Piezo actuator needs to be driven at its resonance frequency (~40kHz) Adjust frequency to achieve 0 phase difference between voltage and current 5

Frequency domain behavior of a piezo actuator Current input Voltage output Phase-locked loop is used to control piezo frequency 6

Challenges Uncertainty in piezo actuator behavior Product variations Interaction with tissue Desired behavior for optimal cutting Need for testing using actual actuator on tissue! Short development time Reliable PLL stability / locking More complicated control & signal processing High loop frequency 7

Use case: precision cut surgical instrument high-level model To PWM generator Sine generation Measurement of phase of current PI-controller Measured piezo voltage and current Measurement of phase of voltage 8

From reference implementation to FPGA: fixed point High-level (golden reference) model designed by Mechatronic System Engineer Fixed-point conversion Sine Wave Function blocks replaced by Sine and Cosine HDL Optimized blocks Trigonometric block <atan2> replaced by CORDIC-based four quadrant inverse tangent Matlab function Target low-cost Xilinx Artix-7 FPGA (no SoC required) 9

Model-based design verification: FPGA model vs reference 10

HDL Coder Workflow fixed-point conversion floating-point support discrete-time HDL supported blocks oversampling factor workflow advisors Implementation on target 11

HDL Coder timing analysis, critical path Very useful feature to find computational bottle-necks In our case: sine & cosine computation 12

HDL Coder Pipelining Lesson learned: automatic delay balancing is great for complex signal path applications 13

HDL Coder Resource Sharing Lesson learned: Automatic resource sharing is a very powerful and flexible feature. 12 June 2018 14

From reference implementation to FPGA: floating point For the final implementation: use of floating point Model synthesizable within few days Only minor adaptions required: single precision datatypes and non-hdl blocks replaced IEEE (native) floating point support for all trigonometric & math blocks (sin, cos, sincos, atan, atan2) Fixed point Floating point LUTs 10k 25k DSP slices 50 100 Development time ~1 week ~1 day ~2x more resources ~5x less development effort 15

Achievements Early prototype with limited development effort Energy-efficient piezo actuator Cost-efficient by incorporating controller in the existing FPGA Reliable PLL operation Fast iterations using HDL coder 16

Conclusions Less chances of coding errors due to high-level implementation Improves collaboration between FPGA engineers and other disciplines (system engineers) Resource sharing & pipelining optimizations are much easier as compared to bare VHDL coding Only setting appropriate numbers / check boxes instead of re-implementing Native floating point support speeds up transition from high-level model to implementation No / less need to worry about data types Good support of a.o. trigonometric functions Same model for high level simulations and for FPGA code generation Current project status: alpha-phase hardware validation 17