Automatic detection and identification method based on intelligent carrying vehicle

By integrating hardware such as McCram wheel body and OPEN ART mini camera on the smart car, combined with greedy algorithm and inertial navigation, the smart car can automatically detect and identify a variety of items, solving the problem that cannot be achieved in the existing technology. Automatic identification and classification of handling problems improves the efficiency and accuracy of automated handling of smart vehicles.

CN118707944APending Publication Date: 2024-09-27JIANGSU UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410615788.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing smart vehicles cannot automatically detect and automatically identify and carry a variety of different items, making it difficult for robotic arms to accurately pick up, classify and carry.

Method used

The McCram wheel body is equipped with 1024-line orthogonal encoder, ICM20602 gyroscope, OPEN ART mini camera and other hardware. It obtains the item coordinates through wide-angle scanning, uses a greedy algorithm to calculate the optimal transportation path, and combines inertial navigation and PID control to achieve accuracy. moving, and classifying and handling items through model recognition and image processing.

Benefits of technology

It enables smart cars to automatically detect and identify a variety of items, ensuring that robotic arms can accurately pick up, classify and carry, and improves the efficiency and accuracy of automated handling of smart cars.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118707944A
    Figure CN118707944A
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent carrying vehicles, in particular to an automatic detection and identification method based on an intelligent carrying vehicle. A 1024-line orthogonal encoder, an ICM20602 gyroscope, an OPEN ART mini camera, Bluetooth, a customized acrylic plate, an electromagnet, a 12V lithium battery, a storage box, a mechanical arm, a steering engine, a TFT-LCD, an IPS114 screen, an RT1064-PCB main control board, a driving board and a power board are installed on the Mecanum wheel vehicle body, and the 1024-line orthogonal encoder is embedded into a motor of the Mecanum wheel. According to the automatic detection and recognition method based on the intelligent carrying vehicle, image information in the environment is obtained in real time by taking a camera as eyes of a vehicle body, a coordinate position is obtained by carrying out pattern collection on a target object, then a carrying path is calculated according to coordinates, and model recognition is carried out on a collected pattern, so that the carrying path is more accurate. And carrying after identification, judgment and classification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of transport smart vehicles, and in particular to an automatic detection and identification method based on a transport smart vehicle. Background Art

[0002] With the rapid development of artificial intelligence and autonomous driving technology, the development of smart cars in industry has become a hot topic in today's science and technology field. Cameras, as the eyes of smart cars, can obtain image information in the environment, which is then controlled by the system and the robotic arm grabs objects. However, in this field, after the camera takes samples, although it can grab objects after calculation, it is unable to automatically detect and automatically identify and transport multiple different types of objects. Summary of the invention

[0003] The purpose of the present invention is to provide an automatic detection and identification method based on a transport intelligent vehicle to solve the problems raised in the above background technology.

[0004] To achieve the above purpose, the present invention provides the following technical solution: an automatic detection and identification method based on a transport smart vehicle, the hardware comprising:

[0005] A McRae wheel body, on which a 1024-line quadrature encoder, an ICM20602 gyroscope, an OPEN ART mini camera, Bluetooth, a custom acrylic plate, an electromagnet, a 12V lithium battery, a storage box, a robotic arm, a servo, a TFT-LCD, an IPS114 screen, an RT1064-PCB main control board, a drive board and a power board are installed, the 1024-line quadrature encoder is inlaid with the motor of the McRae wheel, the ICM20602 gyroscope is placed at the geometric center of the McRae wheel body, the custom acrylic plate is installed directly above the McRae wheel body, the 12V lithium battery is installed at the rear end of the McRae wheel body, the storage box is placed above the acrylic plate, and the robotic arm is at the front end of the McRae wheel body;

[0006] An automatic detection and identification method based on a transport smart vehicle comprises the following steps:

[0007] S1, OPEN ART mini1 wide-angle scan the entire set range, obtain the approximate coordinate position of the object and send the data encoding to the microcontroller;

