CN102074112B - Time sequence multiple linear regression-based virtual speed sensor design method - Google Patents

Time sequence multiple linear regression-based virtual speed sensor design method Download PDF

Info

Publication number
CN102074112B
CN102074112B CN 201110033437 CN201110033437A CN102074112B CN 102074112 B CN102074112 B CN 102074112B CN 201110033437 CN201110033437 CN 201110033437 CN 201110033437 A CN201110033437 A CN 201110033437A CN 102074112 B CN102074112 B CN 102074112B
Authority
CN
China
Prior art keywords
centerdot
pseudo
traffic flow
speed
sensor node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201110033437
Other languages
Chinese (zh)
Other versions
CN102074112A (en
Inventor
贾利民
董宏辉
徐东伟
邓文
李海舰
秦勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN 201110033437 priority Critical patent/CN102074112B/en
Publication of CN102074112A publication Critical patent/CN102074112A/en
Application granted granted Critical
Publication of CN102074112B publication Critical patent/CN102074112B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a time sequence multiple linear regression-based virtual speed sensor design method, which belongs to the technical field of traffic state acquisition and relates to data processing analysis and data fusion of a traffic flow sensor. The method comprises the following steps of: first, setting a virtual speed sensor between adjacent sensor nodes; then, mapping speed data on a time sequence to a space sequence and training a weight matrix which correlates to the speed of the virtual speed sensor and the speed data obtained by the traffic flow sensor by a least square method; and finally, estimating the speed of each virtual speed sensor through multiple linear regression by utilizing a weight coefficient and the speed data of the traffic flow sensor. The method can acquire the spatial distribution of the speed on a road section, can acquire more accurate traffic information and provides the basis for traffic management and control.

Description

Pseudo-velocity Sensor Design method based on the time series multiple linear regression
Technical field
The invention belongs to traffic behavior and obtain technical field, be specifically related to the Data Management Analysis of traffic flow sensor and a kind of pseudo-velocity Sensor Design method of data fusion based on the time series multiple linear regression.
Background technology
Transport information has the time-space domain characteristic, and traffic flow all has continuity in the time-space domain.Transport information is not only relevant with the current and historical traffic behavior in somewhere, and is simultaneously also relevant with the traffic behavior of upstream and downstream.To more reasonably confirm transport information, need confirm on the highway section continually varying traffic behavior on time and space.But owing to do not have measurement mechanism between the adjacent sensor node, the traffic data of sparse spatial sequence is difficult to directly obtain transport information accurately.
If the traffic behavior of locus, each sensor node place can be confirmed on the highway section, then when sensor abundant (trending towards infinite), can obtain traffic behavior accurately.Therefore we have defined virtual-sensor node (not actual traffic current detection functionality), if the traffic behavior of each locus, virtual-sensor node place can confirm that the traffic behavior that then can obtain the highway section distributes.
Traffic flow all has the characteristic of stream on time and space, so the continuity of the traffic behavior of the spatial sequence middle and lower reaches historical traffic behavior that is upper reaches is flowed.Therefore we utilize the speed data on the known sensor node time sequence, and the speed of the pseudo-velocity sensor node of diverse location on the spatial sequence is estimated.Utilize least square method to obtain the weight matrix with pseudo-velocity sensor node speed and traffic flow sensor velocity correlation, estimate the speed of pseudo-velocity sensor node, finally can obtain the space distribution of highway section speed through multiple linear regression.
Summary of the invention
In order to overcome the deficiency of the existing pick-up unit quantity of road, the present invention provides a kind of pseudo-velocity Sensor Design method based on the time series multiple linear regression, it is characterized in that, may further comprise the steps:
The step of (1) the pseudo-velocity sensor node being demarcated: adopt approach based on linear interpolation between adjacent traffic flow sensor, to set the pseudo-velocity sensor;
(2) according to the speed data of calibrated pseudo-velocity sensor node and traffic flow sensor, the step of training weight matrix: the seasonal effect in time series speed data is mapped to spatial sequence, the average velocity between the adjacent node is adopted to average is similar to, utilizes least square method that weight matrix is trained:
(3) estimate the step of pseudo-velocity sensor node speed: utilize data and the weight matrix of training on the sensor node time series, estimate the speed of pseudo-velocity sensor node through multiple linear regression.
Node in the said adjacent node comprises traffic flow sensor node and pseudo-velocity sensor node.
The said pseudo-velocity sensor node is demarcated is to suppose that the distance between traffic flow sensor node i and the i+1 is d i, the distance setting between the adjacent node (node comprises traffic flow sensor and pseudo-velocity sensor) is a i, then the number of the pseudo-velocity sensor node between traffic flow sensor node i and the i+1 is m i=[d i/ a i].
In the said step (2) the seasonal effect in time series speed data being mapped to spatial sequence is: at t NConstantly, (i, speed k) does defining virtual speed pickup node
Figure BDA0000046242500000021
Pseudo-velocity sensor node number between traffic flow sensor node i and the i+1 is m i, then by
Figure BDA0000046242500000022
Wherein, n iNumber for the speed data of the traffic flow sensor i of needs; w KjBe weight coefficient,
Figure BDA0000046242500000023
w Kj≤1; w Kj>=0; t NBe current time; Δ t is the time interval of traffic flow sensor acquisition data; v i(t N-q Δ t) (q=1,2...n i) be traffic flow sensor i current time t NThe q time preceding historical data.
Beneficial effect of the present invention:
The present invention is based on the method for time series multiple linear regression; Through between the neighboring sensors node, setting the pseudo-velocity sensor and weight matrix being trained based on least square method; Utilize the speed data of real sensor node time sequence; Obtain the speed of pseudo-velocity sensor node, realize design the pseudo-velocity sensor node.Through this result of design, can draw the space distribution of traffic behavior, can estimate transport information more accurately, for traveler provides real-time and effective information, help them to carry out routing better, realizing route is induced.
Description of drawings
Fig. 1 pseudo-velocity sensor node is demarcated synoptic diagram.
The time series speed data synoptic diagram of Fig. 2 sensor node i
Embodiment
The present invention provides a kind of pseudo-velocity Sensor Design method based on the time series multiple linear regression; Overcome the deficiency of the existing pick-up unit quantity of road; More reasonable aspect traffic flow theory, obtain the speed of pseudo-velocity sensor through the multiple linear regression on the time series, can obtain the space distribution of speed; Thereby estimate transport information more accurately, and foundation is provided for traffic administration and control.
Embodiment 1
A kind of pseudo-velocity Sensor Design method based on the time series multiple linear regression, contain following steps:
(1) the pseudo-velocity sensor node is demarcated.Suppose that the distance between traffic flow sensor node i and the i+1 is d i(unit, rice), the distance setting between the adjacent node is a i, then the number of the pseudo-velocity sensor node between traffic flow sensor node i and the i+1 is m i=[d i/ a i]; Node in the said adjacent node comprises pseudo-velocity sensor node and traffic flow sensor node; Be labeled as (i, 1), (i, 2) respectively ... (i, m i), as shown in Figure 1.
(2), train the step of weight matrix according to the speed data of calibrated pseudo-velocity sensor node and traffic flow sensor
Step 1: the seasonal effect in time series speed data is mapped to spatial sequence
Traffic flow all has the characteristic of stream on time and space, so the continuity of the traffic behavior of the spatial sequence middle and lower reaches historical traffic behavior that is upper reaches is flowed.Therefore can utilize the speed data on the known traffic flow sensor node time series, the speed of the pseudo-velocity sensor node of diverse location on the spatial sequence is estimated.
Traffic flow sensor node i (i=1,2 ... N) speed can directly be obtained, so pseudo-velocity sensor node (i, k) (k=1,2 ... M i) speed can be by the seasonal effect in time series data of sensor node i through calculating.(i, speed k) does the pseudo-velocity sensor node
v i , k ( t N ) = Σ j = 1 n i w kj × v i ( t N - j · Δt ) - - - ( 1 )
Wherein, n iNumber for the speed data of the traffic flow sensor i of needs; w KjBe weight coefficient,
Figure BDA0000046242500000042
w Kj≤1; w Kj>=0; t NBe current time; Δ t is the time interval of traffic flow sensor acquisition data; v i(t N-q Δ t) (q=1,2 ... N i) be traffic flow sensor i current time t NThe q time preceding historical data.The signal of traffic flow sensor node i seasonal effect in time series speed data is as shown in Figure 2.
Weight coefficient w KjCan constitute a weight matrix θ,
θ = w 11 w 12 . . . w 1 n i w 21 w 22 . . . w 2 n i . . . w m i 1 w m i 2 . . . w m i n i T
θ is relevant with the speed data of pseudo-velocity sensor node speed and traffic flow sensor.
On road conditions and the similar highway section of traffic flow situation, weight matrix is constant.Pseudo-velocity sensor node number between sensor node i and the sensor node i+1 is m i, can get matrix by (1):
w 11 w 12 . . . w 1 n i w 21 w 22 . . . w 2 n i . . . . . . . . . . . . w m i 1 w m i 2 . . . w m i n i v i ( t N - Δt ) v i ( t N - 2 Δt ) . . . v i ( t N - n i Δt ) = v i , 1 ( t N ) v i , 2 ( t N ) . . . v i , m i ( t N ) - - - ( 2 )
Step 2: adopt the method for averaging to be similar to the average velocity between the neighboring sensors
If enough pseudo-velocity sensors are arranged on the highway section, then the distance between the adjacent node (node comprises traffic flow sensor and pseudo-velocity sensor) will be very short.So, can adopt the method for averaging to be similar to for the average velocity between the adjacent traffic flow sensor, concerned as follows:
d i T i ( t N ) = v i ( t N ) + v i + 1 ( t N ) + Σ j = 1 m i v i , j ( t ) m i + 2 - - - ( 3 )
Wherein, T i(t N) for the start time be t NSensor node i and the real hourage between the sensor node i+1.
Step 3: utilize least square method that weight matrix is trained
Can get by (2) (3),
Σ j = 1 m i v i , j = w 11 × v i ( t N - Δt ) + w 12 × v i ( t N - 2 Δt ) + . . . + w 1 n i × v i ( t N - n i Δt ) ……(4)
+ w 21 × v i ( t N - Δt ) + w 22 × v i ( t N - 2 Δt ) + . . . + w 2 n i × v i ( t N - n i Δt )
+ . . .
+ w m i 1 × v i ( t N - Δt ) + w m i 2 × v i ( t N - 2 Δt ) + . . . + w m i n i × v i ( t N - n i Δt )
= d i T i ( t N ) × ( m i + 2 ) - v i ( t N ) - v i + 1 ( t N )
Then following formula one has m i* n iIndividual known variables is utilized abundant data source, lists the overdetermination matrix equation that constitutes shape such as A θ=b, wherein,
A = v i ( t 1 - Δt ) v i ( t 2 - Δt ) v i ( t l - Δt ) v i ( t 1 - 2 Δt ) v i ( t 2 - 2 Δt ) v i ( t l - 2 Δt ) . . . . . . . . . v i ( t 1 - n i Δt ) v i ( t 2 - n i Δt ) v i ( t l - n i Δt ) v i ( t 1 - Δt ) v i ( t 2 - Δt ) v i ( t l - Δt ) v i ( t 1 - 2 Δt ) v i ( t 2 - 2 Δt ) v i ( t l - 2 Δt ) . . . . . . . . . . . . v i ( t 1 - n i Δt ) v i ( t 2 - n i Δt ) v i ( t l - n i Δt ) . . . . . . . . . v i ( t 1 - Δt ) v i ( t 2 - Δt ) v i ( t l - Δt ) v i ( t 1 - 2 Δt ) v i ( t 2 - 2 Δt ) v i ( t l - 2 Δt ) . . . . . . . . . v i ( t 1 - n i Δt ) v i ( t 2 - n i Δt ) v i ( t l - n i Δt ) T - - - ( 5 )
θ = w 11 w 12 . . . w 1 n i w 21 w 22 . . . w 2 n i . . . w m i 1 w m i 2 . . . w m i n i T
b = d i T i ( t 1 ) × ( m i + 2 ) - v i ( t 1 ) - v ( i + 1 ) ( t 1 ) d i T i ( t 2 ) × ( m i + 2 ) - v i ( t 2 ) - v ( i + 1 ) ( t 2 ) . . . d i T i ( t l ) × ( m i + 2 ) - v i ( t l ) - v ( i + 1 ) ( t l ) - - - ( 6 )
Wherein, l>=m i* n i
Adopt least square method to estimate weight matrix; Make quadratic sum
Figure BDA0000046242500000062
minimum of error, thereby draw the estimated value of weight matrix θ.
(3), estimate the step of pseudo-velocity sensor node speed according to weight matrix after the training and the speed data on the traffic flow sensor time sequence
Utilize data and the weight matrix of training on the sensor node time series, estimate the speed of the pseudo-velocity sensor node of different time through multiple linear regression.
Embodiment 2:
Adopt the Xizhimenwai Dajie to carry out case verification.The sensor placement in this highway section and between distance as shown in Figure 4.Wherein, 41003,41004 is microwave detector, and speed data is provided; 67,68,69 is detecting device hourage, and the journey time of each car process adjacent hourage of detecting device is provided.
Distance between 41003 to 41004 is 1.2020km; The number of setting the pseudo-velocity sensor node is [1202.0/100]=12; Distance between the adjacent node (comprising real sensor node and pseudo-velocity sensor node) is 1202.0/12=100.2m, and from 41003 to 41004 demarcate successively and are (41003,1), (41003; 2) ... (41003,12).
The pseudo-velocity number of sensors is 12; Need 12 historical speed data to calculate the speed of pseudo-velocity sensor; Then per two adjacent nodes have 12 parameters between (comprising real sensor node and pseudo-velocity sensor node), and one has 144 parameters and need confirm on 41003 to the 41004 whole highway sections.
The journey time of all vehicles in the same data collection cycle is on average obtained this collection period hourage of the zero hour.The hourage that 67 to 68 and 68 to the 69 different moment are corresponding, ratio through distance was converted into the hourage between this moment speed pickup 41003 to 41004, was designated as T respectively 41003(t 1), T 41003(t 2) ... T 41003(t 144).With these hourages as real hourage.
Can get by (6), b = d 3 T 41003 ( t 1 ) × ( m 41003 + 2 ) - v 41003 ( t 1 ) - v 41004 ( t 1 ) d 3 T 41003 ( t 2 ) × ( m 41003 + 2 ) - v 41003 ( t 2 ) - v 41004 ( t 2 ) . . . d 3 T 41003 ( t 144 ) × ( m 41003 + 2 ) - v 41003 ( t 144 ) - v 41004 ( t 144 )
Wherein, m 3=12, v 41003(t N), v 41004(t N) (N=1,2 ... 144) be respectively t NThe speed data of 41003 and 41004 detections constantly.Extract 2008.08.13 to the data of the 9:00-12:00 of 2008.08.15 and calculate matrix b.
A whenever definite b (i) (i=1,2 ... 144), all in the tabulation of 41003 historical speed from t NThe zero hour get 12 speed datas forward, be designated as A (i, 1) respectively, A (i, 2) ... A (i, 12) obtains preceding 12 of A matrix and is listed as.Data collection cycle Δ t is 120s.Can be known that by Algorithm Analysis A should be one 144 * 144 matrix, per 12 row all are the repetitions of preceding 12 row.Thereby determine the A matrix.
Utilize least square method that parameter is trained, the parameter training model is following:
Min(Aθ-b) 2
w 11 + w 12 + . . . + w 1 ( 12 ) = 1 w 21 + w 22 + . . . + w 2 ( 12 ) = 1 . . . w 1 ( 12 ) + w 1 ( 12 ) + . . . + w ( 12 ) ( 12 ) = 1 w ij ≤ 1 w ij ≥ 0
Thereby estimate parameter matrix θ.

Claims (3)

1. the pseudo-velocity Sensor Design method based on the time series multiple linear regression is characterized in that, may further comprise the steps:
The step of (1) the pseudo-velocity sensor node being demarcated: adopt approach based on linear interpolation between adjacent traffic flow sensor, to set the pseudo-velocity sensor;
(2) according to the speed data of calibrated pseudo-velocity sensor node and traffic flow sensor; The step of training weight matrix: the seasonal effect in time series speed data is mapped to spatial sequence, the average velocity between the adjacent node is adopted to average is similar to, utilizes least square method that weight matrix is trained: wherein, the seasonal effect in time series speed data is mapped to spatial sequence is: at t NConstantly, (i, speed k) does defining virtual speed pickup node v i , k ( t N ) = ∑ j = 1 n i w k j × v i ( t N - j · Δ t ) Pseudo-velocity sensor node number between traffic flow sensor node i and the i+1 is m i, then by v i , k ( t N ) = ∑ j = 1 n i w k j × v i ( t N j · Δ t ) Get matrix:
w 11 w 12 · · · w 1 n i w 21 w 22 · · · w 2 n i · · · · · · · · · · · · w m i 1 w m i 2 · · · w m i n i v i ( t N - Δt ) v i ( t N - 2 Δt ) · · · v i ( t N - n i Δt ) = v i , 1 ( t N ) v i , 2 ( t N ) · · · v i , m i ( t N ) ,
Wherein, n iNumber for the speed data of the traffic flow sensor i of needs; K representes the pseudo-velocity sensor node; w KjBe weight coefficient,
Figure FDA0000184209004
w Kj≤1; w Kj>=0; t NBe current time; Δ t is the time interval of traffic flow sensor acquisition data; v i(t N-q Δ t) is traffic flow sensor i current time t NThe q time preceding historical data, q=1,1,2 ... N i
(3) estimate the step of pseudo-velocity sensor node speed: utilize data and the weight matrix of training on the sensor node time series, estimate the speed of pseudo-velocity sensor node through multiple linear regression.
2. the pseudo-velocity Sensor Design method based on the time series multiple linear regression according to claim 1 is characterized in that the node in the said adjacent node comprises traffic flow sensor node and pseudo-velocity sensor node.
3. the pseudo-velocity Sensor Design method based on the time series multiple linear regression according to claim 1 is characterized in that, the said pseudo-velocity sensor node is demarcated is to suppose that the distance between traffic flow sensor node i and the i+1 is d i, the distance setting between the adjacent node is a i, then the number of the pseudo-velocity sensor node between traffic flow sensor node i and the i+1 does
Figure FDA0000184209005
, said node comprises traffic flow sensor and pseudo-velocity sensor.
CN 201110033437 2011-01-30 2011-01-30 Time sequence multiple linear regression-based virtual speed sensor design method Expired - Fee Related CN102074112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110033437 CN102074112B (en) 2011-01-30 2011-01-30 Time sequence multiple linear regression-based virtual speed sensor design method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110033437 CN102074112B (en) 2011-01-30 2011-01-30 Time sequence multiple linear regression-based virtual speed sensor design method

Publications (2)

Publication Number Publication Date
CN102074112A CN102074112A (en) 2011-05-25
CN102074112B true CN102074112B (en) 2012-12-26

Family

ID=44032636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110033437 Expired - Fee Related CN102074112B (en) 2011-01-30 2011-01-30 Time sequence multiple linear regression-based virtual speed sensor design method

Country Status (1)

Country Link
CN (1) CN102074112B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102226932B (en) * 2011-05-31 2013-11-06 东北大学 Vehicle speed measuring method based on radio frequency identification technology
CN102271348B (en) * 2011-07-08 2014-03-05 电子科技大学 Link quality estimation system and method for cyber physical system
CN105894809B (en) * 2014-12-25 2018-03-20 杭州远眺科技有限公司 A kind of segmented urban road traffic state method of estimation
CN104751630B (en) * 2014-12-31 2017-01-18 浙江工业大学 Road traffic state acquisition method based on Kernel-KNN matching
CN105632193B (en) * 2015-12-25 2017-12-22 银江股份有限公司 A kind of shortage of data section speed calculation method based on space-time relationship
CN114283590B (en) * 2021-09-02 2023-03-21 青岛海信网络科技股份有限公司 Traffic flow peak prediction method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王旭.基于混合PETRI网的列车速度调整的分析.《第27届中国控制会议论文集》.2008,全文. *

Also Published As

Publication number Publication date
CN102074112A (en) 2011-05-25

Similar Documents

Publication Publication Date Title
CN102074112B (en) Time sequence multiple linear regression-based virtual speed sensor design method
Qiu et al. Estimation of freeway traffic density with loop detector and probe vehicle data
CN101739822B (en) Sensor network configuring method for regional traffic state acquisition
CN102509454B (en) Road state merging method based on floating car data (FCD) and earth magnetism detector
CN105006147B (en) A kind of Link Travel Time estimating method based on road spatial and temporal association
CN104200687B (en) A kind of driver's speed control behavior monitoring device and monitoring method
CN109191849B (en) Traffic jam duration prediction method based on multi-source data feature extraction
CN104778834A (en) Urban road traffic jam judging method based on vehicle GPS data
CN104680789B (en) Rapid road congestion index estimation and prediction method
CN101894461A (en) Method for predicting travel time on urban ground level roads
CN104197945A (en) Global voting map matching method based on low-sampling-rate floating vehicle data
CN106710215B (en) Bottleneck upstream lane grade traffic status prediction system and implementation method
Yang et al. Arterial roadway energy/emissions estimation using modal-based trajectory reconstruction
CN103942957A (en) Method for calculating signalized intersection vehicle queuing length under saturation condition
CN102592447A (en) Method for judging road traffic state of regional road network based on fuzzy c means (FCM)
CN106971536A (en) It is a kind of to merge Floating Car and the highway congestion status detection method of trackside video
CN101819719B (en) Method for setting initial green light time based on pedestrian and bicycle group
CN103456172A (en) Traffic parameter measuring method based on videos
CN102867422A (en) Vehicle ad hoc network-based real-time single-point intersection signal lamp control method
CN105389978B (en) Close through street monitoring system and monitoring data processing method
CN109272746A (en) A kind of MFD estimating and measuring method based on BP neural network data fusion
CN103778299A (en) Dynamic traffic flow based forecast method of noise in peripheral zone of long straight road
CN105930614A (en) Cell transmission model parameter calibration and verification method specific to variable speed limit control
CN104750963A (en) Intersection delay time estimation method and device
CN106355882A (en) Traffic state estimation method based on in-road detector

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121226

Termination date: 20220130