Traffic command system for domestic waste transfer stations based on the Internet of Things
Through the Internet of Things technology combined with gradient descent method and wandering analysis, an objective function for congestion consideration is constructed and the vehicle path is automatically planned, which solves the problems of slow arrival of vehicles at idle stations and safety hazards in traditional methods, achieving fast and accurate Garbage delivery path selection.
Patent Information
- Application Number
- CN202411170230.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-26
AI Technical Summary
In domestic waste transfer stations, the traditional method of human-guided vehicles to reach work stations has personnel waste and safety risks. At the same time, the traditional solution method is slow or unable to converge when setting the search step length, which cannot effectively solve the problem of vehicles reaching idle stations quickly. .
The traffic command system of domestic waste transfer stations based on the Internet of Things is adopted, including data acquisition module, objective function construction module and optimization solution module. The traversal step length is adjusted through gradient descent method and hovering analysis, and the objective function is constructed in combination with the degree of congestion to optimize the vehicle path. Choose to use IoT technology to achieve automatic road planning.
It improves the speed and efficiency of the vehicle to reach the idle station, reduces the solution time, enhances the safety and accuracy of the system, and is suitable for congested and non-congested road situations.
Smart Images

Figure CN118690939B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and more specifically, to a traffic command system for a domestic waste transfer station based on the Internet of Things. Background Art
[0002] There are multiple workstations in a domestic waste transfer station. When a vehicle arrives at the domestic waste transfer station, it needs to transport the garbage it carries to an available workstation. Traditionally, manual guidance is used to guide the vehicle to the corresponding available workstation. This manual guidance method not only wastes manpower, but also poses safety risks. Therefore, a method needs to be designed to automatically plan routes for vehicles.
[0003] In order to allow vehicles to transport garbage to available workstations as quickly as possible, vehicles need to travel the shortest possible route to reach available workstations; at the same time, since there are many vehicles transporting garbage to each workstation, the roads will be congested to a certain extent. In order to allow vehicles to transport garbage to available workstations as quickly as possible, vehicles need to choose to travel on less congested routes. Therefore, an objective function needs to be designed to control the path selection, which takes into account both the road length and the road congestion, so that vehicles can transport garbage to available workstations as quickly as possible.
[0004] In order to prevent vehicles from waiting for a long time when planning roads for them, the optimal solution of the objective function needs to be solved as quickly as possible. The traditional solution method is to set a fixed search step size based on experience to traverse various feasible solutions. When the search step size is set small, the traversal speed will be slow, and it will take a lot of time to obtain the optimal solution. When the search step size is set large, it will cause the optimal solution to be continuously crossed, making it impossible for the objective function to converge, resulting in a slow solution speed. Therefore, how to set a suitable search step size becomes the research focus of the present invention.
[0005] The patent application document with publication number CN116307108A discloses a method for optimizing the routes and cycles for the collection and transportation of rural domestic waste. This method plans routes for vehicles based on factors such as the amount of waste and the route. The method in this document does not consider congestion and search step setting issues, and is therefore not suitable for the scenario of the present invention. Summary of the invention
[0006] In order to solve the problem of how to set a suitable search step length, the present invention proposes a traffic command system for domestic waste transfer stations based on the Internet of Things. The system includes the following modules:
[0007] Data collection module, used to obtain all paths from the entrance to the available workstations;
[0008] Objective function building module, which obtains pre-built objective functions;
[0009] The optimization solution module is used to take the vector formed by the center points of the road segments in the path as a feasible solution, start traversing from a preset feasible solution, use a preset step length as the traversal step length, use the gradient descent method to traverse a preset number of feasible solutions and calculate the objective function value corresponding to the traversed feasible solution; calculate the wandering , Respectively represent and The sum of the traversed feasible solutions and the previous traversed feasible solution, Indicates the preset quantity, They represent the probability of data greater than or less than 0 in the difference between the objective function values of all two adjacent traversed feasible solutions. It means to normalize the data to between -1 and 1. Represents the modulus of the vector; the value obtained by multiplying the preset step length by 1 and the difference between the wandering and rounding up is taken as the adjusted step length, and the adjusted step length is used as the traversal step length for the next traversal. The traversal is continued using the gradient descent method until the objective function value converges, and the path corresponding to the objective function value at the time of convergence is taken as the recommended path;
[0010] The traffic control module is used to guide incoming vehicles to follow the recommended route.
[0011] In the process of solving the objective function, the present invention uses wandering analysis to determine whether the traversed feasible solution occurs in the phenomenon of wandering around a certain data, so as to determine whether it has been traversed to the vicinity of the optimal solution, so as to adjust the traversal step length to traverse to the feasible solution faster and increase the solution speed. Further, when calculating wandering, the difference between the traversed feasible solutions is considered to determine whether the traversed feasible solutions are concentrated together, so as to determine whether the traversed feasible solution appears in the phenomenon of wandering around a certain data; at the same time, when calculating wandering, the sign of the difference between the objective function values corresponding to the adjacent traversed feasible solutions is considered to determine whether the objective function value corresponding to the traversed feasible solution does not have a monotonic change feature, so as to determine whether the traversed feasible solution has the feature of wandering around the optimal solution.
[0012] Preferably, the obtaining of a pre-built objective function comprises:
[0013] Calculate the congestion degree of each road section; construct a first relationship between the congestion degree and the driving speed; based on the congestion degree of each road section, use the first relationship to fit the driving speed fitting value of each vehicle, divide the length of the first road section passed by the incoming vehicle on the path by the driving speed fitting value to obtain the estimated time to pass the first road section, calculate the new position and new driving direction of the vehicle in the station according to the position of the vehicle in the station, the driving speed fitting value and the estimated time, recalculate the congestion degree of each road section according to the new position and new driving direction of the vehicle in the station, obtain the estimated time to pass the second road section based on the newly calculated congestion degree of each road section, and so on, until reaching an available workstation, and take the cumulative sum of the estimated time for the incoming vehicle to pass through all sections of the path as the objective function.
[0014] When constructing the objective function, the present invention introduces the degree of congestion to take into account the impact of congestion on the speed of the incoming vehicle, thereby more accurately estimating the time it takes for the incoming vehicle to pass through the path, providing a basis for subsequently accurately obtaining a path to quickly reach an available workstation. Further, when constructing the objective function, the change in the degree of congestion of each road section caused by future changes in the position of the vehicle is taken into account, thereby more accurately assessing the degree of congestion of each road section when the incoming vehicle travels to each road section, thereby more accurately calculating the time it takes for the incoming vehicle to pass through the path, providing a basis for subsequently accurately obtaining a path to quickly reach an available workstation.
[0015] Preferably, the calculating the congestion degree of each road section includes:
[0016] ;
[0017] in, Indicates the first The distance between a vehicle in the station and the nearest vehicle in front of it. Indicates the first The angle between the vehicle in the station and the driving direction of the nearest vehicle in the station in front, Indicates the number of vehicles in the station traveling on the road section. Indicates the congestion level of the road section.
[0018] When calculating the congestion degree, the present invention not only introduces the distance between the vehicle and the vehicle directly in front, but also considers the angle between the vehicle and the driving direction of the vehicle directly in front, so as to more comprehensively and accurately evaluate the congestion situation affecting the vehicle speed.
[0019] Preferably, the method for obtaining the nearest vehicle in the station in front includes:
[0020] The driving direction of the vehicle in the station is obtained, the vehicle image in the road section is collected, and the vehicle area of the vehicle in the station in the vehicle image is segmented using a pre-trained vehicle recognition network. A straight line is drawn through the geometric center of the vehicle area of the vehicle in the station along the driving direction, and the vehicle in the station corresponding to the nearest vehicle area intersecting with the straight line is taken as the nearest vehicle in the station directly in front.
[0021] Preferably, the method for obtaining the distance between the vehicle in the station and the nearest vehicle in front of the station includes:
[0022] The distance between the nearest pixels of the vehicle area of the vehicle in the station and the vehicle area of the nearest vehicle in the station directly in front is taken as the pixel distance between the vehicle in the station and the nearest vehicle in the station directly in front, and the pixel distance is converted into a distance in the world coordinate system, which is recorded as the distance between the vehicle in the station and the nearest vehicle in the station directly in front.
[0023] When acquiring the distance, the present invention takes into account the actual distance relationship between vehicles, more accurately assesses the distance relationship between vehicles, and provides a basis for accurately assessing the congestion situation.
[0024] Preferably, the method for obtaining the first relational expression includes:
[0025] The average driving speed of all vehicles in the station in the road section is obtained, and a polynomial of the congestion degree of all road sections and the average driving speed is fitted using the least squares method, which is recorded as the first relationship.
[0026] Preferably, the step of calculating the new position and new driving direction of the vehicle in the station according to the position of the vehicle in the station, the driving speed fitting value and the estimated duration includes:
[0027] The fitting value of the driving speed of the vehicle in the station is multiplied by the estimated duration to obtain the driving path length, and based on the position of the vehicle in the station and the driving path length, a new position of the vehicle in the station is obtained on the preset planned path of the vehicle in the station;
[0028] If the new position of the vehicle in the station is not at an intersection, the tangent direction of the road at the new position of the vehicle in the station is used as the driving direction of the vehicle in the station;
[0029] If the new position of the vehicle in the station is at an intersection, the tangent direction of the path that the vehicle in the station will enter is used as the new driving direction of the vehicle in the station.
[0030] When estimating the new position of a vehicle in a station, the present invention takes the degree of congestion into consideration when using a fitting value of the driving speed, thereby improving the accuracy of the estimation of the new position of the vehicle in the station; further, when estimating the new driving direction of the vehicle in the station, the tangent direction of the entry path is used as the new driving direction, thereby more accurately evaluating the new driving direction of the vehicle in the station.
[0031] Preferably, the method for obtaining the road section includes:
[0032] The path is evenly divided into segments of equal length.
[0033] The present invention has the following technical effects:
[0034] In the process of solving the objective function, the present invention uses wandering analysis to determine whether the traversed feasible solution occurs in the phenomenon of wandering back and forth around a certain data, so as to determine whether it has been traversed to the vicinity of the optimal solution, so as to traverse to the feasible solution faster by adjusting the traversal step size, thereby increasing the solution speed.
[0035] Furthermore, when calculating the wandering property, the differences between the traversed feasible solutions are taken into account to determine whether the traversed feasible solutions are concentrated together, so as to determine whether the traversed feasible solutions appear to wander around a certain data; at the same time, when calculating the wandering property, the signs of the difference between the objective function values corresponding to the adjacent traversed feasible solutions are taken into account to determine whether the objective function value corresponding to the traversed feasible solution does not have a monotonic change characteristic, so as to determine whether the traversed feasible solution has the characteristic of wandering around the optimal solution.
[0036] Furthermore, when constructing the objective function, the present invention introduces the degree of congestion to take into account the impact of congestion on the speed of incoming vehicles, thereby more accurately estimating the time it takes for incoming vehicles to pass through the path, providing a basis for subsequently accurately obtaining a path to quickly reach an available workstation.
[0037] Furthermore, when constructing the objective function, the changes in the congestion level of each road section caused by future changes in vehicle positions are taken into account, so as to more accurately assess the congestion level of each road section when the incoming vehicles travel to the road section, thereby more accurately calculating the time it takes for the incoming vehicles to pass through the path, providing a basis for the subsequent accurate acquisition of the path to quickly reach the available workstations. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0039] Figure 1 This is a system block diagram of a traffic command system for a domestic waste transfer station based on the Internet of Things according to an embodiment of the present invention;
[0040] Figure 2 A schematic diagram of traversal wandering provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0042] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.
[0043] The present invention provides a traffic command system for domestic waste transfer stations based on the Internet of Things. Figure 1 As shown, the traffic command system for domestic waste transfer stations based on the Internet of Things includes modules 101-104, which are described in detail below.
[0044] The data collection module 101 is used to obtain all paths from the station entrance to the available workstations.
[0045] Specifically, the vehicles that have just arrived at the entrance of the domestic waste transfer station are called waiting vehicles. After arriving at the domestic waste transfer station, the weight of the waste carried by the vehicle is collected on the scale at the entrance. At the same time, the license plate recognition system next to the scale will recognize the license plate information of the waiting vehicle.
[0046] The mass sensor installed on the workstation is used to detect the actual mass stored at the workstation. At the same time, the vehicle detection device installed at the door of the workstation will return whether there is an unloading vehicle at the workstation. When the difference between the maximum mass of garbage that a workstation can store and the actual mass is greater than the mass of the garbage carried by the vehicle, and there is no unloading vehicle at the workstation, the workstation will be recorded as an available workstation.
[0047] Get all the paths from the entrance to the available workstations.
[0048] It should be noted that, since there may be multiple workstations that meet the above conditions, there may be multiple available workstations.
[0049] An objective function construction module 102 is used to obtain a pre-constructed objective function;
[0050] It should be noted that in order to allow the incoming vehicles to reach the available workstations as quickly as possible, a path needs to be selected so that the time spent by the incoming vehicles to reach the available workstations is shorter.
[0051] Optionally, as an example, get a pre-built objective function, including:
[0052] The speed limit interval set in the domestic waste transfer station is obtained, the average of the upper and lower limits of the speed limit interval is used as the expected driving speed of the vehicles to be entered, and the ratio of the path length to the expected driving speed is used as the objective function.
[0053] It should be noted that due to the large number of vehicles entering and exiting the domestic waste transfer station, congestion often occurs on the roads of the domestic waste transfer station. Therefore, vehicles waiting to enter the station cannot travel at the expected speed. Therefore, the path selected by this method cannot allow vehicles waiting to enter the station to reach the available workstations in the fastest way.
[0054] Preferably, as an example, obtaining a pre-built objective function includes:
[0055] Record the vehicles that are already in the domestic waste transfer station as in-station vehicles; divide the path evenly into sections of equal length, and obtain the congestion level of each section;
[0056] The mean of the driving speeds of all vehicles in the station on the road section is obtained, and a polynomial of the congestion degree of all road sections and the mean of the driving speed is fitted by the least square method, which is recorded as a first relational expression; the congestion degree of each road section is input into the first relational expression to obtain a fitting value of the driving speed of each vehicle, and the length of the first road section passed by the incoming vehicle on the path is divided by the fitting value of the driving speed to obtain an estimated time for the incoming vehicle to pass through the first road section;
[0057] The new position and new driving direction of the vehicle in the station are calculated according to the position of the vehicle in the station, the fitting value of the driving speed and the estimated time. The congestion degree of each road section is recalculated according to the new position and new driving direction of the vehicle in the station, and the estimated time for the incoming vehicle to pass through the second road section is obtained based on the newly calculated congestion degree of each road section, and so on, until an available workstation is reached, and the cumulative sum of the estimated time for the incoming vehicle to pass through all road sections of the path is used as the objective function.
[0058] It should be added that when the path is evenly divided into sections of equal length, the sections of equal length refer to sections with the same arc length of the center line of the road.
[0059] It can be seen that the objective function constructed in this way not only takes into account the speed of the vehicle when driving on the road under different congestion conditions, but also takes into account the changes in road congestion conditions, so as to more accurately estimate the driving time of the vehicle on the path. This ensures that the objective function can more accurately screen out the path that allows the vehicle to quickly reach the available workstation.
[0060] The above embodiments involve the congestion degree, the new position of the vehicle in the station and the new driving direction. The method for determining the congestion degree, the new position of the vehicle in the station and the new driving direction shall be described below.
[0061] Preferably, as an example, the method for obtaining the congestion degree includes:
[0062]
[0063] in, Indicates the first The distance between a vehicle in the station and the nearest vehicle in front of it. Indicates the first The angle between the vehicle in the station and the driving direction of the nearest vehicle in the station in front, Indicates the number of vehicles in the station traveling on the road section. Indicates the congestion level of the road section.
[0064] It should be noted that road congestion is not only related to the density of vehicles, but also to the driving direction relationship between vehicles. For example, at an intersection, a vehicle is traveling in the north-south direction, and the vehicle in front of it is traveling in the east-west direction. At this time, the vehicle needs to slow down and wait for the vehicle to pass. At this time, the driving speed of the vehicle is greatly reduced. Therefore, when calculating the congestion level, it is necessary to consider not only the distance relationship between vehicles, but also the driving direction relationship between vehicles.
[0065] The method for obtaining the nearest vehicle in the station in front is:
[0066] The driving direction of the vehicle in the station is obtained, the vehicle image in the road section is collected, and the vehicle area of the vehicle in the station in the vehicle image is segmented using a pre-trained vehicle recognition network. A straight line is drawn through the geometric center of the vehicle area of the vehicle in the station along the driving direction, and the vehicle in the station corresponding to the nearest vehicle area intersecting with the straight line is taken as the nearest vehicle in the station directly in front.
[0067] It should be added that the pre-trained vehicle identification network in this embodiment is the YoloV13 network, and the data set for training the vehicle identification network is a public data set, and the public data set used in this implementation is UA-DETRAC. Using data sets to train vehicle identification networks is a prior art and will not be described in detail here.
[0068] In addition, the distance to the nearest vehicle in the station in front is obtained by:
[0069] The distance between the nearest pixels of the vehicle area of the vehicle in the station and the vehicle area of the nearest vehicle in the station directly in front is taken as the pixel distance between the vehicle in the station and the nearest vehicle in the station directly in front, and the pixel distance is converted into a distance in the world coordinate system, which is recorded as the distance between the vehicle in the station and the nearest vehicle in the station directly in front.
[0070] It should be added that the method of converting the pixel distance into the distance in the world coordinate system is a prior art and will not be described in detail here.
[0071] Preferably, as an example, the method for obtaining the new position and new driving direction of the vehicle in the station includes:
[0072] The fitting value of the driving speed of the vehicle in the station is multiplied by the estimated duration to obtain the driving path length, and based on the position of the vehicle in the station and the driving path length, a new position of the vehicle in the station is obtained on the preset planned path of the vehicle in the station;
[0073] If the new position of the vehicle in the station is not at an intersection, the tangent direction of the road at the new position of the vehicle in the station is used as the driving direction of the vehicle in the station;
[0074] If the new position of the vehicle in the station is at an intersection, the tangent direction of the path that the vehicle in the station will enter is used as the driving direction of the vehicle in the station.
[0075] It should be supplemented that the preset planned path of the vehicle within the station is the driving path planned according to the method of the present invention when the vehicle within the station just arrives at the door of the domestic waste transfer station.
[0076] The optimization solution module 103 is used to take the vector formed by the center points of the sections in the path as a feasible solution, start traversal from a preset feasible solution, use a preset step size as the traversal step size, use the gradient descent method to traverse a preset number of feasible solutions and calculate the objective function value corresponding to the traversed feasible solution; calculate the wandering; take the preset step size multiplied by 1 and the wandering value, and round up the value as the adjusted step size, use the adjusted step size as the traversal step size for the next traversal, continue traversal using the gradient descent method until the objective function value converges, and use the path corresponding to the objective function value at the time of convergence as the recommended path.
[0077] Preferably, as an example, the method for obtaining a feasible solution includes: obtaining the geometric midpoint of each road segment, and taking the vector formed by the geometric center points of all road segments in the path as the feasible solution.
[0078] It should be noted that in the process of using the gradient descent method to find the optimal solution for the objective function, in order to ensure that the optimal solution can be traversed quickly, a larger traversal step size needs to be preset in the early stage. When traversing to the vicinity of the optimal solution with the preset larger traversal step size, the following error will occur: Figure 2 As shown in the traversal wandering diagram, the traversal wanders around the feasible solution near the optimal solution and fails to traverse to the optimal solution. This is because the traversal step length is large. Each time the next feasible solution is obtained by the gradient descent method, the optimal solution will be crossed, resulting in the inability to traverse to the optimal solution. Therefore, in the process of finding the optimal solution for the objective function, when wandering occurs, the traversal step length needs to be reduced. When wandering does not occur, the traversal step length needs to be increased to increase the traversal speed and solve the optimal solution as quickly as possible. Therefore, it is necessary to analyze whether there is wandering in the process of solving the objective function.
[0079] Preferably, as an example, the method for calculating wandering includes:
[0080]
[0081] in, Indicates The sum of the traversed feasible solutions and the previous traversed feasible solution, Indicates The sum of the traversed feasible solutions and the previous traversed feasible solution, Indicates the preset quantity, It represents the probability of data greater than 0 appearing in the difference between the objective function values of all two adjacent traversed feasible solutions. It represents the probability of data less than 0 in the difference of the objective function value of all two adjacent traversed feasible solutions. Indicates wandering, Indicates that the data is normalized to between -1 and 1. In this embodiment, the function for normalizing the data to the interval of -1 to 1 is: . Represents the base 10 logarithmic function.
[0082] It is understandable that if Figure 2As described in the traversal wandering diagram, when wandering around the optimal solution, the feasible solutions traversed are distributed around the optimal solution, so half of the cumulative sum of the feasible solutions of two adjacent traversals should be closer to the optimal solution, so the modulus length of the difference vector of the cumulative sum of all two adjacent feasible solutions traversed should be small. At the same time, when wandering around the optimal solution cycle, the function value obtained by the traversed feasible solution should not change monotonically, so the sign of the difference of the objective function value of all two adjacent traversed feasible solutions may be positive or negative, so the distribution of the sign of the difference of the objective function value of all two adjacent traversed feasible solutions is relatively chaotic, so the information entropy of the sign of the difference of the objective function value of all two adjacent traversed feasible solutions is large. Therefore, these two characteristics can accurately analyze whether there is wandering phenomenon in the process of solving the objective function.
[0083] It should be added that after using the adjusted step size to traverse the feasible solution and calculate the objective function value of the feasible solution, it is necessary to obtain the preset number of traversed feasible solutions and the corresponding objective function values before the traversal, and use the obtained preset number of traversed feasible solutions and the corresponding objective function values to calculate the new lingeringness, adjust the next traversal step size according to the new lingeringness, and so on, until the objective function value converges.
[0084] It should be further added that this embodiment randomly selects a feasible solution as the preset feasible solution, and other embodiments may select other feasible solutions, which are not specifically limited in this embodiment. In this implementation, the preset step size is 50 and the preset number is 10 as an example for description, and other embodiments may take other values, which are not specifically limited in this embodiment.
[0085] The traffic control module 104 is used to guide vehicles waiting to enter the station to travel along the recommended route.
[0086] Preferably, as an example, instructing the incoming vehicle to travel along the recommended route includes:
[0087] The available station corresponding to the recommended route is used as the target station, and the license plate information identified in module 101 is transmitted to the license plate recognition system of the target station. The recommended route is pushed to the mobile phone of the driver of the vehicle to be entered, and the driver drives to the target station according to the recommended route. The license plate detection system at the target station identifies the license plate information of the vehicle to be entered through the license plate recognition system, and matches and analyzes the license plate information with the transmitted license plate information. When the license plate information matches successfully, the rolling door on the target station automatically opens to allow the vehicle to enter to dump garbage.
[0088] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.
[0089] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. The traffic command system of domestic waste transfer station based on the Internet of Things is characterized by: Includes the following modules: Data collection module, used to obtain all paths from the entrance to the available workstations; The objective function construction module obtains the pre-built objective function, including: calculating the congestion level of each road section, including: ,in, Indicates the first The distance between a vehicle in the station and the nearest vehicle in front of it. Indicates the first The angle between the vehicle in the station and the driving direction of the nearest vehicle in the station in front, Indicates the number of vehicles in the station traveling on the road section. Indicates the congestion degree of the road section; constructs a first relational expression between the congestion degree and the driving speed; based on the congestion degree of each road section, uses the first relational expression to fit the driving speed fitting value of each vehicle, divides the length of the first road section passed by the incoming vehicle on the path by the driving speed fitting value to obtain the estimated time to pass the first road section, calculates the new position and new driving direction of the vehicle in the station according to the position of the vehicle in the station, the driving speed fitting value and the estimated time, recalculates the congestion degree of each road section according to the new position and new driving direction of the vehicle in the station, obtains the estimated time to pass the second road section based on the newly calculated congestion degree of each road section, and so on, until reaching an available work station, and takes the cumulative sum of the estimated time of the incoming vehicle passing through all road sections of the path as the objective function; The optimization solution module is used to take the vector formed by the center points of the road segments in the path as a feasible solution, start traversing from a preset feasible solution, use a preset step length as the traversal step length, use the gradient descent method to traverse a preset number of feasible solutions and calculate the objective function value corresponding to the traversed feasible solution; calculate the wandering , Respectively represent and The sum of the traversed feasible solutions and the previous traversed feasible solution, Indicates the preset quantity, They represent the probability of data greater than or less than 0 in the difference between the objective function values of all two adjacent traversed feasible solutions. It means to normalize the data to between -1 and 1. Represents the modulus of the vector; the value obtained by multiplying the preset step length by 1 and the difference between the wandering and rounding up is taken as the adjusted step length, and the adjusted step length is used as the traversal step length for the next traversal. The traversal is continued using the gradient descent method until the objective function value converges, and the path corresponding to the objective function value at the time of convergence is taken as the recommended path; The traffic control module is used to guide incoming vehicles to follow the recommended route.
2. The traffic command system for domestic waste transfer stations based on the Internet of Things according to claim 1 is characterized in that: The method for obtaining the nearest vehicle in the station in front includes: The driving direction of the vehicle in the station is obtained, the vehicle image in the road section is collected, and the vehicle area of the vehicle in the station in the vehicle image is segmented using a pre-trained vehicle recognition network. A straight line is drawn along the driving direction through the geometric center of the vehicle area of the vehicle in the station, and the vehicle in the station corresponding to the nearest vehicle area intersecting with the straight line is taken as the nearest vehicle in the station directly in front.
3. The traffic command system for domestic waste transfer stations based on the Internet of Things according to claim 2 is characterized in that: The method for obtaining the distance between the vehicle in the station and the nearest vehicle in front of the station includes: The distance between the nearest pixels of the vehicle area of the vehicle in the station and the vehicle area of the nearest vehicle in the station directly in front is taken as the pixel distance between the vehicle in the station and the nearest vehicle in the station directly in front, and the pixel distance is converted into a distance in the world coordinate system, which is recorded as the distance between the vehicle in the station and the nearest vehicle in the station directly in front.
4. The traffic command system for domestic waste transfer stations based on the Internet of Things according to claim 1 is characterized in that: The method for obtaining the first relational expression includes: The average driving speed of all vehicles in the station in the road section is obtained, and a polynomial of the congestion degree of all road sections and the average driving speed is fitted using the least square method, which is recorded as the first relationship.
5. The traffic command system for domestic waste transfer stations based on the Internet of Things according to claim 1 is characterized in that: The calculating of the new position and new driving direction of the vehicle in the station according to the position of the vehicle in the station, the fitting value of the driving speed and the estimated duration includes: The fitting value of the driving speed of the vehicle in the station is multiplied by the estimated duration to obtain the driving path length, and based on the position of the vehicle in the station and the driving path length, a new position of the vehicle in the station is obtained on the preset planned path of the vehicle in the station; If the new position of the vehicle in the station is not at an intersection, the tangent direction of the road at the new position of the vehicle in the station is used as the driving direction of the vehicle in the station; If the new position of the vehicle in the station is at an intersection, the tangent direction of the path that the vehicle in the station will enter is used as the driving direction of the vehicle in the station.
6. The traffic command system for domestic waste transfer stations based on the Internet of Things according to claim 1 is characterized in that: The method for obtaining the road section includes: The path is evenly divided into segments of equal length.
Citation Information
Patent Citations
Rural household garbage collection and transfer path and cycle optimization method
CN116307108A
Disease treatment path planning for emergency system
CN108305494A
Multi-region electric power system economic environment scheduling method and system based on knowledge distillation
CN116306310A