[0008] S2, the microcontroller decodes the data and obtains the optimal transport path through a greedy algorithm;

[0009] S3, the smart car calculates the heading angle with the gyroscope to lock the direction of the vehicle body, and uses inertial navigation to move the vehicle to the first object position;

[0010] S4, OPEN ART mini2 detects the object, returns the coordinates of the object in the field of view, and combines the coordinates of the vehicle body to correct it to the position where the robot arm can just pick it up;

[0011] S5, OPEN ART mini3 starts model recognition and sends the recognized content to the microcontroller;

[0012] S6, the microcontroller makes a decision, controls the robot arm to pick it up to the designated location of the vehicle body storage box and move to the next location;

[0013] S7: After all items are picked up, the smart car will move them to the designated location according to their classification and return to the starting point.

[0014] Preferably, the S1 comprises the following steps:

[0015] 1) Set the serial communication (RXD, TXD) baud rate;

[0016] 2) OPEN ART mini1 wide-angle target detection object fuzzy coordinates;

[0017] 3) Return the coordinate information of each object in the field of view;

[0018] 4) 0xAA is used as the packet header, 0xFF is used as the packet tail, and 5 bytes are used as a frame of data. Each frame of data has a frame header 0xA0, and the remaining 4 bytes are data frames. The compressed BCD code is used for encoding, and the transmission data accuracy is 1mm. The data transmission for target locking does not use the packet structure, but only the frame structure, with 0xfx as the frame header, where x can be 0 or 1, representing the validity of the current data, followed by 2 bytes of data, the first byte is the x coordinate, and the second byte is the y coordinate;

[0019] 5) Send frame by frame through uart_write(data).

[0020] Preferably, S2 comprises the following steps:

[0021] 1) Push the received data from the packet header to the packet tail into the buffer, then parse the data in the buffer frame by frame under the control of the key, decode the target lock information and perform an AND operation of 0xF0 on the received data (if it is still 0xF0 after the AND operation, it is judged as a frame header), and after obtaining the frame header, push the following 2 bytes of data into the buffer for control;

[0022] 2) Use the greedy algorithm to obtain the shortest distance of each value and find the optimal path in sequence. Preferably, S3 includes the following steps:

[0023] 1) Collect 2000 gyroscope z-axis data, calculate the mean, and then subtract this value in each subsequent operation. Set the data dead zone according to the noise standard deviation (the fluctuation above and below the mean is not considered valid data), and perform Kalman filtering on the data after dead zone filtering.

[0024] 2) Calculate the xy distance based on the point coordinates and then use the encoder integration and distance closed loop to let the car run to the corresponding position.

[0025] Preferably, S4 comprises the following steps:

[0026] 1) OPEN ART mini2 finds the object through the find_blob color block and returns the coordinates of its center point;

[0027] 2) Use the position PID to control the vehicle body to move to the position where the robot arm can just pick it up based on the real-time coordinates and expected coordinates it returns.

[0028] Preferably, S5 comprises the following steps:

[0029] 1) The images captured by OpenArt mini are quite different from the clear photos in the original dataset. In order to improve the reliability of the dataset, the dataset must be augmented to a certain extent, and then the images are processed to adjust the brightness, contrast and resolution, etc., gradually approaching the display effect of the sample. According to the processing parameters, other images are processed in the same way to obtain data that is closer to reality.

[0030] 2) On this basis, more than 2,000 images were rotated, adjusted in brightness, contrast, hue, and Gaussian noise to obtain a larger data set;

[0031] 3) Package the above dataset into a project file, set the ratio of training set and test set, and import the model for training.

[0032] 4) The model structure uses the mobilenetV2 network, and the initial weights use the previously trained imagenet weights. After that, you can start training by adjusting the training parameters.

