CN111880787A - Configuration development method for distributed IO (input/output) component of gas turbine control software - Google Patents

Configuration development method for distributed IO (input/output) component of gas turbine control software Download PDF

Info

Publication number
CN111880787A
CN111880787A CN202010716436.6A CN202010716436A CN111880787A CN 111880787 A CN111880787 A CN 111880787A CN 202010716436 A CN202010716436 A CN 202010716436A CN 111880787 A CN111880787 A CN 111880787A
Authority
CN
China
Prior art keywords
substation
configuration
gas turbine
file
control software
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
CN202010716436.6A
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.)
AECC Aero Engine Control System Institute
Original Assignee
AECC Aero Engine Control System Institute
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 AECC Aero Engine Control System Institute filed Critical AECC Aero Engine Control System Institute
Priority to CN202010716436.6A priority Critical patent/CN111880787A/en
Publication of CN111880787A publication Critical patent/CN111880787A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • 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]
    • 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/41835Total 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 programme execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25232DCS, distributed control system, decentralised control unit
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Manufacturing & Machinery (AREA)
  • Automation & Control Theory (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention relates to a configuration development method of a distributed IO component of gas turbine control software. Which comprises the following steps: step 1, classifying the unchangeable part in the gas turbine control software into a basic frame code; step 2, making the content to be adjusted into an interface and a data structure, and arranging the difference part into a parameter data item; step 3, selecting a corresponding substation on an IO configuration interface controlled by the gas turbine, and configuring corresponding parameter information according to the signal processing process of the substation; step 4, designing an XML data structure according to the extracted parameter items, converting the input of a user on an interface of an upper computer into a data file in an XML format and storing the data file; and 5, designing a T4 template file of the IO configuration according to the extracted parameter data items. According to the invention, a user can configure parameters of signals on an upper computer interface, so that the workload of software development is reduced, the programming threshold is reduced, and the quality and efficiency of software development control are improved.

Description

Configuration development method for distributed IO (input/output) component of gas turbine control software
Technical Field
The invention relates to a development method, in particular to a configuration development method of a distributed IO component of gas turbine control software.
Background
In the embedded software for controlling the gas turbine, an IO component is an interface component for controlling interaction of software and hardware, and generally relates to multiple functions related to signal processing, such as calibration of a sensor, BIT diagnosis, extreme value diagnosis, slope diagnosis, filtering, voting, jitter elimination and the like, and the quality and the speed of development of the IO component have great influence on the quality and the efficiency of the whole gas turbine control software.
In a distributed combustion engine numerical control system, a master-slave station design mode is generally adopted, namely the master station is responsible for collecting and collecting signal processing results of all slave stations and is used for combustion engine control. Each sub-station is designed in a modularized manner according to signal characteristics, and signals of the same type are intensively distributed in the same sub-station, such as an FSPM sub-station (for processing frequency quantity signals), an ADCM sub-station (for processing 4-20mA and thermal resistance signals), a TSPM sub-station (for processing thermocouple signals), a DIOM sub-station (for processing discrete quantity signals), and the like. Because the number of signals of each substation is large and the types of the signals are different, the traditional programming development has large workload, long period and easy error, and most importantly, the variable user requirements in the control process of the gas turbine are difficult to adapt.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a configuration development method of a distributed IO component of gas turbine control software, wherein a user can complete the signal processing related functions related to IO by configuring the parameters of signals on an upper computer interface, so that the workload of software development is reduced, the programming threshold is reduced, and the quality and the efficiency of the development of control software are improved.
According to the technical scheme provided by the invention, the configuration development method of the distributed IO component of the gas turbine control software comprises the following steps:
step 1, classifying the unchangeable part in the gas turbine control software into a basic framework code, wherein the basic framework code comprises a set of a c file and an h file with fixed content in a source code;
step 2, making the content to be adjusted into an interface and a data structure, and arranging the difference part into a parameter data item to be configured and generated by a user;
step 3, selecting a corresponding substation on an IO configuration interface controlled by the gas turbine, and configuring corresponding parameter information according to the signal processing process of the substation;
step 4, designing an XML data structure according to the extracted parameter items, converting the input of a user on an interface of an upper computer into a data file in an XML format and storing the data file;
and 5, designing a T4 template file of the IO configuration according to the extracted parameter data items, wherein the T4 template file is used as an intermediate product, and the IO parameter data item file can be quickly generated by combining data information stored by user configuration.
In step 3, the selected substation includes an FSPM substation, an ADCM substation, a TSPM substation, or a DIOM substation.
The invention has the advantages that: the control software is divided into a reusable basic frame code and a parameter data item code adapting to the change of user requirements, and the related development of the IO function of the control software can be rapidly completed through the hardware IO configuration on an upper computer interface, so that the problems of multiple signal types, large quantity and complex IO interface processing in the field of distributed gas turbine control are solved, the programming threshold is reduced, and the software quality and the development efficiency of a numerical control system are improved.
Drawings
FIG. 1 is a schematic diagram of a configuration development of the present invention.
FIG. 2 is a flow chart of the ADCM substation input signal processing.
Detailed Description
The invention is further illustrated by the following specific figures and examples.
As shown in FIG. 1, in the IO configuration development process of the distributed combustion engine, a reusable basic framework and a parameter item which needs to be configured by a user are identified, then the parameter data item is designed into an independent data structure, after the user configures parameter information related to IO on an upper computer interface, an upper computer IO configuration tool automatically converts the parameter item into a data file in an XML format and a T4 template file, when the user clicks a generated code on the upper computer, the configuration information can automatically generate the parameter data item in a specified style, and the parameter data item and the basic framework code are combined to complete the configuration development of the IO function of the control software. The method comprises the following specific steps:
step 1, abstracting the unchangeable part in the gas turbine control software and generalizing the unchangeable part into a basic framework code. The basic framework is a set of files c and h with fixed content in source codes, is suitable for all projects under the distributed architecture, and is divided into two parts, namely a substation basic framework and a main station IO part basic framework.
In the embodiment of the present invention, the process of extracting and summarizing the invariant part in the fuel control software to obtain the basic framework code is well known to those skilled in the art, and is not described herein again. Specifically, a basic framework of the IO part of the master station is mainly a CDL module, the CDL module receives data communicated from all substations, completes communication unpacking and redundancy signal voting, and finally puts a voted result into a specified data structure for use by other modules. The specific form and function of the CDL module are well known in the art and will not be described herein.
For each substation basic framework, firstly identifying which signal processing functions need to be completed by the substation; then designing a related data structure to realize related functional logic; finally, the processed result is communicated to the master station, that is, the basic framework of the substation is specifically related to the specific functions of the substation, which is well known to those skilled in the art and will not be described herein again.
And 2, induction and extraction of parameter data items. According to hardware characteristics and system functions, contents which can be changed by users on all the substations are made into interfaces and data structures, and the data items are uniformly placed in the ddm _ cfg module, so that automatic generation by an upper computer tool is facilitated in the future.
The parameter items summarized by the variable information of each substation are arranged as follows:
the FSPM substation comprises a channel ID, a BIT fault judging mode, a BIT minimum/maximum threshold, a BIT fault judging period and a recovery period, a sound wheel tooth number, a reduction ratio, a rated rotating speed, an extreme value fault judging mode, a minimum value, a maximum value, an extreme value fault judging confirmation and recovery period, a slope fault judging mode, a slope threshold, a slope fault judging confirmation and recovery period, a filter mode, a filter coefficient, whether validity confirmation is carried out or not, a validity threshold and confirmation time, a communication shift digit, a shift offset and the like.
ADCM and TSPM substations: channel ID, BIT fault mode, BIT min/max threshold, BIT fault cycle and recovery cycle, calibration curve ID, calibration curve address, extremum fault mode, minimum, maximum, extremum fault validation and recovery cycle, slope fault mode, slope threshold, slope fault validation and recovery cycle, filtering mode, filtering coefficients, number of communication shift BITs, shift offset, etc.
And (3) DACM substation: channel ID, BIT fault mode, BIT minimum/maximum threshold, BIT fault cycle and recovery cycle, voltage output and extraction difference, etc. The DACM substation is mainly responsible for the output of analog quantities.
DIOM sub-station: entering channel ID, entering whether BIT check, entering whether jitter is eliminated, jitter elimination confirmation and recovery period, exiting channel ID, exiting whether BIT check, BIT fault judgment confirmation and recovery period, etc. The DIOM substation is responsible for the input and output of switching values.
Taking the ADCM substation as an example, in addition to curve parameters such as calibration relationship, in order to adapt to variable user requirements, any variable content related to signal processing is made into an interface and packaged in two structures, namely AiBitInfo and CHANNELINFO. The user generates an instance of these two structures after the interface is configured.
The functions of the specific sub-stations and the implementation of the functions of the specific sub-stations are well known to those skilled in the art, and the specific process of making the content into the structure and the data structure is well known to those skilled in the art, and will not be described herein again.
And 3, configuring the IO configuration of the hardware of the upper computer. The configuration upper computer can distinguish different substation types, and after the corresponding substation is selected, corresponding parameter information can be configured according to different signal processing processes, so that the operation of a user is facilitated.
In the embodiment of the invention, the substation type of the signal is selected on the configuration computer, and because the signal types on different substations are different, the corresponding basic framework and the corresponding signal processing logic are also different. Then, basic information such as the number of configuration signals, channel variable names, whether to map to codes, units, input/output, default values, and channel descriptions is considered. Finally, corresponding parameters are configured according to the signal types.
Specifically, 1), for the switching value input signal, it is necessary to configure whether BIT detection is performed, whether jitter is eliminated, a jitter elimination confirmation period and a recovery period, and whether inverse logic is performed.
2) And for the switching value output signal, whether BIT disconnection detection, BIT online detection, BIT overcurrent detection and fault confirmation period and recovery period of each detection are required to be configured.
3) For analog input signals, BIT, extreme values, a diagnosis mode of slope, corresponding diagnosis threshold values, confirmation and recovery periods of each diagnosis, calibration information, small closed loop information and the like are required to be configured.
4) For the frequency quantity input signal, BIT, an extreme value, a diagnosis mode of a slope, a corresponding diagnosis threshold, a confirmation and recovery period of each diagnosis, the number of teeth of a sound wheel, a reduction ratio, whether validity confirmation is carried out or not, a confirmation threshold and confirmation time are required to be configured.
5) For the analog quantity output signal, information such as a BIT diagnosis mode, BIT confirmation and recovery time, upper and lower limits for shielding BIT diagnosis, BIT minimum and maximum values, voltage output and extraction difference values and the like also needs to be configured.
And 4, designing an XML data structure. And designing an XML data structure according to the extracted parameter items and the upper computer parameter configuration interface, and storing the parameters configured by the user on the upper computer in the form of XML data.
In the embodiment of the invention, an xsd file is designed according to the hierarchical relationship of the substation type- > configuration tag page- > configuration information column, and is used for mapping and checking XML data. XML is a common data storage language, is easy to read and write in any program, and has many design and implementation methods. Through XML storage, the data structure can be conveniently recorded, so that the subsequent processing is convenient, and of course, the data structure can be recorded through other modes such as a database and the like. The specific process of designing an XML data structure is well known in the art and will not be described herein.
And step 5, designing a T4 (Text Template Transformation Toolkit) Template. Designing a T4 template file of the IO configuration according to the extracted parameter data items, wherein the T4 template file comprises three basic structures: an instruction block, a text block, and a control block. The T4 template file contains self-defined code generation rules, and source code files meeting project requirements and coding specifications can be generated according to different service models and requirements. The file serves as an intermediate product, and the ddm _ cfg.c and ddm _ cfg.h files can be automatically generated by combining XML data information stored by user configuration. After the method is combined with the integrated framework code, the development of all IO part control software is completed. The specific process of designing the T4 template is well known to those skilled in the art and will not be described herein.
Examples
By means of a configuration development platform of a certain gas turbine control system, a certain numerical control system completes configuration development of IO components by using the scheme. As shown in fig. 2, taking ADCM1 as an example, first, a user selects ADCM1 (2 ADCM-type substations in the project) in the "hardware IO configuration" tab of the host computer; each row in the subsequent label page represents a hardware signal, which is configured, for example, by the CA01 signal, as follows: configuring the channel ID of the channel in a row with a channel ID of 14, changing 'whether to map' a pick-up hook, 'changing a channel variable name' into CA01, 'setting a default value' as 0, and selecting a unit as kPa; in the extreme value diagnosis, the diagnosis mode is set as EX _ BIT _ TWO, the minimum value is set as-62.5, the maximum value is set as 500, and the extreme value confirmation and recovery time is set as 5 and 10 cycles, respectively. Similarly, after the contents of the tab pages such as "slope filtering", "BIT diagnosis", and "calibration information" are configured, the configuration of the CA01 signal on the ADCM1 is completed. By analogy, all sensor signals on ADCM1 are configured, and IO configuration of one substation can be completed.
After all the substations are configured, codes on a menu bar of an upper computer are clicked to generate, and then codes of all the substations and CDL modules related to IO configuration in the main station can be completely generated.

Claims (2)

1. A configuration development method of distributed IO components of gas turbine control software is characterized by comprising the following steps:
step 1, classifying the unchangeable part in the gas turbine control software into a basic framework code, wherein the basic framework code comprises a set of a c file and an h file with fixed content in a source code;
step 2, making the content to be adjusted into an interface and a data structure, and arranging the difference part into a parameter data item to be configured and generated by a user;
step 3, selecting a corresponding substation on an IO configuration interface controlled by the gas turbine, and configuring corresponding parameter information according to the signal processing process of the substation;
step 4, designing an XML data structure according to the extracted parameter items, converting the input of a user on an interface of an upper computer into a data file in an XML format and storing the data file;
and 5, designing a T4 template file of the IO configuration according to the extracted parameter data items, wherein the T4 template file is used as an intermediate product, and the IO parameter data item file can be quickly generated by combining data information stored by user configuration.
2. The configuration development method of the distributed IO component of the gas turbine engine control software as claimed in claim 1, wherein: in step 3, the selected substation includes an FSPM substation, an ADCM substation, a TSPM substation, or a DIOM substation.
CN202010716436.6A 2020-07-23 2020-07-23 Configuration development method for distributed IO (input/output) component of gas turbine control software Pending CN111880787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010716436.6A CN111880787A (en) 2020-07-23 2020-07-23 Configuration development method for distributed IO (input/output) component of gas turbine control software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010716436.6A CN111880787A (en) 2020-07-23 2020-07-23 Configuration development method for distributed IO (input/output) component of gas turbine control software

