A kind of host signal simulation platform used for ship
Technical field
The present invention relates to the marine host computer signal imitation device, is a kind of host signal simulation platform used for ship specifically.
Background technology
At industrial automation, the industrial instrumentation that jointly is comprised of one-chip computer module and industrial computer is widely used.
Aspect the emulation of ship's main diesel engine, some schools have also developed relevant software emulation teaching product by the employing Related Mathematical Models with scientific research institution.Yet the analogue system of these ship's main diesel engine is perhaps just calculated by the correlation parameter of computing machine to working process of diesel engine with software form, 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 sequential and combustion process etc. are got angry in main emulation and showing in the motion process, cylinder interior firing chamber of its internal mechanical member.
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 having no report with the main diesel engine simulated test device of main engine remote control system interlock test.Before main engine remote control system was dispatched from the factory, directly very difficult and actual host was carried out connecting test, so directly go on board often, when pinpointing the problems, was difficult to change main engine remote control system.
Summary of the invention
For the defective that exists in the prior art, the object of the present invention is to provide a kind of host signal simulation platform used for ship, 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 host signal simulation platform used for ship, 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 host signal simulation platform used for ship 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 with sensor signal by the DP bus transfer to centre data processing unit 4;
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 links 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 by 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 by the DP bus, establish the conversion of multiple bus protocol and responsible bus data in the bus communication module 7, be used for and main engine remote control system 8 communications based on the 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, variation by various coherent signals in the software program emulation marine engine running status, chain, report to the police, and the data communication device after will processing is crossed the DP bus and is transferred to main engine remote control system to be tested 8 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 output module, the model of MAC-10-M is the analog output module of MAC-20-M, adopt hardwire to connect with 8 of the main engine remote control systems of being connected, and the data based demand of concrete hardwire transmission arrange to data address, data threshold, alarm threshold value;
Data communication device after centre data processing unit 4 is processed is crossed display unit 6 and is shown,
Centre data processing unit 4 carries out modification and the debugging of system according to different main frames and concrete condition by setting unit 2, described setting unit 2 comprises keyboard and mouse, revise some parameter index of system by keyboard and mouse, described parameter index comprises: sample frequency, port data type also are used for the switching of display unit 6 display interfaces.
On the basis of technique scheme, described display unit 6 comprises liquid crystal display 61 and display panel 62, described display panel 62 is provided with the reometer of some pilot lamp, charactron and 4~20mA, liquid crystal display directly is connected connection with the centre data processing unit, display panel is connected connection by the DP bus via I/O interface unit 9 with the centre data processing unit
Described 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 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, described 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 by 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 by keyswitch, this signal is effective when button is pressed, this invalidating signal when button is not pressed, switching value signal are used for following 5 tunnel sensor signals of simulation: the main engine jacket water pressure is hanged 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 by changing variable-resistance resistance; Simulating signal is used for following 14 tunnel sensor signals of 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, the connection of industrial data acquisition module group 3 and 8 of the main engine remote control systems of being connected comprises that following two classes connect:
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 connection for subsequent use of staying in test macros, and described other utility appliance signals comprise gear case signal working properly and gear case operation irregularity signal.
On the basis of technique scheme, the centre data processing unit is after receiving the low stop sign of main engine jacket hydraulic pressure, send the Main Engine Cut-Off signal by industrial data output module 5 to main engine remote control system 8, and show Main Engine Cut-Off by the pilot lamp on the display panel;
The centre data processing unit sends the Main Engine Cut-Off signal by industrial data output module 5 to main engine remote control system 8, and shows Main Engine Cut-Off by 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 by industrial data output module 5 to main engine remote control system 8, and shows Main Engine Cut-Off by the pilot lamp on the display panel after receiving the high stop sign of crankcase greasy dirt;
The centre data processing unit sends engagement indicator signal of turning engine by 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 by industrial data output module 5 to main engine remote control system 8 after receiving expansion tank pressure low signal, and shows the low warning of expansion tank pressure by the pilot lamp on the display panel.
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 liquid crystal display to be shown
The centre data processing unit compares temperature and the temperature cylinder normal range of operation of each cylinder, and temperature anomaly alerting signal that then should the correspondence cylinder if there is temperature anomaly exports main engine remote control system 8 to by bus communication module 7 and carries out alarm indication;
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, by liquid crystal display each signal is shown, simultaneously the currency of each signal carried out the logic judgement, 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 by 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 liquid crystal display to be shown, and host-initiated air pressure signal and host computer control air pressure signal are carried out logic judge, 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 by 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 at last main frame under the input of current engine speed control signal is, and demonstrates the rotating speed of main frame by charactron;
Centre data processing unit 4 is sent to display panel by the I/O interface unit after receiving the host-initiated signal, show host-initiated by 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, by the I/O interface unit Main Engine Cut-Off signal is sent to display panel, show Main Engine Cut-Off by 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 by the I/O interface unit with the Work turning table information of gear case after receiving the positive car signal of gear case or gear case astern signal, just showing gear case or the gear case reversing by the pilot lamp on the display panel.
On the basis of technique scheme, described centre data processing unit 4, process data accordingly by software on the basis take industrial computer as bottom hardware;
Two kinds of data of centre data processing unit reception ﹠ disposal, a kind of is port data, a kind of is bus data,
Port data realizes that by hardwire described port data derives from I/O interface unit, industrial data acquisition module group, industrial data output module group;
Bus data refers between centre data processing unit and marine engine remote control system 8 data by bus transfer, described 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 first, bus communication module converts the bus data that receives and the corresponding bus communication data of the bus protocol of appointment to, send to marine engine remote control system by the bus that connects bus communication module and 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 first be sent to bus communication module by marine engine remote control system, and bus communication module converts bus data data group that the centre data processing unit can process to and these data groups are sent to the centre data processing unit.
Host signal simulation platform used for ship 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 host signal simulation platform used for ship, 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 host signal simulation platform used for ship,
The system architecture composition frame chart of Fig. 2 host signal simulation platform used for ship.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
The present invention is the host signal simulation platform used for ship that uses single-chip microcomputer and industrial computer combination, can and main engine remote control system 8 test that links, Fig. 2 is the system architecture composition frame chart of host signal simulation platform used for ship 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 with sensor signal by the DP bus transfer to centre data processing unit 4; Described DP bus is the abbreviation of PROFIBUS-DP (ProfiBus Decentralized Periphery) bus,
Sensor signal analogue unit 1 comprises some keyswitches and variable resistor,
Described switching value signal produces by keyswitch, this signal is effective when button is pressed, this invalidating signal when button is not pressed, switching value signal are used for following 5 tunnel sensor signals of simulation: the main engine jacket water pressure is hanged 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 for generation of a switching value signal, and namely the two is to concern one to one;
Described 4~20mA simulating signal produces by changing variable-resistance resistance, thereby namely reaches the change of current value by changing variable-resistance resistance; Simulating signal is used for following 14 tunnel sensor signals of 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 for generation of 4~20mA simulating signal, and namely 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, comprise specifically that with the connection of 8 of the main engine remote control systems of being connected following two classes connect:
The first is used for connecting the hardwire signal in the main engine remote control system 8, the signal that provides by hardwire is generally important signal, requirement (the steel boats and ships classification rules of many classification societies such as CCS) according to standard a nd norm peculiar to vessel, part signal must directly offer main frame by 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: the engine speed control signal, the host-initiated control signal, the Main Engine Cut-Off control signal, main frame emergency shut-down control device signal, the hypervelocity stop sign, the positive car signal of gear case, the gear case astern signal, the 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 connection for subsequent use of staying in test macros, described other utility appliance signals comprise gear case signal working properly and gear case operation irregularity signal, gear case signal working properly is relevant with the control of main frame with gear case operation irregularity signal, may require access to test temporarily
Industrial data acquisition module group 3 arrives centre data processing unit 4 by 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 by the DP bus, establish the conversion of multiple bus protocol and responsible bus data in the bus communication module 7, be used for and main engine remote control system 8 communications based on the 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, variation by various coherent signals in the software program emulation marine engine running status, chain, report to the police, and the data communication device after will processing is crossed the DP bus and is transferred to main engine remote control system to be tested 8 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 output module, the model of MAC-10-M is the analog output module of MAC-20-M, adopt hardwire to connect with 8 of the main engine remote control systems of being connected, and the data based demand of concrete hardwire transmission arrange to data address, data threshold, alarm threshold value;
Data communication device after centre data processing unit 4 is processed is crossed display unit 6 and is shown, main engine remote control system to be measured 8 with test as the host signal simulation platform used for ship of testing apparatus, for different test signals, centre data processing unit 4 Programs can draw main engine remote control system 8 due data feedbacks to be measured by simulation calculation, and in display unit 6, show, the operator contrasts main engine remote control system 8 actual feedback data to be measured, gets final product the test of completion system;
Centre data processing unit 4 carries out modification and the debugging of system according to different main frames and concrete condition by setting unit 2, described setting unit 2 comprises keyboard and mouse, revise some parameter index of system by keyboard and mouse, described parameter index comprises: sample frequency, 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, described display unit 6 comprises liquid crystal display 61 and display panel 62, described display panel 62 is provided with the reometer of some pilot lamp, charactron and 4~20mA, liquid crystal display directly is connected connection with the centre data processing unit, display panel is connected connection by the DP bus via I/O interface unit 9 with the centre data processing unit
Described 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 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, described 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 by the DP bus via I/O interface unit 9.
On the basis of technique scheme, the centre data processing unit is after receiving the low stop sign of main engine jacket hydraulic pressure, send the Main Engine Cut-Off signal by industrial data output module 5 to main engine remote control system 8, and show Main Engine Cut-Off by the pilot lamp on the display panel;
The centre data processing unit sends the Main Engine Cut-Off signal by industrial data output module 5 to main engine remote control system 8, and shows Main Engine Cut-Off by 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 by industrial data output module 5 to main engine remote control system 8, and shows Main Engine Cut-Off by the pilot lamp on the display panel after receiving the high stop sign of crankcase greasy dirt;
The centre data processing unit sends engagement indicator signal of turning engine by 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 by industrial data output module 5 to main engine remote control system 8 after receiving expansion tank pressure low signal, and shows the low warning of expansion tank pressure by the pilot lamp on the display panel.
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 liquid crystal display to be shown
The centre data processing unit compares temperature and the temperature cylinder normal range of operation of each cylinder, and temperature anomaly alerting signal that then should the correspondence cylinder if there is temperature anomaly exports main engine remote control system 8 to by bus communication module 7 and carries out alarm indication;
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, by liquid crystal display each signal is shown, simultaneously the currency of each signal carried out the logic judgement, 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 by 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 liquid crystal display to be shown, and host-initiated air pressure signal and host computer control air pressure signal are carried out logic judge, 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 by 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 at last main frame under the input of current engine speed control signal is, and demonstrates the rotating speed of main frame by charactron;
Centre data processing unit 4 is sent to display panel by the I/O interface unit after receiving the host-initiated signal, show host-initiated by 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, by the I/O interface unit Main Engine Cut-Off signal is sent to display panel, show Main Engine Cut-Off by 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 by the I/O interface unit with the Work turning table information of gear case after receiving the positive car signal of gear case or gear case astern signal, just showing gear case or the gear case reversing by the pilot lamp on the display panel.
On the basis of technique scheme, described centre data processing unit 4, process data accordingly by software on the basis take industrial computer as bottom hardware;
Two kinds of data of centre data processing unit reception ﹠ disposal, a kind of is port data, a kind of is bus data,
Port data realizes that by hardwire described port data derives from I/O interface unit, industrial data acquisition module group, industrial data output module group;
Bus data refers between centre data processing unit and marine engine remote control system 8 data by bus transfer, described 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.Described bus protocol can be self-defining, it also can be the agreement of commonly using, bus commonly used has CAN bus protocol, Profibus bus protocol etc., and self-defining agreement can be use habit or the data demand self-defining communication bus agreement according to oneself.
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 first, bus communication module converts the bus data that receives and the corresponding bus communication data of the bus protocol of appointment to, send to marine engine remote control system by the bus that connects bus communication module and 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 first be sent to bus communication module by marine engine remote control system, and bus communication module converts bus data data group that the centre data processing unit can process to and these data groups are sent to the centre data processing unit.