RFID and UWB fusion positioning system and method for discrete manufacturing workshop based on clustering algorithm
By using the RFID and UWB fusion positioning system based on clustering algorithms in discrete manufacturing workshops, the problems of backward data collection management and low positioning accuracy in traditional positioning methods are solved, and accurate material flow tracking and efficient management are achieved.
Patent Information
- Application Number
- CN202210685579.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-06-17
AI Technical Summary
The single use or simple fusion of RFID and UWB positioning methods in traditional discrete manufacturing workshops cannot achieve accurate location data acquisition and efficient information interaction. There are problems such as backward data collection management, jitter in the RFID sensing range, UWB positioning data drift, and data fusion that does not conform to the actual situation of the workshop. situational issues.
The RFID and UWB fusion positioning system based on the clustering algorithm is used. The RFID module and the UWB module are combined with the storage module and the control module. Electronic tags and UWB tags are used to obtain the attribute data and location information of the production factors, perform data fusion positioning, and use clustering to Class algorithm improves positioning accuracy and reliability.
It improves the accuracy of data collection and positioning data, realizes precise control of materials in the workshop, improves the real-time positioning and management efficiency of production factors, and provides visual positioning tracking and real-time monitoring.
Smart Images

Figure CN114997689B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of discrete manufacturing workshop positioning data fusion, and specifically relates to a discrete manufacturing workshop RFID and UWB fusion positioning system and method based on a clustering algorithm. Background Art
[0002] In the production process of discrete manufacturing workshops, most of them adopt the "multi-variety, small batch" production mode. For large-scale, especially ultra-large discrete manufacturing workshops, accurate real-time location information and status information are urgently needed to improve the workshop management level and production capacity. In traditional discrete manufacturing workshops, location information is usually obtained by manually filling out production task orders. The location information is delayed and has low real-time performance. It is impossible to obtain sufficient process information of production factors, and there are problems such as missing or incorrect information. In this case, various technologies are applied to data collection and real-time positioning of discrete manufacturing workshops, including Bluetooth, Wi-Fi, infrared, RFID and UWB. RFID (Radio Frequency Identification) technology has the advantages of non-contact reading and writing, large storage capacity, reusability and high security; UWB (Ultra-Wideband) technology has the advantages of strong anti-interference ability, high positioning accuracy and low cost. These two technologies have received more and more attention. With the advancement of technology, however, the traditional data collection of discrete manufacturing workshops, the single use of RFID technology or UWB technology in real-time positioning of discrete manufacturing workshops, and the simple use of fusion positioning methods have failed to carry out data fusion combined with the actual situation of the workshop, and cannot meet the requirements of accurate acquisition of location data and efficient interaction of location information in the field of fusion positioning. There are the following problems:
[0003] (1) Outdated data collection and management methods. Discrete manufacturing workshops mostly collect data by manual recording and manual input, and use forms and cards to record and manage various data of the production process. This is easily affected by human factors, resulting in recording errors, and the actual situation of the workshop is inconsistent with the system data, which affects the accuracy of the positioning of production factors.
[0004] (2) There is a "jitter" phenomenon in the RFID sensing range. The sensing range of the RFID antenna depends on the sensing range of the radio frequency field emitted by the reader. The strength of its radio frequency field signal will be affected by the electromagnetic interference of the workshop production equipment, causing "jitter" in its sensing range, affecting the accuracy of judging whether materials enter or leave the workstation.
[0005] (3) UWB positioning data has a random "drift" phenomenon. UWB positioning relies on pulse signals, and the location of the tag is inferred through information such as signal transmission time and signal arrival angle. Discrete manufacturing workshops are large in area, densely covered with metal, and have a complex environment. The dynamic movement of people and materials, slow and sudden changes in the working conditions of production equipment, dynamic changes in the production environment, high currents, and strong magnetic fields will all interfere with the positioning signal, causing the positioning data calculated by the positioning engine to have large noise.
[0006] (4) The data fusion method of traditional fusion positioning is to simply obtain data from various positioning technologies, and fails to perform positioning data fusion based on the actual situation of the workshop.
[0007] Therefore, there is an urgent need for a discrete manufacturing workshop RFID and UWB fusion positioning method that can solve the above problems. Summary of the invention
[0008] Purpose of the invention: The technical problem to be solved by the present invention is to provide a discrete manufacturing workshop RFID and UWB fusion positioning system and method based on clustering algorithm in view of the defects involved in the background technology.
[0009] Technical solution: The present invention provides a discrete manufacturing workshop RFID and UWB fusion positioning system and method based on clustering algorithm, including an RFID module, a UWB module, a control module, a storage module and a display module;
[0010] The RFID module includes an electronic tag, a read-write unit and an RFID middleware; the electronic tags are attached to the production factors one by one, and are used to store the attribute data of the production factors to which they are attached and the numbers of the electronic tags; the read-write units are arranged one by one in the workstations of each manufacturing workshop, including an RFID reader and an RFID antenna connected to the RFID reader, one is arranged in the input buffer area of the workstation, and the other is arranged in the output buffer area of the workstation; the RFID reader is used for the RFID antenna to read the information in each electronic tag and the number of the RFID antenna corresponding to each electronic tag, and pass it to the RFID middleware; the RFID middleware is electrically connected to the RFID reader of each read-write unit, and is used to obtain the data read by each read-write unit and pass it to the control module; there are two RFID antennas.
[0011] The UWB module includes a UWB tag, a positioning engine and M UWB sensors; the UWB tags are attached to the production factors one by one, and the UWB tag numbers are stored therein, so that the UWB sensors can obtain the location information of the production factors in real time; the M UWB sensors are arranged in the manufacturing workshop, and are used to sense the signal strength of each UWB tag and transmit it to the positioning engine, where M≥3; the positioning engine is used to calculate the position of each UWB tag relative to the positioning engine according to the signal strength received from each UWB tag to the M UWB sensors and the position information of the M UWB sensors, and transmit it to the control module;
[0012] The storage module is used to store map information of the manufacturing workshop, information of each production factor, the electronic tag number corresponding to each production factor, the UWB tag number corresponding to each production factor, the workstation corresponding to each read-write unit, and the workstation entry buffer area or workstation exit buffer area corresponding to each RFID antenna number;
[0013] The control module is used to obtain the regional positioning information of each production factor based on the information in each electronic tag read by the RFID middleware and the number of the RFID antenna corresponding to each electronic tag, combined with the information in the storage module; obtain the map coordinates of each production factor based on the position of each UWB tag relative to the positioning engine measured by the UWB module, combined with the information in the storage module; and perform fusion positioning based on the regional positioning information and map coordinates of each production factor based on a clustering algorithm to obtain fused location information; at the same time, control the display module to display the attribute data of each production factor and material flow data in real time on the workshop map.
[0014] Furthermore, the electronic tags are attached to the production factors one by one, and are used to store the attribute data of the production factors to which they are attached and the numbers of the electronic tags; the production factors include equipment, materials, personnel, shelves, fixtures, and AGVs; the attribute data of the equipment include equipment name, equipment model, equipment spindle speed, equipment dimensions, and equipment power; the attribute data of the materials include material code, material drawing number, material category, material name, and material specification model; the attribute data of the personnel include personnel name, personnel type, personnel team, and personnel on-the-job status; the attribute data of the shelves include shelf name, material information stored on the shelves, and shelf model and size; the attribute data of the fixtures include fixture name, fixture model, and fixture specifications; the attribute data of the AGV includes AGV name, AGV model, maximum AGV load capacity, and maximum AGV driving speed.
[0015] Further, the regional positioning information of the production factors refers to the in-buffer area or out-buffer area of the workstations corresponding to the production factors, and the material flow data refers to the data of the material flowing and being processed among the workstations in the manufacturing workshop from entering the workshop to leaving the workshop.
[0016] Based on the same inventive concept, the present invention also provides a method for fusing RFID and UWB positioning in a discrete manufacturing workshop based on a clustering algorithm, including the following steps:
[0017] (1) When a production factor passes by its RFID antenna, the RFID reader reads the number of the electronic tag on the production factor and the number of its corresponding RFID antenna according to its reading cycle, and transmits them to the control module through the RFID middleware. Let the number of times the RFID reader reads the number of the electronic tag on the production factor be RN, and the number of the electronic tag be NU;
[0018] (2) The RFID middleware obtains the actual RSSI value of each electronic tag according to the transmission signal strength and reception signal strength of the RFID antenna;
[0019] (3) The positioning engine is used to calculate the position of each UWB tag relative to the positioning engine according to the signal strength of each UWB tag received by M UWB sensors and in combination with the position information of the M UWB sensors, and transmit it to the control module; the control module converts the position of each UWB tag relative to the positioning engine into its map coordinates;
[0020] (4) The control module, according to the data in the storage module, finds the production factor MU corresponding to the electronic tag number NU, then finds the corresponding UWB tag number UU according to the production factor MU, and finally finds the map coordinate set U = {u1, u2, u3,..., u i ,..., u n} where the number of times the UWB tag numbered UU is located by the positioning engine when the electronic tag numbered NU is read RN times, u i is the map coordinate where the UWB tag numbered UU is located, and i is a natural number greater than or equal to 1 and less than or equal to n;
[0021] (5) Calculate the distance from each map coordinate in the map coordinate set U to the map coordinate of the electronic tag numbered NU, and compare it with the regional positioning information of the electronic tag obtained in step (2) to obtain the map coordinate set V = {v1, v2, v3,..., v h ,..., v N}, where N is the number of map coordinates of the UWB tag numbered UU located within the positioning range of the electronic tag area when the electronic tag numbered NU is read RN times, v h is the located map coordinate of the UWB tag numbered UU, and h is a natural number greater than or equal to 1 and less than or equal to N;
[0022] (6) Clustering process To determine the number of clusters K, for the map coordinate set V = {v1, v2, v3, …, v h ,…,v N}, divided into K cluster center sets C = {c1, c2, ..., c z ,…,c K}, z is a natural number greater than or equal to 1 and less than or equal to N; a point is randomly selected as the cluster center; for each point v in the map coordinate set h , calculate its distance D(v h ); Select a new coordinate point as the new cluster center. The selection principle is D(v h ) is larger, the probability of being selected as the cluster center is higher; until K cluster centers are selected, the cluster center C z The mean of (m1,m2,…,m z ,…,m K );
[0023] (7) Assume that the number of samples in the zth class is N z ,but According to the Euclidean algorithm, the data is divided into the set closest to the center; after the division, the center value of each class is updated, that is, the coordinates of all data points in each cluster are added up to get the average value; the division is continuously updated until the distance between the centers is less than the threshold; and the minimum objective function of the K-means clustering algorithm is: v h ( z ) represents the cluster center C z The corresponding map coordinates v h ;
[0024] (8) Compare each point v in the map coordinate set h And each cluster center value m z The size of the Euclidean distance, select the cluster with the smallest Euclidean distance, and classify the coordinate point into this cluster until all the coordinate points are classified;
[0025] (9) Calculate the Euclidean distance O = {O1, O2, ..., O z , …, O K}, select the K positions with the smallest Euclidean distance and calculate the weight wz , z = 1, 2, ..., K,
[0026]
[0027] According to the obtained weight value, calculate the position coordinates As follows:
[0028]
[0029] Among them, C z The coordinates of (x z ,y z );
[0030] The estimated position coordinates are Kalman filtered to obtain the final joint positioning coordinates; the workstation entry buffer area or the workstation exit buffer area corresponding to the electronic tag numbered NU is used as the regional positioning information of the production factor where the electronic tag numbered NU is located.
[0031] Furthermore, the implementation process of step (2) is as follows:
[0032] Reference tags are divided into actual reference tags and virtual reference tags. They are tags that have completed the numerical matching of RSSI values and the distance between the tag and the antenna, which is obtained through measurement and calculation. In actual operation, the RSSI value of the tag to be located obtained by the RFID reader / writer deployed in the workshop is numerically matched with the RSSI value of the reference tag to obtain the distance range between the corresponding electronic tag and the RFID antenna. In order to reduce the number of actual reference tags, virtual reference tags are introduced, and the RSSI value of the virtual reference tag is calculated by the Lagrange interpolation method. The distance from the actual or virtual reference tag k to the antenna is the independent variable, written as d k ; The RSSI of the reference tag is the dependent variable, written as R k ; The signal strength R of the virtual tag is obtained by Lagrange interpolation method n :
[0033]
[0034] The Lagrange interpolation basis function is defined as:
[0035]
[0036] Where j is the symbol for cumulative multiplication, j = 0, 1, ..., n, representing d j From d0 to d n Substitute them respectively, and pass the distance range information to the control module, and the control module converts the distance range information of each electronic tag relative to the RFID into a preliminary estimated regional positioning range.
[0037] Beneficial effects: Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention analyzes the production process information of data collection and real-time positioning of discrete manufacturing workshops, and proposes a system framework for data collection, real-time positioning, and data processing of production factor information based on a clustering algorithm, thereby improving the accuracy of data collection and positioning data; a composite positioning method based on a clustering algorithm and based on RFID and UWB, which fuses the regional location data obtained by RFID and the real-time location data of UWB, provides accurate location information for the workshop's precise control of materials, and improves the reliability of the workshop's positioning of production factors, so as to achieve visual positioning tracking and real-time monitoring of the workshop, and realizes real-time positioning and refined and efficient management of different production factors in discrete manufacturing workshops. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of the visualization interface of a discrete manufacturing workshop;
[0039] Figure 2 It is a schematic diagram of the structure of the real-time positioning platform;
[0040] Figure 3 It is a flow chart of the RFID and UWB fusion positioning method for discrete manufacturing workshops. DETAILED DESCRIPTION
[0041] The present invention is further described in detail below with reference to the accompanying drawings.
[0042] like Figure 1 As shown, the present invention provides a discrete manufacturing workshop RFID and UWB fusion positioning system based on clustering algorithm, including RFID module, UWB module, control module, storage module and display module. The RFID module and the UWB module complete the original data acquisition and simple processing, and send the data to the storage module and the control module; the control module combines the acquired data for fusion positioning to obtain the final data, and the control display module displays the final data.
[0043] The RFID module includes several electronic tags, several read-write units, and RFID middleware. Several electronic tags are attached to production factors one by one, and are used to store the attribute data of the production factors to which they are attached and the number of the electronic tags; production factors include equipment, materials, personnel, shelves, fixtures, and AGVs; the attribute data of equipment includes equipment name, equipment model, equipment spindle speed, equipment dimensions, and equipment power; the attribute data of materials includes material code, material drawing number, material category, material name, and material specification model; the attribute data of personnel includes personnel name, personnel type, personnel team, and personnel on-the-job status; the attribute data of shelves includes shelf name, material information stored on shelves, and shelf model and size; the attribute data of fixtures includes fixture name, fixture model, and fixture specifications; the attribute data of AGV includes AGV name, AGV model, AGV maximum load, and AGV maximum travel speed. Several read-write units are arranged in a one-to-one correspondence in the workstations of each manufacturing workshop, each of which includes an RFID reader and two RFID antennas connected to the RFID reader, one of which is arranged in the in-buffer area of the workstation, and the other is arranged in the out-buffer area of the workstation; the RFID reader is used to read the information in each electronic tag and the number of the RFID antenna corresponding to each electronic tag through the two RFID antennas, and pass it to the RFID middleware. The RFID middleware is electrically connected to the RFID reader of each read-write unit, and is used to obtain the data read by each read-write unit and pass it to the control module.
[0044] The UWB module includes several UWB tags, a positioning engine and M UWB sensors, where M is a natural number greater than or equal to 3. Several UWB tags are attached to the production factors one by one, and the numbers of the UWB tags are stored therein, which are used by the UWB sensors to obtain the location information of the production factors in real time. The M UWB sensors are arranged in the manufacturing workshop to sense the signal strength of each UWB tag and pass it to the positioning engine. The positioning engine is used to calculate the position of each UWB tag relative to the positioning engine based on the signal strength received from each UWB tag to the M UWB sensors and the position information of the M UWB sensors, and pass it to the control module.
[0045] The storage module is used to store the map information of the manufacturing workshop, the information of each production factor, the electronic tag number corresponding to each production factor, the UWB tag number corresponding to each production factor, the work station corresponding to each read-write unit, and the work station entry cache area or work station exit cache area corresponding to each RFID antenna number.
[0046] The control module is used to obtain the regional positioning information of each production factor based on the information in each electronic tag read by the RFID middleware and the number of the RFID antenna corresponding to each electronic tag, combined with the information in the storage module; obtain the map coordinates of each production factor based on the position of each UWB tag relative to the positioning engine measured by the UWB module, combined with the information in the storage module; and perform fusion positioning based on the regional positioning information and map coordinates of each production factor based on the clustering algorithm to obtain the fused position information, and at the same time control the display module to display the attribute data of each production factor and the material flow data in real time on the workshop map; the regional positioning information of the production factor refers to the workstation entry buffer area or workstation exit buffer area corresponding to the production factor, and the material flow data refers to the data of the flow and processing of materials between various workstations in the manufacturing workshop from entering the workshop to leaving the workshop.
[0047] Figure 2 This is a schematic diagram of the real-time positioning platform structure, which is mainly composed of two parts: the RFID regional positioning module and the UWB precise positioning module. For production factors such as tooling and personnel that flow between workstations for a long time, it is usually only necessary to provide regional-level location information to achieve their rapid search and use. The RFID-based regional positioning method can meet their positioning needs; for production factors such as workshop material distribution vehicles and key heavy parts that require precise guidance or precise management, positioning coordinates and historical trajectories are usually required, so the UWB-based precise positioning method is adopted. For materials, they flow through various workstations during the production process, and material information changes with the production process. RFID tags are required to record the production data and entry and exit status of different workstations. At the same time, it is necessary to combine UWB precise positioning and use data fusion methods to obtain the accurate entry and exit status of materials and the data of flow in the workstation under the historical state. Therefore, materials need to be bound to RFID tags and UWB tags at the same time.
[0048] Figure 3 This is a flow chart of the positioning data fusion method. In order to meet the workshop's precise control of materials entering and exiting the workstation, the present invention uses RFID technology to achieve data collection and regional positioning and UWB technology to achieve coordinate-level positioning. The RFID reader and antenna are deployed at each workstation and workshop entrance and exit in the workshop with the goal of lowest deployment cost, lowest reader interference, and coverage of each workshop station and entrance and exit; the UWB positioning base station is deployed on the wall of the workshop with the goal of lowest deployment cost, full coverage of the workshop range, and highest positioning accuracy. Based on the clustering algorithm, the RFID regional positioning data and UWB positioning data are fused. The specific implementation method is as follows:
[0049] (1) When a production factor passes through its RFID antenna, the RFID reader reads the number of the electronic tag on the production factor and the number of its corresponding RFID antenna according to its reading cycle, and transmits it to the control module through the RFID middleware, so that the number of times the RFID reader reads the electronic tag number on the production factor is RN and the number of the electronic tag is NU.
[0050] (2) The RFID middleware obtains the actual RSSI value of each electronic tag based on the transmission signal strength and the receiving signal strength of the RFID antenna. Reference tags are divided into actual reference tags and virtual reference tags. They are tags that have completed the numerical matching of RSSI values and the distance between the tag and the antenna. They can be obtained through measurement and calculation. During actual operation, the RSSI value of the tag to be located obtained by the RFID reader / writer deployed in the workshop is numerically matched with the RSSI value of the reference tag to obtain the distance range between the corresponding electronic tag and the RFID antenna. In order to reduce the number of actual reference tags, virtual reference tags are introduced, and the RSSI value of the virtual reference tag is calculated by the Lagrange interpolation method. The distance from the actual or virtual reference tag k to the antenna is the independent variable, written as d k The RSSI (Received Signal Strength Indicator) of the reference tag is the dependent variable, written as R k The signal strength R of the virtual tag is obtained by Lagrange interpolation method. n :
[0051]
[0052] The Lagrange interpolation basis function is defined as:
[0053]
[0054] The distance range information is transmitted to the control module, and the control module converts the distance range information of each electronic tag relative to the RFID into a preliminary estimated regional positioning range.
[0055] (3) The positioning engine is used to calculate the position of each UWB tag relative to the positioning engine based on the strength of the signal received from each UWB tag to the M UWB sensors and the position information of the M UWB sensors, and transmit it to the control module; the control module converts the position of each UWB tag relative to the positioning engine into its map coordinates.
[0056] (4) The control module finds the production factor MU corresponding to the electronic tag number NU based on the data in the storage module, and then finds the corresponding UWB tag number UU based on the production factor MU. Finally, it finds the map coordinate set U = {u1, u2, u3, ..., uU} where the UWB tag numbered UU is located when the electronic tag numbered NU is read RN times.i , …, u n} where n is the number of times the UWB tag numbered UU is located by the positioning engine when the electronic tag numbered NU is read RN times, and u i is the mapped coordinate where the UWB tag numbered UU is located, and i is a natural number greater than or equal to 1 and less than or equal to n.
[0057] (5) Calculate the distance from each mapped coordinate in the mapped coordinate set U to the mapped coordinate of the electronic tag numbered NU, and compare it with the regional positioning information of the electronic tag obtained in step 2 to obtain the set V of mapped coordinates in the mapped coordinate set U that are within the positioning range of the circular ring area with a shape of a radius x range (where r < x < R) centered on the electronic tag numbered NU, V = {v1, v2, v3, …, v h , …, v N}, where N is the number of mapped coordinates where the UWB tag numbered UU is located within the regional positioning range of the electronic tag when the electronic tag numbered NU is read RN times, and v h is the mapped coordinate where the UWB tag numbered UU is located, and h is a natural number greater than or equal to 1 and less than or equal to N.
[0058] (6) The clustering process is to determine the number of clusters K, and divide the mapped coordinate set V = {v1, v2, v3, …, v h , …, v N} into K cluster center sets C = {c1, c2, …, c z , …, c K}, where z is a natural number greater than or equal to 1 and less than or equal to N; randomly select a point as a cluster center; for each point v h in the mapped coordinate set, calculate its distance D(v h ) to the nearest cluster center; select a new coordinate point as the new cluster center, and the selection principle is that the point with a larger D(v h ) has a greater probability of being selected as the cluster center; until K cluster centers are selected, and the mean of the cluster center C z is (m1, m2, …, m z , …, m K ).
[0059] (7) Assume that the number of samples in the z-th class is N z , then According to the Euclidean algorithm, divide the data into the set closest to the center; after the division, update the center value of each class, that is, add up the coordinates of all data points in each cluster and take the average; continuously update the division in this way until the distance between the centers is less than the threshold; and the minimum objective function of the K-means clustering algorithm is: vh ( z ) represents the cluster center C z The corresponding map coordinates v h .
[0060] (8) Compare each point v in the map coordinate set h And each cluster center value m z The size of the Euclidean distance, select the cluster with the smallest Euclidean distance, and classify the coordinate point into the cluster until all the coordinate points are classified.
[0061] (9) Calculate the Euclidean distance O = {O1, O2, ..., O z , …, O K}, select the K positions with the smallest Euclidean distance and calculate the weight w z , z = 1, 2, ..., K,
[0062]
[0063] According to the obtained weight value, calculate the position coordinates As follows:
[0064]
[0065] Among them, C z The coordinates of (x z ,y z ).
[0066] (10) Kalman filtering is performed on the estimated position coordinates to obtain the final joint positioning coordinates. The workstation entry buffer area or workstation exit buffer area corresponding to the electronic tag numbered NU is used as the regional positioning information of the production factor where the electronic tag numbered NU is located.
[0067] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A fusion positioning system of RFID and UWB in discrete manufacturing workshops based on clustering algorithm, It is characterized in that It includes an RFID module, a UWB module, a control module, a storage module and a display module; The RFID module includes an electronic tag, a read / write unit and an RFID middleware; the electronic tags are attached to the production factors one by one, and are used to store the attribute data of the production factors to which they are attached and the numbers of the electronic tags; the read / write units are arranged in the workstations of each manufacturing workshop one by one, and include an RFID reader and an RFID antenna connected to the RFID reader, one of which is arranged in the in-buffer area of the workstation and the other is arranged in the out-buffer area of the workstation; the RFID reader is used for the RFID antenna to read the information in each electronic tag and the number of the RFID antenna corresponding to each electronic tag, and pass it to the RFID middleware; the RFID middleware is electrically connected to the RFID reader of each read / write unit, and is used to obtain the data read by each read / write unit and pass it to the control module; The UWB module includes a UWB tag, a positioning engine and M UWB sensors; the UWB tags are attached to the production factors one by one, and the UWB tag numbers are stored therein, so that the UWB sensors can obtain the location information of the production factors in real time; the M UWB sensors are arranged in the manufacturing workshop, and are used to sense the signal strength of each UWB tag and transmit it to the positioning engine, where M≥3; the positioning engine is used to calculate the position of each UWB tag relative to the positioning engine according to the signal strength received from each UWB tag to the M UWB sensors and the position information of the M UWB sensors, and transmit it to the control module; The storage module is used to store map information of the manufacturing workshop, information of each production factor, the electronic tag number corresponding to each production factor, the UWB tag number corresponding to each production factor, the workstation corresponding to each read-write unit, and the workstation entry buffer area or workstation exit buffer area corresponding to each RFID antenna number; The control module is used to obtain the regional positioning information of each production factor according to the information in each electronic tag read by the RFID middleware and the number of the RFID antenna corresponding to each electronic tag, combined with the information in the storage module, obtain the map coordinates of each production factor according to the position of each UWB tag relative to the positioning engine measured by the UWB module, combined with the information in the storage module, and perform fusion positioning based on the regional positioning information and map coordinates of each production factor based on the clustering algorithm to obtain the fused position information, and at the same time control the display module to display the attribute data of each production factor and the material flow data in real time on the workshop map; The implementation process of the discrete manufacturing workshop RFID and UWB fusion positioning system based on clustering algorithm is as follows: (1) When a production factor passes through its RFID antenna, the RFID reader reads the number of the electronic tag on the production factor and the number of its corresponding RFID antenna according to its reading cycle, and transmits it to the control module through the RFID middleware, so that the number of times the RFID reader reads the number of the electronic tag on the production factor is RN and the number of the electronic tag is NU; (2) The RFID middleware obtains the actual RSSI value of each electronic tag based on the transmission signal strength and the receiving signal strength of the RFID antenna; (3) The positioning engine is used to calculate the position of each UWB tag relative to the positioning engine based on the strength of the signal received from each UWB tag to the M UWB sensors and the position information of the M UWB sensors, and transmit it to the control module; the control module converts the position of each UWB tag relative to the positioning engine into its map coordinates; (4) The control module finds the production factor MU corresponding to the electronic tag number NU based on the data in the storage module, and then finds the corresponding UWB tag number UU based on the production factor MU. Finally, it finds the map coordinate set U={u 1 ,u 2 ,u 3 ,…,u i ,…,u n }, where n is the number of times the UWB tag numbered UU is located by the positioning engine when the electronic tag numbered NU is read RN times, and u i is the located map coordinate of the UWB tag numbered UU, i is a natural number greater than or equal to 1 and less than or equal to n; (5) Calculate the distances from each map coordinate in the map coordinate set U to the map coordinate of the electronic tag numbered NU, and compare it with the regional positioning information of the electronic tag obtained in step (2) to obtain the map coordinate set V = {v 1 , v 2 , v 3 , …, v h , …, v N} in the circular ring area positioning range with a shape of a radius x range (where r < x < R) of the electronic tag numbered NU. Here, N is the number of map coordinates where the UWB tag numbered UU is positioned within the regional positioning range of the electronic tag numbered NU when the electronic tag numbered NU is read RN times, v h is the positioned map coordinate of the UWB tag numbered UU, and h is a natural number greater than or equal to 1 and less than or equal to N; (6) Clustering process To determine the number of clusters K, for the map coordinate set V = {v 1 ,v 2 ,v 3 ,…,v h ,…,v N }, divided into K cluster center sets C = {c 1 , c 2 ,…,c z ,…,c K }, z is a natural number greater than or equal to 1 and less than or equal to N; a point is randomly selected as the cluster center; for each point v in the map coordinate set h , calculate its distance D(v h ); Select a new coordinate point as the new cluster center. The selection principle is D(v h ) is larger, the probability of being selected as the cluster center is higher; until K cluster centers are selected, the cluster center C z The mean value of 1 ,m 2 ,…,m z ,…,m K ); (7) Assume that the number of samples in the zth class is N z ,but According to the Euclidean algorithm, the data is divided into the set closest to the center; after the division, the center value of each class is updated, that is, the coordinates of all data points in each cluster are added up to get the average value; the division is continuously updated until the distance between the centers is less than the threshold; and the minimum objective function of the K-means clustering algorithm is: v h (z) Represents the cluster center C z The corresponding map coordinates v h ; (8) Compare each point v in the map coordinate set h And each cluster center value m z The size of the Euclidean distance, select the cluster with the smallest Euclidean distance, and classify the coordinate point into this cluster until all the coordinate points are classified; (9) Calculate the Euclidean distance O between the map coordinate set and the cluster center set C obtained in step (7) = {O 1 , O 2 , …, O z , …, O K }, select the K positions with the smallest Euclidean distance and calculate the weight w z , z = 1, 2, ..., K, According to the obtained weight value, calculate the position coordinates As follows: Among them, C z The coordinates of (x z ,y z ); The estimated position coordinates are Kalman filtered to obtain the final joint positioning coordinates; the workstation entry buffer area or the workstation exit buffer area corresponding to the electronic tag numbered NU is used as the regional positioning information of the production factor where the electronic tag numbered NU is located.
2. According to the clustering algorithm-based discrete manufacturing workshop RFID and UWB fusion positioning system of claim 1, It is characterized in that The electronic tags are attached to the production factors one by one, and are used to store the attribute data of the production factors to which they are attached and the numbers of the electronic tags; the production factors include equipment, materials, personnel, shelves, fixtures, and AGVs; the attribute data of the equipment include equipment name, equipment model, equipment spindle speed, equipment dimensions, and equipment power; the attribute data of the materials include material code, material drawing number, material category, material name, and material specification model; the attribute data of the personnel include personnel name, personnel type, personnel team, and personnel on-the-job status; the attribute data of the shelves include shelf name, material information stored on the shelves, and shelf model and size; the attribute data of the fixtures include fixture name, fixture model, and fixture specifications; the attribute data of the AGV includes AGV name, AGV model, AGV maximum load capacity, and AGV maximum driving speed.
3. According to the discrete manufacturing workshop RFID and UWB fusion positioning system based on clustering algorithm according to claim 1, It is characterized in that The regional positioning information of the production factor refers to the workstation entry buffer area or workstation exit buffer area corresponding to the production factor, and the material flow data refers to the data of the flow and processing of materials between various workstations in the manufacturing workshop from entering the workshop to leaving the workshop.
4. The discrete manufacturing workshop RFID and UWB fusion positioning system based on clustering algorithm according to claim 1, It is characterized in that There are two RFID antennas.
5. The discrete manufacturing workshop RFID and UWB fusion positioning system based on clustering algorithm according to claim 1, It is characterized in that The implementation process of step (2) is as follows: Reference tags are divided into actual reference tags and virtual reference tags, which are tags that have completed the numerical matching of RSSI values and the distance between the tag and the antenna, obtained through measurement and calculation; During actual operation, the RSSI value of the tag to be located obtained by the RFID reader / writer deployed in the workshop is numerically matched with the RSSI value of the reference tag to obtain the distance range between the corresponding electronic tag and the RFID antenna; In order to reduce the number of actual reference tags, a virtual reference tag is introduced. The RSSI value of the virtual reference tag is calculated by Lagrange interpolation. The distance from the actual or virtual reference tag k to the antenna is the independent variable, written as d k ; The RSSI of the reference tag is the dependent variable, written as R k ; The signal strength R of the virtual tag is obtained by Lagrange interpolation method n : The Lagrange interpolation basis function is defined as: Where j is the symbol for cumulative multiplication, j = 0, 1, ..., n, representing d j From d 0 to d n Substitute them respectively, and pass the distance range information to the control module, and the control module converts the distance range information of each electronic tag relative to the RFID into a preliminary estimated regional positioning range.
