Movatterモバイル変換


[0]ホーム

URL:


CN113792444A - Method for constructing waveform of mechanics virtual simulation experiment - Google Patents

Method for constructing waveform of mechanics virtual simulation experiment
Download PDF

Info

Publication number
CN113792444A
CN113792444ACN202111344313.5ACN202111344313ACN113792444ACN 113792444 ACN113792444 ACN 113792444ACN 202111344313 ACN202111344313 ACN 202111344313ACN 113792444 ACN113792444 ACN 113792444A
Authority
CN
China
Prior art keywords
waveform
data
experiment
virtual simulation
simulation experiment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111344313.5A
Other languages
Chinese (zh)
Inventor
李金勇
张中雷
黄武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Techman Software Co Ltd
Original Assignee
Chengdu Techman Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Techman Software Co LtdfiledCriticalChengdu Techman Software Co Ltd
Priority to CN202111344313.5ApriorityCriticalpatent/CN113792444A/en
Publication of CN113792444ApublicationCriticalpatent/CN113792444A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a method for constructing a waveform of a mechanomotive virtual simulation experiment, belongs to the technical field of data transmission and processing, solves the problem that the waveform of the current virtual simulation experiment influences the observation and analysis effects, and comprises the following steps: exporting data required by a virtual simulation experiment; processing the data into graphs and comparing the graphs with the entity experiment waveforms; processing the experimental waveform by using a function tool; inserting a scatter diagram or a line diagram into the processed data, and judging whether the processed data is consistent with the real experimental waveform theory and the change trend; the data is checked and formatted to generate a json data file; constructing a front-end waveform display UI interface frame, loading a json data file through HTML5, and inverting the data; compiling script codes and configuring functional parameters; detecting a functional parameter; and packaging to form a virtual simulation experiment waveform. The method is used for constructing the virtual simulation experiment waveform, and the constructed waveform has high similarity with the entity experiment waveform and can be flexibly adjusted.

Description

Method for constructing waveform of mechanics virtual simulation experiment
Technical Field
The invention belongs to the technical field of digital information transmission processing, and particularly relates to a method for constructing a waveform of a mechanomotive virtual simulation experiment.
Background
The virtual simulation experiment is a product of deep integration of discipline major and information technology, and the virtual experiment environment and the experiment object are constructed by relying on multimedia, simulation technology, virtual reality, man-machine interaction, a database and network communication technology, so that students can develop experiments in the virtual environment, and finally, the teaching function that a real experiment does not have or is difficult to complete is realized. The method can save a large amount of entity resources and avoid the pollution of part of entity experiments to the environment. And the experiment of the mechanotechnology virtual simulation, namely adopting the method to construct a virtual mechanotechnology laboratory, and finishing the operation of the experiment related to physiology, pharmacology and pathophysiology and the analysis of the experimental waveform in a virtual environment, wherein the experimental waveform comprises the blood pressure waveform, the respiration waveform, the muscle tension waveform, the brain waveform and the like of the animal. The analysis of the virtual experiment waveform avoids the defect that the experiment fails due to high experiment complexity in some entity experiments and the experiment waveform cannot be observed, and simultaneously improves the interest and the enthusiasm of students in learning the functional experiments.
At present, there are two methods for constructing the waveform of the mechanotechnology virtual simulation experiment:
the first method is to adopt Adobe Flash or Adobe Photoshop software to perform copying and drawing according to experimental waveform requirements or an existing experimental waveform diagram. The method can only draw experimental waveforms with simple change degrees, cannot realize waveforms with complex and irregular waveform trend changes, is long in drawing time and large in workload, and meanwhile, the finished virtual experimental waveforms cannot realize the adjustment of waveform gain and scanning speed, so that students cannot expand the waveforms to observe details, and the analysis of the students on knowledge points is influenced.
And the second method is to adopt an algorithm and simulate and generate the waveform according to the actually required waveform trend by using a function. The method has higher requirement on mathematical power of a maker, the manufactured waveform can realize the adjustment of gain and scanning speed, but because the waveform generated by function simulation is more ideal, if the trend of a blood pressure curve in each period of the blood pressure waveform is basically the same, the difference of the curve in each period in the real waveform can not be copied, thereby influencing the actual teaching effect.
Disclosure of Invention
The invention aims to:
the method for constructing the waveform of the virtual simulation experiment in the mechanics is provided for solving the problems that the waveform period curve manufactured by the method for constructing the waveform of the virtual simulation experiment in the prior art is fixed and ideal, so that the difference with a real waveform curve is large, and the observation and analysis effects are influenced.
The technical scheme adopted by the invention is as follows:
a method for constructing a waveform of a mechanomotive virtual simulation experiment comprises the following steps:
step A: exporting data required by a virtual simulation experiment;
and B: processing the derived data into a graph in an Excel table and comparing the graph with an entity experiment waveform;
and C: processing the experimental waveform by adopting a function tool in an Excel table to obtain processed data;
step D: c, inserting a scatter diagram or a line diagram into the processed data, judging whether the processed data is consistent with the real experimental waveform theory and the change trend, judging whether the processed data meets the waveform requirement or not, and repeating the step C if the processed data does not meet the requirement;
step E: checking and formatting the data;
step F: constructing a front-end waveform display UI interface box by using HTML5 and CSS, loading a json data file in a HTML5 request mode, and inverting the formatted data;
step G: writing script codes through JavaScript, and configuring functional parameters, wherein the functional parameters comprise gain, scanning speed, time axis and the like;
step H: adding the configured functional parameters into a waveform inversion program drawn by HTML5 for debugging, detecting whether the functional parameters are normal, and if the functional parameters are not normal, repeating the step G;
step I: and packaging the finally generated waveform by adopting an SCROM standard to form an SCROM standard courseware containing simulation experiment waveforms.
Further, the method of step a is: and opening the entity experiment waveforms collected in the entity experiment by using a biological signal collecting system according to the requirements of the virtual simulation experiment, selecting partial waveforms required in the virtual simulation experiment, and exporting the partial waveforms to be data txt files.
Further, the method of step B is: opening the exported original data document, inputting the exported original data into an Excel table, inserting a scatter diagram or a line diagram into the exported data, comparing the exported data with part of waveforms selected and exported in the biological signal acquisition system to determine whether the export of the original data is correct or not, and repeating the step A if the export is wrong.
Further, the method for processing by using a self-contained function tool of the Excel table in the step C comprises the following steps: and segmenting the threshold value through an IF condition function, adjusting the overall baseline and the overall waveform amplitude of the experimental waveform, and adjusting the waveform trends of different areas to obtain processed data.
Further, the method of step E is: inputting the data judged in the step D into a verification formatting tool, automatically executing a verification program, and checking whether a non-digital data point exists or not; if the digital format exists, the checking program automatically corrects the digital format into the digital format; if the data does not exist, the data enters a formatting program, the processed original data is converted into a standard format, and a json data file is generated.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. according to the invention, the biological signal original data collected in the entity experiment is derived, the original data is processed through an Excel table, and the waveform is inverted in real time by utilizing an Html5 technology, so that the waveform capable of adjusting gain and scanning speed can be rapidly generated, and meanwhile, the waveform is an inversion of the entity experiment waveform, the trend of the real experiment waveform and the difference of the period of the real experiment waveform are completely copied, so that the true degree of the virtual experiment is higher, and the learning interest and teaching effect of students are increased.
2. When the method of the invention is used for manufacturing the mechanical virtual simulation experiment waveform, the virtual experiment waveforms of different experiments and different types of physiological indexes can be quickly generated in a short time according to the typical experiment waveform acquired in the biological signal acquisition system; the waveform details can be checked by amplifying the waveform when a user learns the virtual waveform, the waveform amplitude can be observed by adjusting the gain, the front waveform and the rear waveform can be contrasted and analyzed by adjusting the time axis, and the application is more flexible.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a waveform diagram of raw data according to one embodiment of the present invention;
FIG. 3 is a schematic flow chart of data processing using Excel table according to the present invention;
FIG. 4 is a schematic diagram of the inversion process of graphical rendering data of Html5 according to the present invention;
FIG. 5 illustrates a virtual experiment waveform generated in accordance with one embodiment of the present invention;
FIG. 6 is an exemplary diagram of an SCROM package script code.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In an organic mechanics entity experiment, physiological indexes of animals such as breathing, blood pressure, muscle tension, electroencephalogram and other parameters can be converted through the transducer, the parameters are collected and analyzed through the signal collection system, and the parameters of waveforms can be set, such as waveform gain adjustment, scanning speed adjustment, time axis adjustment and the like, so that students can observe and analyze real experimental waveforms.
The virtual simulation experiment is constructed according to the principle of 'combination of real and non-virtual performance and virtual and real performance', wherein the data required by the experiment result are from the real experiment result and accord with the real experiment rule. The waveform of the mechanotronics virtual simulation experiment requires that the true degree of the real experiment waveform is restored to the maximum degree, and the students can adjust the gain, the scanning speed and the time axis of the waveform like the real experiment in the process of learning the virtual experiment, so that the better effect of combining true and true by virtual complement and virtual reality is achieved.
Therefore, the physiological index data acquired by the biological signal acquisition system in the process of the physical experiment can be fully utilized by making the mechanical virtual simulation experiment waveform, and the implementation mode is as follows:
example 1
A method for constructing a waveform of a mechanomotive virtual simulation experiment is shown in figure 1 and comprises the following steps:
step A: exporting data required by a virtual simulation experiment;
and B: processing the derived data into a graph in an Excel table and comparing the graph with an entity experiment waveform;
and C: processing the experimental waveform by adopting a function tool in an Excel table to obtain processed data;
step D: c, inserting a scatter diagram or a line diagram into the processed data, judging whether the processed data is consistent with the real experimental waveform theory and the change trend, judging whether the processed data meets the waveform requirement or not, and repeating the step C if the processed data does not meet the requirement;
step E: checking and formatting the data;
step F: constructing a front-end waveform display UI interface box by using HTML5 and CSS, loading a json data file in a mode of HTML5 request, and inverting the formatted data, as shown in FIG. 4;
step G: writing script codes through JavaScript, and configuring functional parameters, wherein the functional parameters comprise gain, scanning speed, time axis and the like;
part of the function parameter configuration table may be set as shown in the following table:
table 1 partial function parameter configuration table
Figure DEST_PATH_IMAGE002
Step H: adding the configured functional parameters into a waveform inversion program drawn by HTML5 for debugging, and detecting whether the functional parameters are normal, wherein the functional parameter detection of the waveform should use the function of an entity biological signal acquisition system as a standard, such as the realization of function adjustment of waveform scanning speed, time axis, amplitude gain, direct current offset and the like, the theoretical knowledge detection of the waveform should use the normal physiological indexes of animals as a detection standard, such as the normal arterial blood pressure of rabbits should be 95-130 mmHg, the normal heart rate should be maintained at 258 +/-2.8 times/min, and if the functional parameters are abnormal, repeating the step G;
step I: the finally generated waveform is packaged by adopting the SCRROM standard to form a virtual simulation experiment waveform, as shown in FIG. 5. Compliance with the SCRROM standard includes two aspects: the virtual experiment can be correctly imported into a platform, basic courseware information is obtained by reading immmanifest.xml, and the virtual experiment state (unaccessed, incomplete and completed), score, learning time, current position and the like are submitted to the platform; secondly, the virtual experiment can successfully communicate with the platform, the platform provides an API, and SCOFinterfaces call the API to complete initialization of the virtual experiment, complete learning of the current section of the course, log off the current course and the like. An example of a partial SCRROM package script code is shown in FIG. 6.
The method is characterized in that biological signal original data acquired in an entity experiment are derived, the original data are processed through an Excel table, and waveforms are inverted in real time by utilizing an Html5 technology, so that the waveforms capable of adjusting gain and scanning speed can be quickly generated, and meanwhile, the waveforms are inverted for the entity experiment waveforms, the trend and the week period difference of real experiment waveforms are completely copied, and the virtual experiment truth is higher. The invention can generate virtual experimental waveforms of different experiments and different types of physiological indexes; when a user learns the virtual waveform, the waveform detail can be checked by amplifying the waveform, the waveform amplitude can be observed by adjusting the gain, and the waveform before and after the waveform is contrasted and analyzed by adjusting the time axis.
Example 2
On the basis of example 1, the method of step a is as follows: according to the requirements of the virtual simulation experiment, an entity experiment waveform collected in the entity experiment is opened by using a biological signal collecting system, a part of waveforms required in the virtual simulation experiment are selected, as shown in figure 2, original experiment data are derived by a right key, and a text document in a txt format is generated.
Example 3
On the basis of the example 1, the method of the step B is as follows: opening the derived original data document, inputting the derived original data into an Excel table, inserting the derived data into a scatter diagram or a line diagram, comparing whether the derived data is completely consistent with the partial waveforms derived from the selection in the biological signal acquisition system in the figure 2 as shown in the figure 3, and determining whether the original data is derived correctly, if the derived data is wrong, repeating the step A.
Example 4
On the basis of theembodiment 1, the method for processing by using the Excel table self-contained function tool in the step C comprises the following steps: and (3) segmenting the threshold value through an IF condition function, preferably, adjusting the overall baseline and the overall waveform amplitude of the experimental waveform by adopting a self-contained function tool in an Excel table, and adjusting the waveform trends of different areas to obtain processed data.
Example 5
On the basis of example 1, the method of step E is: inputting the data judged in the step D into a verification formatting tool, automatically executing a verification program, and checking whether data points in a non-digital format, such as Chinese characters, characters and the like, exist; if the digital format exists, the checking program automatically corrects the digital format into the digital format; if the data does not exist, the data enters a formatting program, the processed original data is converted into a standard format, and a json data file is generated.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (6)

1. A method for constructing a waveform of a mechanomotive virtual simulation experiment is characterized by comprising the following steps:
step A: exporting data required by a virtual simulation experiment;
and B: processing the derived data into a graph and comparing the graph with an entity experiment waveform;
and C: processing the experimental waveform by adopting a function tool in the table to obtain processed data;
step D: c, inserting a scatter diagram or a line diagram into the processed data, judging whether the processed data is consistent with the real experimental waveform theory and the change trend, judging whether the processed data meets the waveform requirement or not, and repeating the step C if the processed data does not meet the requirement;
step E: checking and formatting the data;
step F: constructing a front-end waveform display UI interface box by using HTML5 and CSS, loading a json data file in a HTML5 request mode, and inverting the formatted data;
step G: compiling script codes through JavaScript, and configuring functional parameters;
step H: adding the configured functional parameters into a waveform inversion program drawn by HTML5 for debugging, detecting whether the functional parameters are normal, and if the functional parameters are not normal, repeating the step G;
step I: and packaging the finally generated waveform by adopting an SCROM standard to form a virtual simulation experiment waveform.
2. The method for constructing the waveform of the mechanical virtual simulation experiment according to claim 1, wherein the method in the step A comprises the following steps: and opening the entity experiment waveforms collected in the entity experiment by using the biological signal collection system according to the requirements of the virtual simulation experiment, selecting partial waveforms required in the virtual simulation experiment, and exporting the partial waveforms to be data files.
3. The method for constructing the waveform of the mechanical virtual simulation experiment according to claim 1, wherein the method in the step B comprises the following steps: opening the derived original data document, inputting the derived original data into a form, inserting a scatter diagram or a line diagram into the derived data, comparing whether the derived data is completely consistent with part of waveforms selected and derived in the biological signal acquisition system or not so as to determine whether the original data is derived correctly or not, and repeating the step A if the derived data is wrong.
4. The method for constructing a waveform of an experiment of a mechanical virtual simulation, according to claim 1, wherein the processing method using a function tool in the step C is as follows: and segmenting the threshold value through an IF condition function, adjusting the overall baseline and the overall waveform amplitude of the experimental waveform, and adjusting the waveform trends of different areas to obtain processed data.
5. The method for constructing the waveform of the mechanical virtual simulation experiment according to claim 1, wherein the method in the step E comprises the following steps: inputting the data judged in the step D into a verification formatting tool, automatically executing a verification program, and checking whether a non-digital data point exists or not; if the digital format exists, the checking program automatically corrects the digital format into the digital format; if the data does not exist, the data enters a formatting program, the processed original data is converted into a standard format, and a json data file is generated.
6. The method according to claim 1, wherein the functional parameters in step G include gain, scan speed and time axis.
CN202111344313.5A2021-11-152021-11-15Method for constructing waveform of mechanics virtual simulation experimentPendingCN113792444A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111344313.5ACN113792444A (en)2021-11-152021-11-15Method for constructing waveform of mechanics virtual simulation experiment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111344313.5ACN113792444A (en)2021-11-152021-11-15Method for constructing waveform of mechanics virtual simulation experiment

