CN103559342B - The emulation mode of liquid crystal display in a kind of protective relaying device - Google Patents

The emulation mode of liquid crystal display in a kind of protective relaying device Download PDF

Info

Publication number
CN103559342B
CN103559342B CN201310519110.4A CN201310519110A CN103559342B CN 103559342 B CN103559342 B CN 103559342B CN 201310519110 A CN201310519110 A CN 201310519110A CN 103559342 B CN103559342 B CN 103559342B
Authority
CN
China
Prior art keywords
picture
liquid crystal
crystal display
pel
protective relaying
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.)
Active
Application number
CN201310519110.4A
Other languages
Chinese (zh)
Other versions
CN103559342A (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.)
State Grid Corp of China SGCC
Beijing Kedong Electric Power Control System Co Ltd
State Grid Sichuan Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Beijing Kedong Electric Power Control System Co Ltd
State Grid Sichuan Electric Power Co Ltd
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 State Grid Corp of China SGCC, Beijing Kedong Electric Power Control System Co Ltd, State Grid Sichuan Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201310519110.4A priority Critical patent/CN103559342B/en
Publication of CN103559342A publication Critical patent/CN103559342A/en
Application granted granted Critical
Publication of CN103559342B publication Critical patent/CN103559342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses the emulation mode of liquid crystal display in a kind of protective relaying device, comprise the following steps: step 1, definition LCD pictures collection; Whole pictures of step 2, loading liquid crystal display; Step 3, obtain the data of current picture dynamic graphical component from database, show in liquid crystal display; Step 4, judge whether data upgrade, if upgrade, return step 3, otherwise enter step 5; Step 5, reception mouse action, search selected dynamic graphical component; If step 6, judgement control zone pel then enter step 9, otherwise enter step 7; Step 7, determine whether dynamic graphical component, if dynamic graphical component then enters step 8, otherwise return step 4; Step 4 is back to after the Action Events of step 8, process dynamic graphical component; Step 9, interpretation process control zone primitive operation, be back to step 3 after resetting current display frame.The present invention can realize picture display complicated in liquid crystal display, switch and operating function, and simulated effect is true to nature.

Description

The emulation mode of liquid crystal display in a kind of protective relaying device
Technical field
The present invention relates to Simulating technique in Electric Power System field, specifically the emulation mode of liquid crystal display in a kind of protective relaying device.
Background technology
Protective relaying device is monitoring and controlling equipment important in transformer station; along with the development of technology; protective relaying device is more and more integrated, and as the important state monitoring interface of protective relaying device, all-graphic, touch liquid crystal display use more and more in intelligent substation.Substation simulation only has the emulation realizing protective relaying device liquid crystal display, and could improve fidelity and the authenticity of emulation, therefore, the emulation of protective relaying device liquid crystal display is more and more important.
At present, protective relaying device emulation generally have employed three-dimensional virtual reality technology, because the function of protective relaying device liquid crystal display is complicated, modeling cannot be carried out with 3DMAX, a general pre-defined liquid crystal display pinup picture, then according to the definition of configuration file, load menu character string and the picture file of definition, liquid crystal display is emulated, this emulation mode can realize the emulation of the liquid crystal display based on menu, for being shown as main liquid crystal display with full graphics and needing to show the liquid crystal display of a large amount of dynamic data, adopt the display rule carried out in this way emulating and need definition complicated, configure a large amount of picture files, also need the DISPLAY ORDER carefully arranging picture simultaneously, implementation procedure is very complicated and difficult.For full graphics, touch liquid crystal display; its image content is more changeable; operation Presentation Function is more complicated; existing emulation mode cannot be adopted to realize; general is on protective relaying device, paste a static images schematically emulate, and can not realize picture display complicated in liquid crystal display, switch and operating function.
Summary of the invention
The problem that can not realize the display of complicated picture when the object of the invention is to solve liquid crystal display emulation now and switch; provide the emulation mode of liquid crystal display in a kind of protective relaying device; it can realize the emulation of full graphics, touch liquid crystal display, and can improve the fidelity of simulated effect.
Object of the present invention is achieved through the following technical solutions: the emulation mode of liquid crystal display in a kind of protective relaying device, comprises the following steps:
The display frame collection of step one, definition liquid crystal display, wherein, the picture collection of liquid crystal display is made up of multiple graphic file, a display frame of the corresponding liquid crystal display of each graphic file of picture collection, the display frame content of liquid crystal display comprises the dynamic graphical component of static pel for drawing stateless change image content in liquid crystal display and Dynamic Announce simulation data base emulation content, and described dynamic graphical component also comprises for defining response mouse action event coordinates district and carrying out the control zone pel of picture switching;
Step 2, protective relaying device analogue system load whole graphic files of picture collection;
Step 3, obtain the picture title of the current display frame of protective relaying device analogue system from the simulation data base of protective relaying device analogue system, picture file in corresponding picture collection is found out according to the picture title of the current display frame of protective relaying device analogue system, create Memory plot district, draw whole pel in Memory plot district, and the content in Memory plot district is shown on liquid crystal display pinup picture;
Whole pels in the picture that in the picture collection that step 4, traversal are found out, picture file is corresponding, if be back in step 3 when there is Data Update, if without Data Update, then enter step 5;
Step 5, reception mouse action, search the dynamic graphical component of picture file in selected picture collection, and judge whether selected pel is control zone pel, if control zone pel then enters step 7, if not control zone pel then enters step 6;
Step 6, again judge whether selected pel is dynamic graphical component, if not dynamic graphical component then returns step 4, if dynamic graphical component then processes the Action Events of dynamic graphical component, and return again after processing is completed in step 4;
Step 7, interpretation process control zone primitive operation, reset current display frame, then return to step 3.Wherein, static pel comprises the types such as line, arrow, picture; dynamic graphical component comprises the types such as remote signalling, remote measurement, list; control zone pel is a kind of hot-zone pel; dynamic graphical component changes the display state of oneself according to the change tread of database value; protective relaying device analogue system is called three-dimensional program pinup picture function and the content in Memory plot district is shown on liquid crystal display pinup picture, realizes the Dynamic Announce of liquid crystal display.
Further, described dynamic graphical component is bound by the record of its Database Properties and simulation data base, the Database Properties of described dynamic graphical component comprises title, domain name claims and database key assignments, wherein, title determination device type, domain name claims to determine device attribute, and database key value determines unique concrete equipment.
Further, the detailed process processing dynamic graphical component Action Events in described step 6 is: from the Database Properties of pel, extract title, domain name claims, determine processing mode and process function, database key assignments is extracted from the Database Properties of pel, with database key assignments for parameter call process function, complete the process of primitive operation.
Further; the graphic file being loaded into protective relaying device analogue system in described step 2 comprises picture file name list in the management structure of simulation data base and stores the picture file data field of whole picture file graph data; described picture file name list stored picture title, picture pel number and picture data pointer, each picture is by the picture file data field start address of its this picture of picture data pointed.Wherein, protective relaying device analogue system reads in the graphic file of picture collection, according to the data of primary equipment title, protective relaying device type, protective sleeve organization chart shape file.
Further; to find out in corresponding picture collection picture file in the picture title of the current display frame of protective relaying device analogue system in described step 3 and create between Memory plot district; further comprising the steps of: whole dynamic graphical components of the corresponding picture of picture file in the picture collection that traversal is found out; according to the property value of Database Properties extraction equipment from simulation data base of the corresponding picture of picture file in the picture collection found out; write graphic file, in the management structure of simulation data base, upgrades original value.
Further, also comprise employing graphical tools in described step one and draw LCD pictures.So, engineering construction of the present invention is convenient and simple, can improve the practicality of analogue system.
Further, the wide of the picture found out in described step 3 is w0, height is h0, the Memory plot district created is identical with the wide height of this picture, the wide high analogue system of protective relaying device obtaining liquid crystal display pinup picture is respectively w1 and h1, when Memory plot district is mapped to liquid crystal display pinup picture, bi-directional scaling figure according to the following formula: the width ratio factor=w1/w0; The height ratio factor=h1/h0.
Further, mouse event is received in described step 5, the transverse and longitudinal coordinate figure obtaining mouse click place is respectively Xm and Ym, whole pels of traversal picture, search the pel chosen when mouse is clicked, for position transverse and longitudinal coordinate position respectively at Xt and Yt, wide height is respectively the pel of Wt and Ht, and the pel meeting following condition represents selected: Xm>=Xt and Ym>=Yt and Xm<=Xt+Wt and Ym<=Yt+Ht.
Compared with prior art, the present invention has following beneficial effect: dissimilar meta graph recognition is become complicated picture by the present invention, and with the content of the mode Dynamic Announce liquid crystal display of dynamic pinup picture, the emulation of full graphics, touch liquid crystal display can be realized, engineering construction is convenient and simple, simulated effect is more true to nature, improves the practicality of analogue system.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the embodiment of the present invention.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment
As shown in Figure 1, the emulation mode of liquid crystal display in a kind of protective relaying device, comprises the following steps: step 1, definition LCD pictures collection; Whole pictures of step 2, loading liquid crystal display; Step 3, obtain the data of current picture dynamic graphical component from database, show in liquid crystal display; Step 4, judge whether data upgrade, if upgrade, return step 3, if do not upgrade, enter step 5; Step 5, reception mouse action, search selected dynamic graphical component; Step 6, determine whether control zone pel, if control zone pel then enters step 9, if not control zone pel then enters step 7; Step 7, determine whether dynamic graphical component, if dynamic graphical component then enters step 8, if not dynamic graphical component then returns step 4; The Action Events of step 8, process dynamic graphical component, and step 4 is back to after process terminates; Step 9, interpretation process control zone primitive operation, reset current display frame, be then back to step 3.
In the present embodiment, the specific operation process of step 1 is: adopt graphical tools to draw LCD pictures, the display frame collection of definition liquid crystal display, wherein, the picture collection of liquid crystal display is made up of multiple graphic file, a display frame of the corresponding liquid crystal display of each graphic file of picture collection, the display frame content of liquid crystal display comprises the static pel for drawing stateless change image content in liquid crystal display, and the dynamic graphical component of Dynamic Announce simulation data base emulation content, described dynamic graphical component also comprises for defining response mouse action event coordinates district and carrying out the control zone pel of picture switching.Dynamic graphical component is bound by the record of its Database Properties and simulation data base, the Database Properties of dynamic graphical component comprises title, domain name claims and database key assignments, wherein, and title determination device type, domain name claims to determine device attribute, and database key value determines unique concrete equipment.
In the present embodiment, the specific operation process of step 2 is: protective relaying device analogue system loads whole graphic files of picture collection; wherein; the graphic file being loaded into protective relaying device analogue system comprises picture file name list in the management structure of simulation data base and stores the picture file data field of whole picture file graph data; picture file name list stored picture title, picture pel number and picture data pointer, each picture is by the picture file data field start address of its this picture of picture data pointed.
In the present embodiment, the specific operation process of step 3 is: the picture title obtaining the current display frame of protective relaying device analogue system from the simulation data base of protective relaying device analogue system, picture file in corresponding picture collection is found out according to the picture title of the current display frame of protective relaying device analogue system, whole dynamic graphical components of the corresponding picture of picture file in the picture collection that traversal is found out, according to the property value of Database Properties extraction equipment from simulation data base of the corresponding picture of picture file in the picture collection found out, write graphic file is in the management structure of simulation data base, upgrade original value, create Memory plot district, whole pel is drawn in Memory plot district, and the content in Memory plot district is shown on liquid crystal display pinup picture.Wherein, the wide of the picture found out is w0, height is h0, the Memory plot district created is identical with the wide height of this picture, the wide high analogue system of protective relaying device obtaining liquid crystal display pinup picture is respectively w1 and h1, when Memory plot district is mapped to liquid crystal display pinup picture, bi-directional scaling figure according to the following formula: the width ratio factor=w1/w0; The height ratio factor=h1/h0.In the present embodiment, the concrete operation step of step 4 is: the whole pels in the picture that in the picture collection that traversal is found out, picture file is corresponding, if be back in step 3 when there is Data Update, if without Data Update, then enter step 5.
In the present embodiment, step 5 to the concrete operation step of step 6 is: receive mouse action, search the dynamic graphical component of picture file in selected picture collection, and judge whether selected pel is control zone pel, if control zone pel then enters step 9, if not control zone pel then enters step 7.Wherein, selected pel is defined as: receive mouse event, the transverse and longitudinal coordinate figure obtaining mouse click place is respectively Xm and Ym, whole pels of traversal picture, search the pel chosen when mouse is clicked, for position transverse and longitudinal coordinate position respectively at Xt and Yt, wide height is respectively the pel of Wt and Ht, and the pel meeting following condition represents selected: Xm>=Xt and Ym>=Yt and Xm<=Xt+Wt and Ym<=Yt+Ht.
In the present embodiment, step 7 to the concrete operation step of step 8 is: again judge whether selected pel is dynamic graphical component, if not dynamic graphical component then returns step 4, if dynamic graphical component then processes the Action Events of dynamic graphical component, and return again to step 4 after processing is completed.Wherein, the concrete processing procedure of dynamic graphical component Action Events is: from the Database Properties of pel, extract title, domain name claims, determine processing mode and process function, database key assignments is extracted from the Database Properties of pel, with database key assignments for parameter call process function, complete the process of primitive operation.From the pel parameter of control zone, extract picture title in the step 9 of the present embodiment, be arranged to current display frame, realize the switching of LCD pictures.
The present invention adopts graphical tools to draw the display frame of liquid crystal display; protective relaying device analogue system loads pre-rendered picture; and from internal database, obtain emulated data according to the Database Properties of pel in picture; then the Memory plot district that establishment one is identical with picture size; and picture is drawn in Memory plot district; finally in the mode of pinup picture, the content in Memory plot district is shown on the liquid crystal display pinup picture of protective relaying device three-dimensional model, thus realizes the emulation of protective relaying device liquid crystal display.
Above content is the further description done the present invention in conjunction with concrete preferred implementation, can not assert that the specific embodiment of the present invention is confined to these explanations.For general technical staff of the technical field of the invention, not departing from other embodiments drawn under technical scheme of the present invention, all should be included in protection scope of the present invention.

Claims (7)

1. the emulation mode of liquid crystal display in protective relaying device, is characterized in that, comprise the following steps:
The display frame collection of step one, definition liquid crystal display, wherein, the picture collection of liquid crystal display is made up of multiple graphic file, a display frame of the corresponding liquid crystal display of each graphic file of picture collection, the display frame content of liquid crystal display comprises the dynamic graphical component of static pel for drawing stateless change image content in liquid crystal display and Dynamic Announce simulation data base emulation content, and described dynamic graphical component also comprises for defining response mouse action event coordinates district and carrying out the control zone pel of picture switching;
Step 2, protective relaying device analogue system load whole graphic files of picture collection;
Step 3, obtain the picture title of the current display frame of protective relaying device analogue system from the simulation data base of protective relaying device analogue system, picture file in corresponding picture collection is found out according to the picture title of the current display frame of protective relaying device analogue system, create Memory plot district, draw whole pel in Memory plot district, and the content in Memory plot district is shown on liquid crystal display pinup picture;
Whole pels in the picture that in the picture collection that step 4, traversal are found out, picture file is corresponding, if be back in step 3 when there is Data Update, if without Data Update, then enter step 5;
Step 5, reception mouse action, search the dynamic graphical component of picture file in selected picture collection, and judge whether selected pel is control zone pel, if control zone pel then enters step 7, if not control zone pel then enters step 6;
Step 6, again judge whether selected pel is dynamic graphical component, if not dynamic graphical component then returns step 4, if dynamic graphical component then processes the Action Events of dynamic graphical component, and return again after processing is completed in step 4;
Step 7, interpretation process control zone primitive operation, reset current display frame, then return to step 3;
Described dynamic graphical component is bound by the record of its Database Properties and simulation data base, the Database Properties of described dynamic graphical component comprises title, domain name claims and database key assignments, wherein, title determination device type, domain name claims to determine device attribute, and database key value determines unique concrete equipment.
2. the emulation mode of liquid crystal display in a kind of protective relaying device according to claim 1; it is characterized in that; the detailed process processing dynamic graphical component Action Events in described step 6 is: from the Database Properties of pel, extract title, domain name claims; determine processing mode and process function; database key assignments is extracted from the Database Properties of pel; with database key assignments for parameter call process function, complete the process of primitive operation.
3. the emulation mode of liquid crystal display in a kind of protective relaying device according to claim 1; it is characterized in that; the graphic file being loaded into protective relaying device analogue system in described step 2 comprises picture file name list in the management structure of simulation data base and stores the picture file data field of whole picture file graph data; described picture file name list stored picture title, picture pel number and picture data pointer, each picture is by the picture file data field start address of its this picture of picture data pointed.
4. the emulation mode of liquid crystal display in a kind of protective relaying device according to claim 3, it is characterized in that, to find out in corresponding picture collection picture file in the picture title of the current display frame of protective relaying device analogue system in described step 3 and create between Memory plot district, further comprising the steps of: whole dynamic graphical components of the corresponding picture of picture file in the picture collection that traversal is found out, according to the property value of Database Properties extraction equipment from simulation data base of the corresponding picture of picture file in the picture collection found out, write graphic file is in the management structure of simulation data base, upgrade original value.
5. the emulation mode of liquid crystal display in a kind of protective relaying device according to claim 1, is characterized in that, also comprises and adopt graphical tools to draw LCD pictures in described step one.
6. according to the emulation mode of liquid crystal display in a kind of protective relaying device in Claims 1 to 5 described in any one, it is characterized in that, the wide of the picture found out in described step 3 is w0, height is h0, the Memory plot district created is identical with the wide height of this picture, the wide high analogue system of protective relaying device obtaining liquid crystal display pinup picture is respectively w1 and h1, when Memory plot district is mapped to liquid crystal display pinup picture, and bi-directional scaling figure according to the following formula: the width ratio factor=w1/w0; The height ratio factor=h1/h0.
7. according to the emulation mode of liquid crystal display in a kind of protective relaying device in Claims 1 to 5 described in any one, it is characterized in that, mouse event is received in described step 5, the transverse and longitudinal coordinate figure obtaining mouse click place is respectively Xm and Ym, whole pels of traversal picture, search the pel chosen when mouse is clicked, for position transverse and longitudinal coordinate position respectively at Xt and Yt, wide height is respectively the pel of Wt and Ht, the pel meeting following condition represents selected: Xm>=Xt and Ym>=Yt and Xm<=Xt+Wt and Ym<=Yt+Ht.
CN201310519110.4A 2013-10-29 2013-10-29 The emulation mode of liquid crystal display in a kind of protective relaying device Active CN103559342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310519110.4A CN103559342B (en) 2013-10-29 2013-10-29 The emulation mode of liquid crystal display in a kind of protective relaying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310519110.4A CN103559342B (en) 2013-10-29 2013-10-29 The emulation mode of liquid crystal display in a kind of protective relaying device

