Design and practice of virtual-real mapping experiment interactive system based on NX MCD
[Objective]This study aims to bring experimental teaching to the forefront of the development of professional technology and improve the theoretical foundation and practical ability of undergraduate and postgraduate students in related courses.Mastering the technical methods of modeling,control,programming,PLC design,virtual simulation,and solving practical problems using virtual-reality mapping technology is an indispensable technology for the intelligence of future equipment.Therefore,this study employs virtual reality mapping technology to design and practice the reciprocating motion of a stepping motor.This technology can significantly improve the students'innovation and practical abilities and is a useful exploration of digital practice teaching research.[Methods]The experimental setup of the stepper motor reciprocating motion was designed and built,and the virtual and real mapping of the stepper motor reciprocating motion was realized through PLC motion control design,NX MCD mechatronic concept simulation design,S7-200 PC Access Smart server building,and LabVIEW control system building.The hardware part of the motion control is composed of an S7-200 smart encoder,stepper motor,and a switch,and the programming is completed by STEP 7-MicroWIN SMART.The motion logic and control program of the stepper motor are established and visualized through the NX MCD.The OPC server was constructed using S7-200 PC Access Smart.The design of the control system interface was completed through LabVIEW to achieve the control system to control the stepper motor to perform a reciprocating motion,while the virtual model of the stepper motor in NX MCD maps the physical movement to the virtual reality.[Results]The experimental results show the following:1)The diversity of the control methods.The control system designed using LabVIEW can complete the same control function as the hardware switch,and the virtual console and control buttons in the NX MCD simulation environment can achieve the given control function with the same role as the control system and the hardware switch,realizing various control modes for stepping motors.2)Sharing of control variables.Through the OPC server,real-time synchronization of the controller and simulation platform can be achieved in the virtual model of the variable state.3)Virtual-reality mapping.When the control system controls the stepper motor to perform the reciprocating motion,the MCD stepper motor virtual model can detect the current variable state of the controller through the OPC server to update the motion state and visualize the motion state of the stepper motor in real time.Concurrently,the hardware switches and the buttons of the MCD virtual console can be operated to achieve the same changes in the motion state of the stepper motor and the virtual model.[Conclusions]Based on the experiment of the NX MCD stepper motor virtual and real mapping,the case can not only meet the experimental teaching of the cutting-edge technology for undergraduate and postgraduate students but is also simple to operate and easy to copy.The case could greatly improve the student's deep understanding of professional theory,provide a technical means to achieve equipment intelligence and a new method for improving students'professional ability and problem-solving ideas.
virtual and real mappingsdigital twinexperiment interactive systemMCD virtual model