CN106708783A - Calculation method of linear fitting function and device - Google Patents

Calculation method of linear fitting function and device Download PDF

Info

Publication number
CN106708783A
CN106708783A CN201611243369.0A CN201611243369A CN106708783A CN 106708783 A CN106708783 A CN 106708783A CN 201611243369 A CN201611243369 A CN 201611243369A CN 106708783 A CN106708783 A CN 106708783A
Authority
CN
China
Prior art keywords
sampled point
sampled
getting
function
adjacent
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
CN201611243369.0A
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.)
SHENZHEN RILAND INDUSTRY Co Ltd
Original Assignee
SHENZHEN RILAND INDUSTRY 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 SHENZHEN RILAND INDUSTRY Co Ltd filed Critical SHENZHEN RILAND INDUSTRY Co Ltd
Priority to CN201611243369.0A priority Critical patent/CN106708783A/en
Publication of CN106708783A publication Critical patent/CN106708783A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/15Correlation function computation including computation of convolution operations

Abstract

The invention discloses a calculation method of a linear fitting function; the method includes steps of obtaining original data of a curve to be treated, and establishing a corresponding coordinate system according to the acquired original data; sampling according to original data and acquiring coordinate data of multiple sampling points; calculating according to the coordinate data of two adjacent sampling points, and acquiring a linear function between every two adjacent sampling points, using the linear function between every two adjacent sampling points as a linear fitting function of the curve. The invention further discloses a calculating device of the linear fitting function. The method and device are simple in calculating process, and workers need not to select approximation function, thus the operation process can be simplified and the method is convenient to control.

Description

The computational methods and device of linear fit function
Technical field
The present invention relates to automatic control technology field, more particularly to a kind of linear fit function computational methods and device.
Background technology
Automatically control in practice, due to often cannot between gather control variables data under each state, therefore Corresponding calculating is usually done according to the argument data for easily collecting and is converted, to draw corresponding control variables data indirectly.But It is often non-linear relation between independent variable and control variables, its graph of a relation shows as a curve.The PWM of such as direct current generator Speed governing, will test this moment by the generating voltage V of testing of electric motors at a last moment for the shut-off time slot of PWM cycle Motor rotating speed Sp, and relation is exactly a non-linear relation between V and Sp, and its functional image shows as a curve;Again For example in gas shield welding connects, when voltage constant, the timing of welding wire one, wire feed rate V be with the relation of welding current I it is nonlinear, The welding current I at this moment is determined by wire feed rate V, and relation is exactly a non-linear relation between V and I, its letter Number image appearance is a curve.
And the principle and application method of existing construction of function and curve fitting software are all more complicated, and need user certainly The type of oneself selection approximating function, this is for without professional mathematical knowledge and the staff for not learning data analysis It is unfavorable for operation.
The content of the invention
Computational methods and device it is a primary object of the present invention to propose a kind of linear fit function, it is intended to realize simplifying Non-linear relation is converted to the process of linear relationship, to facilitate control.
To achieve the above object, the present invention provides a kind of computational methods of linear fit function, the side of the curve matching Method is comprised the following steps:
The initial data of pending curve is obtained, and corresponding coordinate system is set up according to the initial data for getting;
Sampled according to the initial data, got the coordinate data of multiple sampled points;
Data according to adjacent two sampled point are calculated, and get the linear function between each adjacent two sampled point, and Using the linear function between each adjacent two sampled point as the curve linear fit function.
Wherein, it is described to be sampled according to the initial data, wrap the step of get the coordinate data of multiple sampled points Include:
Differential is carried out to the initial data;
Differential value according to getting is sampled, and gets the coordinate of multiple sampled points in the original data definition domain Data.
Wherein, the differential value that the basis gets is sampled, and is got multiple in the original data definition domain and is adopted The step of coordinate data of sampling point, includes:
When the differential value for getting is constant, two ends of the differential value corresponding to constant are chosen as sampled point;
When the differential value for getting is not equal to constant, it is determined that the absolute value of the differential value for getting and the first preset value Difference;
The sampled point of the first predetermined number is chosen in preset range of the difference less than the second preset value, in the difference Value outside the preset range of the second preset value less than choosing the sampled point of the second predetermined number, wherein the first predetermined number is less than the Two predetermined numbers.
Wherein, the differential that the basis gets is sampled, and gets multiple samplings in the original data definition domain The step of coordinate data of point, also includes:
Differential value according to getting determines sampled point;
Sampled point is measured using fine measuring instrument, gets the coordinate data of sampled point.
Wherein, the data according to adjacent two sampled point are calculated, and get the line between each adjacent two sampled point Property function, and using the linear function between each adjacent two sampled point as the linear fit function of the curve the step of include:
Linear function y between each adjacent two sampled point is calculated using equation below:
Y=kix+bi,
Wherein, (xi,yi) and (xi+1,yi+1) be adjacent two sampled point coordinate, ki=(yi-yi+1)/(xi-xi+1), bi= yi-kixi
Additionally, to achieve the above object, the present invention also provides a kind of computing device of linear fit function, the Linear Quasi The computing device for closing function includes:
Acquisition module, the initial data for obtaining pending curve, and correspondence is set up according to the initial data for getting Coordinate system;
Sampling module, for being sampled according to the initial data, gets the coordinate data of multiple sampled points;
Computing module, for being calculated according to the coordinate data of adjacent two sampled point, gets each adjacent two sampled point Between linear function, and using the linear function between each adjacent two sampled point as the curve linear fit function.
Wherein, the sampling module includes:
Differentiation element, for carrying out differential to the initial data;
Sampling unit, for being sampled according to the differential value for getting, gets many in the original data definition domain The coordinate data of individual sampled point.
Wherein, the sampling unit is additionally operable to, when the differential value for getting is constant, choose differential value right for constant The two ends answered are used as sampled point;When the differential value for getting is not equal to constant, it is determined that the absolute value of the differential value for getting with The difference of the first preset value;The sampling of the first predetermined number is chosen in preset range of the difference less than the second preset value Point, chooses the sampled point of the second predetermined number, wherein first is pre- outside preset range of the difference less than the second preset value If quantity is less than the second predetermined number.
Wherein, the sampling unit includes:
Determination subelement, for determining sampled point according to the differential value for getting;
Measurement subelement, for being measured to sampled point using fine measuring instrument, gets the number of coordinates of sampled point According to.
Wherein, the computing module is additionally operable to:Linear function between each adjacent two sampled point is calculated using equation below y:
Y=kix+bi,
Wherein, (xi,yi) and (xi+1,yi+1) be adjacent two sampled point coordinate, ki=(yi-yi+1)/(xi-xi+1), bi= yi-kixi
The present invention sets up corresponding seat by obtaining the initial data of pending curve according to the initial data for getting Mark system;Sampled according to the initial data, got the coordinate data of multiple sampled points;According to the number of adjacent two sampled point According to being calculated, the linear function between each adjacent two sampled point is got, and by the linear letter between each adjacent two sampled point Count as the linear fit function of the curve.Through the above way, the present invention is sampled in the curve data for getting, Multiple sampled points are got, the linear function between two neighboring sampled point is then calculated, calculating process is simple, without existing work Make personnel selection approximating function, simplify operating process, convenient control.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the computational methods first embodiment of linear fit function of the present invention;
Fig. 2 is the result of calculation display schematic diagram in the embodiment of the present invention;
Fig. 3 gets the number of coordinates of multiple sampled points to be sampled according to the initial data in the embodiment of the present invention According to the refinement schematic flow sheet of step;
Fig. 4 is the high-level schematic functional block diagram of the computing device first embodiment of linear fit function of the present invention;
Fig. 5 is the refinement high-level schematic functional block diagram of sampling module in the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of computational methods of linear fit function.
Reference picture 1, Fig. 1 is the schematic flow sheet of the computational methods first embodiment of linear fit function of the present invention.
In the present embodiment, the computational methods of the linear fit function are comprised the following steps:
Step S10, obtains the initial data of pending curve, and sets up corresponding coordinate according to the initial data for getting System;
Step S20, is sampled according to the initial data, gets the coordinate data of multiple sampled points;
As a kind of embodiment, the initial data of pending curve is first got in the present embodiment, according to the original for getting Beginning data set up corresponding coordinate system, specifically, if illustrating pending curve during each only two value of point in initial data It is two-dimensional curve;If each point there are multiple values in initial data, illustrate that pending curve is many dimension curves.Treated determining Treatment curve is two-dimensional curve, sets up rectangular coordinate system, is determining pending curve for many dimension curves, sets up multidimensional coordinate System, such as set up three-dimensional coordinate system.In specific implementation, when the type of pending curve is known, it is also possible to first set up and sit Mark system, then the initial data for obtaining pending curve.
After the initial data for getting, the initial data in coordinate system is sampled, specifically, can be original Sampled in data, for the accuracy of result of calculation in specific implementation, it is to avoid using the mechanical data for collecting in itself not It is actual value, it is also possible to sampled point is determined according to initial data, is then measured in sampled point using fine measuring instrument, will The data measured in sampled point using fine measuring instrument as sampled data, wherein, the quantity of sampled point is more than 2.
Step S30, the coordinate data according to adjacent two sampled point is calculated, and is got between each adjacent two sampled point Linear function, and using the linear function between each adjacent two sampled point as the curve linear fit function.
After sampled data is got, the data according to two neighboring sampled point are calculated, and specifically, choose first Calculated with second sampled point, then calculated using second and the 3rd sampled point, the like, calculate each phase Linear function between adjacent two sampled points, after all of linear function is calculated, by the line between each adjacent two sampled point Property function as the curve linear fit function.
Specifically, calculating process can include:Assuming that the data of the sampled point for getting include:X={ x1,x2,…xn, Y ={ y1,y2,…yn, wherein x1>x2,…>xn, the computing formula for using is then y=kix+bi, wherein, (xi,yi) and (xi+1, yi+1) be adjacent two sampled point coordinate, ki=(yi-yi+1)/(xi-xi+1), bi=yi-kixi
As shown in Fig. 2 it is in a coordinate system the line segment of I1 to get function according to first and second sampled point calculating, Second and the 3rd line segment of sampled point is then I2.After all of line segment is obtained, the function of all line segments is then pending Curve approaches line, and the line segment of the combination of each line segment is then the fit line of pending curve.
After linear function is got, then accurately Automated condtrol can be carried out according to linear function, so as to avoid machine Taken in tool when being not actual value, cause to control puzzlement.
In present invention can apply to multiple systems, such as:
Can apply the present invention to during gas shield welding connects, voltage constant, welding wire is certain, wire feed rate V and welding current I's Relation,
Representative sample value ordered series of numbers V={ v1, v2 ... vn }, and v1 are first extracted in the range of wire feed rate>v2,…> vn;By ordered series of numbers V, ordered series of numbers I={ i1, i2 ... in } is accurately measured with the method for test, calculate ordered series of numbers K and B.
Or in can applying the present invention to 6 axle robots:6 axle robot ambulation space curve L, can be by teaching Mode up-samples n point in space curve L, obtains the position sequence P1 { p11, p12 ... p1n } of 6 axle robot, 6 motors, P2 {p21,p22,…p2n},…P6{p61,p62,…p6n}.Sequence K1, K2 are obtained by sequence P ... K6 and B1, B2 ... B6, N-1 sections of straight line P1P2, P2P3 ... Pn-1Pn is obtained, as long as n is sufficiently large, it is possible to use n-1 sections of straight line P1P2, P2P3 ... Pn- 1Pn approximating curves L.
The present invention sets up corresponding seat by obtaining the initial data of pending curve according to the initial data for getting Mark system;Sampled according to the initial data, got the coordinate data of multiple sampled points;According to the number of adjacent two sampled point According to being calculated, the linear function between each adjacent two sampled point is got, and by the linear letter between each adjacent two sampled point Count as the linear fit function of the curve.Through the above way, the present invention is sampled in the curve data for getting, Multiple sampled points are got, the linear function between two neighboring sampled point is then calculated, calculating process is simple, without existing work Make personnel selection approximating function, simplify operating process, convenient control.
Reference picture 3, Fig. 3 gets multiple sampled points to be sampled according to the initial data in the embodiment of the present invention Coordinate data step refinement schematic flow sheet.
Based on the embodiment shown in above-mentioned Fig. 1, step S20 may comprise steps of:
Step S21, differential is carried out to the initial data;
Step S22, is sampled according to the differential value for getting, and gets multiple samplings in the original data definition domain The coordinate data of point.
It is right when initial data is got in the present embodiment in order to determine sampled point, it is ensured that the correctness of test result Initial data carries out differential, is then sampled according to the differential value for getting, and gets the coordinate data of multiple sampled points.
Specifically, step S22 can include:
Step S221, sampled point is determined according to the differential value for getting;
Step S222, is measured using fine measuring instrument to sampled point, gets the coordinate data of sampled point.
When differential value is got, sampled point is determined according to the differential value for getting, using fine measuring instrument to sampling Point is measured, and gets the coordinate data of sampled point.It is to determine the change of initial data that differential is carried out to initial data Degree, is separated by closely, being separated by the sampled point for changing gentle place selection in the sampled point for changing violent place selection Can be with distant, specifically, when the differential value for getting is constant, it is two ends corresponding to constant as adopting to choose differential value Sampling point;When the differential value for getting is not equal to constant, it is determined that the difference of the absolute value of the differential value for getting and the first preset value Value;The sampled point of the first predetermined number is chosen in preset range of the difference less than the second preset value, it is small in the difference The sampled point of the second predetermined number is chosen outside the preset range of the second preset value, wherein the first predetermined number is pre- less than second If quantity.Such as, the first preset value is 0 in the present embodiment, is taken when differential value is constant, and differential value is corresponding to constant Two ends as sampled point, x8 and x9 in such as Fig. 2;When the differential value for getting is not equal to constant, differential value and 0 difference are determined Value, difference is bigger, then illustrate that the absolute value of the slope of correspondence position is bigger, and the sampled point of selection is also more;Difference is smaller, then say The slope absolute value of bright correspondence position is smaller, and now curve ratio is shallower, and sampled point value is smaller.First preset value value is 0 Position be located at point of inflexion on a curve at.The first preset value can also take other values in specific implementation.
The present invention further provides a kind of computing device of linear fit function.
Reference picture 4, Fig. 4 is the high-level schematic functional block diagram of the computing device first embodiment of linear fit function of the present invention.
In the present embodiment, the computing device of the linear fit function includes:
The computing device of the linear fit function includes:
Acquisition module 10, the initial data for obtaining pending curve, and set up right according to the initial data for getting The coordinate system answered;
Sampling module 20, for being sampled according to the initial data, gets the coordinate data of multiple sampled points;
As a kind of embodiment, the initial data of pending curve is first got in the present embodiment, according to the original for getting Beginning data set up corresponding coordinate system, specifically, if illustrating pending curve during each only two value of point in initial data It is two-dimensional curve;If each point there are multiple values in initial data, illustrate that pending curve is many dimension curves.Treated determining Treatment curve is two-dimensional curve, sets up rectangular coordinate system, is determining pending curve for many dimension curves, sets up multidimensional coordinate System, such as set up three-dimensional coordinate system.In specific implementation, when the type of pending curve is known, it is also possible to first set up and sit Mark system, then the initial data for obtaining pending curve.
After the initial data for getting, the initial data in coordinate system is sampled, specifically, can be original Sampled in data, for the accuracy of result of calculation in specific implementation, it is to avoid using the mechanical data for collecting in itself not It is actual value, it is also possible to sampled point is determined according to initial data, is then measured in sampled point using fine measuring instrument, will The data measured in sampled point using fine measuring instrument as sampled data, wherein, the quantity of sampled point is more than 2.
Computing module 30, for being calculated according to the coordinate data of adjacent two sampled point, gets each adjacent two sampling Point between linear function, and using the linear function between each adjacent two sampled point as the curve linear fit function.
After sampled data is got, the data according to two neighboring sampled point are calculated, and specifically, choose first Calculated with second sampled point, then calculated using second and the 3rd sampled point, the like, calculate each phase Linear function between adjacent two sampled points, after all of linear function is calculated, by the line between each adjacent two sampled point Property function as the curve linear fit function.
Specifically, it is assumed that the data of the sampled point for getting include:X={ x1,x2,…xn, Y={ y1,y2,…yn, its Middle x1>x2,…>xn, computing module 30 is used for:Linear function y between each adjacent two sampled point is calculated using equation below:
Y=kix+bi,
Wherein, (xi,yi) and (xi+1,yi+1) be adjacent two sampled point coordinate, ki=(yi-yi+1)/(xi-xi+1), bi= yi-kixi
As shown in Fig. 2 it is in a coordinate system the line segment of I1 to get function according to first and second sampled point calculating, Second and the 3rd line segment of sampled point is then I2.After all of line segment is obtained, the function of all line segments is then pending Curve approaches line, and the line segment of the combination of each line segment is then the fit line of pending curve.
After linear function is got, then accurately Automated condtrol can be carried out according to linear function, so as to avoid machine Taken in tool when being not actual value, cause to control puzzlement.
In present invention can apply to multiple systems, such as:
Can apply the present invention to during gas shield welding connects, voltage constant, welding wire is certain, wire feed rate V and welding current I's Relation,
Representative sample value ordered series of numbers V={ v1, v2 ... vn }, and v1 are first extracted in the range of wire feed rate>v2,…> vn;By ordered series of numbers V, ordered series of numbers I={ i1, i2 ... in } is accurately measured with the method for test, calculate ordered series of numbers K and B.
Or in can applying the present invention to 6 axle robots:6 axle robot ambulation space curve L, can be by teaching Mode up-samples n point in space curve L, obtains the position sequence P1 { p11, p12 ... p1n } of 6 axle robot, 6 motors, P2 {p21,p22,…p2n},…P6{p61,p62,…p6n}.Sequence K1, K2 are obtained by sequence P ... K6 and B1, B2 ... B6, N-1 sections of straight line P1P2, P2P3 ... Pn-1Pn is obtained, as long as n is sufficiently large, it is possible to use n-1 sections of straight line P1P2, P2P3 ... Pn- 1Pn approximating curves L.
The present invention sets up corresponding seat by obtaining the initial data of pending curve according to the initial data for getting Mark system;Sampled according to the initial data, got the coordinate data of multiple sampled points;According to the number of adjacent two sampled point According to being calculated, the linear function between each adjacent two sampled point is got, and by the linear letter between each adjacent two sampled point Count as the linear fit function of the curve.Through the above way, the present invention is sampled in the curve data for getting, Multiple sampled points are got, the linear function between two neighboring sampled point is then calculated, calculating process is simple, without existing work Make personnel selection approximating function, simplify operating process, convenient control.
Refering to Fig. 5, Fig. 5 is the refinement high-level schematic functional block diagram of sampling module in the embodiment of the present invention
Based on the embodiment shown in above-mentioned Fig. 4, sampling module 20 includes:
Differentiation element 21, for carrying out differential to the initial data;
Sampling unit 22, for being sampled according to the differential value for getting, gets in the original data definition domain The coordinate data of multiple sampled points.
It is right when initial data is got in the present embodiment in order to determine sampled point, it is ensured that the correctness of test result Initial data carries out differential, is then sampled according to the differential value for getting, and gets the coordinate data of multiple sampled points.
The sampling unit 22 includes:
Determination subelement 221, for determining sampled point according to the differential value for getting;
Measurement subelement 222, for being measured to sampled point using fine measuring instrument, gets the coordinate of sampled point Data.
When differential value is got, sampled point is determined according to the differential value for getting, using fine measuring instrument to sampling Point is measured, and gets the coordinate data of sampled point.It is to determine the change of initial data that differential is carried out to initial data Degree, is separated by closely, being separated by the sampled point for changing gentle place selection in the sampled point for changing violent place selection Can be with distant, specifically, sampling unit 22 is additionally operable to when the differential value for getting is constant, and it to choose by constant differential value Corresponding two ends are used as sampled point;When the differential value for getting is not equal to constant, it is determined that the absolute value of the differential value for getting With the difference of the first preset value;The sampling of the first predetermined number is chosen in preset range of the difference less than the second preset value Point, chooses the sampled point of the second predetermined number, wherein first is pre- outside preset range of the difference less than the second preset value If quantity is less than the second predetermined number.Such as, the first preset value is 0 in the present embodiment, is taken when differential value is constant, differential It is worth the two ends corresponding to constant as sampled point, x8 and x9 in such as Fig. 2;When the differential value for getting is not equal to constant, really Determine differential value and 0 difference, difference is bigger, then illustrate that the absolute value of the slope of correspondence position is bigger, the sampled point of selection is also got over It is many;Difference is smaller, then illustrate that the slope absolute value of correspondence position is smaller, and now curve ratio is shallower, and sampled point value is smaller.The One preset value value be 0 position be located at point of inflexion on a curve at.The first preset value can also take other values in specific implementation.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or between or be used in other related skills indirectly Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of computational methods of linear fit function, it is characterised in that the computational methods of the linear fit function include with Lower step:
The initial data of pending curve is obtained, and corresponding coordinate system is set up according to the initial data for getting;
Sampled according to the initial data, got the coordinate data of multiple sampled points;
Coordinate data according to adjacent two sampled point is calculated, and gets the linear function between each adjacent two sampled point, and Using the linear function between each adjacent two sampled point as the curve linear fit function.
2. computational methods of linear fit function as claimed in claim 1, it is characterised in that described according to the initial data Sampled, included the step of the coordinate data for getting multiple sampled points:
Differential is carried out to the initial data;
Differential value according to getting is sampled, and gets the number of coordinates of multiple sampled points in the original data definition domain According to.
3. computational methods of linear fit function as claimed in claim 2, it is characterised in that the differential that the basis gets Value is sampled, and is included the step of the coordinate data for getting in the original data definition domain multiple sampled points:
When the differential value for getting is constant, two ends of the differential value corresponding to constant are chosen as sampled point;
When the differential value for getting is not equal to constant, it is determined that the difference of the absolute value of the differential value for getting and the first preset value Value;
The sampled point of the first predetermined number is chosen in preset range of the difference less than the second preset value, it is small in the difference The sampled point of the second predetermined number is chosen outside the preset range of the second preset value, wherein the first predetermined number is pre- less than second If quantity.
4. computational methods of linear fit function as claimed in claim 2, it is characterised in that the differential that the basis gets Sampled, also included the step of the coordinate data for getting in the original data definition domain multiple sampled points:
Differential value according to getting determines sampled point;
Sampled point is measured using fine measuring instrument, gets the coordinate data of sampled point.
5. computational methods of the linear fit function as any one of claim 1-4, it is characterised in that described according to phase The coordinate data of adjacent two sampled points is calculated, and gets the linear function between each adjacent two sampled point, and by each adjacent two Linear function between sampled point as the curve linear fit function the step of include:
Linear function y between each adjacent two sampled point is calculated using equation below:
Y=kix+bi,
Wherein, (xi,yi) and (xi+1,yi+1) be adjacent two sampled point coordinate, ki=(yi-yi+1)/(xi-xi+1), bi=yi- kixi
6. a kind of computing device of linear fit function, it is characterised in that the computing device of the linear fit function includes:
Acquisition module, the initial data for obtaining pending curve, and corresponding seat is set up according to the initial data for getting Mark system;
Sampling module, for being sampled according to the initial data, gets the coordinate data of multiple sampled points;
Computing module, for being calculated according to the coordinate data of adjacent two sampled point, gets between each adjacent two sampled point Linear function, and using the linear function between each adjacent two sampled point as the curve linear fit function.
7. the computing device of linear fit function as claimed in claim 6, it is characterised in that the sampling module includes:
Differentiation element, for carrying out differential to the initial data;
Sampling unit, for being sampled according to the differential value for getting, gets multiple in the original data definition domain and adopts The coordinate data of sampling point.
8. the computing device of linear fit function as claimed in claim 7, it is characterised in that the sampling unit is additionally operable to When the differential value for getting is constant, two ends of the differential value corresponding to constant are chosen as sampled point;In the differential for getting When value is not equal to constant, it is determined that the difference of the absolute value of the differential value for getting and the first preset value;In the difference less than the The sampled point of the first predetermined number is chosen in the preset range of two preset values, in default model of the difference less than the second preset value The sampled point of the second predetermined number is chosen outside enclosing, wherein the first predetermined number is less than the second predetermined number.
9. the computing device of linear fit function as claimed in claim 7, it is characterised in that the sampling unit includes:
Determination subelement, for determining sampled point according to the differential value for getting;
Measurement subelement, for being measured to sampled point using fine measuring instrument, gets the coordinate data of sampled point.
10. the computing device of the linear fit function as any one of claim 6-9, it is characterised in that the calculating Module is additionally operable to:Linear function y between each adjacent two sampled point is calculated using equation below:
Y=kix+bi,
Wherein, (xi,yi) and (xi+1,yi+1) be adjacent two sampled point coordinate, ki=(yi-yi+1)/(xi-xi+1), bi=yi- kixi
CN201611243369.0A 2016-12-28 2016-12-28 Calculation method of linear fitting function and device Pending CN106708783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611243369.0A CN106708783A (en) 2016-12-28 2016-12-28 Calculation method of linear fitting function and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611243369.0A CN106708783A (en) 2016-12-28 2016-12-28 Calculation method of linear fitting function and device

Publications (1)

Publication Number Publication Date
CN106708783A true CN106708783A (en) 2017-05-24

Family

ID=58906184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611243369.0A Pending CN106708783A (en) 2016-12-28 2016-12-28 Calculation method of linear fitting function and device

Country Status (1)

Country Link
CN (1) CN106708783A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110082319A (en) * 2019-04-22 2019-08-02 深圳市锦瑞生物科技有限公司 Calibration data modification method and its electronic equipment
US11685326B2 (en) 2021-11-24 2023-06-27 International Business Machines Corporation Vehicle mass measurement for automated braking

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110082319A (en) * 2019-04-22 2019-08-02 深圳市锦瑞生物科技有限公司 Calibration data modification method and its electronic equipment
CN110082319B (en) * 2019-04-22 2022-03-11 深圳市锦瑞生物科技股份有限公司 Calibration data correction method and electronic device thereof
US11685326B2 (en) 2021-11-24 2023-06-27 International Business Machines Corporation Vehicle mass measurement for automated braking

Similar Documents

Publication Publication Date Title
Young et al. Recursive gabor filtering
CN111679735A (en) Excitation signal generation method, device, terminal and storage medium
CN104268591A (en) Face key point detecting method and device
CN102283654A (en) Muscle-activity diagnosis apparatus, method, and program
US11547324B2 (en) System and method for human motion detection and tracking
US20200333378A1 (en) Method and apparatus for processing oscilloscope signal and oscilloscope
CN106021928A (en) Comprehensive stress acceleration test method
EP3762794A1 (en) Method, device, system and program for setting lighting condition and storage medium
CN106708783A (en) Calculation method of linear fitting function and device
Greefrath et al. GeoGebra as a tool in modelling processes
CN104132884B (en) The immediate processing method of a kind of signal base line in signal processing system and device
Iwasako et al. Development of finger motion skill learning support system based on data gloves
Ptak Application of DasyLab in teaching electrical engineering
CN107328987B (en) Method and device for processing waveform distortion of photoelectric current sensor
CN106303153A (en) A kind of image processing method and device
CN113001546A (en) Method and system for improving motion speed safety of industrial robot
CN105528505A (en) Online automatic learning style diagnosis system and method
Rodriguez-Ponce et al. A project-oriented approach for power electronics and motor drive courses
Parmar et al. Interactive breadboard activity simulation (IBAS) for psychomotor skills education in electrical circuitry
Donose et al. Virtual monitoring of electrical circuitry
CN111460660A (en) Electronic device with built-in simulated physical mechanics experimental scene and control method thereof
Osolinskyi et al. The hybrid research stand based on labview within iot
Andrs Using Industry 4.0 technologies for teaching and learning in education process
JP2000285142A (en) Circuit chart display device and storage medium recording circuit characteristic display processing program
Jalal et al. Real-time electromagnetic visualisation using augmented reality and accelerated 3d models

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524

RJ01 Rejection of invention patent application after publication