Publications (1)

Publication Number Publication Date
CN111880787A true CN111880787A (en) 2020-11-03

Family

ID=73154660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010716436.6A Pending CN111880787A (en) 2020-07-23 2020-07-23 Configuration development method for distributed IO (input/output) component of gas turbine control software

Country Status (1)

Country Link
CN (1) CN111880787A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732243A (en) * 2021-01-11 2021-04-30 京东数字科技控股股份有限公司 Data processing method and device for generating functional component

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080114902A1 (en) * 2006-11-09 2008-05-15 Keen Hun Leong I/O module with embedded configuration software for industrial applications
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
CN107545195A (en) * 2017-09-11 2018-01-05 浙江大学 A kind of encrypted master application development frameworks and method
CN111026451A (en) * 2019-10-31 2020-04-17 许昌许继软件技术有限公司 Parameter configuration method and configuration tool for transformer substation terminal interval

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080114902A1 (en) * 2006-11-09 2008-05-15 Keen Hun Leong I/O module with embedded configuration software for industrial applications
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
CN107545195A (en) * 2017-09-11 2018-01-05 浙江大学 A kind of encrypted master application development frameworks and method
CN111026451A (en) * 2019-10-31 2020-04-17 许昌许继软件技术有限公司 Parameter configuration method and configuration tool for transformer substation terminal interval

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
微软公司: "《数据库访问技术 ADO.NET程序设计》", 29 February 2004 *
李晓磊: "燃机通用IO组态工具软件代码生成技术研究", 《第十届轻型燃气轮机学术交流会》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732243A (en) * 2021-01-11 2021-04-30 京东数字科技控股股份有限公司 Data processing method and device for generating functional component

Similar Documents

Publication Publication Date Title
CN106980560B (en) ICD database based multi-bus protocol testing and simulating method and platform
CN100520649C (en) Program creating device for programmable controller, program creating method for programmable controller, and recording medium
WO2005107416A2 (en) Methods and apparatus for modifying process control data
US7587687B2 (en) System and method for incremental synthesis
CN104102510B (en) Integration and configuration system for IEC (international electrotechnical commission) 61850 network processor chips
CN111400387B (en) Conversion method and device for import and export data, terminal equipment and storage medium
CN112068808B (en) General processing system for multi-bus data conversion of avionics system
CN105830417A (en) A method and a system for replacing and commissioning of a field device
CN111581082B (en) Vehicle-mounted controller test script generation device and method
CN116126443A (en) Method and system for dynamically configuring electronic experiment record and report
CN104657554B (en) A kind of rocket threedimensional model design information quick extraction system
CN114880240A (en) Automatic testing system and method for Internet of things equipment, storage medium and equipment
CN111880787A (en) Configuration development method for distributed IO (input/output) component of gas turbine control software
CN116049974A (en) Aircraft alarm logic design and simulation system and design and simulation method
CN111158662B (en) Method for designing MSCAN communication by using LabVIEW
CN114513410A (en) Method and system for equipment to rapidly access Internet of things platform
CN102937910B (en) System and method for cross-platform conversion of control algorithms
CN104679740B (en) Data handling system
CN109683865A (en) EMU vehicle-mounted control software generation system and method
CN112631585B (en) XML-based rapid parameter interface configuration method
CN108062223A (en) A kind of method and device to establish a connection between Simulink models
CN113485879A (en) Labview-based automatic testing method for calling vivado-tcl script
CN105447279A (en) Intelligent tolerance specification design method for geometric products and visual tolerance annotation system
CN113568601B (en) Model software automatic integration and dynamic and static verification method based on integrated configuration file
CN113515485B (en) Automatic generation method of RTL code of SoC chip control register module

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: 20201103