Disclosure of Invention
The invention provides a method and a system for dynamically balancing subway carriage passenger flow, aiming at the defects of the prior art, wherein the method and the system can make full use of AFC data of a station, provide the method and the system for dynamically balancing the subway carriage passenger flow on the basis of a passenger information system and a communication system, guide the queuing passenger flow of a subway platform and the passenger flow in a carriage in real time, and solve the problems of insufficient utilization of space of the subway carriage and unbalanced distribution of the passenger flow.
The technical scheme of the invention is as follows: a dynamic passenger flow balancing system for a subway car comprises a passenger flow information acquisition subsystem, a dynamic passenger flow balancing subsystem and a dynamic passenger flow guiding subsystem;
the passenger flow information acquisition subsystem comprises
The automatic fare collection system AFC is used for collecting information of a starting point and an end point of taking a subway passenger;
the vehicle-mounted camera is used for collecting the number of passengers in the carriage;
the platform camera is used for collecting the number of people getting on or off each carriage;
the dynamic passenger flow balancing subsystem comprises a getting-off passenger flow prediction module and a dynamic passenger flow balancing module, and the getting-off passenger flow prediction module and the dynamic passenger flow balancing module are both connected with the server; the system is connected to a communication backbone network through a switch, and is used for receiving passenger flow information collected by an AFC (automatic frequency control), a vehicle-mounted camera and a platform camera and transmitting the passenger flow information to a passenger flow guiding scheme obtained by a dynamic passenger flow balancing module;
the getting-off passenger flow prediction module is used for carrying out statistical analysis on passenger destination information acquired by an automatic fare collection system (AFC) and on-off passenger flow data of each carriage acquired by a platform camera, and predicting the number of people getting off at the next station;
the dynamic passenger flow balancing module is used for balancing the dynamic passenger flow in the subway carriages and the dynamic passenger flow at the platform according to the passenger flow data of getting on or off the subway carriages collected by the platform camera and the passenger flow information in the carriages collected by the vehicle-mounted camera;
the dynamic passenger flow guidance subsystem comprises:
the carriage guiding display screen guides the carriage passenger flow to move by displaying a carriage passenger flow guiding scheme obtained by the dynamic passenger flow balancing subsystem;
the platform guide display screen guides passenger flow to queue by displaying a platform passenger flow guide scheme obtained by the dynamic passenger flow balancing subsystem;
the communication module is used for connecting a carriage guide display screen, a platform guide display screen, a passenger information system PIS and a dynamic passenger flow balancing module of the dynamic passenger flow balancing subsystem so as to transmit passenger flow information between stations and trains;
and the passenger information system PIS is used for receiving the carriage passenger flow balancing scheme and the platform passenger flow balancing scheme, editing and composing the carriage passenger flow balancing scheme and the platform passenger flow balancing scheme to generate a program list, then issuing information, and playing the program through the carriage guide display screen and the platform guide display screen according to the program.
Preferably, the automatic fare collection system AFC consists of an entrance gate, an exit gate, a server, a computer and a database.
Preferably, the get-off passenger flow prediction module includes:
the storage unit is used for storing passenger destination information acquired by AFC (automatic frequency control) at each line station and each item of boarding passenger flow data acquired by the platform camera;
the prediction unit is connected with the storage unit and used for analyzing carriage getting-off passenger flow data acquired by the AFC acquired passenger destination information platform camera and predicting the number of people getting-off in each carriage by a plurality of prediction methods; and transmitting the result of the predictive analysis to a dynamic passenger flow average module.
Preferably, the dynamic passenger flow balancing module includes:
the judging unit is used for identifying the acquired passenger flow information in the carriage through the vehicle-mounted camera and judging whether the passenger flow in the carriage reaches the expected passenger flow value of the carriage or not;
the computing unit is used for processing the passenger flow expected value of the carriage judged by the judging unit, and computing the passenger flow data collected by the vehicle-mounted camera and the platform camera by a passenger flow prediction method if the passenger flow in the carriage reaches the passenger flow expected value of the carriage;
and the decision unit is used for deciding a proper carriage passenger flow guiding scheme according to the result obtained by the calculation unit and deciding a proper platform passenger flow guiding scheme according to the result obtained by the prediction unit.
Preferably, the car guidance display screen is connected to the vehicle AP to receive the car passenger guidance plan delivered by the dynamic passenger balancing subsystem.
Preferably, the platform guidance display screen receives a platform passenger flow guidance scheme transmitted by the dynamic passenger flow balancing subsystem through a station local area network.
The invention also provides a dynamic balancing method for passenger flow of the subway carriage, which comprises the following steps:
s1), collecting subway passenger starting point and terminal point information by using an automatic fare collection system AFC, and counting the number of passengers in a subway carriage and the number of passengers getting on or off a platform by using a vehicle-mounted camera and a platform camera;
s2), carrying out statistical analysis on the collected start point and end point information of the subway passengers, predicting the number of people getting off at the next station, and balancing the dynamic passenger flow in the subway carriages and the dynamic passenger flow at the platform by a passenger flow dynamic balancing method;
s3), displaying the dynamic passenger flow information and the scheme for balancing the passenger flow to the passengers through the electronic display screen so as to guide the dynamic passenger flow in the carriage and the dynamic passenger flow at the platform.
Preferably, step S2) specifically includes the following steps:
s201), firstly, judging whether the number of passengers in the carriage reaches the expected passenger flow value E of the carriage by utilizing a judging unit; if the number of passengers is up or down, the average number of passengers in the carriage and the number of passengers to be guided by each carriage are obtained according to the number of passengers on or off the carriage, which is collected by the vehicle-mounted camera and the platform camera;
s202), according to the number of passengers getting on and off the train in the carriage collected by the vehicle-mounted camera and the platform camera, and the passenger guiding mode min () with the minimum number of passengers needing to move in the adjacent carriage;
s203), taking pictures according to the vehicle-mounted camera and the platformThe number of passengers getting on or off the carriage and the passenger flow balance function collected like the head are repeated to obtain the number of passengers needing to be guided by other carriages, and the passenger flow balance function f is defined (S)n) Comprises the following steps:
in the formula, N is the grouping number of the subway, and N belongs to N +) SnThe adjusted population represented as nth car; u (S)n) Indicating a people adjustment for the nth car; d (S)n) Indicates the population adjustment scheme set when the nth car is in, and u (S)n)∈D(Sn);u(Sn+1) Indicates that the number of the adjusted persons in the (n + 1) th carriage is Sn+1One people number adjustment scheme; d (S)n,u(Sn+1) Indicates that the number of persons adjusted in the (n + 1) th car is Sn+1Meanwhile, the number of people in the nth compartment is adjusted; f (u (S)n+1) Indicates that the number of persons adjusted in the (n + 1) th car is Sn+1(ii) a And f (u (S) when n is the last carn+1))=0。
Preferably, the step S201) of determining whether the number of passengers in the car reaches the expected car passenger flow value E includes the following steps:
s2011) when x is less than or equal to E, the method is directly connected to a decision module to obtain a proper platform passenger flow guiding scheme, namely, the method does not guide passenger flow in a carriage;
when x is larger than E, transmitting the number of passengers getting on and off the carriages collected by the vehicle-mounted camera and the platform camera to a computing unit, and preparing to process the data of the passengers getting on and off the carriages of each station collected by the vehicle-mounted camera and the platform camera by a mathematical method;
in the formula, x is the number of passengers in the compartment in one getting-on and getting-off period, and E is the expected value of passenger flow in the compartment;
s2012), calculating the number of passengers getting on or off the train according to the number of the passengers collected by the vehicle-mounted camera and the platform camera, and obtaining the average number of the passengers in the train;
[(a1-b1)+(a2-b2)+...+(an-bn)]÷n=X;
in the formula, anThe number of passengers getting on the nth compartment, bnThe number of passengers getting off the nth compartment is X, and the average number of passengers in the compartment is X;
s2013), obtaining the number of passengers needing to be guided by the nth compartment according to the number of passengers getting on or off the compartment, which is collected by the vehicle-mounted camera and the platform camera;
|an-bn-X|=|x'n|;
wherein, | x'nI is the number of passengers needing to be guided by the nth carriage;
s2014), judging the increase and decrease conditions of the number of passengers to be guided in the nth compartment;
x'nWhen the speed is more than 0, the nth carriage is reduced by x'nA human;
x'n< 0, then n th carriage increases x'nA human;
x'nIf the number of the adjacent cars is 0, carrying out passenger flow guidance on the nth car according to the situation of the adjacent car;
s2015), determining the passenger flow guiding direction as bidirectional guiding; and carrying out bidirectional guidance on the passenger flow of the nth section of the carriage.
Preferably, step S202) includes the steps of:
s2021), according to the number of passengers getting on or off the train in each carriage collected by the vehicle-mounted camera and the platform camera, the number of passengers needing to be guided in the nth-1 section of carriage;
|an-1-bn-1-X|=|x'n-1|;
in the formula, an-1The number of passengers getting on the nth-1 carriage, bn-1Is the number of people getting off the carriage of the (n-1) th carriage, | x'n-1I is the number of passengers needing to be guided by the (n-1) th carriage;
s2022), determining the number of passengers needing to be guided by the (n-1) th carriage by using a min function according to the number of passengers getting on or off the carriage, which is acquired by the vehicle-mounted camera and the platform camera;
in the formula (I), the compound is shown in the specification,
determining the function of the minimum number of people needing to be guided in the (n-1) th compartment;
is the (n-1) th compartment when x'
nAdjustment scheme > 0;
is the (n-1) th compartment when x'
nAn adjustment scheme below 0;
denotes when x'
nWhen the speed is more than 0, the nth carriage is reduced by x'
nA human;
denotes when x'
nIf < 0, adding x 'to the nth compartment'
nA human; s
n-1The number of people for adjusting the nth-1 carriage;
is when x'
nWhen the number is more than 0, the number of the adjusted people in the nth carriage is increased;
is when x'
nWhen the number is less than 0, the number of people for adjusting the nth carriage is increased;
s2023), when x'nWhen the number is more than 0, the number of passengers to be guided in the (n-1) th compartment is calculated;
wherein, | x'n-1-x'nL is when x'nWhen the number is more than 0, the number of passengers needs to be guided in the (n-1) th compartment;
s2024), during one sampling period,x'nIf the number is more than 0, judging that the number of passengers needs to be guided in the (n-1) th compartment;
x'n-1-x'nWhen the speed is more than 0, the (n-1) th carriage is reduced by x'n-1-x'nA human;
x'n-1-x'nIf < 0, increasing x 'to the n-1 st carriage'n-1-x'nA human;
s2025), calculating when x'nWhen the number is less than 0, the number of passengers needs to be guided in the (n-1) th compartment;
wherein, | x'n-1+x'nL is when x'nWhen the number is less than 0, the number of passengers needs to be guided in the (n-1) th compartment;
s2026), when x'nIf the number is less than 0, judging that the number of passengers needs to be guided in the (n-1) th compartment;
x'n-1+x'nWhen the speed is more than 0, the (n-1) th carriage is reduced by x'n-1+x'nA human;
x'n-1+x'nIf < 0, increasing x 'to the n-1 st carriage'n-1+x'nA human;
s2027), repeating the steps, and obtaining the number of passengers needing to be guided by the (n + 1) th compartment after the passengers in the nth compartment are obtained according to the number of passengers getting on or off the compartment, which is acquired by the vehicle-mounted camera and the platform camera, in a sampling period;
in the formula (I), the compound is shown in the specification,
determining the function of the minimum number of people needing to be guided in the (n + 1) th compartment;
is section n +1X 'of carriage'
nAdjustment scheme > 0;
is the (n + 1) th compartment when x'
nAn adjustment scheme below 0; s
n+1The number of the adjusted persons in the (n + 1) th carriage.
The invention has the beneficial effects that:
1. the invention utilizes a passenger flow information acquisition subsystem to acquire the information of a starting point and an end point of the subway passenger in real time; the number of passengers in the carriage and the number of passengers getting on or off the carriage;
2. according to the invention, the passenger flow information collected by the AFC, the vehicle-mounted camera and the platform camera is received by the dynamic passenger flow balancing subsystem and is transmitted to the passenger flow guiding scheme obtained by the dynamic passenger flow balancing module, so that the dynamic passenger flow in the subway carriage and the dynamic passenger flow at the platform are balanced;
3. the invention displays a passenger flow balancing scheme to guide passenger flow to move and displays a platform passenger flow balancing scheme to guide passenger flow to queue to the carriage and the platform through the carriage guide display screen and the platform guide display screen;
4. the method comprises the steps of identifying acquired passenger flow information in a carriage through a vehicle-mounted camera, judging whether the passenger flow in the carriage reaches a carriage passenger flow expected value, if the number of passengers in the carriage in a getting-on/off period is less than the carriage passenger flow expected value, guiding the passenger flow in the carriage without guiding, and if the number of passengers in the carriage in a getting-on/off period is more than the carriage passenger flow expected value, guiding the passenger flow in the carriage;
5. the invention can solve the problems of unbalanced carriage utilization and poor passenger riding comfort caused by too many or too few passengers in a certain section of the subway.
Detailed Description
The following further describes embodiments of the present invention with reference to the accompanying drawings:
example 1
As shown in fig. 1-2, the present embodiment provides a dynamic passenger flow balancing system for a subway car, where the system adopts a bidirectional guidance mode, and includes a passenger flow information collection subsystem, a dynamic passenger flow balancing subsystem, and a dynamic passenger flow guidance subsystem;
the passenger flow information acquisition subsystem comprises
The automatic fare collection system AFC is used for collecting information of a starting point and an end point of taking a subway passenger;
the vehicle-mounted camera is used for collecting the number of passengers in the carriage;
the platform camera is used for collecting the number of people getting on or off each carriage;
as shown in fig. 3, the dynamic passenger flow balancing subsystem includes a getting-off passenger flow prediction module and a dynamic passenger flow balancing module, both of which are connected to the server; the get-off passenger flow prediction module is used for receiving passenger flow information collected by an AFC (automatic control Unit), a vehicle-mounted camera and a platform camera, performing statistical analysis on the collected subway passenger starting point and terminal point information, predicting the number of get-off passengers at the next station, and transmitting the predicted number to a passenger flow guidance scheme obtained by the dynamic passenger flow balancing module;
the getting-off passenger flow prediction module is used for carrying out statistical analysis on passenger destination information acquired by an automatic fare collection system (AFC) and on-off passenger flow data of each carriage acquired by a platform camera, and predicting the number of people getting off at the next station;
the dynamic passenger flow balancing module is used for balancing the dynamic passenger flow in the subway carriages and the dynamic passenger flow at the platform according to the passenger flow data of getting on or off the subway carriages collected by the platform camera and the passenger flow information in the carriages collected by the vehicle-mounted camera;
the dynamic passenger flow guidance subsystem comprises:
the carriage guiding display screen guides the carriage passenger flow to move by displaying a carriage passenger flow guiding scheme obtained by the dynamic passenger flow balancing subsystem;
the platform guide display screen guides passenger flow to queue by displaying a platform passenger flow guide scheme obtained by the dynamic passenger flow balancing subsystem;
the communication module is used for connecting a carriage guide display screen, a platform guide display screen, a passenger information system PIS and a dynamic passenger flow balancing module of the dynamic passenger flow balancing subsystem so as to transmit passenger flow information between stations and trains;
and the passenger information system PIS is used for receiving the carriage passenger flow balancing scheme and the platform passenger flow balancing scheme, editing and composing the carriage passenger flow balancing scheme and the platform passenger flow balancing scheme to generate a program list, then issuing information, and playing the program through the carriage guide display screen and the platform guide display screen according to the program.
Preferably, the automatic fare collection system AFC consists of an entrance gate, an exit gate, a server, a computer and a database.
Preferably, the get-off passenger flow prediction module includes:
the storage unit is used for storing passenger destination information acquired by AFC (automatic frequency control) at each line station and each item of boarding passenger flow data acquired by the platform camera;
the prediction unit is connected with the storage unit and used for analyzing carriage getting-off passenger flow data acquired by the AFC acquired passenger destination information platform camera and predicting the number of people getting-off in each carriage by a plurality of prediction methods; and transmitting the result of the predictive analysis to a dynamic passenger flow average module.
Preferably, the dynamic passenger flow balancing module includes:
the judging unit is used for identifying the acquired passenger flow information in the carriage through the vehicle-mounted camera and judging whether the passenger flow in the carriage reaches the expected passenger flow value of the carriage or not;
the computing unit is used for processing the passenger flow expected value of the carriage judged by the judging unit, and computing the passenger flow data collected by the vehicle-mounted camera and the platform camera by a passenger flow prediction method if the passenger flow in the carriage reaches the passenger flow expected value of the carriage;
and the decision unit is used for deciding a proper carriage passenger flow guiding scheme according to the result obtained by the calculation unit and deciding a proper platform passenger flow guiding scheme according to the result obtained by the prediction unit.
Preferably, the car guidance display screen is connected to the vehicle AP to receive the car passenger guidance plan delivered by the dynamic passenger balancing subsystem.
Preferably, the platform guidance display screen receives a platform passenger flow guidance scheme transmitted by the dynamic passenger flow balancing subsystem through a station local area network.
Example 2
As shown in fig. 4 and 5, the present embodiment provides a dynamic equalization method for passenger flow in a subway car, including the following steps:
s1), collecting subway passenger starting point and terminal point information by using an automatic fare collection system AFC, and counting the number of passengers in a subway carriage and the number of passengers getting on or off a platform by using a vehicle-mounted camera and a platform camera;
s2), carrying out statistical analysis on the collected start point and end point information of the subway passengers, predicting the number of people getting off at the next station, and balancing the dynamic passenger flow in the subway carriages and the dynamic passenger flow at the platform by a passenger flow dynamic balancing method;
s3), displaying the dynamic passenger flow information and the scheme for balancing the passenger flow to the passengers through the electronic display screen so as to guide the dynamic passenger flow in the carriage and the dynamic passenger flow at the platform.
Preferably, the step S2) includes the following steps:
s201), firstly, judging whether the number of passengers in the carriage reaches the expected passenger flow value E of the carriage by utilizing a judging unit; if the number of passengers is up or down, the average number of passengers in the carriage and the number of passengers to be guided by each carriage are obtained according to the number of passengers on or off the carriage, which is collected by the vehicle-mounted camera and the platform camera;
s202), according to the number of passengers getting on and off the train in the carriage collected by the vehicle-mounted camera and the platform camera, and the passenger guiding mode min () with the minimum number of passengers needing to move in the adjacent carriage;
s203), defining a passenger flow balance function f (S) according to the passenger number of getting on or off the train and the passenger flow balance function collected by the vehicle-mounted camera and the platform camera in the carriage and the passenger number required to be guided by other carriages obtained by repeating the stepsn) Comprises the following steps:
in the formula, N is the grouping number of the subway, and N belongs to N +) SnThe adjusted population represented as nth car; u (S)n) Indicating a people adjustment for the nth car; d (S)n) Indicates the population adjustment scheme set when the nth car is in, and u (S)n)∈D(Sn);u(Sn+1) Indicates that the number of the adjusted persons in the (n + 1) th carriage is Sn+1One people number adjustment scheme; d (S)n,u(Sn+1) Indicates that the number of persons adjusted in the (n + 1) th car is Sn+1Meanwhile, the number of people in the nth compartment is adjusted; f (u (S)n+1) Indicates that the number of persons adjusted in the (n + 1) th car is Sn+1(ii) a And f (u (S) when n is the last carn+1))=0。
Preferably, the step S201) of determining whether the number of passengers in the car reaches the expected car passenger flow value E includes the following steps:
s2011) when x is less than or equal to E, the method is directly connected to a decision module to obtain a proper platform passenger flow guiding scheme, namely, the method does not guide passenger flow in a carriage;
when x is larger than E, transmitting the number of passengers getting on and off the carriages collected by the vehicle-mounted camera and the platform camera to a computing unit, and preparing to process the data of the passengers getting on and off the carriages of each station collected by the vehicle-mounted camera and the platform camera by a mathematical method;
in the formula, x is the number of passengers in the compartment in one getting-on and getting-off period, and E is the expected value of passenger flow in the compartment;
s2012), calculating the number of passengers getting on or off the train according to the number of the passengers collected by the vehicle-mounted camera and the platform camera, and obtaining the average number of the passengers in the train;
[(a1-b1)+(a2-b2)+...+(an-bn)]÷n=X;
in the formula, anThe number of passengers getting on the nth compartment, bnThe number of passengers getting off the nth compartment is X, and the average number of passengers in the compartment is X;
s2013), obtaining the number of passengers needing to be guided by the nth compartment according to the number of passengers getting on or off the compartment, which is collected by the vehicle-mounted camera and the platform camera;
|an-bn-X|=|x'n|;
wherein, | x'nI is the number of passengers needing to be guided by the nth carriage;
s2014), judging the increase and decrease conditions of the number of passengers to be guided in the nth compartment;
x'nWhen the speed is more than 0, the nth carriage is reduced by x'nA human;
x'n< 0, then n th carriage increases x'nA human;
x'nIf the number of the adjacent cars is 0, carrying out passenger flow guidance on the nth car according to the situation of the adjacent car;
s2015), determining the passenger flow guiding direction as bidirectional guiding; and carrying out bidirectional guidance on the passenger flow of the nth section of the carriage.
Preferably, step S202) includes the steps of:
s2021), according to the number of passengers getting on or off the train in each carriage collected by the vehicle-mounted camera and the platform camera, the number of passengers needing to be guided in the nth-1 section of carriage;
|an-1-bn-1-X|=|x'n-1|;
in the formula, an-1The number of passengers getting on the nth-1 carriage, bn-1Is the number of people getting off the carriage of the (n-1) th carriage, | x'n-1I is the number of passengers needing to be guided by the (n-1) th carriage;
s2022), determining the number of passengers needing to be guided by the (n-1) th carriage by using a min function according to the number of passengers getting on or off the carriage, which is acquired by the vehicle-mounted camera and the platform camera;
in the formula (I), the compound is shown in the specification,
determining the function of the minimum number of people needing to be guided in the (n-1) th compartment;
is the (n-1) th compartment when x'
nAdjustment scheme > 0;
is the (n-1) th compartment when x'
nAn adjustment scheme below 0;
denotes when x'
nWhen the speed is more than 0, the nth carriage is reduced by x'
nA human;
denotes when x'
nIf < 0, adding x 'to the nth compartment'
nA human; s
n-1The number of people for adjusting the nth-1 carriage;
is when x'
nWhen the number is more than 0, the number of the adjusted people in the nth carriage is increased;
is when x'
nWhen the number is less than 0, the number of people for adjusting the nth carriage is increased;
s2023), when x'nWhen the number is more than 0, the number of passengers to be guided in the (n-1) th compartment is calculated;
wherein, | x'n-1-x'nL is when x'nWhen the number is more than 0, the number of passengers needs to be guided in the (n-1) th compartment;
s2024), during one sampling period, when x'nIf the number is more than 0, judging that the number of passengers needs to be guided in the (n-1) th compartment;
x'n-1-x'nWhen the speed is more than 0, the (n-1) th carriage is reduced by x'n-1-x'nA human;
x'n-1-x'nIf < 0, increasing x 'to the n-1 st carriage'n-1-x'nA human;
s2025), calculating when x'nWhen the number is less than 0, the number of passengers needs to be guided in the (n-1) th compartment;
wherein, | x'n-1+x'nL is when x'nWhen the number is less than 0, the number of passengers needs to be guided in the (n-1) th compartment;
s2026), when x'nIf the number is less than 0, judging that the number of passengers needs to be guided in the (n-1) th compartment;
x'n-1+x'nWhen the speed is more than 0, the (n-1) th carriage is reduced by x'n-1+x'nA human;
x'n-1+x'nIf < 0, increasing x 'to the n-1 st carriage'n-1+x'nA human;
s2027), repeating the steps, and obtaining the number of passengers needing to be guided by the (n + 1) th compartment after the passengers in the nth compartment are obtained according to the number of passengers getting on or off the compartment, which is acquired by the vehicle-mounted camera and the platform camera, in a sampling period;
in the formula (I), the compound is shown in the specification,
determining the function of the minimum number of people needing to be guided in the (n + 1) th compartment;
is the (n + 1) th compartment when x'
nAdjustment scheme > 0;
is the (n + 1) th compartment when x'
nAn adjustment scheme below 0; s
n+1The number of the adjusted persons in the (n + 1) th carriage.
The foregoing embodiments and description have been presented only to illustrate the principles and preferred embodiments of the invention, and various changes and modifications may be made therein without departing from the spirit and scope of the invention as hereinafter claimed.