CN108089975A - A kind of method of constructing environment Control System Software virtual testing environment - Google Patents
A kind of method of constructing environment Control System Software virtual testing environment Download PDFInfo
- Publication number
- CN108089975A CN108089975A CN201711174021.5A CN201711174021A CN108089975A CN 108089975 A CN108089975 A CN 108089975A CN 201711174021 A CN201711174021 A CN 201711174021A CN 108089975 A CN108089975 A CN 108089975A
- Authority
- CN
- China
- Prior art keywords
- control system
- environment
- environmental control
- software
- bus
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3698—Environments for analysis, debugging or testing of software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3696—Methods or tools to render software testable
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明公开了一种构建环境控制系统软件虚拟测试环境的方法,属于机载系统软件测试技术领域。包括首先构建含有环境控制系统的全面机载电子系统网络构型,以及构建与所述环境控制系统相关联的接口,之后构建与所述环境控制系统相关联的虚拟目标机,形成嵌入式操作系统,并根据上述网络构型构建仿真控制与显示模块,以及构建外围设备模型库,之后建立所有系统的故障模型,并开发动态链接库,以形成与所述环境控制系统及所述嵌入式操作系统的接口,最后集成辅助测试工具,用于对环境控制系统软件进行黑盒与白盒的测试。通过该方法,在虚拟测试环境或系统中,能够独立和充分完成环境控制系统机载软件配置项测试,不受飞管系统真实运行环境的影响。
The invention discloses a method for constructing a virtual testing environment for environment control system software, which belongs to the technical field of airborne system software testing. Including first constructing a comprehensive airborne electronic system network configuration including an environmental control system, and constructing an interface associated with the environmental control system, and then constructing a virtual target machine associated with the environmental control system to form an embedded operating system , and build simulation control and display modules according to the above-mentioned network configuration, and build a peripheral equipment model library, then set up the failure models of all systems, and develop a dynamic link library to form a connection with the environmental control system and the embedded operating system interface, and finally integrate auxiliary testing tools for black-box and white-box testing of environmental control system software. Through this method, in the virtual test environment or system, the test of the airborne software configuration items of the environmental control system can be independently and fully completed without being affected by the real operating environment of the flight tube system.
Description
技术领域technical field
本发明属于机载系统软件测试技术领域,具体涉及一种构建环境控制系统软件虚拟测试环境的方法。The invention belongs to the technical field of airborne system software testing, in particular to a method for constructing a virtual testing environment for environment control system software.
背景技术Background technique
综合航空电子系统软硬件综合设计技术在现代各种型号的军民用飞机上得到广泛的应用,环境控制系统软件(ECS软件)实现了飞机各个成员系统集中维护和管理的功能。Integrated avionics system software and hardware integrated design technology has been widely used in various types of modern military and civilian aircraft. The environmental control system software (ECS software) realizes the centralized maintenance and management functions of each component system of the aircraft.
目前环境控制系统软件(ECS软件)的研发模式,首先先进行软件总体或概要设计,再开始进行硬件设备达到交付状态后,软件研发及测试人员再进行软件的设计开发和单元部件测试,以及软硬件系统集成测试和验证。At present, the R&D mode of environmental control system software (ECS software) starts with the overall or outline design of the software, and then starts the hardware equipment to reach the delivery status, and then the software R&D and testing personnel carry out the software design and development and unit component testing, and the software Hardware system integration testing and validation.
由于综合航空电子系统环境控制系统软件(ECS软件)和硬件有很大的相关性,软件配置项测试及系统测试严重依赖于接口交联的诸多机载产品或系统,导致嵌入式软件在开发及验证中主要存在如下问题:Since the environmental control system software (ECS software) of the integrated avionics system has a great correlation with the hardware, the testing of software configuration items and system testing is heavily dependent on many airborne products or systems with interface cross-linking, resulting in embedded software development and The main problems in verification are as follows:
a)如果按照传统方法,环境控制系统软件(ECS软件)配置项测试需要等待相关机载系统硬件设备的开发和测试完成后,只有提交出可用的硬件设备后才可开展该机载软件的测试工作,导致整个项目的周期拖长;a) According to the traditional method, the environmental control system software (ECS software) configuration item test needs to wait for the development and testing of the relevant airborne system hardware equipment to be completed, and the airborne software test can only be carried out after the available hardware equipment is submitted work, resulting in prolongation of the entire project cycle;
b)在机载软件配置项测试阶段,由于硬件设备资源有限,或者硬件设备成本较高,导致软件测试项目团队无法高效地进行相关测试工作;b) During the testing phase of airborne software configuration items, due to limited hardware equipment resources or high cost of hardware equipment, the software testing project team cannot efficiently carry out relevant testing work;
c)由于硬件设备早期调试阶段,可能会存在设计或者样机生产方面的问题,导致在进行软件配置项测试时,无法有效区分软件或硬件的故障,使得软件的测试效率低下;c) Due to the design or prototype production problems in the early debugging stage of hardware equipment, it is impossible to effectively distinguish software or hardware failures when testing software configuration items, making software testing inefficient;
d)在测试验证阶段,基于真实硬件环境,环境控制系统软件设计中的很多异常情况(例如每个成员系统或设备的故障模式)处理等情况,难以通过硬件环境进行充分测试和验证;d) In the test and verification stage, based on the real hardware environment, it is difficult to fully test and verify through the hardware environment to deal with many abnormal situations (such as the failure mode of each member system or equipment) in the software design of the environmental control system;
e)在多个版本的软件同时测试验证阶段,由于仅有一套真实硬件环境,形成了为测试多版本ECS软件,在同一套硬件测试系统同时竞争测试资源的不利情景;e) In the stage of simultaneous testing and verification of multiple versions of software, since there is only one set of real hardware environment, an unfavorable situation is formed in order to test multiple versions of ECS software, and the same set of hardware test system competes for test resources at the same time;
f)或者,经常出现仅有的一套真实硬件环境正在研发和验证某一版ECS软件功能,不能同时进行另一版ECS软件测试的状态,耽误了测试计划和软件产品装机计划按时进行;f) Or, it often occurs that the only set of real hardware environment is developing and verifying the function of a certain version of ECS software, and the other version of ECS software cannot be tested at the same time, which delays the testing plan and software product installation plan on time;
g)或者,实验室仅有的实物验证平台正处于为外场机载设备排故状态,不能同时进行ECS软件测试的状态,耽误了测试计划和软件产品装机计划按时进行;g) Or, the only physical verification platform in the laboratory is in the state of troubleshooting airborne equipment in the field, and the ECS software test cannot be carried out at the same time, which delays the test plan and software product installation plan on time;
h)进一步,针对外场装机多版本ECS软件状态,从开发、试验、外场排故以及内部和外部测试的各个阶段,随时出现测试系统激烈竞争的情况。h) Further, in view of the status of multi-version ECS software installed in the field, fierce competition of test systems occurs at any time from all stages of development, testing, field troubleshooting, and internal and external testing.
发明内容Contents of the invention
为了解决上述问题,本发明提供了一种构建环境控制系统软件虚拟测试环境的方法,建立与环境控制系统软件(ECS软件)相关联的外围设备数字仿真环境,同时集成成熟的测试分析和管理工具,在此基础上进行环境控制系统软件(ECS软件)的白盒测试、黑盒测试及静态分析的综合测试方法。该方法主要包括以下步骤:In order to solve the above problems, the present invention provides a method for constructing a virtual test environment for environmental control system software, establishes a digital simulation environment for peripheral equipment associated with environmental control system software (ECS software), and integrates mature test analysis and management tools at the same time On this basis, the comprehensive testing method of white box testing, black box testing and static analysis of environmental control system software (ECS software) is carried out. The method mainly includes the following steps:
步骤一、构建含有环境控制系统的全面机载电子系统网络构型,所述网络构型至少包括:Step 1. Construct a comprehensive airborne electronic system network configuration including an environmental control system, the network configuration at least including:
由空调系统、热气防冰系统、气源系统以及压调系统构成的第一部分;The first part is composed of air conditioning system, hot air anti-icing system, air source system and pressure regulation system;
由电子设备冷却系统构成的第二部分;the second part consisting of the electronic equipment cooling system;
由故障管理子系统构成的第三部分;The third part consisting of the fault management subsystem;
上述各系统通过总线连接;The above systems are connected through the bus;
步骤二、构建与所述环境控制系统相关联的接口,所述接口包含计算数据类接口、控制类接口、操作系统接口、CPU编程类接口、BSP板级接口以及步骤一中的网络构型内的各系统接口;Step 2. Build the interfaces associated with the environmental control system, the interfaces include computing data interfaces, control interfaces, operating system interfaces, CPU programming interfaces, BSP board-level interfaces, and the network configuration in step one each system interface;
步骤三、构建与所述环境控制系统相关联的虚拟目标机,开发CPU指令、BSP板级芯片、I/O、中断、时钟模拟功能,形成嵌入式操作系统;Step 3, build a virtual target machine associated with the environmental control system, develop CPU instructions, BSP board-level chips, I/O, interrupt, clock simulation functions, and form an embedded operating system;
步骤四、采用以太网模拟分布式数据总线,以便根据测试需求,与环境控制系统软件相关的外围仿真组件能够动态地加入或退出虚拟测试环境;Step 4, using Ethernet to simulate the distributed data bus, so that according to the test requirements, the peripheral simulation components related to the environmental control system software can dynamically join or exit the virtual test environment;
步骤五、根据步骤一,构建仿真控制与显示模块,以及构建包含所述第一部分内各系统的第一外围设备模型库、包含所述第二部分内各系统的第二外围设备模型库、包含所述第三部分内各系统的第三外围设备模型库;Step 5. According to step 1, build a simulation control and display module, and construct a first peripheral equipment model library including each system in the first part, a second peripheral equipment model library including each system in the second part, including a third peripheral device model library for each system in the third part;
步骤六、建立步骤五中所有系统的故障模型;Step 6. Establish failure models of all systems in step 5;
步骤七、开发步骤五中所有系统的动态链接库,并形成与所述环境控制系统及所述嵌入式操作系统的接口;Step 7, developing the dynamic link libraries of all systems in step 5, and forming interfaces with the environmental control system and the embedded operating system;
步骤八、集成辅助测试工具,用于对环境控制系统软件进行黑盒与白盒的测试。Step 8: Integrate auxiliary testing tools for black-box and white-box testing of the environmental control system software.
优选的是,所述步骤一中,所述总线包括429总线、RS422总线或1553B总线中的至少一种。Preferably, in the first step, the bus includes at least one of 429 bus, RS422 bus or 1553B bus.
优选的是,所述步骤一中,环境控制系统包括第一环境控制系统以及用于备份的第二环境控制系统,第一环境控制系统及第二环境控制系统均包含双通道。Preferably, in the first step, the environment control system includes a first environment control system and a second environment control system for backup, and both the first environment control system and the second environment control system include dual channels.
优选的是,所述第一环境控制系统内的双通道相互之间通过HB6096总线连接,所述第二环境控制系统内的双通道相互之间通过HB6096总线连接,所述第一环境控制系统与所述第二环境控制系统通过HB6096总线连接,并通过HB6096总线连接至航电系统。Preferably, the dual channels in the first environmental control system are connected to each other through the HB6096 bus, the dual channels in the second environmental control system are connected to each other through the HB6096 bus, and the first environmental control system and The second environmental control system is connected through the HB6096 bus, and is connected to the avionics system through the HB6096 bus.
优选的是,所述第一环境控制系统及所述第二环境控制系统通过GJB289A总线连接机电管理系统。Preferably, the first environment control system and the second environment control system are connected to the electromechanical management system through the GJB289A bus.
优选的是,所述步骤七中,形成与所述环境控制系统及所述嵌入式操作系统的接口后进一步包括对接口进行分类或优化组合,将数个实现不同功能的插件放置到同一个项目中,以实现同时多个外围设备仿真。Preferably, in the step seven, after forming the interface with the environmental control system and the embedded operating system, it further includes classifying or optimizing the combination of the interface, and placing several plug-ins that implement different functions into the same project , to enable simultaneous multiple peripheral emulation.
优选的是,所述步骤八中,所述辅助测试工具包括覆盖率测试工具、静态分析工具、调试器以及开发工具。Preferably, in the eighth step, the auxiliary testing tools include coverage testing tools, static analysis tools, debuggers and development tools.
本发明的优点是:The advantages of the present invention are:
a)首次提供了一种面向复杂功能机载软件的虚拟测试环境,满足ECS软件完成配置项测试的需求(节省时间和资金及人员、灵活安排测试计划);a) For the first time, a virtual test environment for airborne software with complex functions is provided to meet the needs of ECS software to complete configuration item testing (saving time, money and personnel, and flexibly arranging test plans);
b)在虚拟测试环境上包含各种测试分析、管理工具,同时可以满足ECS软件的静态分析/动态测试、白盒测试/黑盒测试方法;b) Various test analysis and management tools are included in the virtual test environment, and at the same time, it can meet the static analysis/dynamic test, white box test/black box test methods of ECS software;
c)在虚拟测试环境上不仅建立了全系统的外围设备正常功能模型库,而且建立了故障模型库,满足ECS软件配置项测试过程中所有正常、边界及异常测试用例的执行测试要求;c) In the virtual test environment, not only the normal function model library of the peripheral equipment of the whole system is established, but also the fault model library is established to meet the execution test requirements of all normal, boundary and abnormal test cases in the testing process of ECS software configuration items;
d)正因为建立全系统的外围设备正常功能模型库,而且建立了故障模型库,根据以后其他各型飞机机载电子系统构型,进行有效裁剪和优化或扩展,可以满足其他特种飞机机型环境控制机载软件的测试需求。d) Because of the establishment of the normal function model library of the peripheral equipment of the whole system, and the establishment of the fault model library, according to the configuration of other types of aircraft on-board electronic systems in the future, it can be effectively cut and optimized or expanded to meet the needs of other special aircraft models The environment controls the testing requirements of on-board software.
e)在此虚拟的测试系统上,还可以测试后续军民用飞机各型系列的数个新版或升级版的环境控制系统软件(ECS软件),大大节省资金、时间和人力资源。e) On this virtual test system, several new or upgraded versions of environmental control system software (ECS software) of various series of subsequent military and civilian aircraft can also be tested, which greatly saves money, time and human resources.
附图说明Description of drawings
图1为本发明构建环境控制系统软件虚拟测试环境的方法的一优选实施例的环控系统网络构型示意图;Fig. 1 is the environmental control system network configuration schematic diagram of a preferred embodiment of the method for constructing the environment control system software virtual test environment of the present invention;
图2为本发明图1所示实施例的飞机环境控制系统级接口关系图;Fig. 2 is the aircraft environmental control system-level interface diagram of the embodiment shown in Fig. 1 of the present invention;
图3为本发明图1所示实施例的飞机环境控制系统与航电、机电之间的连接关系图;Fig. 3 is the connection relationship diagram between the aircraft environmental control system and the avionics and electromechanical of the embodiment shown in Fig. 1 of the present invention;
图4为本发明图1所示实施例的环境控制系统外部接口图。FIG. 4 is an external interface diagram of the environmental control system of the embodiment shown in FIG. 1 of the present invention.
具体实施方式Detailed ways
为使本发明实施的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行更加详细的描述。在附图中,自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。所描述的实施例是本发明一部分实施例,而不是全部的实施例。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。下面结合附图对本发明的实施例进行详细说明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be described in more detail below in conjunction with the drawings in the embodiments of the present invention. In the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some, but not all, embodiments of the invention. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明保护范围的限制。In describing the present invention, it is to be understood that the terms "central", "longitudinal", "transverse", "front", "rear", "left", "right", "vertical", "horizontal", The orientations or positional relationships indicated by "top", "bottom", "inner", "outer", etc. are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying the Means that a device or element must have a specific orientation, be constructed and operate in a specific orientation, and therefore should not be construed as limiting the scope of the invention.
本发明的技术方案是:设计一种虚拟测试环境,包含虚拟目标机系统、外围设备正常功能模型库系统、外围设备故障模式模型库系统、分布式总线仿真网络、测试用例注入、分析和管理系统等,为ECS软件提供高效的白盒测试/黑盒测试及静态分析/动态测试的虚拟测试环境。The technical solution of the present invention is to design a virtual test environment, including a virtual target machine system, a peripheral device normal function model library system, a peripheral device failure mode model library system, a distributed bus simulation network, and a test case injection, analysis and management system Etc., providing a virtual testing environment for efficient white-box testing/black-box testing and static analysis/dynamic testing for ECS software.
该方法主要包括以下步骤:The method mainly includes the following steps:
步骤一、构建含有环境控制系统的全面机载电子系统网络构型,所述网络构型至少包括:Step 1. Construct a comprehensive airborne electronic system network configuration including an environmental control system, the network configuration at least including:
由空调系统、热气防冰系统、气源系统以及压调系统构成的第一部分;The first part is composed of air conditioning system, hot air anti-icing system, air source system and pressure regulation system;
由电子设备冷却系统构成的第二部分;the second part consisting of the electronic equipment cooling system;
由故障管理子系统构成的第三部分;The third part consisting of the fault management subsystem;
上述各系统通过总线连接,参考图1。The above-mentioned systems are connected through a bus, refer to FIG. 1 .
可以理解的是,本发明总线包括429总线、RS422总线或1553B总线,备选实施方式中,也包含其他总线,在步骤二中详细说明。It can be understood that the bus of the present invention includes a 429 bus, an RS422 bus or a 1553B bus. In alternative implementations, other buses are also included, which are described in detail in step 2.
步骤二、构建与所述环境控制系统相关联的接口,所述接口包含计算数据类接口、控制类接口、操作系统接口、CPU编程类接口、BSP板级接口以及步骤一中的网络构型内的各系统接口。Step 2. Build the interfaces associated with the environmental control system, the interfaces include computing data interfaces, control interfaces, operating system interfaces, CPU programming interfaces, BSP board-level interfaces, and the network configuration in step one each system interface.
本实施例中,环境控制系统包括第一环境控制系统以及用于备份的第二环境控制系统,第一环境控制系统及第二环境控制系统均包含双通道。如图2所示,为飞机环境控制系统级接口关系图,ECSC1A软件为本实施例中的第一环境控制系统第一通道内的软件,其通过HB6096总线与第一环境控制系统第二通道内的软件(ECSC1B)通信,通过HB6096总线与第二环境控制系统第一通道内的软件(ECSC2A)通信,不同之处在于,其通过GJB289A总线与第二环境控制系统第一通道内的软件(ECSC2B)通信,可以结合图3,四个通道均可以通过GJB289A总线相互通信,并与机电管理系统内的机电综合管理计算机EMP,及数据采集计算机DAP进行双向通信,同样,通过GJB289A总线还可以与供电控制管理分系统内的供电控制管理计算机EPMC及起落架收放与位置指示分系统内的起落架收放及位置指示控制单元PDCU进行双向通信,回到图2,本实施例中,ECSC1A还通过HB6096总线与驾驶舱排气活门及货舱排气活门连通,通过RS422总线与驾驶舱及货舱的压力传感器通信,其余信号通过普通的硬线连接即可。In this embodiment, the environment control system includes a first environment control system and a second environment control system for backup, and both the first environment control system and the second environment control system include dual channels. As shown in Figure 2, it is an aircraft environmental control system-level interface relationship diagram. The ECSC1A software is the software in the first channel of the first environmental control system in this embodiment, and it communicates with the second channel of the first environmental control system through the HB6096 bus. The software (ECSC1B) communicates with the software (ECSC2A) in the first channel of the second environmental control system through the HB6096 bus. The difference is that it communicates with the software (ECSC2B) in the first channel of the second environmental control system through the GJB289A bus. ) communication, which can be combined with Figure 3, the four channels can communicate with each other through the GJB289A bus, and carry out two-way communication with the electromechanical comprehensive management computer EMP in the electromechanical management system and the data acquisition computer DAP. Similarly, the GJB289A bus can also communicate with the power supply The power supply control management computer EPMC in the control management subsystem and the landing gear retraction and position indication control unit PDCU in the position indication subsystem perform two-way communication. Returning to Figure 2, in this embodiment, ECSC1A also passes The HB6096 bus communicates with the cockpit exhaust valve and the cargo compartment exhaust valve, communicates with the pressure sensors in the cockpit and cargo compartment through the RS422 bus, and the rest of the signals can be connected through ordinary hard wires.
这里所述硬线例如是采用离散量模拟信号传输的导线。Here, the hard wire is, for example, a wire for transmitting discrete analog signals.
本实施例中,如图3所示,,所述第一环境控制系统与所述第二环境控制系统通过HB6096总线连接,并通过HB6096总线连接至航电系统。主要是连接至航电系统的飞行事故记录采集单元FDAU及大气数据机ADC,而航电系统内的其它系统(例如发动机信息告警系统EICAS;综合告警系统CAS;多功能显示器MFD;中央维护系统CMS)则优先通过航电总线连接至机电管理系统,再如上所述,通过GJB289A总线将机电管理系统与双余度的环控系统综合控制器连通。In this embodiment, as shown in FIG. 3 , the first environment control system is connected to the second environment control system through the HB6096 bus, and is connected to the avionics system through the HB6096 bus. It is mainly connected to the flight accident record acquisition unit FDAU and the air data machine ADC of the avionics system, while other systems in the avionics system (such as the engine information warning system EICAS; the integrated warning system CAS; the multi-function display MFD; the central maintenance system CMS ) is preferentially connected to the electromechanical management system through the avionics bus, and then as mentioned above, the electromechanical management system is connected to the integrated controller of the environmental control system with dual redundancy through the GJB289A bus.
如图4所示,环境控制系统通过显示类接口与显示硬件连接,通过控制类接口(例如输入输出接口)连接控制硬件,通过操作系统接口连接操作系统(例如RTOS系统),通过CPU编程类接口连接处理器硬件,通过BSP板级接口(例如BIT接口)连接BSP板级硬件,通过总线接口连接机电与航电系统。As shown in Figure 4, the environmental control system is connected to the display hardware through a display interface, connected to the control hardware through a control interface (such as an input and output interface), connected to an operating system (such as an RTOS system) through an operating system interface, and connected to an operating system (such as an RTOS system) through a CPU programming interface. Connect the processor hardware, connect the BSP board-level hardware through the BSP board-level interface (such as the BIT interface), and connect the electromechanical and avionics systems through the bus interface.
需要说明的是,本实施例中,环控分系统因为采用的是离散量控制,因此,其属于控制硬件中,通过控制接口连接。It should be noted that, in this embodiment, since the environmental control subsystem adopts discrete quantity control, it belongs to the control hardware and is connected through a control interface.
步骤三、构建与所述环境控制系统相关联的虚拟目标机,开发CPU指令、BSP板级芯片、I/O、中断、时钟模拟功能,形成嵌入式操作系统。Step 3: Construct a virtual target machine associated with the environmental control system, develop CPU instructions, BSP board-level chips, I/O, interrupts, and clock simulation functions to form an embedded operating system.
目标处理机虚拟内核通过分布式数据总线,与各控制硬件、存储硬件、板级硬件等进行互联,最终在虚拟目标机上实现嵌入式CPU的功能。The virtual core of the target processor is interconnected with various control hardware, storage hardware, and board-level hardware through a distributed data bus, and finally realizes the function of the embedded CPU on the virtual target machine.
步骤四、采用以太网模拟分布式数据总线,以便根据测试需求,与环境控制系统软件相关的外围仿真组件能够动态地加入或退出虚拟测试环境。Step 4: Use Ethernet to simulate the distributed data bus, so that the peripheral simulation components related to the environmental control system software can dynamically join or exit the virtual test environment according to the test requirements.
步骤五、根据步骤一,构建仿真控制与显示模块,以及构建包含所述第一部分内各系统的第一外围设备模型库、包含所述第二部分内各系统的第二外围设备模型库、包含所述第三部分内各系统的第三外围设备模型库。Step 5. According to step 1, build a simulation control and display module, and construct a first peripheral equipment model library including each system in the first part, a second peripheral equipment model library including each system in the second part, including A third peripheral device model library for each system in the third part.
可以理解的是,设计仿真控制与显示模块,是整个虚拟测试环境的仿真控制和显示中心,可配置整个环境控制系统软件(ECS软件)相关测试系统;动态、可视化地显示每一个ECS软件测试用例执行过程的数据,可管理以及选择记录每个测试用例的数据,并保存。本实施例中,建立外围设备模型库1,模型库包括气源系统、空调系统、热气防冰系统、座舱压调系统的系统模型(正常功能),采用飞行的大气环境仿真工具,实现对飞机大气环境的运行控制,满足ECS软件与航电、机电系统相关功能要求,建立外围设备模型库2,模型库包括电子设备冷却系统相关模型(正常功能),满足ECS软件与电子设备冷却系统相关功能要求,建立外围设备模型库3,模型库包括故障管理子系统,满足ECS软件与故障管理子系统相关功能要求。It can be understood that the design simulation control and display module is the simulation control and display center of the entire virtual test environment, and can configure the entire environmental control system software (ECS software) related test system; dynamically and visually display each ECS software test case The data of the execution process can be managed and selected to record the data of each test case and saved. In the present embodiment, set up peripheral equipment model storehouse 1, and model storehouse comprises the system model (normal function) of air source system, air-conditioning system, hot air anti-icing system, cockpit pressure control system, adopts the atmospheric environment simulation tool of flight, realizes the aircraft The operation control of the atmospheric environment meets the functional requirements of ECS software and avionics and electromechanical systems, and establishes a peripheral equipment model library 2. The model library includes electronic equipment cooling system related models (normal functions), and meets the ECS software and electronic equipment cooling system related functions. Requirements, establish a peripheral equipment model library 3, the model library includes the fault management subsystem, and meets the functional requirements of the ECS software and the fault management subsystem.
步骤六、根据以上外围设备模型库1、2、3,建立以上所有系统的故障模型,并集中管理,满足ECS软件系统测试边界、故障用例测试执行需求。Step 6. Based on the above peripheral equipment model libraries 1, 2, and 3, establish fault models of all the above systems and manage them centrally to meet the ECS software system test boundary and fault case test execution requirements.
步骤七、开发步骤五中所有系统的动态链接库,并形成与所述环境控制系统及所述嵌入式操作系统的接口;本实施例中,开发以上各个子系统动态链接库(dll),并形成与ECS软件和嵌入式操作系统的标准接口,然后进行分类或优化组合,将数个实现不同功能的插件dll放置到同一个项目中,可实现同时多个外围设备仿真。Step 7, develop the dynamic link library of all systems in step 5, and form the interface with described environmental control system and described embedded operating system; In the present embodiment, develop above each subsystem dynamic link library (dll), and Form a standard interface with ECS software and embedded operating system, and then classify or optimize the combination, and place several plug-in dlls that implement different functions into the same project, which can realize multiple peripheral device simulations at the same time.
步骤八、综合集成辅助测试工具,包含覆盖率测试工具(testbed软件)、静态分析工具(COBOT库博软件)、调试器、开发工具(LabView)等,在虚拟测试环境进行作战飞行软件黑盒测试的同时,也能够进行白盒测试,静态分析和软件质量度量等测试过程。Step 8. Comprehensively integrate auxiliary testing tools, including coverage testing tools (testbed software), static analysis tools (COBOT Kubo software), debuggers, development tools (LabView), etc., and conduct black-box testing of combat flight software in a virtual test environment At the same time, it is also able to conduct testing processes such as white box testing, static analysis and software quality measurement.
在以上基础上,构建ECS软件测试系统应用平台和搭建实验室,进行虚拟环境测试。On the basis of the above, build the ECS software testing system application platform and set up a laboratory for virtual environment testing.
本发明构建与环境控制系统软件(ECS软件)相关联的全数字化虚拟测试环境,分别由虚拟目标机、成员系统仿真器、故障注入及管理仿真器以及测试用例管理、分析设备等组成,本测试系统有如下特点。The present invention builds a fully digital virtual test environment associated with the environmental control system software (ECS software), which is composed of a virtual target machine, a member system simulator, a fault injection and management simulator, and test case management and analysis equipment. The system has the following characteristics.
a)在此虚拟测试环境或系统中,能够独立和充分完成环境控制系统机载软件配置项测试,不受飞管系统真实运行环境的影响;a) In this virtual test environment or system, it can independently and fully complete the test of the airborne software configuration items of the environmental control system, without being affected by the real operating environment of the flight tube system;
b)测试者无需依靠真实的ECS软件机载计算机设备(目标机)和真实的机载成员系统设备及环境激励设备;b) The tester does not need to rely on real ECS software airborne computer equipment (target machine) and real airborne member system equipment and environmental stimulus equipment;
c)采用该虚拟测试环境或系统,可以覆盖环境控制系统关联的所有成员系统要求的正常功能和异常及故障模式功能,测试结果具有确定性,选取的测试原理合理,不会出现测试结果无法判断的情况;c) The virtual test environment or system can cover the normal functions and abnormal and failure mode functions required by all member systems associated with the environmental control system. The test results are certain, the selected test principles are reasonable, and there will be no test results that cannot be judged. Case;
d)采用本方法构建的数字化或虚拟的测试环境或系统,能够充分测试或验证环境控制系统软件(ECS软件)功能设计的正确性及完整性。d) The digital or virtual test environment or system constructed by this method can fully test or verify the correctness and integrity of the functional design of the environmental control system software (ECS software).
最后需要指出的是:以上实施例仅用以说明本发明的技术方案,而非对其限制。尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be pointed out that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: they can still modify the technical solutions described in the aforementioned embodiments, or perform equivalent replacements for some of the technical features; and these The modification or replacement does not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711174021.5A CN108089975A (en) | 2017-11-22 | 2017-11-22 | A kind of method of constructing environment Control System Software virtual testing environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711174021.5A CN108089975A (en) | 2017-11-22 | 2017-11-22 | A kind of method of constructing environment Control System Software virtual testing environment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108089975A true CN108089975A (en) | 2018-05-29 |
Family
ID=62172189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711174021.5A Pending CN108089975A (en) | 2017-11-22 | 2017-11-22 | A kind of method of constructing environment Control System Software virtual testing environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108089975A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109799839A (en) * | 2018-12-24 | 2019-05-24 | 北京青云航空仪表有限公司 | A kind of automatic flight control assemblies |
CN110879769A (en) * | 2019-10-16 | 2020-03-13 | 中国航空工业集团公司洛阳电光设备研究所 | Embedded system test environment construction method based on dynamically configurable framework |
CN111176999A (en) * | 2019-12-25 | 2020-05-19 | 中国航空工业集团公司西安飞机设计研究所 | A test platform construction method and test method for UAV flight control management software |
CN111190821A (en) * | 2019-12-25 | 2020-05-22 | 中国航空工业集团公司西安飞机设计研究所 | Test platform construction method and test method of cabin door comprehensive management software |
CN113433848A (en) * | 2021-06-01 | 2021-09-24 | 中国航空工业集团公司沈阳飞机设计研究所 | Remote measurement and control method and system for airplane secondary energy test |
CN114902059A (en) * | 2019-12-09 | 2022-08-12 | 超威半导体公司 | Extended performance monitoring counter triggered by debug state machine |
CN115774663A (en) * | 2022-09-15 | 2023-03-10 | 江苏瑞蓝自动化设备集团有限公司 | Optimization method, device, equipment and storage medium of LabVIEW test system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968377A (en) * | 2012-12-13 | 2013-03-13 | 中国航空无线电电子研究所 | Virtual machine technique based airborne software system testing general platform |
KR20140073367A (en) * | 2012-12-06 | 2014-06-16 | 정승화 | city environment control infrastructure build system |
CN105045712A (en) * | 2015-07-15 | 2015-11-11 | 中国航空无线电电子研究所 | Test system for testing graphic processing module |
CN106354642A (en) * | 2016-08-29 | 2017-01-25 | 中国航空工业集团公司西安飞机设计研究所 | Onboard central maintenance system software testing method and its system |
-
2017
- 2017-11-22 CN CN201711174021.5A patent/CN108089975A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140073367A (en) * | 2012-12-06 | 2014-06-16 | 정승화 | city environment control infrastructure build system |
CN102968377A (en) * | 2012-12-13 | 2013-03-13 | 中国航空无线电电子研究所 | Virtual machine technique based airborne software system testing general platform |
CN105045712A (en) * | 2015-07-15 | 2015-11-11 | 中国航空无线电电子研究所 | Test system for testing graphic processing module |
CN106354642A (en) * | 2016-08-29 | 2017-01-25 | 中国航空工业集团公司西安飞机设计研究所 | Onboard central maintenance system software testing method and its system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109799839A (en) * | 2018-12-24 | 2019-05-24 | 北京青云航空仪表有限公司 | A kind of automatic flight control assemblies |
CN110879769A (en) * | 2019-10-16 | 2020-03-13 | 中国航空工业集团公司洛阳电光设备研究所 | Embedded system test environment construction method based on dynamically configurable framework |
CN110879769B (en) * | 2019-10-16 | 2024-01-26 | 中国航空工业集团公司洛阳电光设备研究所 | Method for constructing embedded system test environment based on dynamic configurable framework |
CN114902059A (en) * | 2019-12-09 | 2022-08-12 | 超威半导体公司 | Extended performance monitoring counter triggered by debug state machine |
CN111176999A (en) * | 2019-12-25 | 2020-05-19 | 中国航空工业集团公司西安飞机设计研究所 | A test platform construction method and test method for UAV flight control management software |
CN111190821A (en) * | 2019-12-25 | 2020-05-22 | 中国航空工业集团公司西安飞机设计研究所 | Test platform construction method and test method of cabin door comprehensive management software |
CN111176999B (en) * | 2019-12-25 | 2023-07-21 | 中国航空工业集团公司西安飞机设计研究所 | A test platform construction method and test method for UAV flight control management software |
CN113433848A (en) * | 2021-06-01 | 2021-09-24 | 中国航空工业集团公司沈阳飞机设计研究所 | Remote measurement and control method and system for airplane secondary energy test |
CN115774663A (en) * | 2022-09-15 | 2023-03-10 | 江苏瑞蓝自动化设备集团有限公司 | Optimization method, device, equipment and storage medium of LabVIEW test system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108089975A (en) | A kind of method of constructing environment Control System Software virtual testing environment | |
CN106354642A (en) | Onboard central maintenance system software testing method and its system | |
CN111190820B (en) | A configuration item test platform construction method and test method for display control software | |
CN108089976A (en) | A kind of method for building flight management system software virtual testing environment | |
Prisaznuk | ARINC 653 role in integrated modular avionics (IMA) | |
CN107992411A (en) | A kind of method for building task management system software virtual testing environment | |
CN111176999B (en) | A test platform construction method and test method for UAV flight control management software | |
CN106055728B (en) | A kind of civil aircraft flight control system mixes Heterogeneous simulation platform | |
CA2857923C (en) | Safety analysis of a complex system using component-oriented fault trees | |
US9508267B2 (en) | Configurable simulator with testing capabilities | |
CN107678958A (en) | A kind of method of testing for comprehensive parameters display system software | |
Cofer et al. | DO-333 certification case studies | |
CN109753430A (en) | A kind of interface test method of Ground Data Processing System | |
KR101976542B1 (en) | Method and system for controlling simulation via avionics simulation model | |
Ulbig et al. | Flight simulator-based verification for model-based avionics applications on multi-core targets | |
CN110941289A (en) | Engine high-altitude platform test flight control simulation device | |
CN108073157A (en) | A kind of method for building Cabin Pressure Control System application software virtual testing environment | |
CN111190821B (en) | A test platform construction method and test method for cabin door integrated management software | |
CN107273575A (en) | Towards the satellite task autonomous Design method and system of rapid response to customer's need | |
Morel | Model-based safety approach for early validation of integrated and modular avionics architectures | |
Song | The Test and Launch Control Technology for Launch Vehicles | |
Xu et al. | Cabin pressurization control system design of civil aircraft by model based systems engineering | |
Darwesh et al. | A demonstrator for the verification of the selective integration of the Flexible Platform approach into Integrated Modular Avionics | |
Block et al. | Automated test case generation for the verification of system and high-level software requirements for fly-by-wire platforms | |
Park et al. | Model-based concurrent systems design for safety |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180529 |