VisSim 2 Day Workshop: Model-Based Design for Embedded Systems Presenter: Mr. Satyabrata Sahoo Applications Applications Engineer Visual Solutions, Inc. Workshop Oerie! Attend this hands-on workshop workshop to see how you can speed the embedded development process using modern model-based development development tools. VisSim will be used to model and simulate dynamic systems o controller and plant, as well as analy!e and visuali!e data, and generate eicient embedded target programs. "he sessions are designed or both new and advanced VisSim users. #sing hands-on lessons, the instructors instructors will demonstrate best practices and techni$ues or model construction, simulation, code generation, and embedded development or a "e%as Instruments target. Attendees will receive a working "I kit with a &' bit (iccolo processor, processor, A)*, (+M, #A", I'*, (I etc, plus #S/ linkage to (*. "he kit will be used or instruction during the course.
Who Sho"ld #ttend$ Anyone interested in modern model-based embedded techni$ues, including0 Electrical, mechanical, and mechatronics mechatronics engineers • •
*ontrol and process engineers
•
)S( and embedded sotware engineers
•
1aculty members, proessors, and researchers in engineering, science, and mathematics departments
What yo" need to bring to the !orkshop: A laptop computer running +indows 2( or higher. %ompany Oerie! Visual Solutions is a pioneer in the development o world-class sotware or modeling and simulating comple% dynamic systems and or model-based design o embedded systems. Since its ounding in 3454, Visual Solutions has maintained strong connections with both the commercial and academic communities. Its sotware sotware can be ound at thousands o engineering companies and academic institutions around the world. "he VisSim prod"&t line is widely used on engineering pro6ects pro6ects spanning a diverse range o industries, industries, including automotive, 7VA*, aerospace, medical devices, and embedded controls development. At academic institutions, VisSim provides an e%cellent platorm or introducing undamental concepts in dynamic simulation and control theory, and practical e%perience in model-based design and development.
S"preme S&ientifi& %orporation is a channel partner o Visual Solutions to provide technical and commercial support or VisSim8s range o tools. Since its inception in 3454, Supreme has handled very many pro6ects and involved in interacing Science, Education Education and Industry. "hey also provide consultancy service to the Education Institutions. Institutions. "he sotware division represents tools or Electronics, Electrical, Automation, Mechanical and *ivil Engineering, /iotechnology, (hysical and *hemical Sciences with special ocus on 9 ).
Visual Solutions: 2 Day Workshop (VisSim, State Charts, ECD)
Page 1
Day ' (morning): *ntrod"&tion to VisSim *ntrod"&tion +hat is VisSim "he VisSim (roduct :ine *ompany verview +esson ': VisSim Basi&s Menus and commands, "oolbar, and /rowser Inserting and connecting blocks Editing block parameters #sing the System menu or simulation control *reate and manipulate a ull wave rectiier +esson 2: ,eedba&k Systems *onstruct a ' nd order system #se slider to control output Manipulate plot display (erorm multi-run simulations +esson : %ompo"nd Blo&ks. *ntegrators. and Variable S&oping *onstruct a & rd order system with variable scoping Manipulate plot display *reate model hierarchy Apply limits +esson /: 0sing Dialog %onstants +esson 1:
0sing Dialog ables
+esson 3: E4&hanging *nformation !ith Other #ppli&ations #sing the e%port block #sing the import block (assing data to E%cel +esson 5: Matri4 Operations *onstruct two matrices
Visual Solutions: 2 Day Workshop (VisSim, State Charts, ECD)
Page 2
Day ' (afternoon): *ntrod"&tion to Modeling Eent Drien Systems *ntrod"&tion +hat is a state chart /asic state chart elements +esson ': %reating a simple -state p"mp ;aming a state chart Inserting states *reating transitions )eining state chart variables *oniguring states )enoting transition speciications Setting up the VisSim diagram to interact with the state chart Simulating the state chart +esson 2:
%omposing hierar&hi&al state diagrams !ith s"bma&hines
+esson : Modeling parallel eent flo!s !ith &omposite states +esson /:
#sso&iating behaior % &ode !ith transitions
+esson 1: 0nderstand triggers and g"ards +esson 3:
Start-"p se6"en&ing
+esson 5:
Eent handling
+esson 7:
Deb"gging state &harts
+esson 8:
Setting breakpoints
+esson '9: +ogging state &hart a&tiity
Visual Solutions: 2 Day Workshop (VisSim, State Charts, ECD)
Page 3
Day 2: *ntrod"&tion to Programming Embedded %ontrollers *ntrod"&tion +hat is a model-based development 1eatures o VisSim
- or &'-bit words Allowable number range +esson : ,i4ed-point s floating-point design &onsiderations +esson /: M%0-in-the-loop &ode generation demo +esson 1: arget *nterfa&e blo&k sample time +esson 1: M%0-based deb"g !ith P%
Page
"% and % to *A; ids (I Single block to read or write (I *an treat contiguous (I bits as single read
+esson '9:
Visual Solutions: 2 Day Workshop (VisSim, State Charts, ECD)
Page !