SlideShare uma empresa Scribd logo
1 de 24
1www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.Copyright © ESI Group, 2019. All rights reserved.
www.esi-group.com
Model-based control development and automated code generation
Peter Dirnberger, Linz Center of Mechatronics GmbH
Scilab Conference 2019
2www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Content of the presentation
• Short introduction
• What is X2C
• Structure
• X2C Libraries
• X2C Communicator
• Building process
• Online Debugging and Tuning (X2C Scope)
• Example: Control of a bearingless motor with X2C
• What is a bearingless motor
• Position control
• Speed control
• Km transformation matrix
• Power fail
• Benefits of X2C
3www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Introduction
• Linz Center of Mechatronics GmbH (LCM)
• R & D service provider
• Transfers research results into industrial application
• Founded 2001
• 110 Employees
• 3 Business Areas
• Drives
• Electrical Drives
• Hydraulic Drives
• Mechanics & Control
• Sensors & Communication
• Peter Dirnberger
• I live in Linz, Austria
• I have studied Mechatronics at the Johannes Kepler University
• Since 2005 I have been working at LCM – Electrical Drives
Vienna
Linz
Salzburg
Munich
AUSTRIA
Praha
www.lcm.at
4www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Structure of a X2C control model
X2C-Hardware-Outports (OUT)X2C-Hardware-Inports (IN)
X2C-Blocks
X2C-Function-Blocks
Target
(ANSI C)
Model
Boot loader (optional)
PC
(Xcos)
X2C Communicator
Model
Frame program
Application
IN OUT
5www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Ready-made and tested blocks
X2C Libraries
General
Control
Math
MotorControl
BearinglessMotorControl
MotorSensorless
StateControl
X2C libraries of the free version Additional X2C libraries
6www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
X2C Block
Select block implementation:
• Boolean
• 8 bit fixed point
• 16 bit fixed point
• 32 bit fixed point
• 32 bit floating point
• 64 bit floating point
Input/change of a control parameter by
• typing a value
• pressing the arrow buttons
• turning the mouse wheel
Parameters can also be
defined by variables.
7www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
X2C Communicator
Setup communication via
• Serial
• CAN
• Ethernet
8www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Building Process
download to target
(X2C boot loader required)
create code (X2C.c/X2C.h)
compilation (with target IDE)
9www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Online parameter tuning
Tuning of a control parameter by
• typing a value
• pressing the arrow buttons
• turning the mouse wheel
• by a double click on the block in the Xcos model • by X2C Communicator GUI
In both cases the parameters can be determined online when the Communicator is connected to the target.
10www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Debugging – X2C Scope – a virtual oscilloscope
trigger modes
sampling time
The monitoring of
• block inputs
• block outputs
• global variables
• memory addresses
is possible
Gain and offset values
simplify interpretation, the
signal can be converted into
physical quantities
11www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Content of the presentation
• Short introduction
• What is X2C
• Structure
• X2C Libraries
• X2C Communicator
• Building process
• Online Debugging and Tuning (X2C Scope)
• Example: Control of a bearingless motor with X2C
• What is a bearingless motor
• Position control
• Speed control
• Km transformation matrix
• Power fail
• Benefits of X2C
12www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Bearingless motor
Drive
Radial bearing Axial bearing
Power
Electronics
Axial bearing
Radial bearing
Bearingless Motor
Power
Electronics
Backup bearing
• Magnetically supported drive
• Drive and suspension are decoupled
• Separate design/optimization of drive
and bearings is possible
• Mechanical and electrical hardware
demands are quite high
• “Bearingless” motor
• Compact system (mechanically and
electrically)
• Drive and suspension system are
coupled
• More complex control structure is
needed
Silber S.: „Beiträge zum lagerlosen Einphasenmotor“, Dissertation, Johannes Kepler University Linz, 2000
13www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Bearingless slice motor
Slice rotor = diameter of the rotor is large in comparison to its length
Advantage:
three of the six degrees of freedom can be stabilized passively by reluctance forces
• axial position
• two tilting directions
Only the radial position of the rotor must be controlled actively to levitate the rotor
Barletta N., Schöb R.: “Design of a bearingless blood pump”, Proc. 3rd Int. Symp. Magnetic Suspension Technology (ISMST), pp 265-274, 1995
14www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Bearingless slice motor
• Axial position - stabilized passively
Gruber W., Amrhein W., Haslmayr M.: “Bearingless segment motor with five stator elements - design and optimization”, IEEE Trans. Industry Applications, vol. 45, 2009
Gruber W., Amrhein W., Stallinger T.: "Bearingless segment motor with buried magnets", JSME Journal of System Design and Dynamics, vol. 3, no. 5, pp. 704-716, 2009
• Radial position – must be controlled actively
• Determine radial positon via position sensors
• With the five stator coils, forces are applied to center the rotor in the middle
• Torque – in addition a conventional rotating field is generated with the five stator coils
(like a standard PMSM)
• Two tilting directions - stabilized passively
x
y
15www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Bearingless slice motor
Gruber W., Silber S.: “20 Years Bearingless Slice Motor - its Developments and Applications”, ISMB15, 2016
Most common
design variants
16www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
X2C control scheme for bearingless motor control in Xcos
Position controlx
y
17www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
X2C control scheme for bearingless motor control in Xcos
Speed control
Rotor angle and speed determination
18www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
X2C control scheme for bearingless motor control in Xcos
Km transformation matrix
0 180 360
-20
0
20
0 180 360
-20
0
20
0 180 360
-500
0
500
0 180 360
-20
0
20
0 180 360
-20
0
20
0 180 360
-500
0
500
0 180 360
-20
0
20
0 180 360
-20
0
20
0 180 360
-500
0
500
0 180 360
-20
0
20
0 180 360
-20
0
20
0 180 360
-500
0
500
0 180 360
-20
0
20
0 180 360
-20
0
20
0 180 360
-500
0
500
φ[°]
Fx [A /N]turns Fy [A /N]turns T turns[A /Nm]
i1i5i4i3i2
Calculate target values for the five coils currents from the demanded force and torque values
Silber S., Amrhein W.: "Power optimal current control scheme for bearingless PM motors", Proc. 7th International Symp. on Magnetic Bearings (ISMB), pp. 401-406, 2000
• The Km matrix results from inverting the
Tm matrix.
• To determine the Tm matrix, the rotor is
centered and each phase is energized
one after the other. The phase-related
resulting forces acting on the rotor in x-
and y-direction as well as the torque are
determined as a function of the rotor
angular position and arranged in matrix
form as Tm.
x
y
19www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
X2C control scheme for bearingless motor control in Xcos
Current control
20www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
X2C control scheme for bearingless motor control in Xcos
Power failure - what now?
In order to keep the levitation of the rotor stable, energy is required.
 Use of the energy stored in the rotation of the rotor
