CN110909412B - Batch processing method of main feature points of force-displacement curve based on MATLAB - Google Patents

Batch processing method of main feature points of force-displacement curve based on MATLAB Download PDF

Info

Publication number
CN110909412B
CN110909412B CN201911246865.5A CN201911246865A CN110909412B CN 110909412 B CN110909412 B CN 110909412B CN 201911246865 A CN201911246865 A CN 201911246865A CN 110909412 B CN110909412 B CN 110909412B
Authority
CN
China
Prior art keywords
force
displacement
value
point
yield point
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.)
Active
Application number
CN201911246865.5A
Other languages
Chinese (zh)
Other versions
CN110909412A (en
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.)
Jiangnan University
Original Assignee
Jiangnan University
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 Jiangnan University filed Critical Jiangnan University
Priority to CN201911246865.5A priority Critical patent/CN110909412B/en
Publication of CN110909412A publication Critical patent/CN110909412A/en
Application granted granted Critical
Publication of CN110909412B publication Critical patent/CN110909412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)

Abstract

本发明公开了一种基于MATLAB的力位移曲线主要特征点批量处理方法。本发明一种基于MATLAB的力位移曲线主要特征点批量处理方法,包括:复制力位移试验数据到文本中,将包含力位移数据的文件进行统一有规律命名,便于数据后处理时寻找对应文件;编写力位移数据文本名列表,便于循环处理数据;输入首次屈服点强度和极限点强度与峰值强度的倍数。本发明的有益效果:解决了提取力位移曲线主要特征点(首次屈服点、等效屈服点、最大值点、极限点)需手工找点、手工记录、效率低下的问题;克服了在批量处理时需耗费大量时间精力、准确度又无法保证的难题。

Figure 201911246865

The invention discloses a batch processing method for the main characteristic points of a force-displacement curve based on MATLAB. The invention provides a batch processing method for main feature points of force-displacement curves based on MATLAB, comprising: copying force-displacement test data into text, and uniformly and regularly naming files containing force-displacement data, so as to facilitate searching for corresponding files during data post-processing; Write a list of text names of force-displacement data, which is convenient for cyclic processing of data; input the strength at the first yield point and the multiple of the strength at the limit point and the peak strength. The beneficial effects of the invention are as follows: the problems of manual point finding, manual recording and low efficiency in extracting the main characteristic points of the force-displacement curve (first yield point, equivalent yield point, maximum point, and limit point) are solved; It takes a lot of time and energy, and the accuracy cannot be guaranteed.

Figure 201911246865

Description

