Loading and unloading process control method and system based on radio frequency identification and single chip microcomputer
By calculating the bias value and communication stability rate, establishing a channel status table and monitoring plan, and switching channels according to the channel evaluation value, the channel interference problem when the number of vehicles in the mining plant is greater than the number of channels is solved, and the accuracy of data transmission is improved. Work efficiency.
Patent Information
- Application Number
- CN202410012192.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-03
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-01-03
AI Technical Summary
In the mining plant, when the number of transport vehicles is greater than the number of channels, there will be mutual interference between vehicles using the same channel, resulting in a high error rate during data transmission.
By calculating the bias value and communication stability rate between the on-board module and the central control module, a channel status table is established, and a monitoring plan is generated. The identification module decides whether to switch channels for communication based on the channel evaluation value.
It effectively reduces channel interference between vehicles, improves the accuracy and working efficiency of communication data, and ensures that the excavator can quickly find the channel of the transport vehicle.
Smart Images

Figure CN118018988B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of data transmission, and in particular relates to a loading and unloading process control method and system based on radio frequency identification and a single chip microcomputer. Background Art
[0002] In existing large-scale manufacturing mining plants, mining in the mining area requires real-time control of loading and unloading locations to ensure the quality of the minerals and to ensure that the ore is not damaged during transportation. In order to achieve this goal, enterprises need to adopt advanced information technology to obtain various information on loading and unloading in real time. For example, enterprises can install sensors, cameras and other equipment to monitor the working status of vehicles and excavators in the mining area in real time. For another example, enterprises can use the Internet of Things technology to connect vehicles, excavators and other equipment in the mining area with the central control system. In this way, enterprises can achieve remote monitoring and management of all equipment in the mining area.
[0003] For example, the patent application "CN114913617A" discloses a loading and unloading process control system based on 2.4G radio frequency identification and single-chip microcomputer. In this method, the unloading point is bound to the vehicle through the radio frequency tag, and the bound vehicle information is obtained through the corresponding RFID tag reading device. After verification, the single-chip microcomputer program calls the unattended server to obtain the vehicle license plate number, and calls the smart mine server through the license plate number to verify whether unloading is allowed. However, when the number of transport vehicles in the mine is greater than the number of channels, it is inevitable that multiple vehicles will use the same channel. Then there will be mutual interference between vehicles using the same channel at the same time, resulting in a high error rate during data transmission. Summary of the invention
[0004] To solve the above problems, the present invention provides a loading and unloading process control method and system based on radio frequency identification and single-chip microcomputer to solve the problem of mutual interference between vehicles using the same channel when the number of transport vehicles is greater than the number of channels.
[0005] In order to achieve the above-mentioned invention object, the present invention proposes a loading and unloading process control method based on radio frequency identification and single-chip microcomputer, comprising:
[0006] The default channel is entered into the on-board module of the transport vehicle, and the central control module calculates and generates the bias value of each channel for each identification module and the communication stability rate of each channel under different occupancy conditions through historical communication data;
[0007] The central control module establishes a channel state table based on the communication stability rate and the deflection value, adds the current usage status of each channel to the channel state table, generates a monitoring schedule for each excavator based on the channel state table, and the monitoring schedule includes a monitoring duration for each channel. The central control module sends the channel state table and the monitoring schedule to the identification module located in the excavator through a first communication method;
[0008] The vehicle-mounted module sends the perception information at a preset time interval in the default channel of the second communication mode, the identification module cyclically monitors the channels included in the monitoring schedule, and the total duration of each channel monitoring is the monitoring duration. When the identification module monitors the perception information in the channel, the channel evaluation value α is calculated based on the first formula, and the first formula is: α=β i,n ω1-γ i,n ω2, where β i,n is the deviation value corresponding to channel n of excavator i, γ i,n is the minimum value of the communication stability rate when excavator i uses channel n when other excavators occupy channel n in the channel status table, and ω1 and ω2 are respectively the preset first weight and second weight;
[0009] If the channel evaluation value is less than a first threshold, the identification module communicates with the vehicle-mounted module in a default channel; otherwise, the identification module and the vehicle-mounted module switch channels for communication;
[0010] The vehicle-mounted module sends the vehicle information to the single-chip computer module through the identification module. The single-chip computer module verifies the vehicle information and obtains a verification result, and sends a work instruction to the identification module based on the verification result.
[0011] Further, calculating the communication stability rate of each channel includes the following steps:
[0012] The historical communication data includes the channel number used by each excavator at multiple time points and the error rate of each channel. The data using the same channel at the same time point but different excavators are divided into the same data group. Based on the data group and the second formula, the communication stability rate P when excavator i occupies channel n and excavator j uses channel n is calculated. i,j,n , the second formula is: Among them, A is the number of data in the data group whose error rate is less than the second threshold, and B is the total number of data included in the data group.
[0013] Further, the deflection value is calculated based on the following steps:
[0014] Set the statistical duration, obtain the number of times each excavator establishes communication with each channel within the statistical duration, and calculate the deflection value E between channel n and excavator j within the statistical duration based on the third formula j,n , the third formula is Among them, X j,n is the number of times channel n communicates with excavator j during the statistical time, Y j is the number of times excavator j establishes communication within the statistical time, Z n is the number of times that channel n establishes communication, and S is the total number of times each excavator establishes communication with each channel.
[0015] Further, the monitoring schedule is generated based on the following steps:
[0016] Set the basic duration, and calculate the monitoring duration T of channel n in the monitoring schedule sent to excavator j based on the fourth formula. n , the fourth formula is: Wherein, T is the basic duration;
[0017] The channels included in the monitoring schedule are copied and arranged in an interleaved manner, and the monitoring duration is divided into a plurality of sub-durations based on the number of times the channels appear in one cycle, and the time interval between channels with the same number is less than or equal to a third threshold;
[0018] After the monitoring schedule is updated, if there is a time interval between the same channels in a cycle that is greater than the third threshold, the channel is defined as a focus channel, and the sub-time length between the focus channels is split again to shorten the time interval between the two focus channels, wherein the updating of the monitoring schedule includes increasing or decreasing the monitoring time length of the channel.
[0019] Further, the channel is switched based on the following steps:
[0020] The identification module determines a target channel, which is an unoccupied channel in the channel status table, or a channel corresponding to the maximum value of the communication stability rate in an occupied state. The identification module returns a switching signal to the vehicle-mounted module through a default channel, and the switching signal includes the number of the target channel. After sending the switching signal, the identification module switches its own channel to the target channel. After receiving the switching signal, the vehicle-mounted module switches to the target channel. After the communication between the identification module and the vehicle-mounted module is completed, the vehicle-mounted module switches the channel to the default channel.
[0021] Furthermore, the identification module generates first information after establishing communication with the vehicle-mounted module, and generates second information after completing communication with the vehicle-mounted module, the first information includes the channel number used, the second information includes the channel number used and the corresponding error rate, and the identification module sends the first information or the second information to the central control module in real time based on the first communication method, so that the central control module updates the channel status table and the monitoring plan table and then redistributes them.
[0022] The present invention also provides a loading and unloading process control system based on radio frequency identification and a single-chip microcomputer, which is used to implement the above-mentioned loading and unloading process control method based on radio frequency identification and a single-chip microcomputer, and the system comprises:
[0023] A vehicle-mounted module is arranged in the transport vehicle, a default channel is recorded in the vehicle-mounted module, and the vehicle-mounted module sends the sensing information at a preset time interval in the default channel of the second communication mode;
[0024] A central control module, used to calculate and generate a deflection value for each channel of each identification module and a communication stability rate of each channel under different occupancy conditions through historical communication data, establish a channel state table based on the communication stability rate and the deflection value, add the current usage status of each channel to the channel state table, generate a monitoring schedule for each excavator based on the channel state table, the monitoring schedule includes a monitoring duration for each channel, and the central control module sends the channel state table and the monitoring schedule to the identification module located in the excavator through a first communication method;
[0025] An identification module is used to cyclically monitor the channels included in the monitoring schedule, and the total duration of each channel monitoring is the monitoring duration. When the identification module monitors the perception information in the channel, the channel evaluation value α is calculated based on the first formula, and the first formula is: α = β i,n ω1-γ i,n ω2, where β i,n is the deviation value corresponding to channel n of excavator i, γ i,n is the minimum value of the communication stability rate of channel n used by excavator i in the channel status table when other excavators occupy channel n, ω1 and ω2 are respectively the preset first weight and second weight, if the channel evaluation value is less than the first threshold, the identification module communicates with the vehicle-mounted module in the default channel, otherwise, the identification module and the vehicle-mounted module switch channels for communication, and the identification module is also used to send vehicle information to the single-chip computer module;
[0026] The single chip microcomputer module is used to check the vehicle information and obtain a check result, and send a work instruction to the identification module based on the check result.
[0027] Compared with the prior art, the beneficial effects of the present invention are at least as follows:
[0028] The central control module in the present invention calculates the deviation value according to the distribution of the default number of channels, so as to know which channel is preferred. On this basis, a channel status table is generated based on historical communication data and the calculated deviation value, and then a monitoring plan table for each excavator can be generated according to the channel status table. In the monitoring plan table, the larger the deviation value of the channel, the longer the corresponding monitoring time, and the deviation value represents the preference trend of the vehicle to the loading point. Therefore, compared with the traditional channel-by-channel scanning method, monitoring according to the monitoring plan table allows the excavator to have a greater probability of quickly finding the channel of the transport vehicle, thereby improving work efficiency.
[0029] After detecting the vehicle channel, the present invention also comprehensively calculates the channel evaluation value based on the communication stability rate and the deflection value. If the channel evaluation value is too small, it indicates that the communication stability rate of the current channel is poor and it is necessary to switch channels for communication. Therefore, this solution can further ensure the correctness of the communication data between the vehicle and the excavator. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a flow chart of the steps of the loading and unloading process control method based on radio frequency identification and single chip microcomputer of the present invention;
[0031] Figure 2 This is a schematic diagram of the principle of the ore loading point of the present invention;
[0032] Figure 3 It is a schematic diagram of the principle of the channel state table of the present invention;
[0033] Figure 4 It is a schematic diagram of the principle of the monitoring schedule of the present invention;
[0034] Figure 5 It is a structural diagram of the loading and unloading process control system based on radio frequency identification and single chip microcomputer of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0036] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.
[0037] like Figure 1 As shown, a method for controlling a loading and unloading process based on radio frequency identification and a single chip microcomputer comprises:
[0038] Step S1: Enter the default channel in the on-board module of the transport vehicle. The central control module calculates and generates the bias value of each channel for each identification module and the communication stability rate of each channel under different occupancy conditions through historical communication data.
[0039] Specifically, this embodiment is described by taking the loading point in the mining area as an example, and the implementation method of the unloading point is the same; Figure 2 In the mine, there are loading points 1, 2 and 3, as well as ore piles R1 and R2. Each loading point is equipped with an excavator. When the vehicle arrives at the loading point, the excavator loads the ore from the ore pile onto the transport vehicle. Each transport vehicle is equipped with a vehicle-mounted module, and the excavator is equipped with an identification module. After the vehicle-mounted module establishes a connection with the identification module, the vehicle-mounted module reminds the transport vehicle to go to the corresponding excavator position according to which excavator the connection is established. For example, if vehicle C establishes a connection with the excavator at loading point 1, vehicle C goes to the loading point, and the vehicle-mounted module sends the vehicle information to the identification module, and the identification module transmits the vehicle information to the single-chip microcomputer module. The single-chip microcomputer module determines whether the vehicle has a loading and unloading task and whether it is a vehicle in the mine based on the vehicle information, and the excavator operates according to the verification result.
[0040] The vehicle-mounted module can be an RFID tag, a Bluetooth tag, a wifi tag, or other devices that can send information to the outside world. Each vehicle-mounted module has a default channel entered. The deviation value is obtained based on the connection distribution of each channel between the excavator at each loading point and the historical vehicle. The specific calculation method will be introduced later. Its meaning is that according to the historical connection distribution, if the deviation value corresponding to channel 1 of loading point 1 is large, it means that the vehicle with the default channel of channel 1 has a high probability of going to loading point 1.
[0041] Step S2: The central control module establishes a channel status table based on the communication stability rate and the deviation value, and adds the current usage status of each channel to the channel status table. Based on the channel status table, a monitoring plan table for each excavator is generated. The monitoring plan table includes the monitoring time for each channel. The central control module sends the channel status table and the monitoring plan table to the identification module located in the excavator through the first communication method.
[0042] After each communication between the vehicle-mounted module and the identification module, the communication error rate between the two is calculated and uploaded to the central control module as historical communication data. The communication error rate can be calculated in the following way. For example, if the vehicle-mounted module sends 100 bits of data to the identification module, and 20 bits of data are erroneous, then the communication error rate is 20 / 100*100%=20%; the larger the communication stability rate calculated for the channel, the smaller the probability of data errors when using the channel for communication; then establish a channel status table, such as Figure 3 As shown, in the channel status table, loading point A loading point B represents the number of the loading point, channel A corresponds to the channel used by loading point A, channel B corresponds to the channel used by loading point B, and the status bar indicates which channel the excavator at the loading point currently occupies; the communication stability rate P1 is 80%, which means that when the excavator at loading point 2 occupies channel 1, the communication stability rate of the excavator at loading point 1 when using channel 1 for communication is 80%. Similarly, the communication stability rate P2 is 23%, which means that when the excavator at loading point 3 occupies channel 1, the communication stability rate of the excavator at loading point 1 when using channel 1 for communication is 80%. The bias value P3 represents the value that loading point 1 tends to choose to use channel 1. It is particularly noted that the status bar in the channel status table shows the current status of the channels used by each excavator, and the communication stability rate is a value calculated in advance. Therefore, whether the status bar in the channel status table is occupied or idle, it will not affect the value of the communication stability rate.
[0043] Reference Figure 2 The reason why the stability rate is still very high when using the same channel is that there is a ore pile R2 between loading point 1 and loading point 2. Therefore, even if the excavators at the two locations use the same channel, they will not interfere with each other if the ore pile blocks the signal. However, there is no ore pile between loading point 1 and loading point 3, so there will be mutual interference when the two use the same channel.
[0044] Then, a monitoring schedule for each identification module is generated according to the channel state table, and sent to the identification module via a first communication method, where the first communication method is mobile communication. The specific method for generating the channel state table will be described later. Figure 4 As shown, the monitoring schedule includes the order of monitoring channels and the monitoring duration, and the larger the deviation value of the channel, the longer the corresponding monitoring duration. The identification module cyclically monitors the channels in the order recorded in the monitoring schedule.
[0045] Step S3: The vehicle-mounted module sends the perception information at a preset time interval in the default channel of the second communication mode, and the identification module cyclically monitors the channels included in the monitoring schedule. The total duration of each channel monitoring is the monitoring duration. When the identification module monitors the perception information in the channel, the channel evaluation value α is calculated based on the first formula. The first formula is: α = βi,n ω1-γ i,n ω2, where β i,n is the deviation value corresponding to channel n of excavator i, γ i,n is the minimum value of the communication stability rate of channel n used by excavator i in the channel status table when other excavators occupy channel n, and ω1 and ω2 are the preset first weight and second weight respectively.
[0046] Step S4: If the channel evaluation value is less than the first threshold, the identification module and the vehicle-mounted module communicate in the default channel, otherwise, the identification module and the vehicle-mounted module switch channels for communication.
[0047] Step S5: The vehicle-mounted module sends the vehicle information to the single-chip microcomputer module through the identification module. The single-chip microcomputer module verifies the vehicle information and obtains the verification result, and sends a work instruction to the identification module based on the verification result.
[0048] The second communication mode is the same as the type of the vehicle-mounted module. If the vehicle-mounted module is an RFID tag, the second communication mode is 2.4gHZ radio frequency communication. The vehicle-mounted module sends perception information to the outside at intervals of 50ms in its own default channel. The identification module switches and monitors each channel according to the monitoring schedule. When the perception information is monitored, it means that there is a transport vehicle near the excavator at this time. The identification module further determines the channel evaluation value based on the channel status table. Technical personnel in this field can set the first weight and the second weight in the first formula according to actual conditions, such as 0.6 and 0.4.
[0049] It should be noted in advance that in generating the monitoring plan table, channels with larger bias values are selected first. Therefore, the bias values substituted into the first formula are relatively large. In this case, if the calculated channel evaluation value is less than the first threshold value, the first threshold value is 0, indicating that under the influence of the weight, the communication stability rate is still greater than the bias value, which means that the communication stability rate is relatively large, and it is more appropriate to use this channel; otherwise, it proves that the communication stability rate is relatively small, and other channels should be switched for communication.
[0050] The central control module in the present invention calculates the deviation value according to the distribution of the default number of channels, so as to know which channel is preferred. On this basis, a channel status table is generated based on historical communication data and the calculated deviation value, and then a monitoring plan table for each excavator can be generated according to the channel status table. In the monitoring plan table, the larger the deviation value of the channel, the longer the corresponding monitoring time, and the deviation value represents the preference trend of the vehicle to the loading point. Therefore, compared with the traditional channel-by-channel scanning method, monitoring according to the monitoring plan table allows the excavator to have a greater probability of quickly finding the channel of the transport vehicle, thereby improving work efficiency.
[0051] After detecting the vehicle's channel, the present invention also comprehensively calculates the channel evaluation value based on the communication stability rate and the deflection value. If the channel evaluation value is too small, it indicates that the communication stability rate of the current channel is poor and it is necessary to switch channels for communication. Therefore, this solution can further ensure the accuracy of the communication data between the vehicle and the excavator.
[0052] It is particularly noteworthy that, through the technical solution of the present invention, even if two excavators use the same channel, they can give priority to using channels that will not interfere with each other, thereby ensuring the accuracy of data transmission.
[0053] In this embodiment, calculating the communication stability rate of each channel includes the following steps:
[0054] The historical communication data includes the channel number used by each excavator at multiple time points, as well as the error rate of each channel. The data using the same channel but different excavators at the same time point are divided into the same data group. Based on the data group and the second formula, the communication stability rate P of excavator j using channel n when excavator i occupies channel n is calculated. i,j,n , the second formula is: Among them, A is the number of data in the data group whose error rate is less than the second threshold, and B is the total number of data included in the data group.
[0055] Specifically, the specific form of historical communication data is, for example, data 1 is, when the excavator at loading point 1 uses channel 1 at 10:00, the error rate is 20%, data 2 is, when the excavator at loading point 2 uses channel 1 at 10:00, the error rate is 5%, data 3 is, when the excavator at loading point 3 uses channel 2 at 10:00, the error rate is 10%; since loading point 1 and loading point 2 use the same channel at the same time point, data 1 and data 2 are divided into the same data group, and then the second formula can be used to calculate the communication stability rate of excavator 1 using channel 1 when excavator 2 occupies channel 1, and the second threshold can be set according to the actual situation, for example, 60%. Then the calculation result is 2 / 2*100%=100%.
[0056] In this embodiment, the deflection value is calculated based on the following steps:
[0057] Set the statistical duration, obtain the number of times each excavator establishes communication with each channel within the statistical duration, and calculate the deviation value E between channel n and excavator j within the statistical duration based on the third formula j,n , the third formula is Among them, X j,n Y is the number of times channel n communicates with excavator j during the statistical time. j is the number of times excavator j establishes communication within the statistical time, Z nis the number of times that channel n establishes communication, and S is the total number of times each excavator establishes communication with each channel.
[0058] Specifically, the statistical duration can be set to 1 day or 15 days. In this embodiment, it is set to 15 days. After determining the statistical duration, the data of the number of times each excavator uses each channel within the statistical duration is obtained, such as how many times the excavator at loading point j uses channel 1 and how many times it uses channel 2 during these 15 days, that is, X in the third formula j,n ; Then from data X j,n Extract Y j , Y j is the number of times the excavator at loading point j establishes communication within the statistical time. For example, if excavator 1 uses the channel 10 times and excavator 25 times, then the corresponding Y1 is 10+15=25 times; Z n is obtained by taking channel n as the statistical object. For example, in these 15 days, channel 1 established 10 communications with the excavator at loading point 1 and 5 communications with the excavator at loading point 2, then the corresponding Z1 is 10+5=15 times; and S is the number of times all communications are established, which can be obtained by accumulating data X j,n Obtain; then substitute the above data into the third formula to obtain the deviation values of channel n and excavator j.
[0059] The specific meaning of the third formula is that The value representing that excavator j is not associated with channel n. The larger the ratio, the less correlated excavator j is with channel n. This is because Y is the number of times excavator j establishes communication with each channel. After subtracting the number of times excavator j establishes communication with channel n, the number of times excavator j establishes communication with other channels is obtained. S is the total number of times each excavator establishes communication with each channel. After subtracting the number of times excavator j establishes communication with channel n, the number of times other channels establish communication is obtained. The number of times excavator j establishes communication with other channels, divided by the ratio of the number of times excavator j establishes communication with other channels, can obtain the correlation degree between other channels and excavator j. Logarithmic operation is performed on the basis of this ratio. According to the principle of logarithmic operation, the smaller the value, the larger the value obtained after calculation. After logarithmic operation, it becomes the correlation degree between excavator j and channel n. The actual significance of this value lies in the tendency trend of each transport vehicle to go to each loading point within the statistical time.
[0060] In this embodiment, the monitoring schedule is generated based on the following steps:
[0061] Set the basic duration, and calculate the monitoring duration T of channel n in the monitoring schedule sent to excavator j based on the fourth formula. n , the fourth formula is: Among them, T is the basic duration;
[0062] The channels included in the monitoring schedule are copied and interspersed in order, the monitoring duration is divided into multiple sub-durations based on the number of times the channel appears in one cycle, and the time interval between channels with the same number is less than or equal to a third threshold.
[0063] Specifically, after calculating the deviation value of each channel of excavator j, in the presence of a basic duration, the monitoring duration of each channel is calculated based on the fourth formula. In the fourth formula, first calculate the proportion of the deviation values of each channel. For example, if the deviation values of channel 1, channel 2, and channel 3 are 0.1, 0.4, and 0.5, then the proportion of channel 1 is 0.1 / (0.1+0.4+0.5)=0.1. Multiply it by the basic duration to obtain the corresponding monitoring duration. Afterwards, the monitoring durations of channel 1, channel 2, and channel 3 in loading point 1 calculated by this embodiment are 2s, 8s, and 10s, respectively, to ensure that the detection interval between the same channels is less than the third threshold. The third threshold is set according to the actual situation. This embodiment sets the third threshold to 6s. Figure 4 As shown, after splitting, the longest scanning interval between channels 1 is 4s, the longest scanning interval between channels 2 is 6s, and the longest scanning interval between channels 3 is 4s. This can shorten the interval for monitoring the same channel and avoid the situation where the vehicle cannot be detected for a long time after arriving.
[0064] After the monitoring schedule is updated, if there is a time interval between the same channels in a cycle that is greater than a third threshold, the channel is defined as a focus channel, and the sub-time intervals between the focus channels are split again to shorten the time interval between the two focus channels, wherein the updating of the monitoring schedule includes increasing or decreasing the monitoring time of the channel.
[0065] Specifically, whenever there is communication between the excavator and the vehicle, the deviation value of each excavator and each channel will change, resulting in changes in the monitoring time of each channel in each monitoring schedule. In order to quickly update the monitoring schedule, the increase or decrease value of each channel time is first obtained, and then the corresponding sub-durations in the monitoring schedule are increased proportionally. For example, channel 1 is increased by 4s. Figure 4 The two sub-time lengths are both 1s, so according to the ratio of 1:1, 2s are added on this basis respectively. After the increase, the time interval between channel 2 will exceed 6s. Then channel 1 is split into 1s and 2s, and 2s is inserted between channel 2 and channel 3, so that the time interval between channels in the same cycle is less than 6s; it is particularly noted that this embodiment considers the time interval in a cycle. In this way, the restrictions on the growth monitoring schedule can be reduced, the amount of calculation can be reduced, and the speed of generating the monitoring schedule can be accelerated.
[0066] In this embodiment, the channel is switched based on the following steps:
[0067] The identification module determines the target channel, which is an unoccupied channel in the channel status table, or a channel corresponding to the maximum communication stability rate in the occupied state. The identification module returns a switching signal to the on-board module through the default channel. The switching signal includes the number of the target channel. After sending the switching signal, the identification module switches its own channel to the target channel. After receiving the switching signal, the on-board module switches to the target channel. After the communication between the identification module and the on-board module is completed, the on-board module switches the channel to the default channel.
[0068] Specifically, when determining the target channel, first select a channel that is in an idle state, and then refer to Figure 3 In the third column of the channel status table, the status bar shows whether the channel is used by loading point B. If the channel 1 of loading point 2 is displayed as occupied, it means that loading point 2 is using channel 1, while channels 2 and 3 are displayed as idle. Similarly, loading point 3 is using channel 1; if the three channels corresponding to loading point 3 are all displayed as idle, it means that loading point 3 is not currently connected to any vehicle. Based on the above description, first extract the channels that are all idle, such as channel 3 as the target channel;
[0069] If all channels are occupied, select the channel with the highest communication stability and continue to refer to Figure 3 , assuming that there is also a mounting point 4 (not shown in the figure), and mounting point 4 occupies channel 3. When mounting point 4 occupies channel 3, the communication stability rate of mounting point 1 using channel 1 is 97% and is the maximum value, so channel 1 is selected as the target channel; in particular, if two mounting points occupy the same channel at the same time, for example, mounting points 2 and 3 occupy channel 2 at the same time, then the communication stability rate of channel 2 is 16%, instead of 85%, because channel 2 of mounting point 1 will be affected by channel 2 of mounting point 3.
[0070] In this embodiment, the identification module generates first information after establishing communication with the vehicle-mounted module, and generates second information after completing communication with the vehicle-mounted module. The first information includes the channel number used, and the second information includes the channel number used and the corresponding error rate. The identification module sends the first information or the second information to the central control module in real time based on the first communication method, so that the central control module updates the channel status table and the monitoring plan table and then redistributes them.
[0071] Specifically, by sending the first information and the second information immediately during and after the communication is completed, the central control module can update the channel status table and the monitoring schedule table in a timely manner.
[0072] like Figure 5As shown, the present invention also provides a loading and unloading process control system based on radio frequency identification and a single-chip microcomputer, which is used to implement the above-mentioned loading and unloading process control method based on radio frequency identification and a single-chip microcomputer, and the system includes:
[0073] The vehicle-mounted module is arranged in the transport vehicle, a default channel is recorded in the vehicle-mounted module, and the vehicle-mounted module sends the sensing information at a preset time interval in the default channel of the second communication mode;
[0074] A central control module is used to calculate and generate a deflection value for each channel of each identification module and a communication stability rate of each channel under different occupancy conditions through historical communication data, establish a channel status table based on the communication stability rate and the deflection value, add the current usage status of each channel to the channel status table, generate a monitoring schedule for each excavator based on the channel status table, the monitoring schedule includes a monitoring time for each channel, and the central control module sends the channel status table and the monitoring schedule to the identification module located in the excavator through the first communication method;
[0075] The identification module is used to cyclically monitor the channels included in the monitoring schedule. The total duration of each channel monitoring is the monitoring duration. When the identification module monitors the perception information in the channel, the channel evaluation value α is calculated based on the first formula. The first formula is: α = β i,n ω1-γ i,n ω2, where β i,n is the deviation value corresponding to channel n of excavator i, γ i,n is the minimum value of the communication stability rate of channel n used by excavator i when other excavators occupy channel n in the channel status table, ω1 and ω2 are respectively the preset first weight and second weight, if the channel evaluation value is less than the first threshold, the identification module communicates with the vehicle-mounted module in the default channel, otherwise, the identification module and the vehicle-mounted module switch channels for communication, and the identification module is also used to send vehicle information to the single-chip microcomputer module;
[0076] The single chip microcomputer module is used to check the vehicle information and obtain the check result, and send a work instruction to the identification module based on the check result.
[0077] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0078] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The above-mentioned program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0079] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0080] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0081] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for controlling the loading and unloading process based on radio frequency identification and single chip microcomputer, characterized in that: include: Each loading point is provided with an excavator, which is used to load the ore from the ore pile onto the transport vehicle. A vehicle-mounted module is provided in each transport vehicle, and an identification module is provided in the excavator. A default channel is entered into the vehicle-mounted module of the transport vehicle. The central control module calculates and generates a bias value for each channel of the identification module in each excavator through historical communication data between the identification module and the vehicle-mounted module, as well as a communication stability rate of each channel under different occupancy conditions; The central control module establishes a channel state table based on the communication stability rate and the deflection value, adds the current usage status of each channel to the channel state table, generates a monitoring schedule for each excavator based on the channel state table, and the monitoring schedule includes a monitoring duration for each channel. The central control module sends the channel state table and the monitoring schedule to the identification module located in the excavator through a first communication method; The on-board module of each transport vehicle sends perception information at a preset time interval in the default channel of the second communication mode, and the identification module cyclically monitors the channels included in the monitoring schedule, and the total duration of each channel monitoring is the monitoring duration. When the identification module of excavator i monitors the perception information in channel n, the channel evaluation value of channel n of excavator i is calculated based on the first formula, and the first formula is: ,in, is the deviation value corresponding to channel n of excavator i, is the minimum value of the communication stability rate when excavator i uses channel n when other excavators occupy channel n in the channel status table, and are respectively the preset first weight and the second weight; if the channel evaluation value of channel n of excavator i is less than the first threshold, the identification module of excavator i and the vehicle-mounted module that sends the perception information in channel n communicate in the default channel, otherwise, the identification module of excavator i and the vehicle-mounted module of the transport vehicle that sends the perception information in channel n switch channels for communication; The vehicle-mounted module of the transport vehicle that sends the perception information in channel n sends its own vehicle information to the single-chip computer module through the identification module of the excavator i. The single-chip computer module verifies the vehicle information and obtains the verification result, and sends a work instruction to the identification module based on the verification result; The bias value is calculated based on the following steps: Set the statistical duration, obtain the number of times each excavator establishes communication with each channel within the statistical duration, and calculate the deviation value of channel n and excavator j within the statistical duration based on the third formula , the third formula is ,in, is the number of times channel n communicates with excavator j during the statistical time period, is the number of times that excavator j establishes communication within the statistical time period, The number of times communication is established for channel n, The total number of times each excavator establishes communication with each channel; The monitoring schedule is generated based on the following steps: Set the basic duration, and calculate the monitoring duration of channel n in the monitoring schedule sent to excavator j based on the fourth formula. , the fourth formula is: , where T is the basic duration, is the deviation value of channel k and mining machine j during the statistical time period, and m is the total number of channels included in mining machine j; The channels included in the monitoring schedule are copied and arranged in an interleaved manner, and the monitoring duration is divided into a plurality of sub-durations based on the number of times the channels appear in one cycle, and the time interval for monitoring channels with the same number is less than or equal to a third threshold; After the monitoring schedule is updated, if there is a time interval between the same channels in a cycle that is greater than the third threshold, the channel is defined as a focus channel, and the sub-time length between the focus channels is split again to shorten the time interval between the two focus channels, wherein the updating of the monitoring schedule includes increasing or decreasing the monitoring time length of the channel.
2. The method for controlling loading and unloading processes based on radio frequency identification and single chip microcomputer according to claim 1 is characterized in that: Calculating the communication stability rate of each channel includes the following steps: The historical communication data includes the channel number used by each excavator at multiple time points and the error rate of each channel. The data using the same channel at the same time point but different excavators are divided into the same data group. Based on the data group and the second formula, the communication stability rate of excavator j using channel n when excavator i occupies channel n is calculated. , the second formula is: , wherein A is the number of data in the data group whose error rate is less than the second threshold, and B is the total number of data included in the data group.
3. The method for controlling loading and unloading processes based on radio frequency identification and single chip microcomputer according to claim 1 is characterized in that: Switch channels based on the following steps: The identification module determines a target channel, which is an unoccupied channel in the channel status table, or a channel corresponding to the maximum value of the communication stability rate in an occupied state. The identification module returns a switching signal to the vehicle-mounted module through a default channel, and the switching signal includes the number of the target channel. After sending the switching signal, the identification module switches its own channel to the target channel. After receiving the switching signal, the vehicle-mounted module switches to the target channel. After the communication between the identification module and the vehicle-mounted module is completed, the vehicle-mounted module switches the channel to the default channel.
4. The method for controlling loading and unloading processes based on radio frequency identification and single chip microcomputer according to claim 2 is characterized in that: The identification module generates first information after establishing communication with the vehicle-mounted module, and generates second information after completing communication with the vehicle-mounted module, wherein the first information includes the channel number used, and the second information includes the channel number used and the corresponding error rate. The identification module sends the first information or the second information to the central control module in real time based on the first communication method, so that the central control module updates the channel status table and the monitoring plan table and then redistributes them.
5. A loading and unloading process control system based on radio frequency identification and single-chip microcomputer, used to implement the loading and unloading process control method based on radio frequency identification and single-chip microcomputer as claimed in any one of claims 1 to 4, characterized in that: include: The vehicle-mounted module is arranged in the transport vehicle, the vehicle-mounted module of the transport vehicle has a default channel recorded therein, and the vehicle-mounted module of each transport vehicle sends the sensing information at a preset time interval in the default channel of the second communication mode; The central control module is used to calculate and generate the deflection value of each channel of the identification module in each excavator through the historical communication data between the identification module and the vehicle-mounted module, as well as the communication stability rate of each channel under different occupancy conditions. When calculating the deflection value, a statistical duration is set, and the number of times each excavator establishes communication with each channel within the statistical duration is obtained. The deflection value of channel n and excavator j within the statistical duration is calculated based on a third formula. , the third formula is ,in, is the number of times channel n communicates with excavator j during the statistical time period, is the number of times that excavator j establishes communication within the statistical time period, The number of times communication is established for channel n, The total number of times each excavator establishes communication with each channel, a channel status table is established based on the communication stability rate and the deflection value, and the current usage status of each channel is added to the channel status table. A monitoring schedule for each excavator is generated based on the channel status table. When generating the monitoring schedule, a basic duration is set, and the monitoring duration of channel n in the monitoring schedule sent to excavator j is calculated based on the fourth formula , the fourth formula is: , where T is the basic duration, is the deviation value of channel k and excavator j within the statistical time length, m is the total number of channels included in excavator j, the channels included in the monitoring schedule are copied and interspersed, the monitoring time length is divided into multiple sub-time lengths based on the number of times the channel appears in a cycle, the time interval for monitoring between channels with the same number is less than or equal to a third threshold, after the monitoring schedule is updated, if there is a time interval between the same channels greater than the third threshold in a cycle, the channel is defined as a focus channel, and the sub-time length between the focus channels is split again to shorten the time interval between the two focus channels, wherein the updating of the monitoring schedule includes increasing or decreasing the monitoring time length of the channel, the monitoring schedule includes the monitoring time length for each channel, and the central control module sends the channel status table and the monitoring schedule to the identification module located in the excavator through the first communication method; The identification module is arranged in the excavator. Each loading point is provided with an excavator. The excavator is used to load the ore from the ore pile onto the transport vehicle. The identification module is used to cyclically monitor the channels included in the monitoring schedule. The total duration of each channel monitoring is the monitoring duration. When the identification module of the excavator i monitors the perception information in the channel n, the channel evaluation value of the channel n of the excavator i is calculated based on the first formula. , the first formula is: ,in, is the deviation value corresponding to channel n of excavator i, is the minimum value of the communication stability rate when excavator i uses channel n when other excavators occupy channel n in the channel status table, and are respectively the preset first weight and the second weight. If the channel evaluation value of channel n of excavator i is less than the first threshold value, the identification module of excavator i communicates with the vehicle-mounted module that sends the perception information in channel n in the default channel. Otherwise, the identification module of excavator i and the vehicle-mounted module of the transport vehicle that sends the perception information in channel n switch channels for communication. The identification module is also used to send the vehicle information of the transport vehicle that sends the perception information in channel n to the single-chip computer module through the identification module of excavator i. A single-chip microcomputer module is used to check the vehicle information and obtain a check result, and send a work instruction to the identification module based on the check result.
Citation Information
Patent Citations
Loading and unloading process control system based on 2.4 G radio frequency identification and single chip microcomputer
CN114913617A
Communication system for a rail vehicle and method for communicating with a rail vehicle
US20120095626A1