LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i co-simulate msc.adams with labview

hi, there,
 
   i am trying to do a mechanical system simulation with closed-loop control. i have their model in Solidworks, and have a simulation with COSMOS. when i use the simulation interface with labview, i can not output a placement parameter between two parts, i also can not apply a motion to a part. so i try to find way with msc.adams. i know Matlab can do this work with msc.adams. but i can not find these kind of interfaces in labview. Can i so that.
 
 
whsheng
0 Kudos
Message 1 of 3
(4,686 Views)

The official version of the LabVIEW-SolidWorks interface is now released. It is called the NI SoftMotion Module for SolidWorks and works with SolidWorks 2009 Service Pack 2.1 or higher. MSC.Adams mechanical simulation capability is used under the hood.

 

NI SoftMotion for SolidWorks enables mechanical, electrical and control engineers to collaborate by creating a digital prototype of the motion control system that integrates mechanical simulation, motion control software, and sensor feedback. As soon as you have a CAD drawing, you can begin prototyping the machine design long before you incur the expense of building a physical machine. The new tools enable you to do things such as:

 

  • visualize realistic machine operation
  • validate and iterate on the mechanical, control and electrical aspects of your design
  • estimate the cycle time performance
  • check for collisions or other programming mistakes
  • calculate force/torque loads for stress analysis 
  • select and size motor and mechanical transmission components
  • improve communication between the engineers on your team and with customers

 

The following software versions are required:

 

• LabVIEW 2009 (32-bit) or later

• LabVIEW NI SoftMotion Module Standard or Premium

• SolidWorks 2009 Service Pack 2.1 or later and SolidWorks Motion Simulation with the Motion Simulation add-in enabled from the Tools menu in SolidWorks. This is included with SolidWorks Premium, Simulation Premium, or Simulation Professional. When you enable the Motion Simulation add-in from the Add-Ins dialog box in SolidWorks, place a checkmark in both the left and right checkboxes so you don’t have to reenable the add-in each time you use NI SoftMotion for SolidWorks.

 

For more information, visit this site:

 

 

http://www.ni.com/digitalprototyping/

 

 

Here's a few other resources to get you started. 

 

LabVIEW-SolidWorks Digital Prototyping Training (see the topic called "Motion Control Timing and Sequencing")

Getting Started Guide for NI SoftMotion for SolidWorks

 

Here are links to the evaluation versions of LabVIEW and the NI SoftMotion Module for SolidWorks:

 

LabVIEW 2009

NI SoftMotion Module (includes a 30 day evaluation license for NI SoftMotion for SolidWorks)

 

Contact your local SolidWorks reseller to purchase SolidWorks or upgrade your SolidWorks software to SolidWorks Premium (which includes the required SolidWorks Motion Simulation capability) or to request an evaluation version of SolidWorks:

 

http://www.solidworks.com/sw/contact.htm

0 Kudos
Message 2 of 3
(4,383 Views)

A note about your comment on needing closed loop control-- The NI SoftMotion for SolidWorks tool sends position trajectories points from LabVIEW to SolidWorks and the mechanical simulation in SolidWorks calculates all of the forces and torques necessary for the motion assembly to traverse that trajectory. This is called indirect dynamics, since SolidWorks Motion is simulating an ideal motion trajectory. This "ideal trajectory" type of simulation is useful for validating the motion control profiles and logic, checking for collision, analyzing the force and velocity requirements for sizing/selecting motors and linear actuators, calculating force/torque loads for stress analysis, calculating machine cycle time/throughput performance, visualizing the realistic operation of the machine under the control software, determining if mechanical parts (like motor couplings) are strong enough, determining if the mechanism is stiff enough and won't vibrate, etc., etc. For stress/strain and factor of safety analysis, you can determine the amount of force/torque loading you expect the mechanical system to encounter when running under the control of the motion control system using the NI SoftMotion for SolidWorks tools. Because the force/torque calculations are based on the actual motion profiles (straight-line, arc, contour) with the velocity, acceleration, and jerk limits of the motion control system, the results should be much more accurate than a "back of the envelope"calculation and are also easier to get since no math calculations are required.

 

 

 

However, NI SoftMotion for SolidWorks is not the right tool for you if your goal is to simulate closed loop dynamics that include the motor electromechanical equations (voltage/current, back-emf, torque constant), the current loop tuning, the percent overshoot/undershoot of the position and velocity loops due to the PID tuning, or to validate advanced control algorithms like LQR or H-infinity control. For those types of applications you can use a tool like MSC.Adams, MapleSim or the NI Control Design and Simulation Module. With LabVIEW 2009, the module now includes simulation examples for servo motors, induction motors and other electrical machinery, including a full wind turbine.

0 Kudos
Message 3 of 3
(4,379 Views)