CN103077039B - A kind of embedded industrial control instrument Software Development Platform - Google Patents

A kind of embedded industrial control instrument Software Development Platform Download PDF

Info

Publication number
CN103077039B
CN103077039B CN201310063525.5A CN201310063525A CN103077039B CN 103077039 B CN103077039 B CN 103077039B CN 201310063525 A CN201310063525 A CN 201310063525A CN 103077039 B CN103077039 B CN 103077039B
Authority
CN
China
Prior art keywords
layer
code
product
industrial control
control instrument
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.)
Active
Application number
CN201310063525.5A
Other languages
Chinese (zh)
Other versions
CN103077039A (en
Inventor
林瑞忠
张善明
钟彬龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUZHOU CHANGHUI AUTOMATION SYSTEM Co Ltd
Original Assignee
FUZHOU CHANGHUI AUTOMATION SYSTEM Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FUZHOU CHANGHUI AUTOMATION SYSTEM Co Ltd filed Critical FUZHOU CHANGHUI AUTOMATION SYSTEM Co Ltd
Priority to CN201310063525.5A priority Critical patent/CN103077039B/en
Publication of CN103077039A publication Critical patent/CN103077039A/en
Application granted granted Critical
Publication of CN103077039B publication Critical patent/CN103077039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of embedded industrial control instrument Software Development Platform, including hardware driving layer, system platform dispatch layer, products application layer and product customization layer, hardware driving layer and system platform dispatch layer constitute platform core layer, products application layer and product customization layer and constitute gas producing formation;Hardware driving layer includes the driving code of industrial control instrument related hardware module, system platform dispatch layer includes embedded OS basic management and running function and the code of industrial control instrument basic handling function, products application layer includes the relevant common code of industrial control instrument variety classes product, and product customization layer includes each custom code for different specific products;The code of hardware driving layer and system platform dispatch layer is compiled is packaged into LIB library file, for products application layer and the code call of product customization layer.This Software Development Platform is advantageously implemented the standardization of product development, standardization and collaborative, Speeding up development efficiency, improves development resources utilization rate, reduces development and maintenance cost.

Description

A kind of embedded industrial control instrument Software Development Platform
Technical field
The present invention relates to embedded industrial control instrument technical field of software development, a kind of Software Development Platform being applicable to embedded industrial control instrument based on the exploitation of ARM CORTEX-M3/M4 processor.
Background technology
Domestic industry control digital displaying meter was developed so far from the end of the eighties, from foreign imitation instrument to autonomous innovation, and successfully substitute import instrument, product progresses into the period of maturation, along with increasing of development & production enterprise, customer demand focused on function specialization, the personalized customization higher requirement of proposition to focusing on brand, service, product quality development, to instrument design from the past.
If past industry control digital displaying meter can realize signals collecting, LED shows, Control, simulation output, communication function, add the support of pid control algorithm, flow algorithms, substantially just can meet the requirement of user.Along with the progress of technology, the upgrading that Client application requires, it is stepped up the functional requirements such as LCD shows, low-power consumption is energy-conservation, strong anti-interference, wireless networking, NET networking, USB support, particular algorithm support, multiloop regulation control.For improving product competitiveness, improving product cost, enterprise development requires to be reduced by software or reduced the demand to hardware, simplifies production technology and maintenance flow.Software development is had higher requirement by these demands.
Industry control digital displaying meter mainly uses 51 single-chip microcomputers of 8 and part 16 bit CPU to realize in early days, along with the increase constantly reducing and realizing sophisticated functions demand of 32 ARM chip prices, uses 32 machines exploitation industry control digital displaying meters will be increasingly becoming main flow.At present, using the ARM chip of up-to-date CORTEX-M3/M4 series to do primary processor in somewhat complicated instrument exploitation, its cost performance has surmounted 51 series monolithics, and its least cost is less than 1 dollar, but integrated resource, the speed of service have surmounted 51 single-chip microcomputers significantly.Therefore, in the product development of the most relatively sophisticated functions, use this series CPU will the function of improving product and cost performance further, but also make the complexity of new product designs be continuously increased.
The software development of industry control digital displaying meter in early days is mainly by key technical staff's single complete independentlies in whole development process several in company, its design source code, technology and experience are mainly collected in several backbones, the most once product goes wrong, and other developers are difficult to get involved.Chip used different plus each one, developing instrument, translation and compiling environment are the most different, even if also being difficult between technical backbone to get involved in the product development of other people design, and the successful experience of individual others also cannot be carried out replicating, promoting.Once occur that personnel, follow-up research and development of products and maintenance will expend huge resource and loss.Therefore, along with improving constantly of product design complexity, this development mode is difficult to meet requirement, instrument exploitation enterprise in the urgent need to can quickly, high-quality, the exploitation new model efficiently met customer need, if multi-person synergy exploitation, management can be realized, the R&D cycle of product will be greatly shortened.And in view of factors such as confidentiality, structural intergrity, coding styles between distinct program person, how to realize convenient technology and be multiplexing into a problem demanding prompt solution.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, thering is provided a kind of embedded industrial control instrument Software Development Platform, this Software Development Platform is advantageously implemented the standardization of product development, standardization and collaborative, Speeding up development efficiency, improve development resources utilization rate, reduce development and maintenance cost.
For achieving the above object, the technical scheme is that a kind of embedded industrial control instrument Software Development Platform, including hardware driving layer, system platform dispatch layer, products application layer and product customization layer, described hardware driving layer and system platform dispatch layer constitute platform core layer, described products application layer and product customization layer and constitute gas producing formation;Described hardware driving layer includes the driving code of industrial control instrument related hardware module, described system platform dispatch layer includes being correlated with for the kernel software of industrial control instrument exploitation the code of management and running function, described products application layer includes that the common code that various tandem product is corresponding, described product customization layer include the custom code that in tandem product, each specific product is corresponding;
The code of described hardware driving layer is compiled is packaged into Driver Library file, for gas producing formation by the way of function call, the code of described system platform dispatch layer is divided into can be compiled into LIB storehouse and cannot be compiled into LIB storehouse two parts, the code in LIB storehouse can be compiled into also be compiled into scheduling library file and call for gas producing formation, the code in LIB storehouse cannot be compiled into, it is supplied to gas producing formation with the form of source code, uses the method for function register or message driving mechanism to be scheduling management.
nullCompared with prior art,The invention has the beneficial effects as follows and construct a collection private library for industrial control instrument exploitation、Driver Library、The Software Development Platform of the one such as algorithms library and management and running,By these platform development series of products,Be conducive to improving the standardization of product development、Standardization、Generalization and collaborative,Form a kind of development mode played with building blocks,It is possible not only to improve the efficiency of research and development of later product,Ensure that product quality constantly promotes on early stage product,And rate of code reuse can be improved,Reduce overlapping development work,Improve the utilization rate of development resources,Dramatically reduce the workload of research staff,Make research staff can be concentrated on by energy in the exploitation of Client application function,Instrument product is made to develop to high-endization,Involve in the field that external instrument occupies,It it is the application reduction cost of every profession and trade while improving product class.In addition, this Software Development Platform makes many people research and develop parallel to be possibly realized, the exploitation making new product is transitioned into team from individual development module and works in coordination with hierarchical-development, decreases the product development degree of dependence to monotechnics personnel, greatly reduces product development and later maintenance cost.
Accompanying drawing explanation
Fig. 1 be the embodiment of the present invention realize theory diagram.
Detailed description of the invention
The present invention embedded industrial control instrument Software Development Platform, as shown in Figure 1, divide four layers of design, including hardware driving layer, system platform dispatch layer, products application layer and product customization layer, described hardware driving layer and system platform dispatch layer constitute platform core layer, described products application layer and product customization layer and constitute gas producing formation;Described hardware driving layer includes the driving code of industrial control instrument related hardware module, described system platform dispatch layer includes being correlated with for the kernel software of industrial control instrument exploitation the code of management and running function, described products application layer includes the common code that various tandem product is corresponding, described product customization layer includes the custom code that in tandem product, each specific product is corresponding, utilizes this layer to realize the fast custom of product.
Products application layer is for the common code of the different types of tandem product of hardware designs, form the standardized product function for variety classes product, the specific requirement according to each product on the basis of standardized product function of product customization layer designs corresponding custom code, it is achieved the differentiation programming of tandem product.The main mode using lattice of filling in a form of exploitation of products application layer is designed, and system platform dispatch layer carries out the scheduling of corresponding function according to the information of form, decreases the encoding amount of later development, had both accelerated development rate, and had improve again the reliability of software design.
The code of described hardware driving layer is compiled is packaged into Driver Library file, for gas producing formation by the way of function call, the code of described system platform dispatch layer is divided into can be compiled into LIB storehouse and cannot be compiled into LIB storehouse two parts, the code in LIB storehouse can be compiled into also be compiled into scheduling library file and call for gas producing formation, the code in LIB storehouse cannot be compiled into, it is supplied to gas producing formation with the form of source code, uses the method for function register or message driving mechanism to be scheduling management.
System platform dispatch layer is set, it it is the exploitation in order to simplify products application layer, the place that each product software is designed with general character is extracted, carry out unified management and running, make products application layer only be absorbed in the functional development of product, reduce application layer code amount, and the scheduling of system and reliability management are completed by system platform dispatch layer, make product development personnel need not the product that the highest programming levels just can be designed reliably, function is complicated, shorten product development cycle, simplify later maintenance.Whole system dispatching platforms layer is divided into again 2 parts, relation due to compiling, some code in close relations with products application layer cannot be compiled into lib storehouse and use, this partial scheduling code is placed in the USER catalogue of system platform dispatch layer, use #include order to be supplied to products application layer in the way of source code, use the method for function register or message driving mechanism to realize the management and running (make application layer be absorbed in and consider functional design) of code.Require that untight code is then compiled into lib storehouse with the compiling of products application layer, call for application layer in the way of function call.
When carrying out industrial control instrument product program development, at hardware driving layer, each industrial control instrument product is provided with a corresponding configuration file, define the type configuration relevant with hardware and pin definition, driving code each industrial control instrument product to share, compiler carries out cutting according to configuration file and generates corresponding Driver Library file;At system platform dispatch layer, all industrial control instrument product common source codes, the configuration file generation according to hardware driving layer scheduling library file after cutting compiles is submitted to the program of gas producing formation together with corresponding Driver Library file and is compiled link, generates final product program burn writing code.
This platform also includes the startup code guided and program upgrading updates for industrial control instrument start, when programming program in industrial control instrument product, the space that described startup code programming starts in address, program area 0, the program space that other code programmings start at 0x1000, the segment space utilizing end, chip program district preserves the memory space of parameter as power down, eliminates the parameter power down storage chip that CPU extends out.
nullThe embedded industrial control instrument Software Development Platform of the present invention,All of for gas producing formation variable is divided into four classes: account for the dynamic parameter of CPU ram space、Account for the secondary parameters in program FLASH space、Account for program FLASH space and more new procedures impregnable adjustment parameter and need power down to store the power down storage running parameter of the RAM variable in FLASH,For the data reliable memory under the various abnormal conditions of guarantee (as storage occurs the process of power-down conditions,The process that definition space overflows,The protection of parameter communication read-write processes、The automatic adjustment etc. at read-write sequence interval after cpu clock change),When carrying out industrial control instrument product program development,Various variable dispatch deal algorithms are designed in system platform dispatch layer、Debugging completes,Gas producing formation carries out parameter definition just for the corresponding construction body of described four class variables、Application,As to how preserve、Scheduling need not be concerned about,Greatly facilitate the exploitation of later product.Personnel newly developed are avoided to cause the generation of the phenomenons such as product data memory loss, spilling because lacking experience.
In the preferred embodiment, above-mentioned hardware driving layer includes the driving code of CPU, storage chip, AD sampling A/D chip, DA pio chip, relay, LED charactron, LCD screen, touch screen, OLED screen, button, buzzer, interrupt module, RTC, house dog, mixed-media network modules mixed-media, USB, iic bus, spi bus, CAN, zigbee module, UART, I/O module, intervalometer, Low-power-consumptiodormancy dormancy module and special chip etc..
Said system dispatching platforms layer include parameter storage scheduling and arrange management, AD sampling schedules, DA output scheduling, serial communication scheduling, LED or LCD picture display scheduling (as long as application layer define frame numbers, the display content of each picture.The functions such as the switching of picture, refreshing are dispatched by software desk Implementation), keystroke handling, controlling alarm, Clock management, communications protocol scheduling, Timing Processing scheduling, software watchdog scheduling, low-power consumption management, dormancy awakening scheduling, PID regulation controls, flow accumulation, electrician's measurement, program upgrading, operating right management, record and code that form, input method management, printout, picture configuration control, general purpose function call.
The said goods application layer includes the relevant common code for variety classes products such as electric instrument, guard grating isolator, flow instrument, manometer, temperature control instrument, level meter, digital displaying meter, pick-up instrument, recording instrument without paper.
Invention software development platform is applicable to the software development of embedded industrial control instrument based on the exploitation of ARM CORTEX-M3/M4 processor.The design in the compiling system support program storehouse of 32 machines, program code area can carry out erasable by programming, these new features are that the design of invention software development platform realizes providing technology guarantee, other 32 ARM chips use unified instruction system, the IC of same serial tens kinds of different resources configuration, under number of pins same case, its pin definitions is also compatible with, and this replaces for chip, function upgrading provides great convenience, so that the present invention has the strongest Practical significance.
It is above presently preferred embodiments of the present invention, all changes made according to technical solution of the present invention, when produced function is without departing from the scope of technical solution of the present invention, belong to protection scope of the present invention.

Claims (7)

1. an embedded industrial control instrument software development system, it is characterised in that: include that hardware driving layer, system platform are dispatched Layer, products application layer and product customization layer, described hardware driving layer and system platform dispatch layer constitute platform core layer, described product Product application layer and product customization layer constitute gas producing formation;Described hardware driving layer includes the driving generation of industrial control instrument related hardware module Code, described system platform dispatch layer includes being correlated with for the kernel software of industrial control instrument exploitation the code of management and running function, described Products application layer include the common code that various tandem product is corresponding, described product customization layer include in tandem product each specifically The custom code that product is corresponding;
The code of described hardware driving layer is compiled is packaged into Driver Library file, for gas producing formation by the way of function call, The code of described system platform dispatch layer is divided into can be compiled into LIB storehouse and cannot be compiled into LIB storehouse two parts, can be compiled into LIB The code in storehouse also by the mode of function call for gas producing formation, it is impossible to be compiled into the code in LIB storehouse, with the shape of source code Formula is supplied to gas producing formation, uses the method for function register or message driving mechanism to be scheduling management;
All of for gas producing formation variable is divided into four classes: account for the dynamic parameter in CPURAM space, account for program FLASH space Secondary parameters, account for program FLASH space and more new procedures impregnable adjustment parameter and need power down to store FLASH In the power down storage running parameter of RAM variable, when carrying out industrial control instrument product program development, by various variable dispatch deals Algorithm designs in system platform dispatch layer, has debugged, and gas producing formation is joined just for the corresponding construction body of described four class variables Number definition, application.
One the most according to claim 1 embedded industrial control instrument software development system, it is characterised in that: carry out industry control During instrument product program development, at hardware driving layer, each industrial control instrument product is provided with a corresponding configuration file, definition The type configuration relevant with hardware and pin definition, drive code each industrial control instrument product to share, and compiler is raw according to configuration file Become corresponding Driver Library file;At system platform dispatch layer, all industrial control instrument product common source codes, according to hardware driving layer Configuration file generate the scheduling library file after cutting compiles and submit to the journey of gas producing formation together with corresponding Driver Library file Sequence is compiled link, generates final product program burn writing code.
One the most according to claim 1 embedded industrial control instrument software development system, it is characterised in that: this platform is also Including the startup code guided for industrial control instrument start and program upgrading updates, when programming program in industrial control instrument product, The space that described startup code programming starts in address, program area 0, the program space that other code programmings start at 0x1000, The segment space utilizing end, chip program district preserves the memory space of parameter as power down.
One the most according to claim 1 embedded industrial control instrument software development system, it is characterised in that: described hardware Drive layer include CPU, storage chip, AD sampling A/D chip, DA pio chip, relay, LED charactron, LCD screen, Touch screen, OLED screen, button, buzzer, interrupt module, RTC, house dog, mixed-media network modules mixed-media, USB, iic bus, Spi bus, CAN, zigbee module, UART, I/O module, intervalometer, the driving generation of Low-power-consumptiodormancy dormancy module Code.
One the most according to claim 1 embedded industrial control instrument software development system, it is characterised in that: described system Dispatching platforms layer include parameter storage scheduling and arrange management, AD sampling schedules, DA output scheduling, serial communication dispatch, The scheduling of picture display scheduling, keystroke handling, controlling alarm, Clock management, communications protocol, Timing Processing scheduling, software are guarded the gate Canis familiaris L. scheduling, low-power consumption management, dormancy awakening scheduling, PID regulation controls, flow accumulation, electrician's measurement, program upgrade, The code that operating right management, record and form, input method management, printout, picture configuration control, general purpose function call.
One the most according to claim 1 embedded industrial control instrument software development system, it is characterised in that: include for Electric instrument, guard grating isolator, flow instrument, manometer, temperature control instrument, level meter, digital displaying meter, transmission device Table, the relevant common code of recording instrument without paper.
One the most according to claim 1 embedded industrial control instrument software development system, it is characterised in that: described product The method of application layer support definition tables realizes communication, the functional design of display picture, to reduce the encoding amount of later development.
CN201310063525.5A 2013-02-28 2013-02-28 A kind of embedded industrial control instrument Software Development Platform Active CN103077039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310063525.5A CN103077039B (en) 2013-02-28 2013-02-28 A kind of embedded industrial control instrument Software Development Platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310063525.5A CN103077039B (en) 2013-02-28 2013-02-28 A kind of embedded industrial control instrument Software Development Platform

Publications (2)

Publication Number Publication Date
CN103077039A CN103077039A (en) 2013-05-01
CN103077039B true CN103077039B (en) 2016-08-24

Family

ID=48153577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310063525.5A Active CN103077039B (en) 2013-02-28 2013-02-28 A kind of embedded industrial control instrument Software Development Platform

Country Status (1)

Country Link
CN (1) CN103077039B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090776A (en) * 2014-07-24 2014-10-08 北京全路通信信号研究设计院有限公司 Software development method and system
CN109144491B (en) * 2017-06-27 2023-09-29 中兴通讯股份有限公司 Development platform for single chip microcomputer
CN109101232B (en) * 2018-06-08 2024-03-12 中国平安人寿保险股份有限公司 Method, device, computer equipment and storage medium for product development
CN109857405A (en) * 2019-02-02 2019-06-07 Oppo广东移动通信有限公司 Compilation Method, device, storage medium and the terminal of application program installation kit
CN110851138A (en) * 2019-11-06 2020-02-28 山东超越数控电子股份有限公司 BMC software development method for separating kernel and application
CN111061460B (en) * 2019-12-13 2023-09-29 杭州中恒电气股份有限公司 Universal software development platform based on embedded system
CN111210516B (en) * 2019-12-30 2023-04-18 成都赫尔墨斯科技股份有限公司 Software platform for integrated display control of avionics equipment
CN111722870B (en) * 2020-06-10 2023-05-02 中国第一汽车股份有限公司 Driving configuration method, device and equipment of electronic control unit and storage medium
CN113032002B (en) * 2021-03-31 2024-02-27 广东正芯智能微电子有限公司 Intelligent universal development platform for embedded chip

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826014A (en) * 2010-04-20 2010-09-08 北京邮电大学 Dividing method of source code in software engineering
CN102779047A (en) * 2012-07-09 2012-11-14 哈尔滨工程大学 Embedded software support platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030135842A1 (en) * 2002-01-16 2003-07-17 Jan-Erik Frey Software development tool for embedded computer systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826014A (en) * 2010-04-20 2010-09-08 北京邮电大学 Dividing method of source code in software engineering
CN102779047A (en) * 2012-07-09 2012-11-14 哈尔滨工程大学 Embedded software support platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MultiF仪表嵌入式系统软件平台的构建;陈丽君等;《2005第六届工业仪表与自动化学术会议》;20060622;第76-79页 *
工业自动化仪表嵌入式软件系统构建方法研究;黄奇;《中国优秀硕士学位论文全文数据库 信息科技辑》;20090615(第6期);第I140-247页 *

Also Published As

Publication number Publication date
CN103077039A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
CN103077039B (en) A kind of embedded industrial control instrument Software Development Platform
CN103838706A (en) Flexible management information system with process and form customization function
CN105719126B (en) system and method for scheduling Internet big data tasks based on life cycle model
Liang et al. Energy efficient production planning and scheduling problem with processing technology selection
CN101604241A (en) A kind of code generating method of embedded system
CN111414409A (en) Data exchange method and device between game engines, storage medium and electronic equipment
CN102938129A (en) Routing management method of electricity information machine accounts
CN101894039A (en) Auxiliary generating method and system for embedded device driver
CN105068860A (en) Linux coal cutter management host system based on ARM
CN109446494A (en) A kind of water utilities calculation method based on Report Engine
CN103631763A (en) Multi-people cooperation type large-size document editing device and method
CN109242196A (en) Water consumption amount prediction technique and device
CN102087609A (en) Dynamic binary translation method under multi-processor platform
CN102289428A (en) Method and device for generating forms in bulk
CN115619160A (en) Intelligent scheduling method, system and equipment for industrial production based on Internet of things
CN104391731A (en) Editing method based on C# and irrelevant to data types
CN101373444A (en) Exposing system topology to the execution environment
CN105573763A (en) Embedded system modeling method supporting RTOS
CN105207215B (en) A kind of electric load dispatch control method
CN102393820A (en) Logical implementation method for controlling building monitoring system
CN101894317A (en) System and method for driving business logic through data changes
CN101499971B (en) Service network performance optimization system
CN115471215B (en) Business process processing method and device
CN105138332A (en) Realizing method and device for state machine
Zou et al. Cost optimization in the construction of prefabricated buildings by using BIM and finite element simulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant