CN102280027B - Intersection semiphysical dynamic microcosmic simulation system and method - Google Patents

Intersection semiphysical dynamic microcosmic simulation system and method Download PDF

Info

Publication number
CN102280027B
CN102280027B CN 201110215556 CN201110215556A CN102280027B CN 102280027 B CN102280027 B CN 102280027B CN 201110215556 CN201110215556 CN 201110215556 CN 201110215556 A CN201110215556 A CN 201110215556A CN 102280027 B CN102280027 B CN 102280027B
Authority
CN
China
Prior art keywords
crossing
module
traffic lights
hardware module
sequential
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 201110215556
Other languages
Chinese (zh)
Other versions
CN102280027A (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.)
Changan University
Original Assignee
Changan 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 Changan University filed Critical Changan University
Priority to CN 201110215556 priority Critical patent/CN102280027B/en
Publication of CN102280027A publication Critical patent/CN102280027A/en
Application granted granted Critical
Publication of CN102280027B publication Critical patent/CN102280027B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The invention discloses an intersection semiphysical dynamic microcosmic simulation system which comprises an intersection microcosmic simulation module, a light emitting diode (LED) lamp hardware module, a traffic light hardware module, a signal timing control module and an intersection real object demonstration platform, wherein the signal timing control module sends a timing parameter to the intersection microcosmic simulation module and the traffic light hardware module and controls a traffic light of the intersection microcosmic simulation module according to feedback information of the traffic light hardware module; the intersection microcosmic simulation module simulates a situation of vehicles at an intersection and calculates an average delay of each vehicle at the intersection; the traffic light hardware module controls a traffic light and a count-down digital tube of the intersection real object demonstration platform according to the timing parameter; the LED hardware module controls states of LED lamps on the intersection real object demonstration platform according to state data of the LED lamps; and the intersection real object demonstration platform demonstrates a process that the vehicles pass through the intersection in the form of real objects. By the intersection semiphysical dynamic microcosmic simulation system, an intersection traffic light control system and a computer simulation technology are combined together, so that an aim of integrating simulation research and application practice is fulfilled.

Description

Crossing half dynamically microscopic simulation system and emulation mode thereof in kind
Technical field
The invention belongs to traffic simulation and field of computer technology, relate to a kind of crossing half dynamically microscopic simulation system and emulation mode thereof in kind.
Background technology
Emulation refers to the imitation to true material object as its name suggests, is also referred to as " simulation ", and it refers in order to find the solution problem part or the whole service process of simulated real system, artificially.And level-crossing place traffic complexity is the bottleneck of restriction transport development.Traffic simulation is the important tool of the complicated traffic problems of research, and its purpose is exactly to use computer technology to reproduce complicated traffic object, and these phenomenons are made an explanation, analyze, and finds out the crux of problem, finally the traffic system of studying is optimized.Traffic simulation is location and the reason of assistant analysis prediction traffic jam clearly, and the relevant scheme of city planning, traffic engineering and traffic administration is compared and estimates, and before problem becomes a reality, avoids as far as possible, or does some preparations.In the bigger crossing of the volume of traffic, generally all adopt signal controlling.With emulation mode research intersection signal scheme, it is an important topic of traffic engineering.
At present, traffic simulation method at intersection signal control mainly adopts the microscopic simulation method, it is elementary cell with the single unit vehicle to the description of traffic flow, vehicle on road with car, overtake other vehicles, microscopic behaviors such as behavior such as lane changing, vehicle queue and vehicle conflict can both obtain reflecting more really.For traffic simulation research, released hundreds of kind traffic simulation software both at home and abroad, popular also not following tens kinds.But these traffic simulation software only only are confined to research and the demonstration on the computing machine, do not relate to the exploitation of the research application hardware that is complementary with it.And the researcher of colleges and universities does not have the visual illustration platform of ocular demonstration traffic simulation experiment in carrying out intersection signal control research and teaching process, cause researcher and student can not understand real feasibility and the meaning of various signal controlling schemes fully.Moreover the researcher with whistle control system in the intersection signal of computing machine control analogue system and the reality separately only does the emulation experiment on the computing machine merely, causes the practical application of this achievement in research little.This makes the academic research of traffic flow to combine with practice, and follow-up study and study have been brought very big puzzlement.At present, urban traffic control system is quite perfect in the configuration of hardware and software, but the function aspect intersection signal control is very deficient, makes that crossing time and space utilization rate is too low, and it is excessive to cause vehicle to be incured loss through delay.
Summary of the invention
At the defective that exists in the above-mentioned prior art or deficiency, the objective of the invention is to, provide a kind of crossing half dynamically microscopic simulation system and emulation mode thereof in kind, this system and method is intersection signal to be controlled analogue system combine with the signal controlling hardware system, crossing controlling system of traffic light and computing machine crossing emulation technology are combined, not only can carry out Simulating Test Study on computers, also can with Study on optimized as a result synchronous applications in reality, simultaneously the form of the simulation process on the computing machine with material object shown, having reached collection simulation study module and application practice module is the purpose of one.
To achieve these goals, the present invention adopts following technical solution:
A kind of crossing half dynamically microscopic simulation system in kind is characterized in that, comprises at least as lower module:
Signal timing dial control module: in order to provide human-computer interaction interface to the user; Actual vehicle flowrate, saturation flow amount according to 4 the enterprising stomatodeums of direction in target crossing are calculated the timing parameter of this crossing; The information of vehicle flowrate that sends according to crossing microscopic simulation module calculates new timing parameter; Send according to each dummy spacings of traffic lights hardware module next the time sequence number control crossing microscopic simulation module in the sequential conversion of traffic lights;
Crossing microscopic simulation module: carry out the human-computer interaction interface of crossing emulation in order to computing machine to be provided to the user; The traffic conditions of the timing parameter simulated target crossing that sends according to the signal timing dial control module also shows at computer interface; Send the LED lamp status data in the road network in the emulation experiment to the LED hardware module in real time; Send information of vehicle flowrate to the signal timing dial control module; Calculating the average per car in whole crossing of each emulation experiment incurs loss through delay;
LED lamp hardware module: the state of controlling the LED lamp on the visual illustration platform of crossing in order to the LED lamp status data that sends according to crossing microscopic simulation module in real time;
Traffic lights hardware module: in order to control traffic lights and the countdown charactron of crossing visual illustration platform according to the timing parameter of signal timing dial control module transmission, comprise the timing that subtracts of the conversion of control sequential and countdown charactron;
Crossing visual illustration platform: in order to according to receiving the control signal that traffic lights hardware module and LED lamp hardware module send, represent in the emulation experiment process on the crossing microscopic simulation module interfaces vehicle by the motion process of crossing with the form of material object;
Wherein, crossing microscopic simulation module is connected with signal timing dial control module, LED lamp hardware module, and the signal timing dial control module is connected with the traffic lights hardware module, and LED lamp hardware module, traffic lights hardware module are connected with crossing visual illustration platform respectively.
Described crossing visual illustration platform is a base station, and this base station is marked with the track, crossing, and LED lamp, track traffic lights, walkway traffic lights, countdown charactron and circuit interface are set on the track, crossing.
Described LED lamp hardware module comprises some 24 point control circuits, crossing microscopic simulation module connects described every 24 point control circuits, every 24 point control circuits connect the circuit interface of 24 LED lamps of the correspondence group on the visual illustration platform of crossing, and described 24 point control circuits are made up of microprocessor, serial communication modular, toggle switch, Parallel I/O mouth expansion module and photoelectricity coupling isolation module.
Described traffic lights hardware module comprises 1 24 point control circuit and 1 light current control forceful electric power module that 24V changes 220V, and described 24 point control circuits are made up of microprocessor, serial communication modular, toggle switch, Parallel I/O mouth expansion module and photoelectricity coupling isolation module.
The above-mentioned crossing half dynamically emulation mode of microscopic simulation system in kind is characterized in that, specifically comprises the steps:
Step 1: the user selects a target crossing in the reality arbitrarily;
Step 2: vehicle flowrate, the saturation flow amount of investigating 4 the enterprising stomatodeums of direction in target crossing on the spot;
Step 3: with reference to Figure 15, each module of connected system, start-up system;
Step 4: the user writes road network file, transport need file and storage in crossing microscopic simulation module man-machine interface, and the structure of the road network file that the user writes is consistent with the crossing structure on the crossing demonstration platform;
Step 5: the user fills in vehicle flowrate and the saturation flow amount of investigating 4 the enterprising stomatodeums of direction in crossing that obtain in the man-machine interface of signal timing dial control module, and the signal timing dial control module utilizes the Robert Webster signal timing dial to optimize the timing parameter that formula calculates this crossing under the selected scheme; Perhaps, the user directly fills in timing parameter in the man-machine interface of signal timing dial control module;
Step 6: whether signal timing dial control module inquiry user wants to carry out adaptive control, be then to point out the user to fill in the interval duration that crossing microscopic simulation module sends the vehicle flowrate data (be unit with the second) in the man-machine interface of crossing microscopic simulation module, this interval duration is not less than a signal period (signal period is 4 sequential duration sums of initial timing parameter definition), and execution in step 7 then; Otherwise direct execution in step 7;
Described adaptive control refers to that in a same emulation experiment process interval duration that system fills in according to the user carries out a plurality of timing parameters controls automatically.
Step 7: the signal timing dial control module sends to traffic lights hardware module, crossing microscopic simulation module simultaneously with the timing parameter in the step 5, execution in step 8 then, crossing microscopic simulation module receives execution in step 9 behind the timing parameter, and the traffic lights hardware module receives execution in step 11 behind the timing parameter simultaneously;
Step 8: the time sequence number of next sequential that the signal timing dial control module sends the traffic lights hardware module in real time sends to crossing microscopic simulation module, thereby the synchronization simulation of control crossing microscopic simulation module and traffic lights hardware module, until the emulation experiment end signal of receiving the crossing emulation module, the emulation experiment end signal is sent to the traffic lights hardware module and withdraw from; The information of vehicle flowrate that crossing microscopic simulation module is sent calculates new timing parameter and sends to the traffic lights hardware module in real time;
Step 9: crossing microscopic simulation module receives carries out emulation experiment behind the timing parameter and shows at computer interface, status data with the LED lamp in the road network in the emulation experiment sends to LED lamp hardware module in real time, the situation of filling in duration at interval according to the user sends last one vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in crossing in the duration at interval to the signal timing dial control module, until the man-machine interface request end emulation experiment of user by crossing microscopic simulation module;
Step 10:LED lamp hardware module judges whether to receive the status data of LED lamp, be then according to all LED lamps on the visual illustration platform of the data in real time that receives control crossing in the light on and off of each second, otherwise rejudge;
Step 11: the traffic lights hardware module is converted to time sequence information with the timing parameter that receives, and according to light color and the countdown charactron of the traffic lights on the platform in kind of time sequence information control crossing, when changing, each sequential sends the sequence number of next sequential to the signal timing dial control module, until receiving the emulation experiment ending message that the signal timing dial control module sends;
Step 12: step 8, step 9, step 10 and step 11 carry out finishing until emulation experiment simultaneously, and the emulation module demonstration of final crossing is worked as the average per car in whole crossing of time emulation experiment and incured loss through delay.
Further, said method also comprises step 13, and the user determines whether needs adjustment timing parameter according to incuring loss through delay when the average per car in the crossing of time emulation experiment, is then to return step 5; Otherwise the user is connected to the traffic lights of real target crossing and the circuit interface of count-down device with the traffic lights hardware module, and utilizes timing parameter control target crossing traffic lights and the count-down device of this experiment.
Described timing parameter refers to the duration of East and West direction track green light, the duration of track amber light and the duration of track, north-south green light, 4 parameters of duration of track amber light.
Described step 8 specifically comprises the steps:
Step 801: judging whether to receive the time sequence number of next sequential that the traffic lights hardware module sends, is then it to be transmitted to crossing microscopic simulation module, and execution in step 802 then; Otherwise, execution in step 802;
Step 802: the prompting user fills in new timing parameter as required, judges then whether the user has filled in new timing parameter, is that the new timing parameter of then user being filled in sends to the traffic lights hardware module, and execution in step 804 then; Otherwise, execution in step 803; In the emulation experiment process, the user can repeatedly fill in new timing parameter according to the prompting of man-machine interface;
Step 803: judge whether to receive crossing microscopic simulation module sends last one vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in the interior crossing of duration at interval, be then to utilize the Robert Webster signal timing dial to optimize formula according to this traffic flow data to calculate new timing parameter, then new timing parameter is sent to the traffic lights hardware module, then execution in step 804; Otherwise, execution in step 804;
Step 804: judging whether to receive the emulation experiment ending message that the crossing emulation module sends, is then the emulation experiment ending message to be issued traffic lights hardware controls module, and notifies this time of user emulation experiment to finish by man-machine interface; Otherwise, change step 801 over to;
Described step 9 specifically comprises the steps:
Step 901: add up this emulation experiment and carried out what dummy spacings, and show at the interface;
Step 902: invoke user editor's road network file shows the crossing road network in man-machine interface;
Step 903: judging whether to receive the time sequence number of next sequential that the signal timing dial control module sends, is then to determine the light color of crossing traffic lights on the road network according to new time sequence number and show; Otherwise, determine light color and the demonstration of crossing traffic lights on the road network according to the time sequence number of current sequential;
Step 904: call the transport need file and produce vehicle at the place, entrance, track of crossing road network;
Step 905: according to the headstock position coordinate value of each vehicle on the last one second road network, calculate current second headstock position coordinate value of each vehicle on the road network, and show this vehicle in this position;
Step 906: the track on the road network is divided into 96 car lattice, the vehicle condition of adding up each car lattice of each dummy spacings, and it is converted to the status data of corresponding 4 groups of LED lamps; Each dummy spacings sends to LED lamp hardware module with the status data of every group of LED lamp;
Step 907: add up vehicle flowrate, saturation flow amount, vehicle average velocity, stop frequency, the vehicle queue length of the entrance driveway on 4 directions in crossing on the interior road network of current dummy spacings, it is stored as the detection file;
Step 908: judging that whether the user has filled in duration at interval in man-machine interface, is execution in step 909 then; Otherwise, execution in step 910;
Step 909: whether the current dummy spacings number of determining step 901 statistics is the integral multiple of interval duration, be that the vehicle flowrate that then will detect 4 the enterprising stomatodeums of direction in crossing in last interior detected each dummy spacings of interval duration in the file adds up, and will add up obtain one at interval in the duration vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in crossing send to the signal timing dial control module, execution in step 910 then; Otherwise, direct execution in step 910;
Step 910: whether real-time judge user finishes emulation by the man-machine interface request, be then to utilize HCM2000 to incur loss through delay the average per car delay in whole crossing that model calculates this emulation experiment, and send this emulation experiment ending message to the signal timing dial control module; Otherwise, change step 901 over to.
Described step 11 specifically comprises the steps:
Step 1101: the microprocessor of 24 point control circuits in the traffic lights hardware module is the time span of 4 sequential with the timing parameter corresponding stored that receives;
Step 1102: the microprocessor in the traffic lights hardware module is from sequential 0, the traffic lights of sequential loop control chronologically, light traffic lights on the visual illustration platform of crossing according to the light color of each sequential regulation, and the time span of current sequential is subtracted timing, time of day is 1 second; Per second upgrades the excess time of the current sequential of crossing countdown charactron demonstration; If the time span of current sequential subtracted timing by 0 o'clock, subtract timing according to new sequential, microprocessor sent the sequence number of next sequential when each sequential was changed to the signal timing dial control module; Automatically switch to sequential 1, by that analogy, subtract timing until sequential 3 and finish;
Step 1103: judging whether to receive the new timing parameter that the signal timing dial control module sends, is then to change step 1101 over to, otherwise direct execution in step 1104;
Step 1104: judging whether to receive this emulation experiment ending message that the signal timing dial control module sends, is then to stop the countdown of countdown charactron on the visual illustration platform of crossing and knock out traffic lights; Otherwise, change step 1102 over to.
The advantage of crossing of the present invention half dynamically microscopic simulation system in kind and emulation mode thereof:
1, hardware-in-the-loop simulation: broken through the conventional thought that the crossing traffic simulation is confined to computer simulation, separate Computer Simulation, hardware controls and visual illustration are organically combined and synchro control, realized between theory research and practical application, erecting bridge for the carrying out synchronously of crossing traffic flow virtual emulation and visual illustration.
2, the traffic lights hardware module is reserved the 220v interface, makes experimental result can be directly used in the signal controlling of crossing in the reality, with real implementation procedure seamless connection.
3, visual illustration: utilize the vehicle movement of LED lamp on/off simulating reality crossing, and utilize traffic lights, countdown charactron simulating reality traffic lights and countdown charactron, realized visual illustration microscopic traffic flow intuitively.
The present invention adopts components and parts simple, be easy to install, with low cost, easy to use, can control the emulation experiment process as required neatly, in an emulation experiment, carry out repeatedly the execution of timing parameter, realize that the analogue simulation of computer interface analogue simulation and platform in kind carries out synchronously, overcome existing emulation technology and be confined to theoretical research and ignored application in practice and the experiment defective that can not represent really, caused the little defective of its practicality.
Description of drawings
Fig. 1 is that the LED lamp in each track of crossing visual illustration platform is arranged synoptic diagram.
Fig. 2 is the LED lamp arrangenent diagram of the crossing of crossing visual illustration platform.
Fig. 3 is the LED lamp General Arrangement of crossing visual illustration platform.
Fig. 4 is the wiring diagram of every group of 24 LED lamps of crossing visual illustration platform.
Fig. 5 is the track traffic lights wiring diagram of crossing visual illustration platform.
Fig. 6 is the walkway traffic lights wiring diagram of crossing visual illustration platform.
Fig. 7 is the countdown charactron wiring diagram of crossing visual illustration platform.
Fig. 8 is LED lamp hardware module theory diagram.
Fig. 9 is 24 point control circuit theory diagrams.
Figure 10 is traffic lights hardware module theory diagram.
Figure 11 is the workflow diagram of emulation mode of the present invention.
Figure 12 is the workflow diagram of signal timing dial control module.
Figure 13 is the workflow diagram of crossing microscopic simulation module.
Figure 14 is the process flow diagram of traffic lights hardware module.
Figure 15 is the crossing of the present invention half dynamically structural representation of microscopic simulation system in kind.
Below in conjunction with the drawings and specific embodiments the present invention is described in further details.
Embodiment
Referring to Figure 15, crossing of the present invention half dynamically microscopic simulation system in kind comprises: crossing microscopic simulation module, signal timing dial control module, LED lamp hardware module, traffic lights hardware module and crossing visual illustration platform.Wherein, crossing microscopic simulation module is connected by twisted-pair feeder with the signal timing dial control module, crossing microscopic simulation module is connected with LED lamp hardware module by the RS232 Serial Port Line, the signal timing dial control module is connected with the traffic lights hardware module by the RS232 Serial Port Line, and LED lamp hardware module, traffic lights hardware module are connected with crossing visual illustration platform by lead respectively.
Crossing visual illustration platform: in order to according to receiving the control signal that traffic lights hardware module and LED lamp hardware module send, represent in the emulation experiment process on the crossing microscopic simulation module interfaces vehicle by the motion process of crossing with the form of material object.
Crossing visual illustration platform is a base station, this base station is marked with the track, crossing, the track equal proportion of the target crossing in this track, crossing and the selected reality arranges LED lamp, track traffic lights, walkway traffic lights, countdown charactron and circuit interface on the track, crossing.Wherein, the control signal analog crossover mouth traveling state of vehicle of LED lamp in order to send according to LED lamp hardware module; Track traffic lights, walkway traffic lights are in order to the track traffic lights of simulated target crossing, the state of walkway traffic lights; The countdown charactron is in order to the traffic lights count-down board of simulated target crossing; Circuit interface is in order to connect traffic lights hardware module and LED lamp hardware module.
Referring to Fig. 1,20 LED lamps evenly are set on every track on the base station, be divided into 5 rows, 4 of every rows, the direction of arrow is the travel direction of simulating vehicle among the figure; Referring to Fig. 2,16 LED lamps are set on the crossing on the base station, be divided into 4 rows, 4 of every rows; Car lattice in the microscopic simulation module of the corresponding crossing of each LED lamp on the road of crossing, these car lattice have car then corresponding LED lamp are bright, otherwise the LED lamp goes out.Referring to Fig. 3, with 96 LED lamp serial numbers, and by the numbering LED lamp is divided into 4 groups.Referring to Fig. 4, the anode of 24 LED lamps of every group also connects, and negative electrode is controlled respectively, forms the circuit interface (pin is put sky) of 26 pins of a standard.The circuit interface of 4 LED lamps respectively with the corresponding connection of output interface of LED lamp hardware module.Referring to Fig. 5, Fig. 6, be provided with 4 track traffic lights, 4 countdown charactrons and 4 walkway traffic lights on the base station.Track traffic lights, walkway traffic lights all adopt 220v high-brightness signal pilot lamp.Transmeridional 2 track traffic lights circuits also connect, and its light color is consistent, in like manner, transmeridional 2 walkway traffic lights circuits and connect, the track traffic lights circuit in north-south and connect, walkway, north-south traffic lights circuit and connecing, form 4 interfaces altogether.Referring to Fig. 7, the pin of transmeridional 2 countdown charactrons is corresponding and to connect be the interface of 10 pins, 2 countdown charactrons in north-south are identical with East and West direction, and the countdown charactron forms 2 interfaces altogether, above-mentioned 6 interfaces respectively with the corresponding connection of output interface of traffic lights hardware module.
LED lamp hardware module: the state of controlling the LED lamp on the visual illustration platform of crossing in order to the LED lamp status data that sends according to crossing microscopic simulation module in real time.
Referring to Fig. 8, LED lamp hardware module comprises 4 24 point control circuits, crossing microscopic simulation module connects every 24 point control circuits, every 24 point control circuits have unique address, every 24 point control circuits pass through the circuit interface that 26 line conductors connect the LED lamp of the correspondence group on the visual illustration platform of crossing, every group of 24 LED lamps.Referring to Fig. 9, every 24 point control circuits are made up of microprocessor, serial communication modular, toggle switch, Parallel I/O mouth expansion module and photoelectricity coupling isolation module.The hexadecimal data that microprocessor receives in order to processing, microprocessor is selected At89c51 for use; Serial communication modular is in order to realize computing machine and microprocessor serial communication; Toggle switch is in order to determine the address of current 24 point control circuits; Parallel I/O mouth expansion module is in order to bring up to 24 with the some position control ability of microprocessor; Photoelectricity coupling isolation module is 24v control voltage in order to the 5v voltage transitions with each point of Parallel I/O mouth expansion module output.The output terminal of serial communication modular, toggle switch connects the input end of microprocessor respectively, and the output terminal of microprocessor connects the input end of Parallel I/O mouth expansion module, and the output terminal of Parallel I/O mouth expansion module connects the input end of photoelectricity coupling isolation module; The output terminal of photoelectricity coupling isolation module is as the output interface of LED lamp hardware module.
Traffic lights hardware module: in order to control traffic lights and the countdown charactron of crossing visual illustration platform according to the timing parameter of signal timing dial control module transmission, comprise that control sequential conversion (the light color conversions of traffic lights) and countdown charactron subtract timing.
Referring to Figure 10, the traffic lights hardware module comprises 1 24 point control circuit and 1 light current control forceful electric power module that 24V changes 220V.The signal timing dial control module connects 24 point control circuits of traffic lights hardware module, 24 point control circuits connect light current control forceful electric power module, light current control forceful electric power module is converted to 6 points that are output as 0 ~ 220V in order to the high electronegative potential with 6 somes control in this 24 point control circuit output terminal, wherein, preceding 3 points form an output interface, with the East and West direction track traffic lights of lead connection visual illustration platform, in order to control East and West direction track red light, amber light and green light; 3 points in back form an output interface, are wired to track, north-south traffic lights on the visual illustration platform; In above-mentioned 6 points, the point of control East and West direction track red light can form an output interface with the point of control track, north-south red light, is wired to East and West direction walkway traffic lights interface on the demonstration platform; The point of control East and West direction track red light can form another output interface with the point of control track, north-south red light, is wired to walkway, north-south traffic lights interface on the demonstration platform.In 18 points of all the other of 24 point control circuit output terminals, the interface of 9 some formation connects East and West direction charactron interface on the visual illustration platform, and the interface of 9 somes formation connects north-south charactron interface on the visual illustration platform in addition.
The principle of 6 point control tracks, all traffic lights of walkway: East and West direction walkway green light and track, north-south red light with bright with going out; East and West direction walkway red light and East and West direction track red light go out together with bright; Walkway, north-south green light and East and West direction track red light go out together with bright; Walkway, north-south red light and track, north-south red light go out together with bright.Therefore, the East and West direction walkway green light on the visual illustration platform, walkway, north-south red light and track, north-south red light can be used same point control; East and West direction walkway red light on the visual illustration platform, walkway, north-south green light and East and West direction track red light can be used same point control; East and West direction track green light on the visual illustration platform and amber light need a point control respectively; Track, north-south green light on the visual illustration platform and amber light need a point control respectively, have so just reached traffic lights all on 6 point control visual illustration platforms.Because these 6 points all are 0 ~ 220V output points, so the output interface of traffic lights hardware module can directly be controlled the traffic lights (0 ~ 220V) of actual crossing.
Signal timing dial control module: in order to provide human-computer interaction interface to the user; Actual vehicle flowrate, saturation flow amount according to 4 the enterprising stomatodeums of direction in target crossing are calculated the timing parameter of this crossing; The information of vehicle flowrate that sends according to crossing microscopic simulation module calculates new timing parameter; Send according to each dummy spacings of traffic lights hardware module next the time sequence number control crossing microscopic simulation module in the sequential conversion of traffic lights.
In the present invention, the lights state of crossing adopts two phase place system, therefore timing parameter refers to the duration of East and West direction track green light, the duration of track amber light and the duration of track, north-south green light, 4 parameters such as duration of track amber light, and the traffic lights of this crossing have 4 sequential (signal phase), and step 1101 is seen in arranging of sequential.
Crossing microscopic simulation module: carry out the human-computer interaction interface of crossing emulation in order to computing machine to be provided to the user; The traffic conditions of the timing parameter simulated target crossing that sends according to the signal timing dial control module also shows at computer interface; Send the LED lamp status data in the road network in the emulation experiment to the LED hardware module in real time; Send information of vehicle flowrate to the signal timing dial control module; Calculating the average per car in whole crossing of each emulation experiment incurs loss through delay.
Concrete function is as follows:
1) shows road network according to crossing road network file at the computing machine visual interface.Namely according to the road network file, utilize the fox-1.6.36 video in window instrument crossing road network (the signal cross junction image of two-way Four-Lane Road) that draws at the interface.Among the present invention, the image of this crossing road network and target crossing ratio are 1:10000, distinguish with white line between the track.
2) produce vehicle according to the transport need file at the place, entrance, track of road network.Namely according to each the OD amount (a certain porch of road network car influx hourly) in the transport need file, adopt Poisson distribution to determine that each car enters the time (being which dummy spacings generation vehicle) of road network at its corresponding node, and utilize fox-1.6.36 video in window instrument corresponding Ingress node place on the road network image of interface this car (representing with the pane form) that draws.
Sequence number is determined the light color of current dummy spacings traffic lights and is shown that dummy spacings is 1 second during the traffic lights that 3) send according to the signal timing dial control module.4 sequential are set altogether, and the sequential setting arranges identical with sequential in the traffic lights hardware module and the time goes up synchronously; The corresponding traffic lights light color of time sequence number that sends according to the signal timing dial control module utilizes fox-1.6.36 video in window instrument, the color that the corresponding traffic lights of this direction are drawn in the crossing in computer interface is set out on a journey net image and the place that each inflow highway section, crossing joins.
4) calculate the position (coordinate) of all vehicles on the current road network and with its demonstration in each dummy spacings.The movement that vehicle was finished in a period of time (being the microscopic motion characteristic of vehicle), the variation of the two-dimensional coordinate of available vehicle on the highway section is represented.According to the vehicle movement characteristic model, vehicle acceleration, deceleration model, vehicle follow gallop model and vehicle acceptable gap model calculate vehicle at the new coordinate of current dummy spacings and utilize fox-1.6.36 video in window instrument this vehicle that draws in net image are set out on a journey at the interface.
5) in order to detect information of vehicles in the scope of crossing.Namely add up the vehicle flowrate, saturation flow amount, the average velocity of vehicle, maximum vehicle queue length, stop frequency of 4 the enterprising stomatodeums of direction in current dummy spacings crossing (vehicle sails the highway section of crossing into); And (the interval duration that the user fills in) sends to the signal timing dial control module with vehicle flowrate in detected this section period and saturation flow amount at set intervals.
6) in order to add up concurrent status information of delivering all LED lamps on the prong microscopic simulation module interfaces in each dummy spacings.According to the layout of LED lamp on the visual illustration platform, the track on the road network is divided into 96 car lattice (Che Gechang is the shortest vehicle length), and according to LED lamp numbering on the visual illustration platform car lattice is carried out identical numbering; Whether scan each car lattice in each dummy spacings by the number order of car lattice has vehicle to take, it is 1 that the data bit of the car lattice correspondence of car is arranged, do not have and then be labeled as 0, thereby statistics obtains the binary data of the LED lamp state of each car lattice correspondence, be translated into hexadecimal string, the data that statistics is obtained send the LED hardware module respectively by group.
7) in order to when emulation experiment finishes, namely according to information of vehicles in the scope of detected crossing, utilize HCM2000 to incur loss through delay the average per car delay in whole crossing that model calculates this emulation experiment.
Referring to Figure 11, crossing of the present invention half dynamically microscopic simulation method in kind specifically comprises the steps:
Step 1: the user selects a target crossing in the reality arbitrarily;
Step 2: vehicle flowrate, the saturation flow amount of investigating 4 the enterprising stomatodeums of direction in target crossing on the spot;
Step 3: with reference to Figure 15, each module of connected system, start-up system;
Step 4: the user writes road network file, transport need file and storage at crossing microscopic simulation module human-computer interaction interface, and the structure of the road network file that the user writes is consistent with the crossing structure on the crossing demonstration platform;
The road network file is that the user utilizes the XML document form to set up crossing road network topology structure, namely uses the formal description crossing road network of point, line.Node and highway section are two fundamentals of reflection road network topology relation.A node can represent a crossing as the fundamental of reflection road topology relation.A node also can represent a vehicle and produce point or attraction (OD point), and vehicle enters or sail out of road network by these OD points.Article one, the highway section representative is that a node is to the directed line segment between another node.Article one, what connect the highway section representative is in inner highway section (highway section, upstream) and the oriented highway section of flowing out highway section, crossing (downstream road section) that connects an inflow crossing of intersection node.Can reflect that by each highway section and the relation of node the outflow of highway section and node flows into being connected or neighbouring relations between the relevant track with other in annexation, track between relation, highway section and the highway section.Among the present invention, the user sets up the road network file as follows: at first, the user defines 4 elements and represents 4 nodes in the XML file, and each node elements is set up a plurality of attributes, comprises the abscissa value of nodes encoding, node, the ordinate value of node; Define a crossing type node element, comprise following attribute: the geometric parameter of nodes encoding, crossing (determining a plurality of coordinate figures of intersection shape); Define a plurality of highway sections element, each element comprises following attribute: the nodes encoding of highway section coding, highway section starting point, the nodes encoding of terminal point, road section length, the geometric configuration (determining a plurality of coordinate figures of highway section shape) in highway section, the number of track-lines in highway section, the width in highway section, the maximum speed limit in highway section; Then define the connection highway section element in the intersection node, this element property comprises: connect the coding in highway section, the geometric configuration (determining to connect a plurality of coordinate figures of highway section shape) that connects the highway section, the highway section coding in highway section, upstream, the highway section coding of downstream road section, maximum speed limit, finally form crossing road network topology structure.
The transport need file is that the user utilizes the XML document form to set up the file of the vehicle driving OD demand of this crossing.The user defines a plurality of OD requirement elements in the XML file, each element comprises following attribute: OD coding, starting point coding, terminal point coding, OD amount/veh*h -1, vehicle commander's degree, vehicle peak acceleration.
Step 5: the user fills in vehicle flowrate and the saturation flow amount of investigating 4 the enterprising stomatodeums of direction in crossing that obtain in the man-machine interface of signal timing dial control module, the signal timing dial control module utilizes the Robert Webster signal timing dial to optimize the timing parameter that formula calculates this crossing under the selected scheme, and timing parameter refers to the duration of East and West direction track green light, the duration of track amber light and the duration of track, north-south green light, 4 parameters of duration of track amber light; Perhaps, the user directly fills in timing parameter in the man-machine interface of signal timing dial control module.
Step 6: whether signal timing dial control module inquiry user wants to carry out adaptive control, be then to point out the user to fill in the interval duration that crossing microscopic simulation module sends the vehicle flowrate data (be unit with the second) in the man-machine interface of crossing microscopic simulation module, this interval duration is not less than a signal period (signal period is 4 sequential duration sums of initial timing parameter definition), and execution in step 7 then; Otherwise direct execution in step 7.
Described adaptive control refers to that in a same emulation experiment process system carries out a plurality of timing parameters controls automatically according to interval duration and the concrete condition in the emulation experiment that the user fills in.
Step 7: the signal timing dial control module sends to traffic lights hardware module, crossing microscopic simulation module simultaneously with the timing parameter in the step 5, execution in step 8 then, crossing microscopic simulation module receives execution in step 9 behind the timing parameter, and the traffic lights hardware module receives execution in step 11 behind the timing parameter simultaneously.
Step 8: the time sequence number of next sequential that the signal timing dial control module sends the traffic lights hardware module in real time sends to crossing microscopic simulation module, thereby the synchronization simulation of control crossing microscopic simulation module and traffic lights hardware module, until the emulation experiment end signal of receiving the crossing emulation module, the emulation experiment end signal is sent to the traffic lights hardware module and withdraw from; The information of vehicle flowrate that crossing microscopic simulation module is sent calculates new timing parameter and sends to the traffic lights hardware module in real time; With reference to Figure 12, specifically comprise the steps:
Step 801: judging whether to receive the time sequence number of next sequential that the traffic lights hardware module sends, is then it to be transmitted to crossing microscopic simulation module, and execution in step 802 then; Otherwise, execution in step 802.
Step 802: the prompting user fills in new timing parameter as required, judges then whether the user has filled in new timing parameter, is that the new timing parameter of then user being filled in sends to the traffic lights hardware module, and execution in step 804 then; Otherwise, execution in step 803.
In the emulation experiment process, the user can repeatedly fill in new timing parameter according to the prompting of man-machine interface.
Step 803: judge whether to receive crossing microscopic simulation module sends last one vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in the interior crossing of duration at interval, be then to utilize the Robert Webster signal timing dial to optimize formula according to this traffic flow data to calculate new timing parameter, then new timing parameter is sent to the traffic lights hardware module, then execution in step 804; Otherwise, execution in step 804.
Step 804: judging whether to receive the emulation experiment ending message that the crossing emulation module sends, is then the emulation experiment ending message to be issued traffic lights hardware controls module, and notifies this time of user emulation experiment to finish by man-machine interface; Otherwise, change step 801 over to.
Step 9: crossing microscopic simulation module receives carries out emulation experiment behind the timing parameter and shows at computer interface, status data with the LED lamp in the road network in the emulation experiment sends to LED lamp hardware module in real time, the situation of filling in duration at interval according to the user sends last one vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in crossing in the duration at interval to the signal timing dial control module, until the man-machine interface request end emulation experiment of user by crossing microscopic simulation module; With reference to Figure 13, specifically comprise the steps:
Step 901: add up this emulation experiment and carried out what dummy spacings (be which second be emulation experiment proceeded to, dummy spacings is 1s), and show at the interface;
Step 902: invoke user editor's road network file shows the crossing road network in man-machine interface;
Step 903: judging whether to receive the time sequence number of next sequential that the signal timing dial control module sends, is then to determine the light color of crossing traffic lights on the road network and show that execution in step 904 then according to new time sequence number; Otherwise, continue to determine according to the time sequence number of current sequential light color and the demonstration of crossing traffic lights on the road network.
Step 904: call the transport need file and produce vehicle at the place, entrance, track of crossing road network;
Step 905: according to the headstock position coordinate value of each vehicle on the last one second road network, calculate current second headstock position coordinate value of each vehicle on the road network, and show this vehicle in this position;
Utilize the vehicle movement characteristic model, vehicle acceleration, deceleration model, vehicle follow gallop model and vehicle acceptable gap model, the 1st vehicle on the inflow track, crossing reads the light color of signal lamp on this direction of crossing, if amber light or red light, vehicle acceleration, deceleration model calculates its retarded velocity, guarantees that in stop line place speed be 0; If green light, vehicle acceleration, deceleration model calculates its acceleration, guarantees that its acceleration is not more than the peak acceleration of real vehicle; The vehicle movement characteristic model is according to the speed of calculating vehicle with speed state or acceleration, deceleration degree and the position coordinates behind the process 1S.For the car of non-fleet head of the queue, the acceptable gap model calculates the time headway of itself and preceding car; According to time headway and car speed, judge with the model of speeding whether vehicle enters with the state of speeding, otherwise the speed that adds deduct of vehicle acceleration, deceleration model calculating vehicle; The vehicle movement characteristic model is according to the speed of calculating vehicle with speed state or acceleration, deceleration degree and the position coordinates behind the process 1S;
Step 906: the track on the road network is divided into 96 car lattice, the vehicle condition of adding up each car lattice of each dummy spacings, and it is converted to the status data of corresponding 4 groups of LED lamps; Each dummy spacings sends to LED lamp hardware module with the status data of every group of LED lamp;
Specifically be whether number order by the car lattice scans each car lattice and have vehicle to take, it is 1 that the data bit of the car lattice correspondence of car is arranged, do not have and then be labeled as 0, thereby statistics obtains the binary data of LED lamp state of each car lattice correspondence, and the status data of the LED lamp that statistics is obtained is translated into sexadecimal number and stores in the string variable.
Step 907: add up vehicle flowrate, saturation flow amount, vehicle average velocity, stop frequency, the vehicle queue length of the entrance driveway on 4 directions in crossing on the interior road network of current dummy spacings, it is stored as the detection file;
Step 908: judging that whether the user has filled in duration at interval in man-machine interface, is execution in step 909 then; Otherwise, execution in step 910.
Step 909: whether the current dummy spacings number of determining step 901 statistics is the integral multiple of interval duration, be that the vehicle flowrate that then will detect 4 the enterprising stomatodeums of direction in crossing in last interior detected each dummy spacings of interval duration in the file adds up, and will add up obtain one at interval in the duration vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in crossing send to the signal timing dial control module, execution in step 910 then; Otherwise, direct execution in step 910.
Step 910: whether real-time judge user finishes emulation by the man-machine interface request, be then to utilize HCM2000 to incur loss through delay the average per car delay in whole crossing that model calculates this emulation experiment, and send this emulation experiment ending message to the signal timing dial control module; Otherwise, change step 901 over to.
Step 10:LED lamp hardware module judges whether to receive the status data of LED lamp, be then according to all LED lamps on the visual illustration platform of the data in real time that receives control crossing in the light on and off of each second, otherwise rejudge.
6 sexadecimal numbers according to the LED lamp status information on the crossing visual illustration platform of the corresponding group of self address preservation of each 24 point control circuit in the LED lamp hardware module, again by microprocessor with its be translated into 24 bits (1 for the LED lamp on the visual illustration platform bright, 0 for going out), microprocessor is exported 24 5V control voltage by Parallel I/O mouth expansion module; Photoelectricity coupling isolation module promotes 5v voltage and is the output interface of 24v, connects the circuit interface of the LED lamp of corresponding group on the visual illustration platform of crossing.
Step 11: the traffic lights hardware module is converted to time sequence information with the timing parameter that receives, and according to light color and the countdown charactron of the traffic lights on the platform in kind of time sequence information control crossing, when changing, each sequential sends the sequence number of next sequential to the signal timing dial control module, until receiving the emulation experiment ending message that the signal timing dial control module sends.With reference to Figure 14, specifically comprise the steps:
Step 1101: the microprocessor of 24 point control circuits in the traffic lights hardware module is the time span of 4 sequential with the timing parameter corresponding stored that receives.
Described time sequence information refers to: the traffic lights hardware module arranges 4 sequential with the state of traffic lights: sequential 0: East and West direction track green light is bright, and the walkway red light is bright; Track, north-south red light is bright, and the walkway green light is bright, and the time span of sequential 0 is East and West direction track green light duration.Sequential 1: East and West direction track amber light is bright, and the walkway red light is bright; Track, north-south red light is bright, and the walkway green light is bright, and the time span of sequential 1 is East and West direction track amber light duration.Sequential 2: track, north-south green light is bright, and the walkway red light is bright; East and West direction track red light is bright, and the walkway green light is bright, and the time span of sequential 2 is track, north-south green light duration.Sequential 3: track, north-south amber light is bright, and the walkway red light is bright; East and West direction track red light is bright, and the walkway green light is bright, and the time span of sequential 3 is track, north-south amber light duration.
Step 1102: the microprocessor in the traffic lights hardware module is from sequential 0, the traffic lights of sequential loop control chronologically, light traffic lights on the visual illustration platform of crossing according to the light color of each sequential regulation, and the time span of current sequential is subtracted timing, time of day is 1 second; Per second upgrades the excess time of the current sequential of crossing countdown charactron demonstration; If the time span of current sequential subtracted timing by 0 o'clock, subtract timing according to new sequential, microprocessor sent the sequence number of next sequential when each sequential was changed to the signal timing dial control module; Automatically switch to sequential 1, by that analogy, subtract timing until sequential 3 and finish; Execution in step 1103.
Step 1103: judging whether to receive the new timing parameter that the signal timing dial control module sends, is then to change step 1101 over to, otherwise direct execution in step 1104;
Principle: the data transmission of serial communication module adopts interrupt mode in 24 point control circuits in the traffic lights hardware module, be that the serial communication module is when receiving new timing parameter, send interrupt request information to microprocessor, microprocessor responds interrupts namely keeping the scene intact, storing the timing parameter that receives and putting accepted flag position (variable) is 1, recover on-the-spot then, interruption is returned, continue to carry out not intact just now work, when execution in step 1103, judging whether the receiving flag position is 1, is that then to put the receiving flag position be 0, changes step 1101 over to; Otherwise direct execution in step 1104.
Step 1104: judging whether to receive this emulation experiment ending message that the signal timing dial control module sends, is then to stop the countdown of countdown charactron on the visual illustration platform of crossing and knock out traffic lights; Otherwise, change step 1102 over to.
Step 12: step 8, step 9, step 10 and step 11 carry out finishing until emulation experiment simultaneously, and the average per car in whole crossing that final crossing emulation module shows is incured loss through delay.
Step 13: the user determines whether needs adjustment timing parameter according to incuring loss through delay when the average per car in the crossing of time emulation experiment, is then to return step 5; Otherwise, the timing parameter that this emulation experiment is described is qualified, the user is connected to the traffic lights of real target crossing and the circuit interface of count-down device with the traffic lights hardware module, and utilizes timing parameter control target crossing traffic lights and the count-down device of this experiment.
During practical application, the user can carry out repeatedly emulation experiment, the average per car in whole crossing that obtains each emulation experiment is incured loss through delay, the scheme that the average per car in crossing is incured loss through delay the timing parameter in the minimum emulation experiment is best crossing control scheme, by the signal timing dial control module timing parameter is sent to the traffic lights hardware module, again the 220V traffic lights output interface of traffic lights hardware module is received on the crossing traffic lights in the reality, thereby the purpose of realization theory research improves the time and space utilization rate of the crossing in the reality.
To sum up, the user utilizes the signal timing dial control module to provide timing parameter for the traffic lights in virtual traffic lights in the emulation module of crossing and the module in kind, and this signal timing dial control module is according to the operational process of traffic lights in the feedback information control emulation module of traffic lights hardware module; Crossing microscopic simulation module simulation get off to travel in the unlike signal control scheme of giving and dynamically describe its process by the process of crossing and with image, can carry out the index evaluation of standard to this scheme, make the user constantly adjust the signal controlling scheme according to assessment result, to reach optimum control, namely the average per car in whole crossing is incured loss through delay minimum; The timing parameter that the traffic lights hardware module provides according to the signal timing dial control module is controlled the operation of crossing visual illustration platform traffic lights and countdown charactron; The state of the LED lamp of simulating vehicle on the Data Control crossing visual illustration platform that the LED hardware module provided according to emulation module each second; And crossing visual illustration platform has been demonstrated on the emulation module interface unlike signal control scheme and is got off and travel by the vision process of crossing with physical form under the control of above-mentioned hardware module.The traffic lights hardware module can be controlled the traffic lights of actual crossing, the hardware module that is complementary is provided for the practical application of the Optimal Signals control scheme that obtains, crossing visual illustration platform is represented the current of vehicle with the flicker of the even LED lamp of arranging on the simulated roadway first.

Claims (10)

1. crossing half a dynamically microscopic simulation system in kind is characterized in that, comprises at least as lower module:
Signal timing dial control module: in order to provide human-computer interaction interface to the user; Actual vehicle flowrate, saturation flow amount according to 4 the enterprising stomatodeums of direction in target crossing are calculated the timing parameter of this crossing; The information of vehicle flowrate that sends according to crossing microscopic simulation module calculates new timing parameter; Send according to each dummy spacings of traffic lights hardware module next the time sequence number control crossing microscopic simulation module in the sequential conversion of traffic lights;
Crossing microscopic simulation module: carry out the human-computer interaction interface of crossing emulation in order to computing machine to be provided to the user; The traffic conditions of the timing parameter simulated target crossing that sends according to the signal timing dial control module also shows at computer interface; Send the LED lamp status data in the road network in the emulation experiment to LED lamp hardware module in real time; Send information of vehicle flowrate to the signal timing dial control module; Calculating the average per car in whole crossing of each emulation experiment incurs loss through delay;
LED lamp hardware module: the state of controlling the LED lamp on the visual illustration platform of crossing in order to the LED lamp status data that sends according to crossing microscopic simulation module in real time;
Traffic lights hardware module: in order to control traffic lights and the countdown charactron of crossing visual illustration platform according to the timing parameter of signal timing dial control module transmission, comprise that the conversion of control sequential and countdown charactron subtract timing;
Crossing visual illustration platform: in order to according to receiving the control signal that traffic lights hardware module and LED lamp hardware module send, represent in the emulation experiment process on the crossing microscopic simulation module interfaces vehicle by the motion process of crossing with the form of material object;
Wherein, crossing microscopic simulation module is connected with signal timing dial control module, LED lamp hardware module, and the signal timing dial control module is connected with the traffic lights hardware module, and LED lamp hardware module, traffic lights hardware module are connected with crossing visual illustration platform respectively.
2. crossing as claimed in claim 1 half dynamically microscopic simulation system in kind, it is characterized in that, described crossing visual illustration platform is a base station, this base station is marked with the track, crossing, and LED lamp, track traffic lights, walkway traffic lights, countdown charactron and circuit interface are set on the track, crossing.
3. crossing as claimed in claim 1 half dynamically microscopic simulation system in kind, it is characterized in that, described LED lamp hardware module comprises some 24 point control circuits, crossing microscopic simulation module connects described every 24 point control circuits, every 24 point control circuits connect the circuit interface of 24 LED lamps of the correspondence group on the visual illustration platform of crossing, and described 24 point control circuits are made up of microprocessor, serial communication modular, toggle switch, Parallel I/O mouth expansion module and photoelectricity coupling isolation module.
4. crossing as claimed in claim 1 half dynamically microscopic simulation system in kind, it is characterized in that, described traffic lights hardware module comprises 1 24 point control circuit and 1 light current control forceful electric power module that 24V changes 220V, and described 24 point control circuits are made up of microprocessor, serial communication modular, toggle switch, Parallel I/O mouth expansion module and photoelectricity coupling isolation module.
5. the described crossing of the claim 1 half dynamically emulation mode of microscopic simulation system in kind is characterized in that, specifically comprises the steps:
Step 1: the user selects a target crossing in the reality arbitrarily;
Step 2: vehicle flowrate, the saturation flow amount of investigating 4 the enterprising stomatodeums of direction in target crossing on the spot;
Step 3: each module of connected system, start-up system;
Step 4: the user writes road network file, transport need file and storage at crossing microscopic simulation module human-computer interaction interface, and the structure of the road network file that the user writes is consistent with the crossing structure on the crossing practice demonstration platform;
Step 5: the user fills in vehicle flowrate and the saturation flow amount of investigating 4 the enterprising stomatodeums of direction in crossing that obtain in the man-machine interface of signal timing dial control module, and the signal timing dial control module utilizes the Robert Webster signal timing dial to optimize the timing parameter that formula calculates this crossing under the selected scheme; Perhaps, the user directly fills in timing parameter in the man-machine interface of signal timing dial control module;
Step 6: whether signal timing dial control module inquiry user wants to carry out adaptive control, be then to point out the user to fill in the interval duration that crossing microscopic simulation module sends the vehicle flowrate data (be unit with the second) in the man-machine interface of crossing microscopic simulation module, this interval duration is not less than a signal period (signal period is 4 sequential duration sums of initial timing parameter definition), and execution in step 7 then; Otherwise direct execution in step 7;
Described adaptive control refers to that in a same emulation experiment process interval duration that system fills in according to the user carries out a plurality of timing parameters controls automatically;
Step 7: the signal timing dial control module sends to traffic lights hardware module, crossing microscopic simulation module simultaneously with the timing parameter in the step 5, execution in step 8 then, crossing microscopic simulation module receives execution in step 9 behind the timing parameter, and the traffic lights hardware module receives execution in step 11 behind the timing parameter simultaneously;
Step 8: the time sequence number of next sequential that the signal timing dial control module sends the traffic lights hardware module in real time sends to crossing microscopic simulation module, thereby the synchronization simulation of control crossing microscopic simulation module and traffic lights hardware module, until the emulation experiment end signal of receiving crossing microscopic simulation module, the emulation experiment end signal is sent to the traffic lights hardware module and withdraw from; The information of vehicle flowrate that crossing microscopic simulation module is sent calculates new timing parameter and sends to the traffic lights hardware module in real time;
Step 9: crossing microscopic simulation module receives carries out emulation experiment behind the timing parameter and shows at computer interface, status data with the LED lamp in the road network in the emulation experiment sends to LED lamp hardware module in real time, the situation of filling in duration at interval according to the user sends last one vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in crossing in the duration at interval to the signal timing dial control module, until the man-machine interface request end emulation experiment of user by crossing microscopic simulation module;
Step 10:LED lamp hardware module judges whether to receive the status data of LED lamp, be then according to all LED lamps on the visual illustration platform of the data in real time that receives control crossing in the light on and off of each second, otherwise rejudge;
Step 11: the traffic lights hardware module is converted to time sequence information with the timing parameter that receives, and according to light color and the countdown charactron of the traffic lights on the visual illustration platform of time sequence information control crossing, when changing, each sequential sends the sequence number of next sequential to the signal timing dial control module, until receiving the emulation experiment ending message that the signal timing dial control module sends;
Step 12: step 8, step 9, step 10 and step 11 carry out finishing until emulation experiment simultaneously, and the microscopic simulation module demonstration of final crossing is worked as the average per car in whole crossing of time emulation experiment and incured loss through delay.
6. method as claimed in claim 5 is characterized in that, also comprises step 13: the user determines whether needs adjustment timing parameter according to incuring loss through delay when the average per car in the crossing of time emulation experiment, is then to return step 5; Otherwise the user is connected to the traffic lights of real target crossing and the circuit interface of count-down device with the traffic lights hardware module, and utilizes timing parameter control target crossing traffic lights and the count-down device of this experiment.
7. method as claimed in claim 5 is characterized in that, described timing parameter refers to the duration of East and West direction track green light, the duration of track amber light and the duration of track, north-south green light, 4 parameters of duration of track amber light.
8. method as claimed in claim 5 is characterized in that, described step 8 specifically comprises the steps:
Step 801: judging whether to receive the time sequence number of next sequential that the traffic lights hardware module sends, is then it to be transmitted to crossing microscopic simulation module, and execution in step 802 then; Otherwise, execution in step 802;
Step 802: the prompting user fills in new timing parameter as required, judges then whether the user has filled in new timing parameter, is that the new timing parameter of then user being filled in sends to the traffic lights hardware module, and execution in step 804 then; Otherwise, execution in step 803; In the emulation experiment process, the user can repeatedly fill in new timing parameter according to the prompting of man-machine interface;
Step 803: judge whether to receive crossing microscopic simulation module sends last one vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in the interior crossing of duration at interval, be then to utilize the Robert Webster signal timing dial to optimize formula according to this traffic flow data to calculate new timing parameter, then new timing parameter is sent to the traffic lights hardware module, then execution in step 804; Otherwise, execution in step 804;
Step 804: judging whether to receive the emulation experiment ending message that crossing microscopic simulation module sends, is then the emulation experiment ending message to be issued traffic lights hardware controls module, and notifies this time of user emulation experiment to finish by man-machine interface; Otherwise, change step 801 over to.
9. method as claimed in claim 5 is characterized in that, described step 9 specifically comprises the steps:
Step 901: add up this emulation experiment and carried out what dummy spacings, and show at the interface;
Step 902: invoke user editor's road network file shows the crossing road network in man-machine interface;
Step 903: judging whether to receive the time sequence number of next sequential that the signal timing dial control module sends, is then to determine the light color of crossing traffic lights on the road network according to new time sequence number and show; Otherwise, determine light color and the demonstration of crossing traffic lights on the road network according to the time sequence number of current sequential;
Step 904: call the transport need file and produce vehicle at the place, entrance, track of crossing road network;
Step 905: according to the headstock position coordinate value of each vehicle on the last one second road network, calculate current second headstock position coordinate value of each vehicle on the road network, and show this vehicle in this position;
Step 906: the track on the road network is divided into 96 car lattice, the vehicle condition of adding up each car lattice of each dummy spacings, and it is converted to the status data of corresponding 4 groups of LED lamps; Each dummy spacings sends to LED lamp hardware module with the status data of every group of LED lamp;
Step 907: add up vehicle flowrate, saturation flow amount, vehicle average velocity, stop frequency, the vehicle queue length of the entrance driveway on 4 directions in crossing on the interior road network of current dummy spacings, it is stored as the detection file;
Step 908: judging that whether the user has filled in duration at interval in man-machine interface, is execution in step 909 then; Otherwise, execution in step 910;
Step 909: whether the current dummy spacings number of determining step 901 statistics is the integral multiple of interval duration, be that the vehicle flowrate that then will detect 4 the enterprising stomatodeums of direction in crossing in last interior detected each dummy spacings of interval duration in the file adds up, and will add up obtain one at interval in the duration vehicle flowrate and the saturation flow amount of 4 the enterprising stomatodeums of direction in crossing send to the signal timing dial control module, execution in step 910 then; Otherwise, direct execution in step 910;
Step 910: whether real-time judge user finishes emulation by the man-machine interface request, be then to utilize HCM2000 to incur loss through delay the average per car delay in whole crossing that model calculates this emulation experiment, and send this emulation experiment ending message to the signal timing dial control module; Otherwise, change step 901 over to.
10. method as claimed in claim 5 is characterized in that, described step 11 specifically comprises the steps:
Step 1101: the microprocessor of 24 point control circuits in the traffic lights hardware module is the time span of 4 sequential with the timing parameter corresponding stored that receives;
Step 1102: the microprocessor in the traffic lights hardware module is from sequential 0, the traffic lights of sequential loop control chronologically, light traffic lights on the visual illustration platform of crossing according to the light color of each sequential regulation, and the time span of current sequential is subtracted timing, time of day is 1 second; Per second upgrades the excess time of the current sequential of crossing countdown charactron demonstration; If the time span of current sequential subtracted timing by 0 o'clock, subtract timing according to new sequential, microprocessor sent the sequence number of next sequential when each sequential was changed to the signal timing dial control module; Automatically switch to sequential 1, by that analogy, subtract timing until sequential 3 and finish;
Step 1103: judging whether to receive the new timing parameter that the signal timing dial control module sends, is then to change step 1101 over to, otherwise direct execution in step 1104;
Step 1104: judging whether to receive this emulation experiment ending message that the signal timing dial control module sends, is then to stop the countdown of countdown charactron on the visual illustration platform of crossing and knock out traffic lights; Otherwise, change step 1102 over to.
CN 201110215556 2011-07-29 2011-07-29 Intersection semiphysical dynamic microcosmic simulation system and method Expired - Fee Related CN102280027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110215556 CN102280027B (en) 2011-07-29 2011-07-29 Intersection semiphysical dynamic microcosmic simulation system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110215556 CN102280027B (en) 2011-07-29 2011-07-29 Intersection semiphysical dynamic microcosmic simulation system and method

Publications (2)

Publication Number Publication Date
CN102280027A CN102280027A (en) 2011-12-14
CN102280027B true CN102280027B (en) 2013-07-17

Family

ID=45105450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110215556 Expired - Fee Related CN102280027B (en) 2011-07-29 2011-07-29 Intersection semiphysical dynamic microcosmic simulation system and method

Country Status (1)

Country Link
CN (1) CN102280027B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902206A (en) * 2012-10-18 2013-01-30 同济大学 Signal conversion equipment for traffic signal control hardware-in-loop simulation system
CN104281738B (en) * 2014-08-06 2017-09-01 青岛海信网络科技股份有限公司 The assessment system and method for the Arterial Coordination Control scheme of arterial road
CN104732781A (en) * 2015-03-18 2015-06-24 青岛海信网络科技股份有限公司 Road intersection display method and device
CN104751670B (en) * 2015-03-23 2017-03-08 同济大学 A kind of urban traffic signal controls operational diagnostics system
CN104882016B (en) * 2015-06-08 2017-03-08 李万红 Natural energy road traffic intelligent signal system
CN105810049B (en) * 2016-05-06 2018-06-01 吉林大学 A kind of traffic signalization Electronic Experiment Teaching device
CN110322687B (en) * 2018-03-30 2021-06-11 杭州海康威视系统技术有限公司 Method and device for determining running state information of target intersection
CN108804844B (en) * 2018-06-20 2022-02-11 深圳市易星标技术有限公司 Circuit module identification method, circuit module and simulation experiment system
CN109326130A (en) * 2018-11-26 2019-02-12 佛山科学技术学院 A kind of tele-control system and its working method for traffic lights
CN111381517B (en) * 2020-03-20 2024-03-19 阿里巴巴集团控股有限公司 Simulation method, system and storage medium
CN112331052B (en) * 2020-11-03 2023-03-07 武汉慧联无限科技有限公司 Internet of things demonstration system determination method and device
CN113793527B (en) * 2021-09-14 2022-11-18 北京石油化工学院 Test verification system for urban traffic active control

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6339383B1 (en) * 1999-11-05 2002-01-15 Sumitomo Electric Industries, Ltd. Traffic signal control apparatus optimizing signal control parameter by rolling horizon scheme
CN1506817A (en) * 2002-12-05 2004-06-23 深圳市哈工大交通电子技术有限公司 Traffic signal simulating system
CN101561836A (en) * 2009-01-05 2009-10-21 天津大学 Urban microscopic traffic flow simulation system based on cellular machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009258919A (en) * 2008-04-15 2009-11-05 Sumitomo Electric Ind Ltd Traffic signal controller, traffic parameter calculation device, computer program, traffic signal control method, and traffic parameter calculation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6339383B1 (en) * 1999-11-05 2002-01-15 Sumitomo Electric Industries, Ltd. Traffic signal control apparatus optimizing signal control parameter by rolling horizon scheme
CN1506817A (en) * 2002-12-05 2004-06-23 深圳市哈工大交通电子技术有限公司 Traffic signal simulating system
CN101561836A (en) * 2009-01-05 2009-10-21 天津大学 Urban microscopic traffic flow simulation system based on cellular machine

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
JP特开2009-258919A 2009.11.05
城市信号控制交叉口交通微观仿真研究;杨龙海等;《哈尔滨工业大学学报》;20060831;第38卷(第8期);全文 *
基于交通流微观仿真的交叉口控制模型分析;赵俊波等;《交通标准化》;20060130(第149期);全文 *
杨龙海等.城市信号控制交叉口交通微观仿真研究.《哈尔滨工业大学学报》.2006,第38卷(第8期),
赵俊波等.基于交通流微观仿真的交叉口控制模型分析.《交通标准化》.2006,(第149期),

