1 Introduction
Testing technology is a professional basic course for engineering majors in colleges and universities in my country. The course content and name vary slightly with different majors, such as testing technology, mechanical engineering testing technology, thermal energy and power engineering testing technology, etc. Except for the different application backgrounds, the teaching content of these courses is basically the same, mainly introducing the measurement principles of common physical quantities such as temperature, force, and noise and the analysis methods of test signals. At present, the main problem in the teaching of testing technology courses is that there are no physical objects in the classroom teaching of the sensor part. Various different sensors are the same in the eyes of students, and the similar principle introduction makes them feel boring and tedious; while the signal analysis theory part is too profound and difficult for students to understand. In response to these problems, we propose a visual teaching method for testing technology courses with virtual instrument demonstration experiments and engineering cases as the main line; the specific approach is to select several sensors and use measurement experiments to present the working principles of sensors; select several measurement instrument analysis functions and use virtual instrument technology to show the role of signal analysis; select several engineering cases and combine them to introduce the application of testing technology in industry. Use experiments and engineering cases to bring vitality to boring content and give image to abstract theories, change the single book-based teaching model, mobilize students' enthusiasm and initiative in learning, and improve teaching quality.
For the teaching of test technology courses, the most ideal way is to put the classroom in the laboratory, and the teacher explains the theory while operating the test instrument, but this is not realistic. In order to solve the problem of creating an experimental teaching environment in the classroom, we used the reconfigurable virtual instrument technology developed in the National Natural Science Foundation project "Reconfigurable Measurement Theory for Manufacturing" to develop a reconfigurable virtual instrument experimental teaching platform (Dynamic Reconfigurable Virtual Instrument Platform) with independent intellectual property rights for the needs of experimental teaching of test technology courses. And according to the teaching knowledge points, more than 30 experiments were designed to form a virtual instrument experimental teaching environment. In class, teachers can use virtual instrument demonstration experiments to visualize and animate knowledge points to liven up the classroom atmosphere; after class, students can use virtual instrument experiments to verify the learned theories and deepen their understanding of knowledge. DRVI has been used for many years in the national excellent courses "Foundations of Engineering Test Technology" and "Engineering Test and Information Processing" (online) for undergraduates, and the teaching effect is good. At present, more than 150 universities in China have adopted this platform for teaching test technology courses and experimental teaching, and have achieved good social benefits.
2 Design considerations for teaching applications
Teaching virtual instrument experimental platforms and scientific research and industrial virtual instrument platforms have commonalities in technology, but they also have their own special requirements. For example, they must be easy to learn and use; they should be easy to install and carry; they should be easy to organize teaching and knowledge point demonstrations, etc. Perfect and powerful functions are not the main goals pursued during design.
2.1 Software Breadboard Modular Plug-in Assembly Environment
In hardware circuit experiments, teachers and students often use breadboards to connect electronic components and construct experimental circuits. There are many small holes on the breadboard for plugging in electronic components. By plugging the pins of the components into the small holes, a simple experimental circuit can be quickly built using the breadboard, which is very convenient. Drawing on its concept, we use the pipeline of computer inter-process communication to simulate soft wires, and then use a container component containing a group of soft wires to construct a software breadboard; then use the pipeline component to encapsulate the virtual instrument function into a soft component that is easy to plug in, thereby constructing a virtual instrument plug-in assembly development environment similar to a hardware breadboard that is suitable for teaching applications. When applied, teachers and students can quickly assemble a virtual instrument experimental system on the software breadboard like building blocks. Figure 1 is the structure of the virtual instrument software breadboard.
The system adopts a component-based development method in technical implementation. Its advantage is that there is no need for compilation and connection links in the development process of the virtual instrument experiment, and the plug-and-play and hot-swappable of soft components can be realized, which is convenient for teachers and students to operate and try; in addition, the size of the virtual instrument development platform can be made very small. For example, the size of the DRVI platform is less than 5M, and it is green and free to install. Teachers and students can easily use a USB flash drive to copy it to computers in classrooms, dormitories and other places for use.
[page]
Figure 1 Software breadboard structureFigure 2 is a typical signal spectrum analysis experiment operation interface assembled on DRVI.
Figure 2 Typical signal spectrum analysis experiment assembly diagram
2.2 Browser/virtual instrument dual-screen display structure
In the teaching design, we selected more than 30 virtual instrument experiments according to the test technology course architecture and knowledge points. There are about 100 electronic files in total, including experimental scripts, experimental instructions, theoretical references, etc. The most ideal way is to manage these files in the form of hyperlinks of web page files, and to classify, organize and search the experiments according to the teaching system. However, virtual instruments and browsers are two things with different technical implementation forms. It is difficult to make virtual instruments support browsers, and it is also not easy to make browsers support virtual instruments. For this reason, we use the feature that IE browser can be embedded as an ActiveX control as a whole, and embed IE browser in the virtual instrument interface. In order to ensure that the browser interface and the virtual instrument interface do not conflict, when reading web page files such as experimental instructions, the IE control is maximized and the virtual instrument interface is hidden; when doing virtual instrument experiments, the virtual instrument interface is activated, and the IE control is minimized and hidden; that is, the so-called browser/virtual instrument dual-screen display structure is realized.
In addition, to facilitate automatic switching between virtual instruments and browsers, we added a hyperlink control to the virtual instrument. When clicking on a hyperlink in the virtual instrument, it can automatically switch to the browser interface and load the linked web page file. In the browser, we use the hook function to add hyperlink content recognition and filtering functions. When clicking on a hyperlink in the browser, the browser first determines whether it is a web page or a virtual instrument experiment script. If it is a web page, it will be displayed by the browser. If it is an experiment script, it will be processed by the virtual instrument. As shown in Figure 3.
Figure 3 Using the browser/virtual instrument dual-screen structure to achieve operation linkage
By utilizing the browser/virtual instrument dual-screen display structure, teachers and students can read the experiment catalog, experimental content and other information in the browser embedded in the platform during the experiment. By clicking on the link in the web page, they can directly call up the relevant virtual instrument experiment for operation, which is very convenient to use.
2.3 Composite Virtual Instrument Documentation
In the design of test technology teaching experiments, a knowledge point may be decomposed into several related virtual instrument experiments. For example, when explaining the knowledge point of signal modulation and demodulation, the main contents include synchronous modulation and demodulation of signals, bias modulation and demodulation of signals, and the influence of carrier frequency, etc. If these contents are placed in a virtual instrument interface, they often cannot be displayed. If they are treated as different virtual instrument experiments, the virtual instrument scripts need to be loaded back and forth when used.
To this end, we took advantage of the technology that Windows compound documents can store multiple files, and combined several virtual instrument scripts in the same knowledge point to form a compound virtual instrument document. When loading a virtual instrument compound document, the relevant virtual instrument experiments are loaded at the same time and displayed in a layered manner in the virtual instrument window in the form of page frames. Click the page frame selection button on the right side of the virtual instrument interface to quickly switch between virtual instrument experiments in the group.
Figure 4 shows the display of the virtual instrument compound document of the signal modulation and demodulation knowledge point. During the experiment, page frames can be used to quickly jump between signal synchronization modulation and demodulation experiments, bias voltage influence experiments, and carrier frequency influence experiments.
Figure 4 Signal modulation and demodulation knowledge point virtual instrument composite document display interface
2.4 Signal Basic Scripting Language
Another characteristic of the virtual instrument platform for teaching is that it must be more open. In addition to directly using the virtual instrument functional modules integrated in the platform, such as waveform signal generators and spectrum analysis, students must also be able to understand how they are implemented in the virtual instruments; that is, students can design their own virtual instrument analysis functions based on the mathematical formulas they have learned, such as effective value calculations and related function calculations.
[page]
To achieve this goal, we used the VBScript scripting language provided by the Windows platform, integrated it into the virtual instrument platform, and added common signal analysis functions such as FFT and FIR, hardware operation functions such as sound cards and cameras, and graphic function functions such as drawing lines and circles, to form a special scripting language that meets the teaching needs of testing technology courses, called Signal Basic.
Figure 5 Sine wave signal generator Signal Basic code and interface
For example, the mathematical formula for a sine wave signal is:
(1)
Where A is the amplitude of the sine wave signal, f is the frequency, and is the initial phase. This formula is not unfamiliar to students, but after students design a sine wave signal generator by themselves, their understanding of the knowledge will be completely different. Figure 5 is an example of a sine wave signal generator designed using the Signal Basic scripting language, which can be completed with just a few simple lines of code. The Document.xxx functions in the figure are the special functions we extended in VBScript, and the regular language elements such as the Sin function and the For statement are the inherent functions of VBScript.
2.5 Experimental process AVI screen capture and curve bolding demonstration mode
In teaching, it is often necessary to use virtual instrument experiments to demonstrate some difficult-to-understand theoretical content. On-site virtual instrument experiment operation and demonstration is time-consuming and error-prone. To this end, we used the video file reading and writing technology provided by the Windows DirectX multimedia development library and integrated the AVI screen capture function in the virtual instrument experiment teaching platform, which can directly save the virtual instrument experiment process as an AVI video file.
There is another problem when using virtual instruments to demonstrate experiments. The lines of waveforms, spectra and other curves are thin, and it is difficult for students in the back row of the classroom to see them clearly after projection. For this reason, we set up a curve bolding demonstration mode. In this mode, the waveforms, spectra and other curves in the experiment are displayed with bold lines. This is very similar to the display difference between PPT files and Word files after projection. Although this is just an inconspicuous technical improvement, it can greatly improve the teaching demonstration effect.
3 Application of testing technology in teaching
3.1 Visualized experimental teaching of signal analysis theory
Signal analysis theories such as waveform analysis, spectrum analysis, and correlation analysis are difficult points in the teaching of test technology courses. Fourier transform formulas and convolution theorems often give students a headache. In order to improve the teaching effect, we use virtual instrument experiments to visualize these theoretical knowledge. The following is a directory of virtual instrument experiments with a composite document structure designed in teaching. Each experiment contains several small experiments:
1) Typical signal time domain waveform analysis experiment
2) Typical signal spectrum analysis and application experiment
3) Typical signal correlation analysis and application experiment
4) Typical signal probability density analysis and application experiment
5) Error and improvement method experiment in FFT spectrum analysis
6) Digital filter design and application experiment
………
For example, Figure 6 is a signal synthesis and decomposition experiment in the form of a virtual instrument designed by us. Through intuitive experience, students can have a deeper understanding of the engineering significance of Fourier transform and stimulate their interest in learning.
[page]
Figure 6 Waveform synthesis and decomposition experiment
3.2 Physical teaching based on PC test resources
Compared with the test experiments conducted in the laboratory, the virtual instrument experiment has a shortcoming, which is the lack of physical experiments. In fact, the PC running the virtual instrument software itself is a device with rich test resources. For example, the optical mouse on the computer is a photoelectric sensor, the microphone is a capacitive sensor, the camera is a CCD sensor, and the computer sound card is a dual-channel A/D card + D/A card.
We have made full use of this favorable condition in the design of the test technology virtual instrument experimental teaching platform, integrating the sound card and camera driver into the platform to form a PC-based test laboratory. Students can use the PC mouse to do the photoelectric sensor principle experiment, use the microphone to do the capacitive sensor principle experiment, use the camera to do the CCD principle experiment, and use the sound card to do the A/D and D/A card working principle experiment. This solves the problem that the teaching of sensors and test systems in the classroom is boring and tedious due to the lack of real objects.
Figure 7 Signal generator based on PC sound card
In this way, we can build a powerful test laboratory with physical objects and hardware on the PC where teachers teach and students surf the Internet without spending any additional hardware costs. Through it, teachers can show students the principles and applications of test technology in class; after class, students can also do experiments and design small measurement devices by themselves, integrate the knowledge they have learned in practice, and cultivate their ability to observe and solve problems. Figure 7 is the signal generator interface we designed using the sound card.
3.3 Experimental teaching based on engineering cases
In order to combine theory with practice and broaden students' academic horizons, we also took advantage of the fact that the course group members had undertaken a large number of scientific research projects. We abstracted 16 engineering measurement cases from the scientific research projects, such as bridge natural frequency measurement, gearbox vibration fault source analysis, and automobile engine acceleration process noise analysis, and designed them into virtual instrument simulation modules, which were integrated into the virtual instrument experimental teaching platform. Figure 8 shows the rotor test bench model and the axis trajectory measurement experiment designed with it.
Figure 8 Rotor test bench model and its application in axis trajectory measurement experiment
4 Conclusion
“Teaching is the main theme of the school, and improving teaching quality is the eternal theme of the school”. In order to improve the teaching level and quality of the test technology course, the course group has made full use of its scientific research advantages in the field of virtual instruments and developed the DRVI reconfigurable virtual instrument experimental teaching platform, which makes the sensor principle part of the test technology course, which is boring and tedious due to the lack of physical objects, become concrete and vivid, and makes the signal analysis theory part, which is abstract and difficult to learn, become intuitive and vivid, and the quality and effect of course teaching are greatly improved.
Previous article:Research on the architecture of virtual instrument system based on mobile agent
Next article:Design of virtual filter noise removal VI based on LabVIEW platform
- Popular Resources
- Popular amplifiers
- FOUNDRY PROCESS QUALIFICATION GUIDELINES – TECHNOLOGY QUALIFICATION VEHICLE TESTING JEP001-3B
- Evaluating Roadside Perception for Autonomous Vehicles: Insights from Field Testing
- Design of Data Acquisition System Based on PC/104
- USB Complete The Developer\'s Guide 5ed (USB Development Complete 5th Edition)
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- Embedded uboot learning
- Disassembly of an eight-year-old laptop battery!
- Design of greenhouse temperature and humidity monitoring and alarm system based on zigbee
- Why is the STM32 serial port 2 burned out, but other places are not burned out
- Keysight Material Dielectric Constant Test Method - Just Read the Content
- This week's highlights
- Sound pressure, sound intensity and sound power
- Proteus MSP430 MCU simulation example 8-2-bit digital tube countdown
- The TouchGFX Designer is a real pain
- How to implement analog serial communication with TI MSP430