21www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Content of the presentation
• Short introduction
• What is X2C
• Structure
• X2C Libraries
• X2C Communicator
• Building process
• Online Debugging and Tuning (X2C Scope)
• Example: Control of a bearingless motor with X2C
• What is a bearingless motor
• Position control
• Speed control
• Km transformation matrix
• Power fail
• Benefits of X2C
22www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
time
Benefits of using X2C
Conclusion
unit test
design
coding
X2C
Model
Block
time
specification acceptance test
integration test
23www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Benefits of using X2C
Conclusion
• Graphical design of the control scheme with pre-designed and pre-tested blocks
• X2C Scope - a virtual oscilloscope
intuitive tool for online data visualization and debugging
• Instant online parameter update from Xcos to target
• Simulation with “target code” in Xcos
• Automated documentation generation for projects
• Comprehensive libraries with pre-tested blocks
• Independent of target
• Multiple fixed and floating point implementations
• Inbuilt parameter conversion (e.g. continuous time to discrete time)
• Generated code is easily readable
24www.esi-group.com
Copyright © ESI Group, 2019. All rights reserved.
Thank you
This work has been supported by the COMET-K2 Center of the Linz Center of Mechatronics (LCM) funded
by the Austrian federal government and the federal state of Upper Austria
https://x2c.lcm.at/
x2c@lcm.at

Mais conteúdo relacionado

Mais procurados

Mechatronics principles.pptx
Mechatronics principles.pptxMechatronics principles.pptx
Mechatronics principles.pptxJacksonSaad
 
History of CPU Architecture
History of CPU ArchitectureHistory of CPU Architecture
History of CPU ArchitectureTim Hall
 
Evolution Of Microprocessor
Evolution Of MicroprocessorEvolution Of Microprocessor
Evolution Of Microprocessorguest3870d0
 
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...Scilab
 
Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Moe Moe Myint
 
trends of microprocessor field
trends of microprocessor fieldtrends of microprocessor field
trends of microprocessor fieldRamya SK
 
HYPER-THREADING TECHNOLOGY
HYPER-THREADING TECHNOLOGYHYPER-THREADING TECHNOLOGY
HYPER-THREADING TECHNOLOGYSHASHI SHAW
 
Summer training plc & scada
Summer training  plc & scada Summer training  plc & scada
Summer training plc & scada Arshit Rai
 
Microcontroller overview 1
Microcontroller overview 1Microcontroller overview 1
Microcontroller overview 1Sally Salem
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERsravannunna24
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automationMd Talib
 

