CN103823384A - Method for controlling switch position in digital simulation model - Google Patents

Method for controlling switch position in digital simulation model Download PDF

Info

Publication number
CN103823384A
CN103823384A CN201410092347.3A CN201410092347A CN103823384A CN 103823384 A CN103823384 A CN 103823384A CN 201410092347 A CN201410092347 A CN 201410092347A CN 103823384 A CN103823384 A CN 103823384A
Authority
CN
China
Prior art keywords
switch
output
state
control program
model
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.)
Granted
Application number
CN201410092347.3A
Other languages
Chinese (zh)
Other versions
CN103823384B (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
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering 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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN201410092347.3A priority Critical patent/CN103823384B/en
Publication of CN103823384A publication Critical patent/CN103823384A/en
Application granted granted Critical
Publication of CN103823384B publication Critical patent/CN103823384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for controlling a switch position in a digital simulation model. The method is characterized by comprising the following steps: controlling the switch position by adopting a method of matching an initial state element of the switch with a switch control program, wherein the initial state element of the switch is an element developed by using a custom function of simulation software, the input is a system control mode, and the output is an initial position state of the switch; predefining the position state of each switch under each control mode according to the difference of the control modes of the system, automatically changing the output switch position state according to the predefined state when the current control mode of the system is changed; controlling the initial state of the switch by the initial state element of the switch; controlling a real-time state of the switch in the model operation process by the switch control program, wherein the output of the initial state element of the switch is an initial position signal of the switch; the output of the switch control program element is a switch disconnecting command and a switch connecting command; and the final position state of the switch is determined by output signals by treatment of matched circuits in common. By adopting the method disclosed by the invention, the simulation model does not need to be modified, a multi-operation technology adopted in simulation of taking the system control mode of the model as a variable is facilitated, and the simulation efficiency is improved.

Description

The control method of the position of the switch in digital simulation model
Technical field
The invention belongs to digital simulation technique field, particularly the control method of the position of the switch in a kind of digital simulation model.
Background technology
In current emulation technology, the control of the position of the switch is conventionally adopted to following several modes: the one, directly switching value data (0 or 1) assignment to switch position signal, in the time that position of the switch state need to change, need manual modification switching value data (0 or 1), the shortcoming of this method is to change online position of the switch state, the 2nd, the switching logic element gauge tap position signalling that adopts simulation software to provide, take PSCAD/EMTDC software as example, " Timed Breeaker Logic " element that this software provides can configuration switch initial position state and can set the online position of the switch state that changes of moment, the shortcoming of this method is that each " TimedBreeaker Logic " element can only be controlled the position of single switch, the change of switch initial position needs manually to arrange the parameter of " Timed Breeaker Logic " element, when in realistic model, number of switches is a lot, the change of switch initial position need to arrange one by one, workload is larger, the 3rd, at present a lot of simulation softwares all provide self-defined element funcall user function code, can adopt self-defining switch control program gauge tap location status, this kind of mode can be according to realistic model operating condition automatic control switch location status, but must revise switch control program when the switch initial position state of realistic model need to be changed.Do not have at present a kind of control method of the position of the switch can be in the original state of flexible gauge tap position on line real time control position of the switch state.
Summary of the invention
The object of this invention is to provide position of the switch control method in a kind of digital simulation model, can on line real time control position of the switch state in the original state of flexible gauge tap position.
The invention provides position of the switch control method in a kind of digital simulation model, the method that adopts switch original state element to match with switch control program is come gauge tap position; Switch original state element is the element with simulation software custom feature exploitation, it is input as system control model, be output as the initial position state of switch, according to the difference of system control model, the location status of each switch under every kind of control model of predefine, when the current control model of system changes, the position of the switch state of output changes automatically according to predefine state; By the original state of switch original state element gauge tap, the real-time status of switch in switch control program control model running process, switch original state element is output as switch initial position signal, switch control program element is output as switch ON-and OFF-command and switch closure command, the final position state of both output signals common determine switch after coordinating processing of circuit.
Further: described cooperation circuit specifically refers to that switch initial position signal opens through time delay the input end that element A, monostable trigger A connect "or" logic element A, the switch ON-and OFF-command of switch control program element output connects the input end of "or" logic element A through monostable trigger B, the output of "or" logic element A is connected to the set input of rest-set flip-flop; Switch initial position signal opens through " non-" logic element, time delay the input end that element B, monostable trigger C connect "or" logic element B, the switch closure command of switch control program output connects the input end of "or" logic element B through monostable trigger D, the output of "or" logic element B is connected to the RESET input of rest-set flip-flop; The output signal of rest-set flip-flop is final position of the switch status signal.
The invention has the beneficial effects as follows: the original state of gauge tap position flexibly not only compared with previous methods, can control in real time switch bit configuration state simultaneously.While change due to the current control model of model, the position of the switch state of output changes automatically according to predefine state, and do not need to revise realistic model, and be convenient to adopt in the emulation that variable carries out at the system control model take model multiple running technology, improve simulation efficiency.
Accompanying drawing explanation
Fig. 1 is the overall logic block diagram of position of the switch control method in mathematic simulated mode;
Fig. 2 is the switch original state element logical schematic that one of the preferred embodiment of the present invention can be controlled five switches;
Fig. 3 is the detailed logic block diagram that coordinates circuit.
Embodiment
The present invention is achieved by the following technical solutions: the method that adopts switch original state element to match with switch control program is carried out gauge tap state.Switch original state element is the element with simulation software custom feature exploitation, it is input as system control model, be output as the location status of switch, according to the difference of control model, the location status of each switch under every kind of control model of predefine, its essence is a predefined on off state matrix, when the current control model of model changes, the position of the switch state of output changes automatically according to predefine state.Switch control program element is that it is output as switch folding order by simulation software self-defined element funcall subscriber switch control program function code.By the original state of switch original state element gauge tap, by the real-time status in switch control program element control model running process, the final position state of common determine switch after the cooperation processing of circuit that both output signals are opened element, monostable trigger, "or" logic element, rest-set flip-flop formation through " non-" logic element, time delay.
The annexation of the each ingredient of this programme is as described below: switch original state element is output as switch initial position signal, and switch control program element is output as switch ON-and OFF-command and switch closure command; Switch initial position signal opens through time delay the input end that element A, monostable trigger A connect "or" logic element A, the switch ON-and OFF-command of switch control program element output connects the input end of "or" logic element A through monostable trigger B, the output of "or" logic element A is connected to the set input of rest-set flip-flop; Switch initial position signal opens through " non-" logic element, time delay the input end that element B, monostable trigger C connect "or" logic element B, the switch closure command of switch control program output connects the input end of "or" logic element B through monostable trigger D, the output of "or" logic element B is connected to the RESET input of rest-set flip-flop; The output signal of rest-set flip-flop is final position of the switch status signal.
Below in conjunction with accompanying drawing, embodiment is described:
The object of this specific embodiment is straight-flow system realistic model, the mode of connection that system control model is model, and the software of use is PSCAD/EMTDC software.
As shown in Figure 1, switch original state element be input as system control model, be output as switch initial position signal, switch control program element is output as switch ON-and OFF-command and switch closure command, and both output signals are the common final position of the switch state that determines after coordinating processing of circuit.
Switch original state element is the element with simulation software custom feature exploitation, in the present embodiment, it is input as the mode of connection of model, be output as the location status of switch, according to the difference of the model mode of connection, the location status of each switch under every kind of mode of connection of predefine.As shown in Figure 2, the mode of connection of the switch original state element in the present embodiment has 3 kinds, needs the switch bit of controlling to be equipped with 5, the corresponding one group of on off state of each mode of connection (0/1,0/1,0/1,0/1,0/1); One group of on off state of the mode of connection 1 correspondence is preset as to (0,0,1,0,1), and one group of on off state of the mode of connection 2 correspondences is preset as (1,1,1,1,1), and one group of on off state of the mode of connection 3 correspondences is preset as (1,0,1,0,1); After selected certain mode of connection, export corresponding one group of on off state.
Switch control program element is by simulation software self-defined element funcall subscriber switch control program function code, and it is output as switch folding order.Switch control program, according to disconnection or the close commands of the current ruuning situation output switch of straight-flow system, is split to close and is controlled in real time in straight-flow system realistic model operational process.
By the original state of switch original state element gauge tap, by the real-time status in switch control program element control model running process, the final position state of common determine switch after the cooperation processing of circuit that both output signals are opened element, monostable trigger, "or" logic element, rest-set flip-flop composition through " non-" logic element, time delay.
Switch original state element is output as switch initial position signal (0 represents closure state, and 1 represents open mode), and switch control program element is output as switch ON-and OFF-command and switch closure command.As shown in Figure 3, switch initial position signal opens through time delay the input end that element A, monostable trigger A connect "or" logic element A, the switch ON-and OFF-command of switch control program element output connects the input end of "or" logic element A through monostable trigger B, the output of "or" logic element A is connected to the set input of rest-set flip-flop; Switch initial position signal opens through " non-" logic element, time delay the input end that element B, monostable trigger C connect "or" logic element B, the switch closure command of switch control program output connects the input end of "or" logic element B through monostable trigger D, the output of "or" logic element B is connected to the RESET input of rest-set flip-flop; The output signal of rest-set flip-flop is final position of the switch status signal (0 represents closure state, and 1 represents open mode).The delay time that in embodiment, element is opened in time delay is all made as 10ms, and the pulse width of monostable trigger is all made as 2ms.

Claims (2)

1. a position of the switch control method in digital simulation model, is characterized in that: the method that adopts switch original state element to match with switch control program is come gauge tap position;
Switch original state element is the element with simulation software custom feature exploitation, it is input as system control model, be output as the initial position state of switch, according to the difference of system control model, the location status of each switch under every kind of control model of predefine, when the current control model of system changes, the position of the switch state of output changes automatically according to predefine state;
By the original state of switch original state element gauge tap, the real-time status of switch in switch control program control model running process, switch original state element is output as switch initial position signal, switch control program element is output as switch ON-and OFF-command and switch closure command, the final position state of both output signals common determine switch after coordinating processing of circuit.
2. position of the switch control method in a kind of digital simulation model according to claim 1, it is characterized in that: described cooperation circuit specifically refers to that switch initial position signal opens through time delay the input end that element A, monostable trigger A connect "or" logic element A, the switch ON-and OFF-command of switch control program element output connects the input end of "or" logic element A through monostable trigger B, the output of "or" logic element A is connected to the set input of rest-set flip-flop; Switch initial position signal opens through " non-" logic element, time delay the input end that element B, monostable trigger C connect "or" logic element B, the switch closure command of switch control program output connects the input end of "or" logic element B through monostable trigger D, the output of "or" logic element B is connected to the RESET input of rest-set flip-flop; The output signal of rest-set flip-flop is final position of the switch status signal.
CN201410092347.3A 2014-03-13 2014-03-13 The control method of digital simulation model breaker in middle position Active CN103823384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410092347.3A CN103823384B (en) 2014-03-13 2014-03-13 The control method of digital simulation model breaker in middle position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410092347.3A CN103823384B (en) 2014-03-13 2014-03-13 The control method of digital simulation model breaker in middle position

Publications (2)

Publication Number Publication Date
CN103823384A true CN103823384A (en) 2014-05-28
CN103823384B CN103823384B (en) 2016-07-06

Family

ID=50758502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410092347.3A Active CN103823384B (en) 2014-03-13 2014-03-13 The control method of digital simulation model breaker in middle position

Country Status (1)

Country Link
CN (1) CN103823384B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391450A (en) * 2014-11-27 2015-03-04 南京南瑞继保电气有限公司 Signal communication delay analog method for digital simulation
CN107272446A (en) * 2017-08-03 2017-10-20 爱普(福建)科技有限公司 The emulation platform and emulation mode of a kind of Control-oriented algorithm

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020133329A1 (en) * 2000-12-25 2002-09-19 Makoto Kano Simulation program product, method and system utilizing a plurality of simulation-models
CN1427337A (en) * 2001-12-21 2003-07-02 洛阳玻璃股份有限公司 Analogue emulation system of switching quantity sequence control process and analogue emulation method
CN1588258A (en) * 2004-09-03 2005-03-02 中国洛阳浮法玻璃集团有限责任公司 Intelligent analogue simulating method for switch volume control process
CN101916092A (en) * 2010-07-19 2010-12-15 北京中电飞华通信股份有限公司 Switching value controller, interactive terminal and intelligent home control system and method
CN102809936A (en) * 2012-08-08 2012-12-05 四川爱特尔科技有限公司 Multi-switching-value combinational logic state implementation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020133329A1 (en) * 2000-12-25 2002-09-19 Makoto Kano Simulation program product, method and system utilizing a plurality of simulation-models
CN1427337A (en) * 2001-12-21 2003-07-02 洛阳玻璃股份有限公司 Analogue emulation system of switching quantity sequence control process and analogue emulation method
CN1588258A (en) * 2004-09-03 2005-03-02 中国洛阳浮法玻璃集团有限责任公司 Intelligent analogue simulating method for switch volume control process
CN101916092A (en) * 2010-07-19 2010-12-15 北京中电飞华通信股份有限公司 Switching value controller, interactive terminal and intelligent home control system and method
CN102809936A (en) * 2012-08-08 2012-12-05 四川爱特尔科技有限公司 Multi-switching-value combinational logic state implementation method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
姜信建: "智能化模拟仿真开关量控制过程", 《中国重型装备》 *
王爽心,等: "开关量控制技术试验系统的软件结构与画面设计", 《华北电力技术》 *
马玉春,等: "模拟量输入与开关量输出模块的软件仿真", 《SOFTWARE》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391450A (en) * 2014-11-27 2015-03-04 南京南瑞继保电气有限公司 Signal communication delay analog method for digital simulation
CN104391450B (en) * 2014-11-27 2017-11-03 南京南瑞继保电气有限公司 A kind of method of analog signal communication delay in Digital Simulation
CN107272446A (en) * 2017-08-03 2017-10-20 爱普(福建)科技有限公司 The emulation platform and emulation mode of a kind of Control-oriented algorithm

Also Published As

Publication number Publication date
CN103823384B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN102185904B (en) Multi-interface remote monitoring system
CN207373189U (en) A kind of industrial robot teaching device
CN105373079B (en) A kind of motion controller and servo-driver cooperative control system
CN105579918B (en) The control device and method of I/O unit for switch controller
CN103823384A (en) Method for controlling switch position in digital simulation model
CN106774118A (en) Robot manipulation's box and operating system
CN103632723A (en) Multifunctional serial programmer and burning method thereof
CN104834260A (en) Double-channel CAN bus controller based on frequency conversion control and double-CAN arbitration method
CN204989857U (en) Remote control device based on pioneer robot
CN106200448B (en) A kind of long-range mapped system of industry interface implementation
CN103744315A (en) Debugging and display controlling system of radar information processor
CN105388799A (en) Design method of real-time simulation platform of automatic control device
CN104578387A (en) Programmable automatic transfer controller and control method for two-way power supply
CN205157575U (en) Novel ADCP digit self -adaptation user system
CN204697177U (en) A kind of automatic switching control circuit of multi-channel video monitor
CN105511394A (en) Method and device for achieving PLC controlling in FPGA platform
CN204695053U (en) A kind of intelligent DDC controller
CN205619837U (en) Whole bullet electricity performance simulation testing arrangement of gun -launched missile
CN205942681U (en) Serial communication interface that can dispose
CN104158176A (en) Auxiliary scheduling system for use in electric power system
CN201903877U (en) Device for triggering controlled equipment through GPIO (General Purpose Input/Output) port by multi modes
CN205620714U (en) Whole emulation test conversion adapter device that plays of gun -launched missile
CN207506970U (en) For the touch control device of simulated dual remote sensing operation
CN202649713U (en) Communication control system based on machine vision of LabVIEW and PLC
CN105840481B (en) A kind of changeable water supply controller based on CAN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: NANJING NARI-RELAYS ENGINEERING TECHNOLOGY CO., LT

Free format text: FORMER OWNER: NANJING NARI-RELAYS ENGINEERING TECHNOLOGY CO., LTD.

Effective date: 20150817

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150817

Address after: 211106 Jiangning Province Economic and Technological Development Zone, Jiangsu City, No. Sheng Tai Road, No. 99

Applicant after: Nanrui Relay Protection Electricity Co., Ltd., Nanjing

Applicant after: Nanjing Nari-Relays Engineering Technology Co., Ltd.

Applicant after: State Grid Corporation of China

Address before: 211106 Jiangning Province Economic and Technological Development Zone, Jiangsu City, No. Sheng Tai Road, No. 99

Applicant before: Nanrui Relay Protection Electricity Co., Ltd., Nanjing

Applicant before: Nanjing Nari-Relays Engineering Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant