A control method, system and storage medium of a dual-mode laser rangefinder

By introducing azimuth detection equipment and key state switching methods into the laser rangefinder, the dual-mode operation of the laser rangefinder is realized, solving the problem that only a single working mode can be provided in the prior art, and improving the convenience of workers.

CN119716880BActive Publication Date: 2025-04-22HANGZHOU LONGSHUO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510180537.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-04-22
Estimated Expiration
2045-02-19

AI Technical Summary

Technical Problem

Existing laser rangefinders can only provide a single working mode and cannot meet the needs of workers for vertical and horizontal working modes in multiple scenarios.

Method used

A dual-mode laser rangefinder is designed, using azimuth detection device (such as an acceleration sensor) to determine the orientation information of the equipment, and generate corresponding signals based on the orientation information, switch the working state of the horizontal and vertical buttons, and realize the switching of vertical and horizontal working modes.

Benefits of technology

Workers can use a single dual-mode laser rangefinder to complete tasks that require longitudinal and lateral working modes, improving the convenience and efficiency of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119716880B_ABST
    Figure CN119716880B_ABST
Patent Text Reader

Abstract

The present invention provides a control method, system and storage medium for a dual-mode laser rangefinder, wherein the dual-mode laser rangefinder includes an azimuth detection device. The method includes: obtaining detection information obtained by the azimuth detection device, determining the azimuth information of the dual-mode laser rangefinder based on the detection information, wherein the azimuth information includes a longitudinal azimuth and a transverse azimuth; if in a transverse azimuth, generating a transverse signal to put a transverse screen button in an operable state; judging whether a transverse screen detection signal is obtained, if so, receiving a transverse screen detection result, and using a pre-stored transverse screen algorithm to process the transverse screen detection result to obtain an actual distance value of the target; if in a longitudinal azimuth, generating a longitudinal signal to put a vertical screen button in an operable state; judging whether a vertical screen detection signal is obtained, if so, receiving a vertical screen detection result, and using a pre-stored vertical screen algorithm to process the vertical screen detection result to obtain an actual distance value of the target. The present application can improve the convenience of workers in using a laser rangefinder.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of laser rangefinders, and in particular to a control method, system and storage medium for a dual-mode laser rangefinder. Background Art

[0002] Laser distance meter emits laser beam to illuminate the measured object, then receives the reflected laser beam, calculates the laser round trip time and phase difference, and thus obtains the measured distance. Laser distance meter is widely loved by people because of its high precision and high speed, which can greatly facilitate the work efficiency of users.

[0003] At present, laser rangefinders can only emit lasers horizontally or vertically, so laser rangefinders can only provide one working mode, namely horizontal working mode or vertical working mode. However, the working scenes of users are diverse, which not only involves horizontal working mode but also vertical working mode. In this way, the existing single working mode of laser rangefinders cannot meet the needs of workers. Workers need to have a laser rangefinder that executes the vertical working mode and a laser rangefinder that executes the horizontal working mode at the same time, which is inconvenient for workers to use. Therefore, the working mode of the existing laser rangefinder is not convenient for workers to use. Summary of the invention

[0004] In order to improve the convenience for workers to use a laser rangefinder, the embodiments of the present application provide a control method, system and storage medium for a dual-mode laser rangefinder.

[0005] In a first aspect, this embodiment provides a control method for a dual-mode laser rangefinder, the dual-mode laser rangefinder comprising an azimuth detection device, a horizontal screen button, and a vertical screen button, the method comprising:

[0006] Acquire detection information obtained by the azimuth detection device, and determine the azimuth information of the dual-mode laser rangefinder based on the detection information, wherein the azimuth information includes a longitudinal azimuth and a lateral azimuth;

[0007] If in landscape orientation, generating landscape signals to put landscape buttons in an operational state and portrait buttons in an inoperative state;

[0008] Determine whether a horizontal screen detection signal sent by the horizontal screen button is obtained, and if so, receive a horizontal screen detection result, and use a pre-stored horizontal screen algorithm to process the horizontal screen detection result to obtain an actual distance value of the target;

[0009] If in portrait orientation, generating a portrait signal to render the portrait screen buttons operable and the landscape screen buttons inoperative;

[0010] Determine whether a vertical screen detection signal sent by the vertical screen button is obtained. If so, receive the vertical screen detection result, and use a pre-stored vertical screen algorithm to process the vertical screen detection result to obtain an actual distance value of the target.

[0011] In some embodiments, the position detection device is an acceleration sensor, the detection information includes a plurality of ordered historical acceleration values, the historical acceleration values ​​are vector values, and determining the position information of the dual-mode laser rangefinder based on the detection information includes:

[0012] According to the distance from the historical acceleration values ​​to the current time from far to near, the historical acceleration values ​​are plotted in two-dimensional coordinates to obtain an acceleration change curve;

[0013] Acquire the positive direction set by the acceleration sensor and the end point orientation corresponding to the positive direction, wherein the end point orientation is a longitudinal orientation or a transverse orientation;

[0014] If the acceleration change curve shows a downward trend, then the azimuth information of the dual-mode laser rangefinder is the end point azimuth;