Mais procurados (20)

Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
 
Mechatronics principles.pptx
Mechatronics principles.pptxMechatronics principles.pptx
Mechatronics principles.pptx
 
History of CPU Architecture
History of CPU ArchitectureHistory of CPU Architecture
History of CPU Architecture
 
Evolution Of Microprocessor
Evolution Of MicroprocessorEvolution Of Microprocessor
Evolution Of Microprocessor
 
Microcontrollers
MicrocontrollersMicrocontrollers
Microcontrollers
 
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
Faster Time to Market using Scilab/XCOS/X2C for motor control algorithm devel...
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Design of mechatronics systems
Design of mechatronics systemsDesign of mechatronics systems
Design of mechatronics systems
 
Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1
 
trends of microprocessor field
trends of microprocessor fieldtrends of microprocessor field
trends of microprocessor field
 
Embedded systems basics
Embedded systems basicsEmbedded systems basics
Embedded systems basics
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
HYPER-THREADING TECHNOLOGY
HYPER-THREADING TECHNOLOGYHYPER-THREADING TECHNOLOGY
HYPER-THREADING TECHNOLOGY
 
Summer training plc & scada
Summer training  plc & scada Summer training  plc & scada
Summer training plc & scada
 
CPU
CPUCPU
CPU
 
Microcontroller overview 1
Microcontroller overview 1Microcontroller overview 1
Microcontroller overview 1
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
 
ISO 26262: Automotive Functional Safety
ISO 26262: Automotive Functional SafetyISO 26262: Automotive Functional Safety
ISO 26262: Automotive Functional Safety
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automation
 

Semelhante a X2C -a tool for model-based control development and automated code generationfor microprocessors

INNOVATIVE SOLUTIONS FOR HIGH-POWER-DENSITY E-MOTORS FOR AEROSPACE PROPULSION
INNOVATIVE SOLUTIONS FOR HIGH-POWER-DENSITY E-MOTORS FOR AEROSPACE PROPULSIONINNOVATIVE SOLUTIONS FOR HIGH-POWER-DENSITY E-MOTORS FOR AEROSPACE PROPULSION
INNOVATIVE SOLUTIONS FOR HIGH-POWER-DENSITY E-MOTORS FOR AEROSPACE PROPULSIONiQHub
 
A Real-Time Interface for Xcos – an illustrative demonstration using a batter...
A Real-Time Interface for Xcos – an illustrative demonstration using a batter...A Real-Time Interface for Xcos – an illustrative demonstration using a batter...
A Real-Time Interface for Xcos – an illustrative demonstration using a batter...Scilab
 
Addressing the challenges of position sensor solutions in safety critical aut...
Addressing the challenges of position sensor solutions in safety critical aut...Addressing the challenges of position sensor solutions in safety critical aut...
Addressing the challenges of position sensor solutions in safety critical aut...HEINZ OYRER
 
Induction Motors Matching Permanent Magnet Performances at Lower Costs
Induction Motors Matching Permanent Magnet Performances at Lower CostsInduction Motors Matching Permanent Magnet Performances at Lower Costs
Induction Motors Matching Permanent Magnet Performances at Lower Costsfernando nuño
 
System Simulation in the Development of Rolling Stock
System Simulation in the Development of Rolling StockSystem Simulation in the Development of Rolling Stock
System Simulation in the Development of Rolling StockSimulationX
 
IRJET- Surveillance System using Quadcopter
IRJET- Surveillance System using QuadcopterIRJET- Surveillance System using Quadcopter
IRJET- Surveillance System using QuadcopterIRJET Journal
 
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...IJERA Editor
 
IRJET- Design and Fabrication of Steering System using Servo Motors
IRJET- Design and Fabrication of Steering System using Servo MotorsIRJET- Design and Fabrication of Steering System using Servo Motors
IRJET- Design and Fabrication of Steering System using Servo MotorsIRJET Journal
 
Drive by-wire systems in Automobiles ppt
Drive by-wire systems in Automobiles pptDrive by-wire systems in Automobiles ppt
Drive by-wire systems in Automobiles pptABHISHEKPUND
 
Efficient Motor Commutation through Advanced Position Sensing - The Trend tow...
Efficient Motor Commutation through Advanced Position Sensing - The Trend tow...Efficient Motor Commutation through Advanced Position Sensing - The Trend tow...
Efficient Motor Commutation through Advanced Position Sensing - The Trend tow...HEINZ OYRER
 
11001422032_Snehasis Ghosh_TT.pptx
11001422032_Snehasis Ghosh_TT.pptx11001422032_Snehasis Ghosh_TT.pptx
11001422032_Snehasis Ghosh_TT.pptxGhoshVolu
 
