[go: up one dir, main page]

CN103425055A - Semi-virtual functional test device and method for control system - Google Patents

Semi-virtual functional test device and method for control system Download PDF

Info

Publication number
CN103425055A
CN103425055A CN2013103833648A CN201310383364A CN103425055A CN 103425055 A CN103425055 A CN 103425055A CN 2013103833648 A CN2013103833648 A CN 2013103833648A CN 201310383364 A CN201310383364 A CN 201310383364A CN 103425055 A CN103425055 A CN 103425055A
Authority
CN
China
Prior art keywords
slave station
control system
virtual slave
operating system
virtual
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.)
Pending
Application number
CN2013103833648A
Other languages
Chinese (zh)
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.)
Shandong University
Original Assignee
Shandong University
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 Shandong University filed Critical Shandong University
Priority to CN2013103833648A priority Critical patent/CN103425055A/en
Publication of CN103425055A publication Critical patent/CN103425055A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

本发明公开了一种半虚拟式的控制系统功能测试装置及方法,具体是指在计算机实时操作系统内构建多个虚拟从站节点代替真实从站节点,通过总线通信接口与待测系统的主站连接。同时在并行运行于计算机的通用操作系统中,利用虚拟从站提供的软件编程接口开发程序,实现总线数据监控与性能分析、模拟用户或设备输入等功能,从而实现对控制系统的全自动化测试。本发明需要的硬件仅为一台具有指定通信接口的计算机,并在其上并行运行通用操作系统和实时操作系统。本发明具有成本低、测试效率高等特点,可适用于控制系统开发、调试和功能检验等测试场合,具有较好的实用价值和应用前景。

Figure 201310383364

The invention discloses a semi-virtual control system function testing device and method, specifically refers to constructing a plurality of virtual slave nodes in the computer real-time operating system to replace the real slave nodes, and communicating with the master of the system to be tested station connection. At the same time, in the general-purpose operating system running in parallel on the computer, the software programming interface provided by the virtual slave station is used to develop programs to realize functions such as bus data monitoring and performance analysis, and simulate user or device input, thereby realizing fully automated testing of the control system. The hardware required by the present invention is only a computer with a specified communication interface, and a general-purpose operating system and a real-time operating system are run in parallel on it. The invention has the characteristics of low cost, high test efficiency, etc., is applicable to test occasions such as control system development, debugging and function test, and has good practical value and application prospect.

Figure 201310383364

Description

一种半虚拟式的控制系统功能测试装置及方法A semi-virtual control system function test device and method

技术领域technical field

本发明涉及一种半虚拟式的控制系统功能测试装置及方法,可以适用于多种总线式控制系统的功能测试场合中。具体可用于控制系统在开发过程中的测试、控制系统完成时的验收测试等过程。The invention relates to a semi-virtual control system function test device and method, which can be applied to the function test occasions of various bus-type control systems. Specifically, it can be used for the testing of the control system during the development process, the acceptance test of the control system when the control system is completed, and other processes.

背景技术Background technique

自动化设备的控制技术与日俱进,并且要求控制系统具有分散式和可重构式的功能越来越多,因此总线式控制系统逐渐成为了工程人员的首要考虑系统。目前总线式控制系统已经在过程控制、运动控制等领域有了丰富且成熟的成功应用,且总线式控制系统的主从分布的结构特点,解决了很多集成式控制系统无法解决的问题。一般的总线控制系统主要由主站和从站两部分构成,两者之间通过总线连接,主站运行控制系统的主要逻辑程序,从站负责执行主站下发的命令将数字信号转变为执行动作信号,如发送脉冲、模拟量和开关量输出等,同时采集的传感器信息通过总线发送给主站供主要程序逻辑分析之用。因此总线式控制系统具有拓展性好、开放性高等特点。The control technology of automation equipment is advancing day by day, and the control system is required to have more and more distributed and reconfigurable functions. Therefore, the bus control system has gradually become the primary consideration system for engineers. At present, the bus control system has been successfully applied in rich and mature fields such as process control and motion control, and the structural characteristics of the master-slave distribution of the bus control system have solved many problems that cannot be solved by the integrated control system. A general bus control system is mainly composed of two parts, the master station and the slave station. Action signals, such as sending pulses, analog and switch output, etc., and the sensor information collected at the same time is sent to the master station through the bus for the main program logic analysis. Therefore, the bus control system has the characteristics of good scalability and high openness.

控制系统的功能与性能测试分析是验证开控制系统是否满足设计要求的主要途径之一。通过采用测试工具及辅助设备,根据相应的测试用例和测试流程,对系统的功能、性能等进行测试与验证,以满足具体系统环境的应用需求。The function and performance test analysis of the control system is one of the main ways to verify whether the control system meets the design requirements. Through the use of test tools and auxiliary equipment, according to the corresponding test cases and test procedures, the function and performance of the system are tested and verified to meet the application requirements of the specific system environment.

测试的主要目的是:1、寻找系统开发过程中的问题和缺陷;2、验证系统结构和算法的执行效果;3、提高系统的功能与质量;4、验证是否满足用户的具体应用需求。通过多个测试过程,可找到迄今为止尚未发现的错误与缺陷,分析产生错误的原因,保证控制系统的功能可靠执行,提高控制系统的加工性能。The main purpose of the test is: 1. To find the problems and defects in the system development process; 2. To verify the execution effect of the system structure and algorithm; 3. To improve the function and quality of the system; 4. To verify whether it meets the specific application requirements of users. Through multiple testing processes, errors and defects that have not been discovered so far can be found, the cause of errors can be analyzed, the functions of the control system can be guaranteed to be executed reliably, and the processing performance of the control system can be improved.

目前对控制系统的测试方法,主要有以下几种:1.通过检测其生成的产品的质量,判断控制系统的性能。2.主要是通过改造模拟/数字信号发生器与接收器的方式,将信号分为两路,一路接入原来控制系统接口,另一路链接测试设备中。例如改造脉冲信号发生器,将脉冲信号引入测试设备中,通过记录脉冲信号的方式实现对性能的分析。这种设备需要对原有的控制系统进行修改,且只能被动测试控制系统的性能,无法对控制系统进行条件测试。3.通过设计典型的输入逻辑测试用例,录入系统中以检测其状态,主要通过人工操作录入、专业设备录入等方式。而人工录入速度慢且只能覆盖控制系统功能的很小领域。以上方法存在成本较高,检测结果表达不明确,测试需要的时间长等问题。At present, there are mainly the following kinds of testing methods for the control system: 1. Judging the performance of the control system by testing the quality of the products it generates. 2. Mainly by transforming the analog/digital signal generator and receiver, the signal is divided into two channels, one is connected to the original control system interface, and the other is connected to the test equipment. For example, modify the pulse signal generator, introduce the pulse signal into the test equipment, and realize the performance analysis by recording the pulse signal. This kind of equipment needs to modify the original control system, and can only passively test the performance of the control system, and cannot perform conditional tests on the control system. 3. By designing typical input logic test cases, input them into the system to detect their status, mainly through manual input, professional equipment input, etc. Manual entry is slow and can only cover a small area of control system functionality. The above methods have problems such as high cost, unclear expression of test results, and long testing time.

在以下几种场合中,需要对控制系统进行功能测试:1.控制系统开发者在前期构建控制系统原型,以验证从站设备选型是否满足要求系统要求,而如果控制系统原型构建不正确则会导致资源浪费、开发投入高等问题;2.在完成控制系统逻辑程序开发时,需要验证逻辑程序在连接从站节点时,以检验在组成真正的系统时,是否满足功能要求;3.现场开发调试人员,通过往控制系统中加入条件信号以检测控制系统,分析控制系统的问题原因,但是由于现场的设备为一种机电复合设备,存在子系统互相干扰问题,较难找出问题的原因。In the following situations, functional testing of the control system is required: 1. The control system developer constructs the control system prototype in the early stage to verify whether the selection of the slave station equipment meets the required system requirements, and if the control system prototype is constructed incorrectly, then It will lead to problems such as waste of resources and high development investment; 2. When completing the development of the logic program of the control system, it is necessary to verify that the logic program is connected to the slave node to check whether the functional requirements are met when the real system is formed; 3. On-site development Debugging personnel can detect the control system by adding conditional signals to the control system and analyze the cause of the problem in the control system. However, since the on-site equipment is a kind of electromechanical composite equipment, there is a problem of mutual interference between subsystems, and it is difficult to find out the cause of the problem.

总线控制系统由作为控制器的主站与各个负责执行功能的从站组成,主站与从站之间通过总线连接。目前对控制系统的测试方法有1.)检测控制系统的生成产品2.)使用人工或自动化设备操作控制系统录入用例3.)控制系统逻辑仿真调试4.)使用测试设备测量控制系统的输入输出信号。但是以上方法存在以下问题:1.)测试成本高;2.)测试周期长;3.)待测系统受其他关联机电系统干扰;4.)测试结果表述不够明确;5.)构建测试模型过程复杂。The bus control system is composed of the master station as the controller and the slave stations responsible for performing functions, and the master station and the slave stations are connected by the bus. The current testing methods for the control system include 1.) Detecting the generated product of the control system 2.) Using manual or automated equipment to operate the control system to input use cases 3.) Control system logic simulation debugging 4.) Using test equipment to measure the input and output of the control system Signal. However, the above methods have the following problems: 1.) High test cost; 2.) Long test cycle; 3.) The system under test is interfered by other associated electromechanical systems; 4.) The test results are not clearly expressed; 5.) The process of building a test model complex.

发明内容Contents of the invention

本发明为解决上述技术问题,提供了一种半虚拟式的控制系统功能测试装置及方法,可实现对控制系统的高效低成本测试。In order to solve the above technical problems, the present invention provides a semi-virtual control system function testing device and method, which can realize high-efficiency and low-cost testing of the control system.

一种半虚拟式的控制系统功能测试装置,包括带有总线通信接口的计算机,其上并行运行通用操作系统和实时操作系统。A semi-virtual control system function test device includes a computer with a bus communication interface, on which a general operating system and a real-time operating system run in parallel.

如果在计算机实现与真实从站功能等价的虚拟从站,首先需要解决计算机内部程序运行的实时性问题,因此需要在计算机内部运行实时操作系统。因此运行于实时操作系统的虚拟从站系统,依赖计算机强大的计算能力,可以实现与真实从站等价的功能。虚拟从站系统内可构建一个或多个虚拟从站节点,实现无延时监控从站系统与主站的通信数据,并且向外部提供从站的操作接口,可以实现操作虚拟从站的输入信号,监听和修改虚拟从站系统收发数据。在通用操作系统中,使用虚拟从站系统提供的编程操作接口,开发测试程序实现对控制系统主站进行测试。真实从站为采用逻辑器件配合微控制器开发的嵌入式系统,由逻辑器件负责总线协议解析,微控制器将从站节点输入信号发送至主站和接收主站命令执行动作,该系统具有优秀的实时性能。If a virtual slave station with functions equivalent to a real slave station is implemented on a computer, it is first necessary to solve the real-time problem of program operation inside the computer, so it is necessary to run a real-time operating system inside the computer. Therefore, the virtual slave station system running on the real-time operating system can realize the functions equivalent to the real slave station by relying on the powerful computing power of the computer. One or more virtual slave nodes can be built in the virtual slave station system to realize the communication data between the slave station system and the master station without delay, and provide the operation interface of the slave station to the outside, which can realize the input signal of operating the virtual slave station , monitor and modify the data sent and received by the virtual slave station system. In the general operating system, use the programming operation interface provided by the virtual slave station system to develop a test program to test the master station of the control system. The real slave station is an embedded system developed with a logic device and a microcontroller. The logic device is responsible for bus protocol analysis. The microcontroller sends the input signal of the slave station node to the master station and receives the command from the master station to execute actions. The system has excellent real-time performance.

由于虚拟从站与真实从站具有等价的功能与性能,控制系统主站从总线接口反馈信息的状况来看,认为其连接的为真实的从站。这种方法不修改主站的软硬件,也不干扰主站的运行条件,具有与连接真实从站等价功能和性能。由于主站为真实的主站系统,而从站为功能等价的虚拟从站,因此是一种半虚拟的测试方法。Since the virtual slave station and the real slave station have equivalent functions and performances, the master station of the control system thinks that it is connected to the real slave station from the status of the feedback information of the bus interface. This method does not modify the software and hardware of the master station, nor interfere with the operating conditions of the master station, and has the equivalent function and performance of connecting a real slave station. Since the master station is a real master station system, and the slave station is a virtual slave station with equivalent functions, it is a semi-virtual test method.

一台计算机性能足以同时运行多个虚拟从站节点,同时从站节点之间可以虚拟连接,因此需要设计一个专门的软件管理虚拟从站,实现从站之间的连接、配置和数据收发。所述虚拟从站系统内还设有虚拟从站的管理配置模块,用于对虚拟从站配置,实现虚拟从站之间的连接、配置和数据收发。The performance of one computer is enough to run multiple virtual slave nodes at the same time, and the slave nodes can be connected virtually. Therefore, it is necessary to design a special software to manage the virtual slaves to realize the connection, configuration and data transmission and reception between the slaves. The virtual slave station system is also provided with a virtual slave station management and configuration module for configuring the virtual slave stations to realize connection, configuration and data transmission and reception between virtual slave stations.

这里的通用操作系统是指Windows、Linux操作系统及其各种衍生版本的操作系统,具有较好的使用体验和丰富的编程资源,但是缺乏较强的实时性能。The general-purpose operating system here refers to Windows, Linux operating system and various derivative versions of the operating system, which have good user experience and rich programming resources, but lack strong real-time performance.

这里所说并行运行的实时系统,实质为一种通用操作系统的实时拓展,如Interval Zero公司的RTX、Kithara公司的Kithara Realtime Suite、INtime等。The real-time system running in parallel mentioned here is essentially a real-time extension of a general-purpose operating system, such as Interval Zero's RTX, Kithara's Kithara Realtime Suite, INtime, etc.

此外也可以是两者结合的操作系统,兼顾了丰富的编程资源和强大的实时性能,如Windows CE操作系统。In addition, it can also be an operating system combining the two, taking into account rich programming resources and powerful real-time performance, such as Windows CE operating system.

使用本发明测试设备可以实现的测试功能及实现方法。通过使用虚拟从站系统提供的操作接口编写逻辑程序,实现以下功能:The testing function and implementation method that can be realized by using the testing equipment of the present invention. By using the operation interface provided by the virtual slave station system to write logic programs, the following functions can be realized:

1.通过分析总线数据测试控制系统的执行性能,如控制算法、IO输出的逻辑控制算法等。1. Test the execution performance of the control system by analyzing bus data, such as control algorithm, logic control algorithm of IO output, etc.

2.通过修改总线传输数据,判断系统的运行性能,以及总线设计的稳定性能和安全性能,IO响应是否满足要求等。2. By modifying the bus to transmit data, judge the operating performance of the system, as well as the stability and safety performance of the bus design, whether the IO response meets the requirements, etc.

3.通过虚拟从站提供的操纵接口,编写程序,以实现模拟人工输入或设备传感器输入等输入逻辑。3. Write a program through the manipulation interface provided by the virtual slave station to realize input logic such as simulating manual input or device sensor input.

本法明的主要优势有以下两点:The main advantages of this method are as follows:

1、成本低,主要使用情况表现如下:1. Low cost, the main usage is as follows:

(1)在开发过程中,无需购买或开发设计真实的从站模块,通过虚拟从站可以直接配置生成与真实从站性能等价从站模块,以快速进入开发研发阶段。(1) During the development process, there is no need to purchase or develop and design real slave station modules. The virtual slave station can be directly configured to generate a slave station module with performance equivalent to that of the real slave station, so as to quickly enter the development and development stage.

(2)在对控制系统的测试过程中,无需修改原有控制系统或增加辅助测试设备,只需要将原有的控制系统的主站总线通信接口连接至配置好的虚拟从站计算机,即可实现对系统的测试。(2) During the test of the control system, there is no need to modify the original control system or add auxiliary test equipment, just connect the master station bus communication interface of the original control system to the configured virtual slave station computer, then Implement testing of the system.

(3)该虚拟从站可以模拟多种从站,且可以重复利用,减少开发多次成本的投入。(3) The virtual slave station can simulate a variety of slave stations, and can be reused, reducing the investment in multiple development costs.

(4)通过使用从站系统提供的操作接口开发逻辑测试程序,代替人工或相关自动化设备录入用例的方式,减少测试成本投入。(4) By using the operation interface provided by the slave station system to develop a logic test program, instead of entering use cases manually or related automation equipment, the cost of testing can be reduced.

2、监控与测试性能强,主要表现如下:2. Strong monitoring and testing performance, the main performance is as follows:

(1)在强实时总线中,总线数据传输要求具有很强的实时性能。如果使用专门的设备监听总线数据,则会造成总线数据的传输延时,可能造成总线系统的无法正常运行或者出错。而虚拟从站的数据传输过程都在计算机的实时系统内部,可以实现无延时提取总线传输数据。(1) In the strong real-time bus, the bus data transmission requires strong real-time performance. If a special device is used to monitor the bus data, it will cause a delay in the transmission of the bus data, which may cause the bus system to fail to operate normally or make errors. The data transmission process of the virtual slave station is inside the real-time system of the computer, which can realize the extraction of bus transmission data without delay.

(2)提供的开发接口,可以修改在任何过程的总线传输数据,可以测试总线系统的稳定性和容错性。(2) The development interface provided can modify the bus transmission data in any process, and can test the stability and fault tolerance of the bus system.

(3)通过使用从站系统提供的操作接口开发的逻辑测试程序,可以开发复杂的操作逻辑,而且比使用真实从站的录入方式效率高。(3) By using the logic test program developed by the operation interface provided by the slave station system, complex operation logic can be developed, and it is more efficient than the input method using a real slave station.

(4)通过对总线数据的监听,将数据直接录入到计算机中,通过计算机强大的运算功能可以进行复杂数据分析,从而可以直观得到直接得出控制系统的测试结果。(4) Through the monitoring of the bus data, the data is directly entered into the computer, and the complex data analysis can be performed through the powerful computing function of the computer, so that the test results of the control system can be directly obtained intuitively.

附图说明Description of drawings

图1半虚拟式控制系统功能测试方法主要结构图。Figure 1 shows the main structure of the semi-virtual control system function test method.

图2基础平台结构图。Figure 2. Basic platform structure diagram.

图3虚拟从站系统的设计图。Fig. 3 Design diagram of the virtual slave station system.

图4控制系统虚拟从站系统结构图。Figure 4 control system virtual slave station system structure diagram.

具体实施方式Detailed ways

下面结合附图与实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

目前总线系统,可以分为开源和非开源两种,开源的总线系统提供了完整的代码工程,让使用者了解详细的通信过程,可以方便在不同平台上的移植开发。非开源系统通过提供了编译好的程序模块,让开发者在指定的环境下开发使用。具体的实施方式参考图1,主要包括三个过程:1.构建基础的软硬件运行平台;2.虚拟从站系统的设计开发;3.虚拟从站系统的使用方法,即逻辑测试程序的开发。At present, the bus system can be divided into two types: open source and non-open source. The open source bus system provides a complete code project, allowing users to understand the detailed communication process, and can facilitate porting and development on different platforms. Non-open source systems provide compiled program modules for developers to develop and use in a specified environment. Referring to Figure 1 for the specific implementation, it mainly includes three processes: 1. Constructing the basic software and hardware operating platform; 2. Design and development of the virtual slave station system; 3. The use method of the virtual slave station system, that is, the development of the logic test program .

这里以开源的总线系统Ethernet PowerLink为例,详细说明对使用该种总线系统的控制系统的实施测试的方式。Here, the open source bus system Ethernet PowerLink is taken as an example to describe in detail how to implement the test of the control system using this bus system.

构建基础的软硬件运行平台如图2所示,具体过程如下:Build the basic software and hardware operating platform as shown in Figure 2. The specific process is as follows:

第一步,选择带有总线通信物理接口的计算机,如X86架构的计算机或高性能的ARM架构的计算机。The first step is to select a computer with a bus communication physical interface, such as a computer with an X86 architecture or a computer with a high-performance ARM architecture.

第二步,在第一步选择的计算机上,搭建同时运行的通用操作系统和实时操作系统。这里的通用操作系统可以选择通用的Windows或Linux操作系统及其衍生的操作系统。这里的实时操作系统,实际是一种对通用操作系统的实时增强拓展,与通用操作系统并行运行,如Interval Zero的RTX,Kithara软件公司的Kithara Realtime Suite等。并行的两个操作系统之间在运行时可以进行数据交互。The second step is to build a general-purpose operating system and a real-time operating system that run simultaneously on the computer selected in the first step. The general-purpose operating system here can choose the general-purpose Windows or Linux operating system and its derived operating systems. The real-time operating system here is actually a real-time enhancement and expansion of the general-purpose operating system, running in parallel with the general-purpose operating system, such as Interval Zero's RTX, Kithara Software's Kithara Realtime Suite, etc. Data interaction can be performed between two parallel operating systems at runtime.

虚拟从站系统的设计开发过程主要在计算机的实时操作系统中实现如图3所示,具体内容如下:The design and development process of the virtual slave station system is mainly realized in the real-time operating system of the computer, as shown in Figure 3, and the specific content is as follows:

第一步,获取Ethernet PowerLink的源码,并将其移植到选用的计算机平台上,设计相关的资源模块配置功能,如开关量/模拟量的输入输出、伺服/步进驱动等,用于生成需要的虚拟从站配置模块。由于虚拟从站凭借计算机强大的运算性能和实时操作系统的优秀实时性能,可以实现与真实从站等价的功能与性能。The first step is to obtain the source code of Ethernet PowerLink, and transplant it to the selected computer platform, and design related resource module configuration functions, such as switch/analog input and output, servo/step drive, etc., to generate the required The virtual slave configuration module. Due to the powerful computing performance of the computer and the excellent real-time performance of the real-time operating system, the virtual slave station can realize the equivalent function and performance of the real slave station.

第二步,设计虚拟从站配置管理程序,可以在一台计算机上同时模拟多个虚拟从站,因此需要设计一个虚拟从站配置管理程序,实现实时的数据转发和通信结构的移植,并且向外部提供虚拟从站系统操作接口,用于操作虚拟从站、监控总线数据和修改总线数据等。The second step is to design a virtual slave station configuration management program, which can simulate multiple virtual slave stations on one computer at the same time, so it is necessary to design a virtual slave station configuration management program to realize real-time data forwarding and communication structure transplantation, and to The virtual slave station system operation interface is provided externally for operating the virtual slave station, monitoring bus data and modifying bus data, etc.

虚拟从站系统的使用方法,主要在计算机的通用操作系统下实现,如图4所示,具体内容如下:The method of using the virtual slave station system is mainly implemented under the general operating system of the computer, as shown in Figure 4, and the specific content is as follows:

第一步,根据构建的控制系统从站节点模型设计配置虚拟从站系统,或根据现有的真实从站系统抽象出原型设计配置虚拟从站,然后代替真实的从站系统接入控制系统主站。The first step is to design and configure the virtual slave station system according to the constructed control system slave station node model, or abstract the prototype design and configure the virtual slave station according to the existing real slave station system, and then replace the real slave station system to access the control system master stand.

第二步,使用虚拟从站系统提供的软件操作接口,监听总线传输中需要的总线数据,根据监听的数据内容进行分析,从而得到控制系统的功能测试结果。The second step is to use the software operation interface provided by the virtual slave station system to monitor the bus data required in the bus transmission, and analyze the content of the monitored data to obtain the functional test results of the control system.

第三步,使用虚拟从站系统提供的软件操作接口,修改总线传输中的数据,测试控制系统的总线系统的稳定性能和安全性能。The third step is to use the software operation interface provided by the virtual slave station system to modify the data in the bus transmission and test the stability and safety performance of the bus system of the control system.

第四步,使用虚拟从站系统提供的软件操作接口,编写测试程序实现对虚拟从站输入点的逻辑操作。The fourth step is to use the software operation interface provided by the virtual slave station system to write a test program to realize the logical operation of the input points of the virtual slave station.

在实际应用中,前两个过程构建基础的软硬件运行平台和虚拟从站系统的设计开发,对于已经支持的总线系统模型,为可重复利用资源,无需重新设计开发。In practical application, the first two processes build the basic software and hardware operating platform and the design and development of the virtual slave station system. For the already supported bus system model, resources can be reused without redesigning and developing.