Also Published As

Publication number Publication date
CN102280027A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
CN102280027B (en) Intersection semiphysical dynamic microcosmic simulation system and method
CN102645930B (en) Hardware in-loop simulation test system for traffic signal control system
CN109765803A (en) A kind of the simulation hardware test macro and method of the synchronic sky of the more ICU of autonomous driving vehicle
CN103593535B (en) Urban traffic complex self-adaptive network parallel simulation system and method based on multi-scale integration
CN102915636A (en) Traffic signal instrument control strategy comprehensive performance validity test system and method
CN108959813A (en) A kind of emulation modelling method of intelligent vehicle road guide environmental model
CN109931937A (en) High-precision navigation information simulation method and system
CN108647472B (en) Simulation method and simulation system for tramcar priority mode
CN103021221A (en) Simulation system and simulation method for virtual driving behavior of drivers of subway trains
CN108492666A (en) A kind of real-time microcosmic traffic simulation system and method for actual situation mixing
CN110164150A (en) A kind of method for controlling traffic signal lights based on time distribution and intensified learning
CN111319657B (en) Urban rail transit simulation system
CN201142163Y (en) Road traffic flow model simulation device
CN114462233A (en) Microscopic traffic simulation method, computer device and storage medium
CN112904827A (en) Unmanned virtual simulation test system for multiple ICUs
CN103310057A (en) Microscopic traffic simulation running method and device
CN110102059A (en) Generation method, device, processor and the terminal of waypoint information
CN114387844A (en) Teaching platform based on automatic driving virtual-real fusion testing technology
CN103021026A (en) Three-dimensional vehicular access collaborative simulation system
Reddy et al. Synchronous management of mixed traffic at signalized intersections towards sustainable road transportation
Park et al. Evaluation of microscopic simulation tools for coordinated signal system deployment
CN110428692A (en) A kind of intelligent driving emulation mode, system, electronic equipment and storage medium
CN114185320B (en) Evaluation method, device and system for unmanned system cluster and storage medium
Wu et al. VR+ BIM: perception and design optimization of highway
Che et al. An open vehicle-in-the-loop test method for autonomous vehicle

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: 20130717

Termination date: 20160729