IRJET-3 Fabrication of Pedal Assist Bicycle
IRJET-3 	  Fabrication of Pedal Assist BicycleIRJET-3 	  Fabrication of Pedal Assist Bicycle
IRJET-3 Fabrication of Pedal Assist BicycleIRJET Journal
 
IRJET- IoT based Energy Efficient Ceiling Fan with BLDC Motor for Home Automa...
IRJET- IoT based Energy Efficient Ceiling Fan with BLDC Motor for Home Automa...IRJET- IoT based Energy Efficient Ceiling Fan with BLDC Motor for Home Automa...
IRJET- IoT based Energy Efficient Ceiling Fan with BLDC Motor for Home Automa...IRJET Journal
 
Electric motor optimization
Electric motor optimizationElectric motor optimization
Electric motor optimizationScilab
 
20160706 Automotive SYS: "Evolving Needs for Software Systems - Demonstrated"
20160706 Automotive SYS: "Evolving Needs for Software Systems - Demonstrated"20160706 Automotive SYS: "Evolving Needs for Software Systems - Demonstrated"
20160706 Automotive SYS: "Evolving Needs for Software Systems - Demonstrated"Alexander Much
 
WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT KrishGupta94
 
IRJET- Energy Generation from Flywheel using Magnet
IRJET- 	  Energy Generation from Flywheel using MagnetIRJET- 	  Energy Generation from Flywheel using Magnet
IRJET- Energy Generation from Flywheel using MagnetIRJET Journal
 
Medical Device Grade Wireless Charger Poster - Vitali Tikhomolov
Medical Device Grade Wireless Charger Poster - Vitali TikhomolovMedical Device Grade Wireless Charger Poster - Vitali Tikhomolov
Medical Device Grade Wireless Charger Poster - Vitali TikhomolovVitali Tikhomolov
 

Semelhante a X2C -a tool for model-based control development and automated code generationfor microprocessors (20)

INNOVATIVE SOLUTIONS FOR HIGH-POWER-DENSITY E-MOTORS FOR AEROSPACE PROPULSION
INNOVATIVE SOLUTIONS FOR HIGH-POWER-DENSITY E-MOTORS FOR AEROSPACE PROPULSIONINNOVATIVE SOLUTIONS FOR HIGH-POWER-DENSITY E-MOTORS FOR AEROSPACE PROPULSION
INNOVATIVE SOLUTIONS FOR HIGH-POWER-DENSITY E-MOTORS FOR AEROSPACE PROPULSION
 
A Real-Time Interface for Xcos – an illustrative demonstration using a batter...
A Real-Time Interface for Xcos – an illustrative demonstration using a batter...A Real-Time Interface for Xcos – an illustrative demonstration using a batter...
A Real-Time Interface for Xcos – an illustrative demonstration using a batter...
 
Self Balancing Robot
Self Balancing RobotSelf Balancing Robot
Self Balancing Robot
 
Addressing the challenges of position sensor solutions in safety critical aut...
Addressing the challenges of position sensor solutions in safety critical aut...Addressing the challenges of position sensor solutions in safety critical aut...
Addressing the challenges of position sensor solutions in safety critical aut...
 
Induction Motors Matching Permanent Magnet Performances at Lower Costs
Induction Motors Matching Permanent Magnet Performances at Lower CostsInduction Motors Matching Permanent Magnet Performances at Lower Costs
Induction Motors Matching Permanent Magnet Performances at Lower Costs
 
System Simulation in the Development of Rolling Stock
System Simulation in the Development of Rolling StockSystem Simulation in the Development of Rolling Stock
System Simulation in the Development of Rolling Stock
 
IRJET- Surveillance System using Quadcopter
IRJET- Surveillance System using QuadcopterIRJET- Surveillance System using Quadcopter
IRJET- Surveillance System using Quadcopter
 
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
Speed Synchronization of Multiple Bldcmotors In Textile &Paper Mills Using Mi...
 
Embedded Systems in Automotive
Embedded Systems in Automotive Embedded Systems in Automotive
Embedded Systems in Automotive
 
IRJET- Design and Fabrication of Steering System using Servo Motors
IRJET- Design and Fabrication of Steering System using Servo MotorsIRJET- Design and Fabrication of Steering System using Servo Motors
IRJET- Design and Fabrication of Steering System using Servo Motors
 
Drive by-wire systems in Automobiles ppt
Drive by-wire systems in Automobiles pptDrive by-wire systems in Automobiles ppt
Drive by-wire systems in Automobiles ppt
 
Efficient Motor Commutation through Advanced Position Sensing - The Trend tow...
Efficient Motor Commutation through Advanced Position Sensing - The Trend tow...Efficient Motor Commutation through Advanced Position Sensing - The Trend tow...
Efficient Motor Commutation through Advanced Position Sensing - The Trend tow...
 
11001422032_Snehasis Ghosh_TT.pptx
11001422032_Snehasis Ghosh_TT.pptx11001422032_Snehasis Ghosh_TT.pptx
11001422032_Snehasis Ghosh_TT.pptx
 
IRJET-3 Fabrication of Pedal Assist Bicycle
IRJET-3 	  Fabrication of Pedal Assist BicycleIRJET-3 	  Fabrication of Pedal Assist Bicycle
IRJET-3 Fabrication of Pedal Assist Bicycle
 
IRJET- IoT based Energy Efficient Ceiling Fan with BLDC Motor for Home Automa...
IRJET- IoT based Energy Efficient Ceiling Fan with BLDC Motor for Home Automa...IRJET- IoT based Energy Efficient Ceiling Fan with BLDC Motor for Home Automa...
IRJET- IoT based Energy Efficient Ceiling Fan with BLDC Motor for Home Automa...
 
Electric motor optimization
Electric motor optimizationElectric motor optimization
Electric motor optimization
 
20160706 Automotive SYS: "Evolving Needs for Software Systems - Demonstrated"
20160706 Automotive SYS: "Evolving Needs for Software Systems - Demonstrated"20160706 Automotive SYS: "Evolving Needs for Software Systems - Demonstrated"
20160706 Automotive SYS: "Evolving Needs for Software Systems - Demonstrated"
 
WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT
 
IRJET- Energy Generation from Flywheel using Magnet
IRJET- 	  Energy Generation from Flywheel using MagnetIRJET- 	  Energy Generation from Flywheel using Magnet
IRJET- Energy Generation from Flywheel using Magnet
 
Medical Device Grade Wireless Charger Poster - Vitali Tikhomolov
Medical Device Grade Wireless Charger Poster - Vitali TikhomolovMedical Device Grade Wireless Charger Poster - Vitali Tikhomolov
Medical Device Grade Wireless Charger Poster - Vitali Tikhomolov
 

Mais de Scilab

Statistical Analysis for Robust Design
Statistical Analysis for Robust DesignStatistical Analysis for Robust Design
Statistical Analysis for Robust DesignScilab
 
Asteroidlanding - Scilab conference 2019 Keynote
Asteroidlanding - Scilab conference 2019 KeynoteAsteroidlanding - Scilab conference 2019 Keynote
Asteroidlanding - Scilab conference 2019 KeynoteScilab
 
Scilab and Xcos for Very Low Earth Orbits satellites modelling
Scilab and Xcos for Very Low Earth Orbits satellites modellingScilab and Xcos for Very Low Earth Orbits satellites modelling
Scilab and Xcos for Very Low Earth Orbits satellites modellingScilab
 
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCosAircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCosScilab
 
Scilab for real dummies j.heikell - part3
Scilab for real dummies j.heikell - part3Scilab for real dummies j.heikell - part3
Scilab for real dummies j.heikell - part3Scilab
 
Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2Scilab
 
Scilab for real dummies j.heikell - part 1
Scilab for real dummies j.heikell - part 1Scilab for real dummies j.heikell - part 1
Scilab for real dummies j.heikell - part 1Scilab
 
Multiobjective optimization and Genetic algorithms in Scilab
Multiobjective optimization and Genetic algorithms in ScilabMultiobjective optimization and Genetic algorithms in Scilab
Multiobjective optimization and Genetic algorithms in ScilabScilab
 
Scilab optimization workshop
Scilab optimization workshop Scilab optimization workshop
Scilab optimization workshop Scilab
 
INRA @ Scilab Conference 2018
INRA @ Scilab Conference 2018INRA @ Scilab Conference 2018
INRA @ Scilab Conference 2018Scilab
 
Qualcomm @ Scilab Conference 2018
Qualcomm @ Scilab Conference 2018Qualcomm @ Scilab Conference 2018
Qualcomm @ Scilab Conference 2018Scilab
 
Sanofi @ Scilab Conference 2018
Sanofi @ Scilab Conference 2018Sanofi @ Scilab Conference 2018
Sanofi @ Scilab Conference 2018Scilab
 
University of Applied Science Esslingen @ Scilab Conference 2018
University of Applied Science Esslingen @ Scilab Conference 2018University of Applied Science Esslingen @ Scilab Conference 2018
University of Applied Science Esslingen @ Scilab Conference 2018Scilab
 
DLR @ Scilab Conference 2018
DLR @ Scilab Conference 2018DLR @ Scilab Conference 2018
DLR @ Scilab Conference 2018Scilab
 
