KR20040056054A - System and method for input/out signal simulation of a controller - Google Patents

System and method for input/out signal simulation of a controller Download PDF

Info

Publication number
KR20040056054A
KR20040056054A KR1020020082586A KR20020082586A KR20040056054A KR 20040056054 A KR20040056054 A KR 20040056054A KR 1020020082586 A KR1020020082586 A KR 1020020082586A KR 20020082586 A KR20020082586 A KR 20020082586A KR 20040056054 A KR20040056054 A KR 20040056054A
Authority
KR
South Korea
Prior art keywords
simulation
signal
input
output
control system
Prior art date
Application number
KR1020020082586A
Other languages
Korean (ko)
Other versions
KR100929014B1 (en
Inventor
김용수
Original Assignee
주식회사 포스코
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 주식회사 포스코 filed Critical 주식회사 포스코
Priority to KR1020020082586A priority Critical patent/KR100929014B1/en
Publication of KR20040056054A publication Critical patent/KR20040056054A/en
Application granted granted Critical
Publication of KR100929014B1 publication Critical patent/KR100929014B1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/41885Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by modeling, simulation of the manufacturing system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Manufacturing & Machinery (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE: A system and a method for simulating an I/O(Input/Output) signal of a control system are provided to test the I/O signal of the control system without connecting a hierarchical equipment to each channel of the control system. CONSTITUTION: A simulation server(230) simulates a plant(220) by receiving a mock output value from the control system(200), generates a plant simulation calculation result as a mock input signal, and provides the signal to the control system. A mock signal input part(209) receives the mock input signal from the simulation server through the TCP/IP(Transmission Control Protocol/Internet Protocol). An input selector(203) provides the signal inputted to the mock signal input part to a data converter(202) for a simulation mode and provides the signal inputted to an input part(205) to the data converter for a real-time control mode. An output selector(204) provides the signal output from the data converter to a mock signal output part(210) for the simulation mode and provides the signal output from the data converter to an output part(206) for the real-time control mode.

Description

제어시스템의 입출력신호 시뮬레이션 시스템 및 방법{ System and method for input/out signal simulation of a controller }System and method for input / out signal simulation of a controller}

본 발명은 개방형 실시간 제어시스템에 모의 입출력신호를 제공하여 제어시스템의 입출력신호를 시뮬레이션하는 시스템 및 방법에 관한 것이다.The present invention relates to a system and method for simulating input and output signals of a control system by providing simulated input and output signals to an open real-time control system.

도 1은 종래 기술에 따른 실시간 제어시스템의 구성도이다. 제어시스템(110)은 플랜트(PLANT)(120)의 각종 센서 신호값들을 입력받아 처리한 후, 각종 제어신호를 플랜트(120)에게 출력한다. 이 제어시스템(110)은 제어로직수행부(111)와, 데이터변환부(112)와, 입력부(113)와, 출력부(114)와, 입력보드(115), 및 출력보드(116)로 구성된다.1 is a block diagram of a real-time control system according to the prior art. The control system 110 receives and processes various sensor signal values of the plant 120 and outputs various control signals to the plant 120. The control system 110 includes a control logic execution unit 111, a data conversion unit 112, an input unit 113, an output unit 114, an input board 115, and an output board 116. It is composed.

플랜트(PLANT)(120)의 각종 센서 신호값들은 입력보드(115)를 통해 입력되고, 이 값들은 입력부(113)에서 읽혀져서 데이터 변환부(112)를 거쳐 제어로직수행부(111)에 입력된다. 이 입력신호는 디지털신호와 아날로그신호로 구성되는데, 디지털 신호는 1(ON)/0(OFF) 값으로 변환되며, 0 ~ 10V, -10 ~ +10V, 4 ~ 20mA 등과 같은 아날로그 신호는 물리적 값으로 변환된다. 예를 들어, 0 ~ 10톤의 무게를 측정하는 로드셀이 0 ~ 10V의 전압신호를 출력할 경우, 입력보드(115)에 5V의 전압이 입력되면 데이터변환부(112)는 이 입력전압을 5톤이라는 무게값으로 변환하여 제어로직수행부(111)에게 제공한다. 또한, 제어로직수행부(111)는 필요한 조치를 취한후 그 수행결과를 물리적인 값으로 출력하는데, 데이터변환부(112)는 이 물리적인 값을 신호값으로 변환하여 출력부(114)와 출력보드(116)를 통해 플랜트(120)에게 출력한다.Various sensor signal values of the plant 120 are input through the input board 115, and these values are read from the input unit 113 and input to the control logic execution unit 111 via the data conversion unit 112. do. This input signal consists of a digital signal and an analog signal. The digital signal is converted into a 1 (ON) / 0 (OFF) value, and analog signals such as 0 to 10V, -10 to + 10V, and 4 to 20mA are physical values. Is converted to. For example, when a load cell measuring a weight of 0 to 10 tons outputs a voltage signal of 0 to 10 V, when a voltage of 5 V is input to the input board 115, the data converter 112 may convert the input voltage to 5. The weight is converted into a tone value and provided to the control logic performing unit 111. In addition, the control logic execution unit 111 takes necessary measures and outputs the result of the execution as a physical value. The data conversion unit 112 converts the physical value into a signal value and outputs the output unit 114 and the output unit. Output to plant 120 via board 116.

제어시스템(110)을 플랜트(120)에 연결할 때, 수천의 디지털 입출력신호와 수백의 아날로그 입출력신호가 입출력보드(115, 116)에 연결된다. 제어시스템(110)이 정상적으로 구동하는 지를 테스트하려면, 모든 입출력 신호를 연결하여 시뮬레이션할 수 있어야 한다.When the control system 110 is connected to the plant 120, thousands of digital input and output signals and hundreds of analog input and output signals are connected to the input / output boards 115 and 116. To test whether the control system 110 operates normally, all input and output signals should be connected and simulated.

앞서 설명하였듯이, 플랜트(120)의 각종 센서로부터 전기적 신호가 입력되면 데이터변환부(112)는 이 전기적 신호값을 물리적 값으로 변환한 후 제어로직수행부(111)에게 출력한다. 종래에는 이 전기적 신호값을 물리적 값으로 변환하는 과정을 검증하기 위해 입력보드(115)의 모든 채널에 대해 각각 전기적 신호값을 인가하고 데이터변환부(112)가 올바른 물리적 값으로 변환하는 지 검사하였다. 또한, 제어시스템(110)에서 강제로 출력보드(116)에 출력값을 인가하여 각 채널별로 오실로스코프나 멀티 테스터와 같은 측정장비를 연결하여 출력값을 측정함으로써, 데이터변환부(112)가 올바른 전기적 신호값으로 변환하였는 지를 측정하였다. 즉, 종래에는 각 채널마다 각각 별도의 측정장비를 이용하여 별도로 측정하였기 때문에 제어시스템의 테스트에 많은 어려움이 있었다.As described above, when electrical signals are input from various sensors of the plant 120, the data converter 112 converts the electrical signal values into physical values and outputs them to the control logic performing unit 111. Conventionally, in order to verify the process of converting the electrical signal value into a physical value, the electrical signal values are applied to all channels of the input board 115, respectively, and the data conversion unit 112 checks whether it is converted into the correct physical value. . In addition, the control system 110 forcibly applies an output value to the output board 116 and connects measurement equipment such as an oscilloscope or a multi tester for each channel to measure the output value, thereby the data conversion unit 112 corrects the electrical signal value. It was measured whether the conversion to. That is, conventionally, since each channel was measured separately using separate measuring equipment, there were many difficulties in the test of the control system.

이러한 채널별 개별 테스트의 문제점을 해결하기 위하여 제어시스템에 별도의 시뮬레이션 시스템을 연결하여 테스트하는 방법이 제안된 바 있다. 대한민국공개특허 제2001-111228호에는, 제어시스템의 입출력신호의 테스트를 위해 별도의 시뮬레이션 시스템에 입출력보드를 설치하고, 시뮬레이션 시스템의 입력보드와 제어시스템의 출력보드를 케이블로 연결하고, 시뮬레이션 시스템의 출력보드와 제어시스템의 입력보드를 케이블로 연결하여, 시뮬레이션 시스템이 제어시스템에게 모의신호를 제공하는 기술이 개시되어 있다. 그러나, 이 선행발명은, 제어시스템의 모든 신호를 별도의 시뮬레이션 시스템의 입출력보드와 케이블로 연결해야 하는 불편함이 있고, 제어시스템은 실시간 수행을 하는 반면 시뮬레이션 시스템은 실시간 수행을 하지 못하기 때문에 두 시스템간 스캔 시간의 동기화가 이루어지지 않는 문제점이 있다.In order to solve the problem of individual test for each channel, a method of connecting a separate simulation system to the control system has been proposed. In Korean Patent Laid-Open No. 2001-111228, an input / output board is installed in a separate simulation system for testing input / output signals of a control system, a cable is connected between an input board of a simulation system and an output board of a control system, A technology is disclosed in which a simulation system provides a simulation signal to a control system by connecting an output board to an input board of a control system. However, this prior invention is inconvenient to connect all the signals of the control system to the input and output board of the separate simulation system by cable, and because the control system performs in real time while the simulation system does not perform in real time There is a problem that synchronization of scan time between systems is not achieved.

상기한 종래 기술의 문제점을 해결하기 위하여 제안된 본 발명의 목적은, 제어시스템의 각 채널에 별도의 계층장비를 연결하지 않고도 제어시스템의 입출력신호를 테스트할 수 있는 제어시스템의 입출력신호 시뮬레이션 시스템 및 방법을 제공하기 위한 것이다.An object of the present invention proposed to solve the above problems of the prior art, the input and output signal simulation system of the control system that can test the input and output signals of the control system without connecting a separate layer equipment to each channel of the control system and It is to provide a method.

도 1은 종래의 제어시스템의 구성도,1 is a block diagram of a conventional control system,

도 2는 본 발명에 따른 제어시스템의 입출력신호 시뮬레이션 시스템의 구성도,2 is a configuration diagram of an input / output signal simulation system of a control system according to the present invention;

도 3은 본 발명의 한 실시예에 따른 제어시스템의 동작 흐름도,3 is an operation flowchart of a control system according to an embodiment of the present invention;

도 4는 본 발명의 한 실시예에 따른 시뮬레이션 서버의 동작 흐름도이다.4 is an operation flowchart of a simulation server according to an embodiment of the present invention.

※ 도면의 주요 부분에 대한 부호의 설명 ※※ Explanation of code about main part of drawing ※

200 : 제어시스템 201 : 제어로직수행부200: control system 201: control logic execution unit

202 : 데이터변환부 203 : 입력선택부202: data converter 203: input selector

204 : 출력선택부 205 : 입력부204: output selector 205: input

206 : 출력부 207 : 입력보드206: output unit 207: input board

208 : 출력보드 209 : 모의신호입력부208: output board 209: simulation signal input unit

210 : 모의신호출력부 220 : 플랜트(PLANT)210: simulation signal output unit 220: plant (PLANT)

230 : 시뮬레이션서버 231 : 모의신호송신부230: simulation server 231: simulation signal transmitter

232 : 모의신호수신부 233 : 데이터변환부232: simulation signal receiver 233: data converter

234 : 모의신호 발생부 235 : 화면표시부234: simulation signal generating unit 235: screen display unit

상기한 목적을 달성하기 위한 본 발명에 따른 제어시스템의 입출력신호 시뮬레이션 시스템은, 제어시스템으로부터 모의 출력값을 입력받아 플랜트 시뮬레이션하고, 상기 플랜트 시뮬레이션 계산 결과를 모의 입력신호로 생성하여 상기 제어시스템에게 제공하는 시뮬레이션 서버를 포함하고,In order to achieve the above object, an input / output signal simulation system of a control system according to the present invention receives a simulated output value from a control system and simulates a plant, and generates the simulation result of the plant simulation as a simulated input signal to provide the control system. Includes a simulation server,

상기 제어시스템은, 상기 시뮬레이션 서버와 TCP/IP 통신하여 상기 시뮬레이션 서버로부터 모의 입력신호를 입력받는 모의신호입력부와, 상기 시뮬레이션 서버와 TCP/IP 통신하여 상기 시뮬레이션 서버에게 모의 출력값을 제공하는 모의신호출력부와, 상기 제어시스템이 시뮬레이션 모드로 동작할 때에는 모의신호입력부로 입력되는 신호를 상기 데이터변환부에게 제공하고, 실시간 제어모드로 동작할 때에는 상기 입력부로 입력되는 신호를 상기 데이터변환부에게 제공하는 입력선택부와, 상기 제어시스템이 시뮬레이션 모드로 동작할 때에는 상기 데이터변환부에서 출력되는 신호를 상기 모의신호출력부에게 제공하고, 실시간 제어모드로 동작할 때에는 상기 데이터변환부에서 출력되는 신호를 상기 출력부에게 제공하는 출력선택부를 포함한 것을 특징으로 한다.The control system includes a simulation signal input unit for receiving a simulation input signal from the simulation server through TCP / IP communication with the simulation server, and a simulation signal output for providing a simulation output value to the simulation server through TCP / IP communication with the simulation server. And a signal input to the data conversion unit when the control system operates in the simulation mode, and provides a signal input to the data conversion unit when operating in the real time control mode. An input selector and a signal output from the data converter when the control system operates in a simulation mode; and a signal output from the data converter when operating in a real time control mode. That includes an output selector that provides the output And a gong.

또한, 본 발명에 따른 제어시스템의 입출력신호 시뮬레이션 방법은, 제어시스템은 시뮬레이션모드로 동작하여 시뮬레이션 서버에게 모의신호 입력을 요청하는 모의신호 입력 요청단계와, 상기 제어시스템은 상기 시뮬레이션 서버로부터 모의신호 입력값이 전송되면 상기 모의신호 입력값을 물리적 값으로 변환하고 제어로직을 수행하는 제어로직 수행단계와, 상기 제어시스템은 상기 제어로직 수행 결과 출력값을 신호 출력값으로 변환하고 상기 시뮬레이션 서버에게 출력하는 신호 출력단계를 포함하여, 상기 시뮬레이션 서버가 상기 모의신호 입력값과 제어로직 수행 결과 출력값을 이용하여 상기 제어시스템의 상태를 검증할 수 있도록 하는 것을 특징으로 한다.In addition, the input and output signal simulation method of the control system according to the present invention, the control system is operated in the simulation mode to request a simulation signal input to the simulation server, and the control system inputs a simulation signal from the simulation server A control logic performing step of converting the simulated signal input value into a physical value and performing control logic when the value is transmitted; and the control system converts the control logic output result into a signal output value and outputs the signal to the simulation server Including the step, it characterized in that the simulation server to verify the state of the control system by using the simulation signal input value and the control logic output result output value.

이하, 첨부된 도면을 참조하면서 본 발명의 한 실시예에 따른 "제어시스템의입출력신호 시뮬레이션 시스템 및 방법"을 보다 상세하게 설명하기로 한다.Hereinafter, the "input and output signal simulation system and method of the control system" according to an embodiment of the present invention with reference to the accompanying drawings will be described in more detail.

본 발명에 따른 제어시스템(200)은, 입력값에 제어로직을 수행하여 그 결과를 출력하는 제어로직수행부(201)와, 입력 신호값을 물리적 값으로 변환하여 제어로직수행부(201)에게 제공하고 제어로직수행부(201)의 물리적 값을 전기적 신호값으로 변환하여 출력하는 데이터변환부(202)와, 플랜트(PLANT)(220)와의 실제 신호 입출력을 위한 입출력보드(207, 208) 및 입출력부(205, 206)와, 모의신호 입출력을 위한 모의신호입력부(209) 및 모의신호출력부(210)와, 상기 모의신호와 실제신호를 선택하는 입력선택부(203) 및 출력선택부(204)로 구성된다.The control system 200 according to the present invention includes a control logic execution unit 201 that performs control logic on an input value and outputs a result, and converts an input signal value into a physical value to the control logic execution unit 201. A data converter 202 for providing and converting the physical value of the control logic execution unit 201 into an electrical signal value, and an input / output board 207 and 208 for inputting and outputting an actual signal to and from the plant 220. I / O units 205 and 206, mock signal input unit 209 and mock signal output unit 210 for mock signal input and output, an input selector 203 and an output selector for selecting the mock signal and the actual signal ( 204).

본 발명에 따른 시뮬레이션 서버(230)는 제어시스템(200)의 모의신호입력부(209)에게 모의 입력값을 전송하는 모의신호송신부(231)와, 제어시스템(200)의 모의신호출력부(210)로부터 출력되는 모의 출력값을 수신하는 모의신호수신부(232)와, 모의신호송수신부(231,232)로 입출력되는 신호값을 물리적 값으로 변환하는 데이터변환부(233)와, 제어시스템의 모의 출력값을 입력받아 플랜트를 모사하여 모의 입력값을 생성하는 모의신호발생부(234)와, 모의 입출력값을 화면에 보여주는 화면표시부(235)로 구성된다.Simulation server 230 according to the present invention is a simulation signal transmission unit 231 for transmitting a simulation input value to the simulation signal input unit 209 of the control system 200, and the simulation signal output unit 210 of the control system 200 A simulated signal receiver 232 for receiving a simulated output value outputted from the receiver, a data converter 233 for converting signal values input and output to the simulated signal transmitters and receivers 231 and 232 into physical values, and a simulated output value of the control system. A simulation signal generator 234 for simulating a plant to generate a simulation input value, and a screen display unit 235 for displaying a simulation input and output value on the screen.

제어시스템(200)은 수행모드에 따라 시뮬레이션모드와 실시간제어모드로 동작하며, 시뮬레이션모드로 동작할 때 입력선택부(203)는 모의신호입력부(209)를 선택하고 출력선택부(204)는 모의신호출력부(210)를 선택한다. 실시간제어모드로 동작할 때 입력선택부(203)는 입력부(205)와 입력보드(207)를 선택하고 출력선택부(204)는 출력부(206)와 출력보드(208)를 선택한다.The control system 200 operates in the simulation mode and the real-time control mode according to the execution mode, and when operating in the simulation mode, the input selector 203 selects the simulated signal input unit 209 and the output selector 204 simulates. The signal output unit 210 is selected. When operating in the real time control mode, the input selector 203 selects the input unit 205 and the input board 207, and the output selector 204 selects the output unit 206 and the output board 208.

도 3은 본 발명의 한 실시예에 따른 제어시스템의 동작 과정을 도시한 동작 흐름도이다.3 is a flowchart illustrating an operation of a control system according to an exemplary embodiment of the present invention.

제어시스템이 시뮬레이션 모드로 동작할 경우(S301), 입력선택부(203)는 모의신호입력부(209)에 모의신호 입력을 요청하고(S302), 모의신호입력부(209)는 시뮬레이션서버(230)의 모의신호송신부(231)에게 TCP/IP 통신을 통해 모의신호 입력을 요청한다(S303). 모의신호송신부(231)로부터 TCP/IP 통신을 통해 신호 입력이 될 때까지 기다린다. 모의신호송신부(231)로부터 모의 입력값이 전송되면(S304), 모의신호입력부(209)는 이 모의 입력값을 입력선택부(203)에게 전달한다(S305). 입력선택부(203)는 모의 입력값을 데이터변환부(202)에게 전달하고 데이터변환부(202)는 이 모의 입력값을 물리적 값으로 변환하여 제어로직수행부(201)에게 전달한다(S306). 제어로직수행부(201)는 모의 물리적 값에 대해 제어로직을 수행하고 출력값을 계산한다(S307). 제어로직수행부(201)에서 계산된 모의 출력값은 다시 데이터변환부(13)에서 신호값으로 변환된다(S308). 출력선택부(204)는 모의신호출력부(210)에 모의 출력값을 전달하며 전송을 요청하고(S309), 모의신호출력부(210)는 TCP/IP 통신을 이용하여 시뮬레이션 서버(230)의 모의신호수신부(232)에게 이 모의 출력값을 전송한다(S310).When the control system operates in the simulation mode (S301), the input selector 203 requests the simulation signal input from the simulation signal input unit 209 (S302), and the simulation signal input unit 209 of the simulation server 230 The simulation signal transmitter 231 requests the simulation signal input through TCP / IP communication (S303). Wait until the signal input from the simulation signal transmission unit 231 through the TCP / IP communication. When the simulation input value is transmitted from the simulation signal transmitter 231 (S304), the simulation signal input unit 209 transfers the simulation input value to the input selector 203 (S305). The input selection unit 203 transfers the simulated input value to the data conversion unit 202, and the data conversion unit 202 converts the mock input value into a physical value and transfers it to the control logic execution unit 201 (S306). . The control logic execution unit 201 performs control logic on the simulated physical value and calculates an output value (S307). The simulated output value calculated by the control logic performing unit 201 is converted into a signal value by the data conversion unit 13 again (S308). The output selector 204 transmits a simulation output value to the simulation signal output unit 210 and requests transmission (S309), and the simulation signal output unit 210 simulates the simulation server 230 using TCP / IP communication. The simulated output value is transmitted to the signal receiver 232 (S310).

제어시스템이 실시간 모드로 동작할 경우(S301), 제어로직수행부(201)는 수 밀리세컨드(millisecond) 내지 수백 밀리세컨드(millisecond) 주기로 제어로직을 수행한다. 이를 위해 매 주기마다 이벤트가 발생하는데, 실시간 제어모드에서는 주기적으로 이벤트가 발생하면(S311), 제어시스템의 입력선택부(203)는입력부(205)를 통해 플랜트(220)로부터 전기적 신호값을 입력받는다(S312). 데이터 변환부(202)는 입력되는 전기적 신호값을 실제 물리적 값으로 변환하고(S313), 제어로직수행부(201)는 제어로직을 수행하여 플랜트(220)에게 출력할 제어값을 계산하여 데이터변환부(202)에게 출력한다(S314). 데이터변환부(202)는 제어로직수행부(201)로부터 입력되는 물리적 값을 전기적 신호값으로 변환하고(S315), 출력선택부(204)는 이 전기적 신호값을 출력부(206)와 출력보드(208)를 통해 플랜트(220)로 출력한다(316).When the control system operates in the real time mode (S301), the control logic performing unit 201 performs the control logic in a few milliseconds (milliseconds) to several hundred milliseconds (milliseconds). To this end, an event occurs every cycle. In the real-time control mode, when an event occurs periodically (S311), the input selector 203 of the control system inputs an electrical signal value from the plant 220 through the input unit 205. Received (S312). The data converting unit 202 converts the input electrical signal value into an actual physical value (S313), and the control logic performing unit 201 performs a control logic to calculate a control value to be output to the plant 220 to convert the data. Output to the unit 202 (S314). The data conversion unit 202 converts the physical value input from the control logic execution unit 201 into an electrical signal value (S315), and the output selection unit 204 converts the electrical signal value to the output unit 206 and the output board. Output to the plant 220 through 208 (316).

다음, 도 4는 본 발명에 따른 시뮬레이션 서버의 동작과정을 도시한 동작 흐름도이다.Next, Figure 4 is an operation flowchart showing the operation of the simulation server according to the present invention.

제어시스템(200)의 모의신호입력부(209)로부터 모의 입력값 전송이 요청되면(S401), 모의신호송신부(231)는 모의신호발생부(234)로부터 입력되는 모의 입력값을 제어시스템(200)의 모의신호입력부(209)에게 전송한다(S403). 한편, 제어시스템(200)의 모의신호출력부(210)로부터 모의 출력값이 전송되면(S402), 모의신호수신부(232)는 TCP/IP 통신으로 제어시스템(200)으로부터 모의 출력값을 수신하여 데이터변환부(233)에게 전달한다(S404). 데이터변환부(233)는 입력된 모의 출력값을 물리적 값으로 변환하여 모의신호발생부(234)에게 전달한다(S405). 그러면 모의신호발생부(234)는 제어시스템으로부터 입력된 모의 출력값을 이용하여 플랜트 시뮬레이션하고, 그 플랜트 시뮬레이션 결과값을 데이터변환부(233)에게 출력한다(S406). 데이터변환부(233)는 모의신호 발생부의 시뮬레이션 결과를 신호값으로 변환하고(S407), 단계 S401로 궤환하여 모의신호입력부(209)로부터 모의 입력값송신 요청이 있으면 모의 입력값을 모의신호 입력부(209)에게 송신한다. 각각의 신호값과 물리적 값이 화면표시부(235)에 표시된다.When a simulation input value transmission is requested from the simulation signal input unit 209 of the control system 200 (S401), the simulation signal transmitter 231 controls the simulation input value input from the simulation signal generator 234. The simulation signal is transmitted to the input unit 209 (S403). On the other hand, when the simulation output value is transmitted from the simulation signal output unit 210 of the control system 200 (S402), the simulation signal receiver 232 receives the simulation output value from the control system 200 by TCP / IP communication to convert data The transfer to the unit 233 (S404). The data converter 233 converts the input simulation output value into a physical value and transmits it to the simulation signal generator 234 (S405). The simulation signal generator 234 then simulates the plant using the simulated output value input from the control system, and outputs the plant simulation result to the data conversion unit 233 (S406). The data conversion unit 233 converts the simulation result of the simulation signal generation unit into a signal value (S407), and returns to step S401 to request the transmission of the simulation input value from the simulation signal input unit 209 to convert the simulation input value to the simulation signal input unit ( 209). Each signal value and physical value are displayed on the screen display unit 235.

플랜트(공장 설비)(220)의 모든 엑추에이터들은 각기 입력에 대한 출력의 특성곡선을 가지고 있다. 이 특성곡선을 이용하여 시뮬레이션 서버의 모의신호발생부(234)는 제어시스템의 모의 출력값에 따른 엑추에이터의 동작을 예측할 수 있다. 이 동작 예측 결과를 모의신호발생부의 플랜트 시뮬레이션 결과로 사용하며, 플랜트를 시뮬레이션한 결과값이 제어시스템의 모의 입력값으로 입력된다. 시뮬레이션 서버의 화면표시부(235)는 각 신호값과 물리적 값을 화면에 보여줌으로써, 데이터변환부의 신호 변환 결과를 검증할 수 있다. 이러한 검증이 사용되지 않으면, 입력보드(207)의 모든 채널에 대해 각 채널에 전기적 신호를 인가하여 데이터변환부(202)에서 올바른 값으로 변환하는지 여부를 검사해야 한다. 또한, 화면표시부(235)를 통해 제어시스템의 모의 입력값과 모의 출력값을 모니터링함으로써, 제어로직수행부가 제 기능을 수행하는 지 여부를 검증할 수 있다.All actuators of the plant 220 have a characteristic curve of the output for each input. Using this characteristic curve, the simulation signal generator 234 of the simulation server can predict the operation of the actuator according to the simulation output value of the control system. This motion prediction result is used as the plant simulation result of the simulation signal generator, and the result of simulating the plant is input as the simulation input value of the control system. The screen display unit 235 of the simulation server may verify the signal conversion result of the data conversion unit by showing each signal value and physical value on the screen. If this verification is not used, it is necessary to check whether the data conversion unit 202 converts the correct value by applying an electrical signal to each channel for all channels of the input board 207. In addition, by monitoring the simulated input value and the simulated output value of the control system through the screen display unit 235, it is possible to verify whether the control logic execution unit performs a function.

위에서 양호한 실시예에 근거하여 이 발명을 설명하였지만, 이러한 실시예는 이 발명을 제한하려는 것이 아니라 예시하려는 것이다. 이 발명이 속하는 분야의 숙련자에게는 이 발명의 기술사상을 벗어남이 없이 위 실시예에 대한 다양한 변화나 변경 또는 조절이 가능함이 자명할 것이다. 그러므로, 이 발명의 보호범위는 첨부된 청구범위에 의해서만 한정될 것이며, 위와 같은 변화예나 변경예 또는 조절예를 모두 포함하는 것으로 해석되어야 할 것이다.While the invention has been described above based on the preferred embodiments thereof, these embodiments are intended to illustrate rather than limit the invention. It will be apparent to those skilled in the art that various changes, modifications, or adjustments to the above embodiments can be made without departing from the spirit of the invention. Therefore, the protection scope of the present invention will be limited only by the appended claims, and should be construed as including all such changes, modifications or adjustments.

이상과 같이 본 발명에 의하면, 보다 간단하게 시뮬레이션 환경을 구축할 수 있고, 제어시스템과 시뮬레이션 서버간에 동기를 맞출 수 있으며, 제어시스템의 각 채널에 별도의 계층장비를 연결하지 않고도 입출력신호를 검증할 수 있는 잇점이 있다.As described above, according to the present invention, it is possible to construct a simulation environment more easily, to synchronize synchronization between the control system and the simulation server, and to verify input / output signals without connecting a separate layer device to each channel of the control system. There is an advantage to this.

Claims (4)

제어로직수행부와 데이터변환부와 입출력부를 구비한 제어시스템의 입출력신호를 시뮬레이션하는 시스템에 있어서,In the system for simulating the input and output signals of the control system having a control logic execution unit, a data conversion unit and an input / output unit, 상기 제어시스템으로부터 모의 출력값을 입력받아 플랜트 시뮬레이션하고, 상기 플랜트 시뮬레이션 계산 결과를 모의 입력신호로 생성하여 상기 제어시스템에게 제공하는 시뮬레이션 서버를 포함하고,A simulation server which receives a simulation output value from the control system, generates a plant, generates a simulation result of the plant simulation as a simulation input signal, and provides the simulation system to the control system; 상기 제어시스템은, 상기 시뮬레이션 서버와 TCP/IP 통신하여 상기 시뮬레이션 서버로부터 모의 입력신호를 입력받는 모의신호입력부와,The control system includes a simulation signal input unit for receiving a simulation input signal from the simulation server by performing TCP / IP communication with the simulation server; 상기 시뮬레이션 서버와 TCP/IP 통신하여 상기 시뮬레이션 서버에게 모의 출력값을 제공하는 모의신호출력부와,A simulation signal output unit configured to provide a simulation output value to the simulation server through TCP / IP communication with the simulation server; 상기 제어시스템이 시뮬레이션 모드로 동작할 때에는 모의신호입력부로 입력되는 신호를 상기 데이터변환부에게 제공하고, 실시간 제어모드로 동작할 때에는 상기 입력부로 입력되는 신호를 상기 데이터변환부에게 제공하는 입력선택부와,An input selection unit which provides a signal input to the data conversion unit when the control system operates in a simulation mode, and provides a signal input to the data conversion unit when operating in a real time control mode. Wow, 상기 제어시스템이 시뮬레이션 모드로 동작할 때에는 상기 데이터변환부에서 출력되는 신호를 상기 모의신호출력부에게 제공하고, 실시간 제어모드로 동작할 때에는 상기 데이터변환부에서 출력되는 신호를 상기 출력부에게 제공하는 출력선택부를 포함한 것을 특징으로 하는 제어시스템의 입출력신호 시뮬레이션 시스템.When the control system is operating in the simulation mode to provide a signal output from the data conversion unit to the simulation signal output unit, and when operating in the real time control mode to provide a signal output from the data conversion unit to the output unit Input / output signal simulation system of a control system comprising an output selection unit. 제 1 항에 있어서, 상기 시뮬레이션 서버는,The method of claim 1, wherein the simulation server, 상기 모의신호입력부와 TCP/IP 통신하여 상기 모의 입력신호를 상기 모의신호입력부에 전달하는 모의신호송신부와,A simulated signal transmitter for transmitting the simulated input signal to the simulated signal input unit by TCP / IP communication with the simulated signal input unit; 상기 모의신호출력부와 TCP/IP 통신하여 상기 모의신호출력부로부터 모의 출력값을 입력받는 모의신호수신부와,A simulated signal receiver which receives a simulated output value from the simulated signal output unit by performing TCP / IP communication with the simulated signal output unit; 상기 모의신호수신부로부터 입력된 모의 출력값을 이용하여 플랜트 시뮬레이션하고 그 플랜트 시뮬레이션 계산 결과를 상기 모의 입력신호로 생성하여 상기 모의신호송신부에 전달하는 모의신호발생부와,A simulated signal generator for generating a plant simulation using the simulated output value inputted from the simulated signal receiver and generating the plant simulation calculation result as the simulated input signal and transferring the simulated signal to the simulated signal transmitter; 상기 모의신호송수신부의 전기적 신호값과 상기 모의신호발생부의 물리적 값을 상호 변환하는 데이터변환부를 포함한 것을 특징으로 하는 제어시스템의 입출력신호 시뮬레이션 시스템.I / O signal simulation system of a control system comprising a data converter for converting the electrical signal value of the simulation signal transmission and reception unit and the physical value of the simulation signal generator. 플랜트로부터 각종 센서 신호값을 입력받아 제어로직을 수행한 후 상기 플랜트로 제어신호를 출력하는 제어시스템의 입출력 신호를 시뮬레이션 서버를 이용하여 시뮬레이션하는 방법에 있어서,In the method for simulating the input and output signals of the control system for receiving the various sensor signal values from the plant and performing the control logic and outputting the control signal to the plant using a simulation server, 상기 제어시스템은 시뮬레이션모드로 동작하여 상기 시뮬레이션 서버에게 모의신호 입력을 요청하는 모의신호 입력 요청단계와,The control system is a simulation signal input request step of operating in a simulation mode to request the simulation signal input to the simulation server; 상기 제어시스템은 상기 시뮬레이션 서버로부터 모의신호 입력값이 전송되면, 상기 모의신호 입력값을 물리적 값으로 변환하고 제어로직을 수행하는 제어로직 수행단계와,The control system is a control logic performing step of converting the simulation signal input value to a physical value and performing a control logic, when the simulation signal input value is transmitted from the simulation server; 상기 제어시스템은 상기 제어로직 수행 결과 출력값을 신호 출력값으로 변환하고 상기 시뮬레이션 서버에게 출력하는 신호 출력단계를 포함하여,The control system includes a signal output step of converting the control logic execution result output value to a signal output value and output to the simulation server, 상기 시뮬레이션 서버가 상기 모의신호 입력값과 제어로직 수행 결과 출력값을 이용하여 상기 제어시스템의 상태를 검증할 수 있도록 하는 것을 특징으로 하는 제어시스템의 입출력신호 시뮬레이션 방법.And the simulation server can verify the state of the control system by using the simulation signal input value and the control logic performance result output value. 제 3 항에 있어서, 상기 시뮬레이션 서버는,The method of claim 3, wherein the simulation server, 상기 모의신호 입력 요청단계에서 상기 제어시스템으로부터 모의신호 입력 요청이 접수되면 상기 모의신호 입력값을 상기 제어시스템에게 송신하는 단계와,Transmitting the simulated signal input value to the control system when the simulated signal input request is received from the control system in the simulated signal input request step; 상기 신호 출력단계에서 상기 제어시스템으로부터 상기 제어로직 수행 결과 출력 요청이 접수되면 상기 제어시스템으로부터 상기 제어로직 수행 결과 출력값을 수신하는 단계와,Receiving the control logic execution result output value from the control system when the request for outputting the control logic execution result is received from the control system in the signal output step; 상기 수신된 제어로직 수행 결과 출력값을 물리적 값으로 변환한 후 플랜트 시뮬레이션하고 상기 시뮬레이션 계산 결과를 신호 출력값으로 변환하여 상기 모의신호 입력값으로 사용하는 단계와,Converting the received control logic execution result output value into a physical value and then simulating a plant and converting the simulation calculation result into a signal output value and using the simulated signal input value; 상기 모의신호 입력값과 제어로직 수행 결과 출력값과 각각의 물리적 변환값을 화면에 표시하는 단계를 포함한 것을 특징으로 하는 제어시스템의 입출력신호 시뮬레이션 방법.And displaying the simulated signal input value, the control logic execution result output value, and each physical conversion value on a screen.
KR1020020082586A 2002-12-23 2002-12-23 I / O signal simulation system and method of control system KR100929014B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020082586A KR100929014B1 (en) 2002-12-23 2002-12-23 I / O signal simulation system and method of control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020082586A KR100929014B1 (en) 2002-12-23 2002-12-23 I / O signal simulation system and method of control system

Publications (2)

Publication Number Publication Date
KR20040056054A true KR20040056054A (en) 2004-06-30
KR100929014B1 KR100929014B1 (en) 2009-11-26

Family

ID=37348479

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020082586A KR100929014B1 (en) 2002-12-23 2002-12-23 I / O signal simulation system and method of control system

Country Status (1)

Country Link
KR (1) KR100929014B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100721457B1 (en) * 2005-11-04 2007-05-25 (주)인베스트클럽 Serve system for signal generation on multi purpose
KR101221357B1 (en) * 2011-02-11 2013-01-11 대양전기공업 주식회사 The simulator for status signal of marine engine and the Simulation method thereof
KR101309900B1 (en) * 2011-08-01 2013-10-14 주식회사 포스코 Virtual factory system for industrial steel having fuctions of equipment analysis and control algorithm verification, and method for controlling thereof
CN108199921A (en) * 2017-12-29 2018-06-22 上海瑞家信息技术有限公司 The method, apparatus and storage medium of a kind of simulation test

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11296219A (en) 1998-04-09 1999-10-29 Toshiba Corp Power system protection device
KR100325340B1 (en) * 1998-12-23 2002-04-17 홍상복 Program Simulation Method for Programmable Logic Controller
KR20010111228A (en) * 2000-06-09 2001-12-17 이구택 A fiction simulatorof imagination input output signal in distributed control system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100721457B1 (en) * 2005-11-04 2007-05-25 (주)인베스트클럽 Serve system for signal generation on multi purpose
KR101221357B1 (en) * 2011-02-11 2013-01-11 대양전기공업 주식회사 The simulator for status signal of marine engine and the Simulation method thereof
KR101309900B1 (en) * 2011-08-01 2013-10-14 주식회사 포스코 Virtual factory system for industrial steel having fuctions of equipment analysis and control algorithm verification, and method for controlling thereof
CN108199921A (en) * 2017-12-29 2018-06-22 上海瑞家信息技术有限公司 The method, apparatus and storage medium of a kind of simulation test

Also Published As

Publication number Publication date
KR100929014B1 (en) 2009-11-26

Similar Documents

Publication Publication Date Title
KR900004615A (en) Elevator control system and control method
HK1086082A1 (en) Apparatus and method for testing a control system of a marine vessel
KR20230127338A (en) Method and device for testing positioning and speed measuring system main units
US8204608B2 (en) Monitoring and control apparatus
KR100929014B1 (en) I / O signal simulation system and method of control system
US7154811B2 (en) Simulator for developing acoustic detector of underwater vehicle
KR20160036165A (en) Apparatus and method for response time measurement in distributed digital control and distributed digital control using the same
CN109254214B (en) Automatic test system and method for valve-based electronic equipment
US4088951A (en) Microcomputerized electric field meter diagnostic and calibration system
US7173543B2 (en) Measuring transducer
JP4080832B2 (en) Nuclear plant remote test apparatus and test method thereof
RU2267804C1 (en) System for controlling parameters of multi-functional systems
KR20170019220A (en) Apparatus and method for testing control equipment
RU98605U1 (en) COMPREHENSIVE SIMULATOR OF EXTERNAL SYSTEMS FOR EXERCISING THE SHIP ARMS CONTROL SYSTEM
RU78590U1 (en) COMPREHENSIVE SIMULATOR OF EXTERNAL SYSTEMS FOR EXECUTING A SHIP'S CONTROL SYSTEM
JP3532327B2 (en) Power system protection controller
KR100454359B1 (en) Test state displaying method of a test device, particularly in connection with displaying test situations before displaying test results on a monitor screen of a test equipment
CN115979511A (en) Multi-path synchronous pressure gauge detection device and detection method thereof
JP2002010305A (en) Channel interface card tester
JP4656963B2 (en) Centralized monitoring and control system test method
JPH10282170A (en) Method and equipment for testing switchboard
SU955168A1 (en) Device for checking data transmission system having feedback
CN117763825A (en) Substation auxiliary equipment sensor simulation method, system and device
CN117008068A (en) Dynamic configurable system maintenance detection method and device
JPH1185251A (en) Digital control device and input/output substrate testing device for the digital

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121120

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20131101

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20141113

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20151120

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20161108

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee