Height measurement control method, device, equipment and storage medium for height measurement equipment
By obtaining and comparing the position change relationship between the height measurement equipment and the height measurement point in real time, a control signal is generated to ensure that the height measurement equipment is successfully triggered, which solves the problems of insufficient efficiency and accuracy in traditional height measurement methods and achieves efficient and accurate measurement. Height measurement.
Patent Information
- Application Number
- CN202210514392.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-05-12
AI Technical Summary
The traditional height measurement method cannot achieve high-precision and high-efficiency height measurement, especially when the height of the component changes, and the flight detection method may cause subsequent height measurement points to not be triggered, causing a loss of efficiency.
By obtaining the current position of the height measurement equipment, the position of the height measurement point and the trigger area in real time, the position encoder, piecewise linear comparator and dynamic comparator are used to determine the position change relationship, and a pulse signal with a preset pulse width is generated to control the height measurement. The device performs height measurement operations to ensure that the height measurement point is successfully triggered and records the number of triggers.
It achieves efficient and accurate height measurement, avoids the inefficiency problems in traditional methods, and improves the operating efficiency of height measurement equipment.
Smart Images

Figure CN114897983B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a height measurement control method, device, equipment and storage medium of a height measurement device. Background Art
[0002] In the industrial production process, height measurement (or height measurement) has become an indispensable link. For example, during the production, assembly or quality inspection of products, it is necessary to measure the height of the produced (or used for assembly) parts to ensure the consistency of the final product. Take the production of 3C products as an example. For example, in the screen mounting process of laptop computers, the glue dispenser needs to pull out uniform and consistent glue strips on the frame, so that the fit can be tight and consistent during mounting. At this time, it is necessary to measure the height of the frame first, and then adjust the glue dispensing height and / or position of the glue dispenser in real time based on the measurement results during the glue dispensing process. The traditional fixed point height measurement method can only roughly detect the height of the component, but cannot accurately depict the height change of the component, and the efficiency is low. If the method of flight detection is used, the subsequent height measurement points will not be triggered if a predetermined height measurement point is not triggered, resulting in a loss of efficiency. Summary of the invention
[0003] The technical problem to be solved by the embodiments of the present application is how to achieve efficient and accurate height measurement.
[0004] In order to solve the above problems, the present application discloses a method for controlling the height measurement of a height measurement device. The method comprises: obtaining the current position of the height measurement device in real time, and obtaining the height measurement position and trigger area of at least one height measurement point, wherein the height measurement position is located within the trigger area; based on the current position, and the height measurement position and trigger area of the at least one height measurement point, controlling the height measurement device to perform a height measurement operation in at least one height measurement round corresponding to the at least one height measurement point, wherein one height measurement round comprises: determining whether the current position enters the trigger area of the height measurement point; if so, determining the position change relationship between the current position and the height measurement position over time; determining whether the position change relationship satisfies a preset condition; if yes, determining that the height measurement point is successfully triggered, and generating a height measurement control signal to send to the height measurement device, so that the height measurement device performs a height measurement operation based on the height measurement control signal.
[0005] In a feasible implementation, the current position of the height measuring device is determined based on a position encoder.
[0006] In a feasible implementation, the triggering area of the height measurement point includes a two-dimensional plane area or a three-dimensional stereo area including the height measurement position.
[0007] In a feasible implementation, the determining whether the current position enters the triggering area of the height measurement point is implemented based on a piecewise linear comparator.
[0008] In a feasible implementation, determining the position change relationship between the current position and the altimetry position over time includes: implementing the following operations through a dynamic comparator: determining the relative distance between the current position and the altimetry position; determining the size change relationship of the relative distance over time; and specifying the size change relationship of the relative distance as the position change relationship between the current position and the altimetry position.
[0009] In a feasible implementation, determining whether the position change relationship satisfies a preset condition includes: implementing the following operations through the dynamic comparator: determining whether the size change relationship of the relative distance is that the relative distance increases over time; if so, determining that the position change relationship satisfies the preset condition; if not, determining that the position change relationship does not satisfy the preset condition.
[0010] In a feasible implementation, the height measurement control signal includes a pulse signal with a preset pulse width.
[0011] In a feasible implementation, the method further includes: determining the instantaneous position of the altimeter device when the altimeter control signal is generated; storing the instantaneous position, and increasing the triggering number for recording the successful triggering of the altimeter point by one time.
[0012] In a feasible implementation, the one execution round further includes: if the current position does not enter the triggering area, or the height measurement point is not successfully triggered, executing the next height measurement round for the next height measurement point.
[0013] On the other hand, the present application discloses a height measurement control device for a height measurement device. The system includes an acquisition module and a control module. The acquisition module is used to acquire the current position of the height measurement device in real time, and acquire the height measurement position and trigger area of at least one height measurement point, wherein the height measurement position is located in the trigger area. The control module is used to control the height measurement device to perform a height measurement operation in at least one height measurement round corresponding to the at least one height measurement point based on the current position, the height measurement position and trigger area of the at least one height measurement point, wherein one height measurement round includes: determining whether the current position enters the trigger area of the height measurement point; if so, determining the position change relationship between the current position and the height measurement position over time; determining whether the position change relationship meets a preset condition; if yes, determining that the height measurement point is successfully triggered, and generating a height measurement control signal to send to the height measurement device, so that the height measurement device performs a height measurement operation based on the height measurement control signal.
[0014] In a feasible implementation, the current position of the height measuring device is determined based on a position encoder.
[0015] In a feasible implementation, the triggering area of the height measurement point includes a two-dimensional plane area or a three-dimensional stereo area including the height measurement position.
[0016] In a feasible implementation, the control module implements the determination of whether the current position enters a triggering area of the height measurement point based on a piecewise linear comparator.
[0017] In a feasible implementation, the control module implements the determination of the position change relationship between the current position and the altimetry position over time based on a dynamic comparator, including: implementing the following operations through a dynamic comparator: determining the relative distance between the current position and the altimetry position; determining the size change relationship of the relative distance over time; and specifying the size change relationship of the relative distance as the position change relationship between the current position and the altimetry position.
[0018] In a feasible implementation, the control module determines whether the position change relationship meets the preset conditions based on a dynamic comparator, including: determining whether the size change relationship of the relative distance is that the relative distance increases over time; if so, determining that the position change relationship meets the preset conditions; if not, determining that the position change relationship does not meet the preset conditions.
[0019] In a feasible implementation, the height measurement control signal includes a pulse signal with a preset pulse width.
[0020] In a feasible implementation, the apparatus further includes a storage module, which is used to determine the instantaneous position of the altimeter when the altimeter control signal is generated; and store the instantaneous position, and increase the triggering number for recording the successful triggering of the altimeter point once.
[0021] In a feasible implementation, the control module is further configured to execute a next altimetry round for a next altimetry point if the current position does not enter the triggering area or the altimetry point is not successfully triggered.
[0022] Another aspect of the present application provides a height measurement control system for a height measurement device, wherein the system comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the above method when executed by the processor.
[0023] Another aspect of the present application provides a computer-readable storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the method described above are implemented.
[0024] The altitude control method of the altitude measuring device disclosed in the present application overcomes the problem in the prior art that a certain altitude measuring point is not triggered during flight detection, which results in subsequent altitude measuring points not being triggered, and can achieve efficient altitude measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The present application will be further described in the form of exemplary embodiments, which will be described in detail by way of the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0026] Figure 1 is an exemplary flow chart of a height measurement control method according to some embodiments of the present application;
[0027] Figure 2 is an exemplary flow chart of determining a position change relationship according to some embodiments of the present application;
[0028] Figure 3 is an exemplary schematic diagram of an altimetry position and a triggering area of an altimetry point according to some embodiments of the present application;
[0029] Figure 4 is an exemplary module diagram of a control system for height measurement control according to some embodiments of the present application;
[0030] Figure 5 is an exemplary unit diagram of a control module according to some embodiments of the present application;
[0031] Figure 6 is an exemplary functional block diagram of a control system for height measurement control according to some embodiments of the present application. DETAILED DESCRIPTION
[0032] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.
[0033] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an element in the middle. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an element in the middle at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The terms "and / or" or "and / or" used herein include any and all combinations of one or more related listed items.
[0035] Some preferred embodiments of the present application are described below with reference to the accompanying drawings. It should be noted that the following description is for illustrative purposes and is not intended to limit the scope of protection of the present application.
[0036] Figure 1 is an exemplary flow chart of a height measurement control method according to some embodiments of the present application. In some embodiments, process 100 can be executed by control system 400. For example, process 100 can be stored in a storage device (such as a built-in storage unit of control system 400 or an external storage device) in the form of a program or instruction, and when the program or instruction is executed, process 100 can be implemented. Figure 1 As shown, process 100 may include the following operations.
[0037] Step 110 , obtaining the current position of the height measuring device in real time, and obtaining the height measuring position and triggering area of at least one height measuring point. This step may be performed by the obtaining module 410 .
[0038] In some embodiments, the position of the height measuring device can be represented by the position of the characteristic points of the height measuring components included. For example, assuming that the height measuring device is a laser height measuring device, the position of the height measuring device can be represented by the position of the laser emission point of the measuring head.
[0039] In some embodiments, the current position of the height measuring device can be determined based on a position encoder. As an example, the position encoder can be installed on the drive shaft of the drive motor of the height measuring device, and output a motion change signal for characterizing the position change of the height measuring device by detecting the motion change of the drive shaft, such as the rotation angle position change and / or speed change. The position encoder can be any position encoder capable of the above functions in real time, for example, a rotary encoder, a linear encoder (such as a grating scale, a magnetic scale), etc. The acquisition module 410 can receive and process the motion change signal sent by the position encoder to obtain the current position of the height measuring device in real time.
[0040] In some embodiments, the height measuring point may refer to the point where the pre-set height measuring device measures the height of a component or object (also referred to as an object to be measured in this application) that needs to be measured. The height measuring position may be used to describe the point. The trigger area may be used to determine whether the height measuring point is triggered. The trigger may refer to the height measuring device reaching the height measuring point or being within a preset range near the measuring point. When the height measuring point is triggered, the height measuring device may be controlled to measure the height of the object to be measured at the height measuring point or at the position where the height measuring point itself is located at the moment when the height measuring point is triggered.
[0041] In some embodiments, the current position of the altimeter and the altimeter position of the altimeter point can be expressed in the form of a coordinate point or a set of coordinate points, including two-dimensional coordinates or three-dimensional coordinates. For example, a reference plane such as a horizontal plane or a plane where a component carrying an object to be measured such as a conveyor belt is located can be taken as an X-plane, and a suitable straight line can be selected in the X-plane to establish the X-axis. For example, the suitable straight line can be a straight line connecting the projection points of the at least one altimeter point in the X-plane (if the projection of the at least one altimeter point is exactly located on a straight line) or a fitting straight line determined based on these projection points. In the X-plane, a Y-axis is established perpendicular to the X-axis, and a straight line perpendicular to the X-axis is selected in a direction perpendicular to the X-plane to establish the Z-axis. Then the current position of the altimeter and the altimeter position of the altimeter point can be expressed using the coordinate points in the above-mentioned coordinate system. When the altimeter and the altimeter point are located in a certain plane, for example, in the XOY, XOZ or YOZ plane, the current position of the altimeter and the altimeter position of the altimeter point can be expressed using two-dimensional coordinates.
[0042] In some embodiments, the trigger area may also be preset, and may be a two-dimensional plane area or a three-dimensional solid area. It may be represented by a set of coordinate points, and / or by a mathematical expression of a line segment representing the boundary of the height measurement area. Taking the trigger area as a two-dimensional plane area as an example, assuming that the trigger area is a square area in the XOY plane, it may be represented by a coordinate set x∈[100,300], y∈[100,300]. It may also be represented by the mathematical expression of four boundary lines x≥100, x≤300, y≤100, y≥300. This application does not limit the representation of the trigger area. In some embodiments, the height measurement position of the height measurement point may be located at a fixed position within the trigger area. For example, the height measurement position may be the center point of the trigger area, or any point within the trigger area.
[0043] In some embodiments, the control system 400 (e.g., the control module 420) may control the altimetry device to perform an altimetry operation in at least one altimetry round corresponding to the at least one altimetry point. In the process 100, steps 120 to 150 may be instructions for one altimetry round. These steps may be executed by the control module 420.
[0044] Step 120 , determining whether the current position enters a triggering area of the height measurement point. This step may be performed by the first determining unit 510 .
[0045] In some embodiments, a piecewise linear comparator can be used to implement the above-mentioned determination process. As an example, the position data of the current position (e.g., a two-dimensional or three-dimensional coordinate point) and the area data of the trigger area (e.g., a coordinate set or a mathematical expression of an area boundary) can be input into a piecewise linear comparator for data comparison. Assuming that the two-dimensional coordinate points are compared, the piecewise linear comparator can first compare the X coordinate. If the X coordinate of the current position of the altimeter device is within the coordinate set of the trigger area, or satisfies the mathematical expression of the area boundary of the trigger area, the Y coordinate can be compared. If the Y coordinate is also within the coordinate set of the trigger area, or satisfies the mathematical expression of the area boundary of the trigger area, it can be determined that the current position enters the trigger area of the altimeter point. Otherwise, it can be determined that the current position does not enter the trigger area of the altimeter point.
[0046] refer to Figure 3 , Figure 3 This is an exemplary schematic diagram of the height measurement position and trigger area of the height measurement point shown in some embodiments of the present application. It is only for the convenience of explanation. Figure 3 The height measurement position of the middle height measurement point and the trigger area are in the same plane, such as the XOZ plane shown in the figure. Figure 3As shown, the height measurement positions of multiple height measurement points can be expressed as one or two-dimensional coordinate points (x n , z n ) is represented by. The trigger area 321 surrounding the altimetry point 311 can be a square area. The altimetry device can approach each altimetry point in sequence when moving. For example, the altimetry device first approaches the altimetry point 311, and then approaches the subsequent second altimetry point, the third altimetry point, ..., until the final altimetry point. For each altimetry point, the first determination unit 510 can obtain the current position of the altimetry device from the acquisition module 310, and use a piecewise linear comparator to determine whether the current position enters the trigger area of the altimetry point.
[0047] In some embodiments, the piecewise linear comparator may output an output indicating whether the current position enters the triggering area of the altimetry point according to the comparison result. For example, 0 or 1. 0 indicates not entering, and 1 indicates entering. When it is determined that the current position enters the starting area of the altimetry point, the process 100 may proceed to step 130.
[0048] Step 130 , determining a position change relationship between the current position and the height measurement position over time. This step may be performed by the second determining unit 520 .
[0049] It is understandable that the height measuring device is in a constant state of motion and its position is constantly changing. As time changes, the relative position and relative distance between the current position of the height measuring device and the height measuring position of the height measuring point are also constantly changing. Figure 3 , for the altimeter point 311, assuming that the altimeter device moves from left to right on a straight line parallel to the X-axis where the altimeter point 311 is located, the relative position of the altimeter device and the altimeter point 311 may be changed from being located on the left side of the altimeter point 311 to being located on the right side of the altimeter point 311, and the relative distance between the two may first decrease and then increase. In the present application, the position change relationship between the current position of the altimeter device and the altimeter position of the altimeter point may be represented by the above-mentioned relative position change and / or relative distance change. In some embodiments, the position change relationship may be represented by a relative distance change. For other descriptions on determining the position change relationship, please refer to the present application. Figure 2 Part, no more elaboration here.
[0050] Step 140 , determining whether the position change relationship satisfies a preset condition. This step may be performed by the third determining unit 530 .
[0051] In some embodiments, the preset condition may include whether the change in the size of the relative distance included in the position change relationship increases over time. A dynamic comparator may be used to implement the above-mentioned determination process. As an example, the dynamic comparator may continuously compare the relative distance between the altimeter and the altimeter point at a previous moment and a later moment, and determine whether the relative distance at the later moment is greater than the relative distance between the two at the previous moment. If so, the dynamic comparator may output a result indicating that the position change relationship satisfies the preset condition, for example, 1. If so, the dynamic comparator may output a result indicating that the position change relationship does not satisfy the preset condition, for example, 0.
[0052] In some embodiments, when the third determining unit 530 determines that the position change relationship satisfies a preset condition, the process 100 may proceed to step 150 .
[0053] Step 150 , determining that the height measurement point is successfully triggered and generating a height measurement control signal and sending it to the height measurement device, so that the height measurement device performs a height measurement operation based on the height measurement control signal. This step can be performed by the signal generating unit 540 .
[0054] In some embodiments, when the current position of the altimeter device enters the triggering area of the altimeter point, and the position change relationship between the current position and the altimeter position over time satisfies a preset condition, the signal generating unit 540 can determine that the altimeter point is successfully triggered. Successful triggering may mean that the altimeter device will perform height measurement on the object to be measured at or near the altimeter point. In some embodiments, the generated altimeter control signal may include a pulse signal with a preset pulse width. For example, a square wave with a pulse width of 100ns. The pulse signal may carry a control instruction. The signal generating unit 540 may send the altimeter control signal to the altimeter device, for example, by wired connection or wireless communication. After receiving the altimeter control signal, the altimeter device may perform an altimeter operation.
[0055] In some embodiments, the altimeter device may move to the altimeter position to perform the altimeter operation after receiving the altimeter control signal, or may perform the altimeter operation at the location at the moment of receiving the altimeter control signal.
[0056] In some embodiments, when the height measurement control signal is generated, the control system 300 (e.g., the storage module 430) can obtain the instantaneous position of the height measurement device. For example, the storage module 430 can receive the instantaneous position of the height measurement device determined based on the position encoder and sent by the acquisition module 310. The storage module 430 can store the instantaneous position and increase the number of triggers used to record the successful triggering of the height measurement point once. It can be understood that steps 120 to 150 in the process 100 can be the height measurement rounds executed for one height measurement point. The successful triggering of the height measurement point means that the purpose of height measurement is achieved in this round of height measurement rounds. The number of successfully triggered triggers also indicates the number of height measurements, and the corresponding instantaneous position can indicate the corresponding height measurement point. These data can be used for tracing after the process 100 is executed.
[0057] In some embodiments, after step 150 is completed, process 100 may return to step 120 to perform a next altimetry round, for example, to determine whether the current position of the altimetry device enters a starting area for the next altimetry point.
[0058] In some embodiments, if it is determined in step 120 that the current position of the altimeter device does not enter the triggering area of the altimeter point, or the altimeter point is not successfully triggered, the control system 300 may perform the next altimeter round for the next altimeter point. For example, step 120 may be performed again for the next altimeter point.
[0059] In some embodiments, the execution of at least one altimetry round for the at least one altimetry point may be performed in sequence. For example, the at least one altimetry point may be pre-arranged in sequence and assigned numbers. The altimetry round is executed according to the number of the altimetry point. In some embodiments, the execution of at least one altimetry round for the at least one altimetry point may also be arbitrary, as long as the altimetry round corresponding to each altimetry point is executed.
[0060] It should be noted that the above Figure 1 The description of each step in the embodiment is only for example and explanation, and does not limit the scope of application of this specification. For those skilled in the art, under the guidance of this specification, Figure 1 Various modifications and changes may be made to the various steps in the present invention. However, these modifications and changes are still within the scope of this specification.
[0061] The scintillation pulse sampling method disclosed in the present application can realize the reuse of time sampling modules, greatly save computing resources, and effectively reduce energy consumption. At the same time, the saved resources can improve the accuracy of time sampling, thereby improving system performance.
[0062] Figure 2is an exemplary flow chart for determining a position change relationship according to some embodiments of the present application. In some embodiments, process 200 can be executed by control system 400. For example, process 200 can be stored in a storage device (such as a built-in storage unit of control system 400 or an external storage device) in the form of a program or instruction, and the program or instruction can implement process 200 when executed. In some embodiments, process 200 can be implemented by control module 820 (for example, second determination unit 520) based on a dynamic comparator. Figure 2 As shown, process 200 may include the following operations.
[0063] Step 210: Determine the relative distance between the current position and the height measurement position.
[0064] In some embodiments, the relative distance can be determined based on a distance calculation formula between two points. For example, assuming that the coordinates of the current position and the coordinates of the height measurement position are (x1, y1) (or (x1, y1, z1)) and (x2, y2) (or (x2, y2, z2)), respectively, the relative distance can be or
[0065] Step 220: Determine the change relationship of the relative distance over time.
[0066] In some embodiments, the second determination unit 520 can calculate the relative distance between the current position of the altimetry device and the altimetry position of the altimetry point in real time. For example, the relative distance between the two is calculated once at a predetermined time interval (such as 10ms). The second determination unit 520 can compare these relative distances in chronological order to determine the size change relationship. As an example, assuming that the time sequence is t1→t2→t3, the second determination unit 520 can compare the size between the relative distances D1 and D2 corresponding to t1 and t2, respectively, and then compare the size between the relative distances D2 and D3 corresponding to t2 and t3, respectively. If D1<D2<D3, the size change relationship of the relative distance can be increased over time. That is, over time, the altimetry device is gradually moving away from the altimetry position. If D1>D2>D3, the size change relationship of the relative distance can be reduced over time. That is, over time, the altimetry device is gradually approaching the altimetry position. If D1<D2>D3 or D1>D2<D3, the size change relationship of the relative distance may be fluctuating over time. That is, over time, the altimeter has no definite movement trend relative to the altimeter position. Continuing with the above example, the second determination unit 520 can also determine the positive and negative signs of (D2-D1) and (D3-D2). If all are positive, the size change relationship of the relative distance may increase over time. That is, over time, the altimeter gradually moves away from the altimeter position. If all are negative, the size change relationship of the relative distance may decrease over time. That is, over time, the altimeter gradually approaches the altimeter position. If one is positive and the other is negative, the size change relationship of the relative distance may be fluctuating over time. That is, over time, the altimeter has no definite movement trend relative to the altimeter position. It should be understood that the second determination unit 520 can also determine the size change relationship of the relative distance based on other reasonable methods.
[0067] Step 230: specifying the magnitude change relationship of the relative distance as the position change relationship between the current position and the height measurement position.
[0068] In some embodiments, the second determining unit 520 may directly specify the magnitude change relationship of the relative distance as the position change relationship between the current position and the height measurement position.
[0069] It should be noted that the above Figure 2 The description of each step in the embodiment is only for example and explanation, and does not limit the scope of application of this specification. For those skilled in the art, under the guidance of this specification, Figure 1 Various modifications and changes may be made to the various steps in the present invention. However, these modifications and changes are still within the scope of this specification.
[0070] Figure 4 is an exemplary module diagram of a control system according to some embodiments of this specification. The data processing system can achieve high-efficiency height measurement. Figure 4 As shown, the control system 400 may include an acquisition module 410 , a control module 420 , and a storage module 430 .
[0071] The acquisition module 410 can be used to acquire the current position of the altimeter in real time, and acquire the altimeter position and trigger area of at least one altimeter point. The current position of the altimeter can be determined based on a position encoder. The altimeter position and trigger area of the altimeter point can be preset. In some embodiments, the current position of the altimeter and the altimeter position of the altimeter point can be represented in the form of coordinate points or a set of coordinate points, including two-dimensional coordinates or three-dimensional coordinates. The trigger area can be a one-dimensional plane area or a three-dimensional solid area. It can be represented using a set of coordinate points and / or a mathematical expression of a line segment representing the boundary of the altimeter area.
[0072] The control module 420 can control the altimetry device to perform an altimetry operation in at least one altimetry round corresponding to the at least one altimetry point based on the current position, the altimetry position and the trigger area of the at least one altimetry point. In one altimetry round, the control module 420 can determine whether the current position enters the trigger area of the altimetry point. If so, the control module 420 can determine the position change relationship between the current position and the altimetry position over time, and determine whether the position change relationship meets the preset conditions. When the position change relationship meets the preset conditions, the control module 420 can determine that the altimetry point is successfully triggered, and generate an altimetry control signal to send to the altimetry device, so that the altimetry device performs an altimetry operation at the altimetry point based on the altimetry control signal. For other descriptions of the control module 420, please refer to the present application Figure 5 In some embodiments, the control module 420 may further execute the next altimetry round for the next altimetry point if the current position does not enter the triggering area or the altimetry point is not successfully triggered.
[0073] The storage module 430 may acquire the instantaneous position of the height measuring device when the height measuring control signal is generated. The storage module 430 may receive the instantaneous position of the height measuring device determined based on the position encoder and sent by the acquisition module 310. The storage module 430 may also store the instantaneous position and increase the triggering number for recording the successful triggering of the height measuring point once.
[0074] Figure 5 is an exemplary unit diagram of a control module of a control system according to some embodiments of this specification. Figure 5 As shown, the control module 420 may include a first determination unit 510 , a second determination unit 520 , a third determination unit 530 and a signal generation unit 540 .
[0075] The first determination unit 510 may determine whether the current position enters the triggering area of the altimetry point. The first determination unit 510 may implement the above determination process using a piecewise linear comparator. In some embodiments, the first determination unit 510 may obtain the current position of the altimetry device from the acquisition module 310, and use a piecewise linear comparator to determine whether the current position enters the triggering area of the altimetry point.
[0076] The second determination unit 520 may determine the position change relationship between the current position and the altimetry position over time. In some embodiments, the second determination unit 520 may determine the relative distance between the current position and the altimetry position, and determine the magnitude change relationship of the relative distance over time. The magnitude change relationship of the relative distance may specify the position change relationship between the current position and the altimetry position.
[0077] The third determination unit 530 can determine whether the relative distance size change relationship is that the relative distance increases over time based on the dynamic comparator. If so, the third determination unit 530 can determine that the position change relationship meets the preset condition. If not, the third determination unit 530 can determine that the position change relationship does not meet the preset condition.
[0078] When determining that the altimetry point is successfully triggered, the signal generating unit 540 may generate an altimetry control signal and send it to the altimetry device, so that the altimetry device performs an altimetry operation at the altimetry point based on the altimetry control signal. The altimetry control signal may include a pulse signal with a preset pulse width.
[0079] For other descriptions of the above modules or units, please refer to other parts of this application, for example, Figure 1-3 .
[0080] It should be understood that Figure 4 and Figure 5The system and its modules and units shown can be implemented in various ways. For example, in some embodiments, the system and its modules and units can be implemented by hardware, software or a combination of software and hardware. Among them, the hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or a dedicated design hardware. Those skilled in the art will understand that the above-mentioned methods and systems can be implemented using computer executable instructions and / or included in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the system and its modules of this specification. Not only can the hardware circuits such as ultra-large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc. be implemented, it can also be implemented with software such as executed by various types of processors, and it can also be implemented by a combination of the above-mentioned hardware circuits and software (for example, firmware).
[0081] It should be noted that the above description of modules and units is only for convenience of description and does not limit this specification to the scope of the embodiments. It is understandable that for those skilled in the art, after understanding the principle of the system, it is possible to arbitrarily combine the modules and units, or form a subsystem connected to other modules without deviating from this principle. For example, each module can share a storage module, or each module can have its own storage module. Such variations are all within the scope of protection of this specification.
[0082] Figure 6 is an exemplary functional block diagram of a control system according to some embodiments of this specification. The control system 600 can be implemented based on a field programmable gate array (FPGA) chip. Figure 6As shown, RTL may be the real-time position of the input altimeter, CL may be the altimeter position of the altimeter point, and TR may be the triggering area of the altimeter point. C may be a position comparator. Three types of data may be input into C for comparison and determination. Among them, SLC may be a piecewise linear comparator, and DC may be a dynamic comparator. SLC may be used to compare and determine whether the current position enters the triggering area of the altimeter point. DC may be used to determine the position change relationship between the current position and the altimeter position over time, and determine whether the position change relationship satisfies a preset condition. When the position change relationship satisfies the preset condition, C may output an altimeter control signal CS. CS may be transmitted to the altimeter device so that the altimeter device performs an altimeter operation based on the altimeter control signal. S may be another output of C, which may be data storage. S may include the instantaneous position of the altimeter device when the altimeter point is successfully triggered, and the number of triggers for recording the successful triggering of the altimeter point. When a altimeter point is successfully triggered, the number of triggers will be increased once. S may be output to an external storage device of C for storage, or may be stored in an internal storage unit of C. In the present application, the acquisition module 410 may be implemented by an input interface of C, such as a pin of FPGA. The control module 420 may be implemented by C. The storage module 430 may be implemented by S.
[0083] The basic concepts have been described herein. It is obvious to those skilled in the art that the above detailed disclosure is merely an example and does not constitute a limitation of this specification. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements and amendments to this specification. Such modifications, improvements and amendments are suggested in this specification, so such modifications, improvements and amendments still fall within the spirit and scope of the exemplary embodiments of this specification.
[0084] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0085] In addition, it will be understood by those skilled in the art that various aspects of this specification may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, various aspects of this specification may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, various aspects of this specification may be represented as a computer product located in one or more computer-readable media, which includes computer-readable program code.
[0086] A computer storage medium may include a propagated data signal containing computer program code, for example, in baseband or as part of a carrier wave. The propagated signal may be in a variety of forms, including electromagnetic, optical, etc., or a suitable combination. A computer storage medium may be any computer-readable medium other than a computer-readable storage medium, which can be connected to an instruction execution system, device or apparatus to communicate, propagate or transmit the program for use. The program code on the computer storage medium may be transmitted via any suitable medium, including radio, cable, fiber optic cable, RF, or similar media, or any combination of the above media.
[0087] The computer program code required for the operation of each part of this specification can be written in any one or more programming languages, including object-oriented programming languages such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python, etc., conventional procedural programming languages such as C language, Visual Basic, Fortran 2003, Perl, COBOL 2002, PHP, ABAP, dynamic programming languages such as Python, Ruby and Groovy, or other programming languages. The program code can be run entirely on the user's computer, or run on the user's computer as an independent software package, or run partially on the user's computer and partially on a remote computer, or run entirely on a remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any network form, such as a local area network (LAN) or a wide area network (WAN), or connected to an external computer (e.g., via the Internet), or in a cloud computing environment, or used as a service such as software as a service (SaaS).
[0088] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0089] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0090] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
[0091] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification are hereby incorporated by reference in their entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this specification (currently or later attached to this specification) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.
[0092] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. A height measurement control method for a height measurement device, characterized in that: The method comprises: Acquire the current position of the altimeter device in real time, and acquire the altimeter position and trigger area of at least one altimeter point, wherein the altimeter position is located within the trigger area; the trigger area includes a two-dimensional plane area or a three-dimensional stereo area including the altimeter position; Based on the current position, the altimetry position of the at least one altimetry point, and the trigger area, the altimetry device is controlled to perform an altimetry operation in at least one altimetry round corresponding to the at least one altimetry point, wherein one altimetry round includes: Determine whether the current position enters the triggering area of the height measurement point; If so, determining a position change relationship between the current position and the height measurement position over time; Determining whether the position change relationship meets a preset condition; If so, determining that the altimetry point is successfully triggered, and generating an altimetry control signal to send to the altimetry device, so that the altimetry device performs an altimetry operation at the altimetry point based on the altimetry control signal; If the current position does not enter the triggering area, or the height measurement point is not successfully triggered, the next height measurement round is performed for the next height measurement point.
2. The method according to claim 1, characterized in that: The current position of the height measuring device is determined based on a position encoder.
3. The method according to claim 1, characterized in that The determination of whether the current position enters the triggering area of the height measuring point is implemented based on a piecewise linear comparator.
4. The method according to claim 1, characterized in that: The determining of a position change relationship between the current position and the altimetry position over time comprises: The following operations are implemented through dynamic comparators: Determining a relative distance between the current position and the altimetry position; Determining a change in the magnitude of the relative distance over time; The magnitude change relationship of the relative distance is specified as the position change relationship between the current position and the height measurement position.
5. The method according to claim 4, characterized in that The determining whether the position change relationship satisfies a preset condition includes: The following operations are implemented by the dynamic comparator: Determining whether the magnitude relationship of the relative distance is that the relative distance increases over time; If so, determining that the position change relationship satisfies a preset condition; If not, it is determined that the position change relationship does not meet the preset condition.
6. The method according to claim 1, characterized in that The height measurement control signal includes a pulse signal with a preset pulse width.
7. The method according to claim 1, characterized in that The method further comprises: determining the instantaneous position of the height measuring device when the height measuring control signal is generated; The instantaneous position is stored, and the triggering number for recording that the height measuring point is successfully triggered is increased once.
8. A height measurement control device for a height measurement device, characterized in that: The device comprises: An acquisition module, used to acquire the current position of the altimeter device in real time, and acquire the altimeter position and a trigger area of at least one altimeter point, wherein the altimeter position is located within the trigger area; the trigger area includes a two-dimensional plane area or a three-dimensional stereo area including the altimeter position; A control module is used to control the altimeter device to perform an altimeter operation in at least one altimeter round corresponding to the at least one altimeter point based on the current position, the altimeter position of the at least one altimeter point, and the trigger area, wherein one altimeter round includes: Determine whether the current position enters the triggering area of the height measurement point; If so, determining a position change relationship between the current position and the height measurement position over time; Determining whether the position change relationship meets a preset condition; If so, it is determined that the height measurement point is successfully triggered, and a height measurement control signal is generated and sent to the height measurement device, so that the height measurement device performs a height measurement operation based on the height measurement control signal.
9. The device according to claim 8, characterized in that The current position of the height measuring device is determined based on a position encoder.
10. The device according to claim 8, characterized in that The control module determines whether the current position enters the triggering area of the height measurement point based on a piecewise linear comparator.
11. The device according to claim 8, characterized in that The control module determines the position change relationship between the current position and the height measurement position over time based on a dynamic comparator, including: Determining a relative distance between the current position and the altimetry position; Determining a change in the magnitude of the relative distance over time; The magnitude change relationship of the relative distance is specified as the position change relationship between the current position and the height measurement position.
12. The device according to claim 11, characterized in that The control module determines whether the position change relationship satisfies a preset condition based on a dynamic comparator, including: Determining whether the change in the magnitude of the relative distance is that the relative distance increases over time; If so, determining that the position change relationship satisfies a preset condition; If not, it is determined that the position change relationship does not meet the preset condition.
13. The device according to claim 8, characterized in that The height measurement control signal includes a pulse signal with a preset pulse width.
14. The device according to claim 8, characterized in that The device further comprises a storage module, wherein the storage module is used for: determining the instantaneous position of the height measuring device when the height measuring control signal is generated; The instantaneous position is stored, and the triggering number for recording that the height measuring point is successfully triggered is increased once.
15. A height measurement control system for a height measurement device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the method according to any one of claims 1 to 7 when executed by the processor.
16. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the altimetry method of the altimetry device according to any one of claims 1 to 7 are implemented.
