CN111982040B - Distance measuring and calculating method and device based on rolling distance meter, computer equipment and storage medium - Google Patents

Distance measuring and calculating method and device based on rolling distance meter, computer equipment and storage medium Download PDF

Info

Publication number
CN111982040B
CN111982040B CN202010828187.XA CN202010828187A CN111982040B CN 111982040 B CN111982040 B CN 111982040B CN 202010828187 A CN202010828187 A CN 202010828187A CN 111982040 B CN111982040 B CN 111982040B
Authority
CN
China
Prior art keywords
distance
cycle
data
final value
information
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
CN202010828187.XA
Other languages
Chinese (zh)
Other versions
CN111982040A (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.)
Shandong Taihe Construction Management Co ltd
Original Assignee
Shandong Taihe Construction Management 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 Shandong Taihe Construction Management Co ltd filed Critical Shandong Taihe Construction Management Co ltd
Priority to CN202010828187.XA priority Critical patent/CN111982040B/en
Publication of CN111982040A publication Critical patent/CN111982040A/en
Application granted granted Critical
Publication of CN111982040B publication Critical patent/CN111982040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
    • G01B21/02Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Distances Traversed On The Ground (AREA)

Abstract

The application relates to a distance measuring and calculating method and device based on a rolling distance meter, computer equipment and a storage medium, wherein the distance measuring and calculating method comprises the following steps: a first reading step for reading the real-time reading of the rolling distance meter; a period operation step for responding to period data input from the outside, calling the original reading, calculating the period distance and generating unit period information; a final value operation step for calling the cycle distance of the cycle to be re-checked and the cycle distances of a plurality of unit cycle information before and after the cycle to be re-checked, and obtaining the final value distance of the cycle to be re-checked through operation; a difference making step for subtracting the periodic distance corresponding to the final value distance from the final value distance to obtain difference data; and a correction step for reading the final data of the rolling distance meter and calculating to obtain correction data by using the difference data and the final data. The method and the device have the advantages that the measuring structure of the rolling distance meter can be effectively calibrated according to the rechecking information input condition of an operator, and therefore more accurate measuring data can be obtained.

Description