Publications (1)

Publication NumberPublication Date
CN113792444Atrue CN113792444A (en)2021-12-14

Family

ID=78955150

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111344313.5APendingCN113792444A (en)2021-11-152021-11-15Method for constructing waveform of mechanics virtual simulation experiment

Country Status (1)

CountryLink
CN (1)CN113792444A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107015950A (en)*2017-03-202017-08-04厦门云开云科技有限公司The generation method and device of a kind of SCORM coursewares
WO2018072445A1 (en)*2016-10-202018-04-26南京南瑞继保电气有限公司Running method for embedded type virtual device and system
CN108959682A (en)*2018-03-302018-12-07浙江传媒学院Circuit virtual experimental method for building up
CN110444072A (en)*2019-08-062019-11-12成都泰盟软件有限公司A kind of entity and virtual physiological test real time fusion system
CN110570735A (en)*2019-09-022019-12-13浙江传媒学院 VISA-based construction method of virtual experiment combined with reality
CN111693983A (en)*2020-06-122020-09-22哈尔滨工业大学(威海)Complementary waveform construction method and module, cognitive radar system and waveform emission method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2018072445A1 (en)*2016-10-202018-04-26南京南瑞继保电气有限公司Running method for embedded type virtual device and system
CN107015950A (en)*2017-03-202017-08-04厦门云开云科技有限公司The generation method and device of a kind of SCORM coursewares
CN108959682A (en)*2018-03-302018-12-07浙江传媒学院Circuit virtual experimental method for building up
CN110444072A (en)*2019-08-062019-11-12成都泰盟软件有限公司A kind of entity and virtual physiological test real time fusion system
CN110570735A (en)*2019-09-022019-12-13浙江传媒学院 VISA-based construction method of virtual experiment combined with reality
CN111693983A (en)*2020-06-122020-09-22哈尔滨工业大学(威海)Complementary waveform construction method and module, cognitive radar system and waveform emission method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李东 等: "波形转换与整形电路虚拟仿真系统的设计", 《教育现代化》*
王秀英: "基于B/S模式的移动学习系统开发模式研究与实践", 《山东工业技术》*

Similar Documents

PublicationPublication DateTitle
LeitePractical propensity score methods using R
CN109408821B (en)Corpus generation method and device, computing equipment and storage medium
CN116595131A (en)Method and system for medical question answering by using large language model
CN116561542A (en)Model optimization training system, method and related device
CN106528420A (en)Automatic test method and device for software interface
EP3443460B1 (en)Method, apparatus, and computer-readable medium for performing functional testing of software
CN109522413B (en)Construction method and device of medical term library for guided medical examination
EP4411751A1 (en)Data processing method and apparatus, electronic device, and storage medium
CN116483979A (en) Artificial intelligence-based dialogue model training method, device, equipment and medium
CN113705792B (en)Personalized recommendation method, device, equipment and medium based on deep learning model
CN112883066A (en)Multidimensional range query cardinality estimation method on database
CN117874186A (en) A method and device for intelligent algorithm knowledge extraction based on pre-trained language model
WO2023104179A1 (en)Training method and system for electroencephalogram signal noise reduction model for electroencephalogram collection device
CN111563029A (en)Testing method, system, storage medium and computer equipment for conversation robot
CN119538873A (en) Intelligent marking method based on large language model and optical character recognition
CN117852523A (en) A cross-domain small sample relationship extraction method and device for learning discriminative semantics and multi-view context
CN117951272A (en)Document generation method, system and medium based on large language model
CN114360677B (en) CT image report information extraction method, device, computer equipment and storage medium based on multi-round question and answer
CN108647029A (en)A kind of front and back ends Web code merges method
CN117252209B (en)Automatic grading method, system, storage medium and processing terminal for themes in science
CN113792444A (en)Method for constructing waveform of mechanics virtual simulation experiment
CN112801217B (en)Text similarity judgment method and device, electronic equipment and readable storage medium
CN117932073B (en) A weakly supervised text classification method and system based on prompt engineering
CN118674036A (en)Cross-domain small sample relation extraction method and device for learning fine-grained general knowledge
CN109036554B (en)Method and apparatus for generating information

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20211214


[8]ページ先頭

©2009-2025 Movatter.jp