Fraunhofer IIS @ Scilab Conference 2018
Fraunhofer IIS @ Scilab Conference 2018Fraunhofer IIS @ Scilab Conference 2018
Fraunhofer IIS @ Scilab Conference 2018Scilab
 
Arcelormittal @ Scilab Conference 2018
Arcelormittal @ Scilab Conference 2018Arcelormittal @ Scilab Conference 2018
Arcelormittal @ Scilab Conference 2018Scilab
 
CNES @ Scilab Conference 2018
CNES @ Scilab Conference 2018CNES @ Scilab Conference 2018
CNES @ Scilab Conference 2018Scilab
 
Scilab Conference 2018 - Welcome to the Community
Scilab Conference 2018 - Welcome to the CommunityScilab Conference 2018 - Welcome to the Community
Scilab Conference 2018 - Welcome to the CommunityScilab
 
Customizing Xcos with new Blocks and Palette
Customizing Xcos with new Blocks and PaletteCustomizing Xcos with new Blocks and Palette
Customizing Xcos with new Blocks and PaletteScilab
 
Scilab/Xcos pour l'enseignement des sciences de l'ingénieur
Scilab/Xcos pour l'enseignement des sciences de l'ingénieurScilab/Xcos pour l'enseignement des sciences de l'ingénieur
Scilab/Xcos pour l'enseignement des sciences de l'ingénieurScilab
 

Mais de Scilab (20)

Statistical Analysis for Robust Design
Statistical Analysis for Robust DesignStatistical Analysis for Robust Design
Statistical Analysis for Robust Design
 
Asteroidlanding - Scilab conference 2019 Keynote
Asteroidlanding - Scilab conference 2019 KeynoteAsteroidlanding - Scilab conference 2019 Keynote
Asteroidlanding - Scilab conference 2019 Keynote
 
Scilab and Xcos for Very Low Earth Orbits satellites modelling
Scilab and Xcos for Very Low Earth Orbits satellites modellingScilab and Xcos for Very Low Earth Orbits satellites modelling
Scilab and Xcos for Very Low Earth Orbits satellites modelling
 
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCosAircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
Aircraft Simulation Model and Flight Control Laws Design Using Scilab and XCos
 
Scilab for real dummies j.heikell - part3
Scilab for real dummies j.heikell - part3Scilab for real dummies j.heikell - part3
Scilab for real dummies j.heikell - part3
 
Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2Scilab for real dummies j.heikell - part 2
Scilab for real dummies j.heikell - part 2
 
Scilab for real dummies j.heikell - part 1
Scilab for real dummies j.heikell - part 1Scilab for real dummies j.heikell - part 1
Scilab for real dummies j.heikell - part 1
 
Multiobjective optimization and Genetic algorithms in Scilab
Multiobjective optimization and Genetic algorithms in ScilabMultiobjective optimization and Genetic algorithms in Scilab
Multiobjective optimization and Genetic algorithms in Scilab
 
Scilab optimization workshop
Scilab optimization workshop Scilab optimization workshop
Scilab optimization workshop
 
INRA @ Scilab Conference 2018
INRA @ Scilab Conference 2018INRA @ Scilab Conference 2018
INRA @ Scilab Conference 2018
 
Qualcomm @ Scilab Conference 2018
Qualcomm @ Scilab Conference 2018Qualcomm @ Scilab Conference 2018
Qualcomm @ Scilab Conference 2018
 
Sanofi @ Scilab Conference 2018
Sanofi @ Scilab Conference 2018Sanofi @ Scilab Conference 2018
Sanofi @ Scilab Conference 2018
 
University of Applied Science Esslingen @ Scilab Conference 2018
University of Applied Science Esslingen @ Scilab Conference 2018University of Applied Science Esslingen @ Scilab Conference 2018
University of Applied Science Esslingen @ Scilab Conference 2018
 
DLR @ Scilab Conference 2018
DLR @ Scilab Conference 2018DLR @ Scilab Conference 2018
DLR @ Scilab Conference 2018
 
Fraunhofer IIS @ Scilab Conference 2018
Fraunhofer IIS @ Scilab Conference 2018Fraunhofer IIS @ Scilab Conference 2018
Fraunhofer IIS @ Scilab Conference 2018
 
Arcelormittal @ Scilab Conference 2018
Arcelormittal @ Scilab Conference 2018Arcelormittal @ Scilab Conference 2018
Arcelormittal @ Scilab Conference 2018
 
CNES @ Scilab Conference 2018
CNES @ Scilab Conference 2018CNES @ Scilab Conference 2018
CNES @ Scilab Conference 2018
 