[0033] 5) After quantization to tflite, the model size is less than 1 megabyte. When deployed on OpenArtmini, the frame rate when recognizing objects can reach about 5fps, which can roughly meet the speed requirements.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] The automatic detection and identification method based on the transport smart vehicle uses the camera as the eyes of the vehicle body to obtain image information in the environment in real time, and obtains the coordinate position by collecting patterns of the target object, then calculates the transport path according to the coordinates, and performs model recognition on the collected graphics, and then carries out the transport after identification, judgment and classification. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of the modules of the present invention. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0039] In the description of this patent, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", and "set" should be understood in a broad sense, for example, it can be fixedly connected or set, or it can be detachably connected or set, or connected or set in one piece. For ordinary technicians in this field, the specific meanings of the above terms in this patent can be understood according to specific circumstances.

[0040] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "several" is two or more, unless otherwise clearly and specifically defined.

[0041] The invention discloses an automatic detection and identification method hardware based on a handling intelligent vehicle, comprising a McRae wheel body, on which a 1024-line orthogonal encoder, an ICM20602 gyroscope, an OPEN ART mini camera, Bluetooth, a customized acrylic plate, an electromagnet, a 12V lithium battery, a storage box, a mechanical arm, a steering gear, a TFT-LCD, an IPS114 screen, an RT1064-PCB main control board, a drive board and a power board are installed, the 12V lithium battery is installed at the rear end of the McRae wheel body, the storage box is placed above the acrylic plate, and the mechanical arm is at the front end of the McRae wheel body; the 1024-line orthogonal encoder is inlaid with a McRae wheel motor (a signal port and a power port are connected to the drive board), the signal port and the power port are connected to the main control board, used to accumulate pulse values ​​and convert them into real-time distances and coordinates and connected to the main control board, the ICM20602 gyroscope is placed at the geometric center of the McRae wheel body, the signal port and the power port are connected to the main control board, used to obtain a Yaw value to adjust the direction of the vehicle body, and the OPEN ART The mini cameras are mounted on carbon rods and are used for target detection, target correction, and model recognition respectively. The signal port and power port are connected to the main control board. The customized acrylic plate is installed directly above the McRae wheel body to carry the storage box. The electromagnet is installed on the top of the robotic arm. The signal port and power port are connected to the main control board to pick up objects with iron sheets. The 12V lithium battery is placed at the rear end of the McRae wheel body to provide energy for the entire vehicle. The storage box is placed on the acrylic plate to carry objects. The robotic arm (consisting of two degrees of freedom servos) is placed at the front end of the McRae wheel body to place objects in the designated position. The signal port and power port are connected to the main control board. The TFT-LCD and IPS114 screens are placed on the top of the vehicle. The signal port and power port are connected to the main control board to display data parameters and images. The main control board is used to allocate pins to each module. The driver board is used to drive the motor to rotate. The power board is used to provide stable power for each module.

[0042] See also Figure 1 As shown, a technical solution provided by the present invention is:

[0043] An automatic detection and identification method based on a transport smart vehicle comprises the following steps:

[0044] S1, OPEN ART mini1 wide-angle scan the entire set range, obtain the approximate coordinate position of the object and send the data encoding to the microcontroller;

[0045] Specifically:

[0046] 1) Set the serial communication (RXD, TXD) baud rate;

[0047] 2) OPEN ART mini1 wide-angle target detection object fuzzy coordinates;

[0048] 3) Return the coordinate information of each object in the field of view;

[0049] 4) 0xAA is used as the packet header, 0xFF is used as the packet tail, and 5 bytes are used as a frame of data. Each frame of data has a frame header 0xA0, and the remaining 4 bytes are data frames. The compressed BCD code is used for encoding, and the transmission data accuracy is 1mm. The data transmission for target locking does not use the packet structure, but only the frame structure, with 0xfx as the frame header, where x can be 0 or 1, representing the validity of the current data, followed by 2 bytes of data, the first byte is the x coordinate, and the second byte is the y coordinate;

[0050] 5) Send frame by frame through uart_write(data).

[0051] S2, the microcontroller decodes the data and obtains the optimal transport path through a greedy algorithm;

[0052] Specifically:

[0053] 1) Push the received data from the packet header to the packet tail into the buffer, then parse the data in the buffer frame by frame under the control of the key, decode the target lock information and perform an AND operation of 0xF0 on the received data (if it is still 0xF0 after the AND operation, it is judged as a frame header), and after obtaining the frame header, push the following 2 bytes of data into the buffer for control;

[0054] 2) Use the greedy algorithm to obtain the shortest distance of each value and find the optimal path in turn.

[0055] S3, the smart car calculates the heading angle with the gyroscope to lock the direction of the vehicle body, and uses inertial navigation to move the vehicle to the first object position;

[0056] Specifically:

[0057] 1) Collect 2000 gyroscope z-axis data, calculate the mean, and then subtract this value in each subsequent operation. Set the data dead zone according to the noise standard deviation (the fluctuation above and below the mean is not considered valid data), and perform Kalman filtering on the data after dead zone filtering.

[0058] 2) Calculate the xy distance based on the point coordinates and then use the encoder integration and distance closed loop to let the car run to the corresponding position.

[0059] S4, OPEN ART mini2 detects the object, returns the coordinates of the object in the field of view, and combines the coordinates of the vehicle body to correct it to the position where the robot arm can just pick it up;

[0060] Specifically:

[0061] 1) OPEN ART mini2 finds the object through the find_blob color block and returns the coordinates of its center point;

[0062] 2) Use the position PID to control the vehicle body to move to the position where the robot arm can just pick it up based on the real-time coordinates and expected coordinates it returns.

[0063] S5, OPEN ART mini3 starts model recognition and sends the recognized content to the microcontroller;

[0064] Specifically:

[0065] 1) The images captured by OpenArt mini are quite different from the clear photos in the original dataset. In order to improve the reliability of the dataset, the dataset must be augmented to a certain extent, and then the images are processed to adjust the brightness, contrast and resolution, etc., gradually approaching the display effect of the sample. According to the processing parameters, other images are processed in the same way to obtain data that is closer to reality.

[0066] 2) On this basis, more than 2,000 images were rotated, adjusted in brightness, contrast, hue, and Gaussian noise to obtain a larger data set;

[0067] 3) Package the above dataset into a project file, set the ratio of training set and test set, and import the model for training.

[0068] 4) The model structure uses the mobilenetV2 network, and the initial weights use the previously trained imagenet weights. After that, you can start training by adjusting the training parameters;

[0069] 5) After quantization to tflite, the model size is less than 1 megabyte. When deployed on OpenArtmini, the frame rate when recognizing objects can reach about 5fps, which can roughly meet the speed requirements.

[0070] S6, the microcontroller makes a decision, controls the robot arm to pick it up to the designated location of the vehicle body storage box and move to the next location;

[0071] S7. After all items are picked up, the smart car will move them to the designated location according to their classification and return to the starting point.

[0072] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. An automatic detection and identification method based on a transport smart vehicle, characterized in that : An automatic detection and identification method hardware based on a transport smart car includes a McRae wheel body, on which a 1024-line orthogonal encoder, an ICM20602 gyroscope, an OPEN ART mini camera, Bluetooth, a custom acrylic plate, an electromagnet, a 12V lithium battery, a storage box, a mechanical arm, a steering gear, a TFT-LCD, an IPS114 screen, an RT1064-PCB main control board, a drive board and a power board are installed, the 1024-line orthogonal encoder is inlaid with the motor of the McRae wheel, the ICM20602 gyroscope is placed at the geometric center of the McRae wheel body, the custom acrylic plate is installed directly above the McRae wheel body, the 12V lithium battery is installed at the rear end of the McRae wheel body, the storage box is placed above the acrylic plate, and the mechanical arm is at the front end of the McRae wheel body; An automatic detection and identification method based on a transport smart vehicle comprises the following steps: S1, OPEN ART mini1 wide-angle scan the entire set range, obtain the approximate coordinate position of the object and send the data encoding to the microcontroller; S2, the microcontroller decodes the data and obtains the optimal transport path through a greedy algorithm; S3, the smart car calculates the heading angle with the gyroscope to lock the direction of the vehicle body, and uses inertial navigation to move the vehicle to the first object position; S4, OPEN ART mini2 detects the object, returns the coordinates of the object in the field of view, and combines the coordinates of the vehicle body to correct it to the position where the robot arm can just pick it up; S5, OPEN ART mini3 starts model recognition and sends the recognized content to the microcontroller; S6, the microcontroller makes a decision, controls the robot arm to pick it up to the designated location of the vehicle body storage box and move to the next location; S7. After all items are picked up, the smart car will move them to the designated location according to their classification and return to the starting point.

