Time synchronization method for electromechanical transient and electromagnetic transient simulation system
Technical field
The present invention relates to the time synchronization method for electromechanical transient and electromagnetic transient simulation system.
Background technology
Electromagnetism-electromechanical transient hybrid real-time simulation represents the developing direction of electric system simulation, based on electromagnetism-electromechanics temporarily
The alterating and direct current network simulation technical research pilot system of state hybrid real-time simulation by providing for bulk power grid Prevention-Security powerful is
System is supported.South electric network technique center and Tsing-Hua University combine and undertake Eleventh Five-Year Plan national science and technology supporting plan major project class
Topic, develops to the electromagnetism based on rtds- numerical calculation server interface-electromechanical transient hybrid real-time simulation.
In October, 2007, south electric network simulation laboratory set about starting designing and develop CHINA SOUTHERN POWER (110kv and with
On) AC and DC power system real-time simulation platform, platform referred to as smrt (super mixed real-time).This is imitated in real time
Electromechanical transient real-time simulation based on rtds electro-magnetic transient real-time simulation with based on parallel digital computer is passed through to set by true platform
The interface equipment of meter is connected, and extensive AC/DC mixed power system can really be simulated and continuously imitate in real time
The true test to meet south electric network direct current and AC system controller and protection and various automation equipment and parameter tuning, each
The reproduction of planning, various fault and abnormal running mode of the kind method of operation and Security Countermeasures and countermeasure etc. need.
Simultaneous techniques is the problem that any one communication system is required for solving, similarly, for ensureing electromechanical transient simulation
System and the synchronous real time execution of electromagnetic transient simulation system, need accurate time synchronization method.Because power line channel leads to
Believe severe communication environment, there is to existing time synchronization method strong interference and decay, affect stablizing of smrt system
Property.
Content of the invention
An object of the present invention is to provide the Timing Synchronization side of electromechanical transient simulation system and electromagnetic transient simulation system
Method;
It is a further object of the present invention to provide the time synchronization method in a kind of power system.
The technical scheme that the present invention provides is:
Electromechanical transient simulation system and the time synchronization method of electromagnetic transient simulation system, comprise the steps:
Electromechanical transient simulation system and electromagnetic transient simulation system all receive very first time benchmark,
Electromechanical transient simulation system or electromagnetic transient simulation system send synchronization every 1~2min to other side as transmitting terminal
Signal, described synchronizing signal carries routing information and is passed to the first power line channel transfer,
Electromagnetic transient simulation system or electromechanical transient simulation system receive after described synchronizing signal as receiving terminal, control
Described synchronizing signal is compared by device from described transmitting terminal to described the receiving terminal absolute time mark transmitting and the markers arranging, if
Markers difference not less than threshold range, then judges that described electromechanical transient simulation system and described electromagnetic transient simulation timing are same
Step, described receiving terminal is to described transmitting terminal and the synchronous pass signal of described controller transmission first simultaneously;If markers difference exceedes
Described threshold range, then judge that described electromechanical transient simulation system and described electromagnetic transient simulation timing are false synchronous, described
When receiving terminal is then according to receiving a plurality of described synchronizing signal in 10min, described markers difference exceedes the difference of described threshold range
Value readjusts time of described receiving terminal with the mean value judging time sum, and after completing adjustment, described receiving terminal is to described
Transmitting terminal and described controller send the second synchronous pass signal,
When described transmitting terminal receives the described first synchronous pass signal or described second synchronous pass signal, to described control
Device processed sends the 3rd synchronous pass signal;
Wherein, it is provided with middle adjuster between described electromechanical transient simulation system and described electromagnetic transient simulation system,
Described synchronizing signal carries velocity measuring module, when the speed that described velocity measuring module detects described synchronizing signal exceeds in advance
If threshold speed when, then issue distress signal to described middle adjuster, described middle adjuster judges described distress signal
Type, if described distress signal be signal for faster, the second electric power line passage opened by described middle adjuster, if described emergency
Signal is reduce-speed sign, then described middle adjuster sends redundancy junk to described first electric power line passage.
Preferably, in the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, institute
State electromechanical transient simulation system and described electromagnetic transient simulation system is additionally provided with the second time reference, described second time reference
Including the timer being arranged in described electromechanical transient simulation system and described electromagnetic transient simulation system and the 3rd time reference,
If described controller receives the described first synchronous pass signal, the described second synchronous success within the time of regulation
In signal or described 3rd synchronous pass signal any two kinds, then described controller judgement very first time benchmark normal operation,
If within the time beyond regulation, described controller receives the described first synchronous pass signal, described second synchronization is successfully believed
Number or described 3rd synchronous pass signal in any one or do not receive synchronous pass signal, then described controller judges
The operation of very first time benchmark is not normal, and cuts off very first time benchmark and make described electromechanical transient simulation system and electromagnetic transient simulation
System starts timing using described timer simultaneously,
Meanwhile, described controller passes through to be received the time of described synchronous pass signal record and described for the last time
The one time reference operation not normal time is calculated, and calculates correct time information, i.e. described 3rd time reference, and profit
It is described electromechanical transient simulation system and described electromagnetic transient simulation system with described 3rd time reference and described timer simultaneously
During statistics.
Preferably, in the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, institute
State middle adjuster and be provided with multiple, the plurality of middle adjuster is all connected with described controller, when one of middle tone
After whole device receives described distress signal, the data of described distress signal is transferred to described controller, described controller passes through
Calculate acceleration or deceleration information transfer to adjacent with described one of middle adjuster in described distress signal transmission path
Next in the middle of adjuster.
Preferably, in the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, institute
State any one that very first time benchmark is in Beidou satellite system, GLONASS or global positioning system.
Preferably, in the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, institute
State the ip address that routing information includes multiple network interface cards of described first electric power line passage.
Preferably, in the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, institute
Stating timer is mechanical timer.
The invention has the benefit that
Synchronizing signal in the present invention limits route and speed, has ensured the time that synchronous transmission of signal needs, so may be used
To ensure the accuracy of time synchronized, punctual high precision;
It is provided with multiple time references it is achieved that the diversification of time synchronized benchmark, it is to avoid because of satellite signal receiving simultaneously
Disorderly less than the time reference that causes it is adaptable to Timing Synchronization in power system.
Brief description
Fig. 1 is the stream of the time synchronization method of electromechanical transient simulation system of the present invention and electromagnetic transient simulation system
Cheng Tu;
Fig. 2 is showing of the time synchronization method of electromechanical transient simulation system of the present invention and electromagnetic transient simulation system
It is intended to.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings, to make those skilled in the art with reference to specification literary composition
Word can be implemented according to this.
Embodiment 1:
As depicted in figs. 1 and 2, the present invention provides the Timing Synchronization of electromechanical transient simulation system and electromagnetic transient simulation system
Method, comprises the steps:
Electromechanical transient simulation system and electromagnetic transient simulation system all receive very first time benchmark, and very first time benchmark is north
Any one in bucket satellite system, GLONASS or global positioning system,
Electromechanical transient simulation system or electromagnetic transient simulation system send synchronous letter every 1min to other side as transmitting terminal
Number, described synchronizing signal carries routing information and is passed to the first power line channel transfer, and described routing information includes described
The ip address of multiple network interface cards of one electric power line passage so that synchronizing signal only and can only along the first electric power line passage,
Electromagnetic transient simulation system or electromechanical transient simulation system receive after described synchronizing signal as receiving terminal, control
Described synchronizing signal is compared by device from described transmitting terminal to described the receiving terminal absolute time mark transmitting and the markers arranging, if
Markers difference not less than threshold range, then judges that described electromechanical transient simulation system and described electromagnetic transient simulation timing are same
Step, described receiving terminal is to described transmitting terminal and the synchronous pass signal of described controller transmission first simultaneously;If markers difference exceedes
Described threshold range, then judge that described electromechanical transient simulation system and described electromagnetic transient simulation timing are false synchronous, described
When receiving terminal is then according to receiving a plurality of described synchronizing signal in 10min, described markers difference exceedes the difference of described threshold range
Value readjusts time of described receiving terminal with the mean value judging time sum, and after completing adjustment, described receiving terminal is to described
Transmitting terminal and described controller send the second synchronous pass signal,
When described transmitting terminal receives the described first synchronous pass signal or described second synchronous pass signal, to described control
Device processed sends the 3rd synchronous pass signal;
Wherein, it is provided with middle adjuster between described electromechanical transient simulation system and described electromagnetic transient simulation system,
Described synchronizing signal carries velocity measuring module, when the speed that described velocity measuring module detects described synchronizing signal exceeds in advance
If threshold speed when, then issue distress signal to described middle adjuster, described middle adjuster judges described distress signal
Type, if described distress signal be signal for faster, the second electric power line passage opened by described middle adjuster, if described emergency
Signal is reduce-speed sign, then described middle adjuster sends redundancy junk to described first electric power line passage.
In the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, described electromechanical transient
Analogue system and described electromagnetic transient simulation system are additionally provided with the second time reference, and described second time reference includes being arranged on
Timer in described electromechanical transient simulation system and described electromagnetic transient simulation system and the 3rd time reference, timer is preferred
For mechanical timer.
If described controller receives the described first synchronous pass signal, the described second synchronous success within the time of regulation
In signal or described 3rd synchronous pass signal any two kinds, then described controller judgement very first time benchmark normal operation,
If within the time beyond regulation, described controller receives the described first synchronous pass signal, described second synchronization is successfully believed
Number or described 3rd synchronous pass signal in any one or do not receive synchronous pass signal, then described controller judges
The operation of very first time benchmark is not normal, and cuts off very first time benchmark and make described electromechanical transient simulation system and electromagnetic transient simulation
System starts timing using described timer simultaneously,
Meanwhile, described controller passes through to be received the time of described synchronous pass signal record and described for the last time
The one time reference operation not normal time is calculated, and calculates correct time information, i.e. described 3rd time reference, and profit
It is described electromechanical transient simulation system and described electromagnetic transient simulation system with described 3rd time reference and described timer simultaneously
During statistics.
In the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, described middle adjustment
Device is provided with multiple, and the plurality of middle adjuster is all connected with described controller, and in the middle of one of, adjuster receives
After described distress signal, the data of described distress signal is transferred to described controller, described controller will accelerate by calculating
Or deceleration be transferred in described distress signal transmission path with described one of in the middle of adjuster adjacent the next one
Middle adjuster.
Embodiment 2:
As depicted in figs. 1 and 2, the present invention provides the Timing Synchronization of electromechanical transient simulation system and electromagnetic transient simulation system
Method, comprises the steps:
Electromechanical transient simulation system and electromagnetic transient simulation system all receive very first time benchmark, and very first time benchmark is north
Any one in bucket satellite system, GLONASS or global positioning system,
Electromechanical transient simulation system or electromagnetic transient simulation system send synchronous letter every 2min to other side as transmitting terminal
Number, described synchronizing signal carries routing information and is passed to the first power line channel transfer, and described routing information includes described
The ip address of multiple network interface cards of one electric power line passage so that synchronizing signal only and can only along the first electric power line passage,
Electromagnetic transient simulation system or electromechanical transient simulation system receive after described synchronizing signal as receiving terminal, control
Described synchronizing signal is compared by device from described transmitting terminal to described the receiving terminal absolute time mark transmitting and the markers arranging, if
Markers difference not less than threshold range, then judges that described electromechanical transient simulation system and described electromagnetic transient simulation timing are same
Step, described receiving terminal is to described transmitting terminal and the synchronous pass signal of described controller transmission first simultaneously;If markers difference exceedes
Described threshold range, then judge that described electromechanical transient simulation system and described electromagnetic transient simulation timing are false synchronous, described
When receiving terminal is then according to receiving a plurality of described synchronizing signal in 10min, described markers difference exceedes the difference of described threshold range
Value readjusts time of described receiving terminal with the mean value judging time sum, and after completing adjustment, described receiving terminal is to described
Transmitting terminal and described controller send the second synchronous pass signal,
When described transmitting terminal receives the described first synchronous pass signal or described second synchronous pass signal, to described control
Device processed sends the 3rd synchronous pass signal;
Wherein, it is provided with middle adjuster between described electromechanical transient simulation system and described electromagnetic transient simulation system,
Described synchronizing signal carries velocity measuring module, when the speed that described velocity measuring module detects described synchronizing signal exceeds in advance
If threshold speed when, then issue distress signal to described middle adjuster, described middle adjuster judges described distress signal
Type, if described distress signal be signal for faster, the second electric power line passage opened by described middle adjuster, if described emergency
Signal is reduce-speed sign, then described middle adjuster sends redundancy junk to described first electric power line passage.
In the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, described electromechanical transient
Analogue system and described electromagnetic transient simulation system are additionally provided with the second time reference, and described second time reference includes being arranged on
Timer in described electromechanical transient simulation system and described electromagnetic transient simulation system and the 3rd time reference, timer is preferred
For mechanical timer.
If described controller receives the described first synchronous pass signal, the described second synchronous success within the time of regulation
In signal or described 3rd synchronous pass signal any two kinds, then described controller judgement very first time benchmark normal operation,
If within the time beyond regulation, described controller receives the described first synchronous pass signal, described second synchronization is successfully believed
Number or described 3rd synchronous pass signal in any one or do not receive synchronous pass signal, then described controller judges
The operation of very first time benchmark is not normal, and cuts off very first time benchmark and make described electromechanical transient simulation system and electromagnetic transient simulation
System starts timing using described timer simultaneously,
Meanwhile, described controller passes through to be received the time of described synchronous pass signal record and described for the last time
The one time reference operation not normal time is calculated, and calculates correct time information, i.e. described 3rd time reference, and profit
It is described electromechanical transient simulation system and described electromagnetic transient simulation system with described 3rd time reference and described timer simultaneously
During statistics.
In the time synchronization method of described electromechanical transient simulation system and electromagnetic transient simulation system, described middle adjustment
Device is provided with multiple, and the plurality of middle adjuster is all connected with described controller, and in the middle of one of, adjuster receives
After described distress signal, the data of described distress signal is transferred to described controller, described controller will accelerate by calculating
Or deceleration be transferred in described distress signal transmission path with described one of in the middle of adjuster adjacent the next one
Middle adjuster.
The method of the present invention can ensure that the reliability height, the accuracy of Timing Synchronization that in power system, Timing Synchronization is kept time
Height, and mode is quick and precisely.
Although embodiment of the present invention is disclosed as above, it is not restricted to listed in specification and embodiment
With, it can be applied to various suitable the field of the invention completely, for those skilled in the art, can be easily
Realize other modification, therefore under the universal being limited without departing substantially from claim and equivalency range, the present invention does not limit
In specific details with shown here as the legend with description.