Distance measuring and calculating method and device based on rolling distance meter, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of distance measurement, and in particular, to a distance measurement method and apparatus based on a rolling distance meter, a computer device, and a storage medium.
Background
At present, the rolling distance measuring instrument (also called a roller type distance measuring instrument) is distance measuring equipment commonly used in pavement laying, can measure the distance of a wireless length, can accurately measure the length of a pavement due to the fact that the pavement is attached, is simple and convenient to operate and efficient, and is common to various construction places.
In view of the above-mentioned related art, the inventor believes that there is a defect that a measurement error is significant when a surface length measurement such as a road surface length is performed in which the surface is not smooth enough.
Disclosure of Invention
In order to effectively reduce errors of distance measurement and improve measurement and calculation accuracy when the distance measurement and calculation is carried out by using a rolling distance meter, the application provides a distance measurement and calculation method and device based on the rolling distance meter, computer equipment and a storage medium.
In a first aspect, the present application provides a distance measuring and calculating method based on a rolling distance meter, which adopts the following technical scheme:
a distance measuring and calculating method based on a rolling distance meter comprises the following steps:
a first reading step for reading the real-time reading of the rolling distance meter and recording the original reading;
a period operation step for responding to period data input from the outside, calling original reading, calculating period distance and generating unit period information, wherein the period data comprises time length data, and the time length data is greater than the reading change period of the rolling distance meter;
a marking step for marking the first unit cycle information generated after receiving the rechecking information input from the outside as a cycle to be rechecked;
a final value operation step for calling the cycle distance of the cycle to be re-checked and the cycle distances of a plurality of unit cycle information before and after the cycle to be re-checked, and obtaining the final value distance of the cycle to be re-checked through mathematical operation;
a difference making step for calling the final value distance, and subtracting the corresponding period distance of the final value distance from the final value distance to obtain difference data;
and a correction step for reading the final data of the rolling distance meter and calculating to obtain correction data by using the difference data and the final data.
By adopting the technical scheme, when the rolling distance meter is used for distance measurement, by the method, rechecking information can be input when an operator suspects the measurement data of the rolling distance meter, and the distance measurement reading of the rolling distance meter is recalibrated, so that more accurate distance measurement data meeting the measurement requirements can be realized, wherein stable distance measurement can be carried out only when the rolling distance meter is stably attached to the bottom surface, so that inaccurate reading can be caused when the rolling distance meter bounces off the ground when the road surface jolts, or overlarge reading error can also occur on the ground with bulges or depressions, when the rolling distance meter passes through the conditions, the operator inputs rechecking information, and the reading at the positions can be calibrated through the operation step, the difference step and the correction step, therefore, a more stable measuring result is obtained, and the measuring effect is improved in the service environment where the road surface is measured for long distance, the environment is complex and flaws are easy to exist.
Preferably, the period operation step specifically executes the following operations:
responding to cycle data input from the outside, and generating a plurality of unit cycle information in the distance measurement process of the rolling distance meter according to the duration of the cycle data, wherein each unit cycle information comprises a start time and an end time, the start time of each unit cycle information is the end time of the previous unit cycle information, and the end time of the last unit cycle information is the end time of the measurement of the rolling distance meter;
calling the original reading at the end time point of each unit period information and storing the original data in the corresponding unit period information;
and subtracting the original reading stored in the previous unit period information from the original reading stored in each unit period information to obtain the period distance of the unit period information, wherein the storage period distance is in the corresponding unit period information.
Through adopting above-mentioned technical scheme, through end to end's unit cycle information, can be with whole length of measurement fall into a plurality of paragraph, thereby can enough conveniently proofrease and correct data, can make things convenient for operating personnel to carry out the use of roll distancer through the contrast of unit cycle information around again, the removal speed of roll distancer is more stable, the measuring result is accurate more, through contrasting the cycle distance that a plurality of unit cycle information correspond, can conveniently learn the speed of removing roll distancer, thereby the realization is known the accuracy of roll distancer running state.
Preferably, the final value operation step specifically performs the following operations:
the device comprises a processor, a distance sequence generator, a data processing unit and a data processing unit, wherein the processor is used for calling the cycle distance of a cycle to be rechecked and the cycle distances in unit cycle information with the same quantity before and after the cycle distance, sequencing all the called cycle distances according to an acquisition time sequence and generating a distance sequence;
establishing a two-dimensional coordinate system with time as an abscissa and distance as an ordinate;
calling a distance sequence, marking the positions of all periodic distances by using points on a two-dimensional coordinate system, and marking the horizontal and vertical coordinates of all the points;
judging whether the ordinate of the point corresponding to the cycle to be rechecked is the median of the ordinate of all the points, if so, calling the cycle distance corresponding to the cycle to be rechecked, and regarding the cycle distance as the final value distance, if not, using a smooth curve to sequentially connect all the points except the point corresponding to the cycle to be rechecked along the abscissa, projecting the points parallel to the ordinate axis from the point corresponding to the cycle to be rechecked to the smooth curve, marking projected intersection points on the smooth curve, and generating the final value distance by using the abscissa and ordinate values of the projected intersection points;
and storing the distance between the final value and the corresponding cycle to be checked.
By adopting the technical scheme, the coordinate system is established, and the smooth curve is used for data adjustment and calibration according to the principle that the speed does not have sudden change, so that whether data abnormity occurs or not can be accurately judged, if the data abnormity exceeding the error range occurs, the speed change trend can be simulated through the smooth curve, the abnormal data is calibrated to obtain the final value distance, the original period distance is reserved, and the follow-up comparison operation is facilitated.
Preferably, the method includes a checking step for checking the cycle to be rechecked, where the checking step specifically executes the following operations;
traversing all cycles to be rechecked, and judging whether a final value distance exists in the cycles to be rechecked;
if the judgment result is yes, continuously traversing;
if the judgment result is negative, executing a final value operation step on the to-be-repeated kernel period;
and sending out finishing information after traversing is finished.
By adopting the technical scheme, before calibration, because it is required to ensure that all cycles to be re-checked have completed distance calibration, data re-checking is performed on all cycles to be re-checked, wherein the final value distance is included, which indicates that the final value operation step has been completed, and if the final value distance is not included, the final value operation step is performed on the cycles to be re-checked, so that the omission probability is reduced.
Preferably, the difference step specifically performs the following operations:
traversing all cycles to be checked, and calling the final value distance and the cycle distance stored in the cycles to be checked;
subtracting the periodic distance from the final value distance to obtain difference data;
and storing the difference data in the corresponding cycle to be checked.
By adopting the technical scheme, the difference value between the actual measurement distance and the calibrated result can be intuitively obtained by acquiring the difference data, so that the measurement result can be conveniently calibrated.
Preferably, the correcting step specifically performs the following operations:
traversing all to-be-rechecked periods, calling all difference data to perform accumulation operation, and recording the obtained operation result as final difference information;
reading final data of the rolling distance meter;
calling final difference information and summing final data;
the summed result is labeled correction data.
By adopting the technical scheme, when the final data of the distance measuring instrument is rolled, the validity of the data can be effectively guaranteed, the probability that the operation is complex and the structure is likely to have deviation caused by sectional calculation is reduced, the final data and the difference information are finally summed, and the deviation value obtained after the calibration in the previous steps can be added into the final data, so that the final data is calibrated, and the accuracy of the final data is improved.
In a second aspect, the present application provides a distance measuring device based on a rolling distance meter, which adopts the following technical scheme:
a distance measuring and calculating device based on a rolling distance meter is characterized by comprising the following modules:
the initial reading module is used for reading the real-time reading of the rolling distance meter and recording the real-time reading as an original reading;
the period operation module is used for responding to period data input from the outside, calling the original reading, calculating the period distance and generating unit period information;
the marking module is used for marking the first unit cycle information generated after the rechecking information input from the outside as a cycle to be rechecked;
the final value operation module is used for calling the period distance of the to-be-rechecked period and the period distances of a plurality of unit period information before and after the to-be-rechecked period, and obtaining the final value distance of the to-be-rechecked period through mathematical operation;
the checking module is used for checking the cycle to be rechecked;
the difference making module is used for calling the final value distance, and subtracting the corresponding period distance of the final value distance from the final value distance to obtain difference data;
the correction module is used for reading the final data of the rolling distance meter and obtaining correction data by utilizing the difference data and the final data operation;
the input module is used for inputting information such as review information, periodic data and the like;
an output module for outputting information such as correction data;
and the storage module is used for storing information such as periodic data and the like.
By adopting the technical scheme, when the rolling distance meter is used for distance measurement, by the method, rechecking information can be input when an operator suspects the measurement data of the rolling distance meter, and the distance measurement reading of the rolling distance meter is recalibrated, so that more accurate distance measurement data meeting the measurement requirements can be realized, wherein stable distance measurement can be carried out only when the rolling distance meter is stably attached to the bottom surface, so that inaccurate reading can be caused when the rolling distance meter bounces off the ground when the road surface jolts, or overlarge reading error can also occur on the ground with bulges or depressions, when the rolling distance meter passes through the conditions, the operator inputs rechecking information, and the reading at the positions can be calibrated through the operation step, the difference step and the correction step, therefore, a more stable measuring result is obtained, and the measuring effect is improved in the service environment where the road surface is measured for long distance, the environment is complex and flaws are easy to exist.
In a third aspect, the present application provides a computer device, which adopts the following technical solution:
a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
a first reading step for reading the real-time reading of the rolling distance meter and recording the original reading;
a period operation step for responding to period data input from the outside, calling the original reading, calculating the period distance and generating unit period information;
a marking step for marking the first unit cycle information generated after receiving the rechecking information input from the outside as a cycle to be rechecked;
a final value operation step for calling the cycle distance of the cycle to be re-checked and the cycle distances of a plurality of unit cycle information before and after the cycle to be re-checked, and obtaining the final value distance of the cycle to be re-checked through mathematical operation;
a checking step for checking the cycle to be rechecked;
a difference making step for calling the final value distance, and subtracting the corresponding period distance of the final value distance from the final value distance to obtain difference data;
and a correction step for reading the final data of the rolling distance meter and calculating to obtain correction data by using the difference data and the final data.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
a first reading step for reading the real-time reading of the rolling distance meter and recording the original reading;
a period operation step for responding to period data input from the outside, calling the original reading, calculating the period distance and generating unit period information;
a marking step for marking the first unit cycle information generated after receiving the rechecking information input from the outside as a cycle to be rechecked;
a final value operation step for calling the cycle distance of the cycle to be re-checked and the cycle distances of a plurality of unit cycle information before and after the cycle to be re-checked, and obtaining the final value distance of the cycle to be re-checked through mathematical operation;
a checking step for checking the cycle to be rechecked;
a difference making step for calling the final value distance, and subtracting the corresponding period distance of the final value distance from the final value distance to obtain difference data;
and a correction step for reading the final data of the rolling distance meter and calculating to obtain correction data by using the difference data and the final data.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the method can effectively calibrate the measuring structure of the rolling distance meter according to the rechecking information input condition of an operator, so that more accurate measuring data can be obtained;
2. the time point of inputting the rechecking information can be allowed to be selected by an operator, so that the operator can preferentially use the traditional mode to confirm the error, and input the rechecking information when the error exceeding the expectation appears, and the combination of the traditional mode and the modern science and technology is realized.
Drawings
Fig. 1 is a schematic flow chart of the distance measuring method according to the present embodiment.
Fig. 2 is an internal structural diagram of a computer device in the embodiment.
Description of reference numerals: 1. an initial reading step; 2. a period operation step; 3. a marking step; 4. a final value operation step; 5. checking; 6. a difference making step; 7. and (5) correcting.
Detailed Description
The present application is described in further detail below with reference to figures 1-2.
The embodiment of the application discloses a distance measuring and calculating method based on a rolling distance meter, and the method comprises the following steps of:
initial reading step 1: and reading the real-time reading of the rolling distance meter, and recording the real-time reading as an original reading.
Wherein, the original reading is the reading output after the rolling distance meter starts to measure.
And a periodic operation step 2: and responding to the cycle data input from the outside, calling the original reading, calculating the cycle distance and generating unit cycle information.
The period operation step 2 specifically executes the following operations:
responding to the cycle data input from the outside, generating a plurality of unit cycle information in the process of distance measurement of the rolling distance meter according to the duration of the cycle data, wherein,
calling the original reading at the end time point of each unit period information and storing the original data in the corresponding unit period information;
and subtracting the original reading stored in the previous unit period information from the original reading stored in each unit period information to obtain the period distance of the unit period information, wherein the storage period distance is in the corresponding unit period information.
The system comprises a management user, cycle data, a time length data acquisition module and a time length data acquisition module, wherein the cycle data is input by the management user, comprises time length data and takes minutes or seconds as a minimum unit, each unit cycle information comprises a starting time and an ending time, the starting time of each unit cycle information is the ending time of the previous unit cycle information, and the ending time of the last unit cycle information is the ending time of the measurement of the rolling distance meter; the time length data is larger than the reading change period of the rolling distance meter.
A marking step 3: and marking the unit period information as a cycle to be rechecked after the first unit period information is generated after rechecking information input from the outside is received.
The rechecking information is input by an operator, the operator can send the rechecking information at any time point when the rolling distance meter starts to be used, and the rechecking information comprises an instruction for starting the marking step 3 and the corresponding sending time. The cycle to be rechecked replaces the unit cycle information, includes all the information in the corresponding unit cycle information, and includes recheck information.
By this means, the unit cycle information where the operator thinks that the position with the larger measurement error may occur is marked through the marking step 3, so that the subsequent calibration operation of the measurement reading in the cycles is facilitated.
And a final value operation step 4: and calling the cycle distance of the cycle to be subjected to the re-checking and the cycle distances of a plurality of unit cycle information before and after the cycle to be subjected to the re-checking, and obtaining the final value distance of the cycle to be subjected to the re-checking through mathematical operation.
The final value operation step 4 specifically executes the following operations:
and calling the cycle distance of the cycle to be rechecked and the cycle distances in the five unit cycle information before and after the cycle to be rechecked, and sequencing all the called cycle distances according to the acquisition time sequence of the unit cycle information to generate a distance sequence.
And establishing a two-dimensional coordinate system with time as an abscissa and distance as an ordinate.
And calling a distance sequence, marking the positions of all periodic distances by using points on a two-dimensional coordinate system, and marking the horizontal and vertical coordinates of all the points.
Judging whether the vertical coordinate of the point corresponding to the cycle to be rechecked is the median of the vertical coordinates of all the points;
if the judgment result is yes, calling the cycle distance corresponding to the cycle to be checked, and storing the cycle distance as the final value distance.
If the judgment result is negative, the smooth curve is used for sequentially connecting all the points except the point corresponding to the cycle to be re-checked along the abscissa, the point corresponding to the cycle to be re-checked is projected to the smooth curve in parallel to the ordinate axis, a projection intersection point is marked on the smooth curve, and the abscissa and ordinate values of the projection intersection point are used for generating a final value distance.
And storing the distance between the final value and the corresponding cycle to be checked.
The coordinate system is established, and the smooth curve is used for data adjustment and calibration according to the principle that speed does not suddenly change, so that whether data abnormity occurs or not can be accurately judged, if the data abnormity exceeding the error range occurs, the speed change trend can be simulated through the smooth curve, and the abnormal data can be calibrated to obtain the final value distance.
And a checking step 5: and 5, checking the cycle to be rechecked.
The checking step 5 specifically executes the following operations;
traversing all cycles to be rechecked, and judging whether a final value distance exists in the cycles to be rechecked;
if the judgment result is yes, continuously traversing;
if the judgment result is negative, executing a final value operation step 4 on the to-be-repeated kernel period;
and sending out finishing information after traversing is finished.
Wherein the completion information includes the instruction to start the difference step 6 and the issue time of the completion information.
Difference step 6: and calling the final value distance, and subtracting the period distance corresponding to the final value distance from the final value distance to obtain difference data.
The difference step 6 specifically performs the following operations:
traversing all the cycles to be re-checked when the completion information is received, and calling the final value distance and the cycle distance stored in the cycles to be re-checked;
subtracting the corresponding periodic distance from each final value distance to obtain a plurality of difference data;
and summarizing all the obtained difference data to generate a difference data group.
And storing the difference data in the corresponding cycle to be checked, and storing the difference data group.
A correction step 7: and reading the final data of the rolling distance meter, and calculating by using the difference data and the final data to obtain correction data.
The correction step 7 specifically performs the following operations:
traversing the difference data group and all the cycles to be checked, judging whether the difference data quantity in the difference data group is equal to the sum of the difference data quantity in all the cycles to be checked, if so, sending continuous information, if not, and executing the difference making step 6 again.
After receiving the continuous information, traversing all the to-be-rechecked periods, calling all the difference data to perform accumulation operation, and recording the obtained operation result as final difference information;
reading final data of the rolling distance meter;
calling final difference information and summing final data;
the summed result is labeled correction data.
And the final data is distance data output by the rolling distance meter after the measurement is finished.
The implementation principle of the distance measuring and calculating method based on the rolling distance meter in the embodiment of the application is as follows: when the rolling distance meter is used for distance measurement, the purpose of correcting the detection structure corresponding to the period of sending the coincidence information by an operator can be realized through the final value operation step 4, the difference making step 6, the correction step 7 and the like, so that the measurement result is kept to be more in accordance with the speed change rule, the probability of the situation that the error between the measured distance and the actually required horizontal distance is large due to the topographic change factors such as bumping, ascending and descending is reduced, and the measuring efficiency and accuracy are improved.
The embodiment discloses a distance measuring and calculating device based on a rolling distance meter, which comprises the following modules:
the initial reading module is used for reading the real-time reading of the rolling distance meter and recording the real-time reading as an original reading;
the period operation module is used for responding to period data input from the outside, calling the original reading, calculating the period distance and generating unit period information;
the marking module is used for marking the first unit cycle information generated after the rechecking information input from the outside as a cycle to be rechecked;
the final value operation module is used for calling the period distance of the to-be-rechecked period and the period distances of a plurality of unit period information before and after the to-be-rechecked period, and obtaining the final value distance of the to-be-rechecked period through mathematical operation;
the checking module is used for checking the cycle to be rechecked;
the difference making module is used for calling the final value distance, and subtracting the corresponding period distance of the final value distance from the final value distance to obtain difference data;
the correction module is used for reading the final data of the rolling distance meter and obtaining correction data by utilizing the difference data and the final data operation;
the input module is used for inputting information such as review information, periodic data and the like;
an output module for outputting information such as correction data;
and the storage module is used for storing information such as periodic data and the like.
For specific limitations of the distance measuring device based on the rolling distance meter, reference may be made to the above limitations of the distance measuring method based on the rolling distance meter, and details thereof are not repeated here. The various modules in the data processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
The embodiment provides a computer device, which may be a server, and the internal structure diagram of the computer device may be as shown in fig. 2. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as service requests, service data and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 2 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The computer device comprises a memory in which a computer program is stored and a processor which, when executing the computer program, carries out the steps in the above-described method embodiments.
The present embodiment provides a computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (9)

1. A distance measuring and calculating method based on a rolling distance meter is characterized by comprising the following steps:
a first reading step (1) for reading the real-time reading of the rolling distance meter and recording the real-time reading as an original reading;
a period operation step (2) for responding to period data input from the outside, calling original readings, calculating period distance and generating unit period information, wherein the period data comprise time length data, and the time length data are greater than the reading change period of the rolling distance meter;
a marking step (3) for marking the first unit cycle information generated after receiving the rechecking information input from the outside as a cycle to be rechecked;
a final value operation step (4) for calling the cycle distance of the cycle to be re-checked and the cycle distances of the unit cycle information before and after the cycle to be re-checked, and obtaining the final value distance of the cycle to be re-checked through mathematical operation, wherein the final value operation step (4) specifically executes the following operations:
calling the cycle distance of the cycle to be rechecked and the cycle distances in the five unit cycle information before and after the cycle to be rechecked, and sequencing all the called cycle distances according to the acquisition time sequence of the unit cycle information to generate a distance sequence;
establishing a two-dimensional coordinate system with time as an abscissa and distance as an ordinate;
calling a distance sequence, marking the positions of all periodic distances by using points on a two-dimensional coordinate system, and marking the horizontal and vertical coordinates of all the points;
judging whether the vertical coordinate of the point corresponding to the cycle to be rechecked is the median of the vertical coordinates of all the points;
if the judgment result is yes, calling the cycle distance corresponding to the cycle to be checked, and storing the cycle distance as the final value distance;
if the judgment result is negative, sequentially connecting all the points except the point corresponding to the cycle to be re-checked by using a smooth curve along the abscissa, projecting the points parallel to the ordinate axis from the point corresponding to the cycle to be re-checked to the smooth curve, marking a projection intersection point on the smooth curve, and generating a final value distance by using the abscissa and ordinate values of the projection intersection point;
storing the distance between the final value and the corresponding cycle to be checked;
a difference making step (6) for calling the final value distance, and subtracting the corresponding period distance of the final value distance from the final value distance to obtain difference data;
and a correction step (7) for reading the final data of the rolling distance meter and calculating to obtain correction data by using the difference data and the final data.
2. The method for distance measurement based on a rolling distance meter according to claim 1, wherein the period calculation step (2) specifically performs the following operations:
responding to cycle data input from the outside, and generating a plurality of unit cycle information in the distance measurement process of the rolling distance meter according to the duration of the cycle data, wherein each unit cycle information comprises a start time and an end time, the start time of each unit cycle information is the end time of the previous unit cycle information, and the end time of the last unit cycle information is the end time of the measurement of the rolling distance meter;
calling the original reading at the end time point of each unit period information and storing the original data in the corresponding unit period information;
and subtracting the original reading stored in the previous unit period information from the original reading stored in each unit period information to obtain the period distance of the unit period information, wherein the storage period distance is in the corresponding unit period information.
3. The method for distance measurement and calculation based on a rolling distance meter according to claim 2, wherein the final value operation step (4) specifically performs the following operations:
the device comprises a processor, a distance sequence generator, a data processing unit and a data processing unit, wherein the processor is used for calling the cycle distance of a cycle to be rechecked and the cycle distances in unit cycle information with the same quantity before and after the cycle distance, sequencing all the called cycle distances according to an acquisition time sequence and generating a distance sequence;
establishing a two-dimensional coordinate system with time as an abscissa and distance as an ordinate;
calling a distance sequence, marking the positions of all periodic distances by using points on a two-dimensional coordinate system, and marking the horizontal and vertical coordinates of all the points;
judging whether the ordinate of the point corresponding to the cycle to be rechecked is the median of the ordinate of all the points, if so, calling the cycle distance corresponding to the cycle to be rechecked, and regarding the cycle distance as the final value distance, if not, using a smooth curve to sequentially connect all the points except the point corresponding to the cycle to be rechecked along the abscissa, projecting the points parallel to the ordinate axis from the point corresponding to the cycle to be rechecked to the smooth curve, marking projected intersection points on the smooth curve, and generating the final value distance by using the abscissa and ordinate values of the projected intersection points;
and storing the distance between the final value and the corresponding cycle to be checked.
4. The method for distance estimation based on a rolling distance meter according to claim 1, characterized in that the step of subtracting (6) is preceded by the following steps:
a checking step (5) for checking the cycle to be rechecked, wherein the checking step (5) specifically executes the following operation;
traversing all cycles to be rechecked, and judging whether a final value distance exists in the cycles to be rechecked;
if the judgment result is yes, continuously traversing;
if the judgment result is negative, executing a final value operation step (4) on the to-be-repeated kernel period;
and sending out finishing information after traversing is finished.
5. The method for distance estimation based on a rolling distance meter according to claim 4, characterized in that the subtraction step (6) specifically performs the following operations:
traversing all cycles to be checked, and calling the final value distance and the cycle distance stored in the cycles to be checked;
subtracting the periodic distance from the final value distance to obtain difference data;
and storing the difference data in the corresponding cycle to be checked.
6. The method for distance estimation based on a rolling distance meter according to claim 5, characterized in that the correction step (7) is carried out in particular as follows:
traversing all to-be-rechecked periods, calling all difference data to perform accumulation operation, and recording the obtained operation result as final difference information;
reading final data of the rolling distance meter;
calling final difference information and summing final data;
the summed result is labeled correction data.
7. A distance measuring and calculating device based on a rolling distance meter is characterized by comprising the following modules:
the initial reading module is used for reading the real-time reading of the rolling distance meter and recording the real-time reading as an original reading;
the period operation module is used for responding to period data input from the outside, calling the original reading, calculating the period distance and generating unit period information;
the marking module is used for marking the first unit cycle information generated after the rechecking information input from the outside as a cycle to be rechecked;
a final value operation module for calling the cycle distance of the cycle to be re-checked and the cycle distances of a plurality of unit cycle information before and after the cycle to be re-checked, and obtaining the final value distance of the cycle to be re-checked through mathematical operation, wherein the final value operation step specifically executes the following operations:
calling the cycle distance of the cycle to be rechecked and the cycle distances in the five unit cycle information before and after the cycle to be rechecked, and sequencing all the called cycle distances according to the acquisition time sequence of the unit cycle information to generate a distance sequence;
establishing a two-dimensional coordinate system with time as an abscissa and distance as an ordinate;
calling a distance sequence, marking the positions of all periodic distances by using points on a two-dimensional coordinate system, and marking the horizontal and vertical coordinates of all the points;
judging whether the vertical coordinate of the point corresponding to the cycle to be rechecked is the median of the vertical coordinates of all the points;
if the judgment result is yes, calling the cycle distance corresponding to the cycle to be checked, and storing the cycle distance as the final value distance;
if the judgment result is negative, sequentially connecting all the points except the point corresponding to the cycle to be re-checked by using a smooth curve along the abscissa, projecting the points parallel to the ordinate axis from the point corresponding to the cycle to be re-checked to the smooth curve, marking a projection intersection point on the smooth curve, and generating a final value distance by using the abscissa and ordinate values of the projection intersection point;
storing the distance between the final value and the corresponding cycle to be checked;
the checking module is used for checking the cycle to be rechecked;
the difference making module is used for calling the final value distance, and subtracting the corresponding period distance of the final value distance from the final value distance to obtain difference data;
the correction module is used for reading the final data of the rolling distance meter and obtaining correction data by utilizing the difference data and the final data operation;
the input module is used for inputting review information and periodic data;
an output module for outputting the correction data;
and the storage module is used for storing the periodic data.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that: the processor, when executing the computer program, realizes the steps of the method of any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, characterized in that: the computer program, when executed by a processor, implementing the steps of the method of any one of claims 1 to 6.
CN202010828187.XA 2020-08-18 2020-08-18 Distance measuring and calculating method and device based on rolling distance meter, computer equipment and storage medium Active CN111982040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010828187.XA CN111982040B (en) 2020-08-18 2020-08-18 Distance measuring and calculating method and device based on rolling distance meter, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010828187.XA CN111982040B (en) 2020-08-18 2020-08-18 Distance measuring and calculating method and device based on rolling distance meter, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111982040A CN111982040A (en) 2020-11-24
CN111982040B true CN111982040B (en) 2022-02-15

Family

ID=73434558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010828187.XA Active CN111982040B (en) 2020-08-18 2020-08-18 Distance measuring and calculating method and device based on rolling distance meter, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111982040B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568812B (en) * 2021-07-29 2024-06-07 北京奇艺世纪科技有限公司 State detection method and device for intelligent robot

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014228421A (en) * 2013-05-23 2014-12-08 多摩川精機株式会社 Correction method of measured trajectory of road surface measurement device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4295953B2 (en) * 2002-04-26 2009-07-15 パイオニア株式会社 Distance coefficient learning device, method, program, recording medium for recording the program, movement status calculation device, and current position calculation device
CN106441013A (en) * 2016-11-17 2017-02-22 桂林市晶瑞传感技术有限公司 Roller distance measuring device with roller calibrating function
CN106802157A (en) * 2016-12-28 2017-06-06 北京小鸟看看科技有限公司 Calibration method, device and electronic equipment for the range sensor of electronic equipment
CN207832165U (en) * 2017-09-29 2018-09-07 金华市永安电器电子制造有限公司 A kind of Multifunctional range finder
CN109932726B (en) * 2019-04-18 2020-08-18 北京石头世纪科技股份有限公司 Robot ranging calibration method and device, robot and medium
CN210069463U (en) * 2019-05-21 2020-02-14 中建泰和建设(深圳)有限公司 Pipeline drainage device for municipal administration
CN209783472U (en) * 2019-05-24 2019-12-13 深圳市度彼电子有限公司 Wheel type distance measuring and mu measuring instrument
CN110569410A (en) * 2019-08-30 2019-12-13 广西师范大学 Distance measurement data processing method and device and computer readable storage medium
CN110906830B (en) * 2019-12-17 2022-02-11 美国西北仪器公司 Intelligent distance measuring wheel system and distance measuring method thereof
CN111473755B (en) * 2020-04-21 2022-05-17 福建汇川物联网技术科技股份有限公司 Remote distance measurement method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014228421A (en) * 2013-05-23 2014-12-08 多摩川精機株式会社 Correction method of measured trajectory of road surface measurement device

Also Published As

Publication number Publication date
CN111982040A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN102901473B (en) Measure coordinates correction system and method
CN107967701B (en) Calibration method, device and equipment of depth camera equipment
CN114923453B (en) Calibration method and device for external parameters of linear profiler and electronic equipment
JP2016090547A (en) Crack information collection device and server apparatus to collect crack information
CN111982040B (en) Distance measuring and calculating method and device based on rolling distance meter, computer equipment and storage medium
CN109506617B (en) Sensor data processing method, storage medium, and electronic device
CN109827607B (en) Calibration method and device for line structured light welding seam tracking sensor
CN113074634B (en) Rapid phase matching method, storage medium and three-dimensional measurement system
CN113034603B (en) Method and device for determining calibration parameters
CN112504156A (en) Structural surface strain measurement system and measurement method based on foreground grid
CN109470269B (en) Calibration method, calibration equipment and calibration system for space target measuring mechanism
CN111259492A (en) Point cloud data processing method and device applied to bridge structure pre-assembly and storage medium
CN115683046A (en) Distance measuring method, distance measuring device, sensor and computer readable storage medium
CN113884188B (en) Temperature detection method and device and electronic equipment
CN115616642A (en) Correction processing method, device, equipment and storage medium for position data
CN115218943A (en) Sensor external parameter calibration method, device, vehicle, equipment and medium
CN113447042A (en) Method, device, terminal and storage medium for detecting data mileage registration
CN115511718A (en) PCB image correction method and device, terminal equipment and storage medium
CN114063024A (en) Calibration method and device of sensor, electronic equipment and storage medium
CN111028287B (en) Method and device for determining a transformation matrix of radar coordinates and camera coordinates
CN113554711A (en) Camera online calibration method and device, computer equipment and storage medium
CN113515513B (en) Track correction method and device, and point cloud map generation method and device
CN114593693B (en) Optical deflection detection method, electronic device and optical deflection detection system
CN117853382B (en) Sparse marker-based image correction method, device and storage medium
US20230419468A1 (en) Image processing apparatus, image processing method, and image processing program

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