2. The automatic detection and identification method based on a transport intelligent vehicle according to claim 1 is characterized in that: The S1 comprises the following steps: 1) Set the serial communication (RXD, TXD) baud rate; 2) OPEN ART mini1 wide-angle target detection object fuzzy coordinates; 3) Return the coordinate information of each object in the field of view; 4) 0xAA is used as the packet header, 0xFF is used as the packet tail, and 5 bytes are used as a frame of data. Each frame of data has a frame header 0xA0, and the remaining 4 bytes are data frames. The compressed BCD code is used for encoding, and the transmission data accuracy is 1mm. The data transmission for target locking does not use the packet structure, but only the frame structure, with 0xfx as the frame header, where x can be 0 or 1, representing the validity of the current data, followed by 2 bytes of data, the first byte is the x coordinate, and the second byte is the y coordinate; 5) Send frame by frame through uart_write(data).

3. The automatic detection and identification method based on a transport intelligent vehicle according to claim 1 is characterized in that: The S2 comprises the following steps: 1) Push the received data from the packet header to the packet tail into the buffer, then parse the data in the buffer frame by frame under the control of the key, decode the target lock information and perform an AND operation of 0xF0 on the received data (if it is still 0xF0 after the AND operation, it is judged as a frame header), and after obtaining the frame header, push the following 2 bytes of data into the buffer for control; 2) Use the greedy algorithm to obtain the shortest distance of each value and find the optimal path in turn.

4. The automatic detection and identification method based on a transport intelligent vehicle according to claim 1 is characterized in that: The S3 comprises the following steps: 1) Collect 2000 gyroscope z-axis data, calculate the mean, and then subtract this value in each subsequent operation. Set the data dead zone according to the noise standard deviation (the fluctuation above and below the mean is not considered valid data), and perform Kalman filtering on the data after dead zone filtering. 2) Calculate the xy distance based on the point coordinates and then use the encoder integration and distance closed loop to let the car run to the corresponding position.

5. The automatic detection and identification method based on a transport intelligent vehicle according to claim 1 is characterized in that: The S4 comprises the following steps: 1) OPEN ART mini2 finds the object through the find_blob color block and returns the coordinates of its center point; 2) Use the position PID to control the vehicle body to move to the position where the robot arm can just pick it up based on the real-time coordinates and expected coordinates it returns.

6. The automatic detection and identification method based on a transport intelligent vehicle according to claim 1, characterized in that: The S5 comprises the following steps: 1) The images captured by OpenArt mini are quite different from the clear photos in the original dataset. In order to improve the reliability of the dataset, the dataset must be augmented to a certain extent, and then the images are processed to adjust the brightness, contrast and resolution, etc., gradually approaching the display effect of the sample. According to the processing parameters, the same processing is performed on other images. Thus, data closer to reality can be obtained; 2) On this basis, more than 2,000 images were rotated, adjusted in brightness, contrast, hue, and Gaussian noise to obtain a larger data set; 3) Package the above dataset into a project file and set the ratio of training set and test set. Import the model for training; 4) The model structure uses the mobilenetV2 network, and the initial weights use the previously trained imagenet weights. After that, you can start training by adjusting the training parameters; 5) After quantization to tflite, the model size is less than 1 megabyte. When deployed on OpenArtmini, the frame rate when recognizing objects can reach about 5fps, which can roughly meet the speed requirements.