CN106873465A - A kind of ship alarm control system - Google Patents

A kind of ship alarm control system Download PDF

Info

Publication number
CN106873465A
CN106873465A CN201710178118.7A CN201710178118A CN106873465A CN 106873465 A CN106873465 A CN 106873465A CN 201710178118 A CN201710178118 A CN 201710178118A CN 106873465 A CN106873465 A CN 106873465A
Authority
CN
China
Prior art keywords
module
communication interface
controller
interface modules
control system
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.)
Granted
Application number
CN201710178118.7A
Other languages
Chinese (zh)
Other versions
CN106873465B (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.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201710178118.7A priority Critical patent/CN106873465B/en
Publication of CN106873465A publication Critical patent/CN106873465A/en
Application granted granted Critical
Publication of CN106873465B publication Critical patent/CN106873465B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses a kind of ship alarm control system, including host computer and controller, host computer includes the first communication interface modules and program configuration module, first communication interface modules is connected with program configuration module, program configuration module is used for according to default script generation strategy, match somebody with somebody in the loading process from the electronic form file that editor completes in advance and postpone, generation controlling alarm script file, controller includes the second communication interface modules and script running module, script running module is used for after controlling alarm script file is obtained, parse and run controlling alarm script file, monitor the interface variables and alarm condition of ship equipment, host computer and controller are connected by the first communication interface modules and the second communication interface modules.The technical scheme provided using the embodiment of the present invention, can quickly develop and meet the controller that the different controls of industry spot are required, cost is relatively low, disclosure satisfy that the application demand of middle-size and small-size control system, is with a wide range of applications.

Description

A kind of ship alarm control system
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of ship alarm control system.
Background technology
Ship alarm control system is the important component that ship is built.The control requirement of different industry spots is different, So that ship alarm control logic is different.Generally need to realize different controlling alarms by running controlling alarm script file Logic.
In the prior art, controlling alarm script file needs to be grasped the professional of corresponding program redaction rule and writes, So that the development rate of ship alarm control system is slower, the construction cycle is long, required time cost, human cost and later stage dimension Shield cost is all very high.
The problems such as how efficiently solving ship alarm control system's development cycle long, high cost, is current this area skill Art personnel's urgent problem.
The content of the invention
It is an object of the invention to provide a kind of ship alarm control system, the different controls of industry spot are met with quick exploitation It is required that controller, cost is relatively low, meets the application demand of middle-size and small-size control system.
In order to solve the above technical problems, the present invention provides following technical scheme:
A kind of ship alarm control system, including host computer and controller, the host computer include the first communication interface mould Block and program configuration module, first communication interface modules are connected with described program configuration module, described program configuration module It is raw in the loading process from the electronic form file that editor completes in advance with postponing for according to default script generation strategy Into controlling alarm script file, the controller includes the second communication interface modules and script running module, the script operation Module is used for after the controlling alarm script file is obtained, and parses and run the controlling alarm script file, monitors ship The interface variables and alarm condition of equipment, the host computer and the controller are by first communication interface modules and described Second communication interface modules is connected.
In a kind of specific embodiment of the invention, described program configuration module is additionally operable to literary from the electrical form Loading process is verified with postponing to the Process configuration in part, and controlling alarm script file is generated according to check results.
In a kind of specific embodiment of the invention, the host computer also includes human-computer interaction module, the man-machine friendship Mutual module is connected with described program configuration module and first communication interface modules respectively, and the human-computer interaction module is used to connect Receive and perform edit instruction of the technical staff to the electronic form file, or the selection of controlling alarm script file is referred to Order.
In a kind of specific embodiment of the invention, the host computer also includes the first memory module, and described first deposits Storage module is connected with the human-computer interaction module, described program configuration module and first communication interface modules respectively.
In a kind of specific embodiment of the invention, the controller also includes device driver module, for monitoring ship The more new state of oceangoing ship equipment, determines ship equipment available resources.
In a kind of specific embodiment of the invention, the controller also includes I/O interface modules.
In a kind of specific embodiment of the invention, the controller also includes the second memory module, is reported for storing Alert control script file.
The technical scheme provided using the embodiment of the present invention, host computer and controller by the first communication interface modules and Second communication interface modules is connected, and host computer includes the first communication interface and the program configuration mould being connected with the first communication interface Block, program configuration module is used for according to default script generation strategy, is adding from the electronic form file that editor completes in advance After carrying Process configuration, controlling alarm script file is generated, controller includes the second communication interface modules and script running module, pin This operation module is used for after controlling alarm script file is obtained, and parses and run controlling alarm script file, and monitoring ship sets Standby interface variables and alarm condition.Host computer procedure configuration module can be opened quickly by electronic form file configuration technique Hair meets the controller that the different controls of industry spot are required, cost is relatively low, disclosure satisfy that the application demand of middle-size and small-size control system, It is with a wide range of applications.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of ship alarm control system in the embodiment of the present invention;
Fig. 2 is a kind of hardware architecture diagram of controller in the embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
It is shown in Figure 1, by a kind of structural representation of ship alarm control system that the embodiment of the present invention is provided, should Ship alarm control system includes host computer 100 and controller 200, and host computer 100 includes the first communication interface modules 102 and journey Sequence configuration module 101, the first communication interface modules 102 is connected with program configuration module 101, program configuration module 101 be used for according to According to default script generation strategy, in the loading process from the electronic form file that editor completes in advance with postponing, alarm is generated Control script file, controller 200 includes the second communication interface modules 202 and script running module 201, script running module 201 are used for after controlling alarm script file is obtained, and parse and run controlling alarm script file, monitor the interface of ship equipment Variable and alarm condition, host computer 100 and controller 200 pass through the first communication interface modules 102 and the second communication interface modules 202 connections.
Ship alarm control system provided in an embodiment of the present invention includes host computer 100 and controller 200.Host computer 100 It is two separate and inseparable application subsystems with controller 200, can individually runs.
Host computer 100 includes the first communication interface modules 102 and program configuration module 101, the first communication interface modules 102 It is connected with program configuration module 101.Host computer 100 may operate on PC or industrial computer.
In embodiments of the present invention, technical staff can add alarming logic in electronic form file, formed and be directed to ship The Process configuration of oceangoing ship equipment alarm control, the attribute of each cell can pre-set in electronic form file.Can preset Script generation strategy, controlling alarm script file is generated for the Process configuration in electronic form file.Electronic form file has Body can be EXCEL file.
In actual applications, technical staff enters edlin to electronic form file in advance, and program configuration module 101 gets After the electronic form file that editor completes in advance, the loading process configuration from electronic form file is generated according to default script Strategy, generates controlling alarm script file.In the loading process from electronic form file with postponing, first Process configuration can be entered Row verification, controlling alarm script file is generated further according to check results.Address check such as is carried out to Process configuration, is ignored not in ship Address in oceangoing ship equipment available resources.Ensure the reliability of controlling alarm script file.
Controlling alarm script file can be the script file of " .lua " form, and filename can be “devicedask.lua”。
Controller 200 can include the second communication interface modules 202 and script running module 201.
Host computer 100 and controller 200 can be by the first communication interface modules 102 and the second communication interface modules 202 Connection, specifically, the first communication interface modules 102 and the second communication interface modules 202 can follow RS232 interface protocols or Person's ICP/IP protocol.Script running module 201 can obtain controlling alarm script file from host computer 100, parse and run Controlling alarm script file, monitors the interface variables and alarm condition of ship equipment.Interface variables have digital quantity to be input into DI, numeral Amount DO, analog input AI, analog output AO.
The technical scheme provided using the embodiment of the present invention, host computer and controller by the first communication interface modules and Second communication interface modules is connected, and host computer includes the first communication interface and the program configuration mould being connected with the first communication interface Block, program configuration module is used for according to default script generation strategy, is adding from the electronic form file that editor completes in advance After carrying Process configuration, controlling alarm script file is generated, controller includes the second communication interface modules and script running module, pin This operation module is used for after controlling alarm script file is obtained, and parses and run controlling alarm script file, and monitoring ship sets Standby interface variables and alarm condition.Host computer procedure configuration module can be opened quickly by electronic form file configuration technique Hair meets the controller that the different controls of industry spot are required, cost is relatively low, disclosure satisfy that the application demand of middle-size and small-size control system, It is with a wide range of applications.
In one embodiment of the invention, host computer 100 can also include human-computer interaction module 103, man-machine interaction mould Block 103 is connected with the communication interface modules 102 of program configuration module 101 and first respectively, specifically, human-computer interaction module 103 can It is connected with program configuration module 101 with by the systems soft ware of host computer 100, as shown in Figure 1.Human-computer interaction module 103 is used to connect Edit instruction of the technical staff to electronic form file is received and performs, or to the selection instruction of controlling alarm script file.
In actual applications, human-computer interaction module 103 can provide human-computer interaction interface for technical staff, and technical staff is led to Crossing the human-computer interaction interface can send operational order, such as send the edit instruction to electronic form file, or send to report The selection instruction of alert control script file.Human-computer interaction module 103, can be right according to the edit instruction of the technical staff for receiving Electronic form file carries out corresponding edit operation, or according to the selection instruction for receiving, it may be determined that alarmed using which Control script file, or which controlling alarm script file suspended.
It is available that program configuration module 101 can also generate human-computer interaction module 103 based on electronic form file " HMI.lua " script file, human-computer interaction module 103 can be downloaded to by signal procedure by the script file.
In one embodiment of the invention, host computer 100 can also include the first memory module 104, the first storage mould Block 104 is connected with human-computer interaction module 103, the communication interface modules 102 of program configuration module 101 and first respectively.
Specifically, the first memory module 104 can by the systems soft ware of host computer 100 respectively with human-computer interaction module 103 Connected with program configuration module 101, as shown in Figure 1.
First memory module 104 can store electronic form file, controlling alarm script file that editor completes etc..
As shown in figure 1, in one embodiment of the invention, controller 200 can also include device driver module 203, More new state for monitoring ship equipment, determines ship equipment available resources.
In actual applications, host computer 100 can be matched somebody with somebody the configuration of ship equipment available resources by " device.lua " Put during file deposits in controller 200, controller 200 is automatically based upon configuration docking port variables D I, DO, AI, the AO etc. when starting Initialized.
The device driver module 203 included in controller 200 can monitor the more new state of ship equipment, determine that ship sets Standby available resources.
When ship equipment is added, ship equipment can be read from controller 200 can use money to program configuration module 101 Source, or " device.lua " configuration file is loaded offline, listing ship one by one in patterned mode in configurator sets It is standby, facilitate technical staff to check.
As shown in figure 1, in one embodiment of the invention, controller 200 can also include I/O interface modules 204.
As shown in figure 1, in one embodiment of the invention, controller 200 can also include the second memory module 205, For storing controlling alarm script file, it is, of course, also possible to storage vessel device configuration file etc..
Fig. 2 show the particular hardware structural representation of controller 200, and controller can include 8 road analog inputs and two Road analog output, the input of 8 railway digital amounts and the input of two-way digital quantity, RS232 communication interface circuits, reserve two-way all the way RS485 communication interface circuits, all the way CAN communication interface circuit, EPA interface circuit, button and display interface circuit Deng.Each interface circuit, D/A outputs, A/D inputs, input/output indicator lamp, electrically erasable read-only memory EEPROM, cpu chip, RESET circuits, joint test working group jtag interface circuit, clock circuit etc. is reset to be connected by peripheral bus APB.
Can be by per being input into all the way, exporting using Phototube Coupling in I/O interfaces, A/D modules are filtered using RC, are communicated The power supply and signal of module are also adopted by quarantine measures, wherein the isolation to signal uses magnetoelectricity isolation method, to ensure that signal is fast Speed transmission, improves the antijamming capability of controller.
Cpu chip can select embedded microprocessor, such as ATM32F103ZET6 as system processor.STM32 systems Row microcontroller employs what the Embedded Application that ARM companies are requirement high-performance, low cost and low-power consumption was specially designed Cortex-M3 kernels, working frequency is 72MHz, the SRAM of the internal memory 64Kbyte of internal high-speed memories, up to 512Kbyte.
In embodiments of the present invention, realize can be with software merit rating control for the mode by means of Embedded Hardware Platform software The controller of logic, not only with embedded system real-time, reliability and Scalability the features such as, but also with cost The characteristics of application demand that is low, disclosure satisfy that middle-size and small-size control system, it is with a wide range of applications.Additionally, controller is abundant Field-bus interface and configurable characteristic, user can be facilitated to be extended to system and can be according to the actual feelings of industry spot Condition completes different control requirements.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment same or similar part mutually referring to.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example according to function in the above description.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
The step of method or algorithm for being described with reference to the embodiments described herein, directly can be held with hardware, processor Capable software module, or the two combination is implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In field in known any other form of storage medium.
Specific case used herein is set forth to principle of the invention and implementation method, and above example is said It is bright to be only intended to help and understand technical scheme and its core concept.It should be pointed out that common for the art For technical staff, under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these Improve and modification is also fallen into the protection domain of the claims in the present invention.

Claims (7)

1. a kind of ship alarm control system, it is characterised in that including host computer and controller, the host computer includes that first leads to Letter interface module and program configuration module, first communication interface modules are connected with described program configuration module, described program Configuration module is used for according to default script generation strategy, matches somebody with somebody in the loading process from the electronic form file that editor completes in advance Postpone, generate controlling alarm script file, the controller includes the second communication interface modules and script running module, the pin This operation module is used for after the controlling alarm script file is obtained, and parses and run the controlling alarm script file, supervises The interface variables and alarm condition of ship equipment are controlled, the host computer and the controller pass through first communication interface modules Connected with second communication interface modules.
2. ship alarm control system according to claim 1, it is characterised in that described program configuration module is additionally operable to Loading process is verified with postponing to the Process configuration from the electronic form file, is generated according to check results and reported Alert control script file.
3. alarm control system according to claim 1, it is characterised in that the host computer also includes man-machine interaction mould Block, the human-computer interaction module is connected with described program configuration module and first communication interface modules respectively, described man-machine Interactive module is used to receive and perform edit instruction of the technical staff to the electronic form file, or to controlling alarm script The selection instruction of file.
4. alarm control system according to claim 3, it is characterised in that the host computer also includes the first storage mould Block, first memory module respectively with the human-computer interaction module, described program configuration module and first communication interface Module is connected.
5. the alarm control system according to any one of Claims 1-4, it is characterised in that the controller also includes setting Standby drive module, the more new state for monitoring ship equipment determines ship equipment available resources.
6. alarm control system according to claim 5, it is characterised in that the controller also includes I/O interface modules.
7. alarm control system according to claim 6, it is characterised in that the controller also includes the second storage mould Block, for storing controlling alarm script file.
CN201710178118.7A 2017-03-23 2017-03-23 Ship alarm control system Expired - Fee Related CN106873465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710178118.7A CN106873465B (en) 2017-03-23 2017-03-23 Ship alarm control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710178118.7A CN106873465B (en) 2017-03-23 2017-03-23 Ship alarm control system

Publications (2)

Publication Number Publication Date
CN106873465A true CN106873465A (en) 2017-06-20
CN106873465B CN106873465B (en) 2020-01-14

Family

ID=59172875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710178118.7A Expired - Fee Related CN106873465B (en) 2017-03-23 2017-03-23 Ship alarm control system

Country Status (1)

Country Link
CN (1) CN106873465B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807567A (en) * 2017-10-27 2018-03-16 海普康(扬州)自动化技术有限公司 Distributed monitoring alarm peculiar to vessel and control system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1480096B1 (en) * 2003-05-15 2008-10-01 Fisher-Rosemount Systems, Inc. Field device maintenance tool with enhanced scripts
US20110040390A1 (en) * 2009-08-11 2011-02-17 Fisher-Rosemount Systems, Inc. System Configuration Using Templates
CN103746454A (en) * 2013-12-27 2014-04-23 哈尔滨工程大学 Monitoring and directing method based on ship distribution of PSCAD and PLC
CN104698950A (en) * 2015-03-25 2015-06-10 广州视源电子科技股份有限公司 Peripheral device control method, microcontroller, upper computer and system
CN105093937A (en) * 2015-03-13 2015-11-25 霍尼韦尔环境自控产品(天津)有限公司 Building control system design device and method
CN105739983A (en) * 2016-01-29 2016-07-06 腾讯科技(深圳)有限公司 Script program edition device and realization method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1480096B1 (en) * 2003-05-15 2008-10-01 Fisher-Rosemount Systems, Inc. Field device maintenance tool with enhanced scripts
US20110040390A1 (en) * 2009-08-11 2011-02-17 Fisher-Rosemount Systems, Inc. System Configuration Using Templates
CN101995860A (en) * 2009-08-11 2011-03-30 费希尔-罗斯蒙特系统公司 System configuration using templates
CN103746454A (en) * 2013-12-27 2014-04-23 哈尔滨工程大学 Monitoring and directing method based on ship distribution of PSCAD and PLC
CN105093937A (en) * 2015-03-13 2015-11-25 霍尼韦尔环境自控产品(天津)有限公司 Building control system design device and method
CN104698950A (en) * 2015-03-25 2015-06-10 广州视源电子科技股份有限公司 Peripheral device control method, microcontroller, upper computer and system
CN105739983A (en) * 2016-01-29 2016-07-06 腾讯科技(深圳)有限公司 Script program edition device and realization method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807567A (en) * 2017-10-27 2018-03-16 海普康(扬州)自动化技术有限公司 Distributed monitoring alarm peculiar to vessel and control system

Also Published As

Publication number Publication date
CN106873465B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN204667101U (en) A kind of frequency converter controller
CN103558473B (en) Based on frequency converter field debugging system and the method thereof of human-computer interaction interface
CN102419559B (en) Train traction control system
CN105116833B (en) A kind of EHT supply TT&C system and method based on dual-computer redundancy strategy
CN106707888A (en) Programmable control module, system provided with same and control method
CN101778007B (en) System and method for automatically testing I/O pin of CAN bus control module
CN206920978U (en) A kind of high-speed type Signal transacting board analysis
CN102609376B (en) Serial bus memory, serial bus transmission system and method
WO2017084426A1 (en) Multiple unit (mpu) offline variable monitoring system and method
CN101876825B (en) Human-computer interface device of small PLC
CN104102161A (en) Intelligent integrated power switch quantity monitoring module
CN103699077A (en) Bluetooth intelligent mobile terminal-based hydrodynamic retarder monitoring system
CN106873465A (en) A kind of ship alarm control system
CN107861565A (en) Computer control system based on Loongson processor
CN106292987A (en) A kind of processor power-off sequential control system and method
CN203338041U (en) Glove machine control system based on ARM and CPLD
CN109672328A (en) A kind of converter control unit protective device and method
CN105765472A (en) Remote control device and control system
CN111903220B (en) Take linear electric motor real time monitoring system of dicyclo net
CN110239575A (en) Multiply two logic control implementations and the systems for taking two based on two
CN202512434U (en) Intelligent electronic control unit (ECU) online diagnostics calibration controller
CN215621816U (en) Control system, electric working machine or electric vehicle
CN109656609A (en) A kind of industrial control host and the method for on-line checking tool unperturbed downloading more new procedures
CN201749350U (en) Human-machine interface device for miniature PLC
CN202309098U (en) Communication monitor module of photovoltaic generating grid-connected inverter system

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200114

Termination date: 20210323