[0015] If the acceleration change curve shows an upward trend, then the position information of the dual-mode laser rangefinder is not the end position.

[0016] In some embodiments, receiving the horizontal screen detection result includes:

[0017] A horizontal screen signal is generated based on the horizontal screen detection signal to adjust the screen of the dual-mode laser rangefinder to a horizontal screen mode, and a horizontal screen laser beam is emitted to receive a horizontal screen detection result.

[0018] In some embodiments, the horizontal screen detection result includes a horizontal screen detection image and a horizontal screen detection laser beam, the horizontal screen detection image includes a target image, the horizontal screen detection laser beam includes a plurality of lasers, and each laser corresponds to a horizontal screen position value, and the using a pre-stored horizontal screen algorithm to process the horizontal screen detection result includes:

[0019] Acquire a horizontal screen reference image whose distance value from the dual-mode laser rangefinder in the horizontal screen detection image is smaller than the distance value between the target image and the dual-mode laser rangefinder, and determine a horizontal screen reference position of the horizontal screen reference image in the horizontal screen detection image;

[0020] Selecting a horizontal screen reference laser beam that does not correspond to the horizontal screen reference position from the horizontal screen detection laser beam based on the horizontal screen position value to obtain a horizontal screen target laser beam;

[0021] The distance value of the horizontal screen target laser is calculated to obtain the actual distance value of the target.

[0022] In some embodiments, receiving the vertical screen detection result includes:

[0023] A vertical screen signal is generated based on the vertical screen detection signal to adjust the screen of the dual-mode laser rangefinder to a vertical screen mode, and a vertical screen laser beam is emitted to receive a vertical screen detection result.

[0024] In some embodiments, the vertical screen detection result includes a vertical screen detection image and a vertical screen detection laser beam, the vertical screen detection image includes a target image, the vertical screen detection laser beam includes a plurality of lasers, and each laser corresponds to a vertical screen position value, and the processing of the vertical screen detection result using a pre-stored vertical screen algorithm includes:

[0025] Acquire a vertical screen reference image in which the distance value between the vertical screen detection image and the dual-mode laser rangefinder is greater than the distance value between the target image and the dual-mode laser rangefinder, and determine a vertical screen reference position of the vertical screen reference image in the vertical screen detection image;

[0026] Selecting a vertical screen reference laser beam that does not correspond to the vertical screen reference position from the vertical screen detection laser beam based on the vertical screen position value to obtain a vertical screen target laser beam;

[0027] The distance value of the vertical screen target laser is calculated to obtain the actual distance value of the target.

[0028] In some embodiments, the horizontal screen button includes a horizontal screen start button, the vertical screen button includes a vertical screen start button, and the horizontal screen start button and the vertical screen start button are respectively connected to one end of the two output ends of the same single-pole double-throw switch.

[0029] In some embodiments, the method further comprises:

[0030] If the horizontal screen detection signal sent by the horizontal screen button is not obtained, the button corresponding to the current orientation information continues to be in an operable state.

[0031] In a second aspect, this embodiment provides a control system for a dual-mode laser rangefinder, the dual-mode laser rangefinder includes an azimuth detection device, a horizontal screen button and a vertical screen button, the system includes: a state module, a control module and a processing module; wherein,

[0032] The state module is used to obtain the detection information obtained by the azimuth detection device, and determine the azimuth information of the dual-mode laser rangefinder based on the detection information, wherein the azimuth information includes a longitudinal azimuth and a lateral azimuth;

[0033] The control module is used to generate a horizontal signal to make the horizontal screen button workable and the vertical screen button non-workable if the screen is in the horizontal orientation; and to generate a vertical signal to make the vertical screen button workable and the horizontal screen button non-workable if the screen is in the vertical orientation;

[0034] The processing module is used to determine whether a horizontal screen detection signal emitted by a horizontal screen button is obtained. If so, receive the horizontal screen detection result, and use a pre-stored horizontal screen algorithm to process the horizontal screen detection result to obtain an actual distance value of the target; determine whether a vertical screen detection signal emitted by a vertical screen button is obtained. If so, receive the vertical screen detection result, and use a pre-stored vertical screen algorithm to process the vertical screen detection result to obtain an actual distance value of the target.

[0035] In a third aspect, this embodiment provides a computer-readable storage medium storing a computer program that can be run on a processor, and when the computer program is executed by the processor, the control method of a dual-mode laser rangefinder as described in the first aspect is implemented.

[0036] By adopting the above method, the dual-mode laser rangefinder of the present application includes an orientation detection device, a horizontal screen button and a vertical screen button. The method includes obtaining detection information obtained by the orientation detection device, and determining the orientation information of the dual-mode laser rangefinder based on the detection information, wherein the orientation information includes a longitudinal orientation and a lateral orientation.

[0037] Then, if it is in a horizontal orientation, a horizontal signal is generated to make the horizontal screen button in an operational state and the vertical screen button in an inoperative state; determine whether the horizontal screen detection signal emitted by the horizontal screen button is obtained, and if so, receive the horizontal screen detection result, and use the pre-stored horizontal screen algorithm to process the horizontal screen detection result to obtain the actual distance value of the target.

[0038] If it is in the vertical orientation, a vertical signal is generated to make the vertical screen button in an operational state and the horizontal screen button in an inoperative state; determine whether the vertical screen detection signal sent by the vertical screen button is obtained, and if so, receive the vertical screen detection result, and use the pre-stored vertical screen algorithm to process the vertical screen detection result to obtain the actual distance value of the target. In this way, workers can carry only this dual-mode laser rangefinder to complete work that requires the use of the horizontal working mode and work that requires the use of the vertical working mode, which improves the convenience of workers in using the laser rangefinder. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 The dual-mode laser rangefinder provided in the embodiment of the present application is a simplified schematic diagram of its appearance.

[0040] Figure 2 This is a block diagram of a control method for a dual-mode laser rangefinder provided in an embodiment of the present application.

[0041] Figure 3 It is a block diagram of determining the position information of a dual-mode laser rangefinder based on detection information provided in an embodiment of the present application.

[0042] Figure 4 This is a block diagram of processing horizontal screen detection results using a pre-stored horizontal screen algorithm provided in an embodiment of the present application.

[0043] Figure 5 This is a block diagram of using a pre-stored vertical screen algorithm to process vertical screen detection results provided in an embodiment of the present application.

[0044] Figure 6 This is a control system framework diagram of a dual-mode laser rangefinder provided in an embodiment of the present application.

[0045] Reference numerals:

[0046] 1. Horizontal screen button; 2. Vertical screen button; 3. Horizontal screen top surface; 4. Vertical screen top surface. DETAILED DESCRIPTION

[0047] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. However, it should be understood by those of ordinary skill in the art that the present application can be implemented without these details. For those of ordinary skill in the art, it is obvious that various changes can be made to the embodiments disclosed in the present application, and without departing from the principles and scope of the present application, the general principles defined in the present application can be applied to other embodiments and application scenarios. Therefore, the present application is not limited to the embodiments shown, but conforms to the broadest scope consistent with the scope claimed for protection in the present application.

[0048] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0049] Figure 1 FIG. 1 is a schematic diagram of a dual-mode laser rangefinder provided in an embodiment of the present application. Figure 1 As shown, the dual-mode laser rangefinder includes a horizontal screen button 1 and a vertical screen button 2. The horizontal screen button 1 is set on the horizontal screen upper surface 3, and the vertical screen button 2 is set on the vertical screen upper surface 4. The dual-mode laser rangefinder can realize both the horizontal working mode and the vertical working mode. However, the dual-mode laser rangefinder can only realize one of the working modes at the same time, and cannot realize both the horizontal working mode and the vertical working mode at the same time. When the dual-mode laser rangefinder realizes the horizontal working mode, the horizontal screen upper surface 3 is located at the top, that is, Figure 1When the dual-mode laser rangefinder realizes the longitudinal working mode, the upper surface 4 of the vertical screen is located at the top. In addition, the dual-mode laser rangefinder also includes an azimuth detection device. The worker can carry only this dual-mode laser rangefinder to complete the work that requires the use of the horizontal working mode and the work that requires the use of the longitudinal working mode, thereby improving the convenience of the worker in using the laser rangefinder.

[0050] Figure 2 1 is a block diagram of a control method for a dual-mode laser rangefinder provided in an embodiment of the present application. Figure 2 As shown, a control method of a dual-mode laser rangefinder comprises the following steps:

[0051] Step S100, acquiring detection information obtained by an azimuth detection device, and determining the azimuth information of the dual-mode laser rangefinder based on the detection information, wherein the azimuth information includes a vertical azimuth and a lateral azimuth.

[0052] This embodiment describes a control method of a dual-mode laser rangefinder from the perspective of a control terminal set inside the dual-mode laser rangefinder. The control terminal is connected to an azimuth detection device. After the dual-mode laser rangefinder is turned on by a worker, the azimuth detection device is in a working state and can obtain detection information in real time. The obtained detection information is sent to the control terminal through the connection with the control terminal, so that the control terminal obtains the detection information obtained by the azimuth detection device.

[0053] The orientation detection device may be a device capable of detecting acceleration values, such as an acceleration sensor, an accelerometer, etc. This embodiment is described by taking the orientation detection device as an acceleration sensor as an example. The detection information includes a number of ordered historical acceleration values, and the historical acceleration values ​​are vector values. The orientation information includes the longitudinal orientation and the lateral orientation. Figure 3 1 is a block diagram of determining the position information of a dual-mode laser rangefinder based on detection information provided by an embodiment of the present application. Figure 3 As shown, determining the position information of the dual-mode laser rangefinder based on the detection information includes the following steps:

[0054] Step S101, according to the distance from the historical acceleration value to the current time from the original to the nearest, the historical acceleration value is plotted in two-dimensional coordinates to obtain an acceleration change curve.

[0055] Step S102, obtaining a positive direction set by the acceleration sensor and an end point orientation corresponding to the positive direction, wherein the end point orientation is a longitudinal orientation or a transverse orientation.

[0056] Step S103: if the acceleration change curve shows a downward trend, then the azimuth information of the dual-mode laser rangefinder is the end point azimuth.

[0057] Step S104: if the acceleration change curve shows an upward trend, then the azimuth information of the dual-mode laser rangefinder is not the end point azimuth.

[0058] Each time the azimuth detection device obtains an acceleration value, it will send this acceleration value to the control end, so that the control end can obtain several ordered historical acceleration values, each of which has a corresponding time. These historical acceleration values ​​are marked in the quantity-acceleration two-dimensional coordinates according to the distance from the current time from far to near to obtain a cluster of points, and then these points are smoothly connected from left to right to obtain an acceleration change curve. Among them, the historical acceleration values ​​contained in the detection information are all the acceleration values ​​of the dual-mode laser rangefinder from the current startup to the acceleration value no longer changing. The fact that the acceleration value no longer changes means that the dual-mode laser rangefinder has reached the azimuth where ranging is required. For example, if the detection information includes ten ordered historical acceleration values, then the horizontal coordinate of the earliest historical acceleration value is determined as quantity 1, and the value of this historical acceleration value is used as the vertical coordinate, so that this historical acceleration value is marked in the quantity-acceleration two-dimensional coordinate; the horizontal coordinate of the second earliest historical acceleration value is determined as quantity 2, and the second earliest historical acceleration value is used as the vertical coordinate, so that the second earliest historical acceleration value is marked in the quantity-acceleration two-dimensional coordinate; and so on, the ten ordered historical acceleration values ​​are depicted in the two-dimensional coordinate, and the ten coordinate points are smoothly connected in sequence to obtain an acceleration change curve.

[0059] The acceleration sensor in the dual-mode laser rangefinder has a set positive direction, which is one of the clockwise direction and the counterclockwise direction. The control terminal stores the positive direction set by the acceleration sensor, and the positive direction set by the acceleration sensor can be obtained by viewing the stored information.

[0060] If the positive direction is clockwise, it means that the dual-mode laser rangefinder moves from the horizontal orientation to the vertical orientation, and the terminal orientation corresponding to the positive direction is the vertical orientation. If the positive direction is counterclockwise, it means that the dual-mode laser rangefinder moves from the vertical orientation to the horizontal orientation, and the terminal orientation corresponding to the positive direction is the horizontal orientation. Among them, the terminal orientation corresponding to the positive direction is stored in the control end. After determining the positive direction set by the acceleration sensor, the terminal orientation corresponding to the positive direction is obtained, and the terminal orientation corresponding to the positive direction can also be obtained by checking the stored information. After all, when the dual-mode laser rangefinder is working, the button corresponding to the working mode at this time needs to be at the top. After the appearance and positive direction of the dual-mode laser rangefinder are determined, the terminal orientation corresponding to the positive direction is also determined.

[0061] From the time the dual-mode laser rangefinder is turned on to the time it is ready for distance measurement, the speed value is a process of gradually increasing from zero and then decelerating to zero. If the dual-mode laser rangefinder moves in the positive direction along the axis of the emitting laser lens from the time it is turned on to the time it is ready for distance measurement, then the speed is always positive, and the acceleration changes from positive to negative, that is, the acceleration change curve shows a downward trend, and the azimuth information of the dual-mode laser rangefinder is the end point azimuth. If the dual-mode laser rangefinder moves in the opposite direction of the positive direction along the axis of the emitting laser lens from the time it is turned on to the time it is ready for distance measurement, then the speed is always negative, and the acceleration changes from negative to positive, that is, the acceleration change curve shows an upward trend, and the azimuth information of the dual-mode laser rangefinder is not the end point azimuth, but the azimuth opposite to the end point azimuth. For example, in case 1, the positive direction set by the acceleration sensor is clockwise, and the terminal orientation corresponding to the positive direction is the longitudinal orientation. If the acceleration change curve is a cosine curve from zero to half a cycle, then the dual-mode laser rangefinder moves in the longitudinal orientation, that is, the orientation information of the dual-mode laser rangefinder is the terminal orientation, that is, the longitudinal orientation. In case 2, the positive direction set by the acceleration sensor is clockwise, and the terminal orientation corresponding to the positive direction is the longitudinal orientation. If the acceleration change curve is a cosine curve from zero to half a cycle that is symmetrical about the X-axis, then the dual-mode laser rangefinder moves in the transverse orientation, that is, the orientation information of the dual-mode laser rangefinder is the terminal orientation, that is, the transverse orientation. In this way, the orientation information of the dual-mode laser rangefinder can be determined by using only a small-volume, low-cost orientation detection device, so that the control end can adjust the required working mode of the dual-mode laser rangefinder in a timely manner based on the orientation information, that is, switch the working state of the dual-mode laser rangefinder.

[0062] Step S200: If the device is in the horizontal orientation, a horizontal signal is generated to put the horizontal screen button in an operable state and the vertical screen button in an inoperative state.

[0063] The horizontal screen button includes a horizontal screen start button, and the vertical screen button includes a vertical screen start button. The horizontal screen start button and the vertical screen start button are respectively connected to one end of each of the two output ends of the same single-pole double-throw switch. The horizontal screen start button is characterized as a switch button of the horizontal screen button, that is, after the horizontal screen start button is turned on, the horizontal screen button is in a workable state; if the horizontal screen start button is not turned on, the horizontal screen button is in a non-workable state, and the dual-mode laser rangefinder does not respond when the horizontal screen start button is pressed. The vertical screen start button is characterized as a switch case of the vertical screen button, that is, after the vertical screen start button is turned on, the vertical screen button is in a workable state; if the vertical screen start button is not turned on, the vertical screen button is in a non-workable state, and the dual-mode laser rangefinder does not respond when the vertical screen start button is pressed.

[0064] After determining the position information of the dual-mode laser rangefinder, the control end generates a corresponding signal, so that the generated signal controls which end of the single-pole double-throw switch is closed, so that the start button connected to the closed end is turned on, that is, the vertical screen button is in a workable state or the horizontal screen button is in a workable state. Among them, the vertical screen button and the horizontal screen button exist at the same time, but at the same time, only one of the vertical screen button or the horizontal screen button can be effective.

[0065] If it is determined in the above step S100 that the orientation information of the dual-mode laser rangefinder is a horizontal orientation, the control end generates a horizontal signal to close the end of the single-pole double-throw switch connected to the horizontal screen start case through the horizontal signal, thereby making the horizontal screen button in an operable state and the vertical screen button in a non-operating state.

[0066] Step S300, determining whether a horizontal screen detection signal sent by the horizontal screen button is obtained, and if so, receiving a horizontal screen detection result, and using a pre-stored horizontal screen algorithm to process the horizontal screen detection result to obtain an actual distance value of the target.

[0067] After the horizontal screen button is in the working state, when the worker is ready to measure the distance to the target, he will press the horizontal screen button, so that the horizontal screen button sends a horizontal screen detection signal, and the control end receives the horizontal screen detection signal sent by the horizontal screen button through the connection with the horizontal screen button. After the dual-mode laser rangefinder sends the horizontal screen detection signal, it is necessary to receive the horizontal screen detection result.

[0068] Receiving the horizontal screen detection result includes: generating a horizontal screen signal based on the horizontal screen detection signal to adjust the screen of the dual-mode laser rangefinder to a horizontal screen mode, and emitting a laser beam to receive the horizontal screen detection result.

[0069] After receiving the horizontal screen detection signal, the control end generates a horizontal screen signal according to the horizontal screen detection signal, and controls the action of the device with a rotatable screen according to the horizontal screen signal, thereby adjusting the screen of the dual-mode laser rangefinder to the horizontal screen mode, and then emits a horizontal screen laser beam in the horizontal screen mode, and is in a receiving state, thereby receiving the returned horizontal screen detection result. Among them, the screen of the dual-mode laser rangefinder can be adjusted to either the horizontal screen mode or the vertical screen mode, but can only be in one of the horizontal screen mode or the vertical screen mode at the same time.

[0070] The horizontal screen detection result includes a horizontal screen detection image and a horizontal screen detection laser beam. The horizontal screen detection image includes a target image. The horizontal screen detection laser beam includes a plurality of lasers, and each laser corresponds to a horizontal screen position value. Figure 4 1 is a block diagram of processing a horizontal screen detection result using a pre-stored horizontal screen algorithm provided in an embodiment of the present application. Figure 4 As shown, using the pre-stored horizontal screen algorithm to process the horizontal screen detection result includes the following steps:

[0071] Step S301, obtaining a horizontal screen reference image whose distance value from the dual-mode laser rangefinder in the horizontal screen detection image is smaller than the distance value between the target image and the dual-mode laser rangefinder, and determining a horizontal screen reference position of the horizontal screen reference image in the horizontal screen detection image.

[0072] Step S302 , selecting a horizontal screen reference laser beam that does not correspond to the horizontal screen reference position from the horizontal screen detection laser beam based on the horizontal screen position value to obtain a horizontal screen target laser beam.

[0073] Step S303, calculating the distance value of the horizontal target laser to obtain the actual distance value of the target.

[0074] The horizontal screen detection image contains the target and other objects, and the horizontal screen detection image can present the distance values ​​of the target and other objects relative to the dual-mode laser rangefinder in ascending order, that is, the layer order of the target and other objects in the horizontal screen detection image. The smaller the distance value from the dual-mode laser rangefinder, the higher its layer in the horizontal screen detection image. By using layer decomposition technology and image extraction technology, a horizontal reference image in which the distance value from the dual-mode laser rangefinder in the horizontal screen detection image is smaller than the distance value between the target image and the dual-mode laser rangefinder can be obtained. Then, by establishing a two-dimensional coordinate system in the horizontal screen detection image with the lower left corner of the image as the coordinate origin and the two adjacent sides as the X-axis and the Y-axis respectively, the two-dimensional coordinates of the horizontal screen reference image can be obtained, and the two-dimensional coordinates are determined as the horizontal screen reference position of the horizontal screen reference image in the horizontal screen detection image.

[0075] The horizontal screen position value corresponding to each laser represents the position of the laser in the two-dimensional coordinate system. The horizontal screen reference laser is selected by comparing whether the horizontal screen position value corresponding to each laser falls into the horizontal screen reference position. If the horizontal screen position value corresponding to the laser falls into the horizontal screen reference position, then the laser corresponding to the horizontal screen position value belongs to the horizontal screen reference laser corresponding to the horizontal screen reference position; if the horizontal screen position value corresponding to the laser does not fall into the horizontal screen reference position, then the laser corresponding to the horizontal screen position value does not belong to the horizontal screen reference laser corresponding to the horizontal screen reference position. After all lasers are compared, the horizontal screen target laser can be obtained.

[0076] When the control end emits a laser, it will record an emission time, and when receiving the horizontal screen detection result, it will also record the corresponding receiving time. By calculating the time difference between the emission time and the receiving time, multiplying it by the laser speed value and dividing it by two, the distance value of the horizontal screen target laser is obtained. The distance value of the horizontal screen target laser is the actual distance value of the target. In this way, when workers work in the horizontal orientation of the dual-mode laser rangefinder such as hunting, the target is generally behind other objects. By using the horizontal screen algorithm to select the data of the laser at a longer distance, the accuracy of the dual-mode laser rangefinder can be improved.

[0077] After the horizontal screen button is in the working state, the worker will not press the horizontal screen button when he is not ready and will not measure the distance to the target, so the control end does not obtain the horizontal screen detection signal sent by the horizontal screen button. Then the horizontal screen button continues to be in the working state, waiting for the worker to be ready and press the horizontal screen button when he will measure the distance to the target. That is, the control end continues to keep the button corresponding to the current position information in the working state.

[0078] Step S400: If the device is in the portrait orientation, a portrait signal is generated to put the portrait screen button in an operable state and the landscape screen button in an inoperative state.

[0079] If it is determined in the above step S100 that the orientation information of the dual-mode laser rangefinder is a vertical orientation, the control end generates a vertical signal to close the end of the single-pole double-throw switch connected to the vertical screen start button through the vertical signal, thereby making the vertical screen button in an operable state and the horizontal screen button in a non-operating state.

[0080] Step S500, determining whether a vertical screen detection signal sent by the vertical screen button is obtained, and if so, receiving a vertical screen detection result, and using a pre-stored vertical screen algorithm to process the vertical screen detection result to obtain an actual distance value of the target.

[0081] After the vertical screen button is in the working state, when the worker is ready to measure the distance to the target, he will press the vertical screen button, so that the vertical screen button sends a vertical screen detection signal. The control end receives the vertical screen detection signal sent by the vertical screen button through the connection with the vertical screen button. After the dual-mode laser rangefinder sends the vertical screen detection signal, it is necessary to receive the vertical screen detection result.

[0082] Receiving the vertical screen detection result includes: generating a vertical screen signal based on the vertical screen detection signal to adjust the screen of the dual-mode laser rangefinder to a vertical screen mode, and emitting a laser beam to receive the vertical screen detection result.

[0083] After receiving the vertical screen detection signal, the control end generates a vertical screen signal according to the vertical screen detection signal, and controls the action of the device with a rotatable screen according to the vertical screen signal, thereby adjusting the screen of the dual-mode laser rangefinder to the vertical screen mode, and then emits a vertical screen laser beam in the vertical screen mode, and is in a receiving state, thereby receiving the returned vertical screen detection result. Among them, the screen of the dual-mode laser rangefinder can be adjusted to either the horizontal screen mode or the vertical screen mode, but can only be in one of the horizontal screen mode or the vertical screen mode at the same time.

[0084] The vertical screen detection result includes a vertical screen detection image and a vertical screen detection laser beam. The vertical screen detection image includes a target image. The vertical screen detection laser beam includes a plurality of lasers, and each laser corresponds to a vertical screen position value. Figure 5 1 is a block diagram of processing a vertical screen detection result using a pre-stored vertical screen algorithm provided in an embodiment of the present application. Figure 5 As shown, using the pre-stored vertical screen algorithm to process the vertical screen detection result includes the following steps:

[0085] Step S501, obtaining a vertical screen reference image whose distance value from the dual-mode laser rangefinder in the vertical screen detection image is smaller than the distance value between the target image and the dual-mode laser rangefinder, and determining a vertical screen reference position of the vertical screen reference image in the vertical screen detection image.

[0086] Step S502 : selecting a vertical screen reference laser beam that does not correspond to the vertical screen reference position from the vertical screen detection laser beam based on the vertical screen position value to obtain a vertical screen target laser beam.

[0087] Step S503, calculating the distance value of the vertical screen target laser to obtain the actual distance value of the target.

[0088] The vertical screen detection image contains the target and other objects, and the vertical screen detection image can present the distance values ​​of the target and other objects relative to the dual-mode laser rangefinder in ascending order, that is, the layer order of the target and other objects in the vertical screen detection image. The smaller the distance value from the dual-mode laser rangefinder, the higher its layer in the vertical screen detection image. By using layer decomposition technology and image extraction technology, a vertical reference image in which the distance value from the dual-mode laser rangefinder in the vertical screen detection image is smaller than the distance value between the target image and the dual-mode laser rangefinder can be obtained. Then, by establishing a two-dimensional coordinate system in the vertical screen detection image with the lower left corner of the image as the coordinate origin and the two adjacent sides as the X-axis and the Y-axis respectively, the two-dimensional coordinates of the vertical screen reference image can be obtained, and the two-dimensional coordinates are determined as the vertical screen reference position of the vertical screen reference image in the vertical screen detection image.

[0089] The vertical screen position value corresponding to each laser represents the position of the laser in the two-dimensional coordinate system. The vertical screen reference laser is selected by comparing whether the vertical screen position value corresponding to each laser falls within the vertical screen reference position. If the vertical screen position value corresponding to the laser falls within the vertical screen reference position, then the laser corresponding to the vertical screen position value belongs to the vertical screen reference laser corresponding to the vertical screen reference position; if the vertical screen position value corresponding to the laser does not fall within the vertical screen reference position, then the laser corresponding to the vertical screen position value does not belong to the vertical screen reference laser corresponding to the vertical screen reference position. After all lasers are compared, the vertical screen target laser can be obtained.

[0090] When the control end emits a laser, it will record an emission time, and when receiving the vertical screen detection result, it will also record the corresponding reception time. By calculating the time difference between the emission time and the reception time, multiplying it by the laser speed value and dividing it by two, the distance value of the vertical screen target laser is obtained. The distance value of the vertical screen target laser is the actual distance value of the target. In this way, when workers work in the vertical orientation of a dual-mode laser rangefinder such as golf, the target is generally in front of other objects. By using the vertical screen algorithm to select the data of the laser at a closer distance, the accuracy of the dual-mode laser rangefinder can be improved.

[0091] After the vertical screen button is in the working state, the worker will not press the vertical screen button when he is not ready and will not measure the distance to the target, so the control end does not obtain the vertical screen detection signal sent by the vertical screen button. Then the vertical screen button continues to be in the working state, waiting for the worker to be ready and press the vertical screen button when he will measure the distance to the target. That is, the control end continues to keep the button corresponding to the current orientation information in the working state.

[0092] The dual-mode laser rangefinder includes an azimuth detection device, a horizontal screen button and a vertical screen button. Figure 6 : is a control system framework diagram of a dual-mode laser rangefinder provided in an embodiment of the present application. Figure 6 As shown, a control system of a dual-mode laser rangefinder includes: a state module, a control module and a processing module.

[0093] Among them, the state module is used to obtain the detection information obtained by the orientation detection device, and determine the orientation information of the dual-mode laser rangefinder based on the detection information, wherein the orientation information includes the longitudinal orientation and the transverse orientation. The control module is used to generate a transverse signal to make the horizontal screen button in an operable state and the vertical screen button in a non-operating state if it is in the transverse orientation; if it is in the longitudinal orientation, generate a longitudinal signal to make the vertical screen button in an operable state and the horizontal screen button in a non-operating state. The processing module is used to determine whether the horizontal screen detection signal emitted by the horizontal screen button is obtained, and if so, receive the horizontal screen detection result, and use the pre-stored horizontal screen algorithm to process the horizontal screen detection result to obtain the actual distance value of the target; determine whether the vertical screen detection signal emitted by the vertical screen button is obtained, and if so, receive the vertical screen detection result, and use the pre-stored vertical screen algorithm to process the vertical screen detection result to obtain the actual distance value of the target.

[0094] The other functions performed by the above-mentioned state module, control module and processing module and the technical details of each function are the same or similar to the corresponding features in the control method of a dual-mode laser rangefinder described above, so they are not repeated here.

[0095] An embodiment of the present application also provides a computer storage medium, on which a computer program is stored. When the computer program is run on a computer, the computer can execute the steps in the control method of a dual-mode laser rangefinder described above.

[0096] It should be understood that, although the steps in the flowchart of the accompanying drawings are shown in sequence according to the instructions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited in order and can be performed in other orders.

[0097] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A control method for a dual-mode laser rangefinder, characterized in that: The dual-mode laser rangefinder includes an azimuth detection device, a horizontal screen button and a vertical screen button, and the method includes: Acquire detection information obtained by the azimuth detection device, and determine the azimuth information of the dual-mode laser rangefinder based on the detection information, wherein the azimuth information includes a longitudinal azimuth and a lateral azimuth; If in landscape orientation, generating landscape signals to put landscape buttons in an operational state and portrait buttons in an inoperative state; Determine whether a horizontal screen detection signal sent by the horizontal screen button is obtained, and if so, receive a horizontal screen detection result, and use a pre-stored horizontal screen algorithm to process the horizontal screen detection result to obtain an actual distance value of the target; If in portrait orientation, generating a portrait signal to render the portrait screen buttons operable and the landscape screen buttons inoperative; Determine whether a vertical screen detection signal sent by the vertical screen button is obtained. If so, receive the vertical screen detection result, and use a pre-stored vertical screen algorithm to process the vertical screen detection result to obtain an actual distance value of the target.

2. The method according to claim 1, characterized in that The azimuth detection device is an acceleration sensor, the detection information includes a plurality of ordered historical acceleration values, the historical acceleration values ​​are vector values, and the azimuth information of the dual-mode laser rangefinder is determined based on the detection information, including: According to the distances of the historical acceleration values ​​from the current time from far to near, the historical acceleration values ​​are plotted in two-dimensional coordinates to obtain an acceleration change curve; Acquire the positive direction set by the acceleration sensor and the end point orientation corresponding to the positive direction, wherein the end point orientation is a longitudinal orientation or a transverse orientation; If the acceleration change curve shows a downward trend, then the azimuth information of the dual-mode laser rangefinder is the end point azimuth; If the acceleration change curve shows an upward trend, then the position information of the dual-mode laser rangefinder is not the end position.

3. The method according to claim 1, characterized in that The receiving of the horizontal screen detection result includes: A horizontal screen signal is generated based on the horizontal screen detection signal to adjust the screen of the dual-mode laser rangefinder to a horizontal screen mode, and a horizontal screen laser beam is emitted to receive a horizontal screen detection result.

4. The method according to claim 3, characterized in that The horizontal screen detection result includes a horizontal screen detection image and a horizontal screen detection laser beam, the horizontal screen detection image includes a target image, the horizontal screen detection laser beam includes a plurality of lasers, and each laser corresponds to a horizontal screen position value, and the use of a pre-stored horizontal screen algorithm to process the horizontal screen detection result includes: Acquire a horizontal screen reference image whose distance value from the dual-mode laser rangefinder in the horizontal screen detection image is smaller than the distance value between the target image and the dual-mode laser rangefinder, and determine a horizontal screen reference position of the horizontal screen reference image in the horizontal screen detection image; Selecting a horizontal screen reference laser beam that does not correspond to the horizontal screen reference position from the horizontal screen detection laser beam based on the horizontal screen position value to obtain a horizontal screen target laser beam; The distance value of the horizontal screen target laser is calculated to obtain the actual distance value of the target.

5. The method according to claim 1, characterized in that The receiving of the vertical screen detection result includes: A vertical screen signal is generated based on the vertical screen detection signal to adjust the screen of the dual-mode laser rangefinder to a vertical screen mode, and a vertical screen laser beam is emitted to receive a vertical screen detection result.

6. The method according to claim 5, characterized in that The vertical screen detection result includes a vertical screen detection image and a vertical screen detection laser beam, the vertical screen detection image includes a target image, the vertical screen detection laser beam includes a plurality of lasers, and each laser corresponds to a vertical screen position value, and the processing of the vertical screen detection result using a pre-stored vertical screen algorithm includes: Acquire a vertical screen reference image in which the distance value between the vertical screen detection image and the dual-mode laser rangefinder is greater than the distance value between the target image and the dual-mode laser rangefinder, and determine a vertical screen reference position of the vertical screen reference image in the vertical screen detection image; Selecting a vertical screen reference laser beam that does not correspond to the vertical screen reference position from the vertical screen detection laser beam based on the vertical screen position value to obtain a vertical screen target laser beam; The distance value of the vertical screen target laser is calculated to obtain the actual distance value of the target.

7. The method according to claim 1, characterized in that The horizontal screen button includes a horizontal screen start button, and the vertical screen button includes a vertical screen start button. The horizontal screen start button and the vertical screen start button are respectively connected to one end of each of the two output ends of the same single-pole double-throw switch.

8. The method according to claim 1, characterized in that The method further comprises: If the horizontal screen detection signal sent by the horizontal screen button is not obtained, the button corresponding to the current orientation information continues to be in an operable state.

9. A control system for a dual-mode laser rangefinder, characterized in that: The dual-mode laser rangefinder includes an azimuth detection device, a horizontal screen button and a vertical screen button. The system includes: a state module, a control module and a processing module; wherein, The state module is used to obtain the detection information obtained by the azimuth detection device, and determine the azimuth information of the dual-mode laser rangefinder based on the detection information, wherein the azimuth information includes a longitudinal azimuth and a lateral azimuth; The control module is used to generate a horizontal signal to make the horizontal screen button workable and the vertical screen button non-workable if the device is in the horizontal orientation; and to generate a vertical signal to make the vertical screen button workable and the horizontal screen button non-workable if the device is in the vertical orientation; The processing module is used to determine whether a horizontal screen detection signal emitted by a horizontal screen button is obtained. If so, receive the horizontal screen detection result, and use a pre-stored horizontal screen algorithm to process the horizontal screen detection result to obtain an actual distance value of the target; determine whether a vertical screen detection signal emitted by a vertical screen button is obtained. If so, receive the vertical screen detection result, and use a pre-stored vertical screen algorithm to process the vertical screen detection result to obtain an actual distance value of the target.

10. A computer-readable storage medium having a computer program that can be run on a processor stored thereon, characterized in that: When the computer program is executed by the processor, the control method of the dual-mode laser rangefinder according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Real-time spatial positioning system and method and virtual reality device comprising system

    CN105652279A

  • Distance determination method and distance determination system

    CN107218920A