Professional Documents
Culture Documents
O conteúdo é exibido em outro idioma disponível. Seu navegador pode incluir recursos que podem ajudar a traduzir
o texto.
Environment
Software
Multisim
LabVIEW myRIO Toolkit
As students complete their education in engineering and science it is critical for them to apply their knowledge into senior design
projects that represent the complex systems they will work on as engineers. In this application note we will discuss the role that NI
tools (NI Multisim and myRIO) play in providing a comprehensive approach to senior design projects. Included in this document are
a student design flow, links to design information and an introduction to myRIO.
Introduction
NI myRIO is an embedded hardware device designed specifically for students to enable the design of real, complex engineering
systems in college and universities. Students use the NI LabVIEW graphical programming language to program a field-
programmable-gate-array (FPGA) on the NI myRIO to perform controls, robotics and mechatronics tasks. In many projects, NI
myRIO represents just one part of a complete system with a need for analog circuitry to either signal condition, or a physical plant
on which the algorithm acts. The various accessories connect to NI myRIO in the following ports:
In developing these complete systems, NI Multisim plays an integral role, providing students the ability to design circuitry and
physically prototype custom interfaces extending the I/O capabilities in creating an integrated solution.
With Multisim students can characterize circuit behavior ahead of laboratory time. The design can then be translated to NI Ultiboard
to rapidly develop a first printed circuit board (PCB) mini-system.
This tutorial uses examples to illustrate the capabilities of using NI myRIO and Multisim to provide students a complete solution for
engineering challenges.
To learn more about NI myRIO click here.
To learn more about Multisim click here.
Within Multisim students can place down the NI myRIO connectors illustrating how the circuit will be connected to the NI myRIO. To
find and place the connectors:
1. Select Place » Component from the menu bar. This will open the component browser.
2. Choose the following parameters as displayed in figure 3.
Database: Master Database
Group: NI_Components
Family: myRIO
Component: myRIO_MXP
The NI myRIO also has a minisystem port (MSP) this is the same as used on the NI myDAQ so the students can use the NI myDAQ
connector to gain access to this IO.
Database: Master Database
Group: NI_Components
Family: myDAQ
Component: NI-myDAQ
The NI myDAQ connector component can be seen in Figure 5.
Figure 5 -Selection and placement of the myDAQ connector for using the minisystem (MSP) port on the NI myRIO
Finding the Templates to Design for NI myRIO
Templates for NI myRIO allow provide an inclusive Multisim schematic with the available inputs and outputs and an Ultiboard layout
with the connectors and outline.
Multisim comes installed with the NI myRIO single MXP and dual MXP templates. The process for using these is outlined below:
1. Within Multisim select: File » New…
2. This opens the New Design window as seen in figure 6. Within this dialog select installed templates and we can select either
the NI myRIO Dual MXP or the NI myRIO Single MXP. We also get a description and preview of the template design.
1. Click Create and Multisim will open both the schematic and a Ultiboard layout which will form the template of our design. From
here, in Multisim you can place the components you will be using and in Ultiboard you can create the layout of these
components around the built in connector and outline. Figure 7 shows an image of the schematic and layout for the Multisim NI
myRIO Single MXP template.
Figure 7 - The Multisim template for a Single MXP daughter board comprising of a Multisim schematic with the available IO and an
Ultiboard layout with the connector and board outline.
The templates for the board-only NI myRIO are installed with Multisim. If using the enclosed NI myRIO the template is available on
NI Labs details of which can be found at Multisim MXP Daughter-board Templates for myRIO.
Two templates are attached below and another template can be found at Multisim MXP Daughter-board Templates for myRIO.
The following resources provide examples on how students can learn theory using NI Multisim in classes such as introductory
analog courses, digital logic and power classes.
Basics Analog Circuits
Digital Electronics Basics
Power Electronics Fundamentals
Figure 9 – A schematic of the breadboard design alongside the physical breadboard connected to the NI myRIO Expansion Port
(MXP).
Figure 10 – The NI myRIO expansion board accessory allows easy prototyping of the circuit.
Using NI LabVIEW students will program custom software to acquire the data and analysis the response of their circuit.
For students who are new to breadboarding this task can be daunting. The following resources provide students with a guide on
how to learn how to breadboard using Multisim and NI tools:
NI Multisim 3D Environment
An introduction to Breadboards – Community YouTube video
The natural progression for a student is to completing a complete printed circuit board (PCB). The student will have completed the
schematic and will have used the breadboard to confirm performance of the analog design. Understanding how to complete a PCB
design is not easy, as such there are a number of resources available to students including:
Learn how to capture and simulate in Multisim
How to transfer from Multisim to Ultiboard
Getting Started with NI Ultiboard
PCB Design Fundamentals
With these resources students have the basis for senior design of a custom PCB Mini-system to be attached to the NI myRIO.
It is at this time that user-definable templates in Multisim and Ultiboard can provide valuable time-saving and design enabling
features. Templates are important because they:
Allow students to focus on their design without the need to design the connectors or the outline.
Provide students with a synchronous schematic and layout approach for designing minisystems for the NI myRIO.
NI myRIO connectors on the schematic allow students to make the best use of the IO available on the NI myRIO.
In the Ultiboard design, the templates provide students the board outline and connector placement ensuring the connection to the
NI myRIO can be made.
Educators can create custom templates providing students a starting point for their design and ensuring this can be achieved
within the constraints of a university course.
More details on the available templates can be found here.
Further details on the enclosed and board-only myRIO template can be found here.
To use these templates and design a NI myRIO project the student will:
(a) Open a new NI myRIO template using the process described above. Save both the Multisim schematic and the Ultiboard layout
to a single file location.
(b) Create the schematic on the NI myRIO schematic layout. Using the NI myRIO schematic component you can create all the
physical net for your circuit which will then be checked when you are creating your layout in Ultiboard.
Figure 11– NI myRIO schematic template with the NI myRIO connectors
(C) Once the components have been placed on the schematic and the connections made with the NI myRIO inputs and outputs the
net list can be transferred to Ultiboard. To do this, select: Transfer » Froward annotate to Ultiboard as shown in Figure 12.
(d) You will then be asked to save the netlist to file, save this in the same directory as your Ultiboard layout template.
(e) This will import the components to the predefined layout. From this point you can arrange your components and create the PCB
routings. More detail on this process can be found here. Figure 13 shows the filter circuit above after forward annotating and once
routed.
Figure 13 – The Ultiboard layout using the Single MXP daughter board template
Ultiboard provides students an opportunity to gain valuable experience creating a PCB. The intuitive environment and auto
placement features eases the creation.
In this tutorial we have seen an example of a simple analog baseband filter being evaluated and built into a Minisystem PCB.
However the NI myRIO system alongside Multisim is a truly scalable platform for solving simple engineering challenges fast through
right through to developing custom solutions for complex senior design projects.
Here we can see an example involving the evaluation, design and production of a three phase power inverter mini-system. This
demonstrates a complex senior design, or masters level project for power electronics and shows the flexibility of using Multisim and
NI myRIO.
Figure 14 – A three phase power inverted evaluated in Multisim with the layout created in Ultiboard.
Attachments
myriofull.rar myriohalf.rar