Abstract
With the popularization of open borrowing, it is urgent for major libraries to explore new collection classification and identification systems to assist or replace librarians in their daily book cataloguing work. The messy books can be marked according to invisible colors, which puts forward a new method of library classification. In the algorithm used to detect image edges, by looking for the traditional sensitivity measurement system, the best parameters are applied to the wrong book image edges, and the test results are verified to find the best parameter range. A two-dimensional algorithm is used to segment the information element matrix to reduce sound. The results show that the image edge test is effective and reduces the influence of noise on the image test. The self-adjustment control algorithm of a single neuron is used to control the robot orbit, which makes the robot not only react quickly, but also reduce a small part of the error in meeting the actual needs of the robot. The effect on the result is getting smaller and smaller.
Introduction
With the continuous development of our economy, people’s pursuit of life is becoming higher and higher, which promotes the continuous development of open reading. With the popularity of this form of reading and borrowing and the constant recognition of this kind of borrowing, open simplicity has become a phenomenon. Of course, the emergence of this phenomenon is of great benefit, but it is inevitable that there will also be some chaos. For example, many books in libraries are placed in the wrong place. This not only affects the effective circulation of books, but also brings management problems to the effective circulation of books. The digitization and automation of traditional work is a priority for the library sector, and many libraries are close to being able to return books through computers, which greatly facilitates users. However, in fact, the author finds that the current digitization process of libraries raises an unsolved problem, that is, the collection has not been classified and identified. The classification of digital collection also requires librarians to manually classify and identify books every day, and to classify books returned by readers, which is not only inefficient, but also easy to lead to physical and mental fatigue and mental stress. In addition, libraries must classify and identify books manually. Borrowing makes it difficult to prevent the clutter of books on shelves, which not only prevents readers from finding the required books in time, but also hinders the provision of library services. To this end, it is urgent to study the new classification and identification system of library collections in order to assist or replace librarians in dealing with daily errors and books. The implementation of the system will be important and useful in assisting librarians to improve their management, reduce workload, improve efficiency and improve the overall quality of library services.
This paper proposes a new method of library classification and identification according to invisible color marking. Improve the efficiency and accuracy of library classification and identification, and maintain the traditional library borrowing methods. The invisible color marking technology is very simple, and it is cost-effective and easy to introduce automatic robots. at the same time, the test image border is based on ant algorithm. these algorithms seek the best parameter collocation range by understanding the traditional TPS system, applying the best parameters to the wrong book image border to detect and verify the test results, and dividing the model into plasma. Information elements use two-dimensional algorithm, the results show that image edge testing is effective, reducing the impact of noise on image testing. The self-adjustment control algorithm of a single neuron is used to control the robot orbit, which makes the robot not only react quickly, but also reduce a small part of the error in meeting the actual needs of the robot. The effect on the result is getting smaller and smaller.
Related work
As Wu Yunxia and Xia Ming mentioned in the literature [1], nearly 25 libraries have used this classification system by 2014. Although these libraries are all in the United States, it is not difficult to find that there are many other libraries in other countries using these systems. Some libraries in Australia and Canada, for example, are already in use [2]. The literature, many scientists have demonstrated the application of robot technology on library management line, which can use bar code reader to scan the specific book information collected and compare the scanning information with the information entered by the user. It uses this method to find books, wrong books can be rearranged, and robot data is used to keep books in order. Literature [3], some scientists in Singapore have designed a fully automatic robot that can travel freely through the library during the day or at night, and can help librarians sort. This feature is achieved by scanning FRID labels to get lost and misplaced books, which is very accurate, according to some data, sometimes as accurate as 99%. As described in the literature [4], the Humboldt University Library in Germany designed a mobile robot that can travel to and from warehouses, transport and retrieve publications, when cross-storey transportation is required, the robot moves to the elevator entrance, elevator doors have metal detectors, Elevator automatically opens, once the robot leaves the elevator, the elevator automatically closes, its basic function is to automatically transmit between the office and the functional book area that requires bookshelves and classifications. The literature [5] shows that Johns Hopkins University SuthakornJ and others have designed a robot system, which is a robot that searches the books that readers need on one bookshelf and automatically puts them on another device. It can automatically flip the web page and enable readers to read from afar. Literature [6] shows that the TomizawaT of Tsukuba University in Japan designed a remote operating system to enable people to read books remotely with mobile manipulators and to consult library books. According to the literature [7], Professor Chen Jinyuan of the School of computer and Technology of Nanjing University and his team have successfully developed a new intelligent robot for library management. So that books and their inventory can be quickly and accurately classified and help readers find the right books. Intelligent robots, including scanner equipment, intelligent computer online query system and intelligent bookshelf, can help to find information obtained and stored through robot scanners in the library and can be shared in real time. Readers can obtain accurate information about the required books through the search system. Literature [8] examples of libraries that use science and technology to promote change, such as the Shanghai Library, the Hubei Library, the Hangzhou Xinhua Library, the Chengdu University of Technology Library and the Beijing Library; innovative advice to readers, such as the Shanghai Library Tooling “, The library can also help readers understand time, routes, etc., specially designed to meet the needs of children’s reading areas, a robot that can advise readers and tell stories for children; Ningbo University Park Library has introduced a robot that can also provide readers with advice. While waiting for a long time, readers say hello to readers and introduce the basic information of the library. Chengdu University of Technology Library launched a commercial version of the “small” robot to provide consulting services, effectively extending the time and space of library consulting services.
Document [9] introduces the book catalogue robot developed by Shanghai Science and Technology Company. The robot can classify books by some techniques, that is, manually labeling each book, and then identifying it as a reader robot running according to a predetermined route. After finding the bookshelf for cataloguing, it automatically identifies each book on the bookshelf and catalogs it. During cataloguing, the robot sends real-time information to the server, and librarians can display data through various models such as computer or telephone. Document [10] introduces the robotics technology developed by Guangzhou Robot Co., Ltd., which can be used in a variety of fields, including consulting, interpretation, information collection, wireless navigation, language interaction, interpersonal interaction, tactile interaction and automatic replenishment, in order to facilitate the management of library classification and identification [11–13].
Design of bookmark based on TRIZ principle
The necessity of innovative icons proposed in this paper can solve the following problems: displaying information about book logos, facilitating readers’ reading, facilitating librarians’ organization and classification, and allowing them to be applied to the intuitive identification of machines [14–16]. Make it have reliable recognition accuracy and ensure the economy of the object.
Rules for the arrangement of invisible colour labels
Guided by the TRIZ principles, this document proposes a new model of invisible bookmarks, printing bookmarks with ink that is not visible in color. in normal light, the ink is opaque, you can only see the cable number, and in ultraviolet light, you can see the color sequence corresponding to the book number. thus, the color of the cover is avoided in relation to the book label sequence [17, 18]. This marking not only makes it easier to classify and borrow books, but also makes it possible to borrow books by asking for book numbers. It also helps staff and machines identify books and update colors through electronic data. The ultraviolet fluorescent ink selected in this paper is a kind of luminous substance, which absorbs the energy under the sun, stores it, and finally displays it in the form of visible light [19–21]. Fluorescent ink can only glow under ultraviolet light, and its length is 365 nm wavelength, which can not only display its color, but also absorb the energy of light and enhance its own light output [22, 23]. We printed colorless ultraviolet fluorescent ink with a total length of 5 cm per unit on the original sealed unmoved monochromatic label. The color label structure is shown in Fig. 1.

Hidden Color Bookmark.
A rectangular label of 5 cm ×2.5 cm is determined according to the size of the paper label. There are five colors. From top to bottom, it represents the classification of 1, 2, 3, 4 and 5. The first five characters of the book number are color and alphabet and color and number comparison table, respectively. Comparison of colors and letters as show in Table 1, Comparison of colors and figures as show in Table 2.
Comparison of colors and letters
Comparison of colors and figures
The specific operational measures for the book registration process listed in Fig. 2 include: the entry of the basic library materials into the database by the librarian; the classification of books; and the choice of the first, second, third, fourth and fifth catalogues of the library, the finalization of the numbering according to the organizational rules for the application number, and the listing of the accounts for each category (including the alphabet and the account number), the finalization of all the necessary document numbers and the entry of the book numbers into the database unit [24–26].

Block diagram of book registration module.
First of all, the robot starts from its initial position, uses the electromagnetic guidance robot installed on the ground, starts from the starting point signal, tracks the electromagnetic installed on the ground, makes a judgment at any time during the movement, and stops the guidance immediately if there is an end signal on the electromagnetic conductor. Before entering each bookshelf, the robot determines the number in front of the bookshelf in a fixed position and, by adjusting the number, draws the book from the book number corresponding to the number on the bookshelf, then moves the robot to a fixed position in front of the next bookshelf, then stops to adjust automatically. The robot camera looks at the books on the bookshelf, records the color sequence of the books on the bookshelf, detects and extracts the characteristics of the book from the color series image of the library number using the image processing algorithm, and, in addition, as shown in Fig. 3, the standard color series obtained by the identification number, uses the extracted color distribution, The standard color of the book section listed in the figure fills the image systematically. Comparing the book number in the book collection with the color sequence in the standard color series, if the two colors are the same, it will be concluded that there is no incorrect book sequence and the robot will be guided along the electromagnetic direction to the next position; If the scale of the RGB is different, it is preliminarily concluded that the order of the book memory in this area is disordered. In this case, comparing the color series with the standard image series, we can see the edge characteristic colors of different series, that is, incorrect sequence, edge distribution of error series color, calculation of error series, width of error classification, and location in this area, and analyzing the color sequence of error classification, comparing color series with standard database and its classification. According to the wrong size and order of the books, put the books in the wrong order, adjust the machine to take the sequence of the wrong books from the bookshelf, arrange them according to the color order of the books, and put them on the corresponding bookshelves. Each time an error is found on the bookshelf or book order, the attached bookshelf is judged to be full. The robot wants to enter the fast input electromagnetic boot system on the ground, record the currently determined shelf number and return node location, retreat and take books from the bookshelf, and then return the node through the fast output electromagnetic boot system. And continue to classify the shelves of the program. If the bookshelf is not full, keep working until the next working node gets the book back. When the robot detects the terminal signal in the ground electromagnetic conduction system, they download the relevant books from the shelf, then return to the starting point and stop working.

Schematic illustration of the standard color sequence.
The specific flow of book identification and sorting is shown in Fig. 4 below.

Flowchart of book detection method.
Image edge extraction method for books
Image marginalization is a very important link in the process of image processing. It embodies an important feature of computer and visual processing. Image marginalization is mainly used in image processing. It is worth mentioning that the most important feature of image edge is a series of extraction, recognition and measurement of image through computer vision algorithm, and the boundary of image is extracted by computer vision. By extracting the boundary to further identify and measure the image, there are many common image edge methods, the most important is the differential operation method, which can directly extract the edge of the image from the high component image.
The most classical image edge detection can be divided into two main types, the first type is edge detection, this edge detection is based on the first order differential edge detection operator, the second type is based on the second order differential operator edge detection.
The first order differential operator mainly uses the difference approximate differential method to carry on the first order derivation to the image which wants to marginalize, through some derivation further obtains the edge image matrix, through the edge image gradient matrix, Gradually maximize the gradient edge and find out that the maximum value is the edge of the image. For example, the Roberts operator was proposed by famous scientists in the 1960 s. The basic principle of this operator is to derive the object. The edge of the target can be found more accurately by finding the maximum value of the gradient matrix. By establishing an image template of 2×2, in which two diagonals are found, the pixel difference (such as formula 1) is obtained by gradient difference between the two diagonals, the gradient of the image is calculated on each diagonal.
The edge of the image is mainly calculated by the second order differential equation. The second derivative is obtained by calculation, and then the second derivative is further analyzed. The second derivative zero crossing is an important proof of analysis. It can detect the edge of the image. The zero crossing of the second derivative not only reflects the zero value, but also reflects a limit value of the second derivative. For example, the Log operator was proposed by famous scientists in the 1980 s. This operation is mainly carried out by Gao Si filter. After the operation, the peak value of the first derivative in the operation is retained, the limit value of the first derivative is found by the first derivative, and finally the zero point is used to determine its exact position.
LOG operators are as follows:
The detection results of the classical edge detection operator are greatly affected by the surrounding noise. The smaller the influence of the surrounding noise, the better the detection effect of the edge detection operator. When the surrounding noise is more affected, the effect of edge detection is worse, so that the effect of edge detection can not reach the previously estimated level, so that the image can not be accurately detected, so the image edge can not be accurately detected. Pixel point four neighborhood diagram as show in Fig. 5, Pixel point eight neighborhood schematic as show in Fig. 6, Plane projection of a two-dimensional rectangular graph as show in Fig. 7.

Pixel point four neighborhood diagram.

Pixel point eight neighborhood schematic.

Plane projection of a two-dimensional rectangular graph.
In the process of processing image edges, ant colony algorithm can be fully applied. The application principle of ant colony algorithm is to regard the applied image as a picture without boundary and direction. In this picture, the specific pixel nodes of each picture can be transformed into nodes of ant motion. This translates into a very large-scale image problem. It is worth noting that in the process of image edge detection and extraction, the noise is also affected by noise. Therefore, the factor can be changed into a gray gradient in the image by expectation, which can further reduce the effect of noise on image edge extraction. The image can also be removed first, which can further reduce noise pollution and continuously enhance the accuracy and accuracy of ant colony algorithm. Firstly, the detected images are classified one by one by filtering, and divided into several sizes of images. Several ants are randomly placed in each image, and the number of randomly placed ants must be the same as the pixel content in each image. that is, the number of ants represents the number of pixels in this image. the distance between ants in each image is shown in Fig. 1. the distance and probability of ant movement are further calculated and evaluated by computer algorithm, and the next image node to be moved is also predicted. Through the probabilistic algorithm, more ants want to choose the moving path and image. Because ants walk different image nodes to reflect different pixel moving processes, they have to further pass the two-dimensional algorithm. The pixel information in the image is calculated. Through further calculation, the edge points of the image are gradually found out, and then each edge point of the image is connected to form a more accurate edge image.
The application steps of ant colony algorithm are as follows: First of all, the image should be treated with noise removal, which can further reduce the effect of noise on image edge extraction. The image can be photographed by camera. Because the camera also contains many complex sensors, it is easy to mix some noise even if it is quiet during shooting. The maximum possible impact of noise on the image is minimized and the error is continuously reduced. The image can then be classified by filtering, dividing the image into several small image regions, placing the same number of ants in each small image region as the number of pixels, that is, representing the number of pixels through the number of ants. The information matrix of the image is established by the algorithm. At the same time, the limit value should be set for the information matrix of the image. The limit value includes the maximum value and the minimum value, and the number of updates of the pheromone matrix should be set. Ant colony algorithm time is also increasing, which greatly reduces the image processing rate. Next, the ants placed in each image area are calculated to estimate their moving direction and distance, and the moving probability of each ant is calculated. If an image area is selected by more ants, the more pheromones are left in the image area. The specific algorithm formula is shown in formula 3.
Information elements are gradually produced with the movement of ant colonies. α represents the important value of various information elements, the larger his value, the more the accumulated value of information elements produced by ants, that is, the stronger the search ability of the ant, Ant population will move by low concentration of information elements, such as high concentration of information elements.
The gradient value of the image is calculated by formula 4:
The movements of ants can also be further recorded by setting tabu tables, which prevent ants from taking the same path and from making repeated path explorations. To improve the efficiency of ant population search, tabu should also be combined with image processing. When the image processing loop is over, the tabu should be reset again. After the end of the graph processing cycle, the information elements left by the ant population should be recorded, and the information elements should be systematically updated before the next graph processing cycle is opened. After updating, the information element content of pixel is further calculated according to the gradient value of information element, mainly by formula 5.
After completing a series of algorithms, the information value needs to be re-set, the image is re-classified, and the target edge is segmented continuously. In this paper, a two-dimensional algorithm is used to segment the image edge systematically, so that the influence of noise on image processing can be reduced by resetting threshold and pheromone matrix. The calculation efficiency of this method is greatly improved. The calculation process is greatly optimized.
Compared with the traditional ant colony algorithm, the two-dimensional OTSU algorithm is more concise, has a very powerful adaptability, and can minimize the impact of noise on the edge of the image. The ability to resist noise is very high.
Although the gray value of the pixel in the target region is very similar to that in the adjacent region, the gray value of the pixel at the edge of the image is very different from that of the other gray values. The probability is calculated by formula 6 and formula 7.
Background Mean Vector u0:
u of target mean vector1:
Total mean vector of 2D histogram:
Definition of discrete degree matrix between target and background:
By extracting and detecting the edge of the image, the recorded results are shown in Table 3.
Experimental results of optimal parameters
Experimental results of optimal parameters
Through the further analysis of the experimental results, it is found that the ant colony algorithm can find out the edge of the image very accurately, and accurately measure the distance of the wrong frame book, and accurately clip the wrong frame book.
Kinematics simulation of book sorting robot
Manipulators have the function of simulation, but this model may require them to move in only three directions, so the study of these models may be relatively simple. Because they only need to meet the needs of the more basic, not too many multi-directional complex motion. This software has relatively few functions compared with other software, and its function is relatively weak in modeling. Of course, if it is compared with other 3D software, we can design the model of manipulator by some data, then model by some software, build the basic model, add some software architecture and model to make the robot model more real, then save it into a certain format, and finally import it into the environment they should exist for running test. Table 4 records the motion pairs of the mechanism model.
Motion pairs of mechanism models
Motion pairs of mechanism models
During the whole process of imitation, we need all kinds of coordinated operation, and we need to ensure that each function can run correctly. In this paper, we use step function.
The x in the formula is the independent variable of the function, x0 h value of independent variable representing the starting point of step function0x representing the value of the function at the starting point of the step1Represents the value of the independent variable at the end of the step, h1Represents the value of the function at the end of the step.
This simulation is a complete robot process of retrieving and placing books, that is, when the robot finds the target book, the machine begins to move, the book returns to its original position, and the simulation time is set to 80 seconds.
A displacement function of three sliding joints and one rotating joint of the manipulator is set, in which the driving function of the X axis is:
Y axis drive function is:
Z axis drive function is:
The rotation drive function is:
After the simulation, the simulation results can be clearly viewed in the ADAMS/PostProcessor of the post-processing module, and the simulation results can be transformed into tables or animation forms to accurately reflect the relevant characteristics of the model.
The simulation results show that the components of the manipulator can run smoothly without sudden disturbance, and for books on library shelves at different heights, the machine can reach the predetermined book collection place to meet the requirements of the library. This is the real work of the robot.
PID control and Matlab simulation based on single neuron network
The proportion (P), integral (I) and differential (D) of deviation form the control quantity through linear combination, and control the controlled object, so it is called PID controller. PID controller can adjust the whole system signal deviation through the output port to make the actual output value consistent with the theoretical value, which is a negative feedback control, so that the actual value of the output of the accused object is consistent with the value. The control method is the most widely used method in closed circuit control system. The control performance is stable, the control accuracy is high, the parameters are easy to adjust, but it is relatively rough. X Axial displacement and velocity variation curve as show in Fig. 8, Y Axial displacement and velocity variation curve as show in Fig. 9, Z Axial displacement and velocity curves as show in Fig. 10.

X Axial displacement and velocity variation curve.

Y Axial displacement and velocity variation curve.

Z Axial displacement and velocity curves.
PID control is a linear controller that can be x according to input valuesin(t) y) to actual output valueout(t) Constitute control deviations:
PID control law is:
T in the formulaiAn integral time constant; a T; adIt is a differential time constant.
Form 19 can be further written:
Considering the stability, response speed, overshoot and steady-state precision of the control system, the three parameters are as follows: k of proportional factorspThe function is to speed up the response speed of the whole system and improve the adjustment accuracy of the system. k of integral coefficientsiThe function is to eliminate the steady-state error of the system. k of differential coefficientsd Its effect is to improve the dynamic of the system, its function is to control the deviation change in any direction in the process of coping, and to predict the deviation change. Computer control is a kind of sampling control, which can only be calculated according to the deviation of sampling, not according to the deviation of sampling. Sample. Therefore, the continuous software control algorithm can not be used directly, it must be separated KT the sampling points represent continuous time T, the digital integration points replace the time integration points, and the linear approximation points replace the time difference. namely:
The T is the sampling period, and the discrete expression can be obtained by normalizing PID sampling period:
According to the recursive principle, the incremental PID control expression can be obtained:
Personal neural regulator is a linear neural adaptive neural network with simple structure and strong control structure. the crude three neuron rights into the neural network are the three coefficients of the PID algorithm, while the SYNAPSE rights adjusted according to the network learning algorithm come from the automatic organization of adjustable control PID proportion, integration and calculation until the controller stabilizes.
The active action of single neural network is linear, that is, the output of nerve and the induction of local control are linear, and the output of nerve is:
In practical engineering application, the online correction part of the weight coefficient of neural network learning principle is trimmed with practical experience. The process is as follows:
The simulation shows that the response time of PID localization algorithm is about 22 seconds, while that of PID incremental algorithm is about 1.5 seconds, while that of single nerve to PID control algorithm is about 0.15 seconds. This shows that the response time of the customized algorithm for individual applications is my point. When different learning rules are applied to the PID adaptive algorithm control of a single neuron, the control errors of the whole system may be slightly different. The experimental results show that the best way to control the nervous system is to use LNS learning rules to adjust the right value of the nervous system.
Conclusion
This document classifies books according to color marks, reduces the burden of librarians classifying and classifying incorrect books, improves the efficiency of book circulation, and designs an invisible color marking program. On this basis, the robot of automatic identification and classification of incorrect books is studied, and the workflow is provided. Improving the traditional ant algorithm is helpful to understand the best combination of ant algorithm parameters. Combining the best parameters with the two-dimensional Otosu algorithm, it has been used to identify the wrong image edges of a book. The test results are good and the noise pair detection is effectively reduced. This paper designs a robot trajectory tracking control algorithm on a small space curve. The standard PID control based on single neural network is compared with PID control. The results show that PID individual adaptive control algorithm not only responds quickly. Although it is also defective, it is relatively well controlled. The approach proposed in this paper, which does not change the traditional habit of readers searching and ordering books with catalog numbers, while allowing for the rapid identification and classification of erroneous books, provides viable solutions for improving management and library services and reducing the workload of staff.
