A kind of marine engine signal imitation platform
Technical field
The present invention relates to marine engine signal imitation device, is a kind of marine engine signal imitation platform specifically.
Background technology
In the industrial automation field, the industrial instrumentation of being made up of jointly one-chip computer module and industrial computer is widely used.
Aspect the emulation of ship's main diesel engine, some schools and scientific research institution are also through the software emulation teaching product of being correlated with that adopted relevant mathematical Model Development.Yet the analogue system of these ship's main diesel engine is perhaps just calculated through the correlation parameter of computing machine to working process of diesel engine with form of software, is equipped with that three-dimensional animation shows and teaching demonstration again; Or have hardware in kind and come the simulated diesel engine course of work, but get angry sequential and combustion process etc. in main emulation and the motion process that shows its internal mechanical member, the cylinder interior firing chamber.
Therefore, mostly existing main diesel engine emulator peculiar to vessel is to carry out the process simulation demonstration of diesel engine from machinery and thermodynamics aspect.And really can be used for not appearing in the newspapers with the main diesel engine simulated test device of main engine remote control system interlock test.Before main engine remote control system is dispatched from the factory, be difficult to directly be connected test with actual host, so directly go on board often, when pinpointing the problems, be difficult to change main engine remote control system.
Summary of the invention
To the defective that exists in the prior art; The object of the present invention is to provide a kind of marine engine signal imitation platform, from communication interface, signal input and output aspect, main engine remote control system is dispatched from the factory before; Can carry out the interlock test of main engine remote control system and marine engine signal imitation platform; Pinpoint the problems ahead of time and rectify and improve, and energy consumption little, take up room little, the analogue simulation that does not have unnecessary Machinery Ministry to grade.
For reaching above purpose, the technical scheme that the present invention takes is:
A kind of marine engine signal imitation platform is characterized in that, comprising:
Sensor signal analogue unit 1 produces some switching value signals, 4~20mA simulating signal and simulates main engine remote control system 8 sensor signal commonly used, and gives centre data processing unit 4 with sensor signal through the DP bus transfer;
Industrial data acquisition module group 3 comprises that some models are that digital data acquisition module, the model of MAC-11-M is the analogue collection module of MAC-21-M, directly link to each other with main engine remote control system 8 to be tested; Industrial data acquisition module group 3 arrives centre data processing unit 4 through the DP bus transfer after receiving signal from main engine remote control system to be tested 8;
Centre data processing unit 4 is connected with bus communication module 7 through the DP bus; Establish the conversion of multiple bus protocol and responsible bus data in the bus communication module 7; Be used for based on main engine remote control system 8 communications of different bus communications protocol, the bus protocol of establishing in the bus communication module 7 comprises CAN bus protocol, MODBUS bus protocol;
Centre data processing unit 4; Through the variation of various coherent signals in the software program emulation marine engine running status, chain, warning, and the data after will handling are transferred to main engine remote control system to be tested 8 through the DP bus via industrial data output module group 5 and bus communication module 7;
Industrial data output module group 5 comprises that some models are that digital quantity output module, the model of MAC-10-M is the analog output module of MAC-20-M; Adopt hardwire to be connected with 8 of main engine remote control systems to be tested, and the data based demand of concrete hardwire transmission is provided with to data address, data threshold, alarm threshold value;
Data after centre data processing unit 4 is handled are passed through display unit 6 and are shown,
Centre data processing unit 4 is through being provided with unit 2 carries out system according to different main frames and concrete condition modification and debugging; The said unit 2 that is provided with comprises keyboard and mouse; Revise some parameter index of system through keyboard and mouse; Said parameter index comprises: SF, port data type also are used for the switching of display unit 6 display interfaces.
On the basis of technique scheme; Said display unit 6 comprises LCD 61 and display panel 62; Said display panel 62 is provided with the reometer of plurality of indicator lamps, charactron and 4~20mA; LCD directly is connected with centre data processing unit 4, and display panel is connected with centre data processing unit 4 via I/O interface unit 9 through the DP bus
Said I/O interface unit comprises: model is that the digital data acquisition module of MAC-11-M, the analogue collection module that model is MAC-21-M, digital quantity output module, the model that model is MAC-10-M are the analog output module of MAC-20-M.
On the basis of technique scheme, said each switching value signal, the 4~20mA simulating signal that is produced by sensor signal analogue unit 1 all transfers to centre data processing unit 4 through the DP bus via I/O interface unit 9.
On the basis of technique scheme; The switching value signal that sensor signal analogue unit 1 produces produces through keyswitch; This signal is effective when button is pressed; This invalidating signal when button is not pressed, switching value signal are used for 5 tunnel sensor signals below the simulation: main frame jacket water pressure hangs down stop sign, the high stop sign of high-temperature water outlet temperature, the high stop sign of crankcase greasy dirt, turning engine engagement signal, expansion tank pressure low signal;
4~20mA simulating signal that sensor signal analogue unit 1 produces produces through changing variable-resistance resistance; Simulating signal is used for 14 tunnel sensor signals below the simulation: pressure differential signal, main frame fresh water pressure force signal, main frame seawater pressure signal, main exhaust temperature signal, gear case lubricating oil pressure signal, host-initiated air pressure signal, host computer control air pressure signal before and after cylinder 1 temperature signal, cylinder 2 temperature signals, cylinder 3 temperature signals, cylinder 4 temperature signals, cylinder 5 temperature signals, cylinder 6 temperature signals, main frame lubricating oil pressure signal, the lubricating oil oil strain.
On the basis of technique scheme, industrial data acquisition module group 3 comprises following two types of connections with being connected of 8 of main engine remote control systems to be tested:
The first is used for connecting the hardwire signal in the main engine remote control system 8, comprises at least: engine speed control signal, host-initiated control signal, Main Engine Cut-Off control signal, main frame emergency shut-down control device signal, hypervelocity stop sign, the positive car signal of gear case, gear case astern signal, fault signal to reduce the speed; Wherein the engine speed control signal is 4~20mA simulating signal, and all the other 7 the tunnel all are the switching value signals;
It two is to have other utility appliance signal demands to add the subsequent use connection of being stayed in test macros, and said other utility appliance signals comprise gear case signal in proper working order and gear case operation irregularity signal.
On the basis of technique scheme; The centre data processing unit is receiving after the main frame jacket water forces down stop sign; Send the Main Engine Cut-Off signal through industrial data output module 5 to main engine remote control system 8, and show Main Engine Cut-Off through the pilot lamp on the display panel;
The centre data processing unit sends the Main Engine Cut-Off signal through industrial data output module 5 to main engine remote control system 8, and shows Main Engine Cut-Off through the pilot lamp on the display panel after receiving the high stop sign of high-temperature water outlet temperature;
The centre data processing unit sends the Main Engine Cut-Off signal through industrial data output module 5 to main engine remote control system 8, and shows Main Engine Cut-Off through the pilot lamp on the display panel after receiving the high stop sign of crankcase greasy dirt;
The centre data processing unit sends turning engine engagement indicator signal through industrial data output module 5 to main engine remote control system 8 after receiving the turning engine engagement signal;
The centre data processing unit sends the low indicator signal of expansion tank pressure through industrial data output module 5 to main engine remote control system 8 after receiving expansion tank pressure low signal, and through low warning of the demonstration of the pilot lamp on display panel expansion tank pressure.
On the basis of technique scheme; The centre data processing unit is after receiving cylinder 1 temperature signal, cylinder 2 temperature signals, cylinder 3 temperature signals, cylinder 4 temperature signals, cylinder 5 temperature signals, cylinder 6 temperature signals; Each temperature cylinder signal is sent to LCD to be shown
The centre data processing unit compares the temperature and the temperature cylinder normal range of operation of each cylinder, carries out alarm indication if the temperature anomaly alerting signal that temperature anomaly then should the correspondence cylinder exports main engine remote control system 8 to through bus communication module 7;
The centre data processing unit is after receiving main frame lubricating oil pressure signal, lubricating oil oil strain front and back pressure differential signal, main frame fresh water pressure force signal, main frame seawater pressure signal, main exhaust temperature signal, gear case lubricating oil pressure signal; Through LCD each signal is shown; Currency to each signal carries out logic determines simultaneously; If the logical value of signal is in abnormal ranges, then the alerting signal of correspondence is sent to main engine remote control system 8 through industrial data output module 5 and carries out alarm indication;
The centre data processing unit is after receiving host-initiated air pressure signal, host computer control air pressure signal; Two pressure signals are sent to LCD to be shown; And host-initiated air pressure signal and host computer control air pressure signal carried out logic determines; If the signal currency is not in normal range, the centre data processing unit then is sent to main engine remote control system 8 with the warning message of respective signal through industrial data output module 5 and carries out alarm indication.
On the basis of technique scheme; Centre data processing unit 4 is after receiving the engine speed control signal; This signal is carried out logic analysis and calculating, and how many rotating speeds that draws main frame under the input of current engine speed control signal at last is, and demonstrates the rotating speed of main frame through charactron;
Centre data processing unit 4 is sent to display panel through the I/O interface unit after receiving the host-initiated signal, show host-initiated through the pilot lamp on the display panel;
Centre data processing unit 4 is after receiving Main Engine Cut-Off control signal, main frame emergency shut-down control device signal, hypervelocity stop sign, fault reduce-speed sign; Through the I/O interface unit Main Engine Cut-Off signal is sent to display panel; Show Main Engine Cut-Off through the pilot lamp on the display panel, the engine speed information that simultaneously charactron is shown changes into 0;
Centre data processing unit 4 is sent to display panel through the I/O interface unit with the Work turning table information of gear case after receiving positive car signal of gear case or gear case astern signal, show that through the pilot lamp on the display panel gear case just or the gear case reversing.
On the basis of technique scheme, said centre data processing unit 4 is the bottom hardware basis with the industrial computer, through software data is handled accordingly;
The centre data processing unit receives handles two kinds of data, and a kind of is port data, and a kind of is bus data,
Port data realizes that through hardwire said port data derives from I/O interface unit, industrial data acquisition module group, industrial data output module group;
Bus data is meant between centre data processing unit and marine engine remote control system 8 data through bus transfer; Said bus data derives from bus communication module, and bus data is to become the bus protocol of appointment to transmit data-switching by bus communication module;
When the centre data processing unit sends bus data to marine engine remote control system; The centre data processing unit can send to bus communication module to bus data earlier; Bus communication module converts the bus data that receives and the corresponding bus communication data of the bus protocol of appointment to; Bus through connecting bus communication module and marine engine remote control system sends to marine engine remote control system again
Same; The centre data processing unit is when receiving the bus data of marine engine remote control system; Bus data can earlier be sent to bus communication module by marine engine remote control system, and bus communication module converts bus data data set that the centre data processing unit can handle to and these data sets are sent to the centre data processing unit.
Marine engine signal imitation platform of the present invention; From communication interface, signal input and output aspect; Before main engine remote control system is dispatched from the factory, can carry out the interlock test of main engine remote control system and marine engine signal imitation platform, pinpoint the problems ahead of time and rectify and improve; And energy consumption little, take up room little, the analogue simulation that does not have unnecessary Machinery Ministry to grade.
Description of drawings
The present invention has following accompanying drawing:
The embodiment of Fig. 1 marine engine signal imitation platform,
The system architecture composition frame chart of Fig. 2 marine engine signal imitation platform.
Embodiment
Below in conjunction with accompanying drawing the present invention is done further explain.
The marine engine signal imitation platform that the present invention is to use single-chip microcomputer and industrial computer to combine, can and main engine remote control system 8 test that links, Fig. 2 is the system architecture composition frame chart of marine engine signal imitation platform of the present invention, comprising:
Sensor signal analogue unit 1 produces some switching value signals, 4~20mA simulating signal and simulates main engine remote control system 8 sensor signal commonly used, and gives centre data processing unit 4 with sensor signal through the DP bus transfer; Said DP bus is the abbreviation of PROFIBUS-DP (ProfiBus Decentralized Periphery) bus,
Sensor signal analogue unit 1 comprises plurality of keys switch and variable resistor,
Said switching value signal produces through keyswitch; This signal is effective when button is pressed; This invalidating signal when button is not pressed, switching value signal are used for 5 tunnel sensor signals below the simulation: main frame jacket water pressure hangs down stop sign, the high stop sign of high-temperature water outlet temperature, the high stop sign of crankcase greasy dirt, turning engine engagement signal, expansion tank pressure low signal; A keyswitch is used to produce a switching value signal, and promptly the two is to concern one to one;
Said 4~20mA simulating signal produces through changing variable-resistance resistance, thereby promptly through changing the change that variable-resistance resistance reaches current value; Simulating signal is used for 14 tunnel sensor signals below the simulation: pressure differential signal, main frame fresh water pressure force signal, main frame seawater pressure signal, main exhaust temperature signal, gear case lubricating oil pressure signal, host-initiated air pressure signal, host computer control air pressure signal before and after cylinder 1 temperature signal, cylinder 2 temperature signals, cylinder 3 temperature signals, cylinder 4 temperature signals, cylinder 5 temperature signals, cylinder 6 temperature signals, main frame lubricating oil pressure signal, the lubricating oil oil strain; A variable resistor is used to produce 4~20mA simulating signal, and promptly the two is to concern one to one;
Industrial data acquisition module group 3; Comprise that some models are that digital data acquisition module, the model of MAC-11-M is the analogue collection module of MAC-21-M; Directly link to each other with main engine remote control system 8 to be tested, specifically comprise following two types of connections with being connected of 8 of main engine remote control systems to be tested:
The first is used for connecting the hardwire signal in the main engine remote control system 8; The signal that provides through hardwire is generally important signal; Requirement (the steel boats and ships classification rules of how tame classification society such as CCS) according to standard peculiar to vessel and standard; Part signal must directly offer main frame through hard wired mode in the main engine remote control system 8; Concrete signal can be different according to different main frame models, comprises at least: engine speed control signal, host-initiated control signal, Main Engine Cut-Off control signal, main frame emergency shut-down control device signal, hypervelocity stop sign, the positive car signal of gear case, gear case astern signal, fault signal to reduce the speed; Wherein the engine speed control signal is 4~20mA simulating signal, and all the other 7 the tunnel all are the switching value signals;
It two is to have other utility appliance signal demands to add the subsequent use connection of being stayed in test macros; Said other utility appliance signals comprise gear case signal in proper working order and gear case operation irregularity signal; Gear case signal in proper working order is relevant with the control of main frame with gear case operation irregularity signal; May require to insert temporarily and test
Industrial data acquisition module group 3 arrives centre data processing unit 4 through the DP bus transfer after receiving signal from main engine remote control system to be tested 8;
Centre data processing unit 4 is connected with bus communication module 7 through the DP bus; Establish the conversion of multiple bus protocol and responsible bus data in the bus communication module 7; Be used for based on main engine remote control system 8 communications of different bus communications protocol, the bus protocol of establishing in the bus communication module 7 comprises CAN bus protocol, MODBUS bus protocol;
Centre data processing unit 4; Through the variation of various coherent signals in the software program emulation marine engine running status, chain, warning, and the data after will handling are transferred to main engine remote control system to be tested 8 through the DP bus via industrial data output module group 5 and bus communication module 7;
Industrial data output module group 5 comprises that some models are that digital quantity output module, the model of MAC-10-M is the analog output module of MAC-20-M; Adopt hardwire to be connected with 8 of main engine remote control systems to be tested, and the data based demand of concrete hardwire transmission is provided with to data address, data threshold, alarm threshold value;
Data after centre data processing unit 4 is handled show through display unit 6; Main engine remote control system to be measured 8 with test as the marine engine signal imitation platform of testing apparatus; For different test signals, program can draw main engine remote control system 8 due data feedbacks to be measured through simulation calculation in the centre data processing unit 4, and in display unit 6, shows; The operator contrasts main engine remote control system 8 actual feedback data to be measured, can accomplish the test of system;
Centre data processing unit 4 is through being provided with unit 2 carries out system according to different main frames and concrete condition modification and debugging; The said unit 2 that is provided with comprises keyboard and mouse; Revise some parameter index of system through keyboard and mouse; Said parameter index comprises: SF, port data type also are used for the switching of display unit 6 display interfaces.
On the basis of technique scheme; As shown in Figure 1; Said display unit 6 comprises LCD 61 and display panel 62, and said display panel 62 is provided with the reometer of plurality of indicator lamps, charactron and 4~20mA, and LCD directly is connected with centre data processing unit 4; Display panel is connected with centre data processing unit 4 via I/O interface unit 9 through the DP bus
Said I/O interface unit comprises: model is that the digital data acquisition module of MAC-11-M, the analogue collection module that model is MAC-21-M, digital quantity output module, the model that model is MAC-10-M are the analog output module of MAC-20-M.
On the basis of technique scheme, as shown in Figure 1, said each switching value signal, the 4~20mA simulating signal that is produced by sensor signal analogue unit 1 all transfers to centre data processing unit 4 through the DP bus via I/O interface unit 9.
On the basis of technique scheme; The centre data processing unit is receiving after the main frame jacket water forces down stop sign; Send the Main Engine Cut-Off signal through industrial data output module 5 to main engine remote control system 8, and show Main Engine Cut-Off through the pilot lamp on the display panel;
The centre data processing unit sends the Main Engine Cut-Off signal through industrial data output module 5 to main engine remote control system 8, and shows Main Engine Cut-Off through the pilot lamp on the display panel after receiving the high stop sign of high-temperature water outlet temperature;
The centre data processing unit sends the Main Engine Cut-Off signal through industrial data output module 5 to main engine remote control system 8, and shows Main Engine Cut-Off through the pilot lamp on the display panel after receiving the high stop sign of crankcase greasy dirt;
The centre data processing unit sends turning engine engagement indicator signal through industrial data output module 5 to main engine remote control system 8 after receiving the turning engine engagement signal;
The centre data processing unit sends the low indicator signal of expansion tank pressure through industrial data output module 5 to main engine remote control system 8 after receiving expansion tank pressure low signal, and through low warning of the demonstration of the pilot lamp on display panel expansion tank pressure.
On the basis of technique scheme; The centre data processing unit is after receiving cylinder 1 temperature signal, cylinder 2 temperature signals, cylinder 3 temperature signals, cylinder 4 temperature signals, cylinder 5 temperature signals, cylinder 6 temperature signals; Each temperature cylinder signal is sent to LCD to be shown
The centre data processing unit compares the temperature and the temperature cylinder normal range of operation of each cylinder, carries out alarm indication if the temperature anomaly alerting signal that temperature anomaly then should the correspondence cylinder exports main engine remote control system 8 to through bus communication module 7;
The centre data processing unit is after receiving main frame lubricating oil pressure signal, lubricating oil oil strain front and back pressure differential signal, main frame fresh water pressure force signal, main frame seawater pressure signal, main exhaust temperature signal, gear case lubricating oil pressure signal; Through LCD each signal is shown; Currency to each signal carries out logic determines simultaneously; If the logical value of signal is in abnormal ranges, then the alerting signal of correspondence is sent to main engine remote control system 8 through industrial data output module 5 and carries out alarm indication;
The centre data processing unit is after receiving host-initiated air pressure signal, host computer control air pressure signal; Two pressure signals are sent to LCD to be shown; And host-initiated air pressure signal and host computer control air pressure signal carried out logic determines; If the signal currency is not in normal range, the centre data processing unit then is sent to main engine remote control system 8 with the warning message of respective signal through industrial data output module 5 and carries out alarm indication.
On the basis of technique scheme; Centre data processing unit 4 is after receiving the engine speed control signal; This signal is carried out logic analysis and calculating, and how many rotating speeds that draws main frame under the input of current engine speed control signal at last is, and demonstrates the rotating speed of main frame through charactron;
Centre data processing unit 4 is sent to display panel through the I/O interface unit after receiving the host-initiated signal, show host-initiated through the pilot lamp on the display panel;
Centre data processing unit 4 is after receiving Main Engine Cut-Off control signal, main frame emergency shut-down control device signal, hypervelocity stop sign, fault reduce-speed sign; Through the I/O interface unit Main Engine Cut-Off signal is sent to display panel; Show Main Engine Cut-Off through the pilot lamp on the display panel, the engine speed information that simultaneously charactron is shown changes into 0;
Centre data processing unit 4 is sent to display panel through the I/O interface unit with the Work turning table information of gear case after receiving positive car signal of gear case or gear case astern signal, show that through the pilot lamp on the display panel gear case just or the gear case reversing.
On the basis of technique scheme, said centre data processing unit 4 is the bottom hardware basis with the industrial computer, through software data is handled accordingly;
The centre data processing unit receives handles two kinds of data, and a kind of is port data, and a kind of is bus data,
Port data realizes that through hardwire said port data derives from I/O interface unit, industrial data acquisition module group, industrial data output module group;
Bus data is meant between centre data processing unit and marine engine remote control system 8 data through bus transfer; Said bus data derives from bus communication module, and bus data is to become the bus protocol of appointment to transmit data-switching by bus communication module.Said bus protocol can be self-defining; It also can be the agreement of using always; Bus commonly used has CAN bus protocol, Profibus bus protocol etc., and self-defining agreement can be that the use habit or the data demand of basis oneself defines the communication bus agreement voluntarily.
When the centre data processing unit sends bus data to marine engine remote control system; The centre data processing unit can send to bus communication module to bus data earlier; Bus communication module converts the bus data that receives and the corresponding bus communication data of the bus protocol of appointment to; Bus through connecting bus communication module and marine engine remote control system sends to marine engine remote control system again
Same; The centre data processing unit is when receiving the bus data of marine engine remote control system; Bus data can earlier be sent to bus communication module by marine engine remote control system, and bus communication module converts bus data data set that the centre data processing unit can handle to and these data sets are sent to the centre data processing unit.