A high-quality neural network system suitable for single-chip microcomputer
By designing an applicable neural network system on the microcontroller, using lidar and binocular cameras to collect data, and combining it with the cloud database for feature extraction and annotation, the problem of large computational load of deep learning neural networks on the microcontroller is solved, and the accuracy of the data is improved. and route planning accuracy, achieving efficient image feature extraction and route planning.
Patent Information
- Application Number
- CN202110610538.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-01
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-06-01
AI Technical Summary
In the existing technology, deep learning neural networks equipped on microcontrollers have problems such as large amount of calculation, long training time, low data accuracy, and inaccurate feature annotation, making it difficult to achieve efficient image feature extraction and route planning on microcontrollers.
A high-quality neural network system suitable for single chip microcomputer is designed, including data acquisition module, feature extraction module, feature comparison module, information database building module, information extraction module, data analysis module, retrieval display module, data calling module and simulation test The module collects data through lidar and binocular cameras, extracts feature data in combination with the cloud database, performs data annotation and environment model construction, and improves data accuracy and route planning accuracy.
It improves the accuracy of image feature extraction and route planning, reduces computing power requirements, improves staff's work efficiency, and saves testing time.
Smart Images

Figure CN113222122B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of single-chip microcomputer and unmanned aerial vehicle vision technology, and in particular to a high-quality neural network system suitable for a single-chip microcomputer. Background Art
[0002] At present, deep learning neural networks have been developed relatively well. At the same time, with the development of deep learning neural networks, the computing power requirements of the network are getting higher and higher, but current computers can bear it. However, if you need to carry a neural network on a single-chip microcomputer, you cannot use a complex deep learning neural network. In order to allow the single-chip microcomputer to use it and retain the advantages of deep learning neural networks as much as possible, CjlNet was created. The existing deep learning neural network has a very high accuracy, but its training time and network complexity are also very considerable. Its computational load is very large, and there are extremely many trainable parameters. In addition, due to the introduction of regularization operations, the computational load is greatly increased. It is completely impossible to carry such a neural network on a single-chip microcomputer. CjlNet can usually achieve an accuracy of more than 85%, and CjlNet can be quantified and carried on a single-chip microcomputer. The speed of model training is also relatively fast. Therefore, it is particularly important to invent a high-quality neural network system suitable for single-chip microcomputers.
[0003] After searching, Chinese patent number CN112414401A discloses a UAV collaborative positioning system and method based on graph neural network. Although the invention has high positioning accuracy and strong anti-interference ability, it cannot extract enough image features, has low data accuracy, and requires high computing power. In addition, the existing high-quality neural network system suitable for single-chip microcomputers cannot accurately perform feature annotation when planning routes, and accidents are prone to occur during testing, requiring manual annotation by staff, which reduces staff work efficiency and wastes time. For this reason, we propose a high-quality neural network system suitable for single-chip microcomputers. Summary of the invention
[0004] The purpose of the present invention is to solve the defects in the prior art and to propose a high-quality neural network system suitable for a single-chip microcomputer.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A high-quality neural network system suitable for a single-chip microcomputer includes a data acquisition module, a feature extraction module, a feature comparison module, an information database construction module, an information extraction module, a data analysis module, a retrieval display module, a data call module and a simulation test module;
[0007] The feature extraction module is respectively connected to the data acquisition module and the feature comparison module in communication, the information database construction module is respectively connected to the feature comparison module and the information extraction module in communication, the data analysis module is respectively connected to the information extraction module, the data calling module and the retrieval display module in communication, and the simulation test module is connected to the data calling module in communication;
[0008] The data collection module includes a selection unit, an external information collection unit, an online data collection unit and a data processing unit.
[0009] Furthermore, the selection unit is used to analyze and judge the information collection method selected by the user through an external input device, wherein the input device is specifically one of a keyboard, a mouse or an electronic pen, and the specific analysis and judgment steps are as follows:
[0010] Step 1: The user inputs the information collection method through the input device;
[0011] Step 2: The selection unit receives the information input by the user, starts to analyze the data, and classifies it according to online crawling and field collection, and marks it as A and B respectively;
[0012] Step 3: If the user chooses both online crawling and field collection, it is marked as C;
[0013] The external information collection unit is used to receive B or C and start data collection. The specific data collection steps are as follows:
[0014] Step (1): The external information collection unit receives B or C and starts to activate the laser radar and binocular camera;
[0015] Step (2): The laser radar and the binocular camera start to collect external environment information in real time, and convert the collected information into environmental data through data conversion, and send it to the data processing unit;
[0016] The online data collection unit is used to receive A or C and perform data collection and processing on the online related data. The specific data collection steps are as follows:
[0017] Step 1: The online data collection unit receives A or C and starts to interact with the Internet;
[0018] Step 2: The user inputs the data keywords to be collected through the input device, and the online data collection unit starts to screen and collect data, and processes the collected data to generate parsed data, and sends it to the data processing unit;
[0019] The data processing unit is used to perform data analysis on the environmental data and the analytical data, and perform data optimization processing on them. The specific data optimization steps are as follows:
[0020] Ⅰ. If the data processing unit only receives environmental data, it performs image enhancement, mean filtering and noise removal on it to generate template data a;
[0021] II. If the data processing unit only receives the parsed data, it performs precision repair and comparison repair processing on it to generate template data b;
[0022] III. If the environmental data and the analytical data are received at the same time, the environmental data is subjected to image enhancement, mean filtering and noise removal, and the analytical data is subjected to precision repair and contrast repair. At the same time, the two sets of processed data are integrated to generate template data c.
[0023] Furthermore, the feature extraction module is used to receive template data a, template data b or template data c, and perform feature extraction processing on it. The specific feature extraction steps are as follows:
[0024] S1: The feature extraction module starts to interact with the external cloud database and extracts feature data from it;
[0025] S2: The feature extraction module extracts a set of data from the template data a, the template data b or the template data c, and processes it to generate comparison data;
[0026] S3: Perform feature comparison between the feature data and the comparison data, mark the part consistent with the feature data, and process it to generate labeled data.
[0027] Furthermore, the feature comparison module is used to receive the annotation data and perform data annotation processing on the remaining template data a, template data b or template data c to generate construction data, and send it to the information database construction module;
[0028] The information database construction module is used to receive construction data, process it to generate storage data, and classify and store it. The specific classification and storage steps are as follows:
[0029] SS1: Classify the construction data according to the landmarks and obstacles, and mark them as D and E respectively;
[0030] SS2: Arrange D and E in order according to the order in which the data are generated.
[0031] Further, the information extraction module is used to extract D and E and send them to the data analysis module;
[0032] The data analysis module is used to perform data analysis on D and E. The specific data analysis steps are as follows:
[0033] P1: The data analysis module receives D and E and starts to build the corresponding environment model;
[0034] P2: The environment model is constructed, and the corresponding positions of D and E on the environment model are marked;
[0035] P3: After the environment model is labeled, route planning begins. Planning data is generated through data compression and temporarily stored.
[0036] Furthermore, the data calling module is used for the user to select the required planning data, and at the same time, it is called from the data analysis module and sent to the simulation test module;
[0037] The simulation test module is used to perform test optimization processing on the planning data and generate result data through data conversion.
[0038] Furthermore, the retrieval display module is used to search for planning data of a corresponding time period when a user needs to view planning data, and the specific retrieval steps are as follows:
[0039] PP1: The user enters the primary time period X to be searched in the search display module;
[0040] PP2: The user enters the primary time period X and then enters the secondary time period x;
[0041] PP3: After the user inputs the primary time period X and the secondary time period x, the search and display module will retrieve and display the content required by the user from the data analysis module.
[0042] Compared with the prior art, the present invention has the following beneficial effects:
[0043] 1. The present invention is provided with a feature extraction module. When the data processing unit generates environmental data and analytical data through data conversion processing, the feature extraction module starts to interact with the external cloud database and extracts corresponding feature data, and compares it with the comparison data to generate annotation data. The feature comparison module performs data annotation processing on the annotation data and the template data to generate construction data, which can extract sufficient image features, improve data accuracy, and reduce computing power requirements;
[0044] 2. The present invention is provided with a data analysis module. The information extraction module extracts relevant data from the information database construction module and sends it to the data analysis module. The data analysis module receives the data and starts to construct an environmental model for it at the same time, and marks the obstacles and markers on the model. It can accurately mark the obstacles and markers on the environmental model, improve the accuracy of route planning, reduce the accident rate, improve the work efficiency of staff, and save testing time. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0046] Figure 1 This is a system block diagram of a high-quality neural network system suitable for a single-chip microcomputer proposed by the present invention. DETAILED DESCRIPTION
[0047] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0048] In the description of the present invention, it is necessary to understand that the terms "upper", "lower", "front", "back", "left", "right", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0049] Reference Figure 1 , a high-quality neural network system suitable for single-chip microcomputer, including data acquisition module, feature extraction module, feature comparison module, information database construction module, information extraction module, data analysis module, retrieval display module, data calling module and simulation test module;
[0050] Among them, the feature extraction module is respectively connected to the data acquisition module and the feature comparison module in communication, the information database construction module is respectively connected to the feature comparison module and the information extraction module in communication, the data analysis module is respectively connected to the information extraction module, the data calling module and the retrieval display module in communication, and the simulation test module is connected to the data calling module in communication;
[0051] The data collection module includes a selection unit, an external information collection unit, an online data collection unit and a data processing unit.
[0052] The selection unit is used to analyze and determine the information collection method selected by the user through an external input device, wherein the input device is specifically one of a keyboard, a mouse or an electronic pen.
[0053] This embodiment provides an analysis and judgment method, and its specific analysis and judgment steps are as follows:
[0054] Step 1: The user inputs the information collection method through the input device;
[0055] Step 2: The selection unit receives the information input by the user, starts to analyze the data, and classifies it according to online crawling and field collection, and marks it as A and B respectively;
[0056] Step 3: If the user chooses both online crawling and field collection, it is marked as C;
[0057] The external information collection unit is used to receive B or C and start data collection.
[0058] This embodiment provides a data collection method, and its specific data collection steps are as follows:
[0059] Step (1): The external information collection unit receives B or C and starts to activate the laser radar and binocular camera;
[0060] Step (2): The laser radar and the binocular camera start to collect external environment information in real time, and convert the collected information into environmental data through data conversion, and send it to the data processing unit;
[0061] The online data collection unit is used to receive A or C and perform data collection and processing on online related data.
[0062] This embodiment provides a data collection method, and its specific data collection steps are as follows:
[0063] Step 1: The online data collection unit receives A or C and starts to interact with the Internet;
[0064] Step 2: The user inputs the data keywords to be collected through the input device, and the online data collection unit starts to screen and collect data, and processes the collected data to generate parsed data, and sends it to the data processing unit;
[0065] The data processing unit is used to analyze the environmental data and the analytical data, and perform data optimization processing on them.
[0066] Specifically, the data optimization steps of the data processing unit are as follows:
[0067] Ⅰ. If the data processing unit only receives environmental data, it performs image enhancement, mean filtering and noise removal on it to generate template data a;
[0068] II. If the data processing unit only receives the parsed data, it performs precision repair and comparison repair processing on it to generate template data b;
[0069] III. If the environmental data and the analytical data are received at the same time, the environmental data is subjected to image enhancement, mean filtering and noise removal, and the analytical data is subjected to precision repair and contrast repair. At the same time, the two sets of processed data are integrated to generate template data c.
[0070] The feature extraction module is used to receive template data a, template data b or template data c, and perform feature extraction processing on it.
[0071] The specific working principle of image transmission in this embodiment is as follows: when the image is transmitted to the backbone of the network, it will circulate through the convolution layer, pooling layer, activation layer, and then pass through a flatten layer and a fully connected layer. In some places in the backbone of the network, a jump line will be drawn to lead the output of the activation layer, change the dimension through the convolution layer and pooling layer, and then add it back to the corresponding position of the backbone of the network.
[0072] This embodiment provides a feature extraction method, and its specific feature extraction steps are as follows:
[0073] S1: The feature extraction module starts to interact with the external cloud database and extracts feature data from it;
[0074] S2: The feature extraction module extracts a set of data from the template data a, the template data b or the template data c, and processes it to generate comparison data;
[0075] S3: Perform feature comparison between the feature data and the comparison data, mark the part consistent with the feature data, and process it to generate labeled data.
[0076] The feature comparison module is used to receive the annotation data and perform data annotation processing on the remaining template data a, template data b or template data c to generate construction data, and send it to the information database construction module;
[0077] The information database construction module is used to receive construction data, process it to generate storage data, and classify and store it.
[0078] This embodiment provides a classification storage method, and its specific classification storage steps are as follows:
[0079] SS1: Classify the construction data according to the landmarks and obstacles, and mark them as D and E respectively;
[0080] SS2: Arrange D and E in order according to the order in which the data are generated.
[0081] The information extraction module is used to extract D and E and send them to the data analysis module;
[0082] The data analysis module is used to analyze and process data of D and E.
[0083] Specifically, the data analysis steps of the data analysis module are as follows:
[0084] P1: The data analysis module receives D and E and starts to build the corresponding environment model;
[0085] P2: The environment model is constructed, and the corresponding positions of D and E on the environment model are marked;
[0086] P3: After the environment model is labeled, route planning begins. Planning data is generated through data compression and temporarily stored.
[0087] The data calling module is used for the user to select the required planning data, and at the same time calls it from the data analysis module and sends it to the simulation test module;
[0088] The simulation test module is used to perform test optimization processing on the planning data and generate result data through data conversion.
[0089] The retrieval display module is used to retrieve the planning data of the corresponding time period when the user needs to view the planning data.
[0090] This embodiment provides a retrieval method, and the specific retrieval steps are as follows:
[0091] PP1: The user enters the primary time period X to be searched in the search display module;
[0092] PP2: The user enters the primary time period X and then enters the secondary time period x;
[0093] PP3: After the user inputs the primary time period X and the secondary time period x, the search and display module will retrieve and display the content required by the user from the data analysis module.
[0094] The application of this embodiment in drones is as follows: drones will encounter many obstacles during operation. When it is necessary to identify some common obstacles encountered, CjlNet can be used to make a data set and train it by itself. After quantification, it is mounted on a single-chip microcomputer for use. When using CjlNet, you only need to modify the configuration part in the training code file to use CjlNet in different actual projects. In addition, a data enhancement module is provided in the code file, and the use of the data enhancement module can improve the training accuracy.
[0095] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. An image analysis and processing system, characterized in that: It includes data acquisition module, feature extraction module, feature comparison module, information database construction module, information extraction module, data analysis module, retrieval display module, data call module and simulation test module; The feature extraction module is respectively connected to the data acquisition module and the feature comparison module in communication, the information database construction module is respectively connected to the feature comparison module and the information extraction module in communication, the data analysis module is respectively connected to the information extraction module, the data calling module and the retrieval display module in communication, and the simulation test module is connected to the data calling module in communication; The data acquisition module includes a selection unit, an external information collection unit, an online data collection unit and a data processing unit; The selection unit is used to analyze and judge the information collection method selected by the user through an external input device, wherein the input device is specifically one of a keyboard, a mouse or an electronic pen, and the specific analysis and judgment steps are as follows: Step 1: The user inputs the information collection method through the input device; Step 2: The selection unit receives the information input by the user, starts to analyze the data, and classifies it according to online crawling and field collection, and marks it as A and B respectively; Step 3: If the user chooses both online crawling and field collection, it is marked as C; The external information collection unit is used to receive B or C and start data collection. The specific data collection steps are as follows: Step (1): The external information collection unit receives B or C and starts to activate the laser radar and binocular camera; Step (2): The laser radar and the binocular camera start to collect external environment information in real time, and convert the collected information into environmental data through data conversion, and send it to the data processing unit; The online data collection unit is used to receive A or C and perform data collection and processing on the online related data. The specific data collection steps are as follows: Step 1: The online data collection unit receives A or C and starts to interact with the Internet; Step 2: The user inputs the data keywords to be collected through the input device, and the online data collection unit starts to screen and collect data, and processes the collected data to generate parsed data, and sends it to the data processing unit; The data processing unit is used to perform data analysis on the environmental data and the analytical data, and perform data optimization processing on them. The specific data optimization steps are as follows: Ⅰ. If the data processing unit only receives environmental data, it performs image enhancement, mean filtering and noise removal on it to generate template data a; II. If the data processing unit only receives the parsed data, it performs precision repair and comparison repair processing on it to generate template data b; III. If the environmental data and the analytical data are received at the same time, the environmental data is subjected to image enhancement, mean filtering and noise removal, and the analytical data is subjected to precision repair and contrast repair. At the same time, the two sets of processed data are subjected to data integration processing to generate template data c; The feature extraction module is used to receive template data a, template data b or template data c, and perform feature extraction processing on it. The specific feature extraction steps are as follows: S1: The feature extraction module starts to interact with the external cloud database and extracts feature data from it; S2: The feature extraction module extracts a set of data from the template data a, the template data b or the template data c, and processes it to generate comparison data; S3: perform feature comparison between the feature data and the comparison data, mark the part that is consistent with the feature data, and process it to generate labeled data; The feature comparison module is used to receive the annotation data and perform data annotation processing on the remaining template data a, template data b or template data c to generate construction data, and send it to the information database construction module; The information database construction module is used to receive construction data, process it to generate storage data, and classify and store it. The specific classification and storage steps are as follows: SS1: Classify the construction data according to the landmarks and obstacles, and mark them as D and E respectively; SS2: Arrange D and E in order according to the order in which the data are generated; The information extraction module is used to extract D and E and send them to the data analysis module; The data analysis module is used to perform data analysis on D and E. The specific data analysis steps are as follows: P1: The data analysis module receives D and E and starts to build the corresponding environment model; P2: The environment model is constructed, and the corresponding positions of D and E on the environment model are marked; P3: After the environment model is labeled, route planning begins. Planning data is generated through data compression and temporarily stored.
2. An image analysis and processing system according to claim 1, characterized in that: The data calling module is used for the user to select the required planning data, and at the same time calls it from the data analysis module and sends it to the simulation test module; The simulation test module is used to perform test optimization processing on the planning data and generate result data through data conversion.
3. An image analysis and processing system according to claim 1, characterized in that: The retrieval display module is used to search for planning data of a corresponding time period when the user needs to view planning data, and the specific retrieval steps are as follows: PP1: The user enters the primary time period X to be searched in the search display module; PP2: The user enters the primary time period X and then enters the secondary time period x; PP3: After the user inputs the primary time period X and the secondary time period x, the search and display module will retrieve and display the content required by the user from the data analysis module.
