Portable QCM trace substance monitoring device and method for digital teaching
Through the portable QCM trace substance monitoring device, combined with integrated hardware and a user-friendly digital teaching platform, the complex operation of traditional QCM equipment is solved, and high-precision and convenient trace substance monitoring and multimedia teaching are achieved to meet the needs of modern digital teaching.
Patent Information
- Application Number
- CN202411277561.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-09-12
AI Technical Summary
Traditional QCM devices are complex in operation and are not suitable for the intuitive visualization and portability requirements of digital teaching.
A portable QCM trace substance monitoring device is designed, including detection module, sensor drive module, microcontroller control module and upper computer control module. Through an integrated hardware system and a user-friendly digital teaching platform, high-precision monitoring, intuitive data display and Interactive control.
It realizes convenient operation, stability and high-precision monitoring, adapts to a variety of usage scenarios, supports continuous update of multimedia teaching and systems, and meets the needs of modern digital teaching.
Smart Images

Figure CN119028215A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital teaching, and more specifically, to a portable QCM trace material monitoring device and method for digital teaching. Background Art
[0002] Quartz Crystal Microbalance (QCM) is a highly sensitive mass detection technology widely used in chemistry, biology and materials science. QCM technology is based on the piezoelectric effect of quartz crystals and detects the mass change of substances adsorbed or detached from the crystal surface by measuring the change in the crystal's resonant frequency. In the field of chemical sensing, QCM is used to detect various volatile organic compounds (VOCs) including alcohol homologues, which are of great significance in environmental monitoring and industrial processes.
[0003] However, traditional QCM equipment usually requires complex settings and operations, which is not conducive to quick start and real-time teaching. Teaching demonstrations are extremely inconvenient and it is difficult to meet the needs of digital teaching for intuitive visualization and portability. Therefore, it is necessary to design a high-precision, portable QCM device for the teaching and research of trace substance monitoring. Summary of the invention
[0004] In order to overcome the defects of the above-mentioned prior art that it is difficult to meet the intuitive visualization and portability requirements of digital teaching, the present invention provides a portable QCM trace substance monitoring device and method for digital teaching. Through an integrated hardware system and a user-friendly digital teaching platform, convenient operation of high-precision monitoring of trace substances, intuitive display and interactive control of data, diversified functions, and continuous updating and functional upgrading of the system are realized, thereby meeting the needs of modern digital teaching.
[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0006] A portable QCM trace material monitoring device for digital teaching, comprising: a detection module, a sensor driving module, a lower computer control module and an upper computer control module based on a single chip microcomputer, and a power supply module;
[0007] The detection module includes a detection container and a QCM detection probe; the detection container contains a substance to be detected, which is used to simulate the detection environment; the QCM detection probe is fixedly arranged inside the detection container, and a quartz crystal sensor is arranged inside the QCM detection probe, which is used to detect the mass change of the substance to be detected according to the frequency change of the quartz crystal;
[0008] The QCM detection probe is electrically connected to the sensor driving module and transmits the detected frequency signal to the sensor driving module; the sensor driving module provides an excitation signal to the quartz crystal sensor to make the quartz crystal sensor oscillate at a specific resonant frequency;
[0009] The sensor driving module is also electrically connected to the lower computer control module, and the lower computer control module is used to control the sensor driving module, and collect the frequency signal in real time and transmit it to the upper computer control module;
[0010] The upper computer control module is connected to the lower computer control module for communication. The upper computer control module is used to receive and process the frequency signal sent by the lower computer control module, and to perform visual display to realize digital teaching;
[0011] The power supply module is used to supply power to the sensor drive module, the lower computer control module and the upper computer control module respectively.
[0012] Preferably, the structure of the QCM detection probe comprises: a housing, a USB interface, and a detection circuit, a detection cell and a quartz crystal sensor arranged inside the housing;
[0013] The USB interface is integrated with the detection circuit; the USB interface is electrically connected to the sensor driving module for transmitting the frequency signal;
[0014] The quartz crystal sensor is placed inside the detection pool; the interface of the quartz crystal sensor is fixedly connected to the input end of the detection circuit;
[0015] The shell is a detachable structure and is used to replace the coating type of the sensor wafer of the quartz crystal sensor in the detection pool.
[0016] Preferably, the sensor driving module is specifically a Pierce oscillator circuit;
[0017] The quartz crystal sensor is specifically an AT-cut quartz crystal; the frequency unit of the quartz crystal sensor is generally MHz;
[0018] The lower computer control module is specifically an STM32 single-chip microcomputer;
[0019] The host computer control module is specifically a microprocessor Raspberry Pi, and the operating system used is RaspberryPi OS.
[0020] Preferably, the lower computer control module is specifically a STM32F407VET6 single chip microcomputer;
[0021] The lower computer control module uses a 25MHz chip as an external clock source, which is used for the clock of the lower computer control module directly or through a phase-locked loop PLL;
[0022] A peak detection algorithm is used to detect frequency signals to improve measurement accuracy; a TIM4 timer is used to realize real-time frequency calculation, and a trigger value is extracted in real time through a TIM3 timer; the present invention measures frequency signals by combining a peak detection algorithm with a timer, which can significantly improve performance and reduce costs.
[0023] Preferably, the microprocessor Raspberry Pi is provided with two HDMI interfaces, which are respectively used to connect a touch display screen and a projector; the touch display screen is used for user interaction, and the projector is used for multimedia screen projection teaching demonstration;
[0024] When the microprocessor Raspberry Pi is connected to the network, the microprocessor Raspberry Pi is connected to the projector through the network; when the microprocessor Raspberry Pi is not connected to the network, the microprocessor Raspberry Pi is connected to the projector through the corresponding HDMI interface.
[0025] Preferably, the host computer control module is equipped with teaching application software developed based on the Qt platform;
[0026] The teaching application software is used to implement the following operations: data processing, exception handling, automatic startup, multiple experiment re-runs, multimedia screen projection and one-key software upgrade.
[0027] Preferably, the display information of the main interface of the teaching application software includes:
[0028] The number and name of the communication ports, the name of the substance to be tested, the name of the interactive command button, the chart display information, the data input box, the experimental results, the current version of the software and the current running status information;
[0029] The communication port is used to detect the disconnection and connection of the upper computer control module and the lower computer control module in real time;
[0030] The interactive command buttons include: theoretical concentration button, data stability button, stop reading button, export information button, view information button and update system button;
[0031] The data input into the data input box include: the volume of the injected substance to be tested, the volume of the test container and the temperature.
[0032] Preferably, the data processing of the teaching application software includes:
[0033] Through the preset upper and lower computer agreement protocol, the teaching application software reads and analyzes the frequency signal sent by the lower computer control module in real time, calculates the difference ΔF of the frequency change, and screens out the maximum and minimum values of the frequency;
[0034] Based on the Qxlsx module preset in the teaching application software, all frequency signals and the results of analytical calculations thereof are exported as an Excel file; the Excel file includes the acquisition time and frequency value of the frequency signal;
[0035] The data processing adopts a multi-threaded processing mode to ensure smooth response of the main interface of the teaching application software and avoid blocking of the main interface.
[0036] Preferably, the teaching application software is upgraded with one click using a USB flash drive with a built-in software upgrade installation package.
[0037] The present invention also provides a portable QCM trace substance monitoring method for digital teaching, based on the above-mentioned portable QCM trace substance monitoring device for digital teaching, comprising the following steps:
[0038] S1: installing the QCM detection probe inside the detection container, starting the lower computer control module and the upper computer control module and initializing them;
[0039] S2: The lower computer control module controls the sensor driving module to generate an excitation signal and sends it to the quartz crystal sensor, so that the quartz crystal sensor oscillates at a specific resonant frequency;
[0040] After the frequency signal is stabilized, injecting the substance to be tested into the detection container of the detection module;
[0041] S3: The quartz crystal sensor in the QCM detection probe detects the frequency change of the quartz crystal in real time, generates an electrical signal and sends it to the sensor driving module; the sensor driving module receives the electrical signal and amplifies and processes it to obtain a frequency signal;
[0042] S4: The lower computer control module collects the frequency signal in real time and transmits it to the upper computer control module;
[0043] S5: The upper computer control module receives and processes the frequency signal sent by the lower computer control module, and performs visual display to realize digital teaching.
[0044] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0045] The present invention provides a portable QCM trace material monitoring device and method for digital teaching. The basic principle is that the quartz crystal has a fixed basic resonant frequency. After the molecules of the substance to be measured volatilize, they are adsorbed on the surface of the crystal. As the weight of the wafer increases, the resonant frequency of the crystal will decrease accordingly, which is manifested as an obvious decrease in the frequency signal curve, thereby reflecting the mass change of the substance to be measured.
[0046] The present invention has the following advantages:
[0047] 1) Portability and integration: The device is lightweight and integrates material detection, hardware control and teaching functions, and can adapt to a variety of usage scenarios. Through the integrated hardware system and user-friendly digital teaching platform, it realizes convenient operation of high-precision monitoring of trace substances, intuitive display and interactive control of data, diversified functions, and continuous system updates and functional upgrades, thus meeting the needs of modern digital teaching;
[0048] 2) Stability and repeatability: ensure that experimental conditions are controllable and experimental results are stable and reliable;
[0049] 3) High-precision monitoring capability: Quartz crystal sensors can accurately monitor tiny mass changes with high detection accuracy;
[0050] 4) User-friendly interactive interface: The host computer can be directly connected to the touch display device to simplify the operation and realize the intuitive display of data;
[0051] 5) Real-time data processing capability: The host computer can quickly analyze data to meet immediate scientific research and teaching needs;
[0052] 6) Multimedia teaching function: The host computer supports multimedia screen projection, which can enhance the interactivity, intuitiveness and fun of teaching;
[0053] 7) Automated system management: The host computer supports automatic startup and one-key upgrade to improve user experience;
[0054] 8) Multi-threaded data processing: The host computer supports multi-threaded data processing to ensure efficient data processing and smooth interface;
[0055] 9) Experimental continuity support: The present invention supports continuous experiments, which greatly improves portability compared to traditional QCM equipment while ensuring data continuity;
[0056] 10) Flexibility of hardware configuration: The present invention adopts mainstream control chips, which is convenient for hardware upgrade and maintenance, thereby extending the life of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 This is a structural diagram of a portable QCM trace substance monitoring device for digital teaching provided in Example 1.
[0058] Figure 2 This is a schematic diagram of the structure of the detection module provided in Example 2.
[0059] Figure 3 This is a schematic diagram of the overall structure of the QCM detection probe provided in Example 2.
[0060] Figure 4This is a schematic diagram of the internal structure of the QCM detection probe provided in Example 2.
[0061] Figure 5 This is a circuit diagram of the sensor drive module and the lower computer control module provided in Example 2.
[0062] Figure 6 This is a schematic diagram of the main interface of the teaching application software in the host computer control module provided in Example 2.
[0063] Figure 7 This is a workflow diagram of the teaching application software in the host computer control module provided in Example 2.
[0064] Figure 8 A connection diagram of configuring dual HDMI interfaces for the microprocessor Raspberry Pi provided in Example 2.
[0065] Fig. 9 This is a frequency variation diagram of the reaction between zinc particles and acid detected by the existing QCM device provided in Example 2.
[0066] Fig.10 This is a frequency change diagram of the portable QCM device provided in Example 2 detecting the reaction between zinc particles and acid.
[0067] Fig.11 This is a flow chart of a portable QCM trace substance monitoring method for digital teaching provided in Example 3.
[0068] Fig.12 This is a diagram of the intermolecular force verification experiment results provided in Example 3. DETAILED DESCRIPTION
[0069] The drawings are for illustrative purposes only and should not be construed as limiting the present patent;
[0070] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;
[0071] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0072] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0073] Example 1
[0074] like Figure 1 As shown, this embodiment provides a portable QCM trace material monitoring device for digital teaching, including: a detection module, a sensor driving module, a lower computer control module and an upper computer control module based on a single chip microcomputer, and a power supply module;
[0075] The detection module includes a detection container and a QCM detection probe; the detection container contains a substance to be detected, which is used to simulate the detection environment; the QCM detection probe is fixedly arranged inside the detection container, and a quartz crystal sensor is arranged inside the QCM detection probe, which is used to detect the mass change of the substance to be detected according to the frequency change of the quartz crystal;
[0076] The QCM detection probe is electrically connected to the sensor driving module and transmits the detected frequency signal to the sensor driving module; the sensor driving module provides an excitation signal to the quartz crystal sensor to make the quartz crystal sensor oscillate at a specific resonant frequency;
[0077] The sensor driving module is also electrically connected to the lower computer control module, and the lower computer control module is used to control the sensor driving module, and collect the frequency signal in real time and transmit it to the upper computer control module;
[0078] The upper computer control module is connected to the lower computer control module for communication. The upper computer control module is used to receive and process the frequency signal sent by the lower computer control module, and to perform visual display to realize digital teaching;
[0079] The power supply module is used to supply power to the sensor drive module, the lower computer control module and the upper computer control module respectively.
[0080] In the specific implementation process, the basic principle of this device is: the two parallel surfaces of the quartz crystal are each plated with a layer of metal electrodes, and the electrodes provide an AC voltage to the quartz crystal to make it vibrate at the resonant frequency. The resonant frequency of the crystal can be determined by measuring the frequency of the AC signal applied to the electrodes; when a substance is adsorbed or detached from the crystal surface, due to the piezoelectric effect, it will produce charge changes on the electrodes, and these changes can be detected by the electrodes. The voltage or current changes detected by the electrodes are associated with these frequency changes. According to the Sauerbrey equation, the resonant frequency change of the QCM is proportional to the mass adsorbed or detached on the crystal, so the resonant frequency change measured by the QCM can be used to quantitatively analyze the mass of the adsorbed substance; it is manifested as a drop in the curve in the software digital teaching platform, and the changes in the curve and data can be seen in real time;
[0081] During the teaching process, firstly, the substance to be tested is injected into the detection container of the detection module, and the QCM detection probe is immersed in the substance to be tested; the lower computer control module and the upper computer control module are started and initialized;
[0082] The lower computer control module controls the sensor driving module to generate an excitation signal and sends it to the quartz crystal sensor, so that the quartz crystal sensor oscillates at a specific resonant frequency;
[0083] The quartz crystal sensor in the QCM detection probe detects the frequency change of the quartz crystal in real time, generates an electrical signal and sends it to the sensor drive module; the sensor drive module receives the electrical signal and amplifies and processes it to obtain the frequency signal;
[0084] The lower computer control module collects the frequency signal in real time and transmits it to the upper computer control module;
[0085] The upper computer control module receives and processes the frequency signal sent by the lower computer control module, and displays it visually to realize digital teaching;
[0086] The device is lightweight and integrates material detection, hardware control and teaching functions, and can adapt to a variety of usage scenarios. Through the integrated hardware system and user-friendly digital teaching platform, it realizes convenient operation of high-precision monitoring of trace substances, intuitive display and interactive control of data, diversified functions, and continuous updating and functional upgrading of the system, thus meeting the needs of modern digital teaching.
[0087] Example 2
[0088] This embodiment provides a portable QCM trace substance monitoring device for digital teaching, including: a detection module, a sensor driving module, a lower computer control module and an upper computer control module based on a single chip microcomputer, and a power supply module;
[0089] like Figure 2 As shown, the detection module includes a detection container and a QCM detection probe; the detection container contains a substance to be detected (gas in this embodiment) for simulating a detection environment; the QCM detection probe is fixedly arranged inside the detection container, and a quartz crystal sensor is arranged inside the QCM detection probe for detecting a mass change of the substance to be detected according to a frequency change of the quartz crystal;
[0090] In this embodiment, the detection container is a cylindrical glass cylinder, which is used to simulate the gas environment in actual applications; the upper cover of the detection cylinder is provided with a USB2.0 socket for fixing the gas detection probe and transmitting data;
[0091] The QCM detection probe is electrically connected to the sensor driving module and transmits the detected frequency signal to the sensor driving module; the sensor driving module provides an excitation signal to the quartz crystal sensor to make the quartz crystal sensor oscillate at a specific resonant frequency;
[0092] The sensor driving module is also electrically connected to the lower computer control module, and the lower computer control module is used to control the sensor driving module, and collect the frequency signal in real time and transmit it to the upper computer control module;
[0093] The upper computer control module is connected to the lower computer control module for communication. The upper computer control module is used to receive and process the frequency signal sent by the lower computer control module, and to perform visual display to realize digital teaching;
[0094] The power supply module is used to supply power to the sensor drive module, the lower computer control module and the upper computer control module respectively;
[0095] like Figure 3 As shown, the structure of the QCM detection probe includes: a housing, a USB interface, and a detection circuit, a detection cell and a quartz crystal sensor arranged inside the housing; the copper wire is wrapped in glass fiber to reduce the risk of chemical corrosion;
[0096] The USB interface is integrated with the detection circuit; the USB interface is electrically connected to the sensor driving module for transmitting the frequency signal;
[0097] The quartz crystal sensor is placed inside the detection pool; the interface of the quartz crystal sensor is fixedly contacted and connected with the input end (metal spring contact) of the detection circuit;
[0098] The shell is a detachable structure. Figure 4 As shown, the detection pool is the concave circular structure in the center of the housing, and the upper cover and the lower cover of the detection pool are fixed by magnets for replacing the sensor wafer coated with different materials;
[0099] The sensor driving module is specifically a Pierce oscillator circuit;
[0100] The quartz crystal sensor is specifically an AT-cut quartz crystal; the frequency of the quartz crystal sensor in this embodiment is 6 MHz;
[0101] The lower computer control module is specifically an STM32 single-chip microcomputer;
[0102] The host computer control module is specifically a microprocessor Raspberry Pi, and the operating system used is RaspberryPi OS;
[0103] like Figure 5 As shown, in this embodiment, the lower computer control module is specifically a STM32F407VET6 single chip microcomputer;
[0104] The lower computer control module uses a 25MHz chip as an external clock source, which is used for the clock of the lower computer control module directly or through a phase-locked loop PLL;
[0105] The power circuit is filtered by non-polarized capacitors to eliminate high-frequency noise and reduce ripple. The ADC module of the main control chip is configured to adapt to the oscillation signal and connect the oscillation output to the ADC input channel. The TIM4 timer is used to calculate the frequency, and the trigger value is extracted every second by the TIM3 timer. The peak detection algorithm is used to improve the measurement accuracy, and the frequency value is formatted and sent through the USB to serial port. This configuration ensures the stability of the system and the accuracy of the measurement.
[0106] The microprocessor Raspberry Pi is provided with two HDMI interfaces, which are respectively used to connect the touch display screen and the projector; the touch display screen is used for user interaction, and the projector is used for multimedia screen projection teaching demonstration;
[0107] When the Raspberry Pi is connected to the network, the microprocessor is connected to the projector through the network; when the Raspberry Pi is not connected to the network, the microprocessor is connected to the projector through any HDMI interface;
[0108] The host computer control module is equipped with teaching application software developed based on the Qt platform;
[0109] The teaching application software is used to implement the following operations: data processing, exception handling, automatic startup, multiple experiment re-runs, multimedia screen projection and one-key software upgrade;
[0110] The display information of the main interface of the teaching application software includes:
[0111] The number and name of the communication ports, the name of the substance to be tested, the name of the interactive command button, the chart display information, the data input box, the experimental results, the current version of the software and the current running status information;
[0112] The communication port is used to detect the disconnection and connection of the upper computer control module and the lower computer control module in real time;
[0113] The interactive command buttons include: theoretical concentration button, data stability button, stop reading button, export information button, view information button and update system button;
[0114] The data input into the data input box include: the volume of the substance to be tested, the volume of the test container and the temperature;
[0115] The data processing of the teaching application software includes:
[0116] Through the preset upper and lower computer agreement protocol, the teaching application software reads and analyzes the frequency signal sent by the lower computer control module in real time, calculates the difference ΔF of the frequency change, and screens out the maximum and minimum values of the frequency;
[0117] Based on the Qxlsx module preset in the teaching application software, all frequency signals and the results of analytical calculations thereof are exported as an Excel file; the Excel file includes the acquisition time and frequency value of the frequency signal;
[0118] The data processing adopts a multi-threaded processing mode to ensure smooth response of the main interface of the teaching application software and avoid blocking of the main interface;
[0119] The teaching application software is upgraded with one click using a USB flash drive with a built-in software upgrade installation package.
[0120] In the specific implementation process, during the teaching process, firstly, the substance to be tested is injected into the detection container of the detection module, and the QCM detection probe is immersed in the substance to be tested; the lower computer control module and the upper computer control module are started and initialized;
[0121] The lower computer control module controls the sensor driving module to generate an excitation signal and sends it to the quartz crystal sensor, so that the quartz crystal sensor oscillates at a specific resonant frequency;
[0122] The quartz crystal sensor in the QCM detection probe detects the frequency change of the quartz crystal in real time, generates an electrical signal and sends it to the sensor drive module; the sensor drive module receives the electrical signal and amplifies and processes it to obtain the frequency signal;
[0123] The lower computer control module collects the frequency signal in real time and transmits it to the upper computer control module;
[0124] The upper computer control module receives and processes the frequency signal sent by the lower computer control module, and displays it visually to realize digital teaching;
[0125] In order to realize digital teaching, a teaching application software is built into the host computer control module in this embodiment, such as Figure 6 The main interface is shown as follows. The page includes the communication port number and name area, the detected substance name display area, the interactive command button area, the chart display area, the data input box area, the experimental report result area, and the system current version and system operation status display area;
[0126] The number and name of the communication port system uses the QTimer timing trigger detection mechanism to query the serial port information provided by QSerialPortInfo. The system can promptly identify the serial port name and number information as well as the communication port insertion or removal events, and update the system operation status to show the connection success Connect successful or the connection failure Connect failure;
[0127] The current system version will be displayed according to the system upgrade installation package version name;
[0128] The interactive command buttons include theoretical concentration button, data stability button, stop reading button, export information button, view information button, and update system button;
[0129] The data input box includes injection volume, cylinder volume, and temperature. You can use the numeric keypad to input these parameters according to the actual situation. You can input integers or decimals. "←" can delete the wrong data. "C" can clear the text box. Click "Enter" to complete the data input. Click the theoretical concentration calculation button to calculate the theoretical concentration according to the above-mentioned values of injection volume, cylinder volume, and temperature, and the corresponding material frequency formula.
[0130] The system reads the received data in real time by monitoring the readyRead signal of the serial port and parses it through the read_serialport slot function; at the same time, the curve is drawn in real time in the chart display area. Since the curve data is displayed dynamically over time, if the user needs to see the curve at the previous time point, the curve can be enlarged, reduced, moved by touching the screen, or reset to quickly restore to the initial loading state of the curve;
[0131] In order to see the decreasing trend of ΔF more clearly, after clicking the data is stable, the vertical and horizontal coordinates of the chart display area will adapt to the maximum and minimum value difference range;
[0132] In the process of calculating ΔF, it is necessary to intercept a section of data that meets the standard, that is, remove the unstable and invalid data caused by the first section of interference, and then take the section of data that tends to be stable until the end of the experiment. During the data measurement process, the tester subjectively gives a data stability mark through the slight changes in the frequency curve;
[0133] After clicking the data stable button, the system will record the time point and frequency value at the background;
[0134] After a period of experimentation, when the experiment is about to end and the data is stable and no longer fluctuates violently, click the stop reading button, and the system will record the end time point and frequency value in the background;
[0135] The start and end time points and frequency value data recorded by the system in the background from the time the data stabilization button is clicked to the time the stop reading button is clicked are stored in the QVector container and processed by the C++STL algorithm to filter out the maximum and minimum frequency values of the data; the difference ΔF of the frequency change is calculated, and the difference in the intermolecular force is obtained through analysis and comparison;
[0136] In this embodiment, data processing adopts multi-threading technology, and time-consuming algorithm processing operations are moved to the background thread for execution, ensuring smooth response of the main interface;
[0137] When you click to export information, the frequency curve from the maximum value time point to the minimum value time point will be displayed in the chart, including the name of the detected substance, the maximum and minimum frequency values, the frequency difference, the injection volume, the cylinder volume, the temperature, the theoretical and actual concentrations will all be displayed;
[0138] In order to improve the efficiency of data processing, reduce repetitive work, and help research and teaching staff to better analyze data later, the Qxlsx module is integrated so that the system can operate Excel files;
[0139] At the same time, the QProcess component is used to execute system commands to detect the connection status of the USB flash drive. After the connection is successful, the USB flash drive is mounted through the System function to copy the Excel and Png data files to the USB flash drive to realize convenient data export.
[0140] Click the Export to USB button, the USB flash drive will be detected first. If the USB flash drive is not inserted, data cannot be exported.
[0141] After inserting the U disk, click Export to U disk again, and a pop-up window will pop up to indicate successful saving. After clicking Confirm, an Excel file and a Png file named with the system time + the name of the substance being tested will be generated in the system specified directory. At the same time, there will also be an Excel file and a Png file with the same name in the U disk.
[0142] After inserting the USB drive into the Windows system and opening the Excel file, you can see the complete data from the beginning to the end of the experiment, as well as the maximum and minimum time points and frequency values, and the processing is highlighted;
[0143] Click the Update System button in the lower right corner of the interface, and a prompt will pop up asking whether you want to enter the software update page. After clicking OK, the main program of the system will be closed, and a new page will pop up to update the system with one click.
[0144] If you click on the one-click system update without inserting the USB drive, the update cannot be completed and a prompt will be given that the USB drive is not inserted;
[0145] After inserting the USB flash drive, the system will automatically detect the new version of the software package and migrate it to the directory of the main program software package started by Raspberry Pi, and give a pop-up window indicating that the software update is successful. Click Run new program immediately, and the new version of the software will be run directly. Click Restart system to run the new program, and the system will be restarted immediately. After the restart is complete, the new version of the system program will be started.
[0146] like Figure 7The figure shows the workflow of the teaching application software. After the Raspberry Pi is powered on, the teaching application software uses the .Desktop file specification of the Linux system to create a custom launcher. After the system boots, it automatically locates and executes the executable file in the predefined directory.
[0147] The available software can project the teaching application software through the network medium, or through the other of the two HDMI interfaces; the system can detect the data sent by the hardware system in real time through the serial connection, and after the host computer receives the data, it will draw a chart to display the data, and also record and display the experimental report data; the chart data and experimental report data can be exported to a USB drive or viewed in the teaching application software, and the chart data can be exported as an Excel file, and the experimental report data can be exported in Png format;
[0148] When the user issues a one-click update command, the Grep command is used with regular expressions to accurately identify the main process of the currently running software. Subsequently, the identification result is converted into a system command line parameter through the Xargs tool, and the System function is called to trigger the Kill command to safely terminate the software process; after closing, insert the USB flash drive and use QDir to traverse and select the new software package to overwrite the original old software package. Then execute the overwritten software package to complete the system update;
[0149] After completing the above process, the system ends the current work cycle and waits for the next task to start or user operation;
[0150] To achieve a smooth restart of the software, the qApp->exit(0) function is used to exit the current application, and the exec() system call is used to restart the application. In addition, the QProcess::startDetached method is used to restart the software package in the original system path to ensure the continuity and stability of the service.
[0151] like Figure 8As shown in the figure, the connection diagram of the microprocessor Raspberry Pi with dual HDMI interfaces. For the Raspberry Pi with two HDMI interfaces, burn the Raspberry Pi OS system to the SD card, build the development environment and complete the teaching application software development, connect the touch display device to HDMI1 of the Raspberry Pi, connect the projector to HDMI2, and power the touch display device with USB1; after the hardware connection, in the software method, open the config.txt file, change the corresponding statements of [hdmi:0][hdmi:1] to the resolution of the touch display device, save the settings, restart the Raspberry Pi, open Screen Configuration: drag HDMI-2 to overlap HDMI-1, and click Confirm: the two displays can copy and display the same picture, and the touch can be used normally;
[0152] In order to verify the performance of the device, this embodiment also conducted a performance comparison experiment between the device and the existing QCM equipment;
[0153] Experimental background: The experimental textbook "Principles of Chemical Reaction" in the standard curriculum of ordinary high schools mentions that Zn reacts with dilute H2SO4. Adding a small amount of CuSO4 solution causes a galvanic reaction, which can accelerate the reaction rate. Teachers often find it difficult to explain from the perspective of middle school chemistry, and do not let students experience the change in the rate through experiments. Can students intuitively feel that adding CuSO4 can accelerate the reaction rate of Zn and dilute H2SO4? The QCM device instrument has tried this;
[0154] Experimental principle: The QCM experimental device is a mass sensor composed of a quartz wafer, a sensor, a reaction device (sealed container) and computer software. In a sealed container, the gas generated in the container can be adsorbed onto the crystal surface. When the gas is adsorbed onto the wafer surface, the wafer mass changes. Through the resonant frequency effect of the wafer, the reaction is reflected on the computer as a change in frequency. In general, the reaction rate of Zn and dilute H2SO4 can be indirectly observed by observing the frequency change in the computer.
[0155] Experimental instruments: traditional QCM device and the portable QCM device provided in this embodiment;
[0156] Experimental chemicals: zinc particles of the same diameter, distilled water, 1 mol / L CuSO4 solution, 5 mol / L sulfuric acid solution;
[0157] Specific experimental steps:
[0158] The following two experiments were performed for the conventional QCM device and the portable QCM device provided in this embodiment:
[0159] Experiment 1: Assemble the QCM device, put silica gel in the reaction device to absorb other gases and water in the device, take out the silica gel after the frequency in the computer software is stable (change is less than 5Hz within 2 minutes), put 0.5g of Zn particles in the container, wait for the frequency to be stable (change is less than 5Hz within 2 minutes), inject 4mL of 5moL / L sulfuric acid and 1mL of distilled water mixture with a syringe, and observe the frequency change on the computer for 10 minutes;
[0160] Experiment 2: Repeat the steps of Experiment 1, but replace the mixture of 4mL 5moL / L sulfuric acid and 1mL distilled water with 4mL 5moL / L sulfuric acid and 1mL 1moL / L CuSO4 solution, and observe the frequency change on the computer for 10 minutes;
[0161] In this comparative experiment, the detection performance of the existing QCM device and the portable QCM device provided in this embodiment on the frequency change trend of the production of hydrogen by the reaction of zinc particles and acid was compared. Fig. 9 and 10 The figure shows the experimental results;
[0162] Depend on Fig.10 It can be seen that in the two experiments of the portable QCM device, the frequency difference between the two experiments is 1475 and 1514, which is very close, indicating that sulfuric acid can completely react with Zn particles, so the quality of hydrogen produced is almost the same. From the image, it can be seen that the complete reaction of experiment 1 took about 500s, and the complete reaction of experiment 2 took about 150s, which is much faster than experiment 1. This shows that the addition of CuSO4 solution will significantly accelerate the reaction rate of Zn and dilute H2SO4, indicating that the portable QCM device proposed in this embodiment is effective and can accurately and intuitively perform visual teaching;
[0163] Depend on Fig. 9 and Fig.10 By comparison, the performance (frequency difference) of the portable QCM device and the existing QCM device are almost the same, but the measurement process of the existing QCM device is cumbersome and not suitable for large-scale promotion in the teaching field. In comparison, the portable QCM device is more oriented to the teaching field, while the traditional QCM device is more oriented to the scientific research and experimental fields. This device can be started and stopped at any time, the experimental parameters can be changed at any time, and the measurement process is more convenient.
[0164] In summary, the portable QCM device is more portable and more suitable for digital teaching on the basis of having performance similar to that of the existing QCM device; in addition, the device is more portable, the equipment is more compact, the integration is higher, the operation process is simpler, and it is easy to run, which has significant advantages;
[0165] The device is lightweight and integrates material detection, hardware control and teaching functions, and can adapt to a variety of usage scenarios. Through the integrated hardware system and user-friendly digital teaching platform, it realizes convenient operation of high-precision monitoring of trace substances, intuitive display and interactive control of data, diversified functions, and continuous updating and functional upgrading of the system, thus meeting the needs of modern digital teaching.
[0166] Example 3
[0167] like Fig.11 As shown, this embodiment is a portable QCM trace substance monitoring method for digital teaching, based on the portable QCM trace substance monitoring device for digital teaching described in Example 1 or 2, comprising the following steps:
[0168] S1: installing the QCM detection probe inside the detection container, starting the lower computer control module and the upper computer control module and initializing them;
[0169] S2: The lower computer control module controls the sensor driving module to generate an excitation signal and sends it to the quartz crystal sensor, so that the quartz crystal sensor oscillates at a specific resonant frequency;
[0170] After the frequency signal is stabilized, the substance to be tested is injected into the detection container of the detection module; the injection method is not limited here. In this embodiment, an injection hole sealed with a rubber plug is opened on the upper cover of the detection container, and the substance to be tested is injected into the detection container through the injection hole by a syringe;
[0171] S3: The quartz crystal sensor in the QCM detection probe detects the frequency change of the quartz crystal in real time, generates an electrical signal and sends it to the sensor driving module; the sensor driving module receives the electrical signal and amplifies and processes it to obtain a frequency signal;
[0172] S4: The lower computer control module collects the frequency signal in real time and transmits it to the upper computer control module;
[0173] S5: The upper computer control module receives and processes the frequency signal sent by the lower computer control module, and performs visual display to realize digital teaching.
[0174] In the specific implementation process, this embodiment provides a teaching experiment process for verifying the intermolecular force using a portable QCM device, which is as follows:
[0175] Install the quartz wafer coated with u101 material in the QCM detection probe, put the silica gel into the detection container, and absorb the water vapor in the detection container. After one hour, take out the silica gel and wait for about 10 to 30 minutes until the frequency stabilizes (the frequency changes within 5Hz within 2 minutes);
[0176] Wait for the frequency signal collected in the host computer control module to stabilize, click "Data Stable", and inject 1mL of methanol into the device;
[0177] The frequency change curve and specific values can be seen in about 1 minute. Click "Stop Reading" to stop the acquisition and save the experimental data.
[0178] Repeat the above operation to measure the changes in the frequency of ethanol and n-butanol;
[0179] like Fig.12 The experimental test result is shown in the graph. The experimental frequency change graph confirms that liquid volatilization overcomes the intermolecular force. The less volatilization, the fewer molecules attached to the crystal surface, and the smaller the frequency drop in the same time, the greater the intermolecular force of the test object; the more volatilization, the more molecules attached to the crystal surface, and the greater the frequency drop in the same time, the smaller the intermolecular force of the test object; the experimental conclusion is that the intermolecular force: methanol < ethanol < butanol;
[0180] This method makes qualitative conclusions precise and microscopic essences intuitive, helping students establish substantive knowledge connections between unfamiliar concepts and familiar concepts, and scientifically construct abstract chemical concepts. It not only demonstrates the importance of digital technology in modern education, but also provides new perspectives and tools for chemical teaching and basic scientific research.
[0181] The same or similar reference numerals correspond to the same or similar components;
[0182] The terms used in the drawings to describe positional relationships are only used for illustrative purposes and should not be construed as limiting this patent;
[0183] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A portable QCM trace substance monitoring device for digital teaching, characterized in that: include: Detection module, sensor drive module, microcontroller-based lower-computer control module and upper-computer control module, and power supply module; The detection module includes a detection container and a QCM detection probe; the detection container contains a substance to be detected, which is used to simulate the detection environment; the QCM detection probe is fixedly arranged inside the detection container, and a quartz crystal sensor is arranged inside the QCM detection probe, which is used to detect the mass change of the substance to be detected according to the frequency change of the quartz crystal; The QCM detection probe is electrically connected to the sensor driving module and transmits the detected frequency signal to the sensor driving module; the sensor driving module provides an excitation signal to the quartz crystal sensor to make the quartz crystal sensor oscillate at a specific resonant frequency; The sensor driving module is also electrically connected to the lower computer control module, and the lower computer control module is used to control the sensor driving module, and collect the frequency signal in real time and transmit it to the upper computer control module; The upper computer control module is connected to the lower computer control module for communication. The upper computer control module is used to receive and process the frequency signal sent by the lower computer control module, and to perform visual display to realize digital teaching; The power supply module is used to supply power to the sensor drive module, the lower computer control module and the upper computer control module respectively.
2. A portable QCM trace substance monitoring device for digital teaching according to claim 1, characterized in that: The structure of the QCM detection probe includes: a housing, a USB interface, and a detection circuit, a detection cell and a quartz crystal sensor arranged inside the housing; The USB interface is integrated with the detection circuit; the USB interface is electrically connected to the sensor driving module for transmitting the frequency signal; The quartz crystal sensor is placed inside the detection pool; the interface of the quartz crystal sensor is fixedly connected to the input end of the detection circuit; The shell is a detachable structure and is used to replace the coating type of the sensor wafer of the quartz crystal sensor in the detection pool.
3. A portable QCM trace substance monitoring device for digital teaching according to claim 1, characterized in that: The sensor driving module is specifically a Pierce oscillator circuit; The quartz crystal sensor is specifically an AT-cut quartz crystal; The lower computer control module is specifically an STM32 single-chip microcomputer; The host computer control module is specifically a Raspberry Pi microprocessor, and the operating system used is Raspberry PiOS.
4. A portable QCM trace substance monitoring device for digital teaching according to claim 3, characterized in that: The lower computer control module is specifically a STM32F407VET6 single chip microcomputer; The lower computer control module uses a 25MHz chip as an external clock source, which is used for the clock of the lower computer control module directly or through a phase-locked loop PLL; The peak detection algorithm is used to detect the frequency signal to improve the measurement accuracy. The TIM4 timer is used to realize the real-time calculation of the frequency, and the trigger value is extracted in real time through the TIM3 timer.
5. A portable QCM trace substance monitoring device for digital teaching according to claim 3, characterized in that: The microprocessor Raspberry Pi is provided with two HDMI interfaces, which are respectively used to connect the touch display screen and the projector; the touch display screen is used for user interaction, and the projector is used for multimedia screen projection teaching demonstration; When the microprocessor Raspberry Pi is connected to the network, the microprocessor Raspberry Pi is connected to the projector through the network; when the microprocessor Raspberry Pi is not connected to the network, the microprocessor Raspberry Pi is connected to the projector through the corresponding HDMI interface.
6. A portable QCM trace substance monitoring device for digital teaching according to claim 3 or 5, characterized in that: The host computer control module is equipped with teaching application software developed based on the Qt platform; The teaching application software is used to implement the following operations: data processing, exception handling, automatic startup, multiple experiment re-runs, multimedia screen projection and one-key software upgrade.
7. A portable QCM trace substance monitoring device for digital teaching according to claim 6, characterized in that: The display information of the main interface of the teaching application software includes: The number and name of the communication ports, the name of the substance to be tested, the name of the interactive command button, the chart display information, the data input box, the experimental results, the current version of the software and the current running status information; The communication port is used to detect the disconnection and connection of the upper computer control module and the lower computer control module in real time; The interactive command buttons include: theoretical concentration button, data stability button, stop reading button, export information button, view information button and update system button; The data input into the data input box include: the volume of the injected substance to be tested, the volume of the test container and the temperature.
8. A portable QCM trace substance monitoring device for digital teaching according to claim 6, characterized in that: The data processing of the teaching application software includes: Through the preset upper and lower computer agreement protocol, the teaching application software reads and analyzes the frequency signal sent by the lower computer control module in real time, calculates the difference ΔF of the frequency change, and screens out the maximum and minimum values of the frequency; Based on the Qxlsx module preset in the teaching application software, all frequency signals and the results of analytical calculations thereof are exported as an Excel file; the Excel file includes the acquisition time and frequency value of the frequency signal; The data processing adopts a multi-threaded processing mode to ensure smooth response of the main interface of the teaching application software and avoid blocking of the main interface.
9. A portable QCM trace substance monitoring device for digital teaching according to claim 6, characterized in that: The teaching application software is upgraded with one click using a USB flash drive with a built-in software upgrade installation package.
10. A portable QCM trace substance monitoring method for digital teaching, based on the portable QCM trace substance monitoring device for digital teaching as claimed in any one of claims 1 to 9, characterized in that: The following steps are involved: S1: installing the QCM detection probe inside the detection container, starting the lower computer control module and the upper computer control module and initializing them; S2: The lower computer control module controls the sensor driving module to generate an excitation signal and sends it to the quartz crystal sensor, so that the quartz crystal sensor oscillates at a specific resonant frequency; After the frequency signal is stabilized, injecting the substance to be tested into the detection container of the detection module; S3: The quartz crystal sensor in the QCM detection probe detects the frequency change of the quartz crystal in real time, generates an electrical signal and sends it to the sensor driving module; the sensor driving module receives the electrical signal and amplifies and processes it to obtain a frequency signal; S4: The lower computer control module collects the frequency signal in real time and transmits it to the upper computer control module; S5: The upper computer control module receives and processes the frequency signal sent by the lower computer control module, and performs visual display to realize digital teaching.
Citation Information
Patent Citations
Visual interactive electromagnetic wave experiment teaching system and control method
CN106448389A
Method and apparatus for measuring deposit forming capacity of fluids using an electrochemically controlled pH change in the fluid proximate to a piezoelectric microbalance
US20030070943A1
Simulated respiratory tract
WO2019016094A1
KR20190113038A
Cited By
PCB (Printed Circuit Board) defect detection system
CN121324183A