Scilab Conference 2018 - Welcome to the Community
Scilab Conference 2018 - Welcome to the CommunityScilab Conference 2018 - Welcome to the Community
Scilab Conference 2018 - Welcome to the Community
 
Customizing Xcos with new Blocks and Palette
Customizing Xcos with new Blocks and PaletteCustomizing Xcos with new Blocks and Palette
Customizing Xcos with new Blocks and Palette
 
Scilab/Xcos pour l'enseignement des sciences de l'ingénieur
Scilab/Xcos pour l'enseignement des sciences de l'ingénieurScilab/Xcos pour l'enseignement des sciences de l'ingénieur
Scilab/Xcos pour l'enseignement des sciences de l'ingénieur
 

Último

Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdfHafizMudaserAhmad
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
BSNL Internship Training presentation.pptx
BSNL Internship Training presentation.pptxBSNL Internship Training presentation.pptx
BSNL Internship Training presentation.pptxNiranjanYadav41
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentBharaniDharan195623
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectErbil Polytechnic University
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate productionChinnuNinan
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 

Último (20)

Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
BSNL Internship Training presentation.pptx
BSNL Internship Training presentation.pptxBSNL Internship Training presentation.pptx
BSNL Internship Training presentation.pptx
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managament
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction Project
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate production
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 