上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific implementation of the present invention has been described above in conjunction with the accompanying drawings, it does not limit the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, those skilled in the art do not need to pay creative work Various modifications or variations that can be made are still within the protection scope of the present invention.

Claims (8)

1. the control system device for testing functions of one and half subjunctive moods, it is characterized in that, comprise the parallel running general-purpose operating system and real time operating system, be provided with virtual slave station system in the described general-purpose operating system and real time operating system, described virtual slave station system arranges at least one virtual slave station, virtually from standing in real time operating system, build, by bus communication interface, with the control system main website, be connected, the communication data of virtual slave station system and control system main website is monitored in realization without time delay, and provide the operation-interface of slave station to outside, realize the input signal of the virtual slave station of operation, monitor and revise virtual slave station system transceiving data.
2. the control system device for testing functions of half subjunctive mood as claimed in claim 1, is characterized in that, described virtual slave station has function of equal value and performance with true slave station.
3. the control system device for testing functions of half subjunctive mood as claimed in claim 1, it is characterized in that, also be provided with the management configuration module of virtual slave station in described virtual slave station system, for to virtual slave station configuration, realize connection, configuration and data transmit-receive between virtual slave station.
4. the control system device for testing functions of half subjunctive mood as claimed in claim 1, is characterized in that, the described general-purpose operating system refers to the operating system of Windows, (SuSE) Linux OS and various derived version thereof.
5. the control system device for testing functions of half subjunctive mood as described as claim 1 or 4, is characterized in that, described real time operating system is in the nature a kind of real-time expansion software of the general-purpose operating system.
6. the control system function test method of half subjunctive mood as claimed in claim 1, is characterized in that, by monitoring the bus data on virtual slave station, the execution performance of analysis and Control system.
7. the control system function test method of half subjunctive mood as claimed in claim 1, is characterized in that, by revising the transmission data between virtual slave station and main website and between virtual slave station, analyzes the action situation of main website to Update Table.
8. the control system function test method of half subjunctive mood as claimed in claim 1, it is characterized in that, the virtual slave station operation-interface provided by virtual slave station system, the development logic function program, operated the switching value of virtual slave station/analog input point and sensor.
CN2013103833648A 2013-08-28 2013-08-28 Semi-virtual functional test device and method for control system Pending CN103425055A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103833648A CN103425055A (en) 2013-08-28 2013-08-28 Semi-virtual functional test device and method for control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103833648A CN103425055A (en) 2013-08-28 2013-08-28 Semi-virtual functional test device and method for control system

Publications (1)

Publication Number Publication Date
CN103425055A true CN103425055A (en) 2013-12-04

Family

ID=49649969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103833648A Pending CN103425055A (en) 2013-08-28 2013-08-28 Semi-virtual functional test device and method for control system

Country Status (1)

Country Link
CN (1) CN103425055A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200448A (en) * 2015-05-09 2016-12-07 精航伟泰测控仪器(北京)有限公司 A kind of industry interface implements long-range mapped system
CN109712701A (en) * 2018-12-10 2019-05-03 上海联影医疗科技有限公司 Slave computer simulator and master system test method
CN110751873A (en) * 2019-11-15 2020-02-04 郑州意昂新能源汽车科技有限公司 Method for interconnecting whole vehicle electric control practical training platform of new energy automobile and actual vehicle
CN111998497A (en) * 2015-11-30 2020-11-27 耐克斯特拉克尔有限公司 System and method for automated scheduling and performing field tests on electrical and mechanical systems
CN115330114A (en) * 2022-06-28 2022-11-11 大唐可再生能源试验研究院有限公司 Novel framework wind power electric control system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101424936A (en) * 2006-09-29 2009-05-06 沈阳高精数控技术有限公司 Control method for closed-loop virtual system for numerically controlled machine
CN101488028A (en) * 2009-02-24 2009-07-22 陈振华 System and method for testing CAN bus automobile instrument
CN102331733A (en) * 2010-07-14 2012-01-25 中国科学院沈阳计算技术研究所有限公司 Numerical control system logic controller on basis of system on programmable chip and implementing method thereof
US8200783B2 (en) * 2005-08-09 2012-06-12 Fisher-Rosemount Systems, Inc. Field-based asset management device and architecture
CN103116329A (en) * 2013-01-04 2013-05-22 浙江海康集团有限公司 Vehicle-mounted information platform adopting virtual machine and dual system
CN203149382U (en) * 2013-03-29 2013-08-21 成都飞机设计研究所 Virtual apparatus bus product calibration platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8200783B2 (en) * 2005-08-09 2012-06-12 Fisher-Rosemount Systems, Inc. Field-based asset management device and architecture
CN101424936A (en) * 2006-09-29 2009-05-06 沈阳高精数控技术有限公司 Control method for closed-loop virtual system for numerically controlled machine
CN101488028A (en) * 2009-02-24 2009-07-22 陈振华 System and method for testing CAN bus automobile instrument
CN102331733A (en) * 2010-07-14 2012-01-25 中国科学院沈阳计算技术研究所有限公司 Numerical control system logic controller on basis of system on programmable chip and implementing method thereof
CN103116329A (en) * 2013-01-04 2013-05-22 浙江海康集团有限公司 Vehicle-mounted information platform adopting virtual machine and dual system
CN203149382U (en) * 2013-03-29 2013-08-21 成都飞机设计研究所 Virtual apparatus bus product calibration platform

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200448A (en) * 2015-05-09 2016-12-07 精航伟泰测控仪器(北京)有限公司 A kind of industry interface implements long-range mapped system
CN111998497A (en) * 2015-11-30 2020-11-27 耐克斯特拉克尔有限公司 System and method for automated scheduling and performing field tests on electrical and mechanical systems
CN111998497B (en) * 2015-11-30 2022-04-08 耐克斯特拉克尔有限公司 System and method for automatically scheduling and performing field tests on electrical and mechanical systems
US11933511B2 (en) 2015-11-30 2024-03-19 Nextracker Llc Systems for and methods of automatically scheduling and executing in situ tests on electrical and mechanical systems
US12264832B2 (en) 2015-11-30 2025-04-01 Nextracker Llc Systems for and methods of automatically scheduling and executing in situ tests on electrical and mechanical systems
CN109712701A (en) * 2018-12-10 2019-05-03 上海联影医疗科技有限公司 Slave computer simulator and master system test method
CN110751873A (en) * 2019-11-15 2020-02-04 郑州意昂新能源汽车科技有限公司 Method for interconnecting whole vehicle electric control practical training platform of new energy automobile and actual vehicle
CN115330114A (en) * 2022-06-28 2022-11-11 大唐可再生能源试验研究院有限公司 Novel framework wind power electric control system

Similar Documents

Publication Publication Date Title
CN104573182B (en) A kind of design method for aircraft Multimode Control System
EP3287901A1 (en) Simulation including multiple simulators
CN103425055A (en) Semi-virtual functional test device and method for control system
CN104866419A (en) Virtual platform as well as application layer software testing method and system
US20130254750A1 (en) Method of debugging software and corresponding computer program product
CN105868114A (en) FPGA software system and all module testing system and method thereof
CN117075570A (en) Data processing method, device and system
CN102012673A (en) Design method of complex reaction type system controller
Efkemann et al. Model-based testing for the second generation of integrated modular avionics
Brandstetter et al. A framework for multidisciplinary simulation of cyber-physical production systems
CN103576667B (en) Method, device and system for testing main control board
Breivold et al. Virtualize for test environment in industrial automation
CN113609633A (en) Complex system collaborative simulation and verification evaluation system and method based on model
US10488835B2 (en) Method for configuring a tester equipped for testing an electronic control unit
KR20130079046A (en) A simulation system of communication between hmi simulator and plc simulator
Strasser et al. Model-driven embedded systems design environment for the industrial automation sector
Chaves et al. KhronoSim: A platform for complex systems simulation and testing
Hossain et al. Virtual control system development platform with the application of PLC device
Liu et al. A Co-Simulation-and-Test Method for CAN Bus System.
Wichmann et al. Specification and execution of system optimization processes with UML activity diagrams
CN105162645A (en) Interoperability test method based on PIIF configuration
Mehlhop et al. Model-aware simulation of IEC 61499 designs
Jamro et al. Communication performance tests in distributed control systems
US20220057769A1 (en) Programmable microgrid control system
Fennibay et al. A heterogeneous simulation and modeling framework for automation systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131204