A tunnel robot control method, device, electronic device and storage medium
By acquiring the movement speed and image signals of the tunnel robot, extracting features and adjusting the processor frequency, the problem of high energy consumption of the tunnel robot is solved, its endurance is improved, and operating costs and detection accuracy are avoided.
Patent Information
- Application Number
- CN202310745082.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-06-21
AI Technical Summary
The energy consumption requirements of tunnel inspection robots increase with the length of the tunnel and the number of sensors, making it difficult to meet the requirements for long-term inspections. Existing methods such as segmented inspections increase operating costs or reduce detection accuracy, and solutions to reduce power consumption are urgently needed.
By obtaining the robot's movement speed and the received image signal, upsampling and splicing processing is performed, image features are extracted, the target frequency is calculated, and the robot's processor frequency is adjusted to reduce power consumption.
It effectively reduces the power consumption of the tunnel robot, improves its endurance, and avoids the defects of increased operating costs or reduced detection accuracy.
Smart Images

Figure CN116551698B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a tunnel robot control method, device, electronic equipment and storage medium. Background Art
[0002] With the rapid development of highway construction, tunnel inspection robots can be used for regular inspections of tunnels to conduct automatic tunnel inspections. However, as the length of tunnels becomes longer and more sensors need to be carried, the energy consumption demand of tunnel inspection robots becomes larger and larger, making it difficult to meet the requirements of long-term inspections in tunnels. There are currently two ways to solve this problem. One is to divide long tunnels into sections for inspection. Although this can meet the inspection requirements, multiple robots need to be deployed during implementation, which will increase operating costs. The other is to reduce energy consumption by reducing loads such as sensors. However, reducing sensors will cause a decrease in detection accuracy. Therefore, it is of great application value to study how to reduce the power consumption of inspection robots. In summary, the technical problems existing in related technologies need to be solved urgently. Summary of the invention
[0003] In view of this, an embodiment of the present invention provides a tunnel robot control method, device, electronic device and storage medium to reduce the energy consumption of the tunnel robot.
[0004] In one aspect, the present invention provides a tunnel robot control method, comprising:
[0005] Acquiring the movement speed of the robot and the image signal received by the robot;
[0006] Performing up-sampling and splicing processing on the image signal to obtain an image pyramid;
[0007] Performing point pair selection processing on the image pyramid to obtain a binary set;
[0008] Inputting the binary set into a binary network for feature extraction processing to obtain image features;
[0009] Perform frequency value calculation processing according to the image features and the motion speed to obtain a target frequency;
[0010] The frequency of the robot is adjusted according to the target frequency to complete the control of the robot.
[0011] Optionally, acquiring the movement speed of the robot and the image signal received by the robot includes:
[0012] Obtaining the movement speed of the robot through a tachometer;
[0013] The image signal is received in the form of a data stream through the data receiving module.
[0014] Optionally, the upsampling and splicing processing the image signal to obtain an image pyramid includes:
[0015] Performing up-sampling processing on the image signal to obtain an image block;
[0016] The image block is intercepted and the bit number of the intercepted data is supplemented to obtain spliced data;
[0017] A pyramid building process is performed on the spliced data to obtain an image pyramid.
[0018] Optionally, performing upsampling processing on the image signal to obtain an image block includes:
[0019] Performing up-sampling processing on the image signal to obtain a pixel block;
[0020] An upsampling process is performed on the pixel block to obtain an image block.
[0021] Optionally, performing pyramid building processing on the spliced data to obtain an image pyramid includes:
[0022] Performing interval acquisition processing on the stitching data to obtain a first layer of images;
[0023] Performing equal-division cutting processing on the stitched data to obtain a second layer of image;
[0024] Restoring the spliced data, and equally dividing the restored data to obtain a third layer image;
[0025] The first layer image, the second layer image and the third layer image are fused to obtain an image pyramid.
[0026] Optionally, performing point pair selection processing on the image pyramid to obtain a binary set includes:
[0027] Randomly selecting the image pyramid to obtain a first position set and a second position set;
[0028] Rotate the pixel points in the first position set and the pixel points in the second position set respectively to obtain a first pixel point set and a second pixel point set;
[0029] Position correspondence processing is performed on the first pixel point set and the second pixel point set to obtain a binary set.
[0030] Optionally, the performing frequency value calculation processing according to the image feature and the motion speed to obtain a target frequency includes:
[0031] Performing vector processing on the image feature and the motion speed to obtain a feature vector and a speed vector;
[0032] Adding the characteristic vector and the velocity vector to obtain a vector sum value, obtaining vector extreme difference values of the characteristic vector and the velocity vector through testing, and dividing the vector sum value by the vector extreme difference value to obtain an adjustment coefficient;
[0033] The frequency extreme difference value of the processor of the robot is obtained, and the frequency extreme difference value is multiplied by the adjustment coefficient to obtain a target frequency.
[0034] On the other hand, an embodiment of the present invention further provides a tunnel robot energy-saving device, comprising:
[0035] The first module is used to obtain the movement speed of the robot and the image signal received by the robot;
[0036] The second module is used to upsample and splice the image signal to obtain an image pyramid;
[0037] The third module is used to perform point pair selection processing on the image pyramid to obtain a binary set;
[0038] The fourth module is used to input the binary set into a binary network for feature extraction processing to obtain image features;
[0039] A fifth module is used to calculate the frequency value according to the image features and the motion speed to obtain a target frequency;
[0040] The sixth module is used to adjust the frequency of the robot according to the target frequency to complete the control of the robot.
[0041] On the other hand, an embodiment of the present invention further discloses an electronic device, including a processor and a memory;
[0042] The memory is used to store programs;
[0043] The processor executes the program to implement the method described above.
[0044] On the other hand, an embodiment of the present invention further discloses a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the method described above.
[0045] On the other hand, an embodiment of the present invention further discloses a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the above method.
[0046] Compared with the prior art, the present invention adopts the above technical scheme and has the following technical effects: this scheme obtains the movement speed of the robot and the received image signal, performs feature extraction processing on the image signal to obtain image features, then calculates the target frequency according to the image features and the movement speed, and adjusts the frequency of the robot according to the target frequency. By adjusting the frequency of the robot processor in combination with the current environmental characteristics, the power consumption of the robot is reduced and the endurance of the robot is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0048] Figure 1 is a flow chart of a tunnel robot control method provided by an embodiment of the present application;
[0049] Figure 2 It is a structural schematic diagram of a tunnel robot control device provided in an embodiment of the present application;
[0050] Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] First, some nouns involved in this application are analyzed:
[0053] Field Programmable Gate Array (FPGA) is an integrated circuit with programmable features that is pre-designed and implemented on a silicon chip. It can be configured into a specified circuit structure according to the designer's needs, so that customers do not have to rely on chips designed and manufactured by chip manufacturers.
[0054] Low Voltage Differential Signaling (LVDS) is a low-swing differential signaling technology that enables signals to be transmitted at a rate of several hundred Mbps on differential PCB line pairs or balanced cables. Its low voltage amplitude and low current drive output achieve low noise and low power consumption.
[0055] PCI-Express (Peripheral Component Interconnect Express) is a high-speed serial computer expansion bus standard. It belongs to high-speed serial point-to-point dual-channel high-bandwidth transmission.
[0056] Devfreq device driver: The device driver that needs frequency and voltage regulation needs to be registered through the interface provided by devfreqframework.
[0057] In the related art, with the rapid development of highway construction, the highway network has gradually taken shape, among which the number of extra-long tunnels has increased rapidly. In order to ensure the driving safety in the tunnel, it is necessary to conduct regular inspections of the tunnel. Since the tunnels are scattered in different sections of the highway, long-term manual inspections of the tunnels require huge financial and labor costs. The use of tunnel inspection robots can effectively alleviate this problem, and the automatic inspection of the robot can effectively save labor costs. Although the inspection robot can automatically inspect the tunnel. However, as the length of the tunnel becomes longer and longer and more and more sensors need to be carried, the energy consumption demand of the tunnel inspection robot is increasing, and it is difficult to meet the requirements of long-term inspections in the tunnel. There are currently two ways to solve this problem. One is to inspect the long tunnel in sections. Although it can meet the inspection requirements, multiple robots need to be deployed in the implementation, which will greatly increase the operating cost; the other is to reduce energy consumption by reducing loads such as sensors. However, reducing sensors will cause the problem of reduced detection accuracy. Therefore, an embodiment of the present invention provides a tunnel robot control method to reduce robot power consumption and improve cruising ability.
[0058] Before introducing the tunnel robot control method, it is necessary to describe the operating environment of the method, that is, a tunnel robot control system. The system includes a video sensor, an FPGA-based feature extraction and control unit, and a pulley tachometer. The video sensor is used to record the robot's cruising environment and obtain the image signal received by the robot. The FPGA-based feature extraction unit is used to perform feature processing on the image signal. The control unit is used to control other unit modules to perform corresponding data processing to implement a tunnel robot control method. The pulley tachometer is used to obtain the movement speed of the robot. The system can be connected to other host computers, wherein the host computer can directly communicate and control with the CPU of the control unit in the system through PCIE. The connection method can be Bluetooth, wireless network, etc. The host computer can be a mobile terminal, computer, etc. that can perform communication control.
[0059] Reference Figure 1 , an embodiment of the present invention provides a tunnel robot control method, comprising:
[0060] S101, acquiring the movement speed of the robot and the image signal received by the robot;
[0061] S102, performing up-sampling and splicing processing on the image signal to obtain an image pyramid;
[0062] S103, performing point pair selection processing on the image pyramid to obtain a binary set;
[0063] S104, inputting the binary set into a binary network for feature extraction processing to obtain image features;
[0064] S105, performing frequency value calculation processing according to the image features and the motion speed to obtain a target frequency;
[0065] S106. Adjust the frequency of the robot according to the target frequency to complete the control of the robot.
[0066] In an embodiment of the present invention, the movement speed of the robot and the image signal received by the robot are first obtained, wherein the image signal is used to record or observe the inspection environment of the robot, that is, the inspection environment of the robot is analyzed and processed by analyzing the image signal, so as to subsequently adjust the frequency of the robot processor. Then, the received image signal is upsampled and spliced to obtain an image pyramid, and then the image pyramid is subjected to point pair selection processing to obtain a binary set; the embodiment of the present invention obtains an image pyramid by processing the image signal, and then obtains a binary set by processing the image pyramid, and the binary set is input into a binary network for feature extraction processing to obtain image features. Among them, the image features are used to characterize the cruising environment features of the robot. The processor frequency of the robot is calculated by combining the movement speed of the robot obtained by the above acquisition with the image features, and a target frequency that meets the characteristics of the current cruising environment is calculated. Finally, the frequency of the robot processor is adjusted by the target frequency to complete the control of the robot. Among them, the embodiment of the present invention instantiates a fully connected binary network in the FPGA, which is used to extract features from the binary set to obtain image features. The input of the binary network is a 256-bit binary set. The network has a total of 4 layers of fully connected structures, and the output is an 8-bit binary vector. 21 binary inputs can obtain 21 corresponding 8-bit values. In the calculation, in order to save resources, 21 networks use the same network for feature extraction. The embodiment of the present invention analyzes the image features, combines the current movement speed of the robot, calculates the processor frequency of the robot, adjusts the frequency of the robot according to the target frequency, and can adjust the frequency of the robot's core processor according to the current environmental characteristics of the robot, thereby reducing unnecessary power consumption of the robot and improving the robot's endurance.
[0067] As an optional implementation, in the above step S101, obtaining the movement speed of the robot and the image signal received by the robot includes:
[0068] Obtaining the movement speed of the robot through a tachometer;
[0069] The image signal is received in the form of a data stream through the data receiving module.
[0070] In the embodiment of the present invention, the speed V of the current robot is obtained through the tachometer of the track pulley, and the FPGA data receiving module receives the image signal in the form of a stream through the LVDS interface, and the width and height of the image are respectively W and H. It can be imagined that after the FPGA receives the data, the embodiment of the present invention uses two rows of registers with a length of W to cache the data.
[0071] As an optional implementation, upsampling and splicing the image signal to obtain an image pyramid includes:
[0072] Performing up-sampling processing on the image signal to obtain an image block;
[0073] The image block is intercepted and the bit number of the intercepted data is supplemented to obtain spliced data;
[0074] A pyramid building process is performed on the spliced data to obtain an image pyramid.
[0075] In the embodiment of the present invention, the image signal is upsampled to obtain an image block. The upsampling process may adopt interpolation methods such as bilinear interpolation, nearest neighbor interpolation, trilinear interpolation, or transposed convolution to obtain a 3×3 image block, and the pixel number of the image block is [Q 11 Q 12 Q 13 Q 21 Q 22 Q 23 Q 31 Q 32 Q 33 Then the image blocks are intercepted and the bit-filling processing is performed on the intercepted data to obtain the spliced data. Since the image blocks obtained by the above upsampling have repeated parts, the repeated pixels are [Q 13 Q 23 Q 31 Q 32 Q 33 ], so only [Q 11 Q 12 Q 21 Q 22 ] A total of 4×8 32-bit data are spliced and put into a 64-bit register. The specific steps are: put the 32-bit data into the first 32 bits of the register, and fill the remaining bits with 0 to obtain the spliced data. Finally, the spliced data is pyramid-built to obtain an image pyramid. In the embodiment of the present invention, the image pyramid is a three-layer pyramid. Since a 64-bit spliced image block data will be obtained in each of the above cycles, and the data will be stored in DDR3 (third-generation double data rate synchronous dynamic random access memory) through DMA (DMA, Direct Memory Access). The specific operation is to use 16 64-bit row caches to cache the data, and perform a cache operation after every 16 cycles, so the write address of DDR3 increases by 16 each time. Through the above operations, a three-layer pyramid can be directly obtained in the memory on the basis of ensuring the original pixel stream.
[0076] Further as an optional implementation manner, performing upsampling processing on the image signal to obtain an image block includes:
[0077] Performing up-sampling processing on the image signal to obtain a pixel block;
[0078] An upsampling process is performed on the pixel block to obtain an image block.
[0079] In the embodiment of the present invention, a 2×2 pixel block P is obtained by registering for upsampling operation to obtain a pixel block, whose pixel labels are [P 11 P 12 P 21 P 22 Then the 2×2 pixel block P is upsampled to obtain a 3×3 image block Q. The pixel number of the 3×3 image block is [Q 11 Q 12 Q 13 Q 21 Q 22 Q 23 Q 31 Q 32 Q 33 ], the specific calculation process is, Q 11 =P 11 , Q 12 =(P 11 +P 12 )>>1, Q 13 =P 12 , Q 21 =(P 11 +P 21 )>>1,Q 22 =(P 11 +P 22 )>>1,Q 23 =(P 21 +P 22 )>>1,Q 31 =P21,Q 32 =(P 12 +P 22 )>>1, Q 33 =P 22 .
[0080] As a further optional implementation, the step of performing pyramid building processing on the spliced data to obtain an image pyramid includes:
[0081] Performing interval acquisition processing on the stitching data to obtain a first layer of images;
[0082] Performing equal-division cutting processing on the stitched data to obtain a second layer of image;
[0083] Restoring the spliced data, and equally dividing the restored data to obtain a third layer image;
[0084] The first layer image, the second layer image and the third layer image are fused to obtain an image pyramid.
[0085] In an embodiment of the present invention, a data extraction module is instantiated in the CPU. Since it is necessary to perform multi-scale operations on the image, the module needs to wait for W×H cycles to start the data reading operation after obtaining the first data in the data receiving module. In order to ensure that the extracted features are scale-invariant, it is necessary to extract the features of three layers of the image pyramid respectively, and there are 21 features in total corresponding to the features of the pyramid. In particular, the downsampling pyramid needs to obtain one feature, denoted as F1, the upsampling pyramid needs to obtain 4 features, denoted as F2, and the upsampling pyramid needs to obtain 16 features, denoted as F3. In order to extract the features of the downsampling pyramid image, it is first necessary to obtain the pixels of the image pyramid. The specific operation steps are to use the DMA address to directly downsample the stored data in DDR3. The specific strategy is to use DMA to extract all the data stored in DDR3, and a total of W×H×64 bits of data are put into the memory. First, the spliced data is processed at intervals to obtain the first layer of the image, in which the first 8 bits of the image are directly obtained by alternating rows and columns to obtain a Then the spliced data is cut into equal parts to obtain the second layer image, wherein the first 8 bits of the acquired W×H data are cut into 4 equal parts. The image blocks are then used to obtain the second layer of images. Then the spliced data is restored, and the restored data is equally divided to obtain the third layer of images. The data is first rearranged. Specifically, a 2W×2H memory is opened, and then the four 8-bit data are arranged according to [P 11 P 12 P 21 P 22 ] to restore, and finally cut into 16 equal parts Through the steps of the embodiment of the present invention, a total of 21 The image blocks are obtained by the image pyramid, and through the above pyramid, the scale invariance of the image can be guaranteed.
[0086] Further as an optional implementation manner, the performing point pair selection processing on the image pyramid to obtain a binary set includes:
[0087] Randomly selecting the image pyramid to obtain a first position set and a second position set;
[0088] Rotate the pixel points in the first position set and the pixel points in the second position set respectively to obtain a first pixel point set and a second pixel point set;
[0089] Position correspondence processing is performed on the first pixel point set and the second pixel point set to obtain a binary set.
[0090] In the embodiment of the present invention, the image pyramid is randomly selected to obtain a first position set and a second position set. Specifically, two position sets are randomly selected from the image block to obtain the first position set and the second position set, each set having a total of 8 points, which are recorded as the first position set L N1 (N1, N2, N3, N4, N5, N6, N7, N8) and the second position set L M1 (M1, M2, M3, M4, M5, M6, M7, M8), where N and M represent the positions of the pixels. Then, the pixels in the first position set and the pixels in the second position set are rotated respectively. Specifically, the rotation L N1 and L M1 , each rotation increases by 11.25 degrees, that is, 11.25, 22.5, ..., 348.75, a total of 32 rotations, generating L N1 ,L N2 , …, L N32 and L M1 ,L M2 ,…,L M32 , and finally generate two new 256 pixel point sets, the first pixel point set and the second pixel point set, recorded as the first pixel point set L N (L N1 ∪L N2 ∪...∪L N32 ) and the second pixel set L M (L M1 ∪L M2 ∪...∪L M8 ). Through the embodiment of the present invention, the rotation invariance of the image block can be guaranteed. Finally, the first pixel point set and the second pixel point set are processed in position correspondence, that is, the pixels at the corresponding positions of the two sets are compared one by one to obtain a 256-bit binary set T (B1, B2, ... N 256 ), the specific steps are, IF LNi>LMi∶Bi=1else Bi=0.
[0091] As a further optional implementation, the performing frequency value calculation processing according to the image feature and the motion speed to obtain the target frequency includes:
[0092] Performing vector processing on the image feature and the motion speed to obtain a feature vector and a speed vector;
[0093] Adding the characteristic vector and the velocity vector to obtain a vector sum value, obtaining vector extreme difference values of the characteristic vector and the velocity vector through testing, and dividing the vector sum value by the vector extreme difference value to obtain an adjustment coefficient;
[0094] The frequency extreme difference value of the processor of the robot is obtained, and the frequency extreme difference value is multiplied by the adjustment coefficient to obtain a target frequency.
[0095] In an embodiment of the present invention, the frequency VT and image feature F of the current robot processor are obtained through the Devfreq device driver, and the speed V of the current robot is obtained through the tachometer of the track pulley. The image feature and the movement speed are vectorized to obtain a feature vector and a speed vector. At this time, it is necessary to determine whether V is 0. If it is 0, VT is directly set to the minimum value, and the default value is 20MHz. If V is not equal to 0, the CPU frequency is adjusted. The specific steps are: the feature vector and the speed vector are added to obtain a vector sum value, and the vector extreme difference value of the feature vector and the speed vector is obtained by testing, and the vector sum value is divided by the vector extreme difference value to obtain an adjustment coefficient; the frequency extreme difference value of the robot's processor is obtained, and the frequency extreme difference value is multiplied by the adjustment coefficient to obtain the target frequency. Among them, the formula for calculating the adjustment coefficient DT is:
[0096]
[0097] Among them, F and V, as outputs, have become a proper quantity, so they can be added directly. max(D) and min(D) are the maximum and minimum values of F+V, that is, the vector extreme value of the feature vector and the velocity vector, which can be obtained through testing. Finally, the target frequency XT is calculated: XT = (max(X)-min(x)) × DT. X is the frequency of the robot processor, max(X) represents the maximum value of the processor frequency, and min(x) represents the minimum value of the processor frequency. It should be noted that after the target frequency is calculated, the target frequency XT is an 8-bit integer. XT is encoded, and the encoded data has 32 bits, of which the first 0-7 bits are initialization flag bits, 8-15 bits are adjustment strategy bits, the default is 0000 0001, indicating the simple_ondemend strategy, 16-23 bits are the 8-bit value of XT, and 24-31 bits are the end bits. The FPGA communicates with the chip's Devfreq framework directly through the bus, and the 32-bit data is sent to the CPU's Devfreq framework module through the FPGA module. The Devfreqframework parses the data and adjusts the frequency according to the adjustment strategy and the target frequency XT. It should be noted that the simple_ondemend strategy is to dynamically adjust the frequency and voltage according to the load. The adjustment strategy bits can also include: Userspace strategy, which means that the user sets the voltage and frequency, and the system will not adjust automatically; Powersave strategy, which means that power consumption is prioritized and the frequency is always set to the lowest value; Performance strategy, which means that performance is prioritized and the frequency is always set to the highest value.
[0098] Reference Figure 2 The embodiment of the present invention further provides a tunnel robot energy-saving device, comprising:
[0099] The first module 201 is used to obtain the movement speed of the robot and the image signal received by the robot;
[0100] The second module 202 is used to perform upsampling and splicing processing on the image signal to obtain an image pyramid;
[0101] The third module 203 is used to perform point pair selection processing on the image pyramid to obtain a binary set;
[0102] The fourth module 204 is used to input the binary set into a binary network for feature extraction processing to obtain image features;
[0103] The fifth module 205 is used to calculate the frequency value according to the image feature and the motion speed to obtain the target frequency;
[0104] The sixth module 206 is used to adjust the frequency of the robot according to the target frequency to complete the control of the robot.
[0105] Reference Figure 3 The embodiment of the present invention further provides an electronic device, including a processor 302 and a memory 301; the memory is used to store programs; the processor executes the program to implement the method described above.
[0106] and Figure 1 Corresponding to the method, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a program, and the program is executed by a processor to implement the method as described above.
[0107] The embodiment of the present invention also discloses a computer program product or a computer program, wherein the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device can read the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes Figure 1 The method shown.
[0108] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0109] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0110] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0111] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0112] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0113] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0114] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0115] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0116] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the described embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
Claims
1. A tunnel robot control method, characterized in that: The method comprises: Acquiring the movement speed of the robot and the image signal received by the robot; Performing up-sampling and splicing processing on the image signal to obtain an image pyramid; Performing point pair selection processing on the image pyramid to obtain a binary set; Inputting the binary set into a binary network for feature extraction processing to obtain image features; Perform frequency value calculation processing according to the image features and the motion speed to obtain a target frequency; The frequency of the robot is adjusted according to the target frequency to complete the control of the robot.
2. The method according to claim 1, characterized in that: The obtaining of the movement speed of the robot and the image signal received by the robot comprises: Obtaining the movement speed of the robot through a tachometer; The image signal is received in the form of a data stream through the data receiving module.
3. The method according to claim 1, characterized in that The up-sampling and splicing processing of the image signal to obtain an image pyramid includes: Performing up-sampling processing on the image signal to obtain an image block; The image block is intercepted and the bit number of the intercepted data is supplemented to obtain spliced data; A pyramid building process is performed on the spliced data to obtain an image pyramid.
4. The method according to claim 3, characterized in that The up-sampling of the image signal to obtain an image block comprises: Performing up-sampling processing on the image signal to obtain a pixel block; An upsampling process is performed on the pixel block to obtain an image block.
5. The method according to claim 3, characterized in that: The step of performing pyramid building processing on the spliced data to obtain an image pyramid includes: Performing interval acquisition processing on the stitching data to obtain a first layer of images; Performing equal-division cutting processing on the stitched data to obtain a second layer of image; Restoring the spliced data, and equally dividing the restored data to obtain a third layer of images; The first layer image, the second layer image and the third layer image are fused to obtain an image pyramid.
6. The method according to claim 1, characterized in that The performing point pair selection processing on the image pyramid to obtain a binary set includes: Randomly selecting the image pyramid to obtain a first position set and a second position set; Rotate the pixel points in the first position set and the pixel points in the second position set respectively to obtain a first pixel point set and a second pixel point set; Position correspondence processing is performed on the first pixel point set and the second pixel point set to obtain a binary set.
7. The method according to claim 1, characterized in that The performing frequency value calculation processing according to the image feature and the motion speed to obtain the target frequency includes: Performing vector processing on the image feature and the motion speed to obtain a feature vector and a speed vector; Adding the characteristic vector and the velocity vector to obtain a vector sum value, obtaining vector extreme difference values of the characteristic vector and the velocity vector through testing, and dividing the vector sum value by the vector extreme difference value to obtain an adjustment coefficient; The frequency extreme difference value of the processor of the robot is obtained, and the frequency extreme difference value is multiplied by the adjustment coefficient to obtain a target frequency.
8. A tunnel robot control device, characterized in that: The device comprises: The first module is used to obtain the movement speed of the robot and the image signal received by the robot; The second module is used to upsample and splice the image signal to obtain an image pyramid; The third module is used to perform point pair selection processing on the image pyramid to obtain a binary set; The fourth module is used to input the binary set into a binary network for feature extraction processing to obtain image features; A fifth module is used to calculate the frequency value according to the image features and the motion speed to obtain a target frequency; The sixth module is used to adjust the frequency of the robot according to the target frequency to complete the control of the robot.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor; The memory is used to store programs; The processor executes the program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Real-time hierarchal pyramid signal processing apparatus
CA1208791A
Method for dynamically adjusting frequency and voltage by Android equipment according to load
CN111324198A
Neural network optical flow estimation method and device realized by FPGA (Field Programmable Gate Array), and medium
CN114037731A
High-precision video speed measurement method and system, electronic equipment and storage medium
CN115619740A
Parameter acquisition method and device and electronic equipment
CN115705275A