X2C -a tool for model-based control development and automated code generationfor microprocessors

  • 1. 1www.esi-group.com Copyright © ESI Group, 2019. All rights reserved.Copyright © ESI Group, 2019. All rights reserved. www.esi-group.com Model-based control development and automated code generation Peter Dirnberger, Linz Center of Mechatronics GmbH Scilab Conference 2019
  • 2. 2www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Content of the presentation • Short introduction • What is X2C • Structure • X2C Libraries • X2C Communicator • Building process • Online Debugging and Tuning (X2C Scope) • Example: Control of a bearingless motor with X2C • What is a bearingless motor • Position control • Speed control • Km transformation matrix • Power fail • Benefits of X2C
  • 3. 3www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Introduction • Linz Center of Mechatronics GmbH (LCM) • R & D service provider • Transfers research results into industrial application • Founded 2001 • 110 Employees • 3 Business Areas • Drives • Electrical Drives • Hydraulic Drives • Mechanics & Control • Sensors & Communication • Peter Dirnberger • I live in Linz, Austria • I have studied Mechatronics at the Johannes Kepler University • Since 2005 I have been working at LCM – Electrical Drives Vienna Linz Salzburg Munich AUSTRIA Praha www.lcm.at
  • 4. 4www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Structure of a X2C control model X2C-Hardware-Outports (OUT)X2C-Hardware-Inports (IN) X2C-Blocks X2C-Function-Blocks Target (ANSI C) Model Boot loader (optional) PC (Xcos) X2C Communicator Model Frame program Application IN OUT
  • 5. 5www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Ready-made and tested blocks X2C Libraries General Control Math MotorControl BearinglessMotorControl MotorSensorless StateControl X2C libraries of the free version Additional X2C libraries
  • 6. 6www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. X2C Block Select block implementation: • Boolean • 8 bit fixed point • 16 bit fixed point • 32 bit fixed point • 32 bit floating point • 64 bit floating point Input/change of a control parameter by • typing a value • pressing the arrow buttons • turning the mouse wheel Parameters can also be defined by variables.
  • 7. 7www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. X2C Communicator Setup communication via • Serial • CAN • Ethernet
  • 8. 8www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Building Process download to target (X2C boot loader required) create code (X2C.c/X2C.h) compilation (with target IDE)
  • 9. 9www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Online parameter tuning Tuning of a control parameter by • typing a value • pressing the arrow buttons • turning the mouse wheel • by a double click on the block in the Xcos model • by X2C Communicator GUI In both cases the parameters can be determined online when the Communicator is connected to the target.
  • 10. 10www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Debugging – X2C Scope – a virtual oscilloscope trigger modes sampling time The monitoring of • block inputs • block outputs • global variables • memory addresses is possible Gain and offset values simplify interpretation, the signal can be converted into physical quantities
  • 11. 11www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Content of the presentation • Short introduction • What is X2C • Structure • X2C Libraries • X2C Communicator • Building process • Online Debugging and Tuning (X2C Scope) • Example: Control of a bearingless motor with X2C • What is a bearingless motor • Position control • Speed control • Km transformation matrix • Power fail • Benefits of X2C
  • 12. 12www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Bearingless motor Drive Radial bearing Axial bearing Power Electronics Axial bearing Radial bearing Bearingless Motor Power Electronics Backup bearing • Magnetically supported drive • Drive and suspension are decoupled • Separate design/optimization of drive and bearings is possible • Mechanical and electrical hardware demands are quite high • “Bearingless” motor • Compact system (mechanically and electrically) • Drive and suspension system are coupled • More complex control structure is needed Silber S.: „Beiträge zum lagerlosen Einphasenmotor“, Dissertation, Johannes Kepler University Linz, 2000
  • 13. 13www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Bearingless slice motor Slice rotor = diameter of the rotor is large in comparison to its length Advantage: three of the six degrees of freedom can be stabilized passively by reluctance forces • axial position • two tilting directions Only the radial position of the rotor must be controlled actively to levitate the rotor Barletta N., Schöb R.: “Design of a bearingless blood pump”, Proc. 3rd Int. Symp. Magnetic Suspension Technology (ISMST), pp 265-274, 1995
  • 14. 14www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Bearingless slice motor • Axial position - stabilized passively Gruber W., Amrhein W., Haslmayr M.: “Bearingless segment motor with five stator elements - design and optimization”, IEEE Trans. Industry Applications, vol. 45, 2009 Gruber W., Amrhein W., Stallinger T.: "Bearingless segment motor with buried magnets", JSME Journal of System Design and Dynamics, vol. 3, no. 5, pp. 704-716, 2009 • Radial position – must be controlled actively • Determine radial positon via position sensors • With the five stator coils, forces are applied to center the rotor in the middle • Torque – in addition a conventional rotating field is generated with the five stator coils (like a standard PMSM) • Two tilting directions - stabilized passively x y
  • 15. 15www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Bearingless slice motor Gruber W., Silber S.: “20 Years Bearingless Slice Motor - its Developments and Applications”, ISMB15, 2016 Most common design variants
  • 16. 16www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. X2C control scheme for bearingless motor control in Xcos Position controlx y
  • 17. 17www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. X2C control scheme for bearingless motor control in Xcos Speed control Rotor angle and speed determination
  • 18. 18www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. X2C control scheme for bearingless motor control in Xcos Km transformation matrix 0 180 360 -20 0 20 0 180 360 -20 0 20 0 180 360 -500 0 500 0 180 360 -20 0 20 0 180 360 -20 0 20 0 180 360 -500 0 500 0 180 360 -20 0 20 0 180 360 -20 0 20 0 180 360 -500 0 500 0 180 360 -20 0 20 0 180 360 -20 0 20 0 180 360 -500 0 500 0 180 360 -20 0 20 0 180 360 -20 0 20 0 180 360 -500 0 500 φ[°] Fx [A /N]turns Fy [A /N]turns T turns[A /Nm] i1i5i4i3i2 Calculate target values for the five coils currents from the demanded force and torque values Silber S., Amrhein W.: "Power optimal current control scheme for bearingless PM motors", Proc. 7th International Symp. on Magnetic Bearings (ISMB), pp. 401-406, 2000 • The Km matrix results from inverting the Tm matrix. • To determine the Tm matrix, the rotor is centered and each phase is energized one after the other. The phase-related resulting forces acting on the rotor in x- and y-direction as well as the torque are determined as a function of the rotor angular position and arranged in matrix form as Tm. x y
  • 19. 19www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. X2C control scheme for bearingless motor control in Xcos Current control
  • 20. 20www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. X2C control scheme for bearingless motor control in Xcos Power failure - what now? In order to keep the levitation of the rotor stable, energy is required.  Use of the energy stored in the rotation of the rotor
  • 21. 21www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Content of the presentation • Short introduction • What is X2C • Structure • X2C Libraries • X2C Communicator • Building process • Online Debugging and Tuning (X2C Scope) • Example: Control of a bearingless motor with X2C • What is a bearingless motor • Position control • Speed control • Km transformation matrix • Power fail • Benefits of X2C
  • 22. 22www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. time Benefits of using X2C Conclusion unit test design coding X2C Model Block time specification acceptance test integration test
  • 23. 23www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Benefits of using X2C Conclusion • Graphical design of the control scheme with pre-designed and pre-tested blocks • X2C Scope - a virtual oscilloscope intuitive tool for online data visualization and debugging • Instant online parameter update from Xcos to target • Simulation with “target code” in Xcos • Automated documentation generation for projects • Comprehensive libraries with pre-tested blocks • Independent of target • Multiple fixed and floating point implementations • Inbuilt parameter conversion (e.g. continuous time to discrete time) • Generated code is easily readable
  • 24. 24www.esi-group.com Copyright © ESI Group, 2019. All rights reserved. Thank you This work has been supported by the COMET-K2 Center of the Linz Center of Mechatronics (LCM) funded by the Austrian federal government and the federal state of Upper Austria https://x2c.lcm.at/ x2c@lcm.at