MATLAB-based force displacement curve main characteristic point batch processing method
Technical Field
The invention relates to the field of engineering, in particular to a MATLAB-based force displacement curve main characteristic point batch processing method.
Background
The earthquake-resistant design of bridges and building structures is an important ring, and in order to test the performance of the structures, the current main methods are roughly divided into two types: testing and numerical simulation. The method for testing the performance of the component is the most real and effective method by performing a pseudo-static test, a pseudo-dynamic test and a vibration table test on the component. Secondly, in practical operation, the method is often limited to economic conditions and test environments, and numerical simulation is gradually becoming a main method for checking the performance of the structure. After the test is finished, a large amount of test data can be obtained, the most common test data is a force displacement curve, and researchers can evaluate the structural performance according to the force displacement curve shape, the energy consumption, the yield point, the limit point and other aspects. However, the yield point and the limit point of the force displacement curve cannot be directly read according to the test result, and the researcher needs to manually plot, read and record data points. When the test data is less, the manual operation can be performed, but the efficiency is extremely low, and if the test data is more than dozens or even hundreds of files, the manual drawing and data point reading are obviously not applicable, so that a large amount of time and energy are wasted, and the accuracy cannot be effectively ensured.
The traditional technology has the following technical problems:
after the test is finished, the researchers need to post-process the data, common software includes EXCEL, MATLAB, origin and the like, the common software can be used for drawing, data statistics and formula fitting, the researchers can extract main characteristic points (first yield point, equivalent yield point, peak point and limit point) from the force displacement test data, only manually drawing and reading data points are needed, the data are recorded, the efficiency is low, if a large number of files need to be processed, manual operation is obviously inconsistent with reality, a large amount of time and energy are consumed, and the accuracy cannot be guaranteed.
Disclosure of Invention
The invention aims to solve the technical problem of providing a MATLAB-based force displacement curve main characteristic point batch processing method, which can read force displacement test data, automatically calculate and search main characteristic points, map and show results, and can simply set parameters and rapidly process data in batches when a plurality of files are available.
In order to solve the technical problem, the invention provides a MATLAB-based force displacement curve main characteristic point batch processing method, which comprises the following steps:
copying the force displacement test data into a text, and uniformly and regularly naming the files containing the force displacement data so as to be convenient for searching corresponding files during data post-processing;
compiling a force displacement data text name list to facilitate cyclic processing of data;
inputting the first yield point strength and the multiple of the limit point strength and the peak value strength;
writing a command for reading force displacement data, writing a command for acquiring positive and negative peak points, wherein the command comprises a force value and a displacement value;
writing a calculation formula of a primary yield point force value, writing a position command for obtaining a positive value which is greater than or equal to the primary yield point force value, and writing a position command for obtaining a negative value which is less than or equal to the primary yield point force value;
compiling a command for obtaining a positive first-time yield point force value and a displacement value, and compiling a command for obtaining a negative first-time yield point force value and a displacement value;
writing a command for obtaining a positive first smaller than first yield point force value and displacement value, writing a command for obtaining a negative first larger than first yield point force value and displacement value, and writing a formula for calculating positive and negative first yield point displacement values by linear interpolation;
writing a positive limit force value calculation formula and a negative limit force value calculation formula, writing a command for obtaining a positive limit force value larger than or equal to the limit force value, and writing a command for obtaining a negative limit force value smaller than or equal to the limit force value;
writing a command of obtaining a maximum displacement value with a positive direction larger than or equal to a limit point force value, and writing a command of obtaining a minimum displacement value with a negative direction smaller than or equal to the limit point force value;
writing a first yield point, equivalent yield point, peak point and limit point command into the EXCEL, and drawing a force displacement curve, a first yield point, equivalent yield point, peak point and limit point graphic command.
In one embodiment, "copying the force displacement test data into a text, uniformly and regularly naming the files containing the force displacement data, and searching for corresponding files during data post-processing" specifically includes:
newly building a text file, and copying force displacement test data into the text file, wherein the content format is one row of displacement data, one row of force data and two rows in total;
the text files are named regularly, for simplicity, in increasing numerical order, with arabic numbers 1,2,3.
In one embodiment, writing a list of textual names for the force-displacement data to facilitate cyclic processing of the data specifically includes:
a plurality of files exist in batch processing, each force displacement data file to be analyzed is named in the previous step, and for simplicity, Arabic numerals 1,2 and 3 are used for naming, and the file names are formed into a row vector array in MATLAB;
a list of filenames, denoted AA, for the for loop.
In one embodiment, "writing a read force displacement data command, writing a command to obtain a positive peak point and a negative peak point, including a force value and a displacement value" specifically includes:
reading force displacement data in the text file by a textread command of the MATLAB, and storing the force displacement data in a memory of the computer;
acquiring the positive peak intensity through a max command, and searching for corresponding displacement according to the position of the positive peak intensity; and obtaining the negative peak intensity through a min command, and searching the corresponding displacement according to the position of the negative peak intensity.
In one embodiment, writing a calculation formula of the first yield point force value, writing a position command for obtaining a positive value greater than or equal to the first yield point force value, and writing a position command for obtaining a negative value less than or equal to the first yield point force value specifically includes:
calculating the first yield point strength, namely the peak strength coefficient;
finding out the position with the positive direction greater than or equal to the first yield point strength by the find command;
finding the position with negative direction less than or equal to the first yield point strength by the find command.
In one embodiment, the writing of the command to obtain the first positive yield point force value and the displacement value and the writing of the command to obtain the first negative yield point force value and the displacement value specifically include:
the positive first time yield point force value and the displacement value are first digits of a position array of the first time yield point strength, and corresponding force values and displacement values are respectively found in a force column and a displacement column;
and negative first-time yield point force values and displacement values are first digits of the position array of the first-time yield point strength, and corresponding force values and displacement values are respectively found in the force column and the displacement column.
In one embodiment, writing a command for obtaining a positive first smaller than first yield point force value and displacement value, writing a command for obtaining a negative first larger than first yield point force value and displacement value, and writing a formula for calculating a displacement value of the positive first yield point and the negative first yield point by linear interpolation specifically includes:
acquiring a force value and a displacement value of which the forward direction is smaller than the first yield point for the first time, namely subtracting 1 from the first digit of a position array of which the forward direction is greater than or equal to the first yield point strength, and respectively searching a corresponding force value and a corresponding displacement value in a force column and a displacement column;
acquiring a negative force value and a displacement value which are larger than the first yield point value for the first time, namely subtracting 1 from the first digit of the position array of the strength which is smaller than or equal to the first yield point, and respectively searching a corresponding force value and a corresponding displacement value in the force column and the displacement column;
and determining a first yield point displacement value according to the linear proportional relation.
In one embodiment, "writing a positive limit force value calculation formula and a negative limit force value calculation formula," writing a command for obtaining a positive limit force value greater than or equal to a limit point value, "and writing a command for obtaining a negative limit force value less than or equal to a limit point" specifically include:
the limit point intensity is a multiple relation of the peak intensity, namely a peak intensity coefficient;
finding out the position of the force value of which the forward direction is greater than or equal to the limit point by using the find command;
finding the position with negative direction less than or equal to the limit force value by the find command.
In one embodiment, "writing and acquiring a maximum displacement value with a positive direction greater than or equal to a limit point force value and writing and acquiring a minimum displacement value with a negative direction less than or equal to the limit point force value" specifically includes:
searching in a displacement column by a max command, wherein the positive direction of the maximum displacement value is larger than or equal to the force value of the limit point;
and finding the minimum displacement value with the negative direction less than or equal to the force value of the limit point in the displacement column by the min command.
In one embodiment, writing the first yield point, equivalent yield point, peak point, and limit point commands and drawing the force displacement curve, the first yield point, equivalent yield point, peak point, and limit point graphic commands into the EXCEL specifically includes:
writing first yield point, equivalent yield point, peak point and limit point values (displacement values and force values) into EXCEL by xlswrite command;
and drawing a displacement curve, a first yield point, an equivalent yield point, a peak point and a limit point graphic command by a plot command.
The invention has the beneficial effects that:
the problems that the extraction of main characteristic points (a first yield point, an equivalent yield point, a maximum value point and a limit point) of a force displacement curve needs manual point finding and manual recording and has low efficiency are solved; the problem that a large amount of time and energy are consumed during batch processing, and the accuracy cannot be guaranteed is solved. The program parameters are simply set, the key points of the force displacement curve can be conveniently and rapidly output to the EXCEL, and the force displacement hysteresis curve and the main characteristic point graph are automatically drawn; the method has higher data processing advantages in the aspect of batch processing, and does not need manual intervention in the process; the first yield point and the multiple relation between the limit point strength and the peak strength can be flexibly changed according to the analysis requirements of users, so that the tedious and time-consuming analysis becomes simple and feasible, the tedious manual workload and the possibility of writing errors are greatly reduced, and scientific research personnel can spend more energy on parameter analysis.
Drawings
FIG. 1 is a flow chart of the MATLAB-based force displacement curve principal feature point batch processing method of the present invention.
FIG. 2 is a schematic diagram of a monotonic force displacement curve and principal feature points in a MATLAB-based force displacement curve principal feature point batch processing method of the present invention.
FIG. 3 is a schematic diagram of a reciprocating force displacement curve and main characteristic points in a MATLAB-based force displacement curve main characteristic point batch processing method.
FIG. 4 is a partial dominant feature point plot of the EXCEL output in the MATLAB-based force displacement curve dominant feature point batch process method of the present invention.
FIG. 5 is a diagram for automatically drawing a force displacement curve and a main characteristic point diagram based on MATLAB in the MATLAB force displacement curve main characteristic point batch processing method.
Detailed Description
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
Referring to fig. 1, a method for batch processing of the main characteristic points of the force displacement curve based on MATLAB includes:
step 1, copying force displacement test data into a text, uniformly and regularly naming files containing the force displacement data, and conveniently searching corresponding files during data post-processing;
step 2, compiling a force displacement data text name list to facilitate cyclic processing of data;
step 3, inputting the first yield point strength and the multiple of the limit point strength and the peak strength;
step 4, compiling a command for reading force displacement data, and compiling a command for acquiring positive and negative peak points, wherein the command comprises a force value and a displacement value;
step 5, compiling a calculation formula of the first yield point force value, compiling a position command for obtaining a positive value which is greater than or equal to the first yield point force value, and compiling a position command for obtaining a negative value which is less than or equal to the first yield point force value;
step 6, compiling a command for obtaining a positive first-time yield point force value and a displacement value, and compiling a command for obtaining a negative first-time yield point force value and a displacement value;
step 7, writing a command for obtaining a positive first smaller than first yield point force value and a displacement value, writing a command for obtaining a negative first larger than first yield point force value and a displacement value, and writing a formula for calculating displacement values of the positive first yield point and the negative first yield point by linear interpolation;
step 8, writing positive and negative limit point force value calculation formulas, writing a command for obtaining a positive limit point force value larger than or equal to the limit point force value, and writing a command for obtaining a negative limit point force value smaller than or equal to the limit point force value;
step 9, compiling a command of obtaining a maximum displacement value with a positive direction larger than or equal to a limit point force value, and compiling a command of obtaining a minimum displacement value with a negative direction smaller than or equal to the limit point force value;
and step 10, writing commands for writing the first yield point, the equivalent yield point, the peak point and the limit point into the EXCEL, and drawing a force displacement curve, a first yield point, an equivalent yield point, a peak point and a limit point graphic command.
The invention has the beneficial effects that:
the invention provides a MATLAB-based force displacement curve main characteristic point batch processing method, which solves the problems that the extraction of main characteristic points (a first yield point, an equivalent yield point, a maximum value point and a limit point) of a force displacement curve requires manual point finding and manual recording and has low efficiency; the problem that a large amount of time and energy are consumed during batch processing, and the accuracy cannot be guaranteed is solved. The program parameters are simply set, the key points of the force displacement curve can be conveniently and rapidly output to the EXCEL, and the force displacement hysteresis curve and the main characteristic point graph are automatically drawn; the method has higher data processing advantages in the aspect of batch processing, and does not need manual intervention in the process; the first yield point and the multiple relation between the limit point strength and the peak strength can be flexibly changed according to the analysis requirements of users, so that the tedious and time-consuming analysis becomes simple and feasible, the tedious manual workload and the possibility of writing errors are greatly reduced, and scientific research personnel can spend more energy on parameter analysis.
In another embodiment, the force displacement test data is copied into a text, files containing the force displacement data are named regularly in a unified mode, so that the corresponding files can be conveniently found during data post-processing, and the specific process comprises the following steps:
1. newly building a text file, and copying force displacement test data into the text file, wherein the content format is one row of displacement data, one row of force data and two rows in total;
2. the text files are named regularly, for simplicity, in increasing numerical order, with arabic numbers 1,2,3.
In another embodiment, a force displacement data text name list is written to facilitate cyclic processing of the data; the method specifically comprises the following steps:
1. a plurality of files exist in batch processing, each force displacement data file to be analyzed is named in the previous step, and for simplicity, Arabic numerals 1,2 and 3 are used for naming, and the file names are formed into a row vector array in MATLAB;
2. a list of filenames, denoted AA, for the for loop.
In one embodiment, the first yield strength and the multiple of the limit strength to peak strength are input; the method specifically comprises the following steps:
1. at present, different scholars have different definitions on the method for obtaining the equivalent yield point, and the method for selecting is to input the multiple of the first yield point strength and the peak strength, which is usually 0.75;
2. currently, different scholars have different definitions on the method for taking the limit point, and the selection method inputs the multiple of the first limit point intensity and the peak intensity, and generally takes 0.8.
In one embodiment, a read force displacement data command is written, and a command to obtain positive and negative peak points is written, including force and displacement values. The method specifically comprises the following steps:
1, reading force displacement data in a text file by a textread command of an MATLAB (matrix laboratory), and storing the force displacement data in a memory of a computer;
2. acquiring the positive peak intensity through a max command, and searching for corresponding displacement according to the position of the positive peak intensity; 3. acquiring negative peak intensity through a min command, and searching for corresponding displacement according to the position of the negative peak intensity;
in one embodiment, a primary yield point force value calculation formula is written, a position command is written to obtain a positive primary yield point force value which is greater than or equal to the primary yield point force value, and a position command is written to obtain a negative primary yield point force value which is less than or equal to the primary yield point force value. The method specifically comprises the following steps:
1. calculating the first yield point strength, namely the peak strength coefficient;
2. finding out the position with the positive direction greater than or equal to the first yield point strength by the find command;
3. finding the position with negative direction less than or equal to the first yield point strength by the find command.
In one embodiment, the get positive first equal to or greater than the first yield point force value and displacement value command is written, and the get negative first equal to or less than the first yield point force value and displacement value command is written. The method specifically comprises the following steps:
1. the positive first time yield point force value and the displacement value are first digits of a position array of the first time yield point strength, and corresponding force values and displacement values are respectively found in a force column and a displacement column;
2. and negative first-time yield point force values and displacement values are first digits of the position array of the first-time yield point strength, and corresponding force values and displacement values are respectively found in the force column and the displacement column.
In one embodiment, commands for obtaining the positive first-time smaller-than-first-time yield point force value and displacement value, commands for obtaining the negative first-time larger-than-first-time yield point force value and displacement value, and formulas for calculating the displacement values of the positive first-time yield point and the negative first-time yield point by linear interpolation are written. The method specifically comprises the following steps:
1. acquiring a force value and a displacement value of which the forward direction is smaller than the first yield point for the first time, namely subtracting 1 from the first digit of a position array of which the forward direction is greater than or equal to the first yield point strength, and respectively searching a corresponding force value and a corresponding displacement value in a force column and a displacement column;
2. acquiring a negative force value and a displacement value which are larger than the first yield point value for the first time, namely subtracting 1 from the first digit of the position array of the strength which is smaller than or equal to the first yield point, and respectively searching a corresponding force value and a corresponding displacement value in the force column and the displacement column;
3. and determining a first yield point displacement value according to the linear proportional relation.
In one embodiment, a positive limit force value calculation formula and a negative limit force value calculation formula are written, a command for obtaining the positive limit force value larger than or equal to the limit point force value is written, and a command for obtaining the negative limit force value smaller than or equal to the limit point force value is written. The method specifically comprises the following steps:
1. the limit point intensity is a multiple relation of the peak intensity, namely a peak intensity coefficient;
2. finding out the position of the force value of which the forward direction is greater than or equal to the limit point by using the find command;
3. finding the position with negative direction less than or equal to the limit force value by the find command.
In one embodiment, a maximum displacement value command is written to obtain a positive force value greater than or equal to a limit point force value, and a minimum displacement value command is written to obtain a negative force value less than or equal to a limit point force value. The method specifically comprises the following steps:
1. searching in a displacement column by a max command, wherein the positive direction of the maximum displacement value is larger than or equal to the force value of the limit point;
2. and finding the minimum displacement value with the negative direction less than or equal to the force value of the limit point in the displacement column by the min command.
In one embodiment, write first yield point, equivalent yield point, peak point, and limit point commands and plot force displacement curves, first yield point, equivalent yield point, peak point, and limit point graphical commands into EXCEL are written. The method specifically comprises the following steps:
1. writing first yield point, equivalent yield point, peak point and limit point values (displacement values and force values) into EXCEL by xlswrite command;
2. and drawing a displacement curve, a first yield point, an equivalent yield point, a peak point and a limit point graphic command by a plot command.
A specific application scenario is described below:
FIG. 1 shows the steps of the present invention. After the test is finished, main characteristic points need to be extracted from 10 test piece force displacement curves, and data points at positions shown in fig. 2 or fig. 3 are obtained according to the test type; establishing 10 text files, and respectively copying force displacement test data into 10 files, wherein the file format has two columns, one column is a displacement data column, and the other column is a force data column; naming 10 text files 1,2,3 … …, 10; a file name list array is formed in MATLAB and named as AA for short, and the form is as follows:
AA=[1,2,3……,10];
inputting the first yield point and the multiple relation between the limit point strength and the peak value strength
Beginning for statement
for filename list AA { executive procedure }
And (3) circulating for the first time, reading the data in the file 1, executing a program process, including searching a first yield point, an equivalent yield point, a peak point and a limit point position, writing the data into an EXCEL table after the main characteristic points are found, drawing a force displacement curve, a first yield point, an equivalent yield point, a peak point and a limit point graph as shown in fig. 4, and entering the next file 2 after the execution is finished as shown in fig. 5.
The second loop, reading the data in file 2, executes the program process … …
… … until all files have been read and execution has ended.
Therefore, the program works in the earlier stage, the parameter setting is simple and convenient, and the method has the characteristics of simplicity, practicability and high data processing efficiency. The invention provides a MATLAB-based force displacement curve main characteristic point batch processing method, which solves the problems that the extraction of main characteristic points (a first yield point, an equivalent yield point, a maximum value point and a limit point) of a force displacement curve requires manual point finding and manual recording and has low efficiency; the problem that a large amount of time and energy are consumed during batch processing, and the accuracy cannot be guaranteed is solved. The program parameters are simply set, the key points of the force displacement curve can be conveniently and rapidly output to the EXCEL, and the force displacement hysteresis curve and the main characteristic point graph are automatically drawn; the method has higher data processing advantages in the aspect of batch processing, and does not need manual intervention in the process; the first yield point and the multiple relation between the limit point strength and the peak strength can be flexibly changed according to the analysis requirements of users, so that the tedious and time-consuming analysis becomes simple and feasible, the tedious manual workload and the possibility of writing errors are greatly reduced, and scientific research personnel can spend more energy on parameter analysis.
The invention provides a MATLAB-based force displacement curve main characteristic point batch processing method, which solves the problems that the extraction of main characteristic points (a first yield point, an equivalent yield point, a maximum value point and a limit point) of a force displacement curve requires manual point finding and manual recording and has low efficiency; the problem that a large amount of time and energy are consumed during batch processing, and the accuracy cannot be guaranteed is solved. The program parameters are simply set, the key points of the force displacement curve can be conveniently and rapidly output to the EXCEL, and the force displacement hysteresis curve and the main characteristic point graph are automatically drawn; the method has higher data processing advantages in the aspect of batch processing, and does not need manual intervention in the process; the first yield point and the multiple relation between the limit point strength and the peak strength can be flexibly changed according to the analysis requirements of users, so that the tedious and time-consuming analysis becomes simple and feasible, the tedious manual workload and the possibility of writing errors are greatly reduced, and scientific research personnel can spend more energy on parameter analysis.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.