Publications (2)

Publication Number Publication Date
CN103559342A CN103559342A (en) 2014-02-05
CN103559342B true CN103559342B (en) 2016-03-23

Family

ID=50013588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310519110.4A Active CN103559342B (en) 2013-10-29 2013-10-29 The emulation mode of liquid crystal display in a kind of protective relaying device

Country Status (1)

Country Link
CN (1) CN103559342B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389437A (en) * 2015-11-17 2016-03-09 许继电气股份有限公司 Simulation system of human-machine interaction interface of secondary device of substation
CN106557629B (en) * 2016-11-18 2019-04-05 云南电网有限责任公司昆明供电局 A kind of high Simulation Substation protective device simulation operation training system
CN107832523A (en) * 2017-11-06 2018-03-23 成都交大许继电气有限责任公司 A kind of graphical liquid crystal display development approach of electric railway
CN115618583B (en) * 2022-09-29 2023-11-03 国网信息通信产业集团有限公司 Energy system simulation multi-period parameter processing method and component

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6370483B1 (en) * 1998-06-15 2002-04-09 Robert W. Beckwith Synchronous linear machine for protective relaying
CN102983633A (en) * 2012-12-25 2013-03-20 北京四方继保自动化股份有限公司 State monitoring equipment and monitoring method for relay protection device based on RFID
CN103347186A (en) * 2013-07-08 2013-10-09 南京国电南自电网自动化有限公司 Real-time transmission and remote control method for relay protection device human-computer interfaces

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6370483B1 (en) * 1998-06-15 2002-04-09 Robert W. Beckwith Synchronous linear machine for protective relaying
CN102983633A (en) * 2012-12-25 2013-03-20 北京四方继保自动化股份有限公司 State monitoring equipment and monitoring method for relay protection device based on RFID
CN103347186A (en) * 2013-07-08 2013-10-09 南京国电南自电网自动化有限公司 Real-time transmission and remote control method for relay protection device human-computer interfaces

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
计及电网模型的继电保护仿真培训系统研究;冯正伟;《中国优秀硕士学位论文全文数据库 工程科技II辑》;20100915;第26-36页 *

Also Published As

Publication number Publication date
CN103559342A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN105701103B (en) Three-dimensional application system based on geographic information
US8291345B2 (en) Sun-shadow simulation in a geospatial system
CN103559342B (en) The emulation mode of liquid crystal display in a kind of protective relaying device
CN107451150B (en) Geographic data presentation method and device
CN104573213B (en) A kind of generation method of the intelligent electronic device electric hookup based on G language
CN103309560A (en) Multi-interface information display method and terminal
CN103530340A (en) Network thematic map making method and map making system
CN108573008A (en) Massive point methods of exhibiting and device in a kind of electronic map
CN109859109B (en) Series scale PDF map seamless organization and display method
CN106846431B (en) Unified Web graph drawing system supporting multiple expression forms
Ellul et al. Investigating approaches to improving rendering performance of 3D city models on mobile devices
CN109086515B (en) Modeling method for primary equipment drawing information in SSD (solid State drive) of intelligent substation based on SVG (scalable vector graphics)
CN103390369A (en) Map rendering method and system
Chunchang et al. The design and implement of tourism information system based on GIS
CN105512172A (en) GIS intelligent display system and method of street lamp resource equipment on mobile terminal
CN101493810A (en) Display device for electrical equipment chart of electrical power distribution network
CN111159480B (en) Graph drawing method based on power grid GIS data
CN113888673A (en) Map editing method, system, device, computing equipment and storage medium
Hu et al. Development based on Unity3D virtual campus roaming system
Huang et al. Development of three dimensional digital tourism presentation system based on Google Earth API
CN112783385A (en) Dynamic generation method of environment-friendly monitoring map point location identification
Ellul et al. LOD 1 VS. LOD 2–Preliminary investigations into differences in mobile rendering performance
CN114595018B (en) Three-dimensional display method and device for current flow direction, computer equipment and storage medium
Zhang et al. The Method to Construct the Three-Dimensional Model Based on OpenGL
Chen et al. Research on embedded GIS based on wireless networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant