The Dynamic and Digital Real-Time Simulation for Power System Based on PC/Windows
- Author
- LiMuJun
- Advisor
- FengZhiBiao
- School
- Tongji University
- Major
- Control Theory and Control Engineering
- Classification
- TM743 Modeling and Simulation
- Degree
- Doctoral dissertation
- Year
- 2005
- Downloads
- 427
- Citations
- 1
- general-purpose operating system
- dynamic and digital real-time simulation
- Real-time Extension
- portable executable file format
- System kernel
Abstract
The dynamic and digital real-time simulation of power system is believed as an indispensable tool for power system planning, protective and control devices designing and testing. With the enlargement in scale of the power system and the development in technology of the computer, the digital real-time simulation system based on general computer gradually replaces the traditional dynamic simulation as its low cost and convenient upgrade. The dynamic and digital real-time simulation systems of power system based on PC and general software have become a significant’ research direction. In this thesis, some primary implementation architectures of real-time systems based on PCs and some important technologies of Windows NT/2000 in the real-time applications are researched by means of detailed and in-depth researching and analyzing of the kernel mechanisms of Windows NT/2000, the architecture of Intel x86 processors and the related chipset as well as the peripheral I/O interfacing chips and the other software and hardware mechanisms of computer systems. Furthermore, a dynamic and digital real-time simulation system of power system based on PC and Windows NT/2000 is designed and implemented.In this thesis, the mechanisms causing real-time faults are given. After summarizing the methods of real-time extension about general-purpose operating systems, the research direction of real-time extension is pointed out. Then several general-purpose operating systems real-time extensions are classified and compared, and the main characteristics of these technologies are discussed.PC/Windows systems are being popular in the field of digital real-time simulation, resulting from the advantages of high cost performance ration, powerful development tools and application software supports, fine compatibility and comprehensive users. Because Windows NT/2000 are not open-source operating systems, the technologies such as binary-code level tracing, debugging and reverse engineering of the kernel etc are introduced to study and analyze the kernel mechanisms and architecture of Windows NT/2000. Then the implementation architecture of hard real-time extension based on Windows NT/2000 is put forward.In order to provide split-second timing precision for periodic task, after studying the architecture of Intel x86 processors and the mechanism of Windows interrupt dispatching, the real-time timer interrupt is intercepted and its privilege is improved to the highest of system interrupts by means of directly programming the peripheral I/O interfacing chips instead of changing the HAL of system, which keeping the integrity of Windows NT/2000.With the research of the PE file format, an algorithm for loading digital real-time simulation module of power system based on stack data structures is put forward. By this algorithm, the relocation and the resolution of external quoting for the PE module are resolved.A method for allowing the real-time task developer’s program through dynamic link library is presented too. In view of a typical power system simulation prototype, this thesis presents a multiple-module-coupled model fit for real-time digital simulation and establishes its numerical algorithm. Employing this model and algorithm, the normal operation states, the fault operation states and the no-all-phase operation states for the prototype system are simulated. Furthermore, with a real-time simulation model of a nonlinear power transformer, the electromagnetic transient of the inrush phenomenon when the transformer is switched in the null-loaded circuits as well as the process of the normal-loaded state and short-circuit fault between turns state are simulated.The simulation software for the above models and algorithm is programmed. And many simulation experiments are accomplished. The results of these experiments prove that the dynamic and digital real-time simulation system independently designed and implemented based on PC/Windows can be applied to protective replay closed-loop testing.In the finality, the work of the dissertation is summarized and the problems requiring further studies are discussed.
Table of contents
Abstract 6-8
ABSTRACT 8-14
Chapter 1 Introduction 14-25
1.1 power system digital simulation Overview 14-18
1.1.1 power system simulation 14-15
1.1.2 power system digital simulation technology classification 15-18
1.1.3 power system digital simulation steps 18
digital real-time simulation system of the 1.2 Power Systems Research 18-20
1.3 subject background 20-22
1.4 of this thesis work and the organizational structure 22-25
Chapter 2 general-purpose operating system real-time extension technology research 25-42
2.1 Introduction 25
2.2 real-time operating system and its core features 25-29
2.2.1 real-time operating system-defined and its development 25-26
2.2.2 real-time operating system core features 26-29
2.3 general-purpose operating system real-time defect analysis 29-31
2.4 general-purpose operating system real-time extension methods 31-33
2.4.1 real-time extension method of classification 31-33
2.4.2 Real-time expansion of research 33
2.5 real-time system based on general-purpose operating system implementation 33-41
2.5.1 real-time systems based on DOS environment 34-36
2.5.2 real-time systems based on Linux environment, 36-41
2.6 Summary 41-42
Chapter 3, Windows NT/2000 operating system real-time expansion of research and design 42-66
3.1 Introduction 42
3.2 Windows NT/2000 operating system architecture 42-54
3.2.1 Architecture 43-45
3.2.2 kernel mechanism 45-54
3.3 Windows NT/2000 operating system real-time extension study 54-60
3.3.1 Windows NT/2000 operating system real-time performance analysis 54-58
3.3.2 Windows NT/2000 operating system real-time extension Overview 58-60
3.4 based on Windows NT/2000 operating system environment of hard real-time extension implementations 60-65
3.4.1 Real-time Timer interrupt management module 62-63
3.4.2 real-time tasks loader (Real-time Task Loader) module 63
3.4.3 real-time tasks (Real-time Task) module 63-65
3.5 Summary 65-66
Chapter 4 real-time timer interrupt management module design technology 66-93
4.1 Introduction 66
4.2 into the kernel mode 66-69
4.3 real-time timer interrupt technology 69-83
4.3.1 protected mode interrupt management mechanism 70-74
4.3.2 Real-time Timer interrupt capture technique 74-77
4.3.3 real-time timer interrupt priority control 77-83
4.4 communication interface technology 83-90
4.4.1 IRP creation and operation of 84-85
4.4.2 loader module communication interface 85-89
4.4.3 based on the shared memory communication interface to achieve 89-90
4.5 kernel floating-point computing environment technology 90-92
4.6 Summary 92-93
Chapter 5
real-time tasks loader design techniques 93-119
5.1 Introduction 93
5.2 PE file structure analysis 93-96
5.3 based on the loading of the PE file format 96-98
5.4 real-time task loader 98-118
5.4.1 user-mode loader module RtLoader design technology 99-101
5.4.2 kernel-mode loader the module KmPELoader design technology 101-114
5.4.3 multi-module loading algorithm 114-118
5.5 Summary 118-119
Chapter 6, Power System Dynamic digital real-time simulation model and 119-142
6.1 Introduction 119
6.2 modular modeling method 119-125
6.2.1 Modular Modeling thinking 119-120
6.2.2 System Prototype 120
6.2.3 system module decomposition 120-121
6.2.4 module coupling between voltage 121-125
6.3 transmission line module digital simulation models 125-137
6.3.1 transmission line lumped parameter model 125-130
6.3.2 normal operation model 130-132
6.3.3 failure to run the state model 132-135
6.3.4 non-phase running state model 135-137
6.4 digital simulation model of the transformer module 137-138
6.5 synchronous generator module digital simulation model 138-141
6.6 Summary 141-142
Chapter 7 of nonlinear power transformer digital simulation models 142-155
7.1 Introduction 142
7.2 three-phase, dual winding, Y_0 / △ -11 power transformers, real-time digital simulation model 142-154
7.2.1 magnetization curve linearization idea 142-143
7.2.2 transformer simulation of physical models 143-144
7.2.3 transformer no-load closing operation status of the digital simulation models 144-147
7.2.4 transformer load operation state of the digital simulation model 147-152
7.2.5 transformer interturn short circuit fault condition digital simulation models 152-154
7.3 Summary 154-155
Chapter 8, system performance testing and simulation to achieve 155-178
8.1 Performance testing purposes 155
8.2 Methods for measuring performance Introduction 155-156
8.3 test results 156-158
8.4 simulation to achieve 158-178
8.4.1 Technical Parameters 158-159
8.4.2 Simulation Process 159-161
8.4.3 Simulation waveform 161-178
Chapter 9 Summary and Outlook 178-183
9.1 of this thesis work 178-181
9.2 power system digital real-time simulation system research and development outlook 181-183
thank 183-184
References 184-191
biographical notes during the reading of papers and research 191
Related dissertations
- Research on UltraKernel-based Network Security System Model and Security Techniques
- Real - time fault-tolerant embedded operating system designed for small satellites
- Rootkit Win32 platform core technology research and application
- Application Research on Tower Simulator Based on HLA
- The Research of Information Hiding Technology Based on Portable Executable File Format
- Research and Application of Kernel Rootkit Detection Technology under Win32 Environment
- Development of Testing System for Inertial Measurement Unit Based on RTX
- The Design of Software Cnc System Based on Windows Real-time Extension
- Windows Kernel Rootkit Detection Technology Research
- Research on Kernel-Level Trojan Hiding Technology