Claims (10)

1.一种基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,包括:1. a batch processing method based on the force-displacement curve main characteristic point of MATLAB, is characterized in that, comprises: 复制力位移试验数据到文本中,将包含力位移数据的文件进行统一有规律命名,便于数据后处理时寻找对应文件;Copy the force-displacement test data into the text, and name the files containing the force-displacement data uniformly and regularly, so as to facilitate the search for the corresponding files during data post-processing; 编写力位移数据文本名列表,便于循环处理数据;Write a list of text names of force and displacement data, which is convenient for cyclic processing of data; 输入首次屈服点强度和极限点强度与峰值强度的倍数;Enter the first yield point strength and the multiple of the ultimate point strength and the peak strength; 编写读取力位移数据命令、编写获取正向和负向峰值点的命令,包含力值和位移值;Write commands to read force and displacement data, and commands to obtain positive and negative peak points, including force and displacement values; 编写首次屈服点力值计算公式、编写获取正向大于等于首次屈服点力值的位置命令、编写获取负向小于等于首次屈服点力值的位置命令;Write the calculation formula of the first yield point force value, write the position command to obtain the positive force value greater than or equal to the first yield point force value, and write the position command to obtain the negative direction less than or equal to the first yield point force value; 编写获取正向第一次大于等于首次屈服点力值和位移值命令、编写获取负向第一次小于等于首次屈服点力值和位移值命令;Write the command to obtain the first positive force value and displacement value greater than or equal to the first yield point, and the command to obtain the first negative force value and displacement value less than or equal to the first yield point; 编写获取正向第一次小于首次屈服点力值和位移值命令、编写获取负向第一次大于首次屈服点力值和位移值命令、编写线性插值计算正、负向首次屈服点位移值的公式;Write the command to obtain the force value and displacement value of the positive first yield point less than the first yield point, write the command to obtain the force value and displacement value of the first negative direction greater than the first yield point, and write the linear interpolation to calculate the displacement value of the positive and negative first yield point. formula; 编写正、负向极限点力值计算公式、编写获取正向大于等于极限点力值命令、编写获取负向小于等于极限点力值命令;Write the calculation formula of the positive and negative limit point force value, write the command to obtain the positive force value greater than or equal to the limit point point, and write the command to obtain the negative direction less than or equal to the limit point force value; 编写获取正向大于等于极限点力值的最大位移值命令、编写获取负向小于等于极限点力值的最小位移值命令;Write the command to obtain the maximum displacement value of the positive force value greater than or equal to the limit point force value, and write the command to obtain the minimum displacement value of the negative direction less than or equal to the limit point force value; 编写向EXCEL中写入首次屈服点、等效屈服点、峰值点和极限点命令和绘制力位移曲线、首次屈服点、等效屈服点、峰值点和极限点图形命令。Write commands to write the first yield point, equivalent yield point, peak point and limit point and draw the force-displacement curve, first yield point, equivalent yield point, peak point and limit point graphics commands into EXCEL. 2.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,“复制力位移试验数据到文本中,将包含力位移数据的文件进行统一有规律命名,便于数据后处理时寻找对应文件”具体包括:2. the batch processing method for the main characteristic points of the force-displacement curve based on MATLAB as claimed in claim 1, is characterized in that, "copying the force-displacement test data into the text, the files containing the force-displacement data are uniformly named in a uniform and regular manner, which is convenient for. "Find corresponding files during data post-processing" specifically includes: 新建文本文件,将力位移试验数据复制到文本文件中,内容格式是一列位移数据,一列力数据,共计两列;Create a new text file, copy the force and displacement test data to the text file, the content format is one column of displacement data, one column of force data, a total of two columns; 将文本文件进行有规律命名,为简便起见,按数字递增顺序,以阿拉伯数字1,2,3......进行命名,这一命名会在MATLAB脚本中被用作文本名列表,存在一一对应关系。Name the text files regularly. For the sake of simplicity, they are named with Arabic numerals 1, 2, 3... in increasing numerical order. This naming will be used as a list of text names in MATLAB scripts. a corresponding relationship. 3.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,“编写力位移数据文本名列表,便于循环处理数据”具体包括:3. the batch processing method for the main characteristic points of the force-displacement curve based on MATLAB as claimed in claim 1, is characterized in that, " write the force-displacement data text name list, is convenient for cyclic processing data " specifically comprises: 批量处理存在多个文件,前一步骤已将待分析的每个力位移数据文件进行命名,为简便起见,以阿拉伯数字1,2,3......进行命名,将文件名在MATLAB中形成行向量数组;There are multiple files in batch processing. In the previous step, each force-displacement data file to be analyzed has been named. For simplicity, it is named with Arabic numerals 1, 2, 3... form a row vector array in; 文件名列表,记为AA,用于for循环。A list of filenames, denoted AA, used in the for loop. 4.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,在其中一个实施例中,“编写读取力位移数据命令、编写获取正向和负向峰值点的命令,包含力值和位移值”具体包括:4. The batch processing method for the main characteristic points of force-displacement curves based on MATLAB as claimed in claim 1, characterized in that, in one of the embodiments, "writing a command to read force-displacement data, writing and obtaining positive and negative peak values Point command, including force value and displacement value" specifically includes: MATLAB的textread命令读取文本文件里的力位移数据,存储到计算机内存中;The textread command of MATLAB reads the force and displacement data in the text file and stores it in the computer memory; 由max命令获取正向峰值强度,由正向峰值强度的位置寻找对应的位移;由min命令获取负向峰值强度,由负向峰值强度的位置寻找对应的位移。The positive peak intensity is obtained by the max command, and the corresponding displacement is found from the position of the positive peak intensity; the negative peak intensity is obtained by the min command, and the corresponding displacement is found from the position of the negative peak intensity. 5.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,在“编写首次屈服点力值计算公式、编写获取正向大于等于首次屈服点力值的位置命令、编写获取负向小于等于首次屈服点力值的位置命令”具体包括:5. the batch processing method for the main characteristic points of the force-displacement curve based on MATLAB as claimed in claim 1, is characterized in that, in " write the first yield point force value calculation formula, write and obtain the position where the positive direction is greater than or equal to the first yield point force value. Command, write a position command to obtain the force value of the negative force value less than or equal to the first yield point" specifically includes: 计算首次屈服点强度,即峰值强度*系数;Calculate the strength at the first yield point, that is, peak strength * coefficient; 由find命令寻找出正向大于等于首次屈服点强度的位置;Find the position where the positive direction is greater than or equal to the strength of the first yield point by the find command; 由find命令寻找出负向小于等于首次屈服点强度的位置。Use the find command to find the position where the negative direction is less than or equal to the strength of the first yield point. 6.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,“编写获取正向第一次大于等于首次屈服点力值和位移值命令、编写获取负向第一次小于等于首次屈服点力值和位移值命令”具体包括:6. The batch processing method for the main characteristic points of the force-displacement curve based on MATLAB as claimed in claim 1, is characterized in that, "write the command to obtain the positive force value and displacement value of the first yield point greater than or equal to the first time, write the command to obtain the negative direction The first less than or equal to the first yield point force value and displacement value command” specifically includes: 正向第一次大于等于首次屈服点力值和位移值即为大于等于首次屈服点强度的位置数组的第一位数,分别在力列和位移列寻找出对应的力值和位移值;The force value and displacement value of the positive first greater than or equal to the first yield point are the first digit of the position array that is greater than or equal to the strength of the first yield point, and the corresponding force value and displacement value are found in the force column and displacement column respectively; 负向第一次小于等于首次屈服点力值和位移值即为小于等于首次屈服点强度的位置数组的第一位数,分别在力列和位移列寻找出对应的力值和位移值。The negative first force value and displacement value less than or equal to the first yield point is the first digit of the position array that is less than or equal to the strength of the first yield point. Find the corresponding force value and displacement value in the force column and displacement column respectively. 7.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,“编写获取正向第一次小于首次屈服点力值和位移值命令、编写获取负向第一次大于首次屈服点力值和位移值命令、编写线性插值计算正、负向首次屈服点位移值的公式”具体包括:7. The batch processing method for the main characteristic points of force-displacement curves based on MATLAB as claimed in claim 1, is characterized in that, "write the command to obtain the force value and displacement value of the first yield point that is less than the first yield point in the positive direction, and write the command to obtain the first time in the negative direction. Commands of force value and displacement value greater than the first yield point once, write the formula for calculating the displacement value of the positive and negative first yield point by linear interpolation" specifically include: 获取正向第一次小于首次屈服点力值和位移值,即是大于等于首次屈服点强度的位置数组的第一位数减去1,分别在力列和位移列寻找出对应的力值和位移值;Obtain the force value and displacement value that is less than the first yield point in the forward direction for the first time, that is, the first digit of the position array that is greater than or equal to the strength of the first yield point minus 1, and find the corresponding force value and displacement value in the force column and displacement column respectively. displacement value; 获取负向第一次大于首次屈服点力值和位移值,即是小于等于首次屈服点强度的位置数组的第一位数减去1,分别在力列和位移列寻找出对应的力值和位移值;Obtain the force value and displacement value greater than the first yield point in the negative direction for the first time, that is, the first digit of the position array less than or equal to the strength of the first yield point minus 1, and find the corresponding force value and displacement value in the force column and displacement column respectively. displacement value; 根据线性比例关系,确定首次屈服点位移值。According to the linear proportional relationship, determine the displacement value of the first yield point. 8.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,“编写正、负向极限点力值计算公式、编写获取正向大于等于极限点力值命令、编写获取负向小于等于极限点力值命令”具体包括:8. the batch processing method for the main characteristic points of the force-displacement curve based on MATLAB as claimed in claim 1, is characterized in that, "write positive and negative limit point force value calculation formula, write the command to obtain positive value greater than or equal to limit point force value. , Write the command to obtain the negative force value less than or equal to the limit point" specifically including: 极限点强度是峰值强度的倍数关系,即峰值强度*系数;The limit point intensity is the multiple relationship of the peak intensity, that is, the peak intensity * coefficient; 由find命令寻找出正向大于等于极限点力值的位置;Find the position where the positive force is greater than or equal to the limit point force value by the find command; 由find命令寻找出负向小于等于极限点力值的位置。Find the position where the negative force is less than or equal to the limit point force value by the find command. 9.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,“编写获取正向大于等于极限点力值的最大位移值、编写获取负向小于等于极限点力值的最小位移值”具体包括:9. The method for batch processing of main characteristic points of force-displacement curve based on MATLAB as claimed in claim 1, is characterized in that, "write and obtain the maximum displacement value of the positive force value greater than or equal to the limit point force value, write and obtain the negative direction less than or equal to the limit point. The minimum displacement value of the force value" specifically includes: 正向大于等于极限点力值的最大位移值,由max命令在位移列寻找;The maximum displacement value that is greater than or equal to the force value of the limit point in the positive direction is searched in the displacement column by the max command; 负向小于等于极限点力值的最小位移值,由min命令在位移列寻找。The minimum displacement value that is less than or equal to the limit point force value in the negative direction is searched in the displacement column by the min command. 10.如权利要求1所述的基于MATLAB的力位移曲线主要特征点批量处理方法,其特征在于,“编写向EXCEL中写入首次屈服点、等效屈服点、峰值点和极限点命令和绘制力位移曲线、首次屈服点、等效屈服点、峰值点和极限点图形命令”具体包括:10. The batch processing method for the main characteristic points of the force-displacement curve based on MATLAB as claimed in claim 1, is characterized in that, "write the first yield point, equivalent yield point, peak point and limit point command and draw in EXCEL. Force-displacement curve, first yield point, equivalent yield point, peak point and limit point graphic commands" specifically include: 由xlswrite命令向EXCEL中书写首次屈服点、等效屈服点、峰值点和极限点数值;Write the first yield point, equivalent yield point, peak point and limit point values into EXCEL by the xlswrite command; 由plot命令绘制位移曲线、首次屈服点、等效屈服点、峰值点和极限点图形命令。Draw displacement curve, first yield point, equivalent yield point, peak point and limit point graphic command by plot command.
CN201911246865.5A 2019-12-09 2019-12-09 Batch processing method of main feature points of force-displacement curve based on MATLAB Active CN110909412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911246865.5A CN110909412B (en) 2019-12-09 2019-12-09 Batch processing method of main feature points of force-displacement curve based on MATLAB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911246865.5A CN110909412B (en) 2019-12-09 2019-12-09 Batch processing method of main feature points of force-displacement curve based on MATLAB

Publications (2)

Publication Number Publication Date
CN110909412A CN110909412A (en) 2020-03-24
CN110909412B true CN110909412B (en) 2021-06-01

Family

ID=69823313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911246865.5A Active CN110909412B (en) 2019-12-09 2019-12-09 Batch processing method of main feature points of force-displacement curve based on MATLAB

Country Status (1)

Country Link
CN (1) CN110909412B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114036596A (en) * 2021-10-26 2022-02-11 中国核电工程有限公司 Power calculation data post-processing method and device, and evaluation method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012159239A1 (en) * 2011-05-20 2012-11-29 青岛理工大学 Multiple-objective and performance-based earthquake proof method of engineering structures
CN104047373A (en) * 2014-07-07 2014-09-17 青岛理工大学 Parabola determination method for yield displacement of seismic capacity
JP2017026313A (en) * 2015-07-15 2017-02-02 三菱重工メカトロシステムズ株式会社 Vibration testing system and vibration testing method
CN107228803A (en) * 2017-05-09 2017-10-03 昆明理工大学 A kind of composite structure pseudo static testing device and method
CN107391799A (en) * 2017-06-22 2017-11-24 哈尔滨汽轮机厂有限责任公司 A kind of low-cycle fatigue data analysing method based on matlab programmings
CN109632535A (en) * 2018-12-21 2019-04-16 长安大学 A kind of pseudo-static experimental method reflecting incentive action characteristic

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110414161B (en) * 2019-08-01 2023-04-07 广州建筑股份有限公司 Method and system for determining parameters of fusiform hysteresis curve

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012159239A1 (en) * 2011-05-20 2012-11-29 青岛理工大学 Multiple-objective and performance-based earthquake proof method of engineering structures
CN104047373A (en) * 2014-07-07 2014-09-17 青岛理工大学 Parabola determination method for yield displacement of seismic capacity
JP2017026313A (en) * 2015-07-15 2017-02-02 三菱重工メカトロシステムズ株式会社 Vibration testing system and vibration testing method
CN107228803A (en) * 2017-05-09 2017-10-03 昆明理工大学 A kind of composite structure pseudo static testing device and method
CN107391799A (en) * 2017-06-22 2017-11-24 哈尔滨汽轮机厂有限责任公司 A kind of low-cycle fatigue data analysing method based on matlab programmings
CN109632535A (en) * 2018-12-21 2019-04-16 长安大学 A kind of pseudo-static experimental method reflecting incentive action characteristic

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
FRP约束钢筋混凝土矩形空心桥墩的滞回模型;董振华等;《中国公路学报》;20150131;第28卷(第1期);第30-37页 *
The mechanism analysis of anti-Seismic performance of concrete-filled steel tube inclined column shear ring-RC ring beam joints;Liu shuxian等;《2011 International Conference on Electric Technology and Civil Engineering (ICETCE)》;20110527;第851-854页 *
T型剪力墙骨架曲线计算方法及试验验证;刘成清等;《铁道科学与工程学报》;20161130;第13卷(第11期);第2235-2242页 *
后张预应力预制混凝土框架节点抗震性能数值模拟与理论分析;种迅等;《工程力学》;20130531;第30卷(第5期);第153-164页 *

Also Published As

Publication number Publication date
CN110909412A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN107239392B (en) Test method, test device, test terminal and storage medium
CN102663103B (en) Configurable method for automatically generating database and accessing data
US20080140627A1 (en) Method and apparatus for aggregating database runtime information and analyzing application performance
Gunawan et al. Performance evaluation of query response time in the document stored nosql database
CN107704539A (en) The method and device of extensive text message batch structuring
CN202339542U (en) Software product test system
CN109918786A (en) A kind of offshore wind turbine foundation structure automatic analysis system and method
CN110909412B (en) Batch processing method of main feature points of force-displacement curve based on MATLAB
CN112000312B (en) Space big data automatic parallel processing method and system based on Kettle and GeoTools
CN104182596B (en) Wireless data transmission equipment testing data mining system and method based on LabVIEW and Matlab hybrid programming
CN109902085B (en) A configuration storage structure optimization method and system
CN118035204A (en) Data blood edge display method, distributed task scheduling system and storage medium
CN117931893A (en) Data retrieval method and system based on distributed search engine
CN111626024B (en) Method and system for batch processing of SWCC model parameter data based on RETC software
CN111626585B (en) Script data extraction method, apparatus, computer equipment and storage medium
CN111027247B (en) A step-by-step incremental dynamic analysis and data processing method based on OpenSees and MATLAB
CN116227164A (en) Three-diagonal heterogeneous many-core parallel solving method and system for heat conduction of heat transfer equipment
CN116383094B (en) Test case library construction method, device, equipment and storage medium
CN119045808B (en) Retrieval method and terminal of PLC programming language
CN114218935B (en) Entity display method and device in data analysis
CN116755684B (en) OAS Schema generation method, device, equipment and medium
Яцишин et al. SOFTWARE TOOL FOR PRODUCTIVITY METRICS MEASURE OF RELATIONAL DATABASE MANAGEMENT SYSTEM
Xiang et al. A flexible method for converting non-relational text data to relational data for data acquisition of equipment operation
CN118747460A (en) Method and system for automatically generating stress assessment paths for reactor equipment structures
Li et al. Research on the Application of Large Language Models in FPGA Verification Test Requirement Extraction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant