The content of the invention
The technical problem to be solved in the present invention is:A kind of ship energy efficiency management based on fuzzy clustering and genetic algorithm is provided
Control platform and method, the power consumption state of real-time monitoring ship, and eliminate or reduce influence of the environmental factor to ship energy consumption, keep away
Exempt to preset the irrationality of the speed of a ship or plane, so as to reach the purpose of energy-saving and emission-reduction.
The present invention is for the solution technical scheme taken of above-mentioned technical problem:One kind is based on fuzzy clustering and genetic algorithm
Ship energy efficiency management control platform, it is characterised in that:It includes:
Sensor group, for the parameter needed for acquisition control;
Lower computer system, including data acquisition module and slave computer communication module, data acquisition module are used to gather discrete
Shape parameter, the parameter for obtaining sensor group collection, slave computer communication module are used to all upload all parameters, receive control life
Make and be sent to corresponding executing agency;
Master system, including Upper machine communication module, data memory module, data processing module and ship efficiency synthesis
Management control module;Upper machine communication module is used to receive all parameters of slave computer communication module upload, is communicated to slave computer
Module sends control command;Data memory module is used to be stored all parameters;Data processing module is used to call data
Parameter in memory module, by all Parameter analysis of electrochemical for receiving and it is supplied to ship efficiency integrated management control module;Ship energy
Effect integrated management control module is used for using the parameter after parsing, and based on fuzzy clustering and genetic algorithm, real-time Ship ' is worked as
Preceding efficiency operation index, determines the working condition of optimum speed, power-supplying forms and the load of ship, and can automatic output control
Order.
By such scheme, described master system also includes man-machine interface, current for showing all parameters and ship
Efficiency operation index, provide data memory module call port and input control command.
By such scheme, described sensor group includes oil consumption sensor, torque speed sensor, wind speed and direction sensing
Device, speed of a ship or plane course transmitter, water velocity sensor, host parameter sensor, electrical network parameter sensor group and water depth sensor.
By such scheme, three kinds of communication types are included between described Upper machine communication module and slave computer communication module:
The next double CAN communication, serial communication and upper dual redundant ethernet communications;The next double CAN communications are unified by CAN mouthfuls of server
Gather discrete shape parameter and communication is uploaded to host computer;Serial communication is adopted by the sensor group that serial server gathers each port
The parameter of collection, all parameters come will be gathered in CAN mouthfuls of server and serial server and maps to Ethernet, for host computer system
System is accessed.
The control method realized using the above-mentioned ship energy efficiency management control platform based on fuzzy clustering and genetic algorithm, its
It is characterised by:Using all parameters for collecting, take the method for fuzzy clustering carries out cluster analysis to navigation environment, and passes through
The method of Multiple Non-linear Regression Analysis obtains the dynamic response relation of operation of ship index and navigation environment, is referred to operation of ship
The minimum target of number, is constraint with the power demand for meeting full ship with engine speed as optimized variable, takes genetic algorithm to carry out
Dynamic optimization, determines the working condition of the main frame optimum speed, power-supplying forms and load under different navigation environments, automatic output control
System order.
As stated above, described all parameters include oil consumption, moment of torsion rotating speed, wind speed and direction, speed of a ship or plane course, water velocity
With bathymetric data.
As stated above, the method also includes man-machine interface and manual mode,
Man-machine interface is used to show all parameters and the current efficiency operation index of ship, provides the tune of data memory module
With port and input control command;
Under manual mode, the current efficiency operation of all parameters and ship that are shown according to man-machine interface by operating personnel refers to
Number, determines the working condition of the main frame optimum speed, power-supplying forms and load under different navigation environments, manual by man-machine interface
Control command is input into and sent to corresponding executing agency.
As stated above, described control command includes engine speed control command, automatic Unloading Control order and/or master
Hair axle hair switching control order, wherein sending out generator, the hair generator switching control of axle band based on main hair axle hair switching control order
Order.
As stated above, it is described to take the method for fuzzy clustering to carry out cluster analysis to navigation environment to be specially:Collection
All parameters for arriving constitute navigation environment factor data, by the navigation environment factor data of whole leg table in vector form
Show;Navigation environment key element is classified using fuzzy transmission closure.
As stated above, the described method by Multiple Non-linear Regression Analysis obtains operation of ship index with navigation ring
The dynamic response relation in border, specially:
The classification of the navigation environment key element drawn using the method for fuzzy clustering, is extracted congener navigation environment and wants prime number
According to and the efficiency that is calculated operate index, the scatter diagram between efficiency operation index and each navigation environment key element is drawn respectively, adopt
The relation of efficiency operation index and each navigation environment key element is determined with Multiple Non Linear Regression function, so as to index of being operated to efficiency
Computing formula is modified, and obtains the efficiency operation formula of index under variety classes navigation environment key element.
As stated above, it is described to take genetic algorithm to carry out dynamic optimization to be specially:
Engine speed is encoded to chromosome, is selected using the mode of iteration, intersected and mutation operator is exchanged
The information of chromosome in population, ultimately generates the chromosome for meeting optimization aim, that is, meet the operation of the efficiency under constraints and refer to
Main frame optimum speed value corresponding to number minimum, according to this optimum speed value output control order.
Beneficial effects of the present invention are:By designing a kind of ship energy efficiency management control based on fuzzy clustering and genetic algorithm
Platform processed and method, under different navigation environments, the current power consumption state of real-time monitoring ship is simultaneously carried out by man-machine interface
Display in real time, so that for Ship Controling person provides reference, it is possible to by the ship efficiency based on fuzzy clustering and genetic algorithm
Integrated management determines the engine speed corresponding to the optimum speed of ship with Controlling model, in the case where navigation environment is allowed,
Can automatic control host machine run under this rotating speed, by the rotating speed of optimal control main frame can with the efficiency level of ship-lifting, and
Influence of the environmental factor to ship energy consumption is eliminated or reduced, evades the irrationality of the default speed of a ship or plane, so that energy-conserving and environment-protective, the row of reduction
Put.
Specific embodiment
Hereinafter will embodiments of the invention be given with detailed description.Although the present invention will be with reference to some specific embodiments
It is illustrated and illustrates, but should be noted that the present invention is not merely confined to these implementation methods.Conversely, to the present invention
The modification for carrying out or equivalent, all should cover in the middle of scope of the presently claimed invention.
In addition, in order to better illustrate the present invention, numerous details are given in specific embodiment below.
It will be understood by those skilled in the art that without these details, the present invention can equally be implemented.It is right in other example
It is not described in detail in known method, flow, element and circuit, in order to highlight purport of the invention.
Fig. 1 is the structural representation of one embodiment of the invention, the ship energy efficiency management based on fuzzy clustering and genetic algorithm
Control platform includes:Sensor group, for the parameter needed for acquisition control, (sensor group is sensed including oil consumption in the present embodiment
Device, torque speed sensor, wind speed wind direction sensor, speed of a ship or plane course transmitter, water velocity sensor, host parameter sensing
Device, electrical network parameter sensor group and water depth sensor);Lower computer system, including data acquisition module and slave computer communication module,
Data acquisition module is used to gather discrete shape parameter, obtains the parameter of sensor group collection, and slave computer communication module is used for institute
There is parameter all to upload, receive control command and be sent to corresponding executing agency;Master system, including upper machine communication mould
Block, data memory module, data processing module and ship efficiency integrated management control module;Upper machine communication module is used to receive
Slave computer communication module upload all parameters, to slave computer communication module send control command;Data memory module is used for will
All parameters are stored;Data processing module is used for all parametric solutions that call parameter in data memory module, will receive
Analyse and be supplied to ship efficiency integrated management control module;Ship efficiency integrated management control module is used for using the ginseng after parsing
Number, based on fuzzy clustering and genetic algorithm, current efficiency operation index (EEOI) of real-time Ship ' determines the optimal of ship
The working condition of the speed of a ship or plane, power-supplying forms and load, and automatic output control order.
Include three kinds of communication types between Upper machine communication module and slave computer communication module:It is the next double CAN communications, serial
Communication and upper dual redundant ethernet communication.As shown in Fig. 2 the next double CAN communications are unified to gather discrete by CAN mouthfuls of server
Shape parameter and communication be uploaded to host computer;The ginseng that serial communication is gathered by the sensor group that serial server gathers each port
Number, all parameters come will be gathered in CAN mouthfuls of server and serial server and maps to Ethernet, is visited for master system
Ask.In the present embodiment, wherein, speed of a ship or plane course, rotating speed moment of torsion, longitude and latitude, oil consumption, wind speed and direction, current that sensor is gathered
Speed is uploaded to Ethernet by RS485 buses with bathymetric data through serial service device;Additionally, other discrete points datas, in full
The input of word amount, output, the discrete variable data such as analog input, output then by CAN through CAN mouthfuls of server be uploaded to
Too net.
Data memory module according to actual needs by all types of data storages on Ethernet in database, database
Using SQL database, in actual use, if desired call or query-relevant data can be indirectly complete by data processing module
Into.Wherein, the record of data is stored on the hard disk of Platform Server with database mode.Circulation filing side is taken in information management
Formula simultaneously files quantity according to memory space and time interval specify information, and stale information will automatically be substituted by fresh information.
Data processing module is used after each communication data frame is parsed for ship efficiency integrated management control module.If to going through
History data or parameter are inquired about, and can be also called by data processing module.Host computer can be by client access service
The form of device is read out to uploading data.
Preferably, master system also includes man-machine interface, for showing all parameters and the current efficiency operation of ship
Index, data memory module is provided calls port.Man-machine interface, as the medium of man-machine interaction, plays display data and hair
Lose one's life the effect of order, mainly shown and control interface, network of ship including main interface, ambient parameter display interface, host parameter
Parameter display interface, energy consumption parameter display interface, optimum management control interface.It is characterized in that described man-machine interface passes through C#
Language writes completion.The data of wherein the next collection, software voluntarily can read from network, such as ambient parameter, host parameter;Part
Comprehensive parameter is then accordingly shown after the ship efficiency integrated management control module of described master system is processed
Show, such as the main frame optimum speed under current ship efficiency operation index (EEOI), current environment.
The control method realized using the above-mentioned ship energy efficiency management control platform based on fuzzy clustering and genetic algorithm, such as
Shown in Fig. 3, master system obtains navigation environment factor data from Ethernet, and (data are gathered and uploaded by lower computer system
To Ethernet, including oil consumption, moment of torsion rotating speed, wind speed and direction, speed of a ship or plane course, water velocity and bathymetric data);Take fuzzy clustering
Method cluster analysis carried out to navigation key element, and by the method for Multiple Non-linear Regression Analysis obtain operation of ship index with
EEOI computing formula under the dynamic response relation of navigation environment, i.e. variety classes navigation environment key element, the formula in system not
Pre-build when coming into operation and standby;In practical application, the real-time navigation environment for only needing to be obtained according to Ethernet will
Prime number chooses the EEOI computing formula under such navigation environment key element according to the navigation environment key element generic for determining at that time;With
The minimum targets of operation of ship index E EOI, are constraint with the power demand for meeting full ship with engine speed as optimized variable, are adopted
Taking genetic algorithm carries out dynamic optimization, determines the work of the main frame optimum speed, power-supplying forms and load under different navigation environments
State, exports the control command under main frame optimum speed state to ECU, carries out rotating speed control to main frame, it is ensured that ship is in high energy
Run under effect state.
Preferably, the method also includes man-machine interface and manual mode.Man-machine interface is used to show all parameters and ship
Current efficiency operation index, data memory module is provided call port and input control command;Under manual mode, by
The current efficiency operation index of all parameters and ship that operating personnel show according to man-machine interface, under determining different navigation environments
Main frame optimum speed, power-supplying forms and load working condition, be manually entered by man-machine interface and sent control command to
Corresponding executing agency.
Described control command includes the hair switching of engine speed control command, automatic Unloading Control order and/or main hair axle
Control command, wherein main hair axle hair switching control order is main generator, axle generator switching control order.
The efficiency operation index of computing formula (1) Ship ' according to ship efficiency operation index (EEOI) simultaneously passes through people
Machine interactive interface shown, reference is provided with for Ship Controling person.
In formula:J is fuel type;CFjIt is j fuel oils CO2Emission factor;qjIt is the oil consumption of main frame unit interval;VgroundFor
The speed on the ground of ship;mcargoIt is the total amount of ship loading goods.
However, being directed to a certain specific ship, its fuel type j, CO2Emission factor CFjAll it is the value for determining, therefore ship
Efficiency operation index (EEOI) is mainly influenceed by the oil consumption of main frame unit interval and ship speed on the ground, wherein, main frame unit
The oil consumption of time and ship speed on the ground can respectively use formula (2), formula (3) to represent.
Vground=VS±VWater (3)
Wherein R represents resistance during ship's navigation;Ge represents the amount of fuel that unit effective power is consumed per hour;VsTable
Show ship to the water speed of a ship or plane;VWaterRepresent water velocity;ηtotalRepresent the gross efficiency of propulsion system.
Ship its resistance R during navigation mainly includes frictional resistance Rf, Added Resistance Rwave, windage RwindWith it is shallow
Water resistance Rshallow, respectively as shown in formula (4)-(7).
Rshallow=fs·Rdeep (7)
In formula, CfRepresent coefficient of frictional resistance;S represents wetted surface;ρ represents the density of water;hwaveRepresent that wave is high;Fr is Fu
Your moral number;Lw1 is the length of ship;RshallowRepresent resistance in shallow water;VwindIt is relative wind velocity;CwindRepresent air resistance coefficient, ρair
Represent atmospheric density;ATRepresent front face area;RdeepRepresent deep-water resistance (i.e. frictional resistance Rf, Added Resistance RwaveAnd windage
RwindSum), fsConversion coefficient is represented, can be represented with formula (8), HwaterIt is the depth of water;D is drauht.
Additionally, ship speed can represent that wherein J represents advance coefficient with the corresponding relation of engine speed with formula (9);D tables
Show airscrew diameter;nspeedRepresent engine speed;W represents semi-fluid coefficient.
To sum up, ship efficiency operation index E EOI is represented by the depth of water, wave height, ship to the water speed of a ship or plane, engine speed, wind speed
With the function of water velocity, it is available as following formula (10) is represented.
EEOI=f (Hwater,hwave,Vs,nspeed,Vwind,Vwater) (10)
However, complex by calculating that above-mentioned listed formula carries out EEOI, part formula is empirical equation, is not fitted
Variety classes ship is used, calculating time error is larger, is not easy to real ship application.Formula (10) is in different navigation environment key elements simultaneously
In the case of, to maintain the computational accuracy of formula, the coefficient of each parameter should be adjusted correspondingly according to navigation environment key element, therefore
Navigation environment key element is carried out fuzzy cluster analysis by consideration, is divided navigation environment key element by choosing appropriate confidence value
It is variety classes, then, under each navigation environment key element, Multiple Non-linear Regression Analysis is used for the data for being gathered
Method carry out amendment type (10), so as to EEOI computing formula be simplified, relatively accurate.
Specific method:The sensor installed by ship obtains the navigation environment factor data of whole leg, and with to
The form of amount represents, X1={ Hwater_1,hwave_1,Vwind_1,Vwater_1..., Xn={ Hwater_n,hwave_n,Vwind_n,
Vwater_n, wherein X1…XnRepresent different navigation environment key element during ship's navigation, common n groups;Using fuzzy transmission closure
Navigation environment key element is classified.First, it is known that characteristic index matrix X*It is as follows:
Secondly, using maximum specification to X*Standardized, obtained normalized matrix X0, as shown in formula (11), wherein,
Shown in maximum specification formula such as formula (12)
Wherein xijRepresenting matrix X*The i-th row, jth row;x'ijRepresenting matrix X0The i-th row, jth row;Mj=max (x1j,
x2j,...,xnj)。
Furthermore, fuzzy similarity matrix R=(r are constructed using minimax methodij)n×n;rijI-th row of representing matrix R, the
J is arranged;Using square transitive closure t (R) is sought from synthetic method;By choosing appropriate confidence value so that can be by navigation environment
Key element is divided into variety classes.
Then, congener navigation environment factor data and the EEOI data for being calculated are extracted, draw respectively EEOI with it is each
Scatter diagram between navigation environment key element, is linear relationship or non-linear relation between analysis EEOI and each navigation key element, is adopted
With Matlab Multiple Non Linear Regressions function regress (), the relation of EEOI and each navigation environment key element is determined, so as to obtain
Relatively simplify, relatively accurate EEOI computing formula under variety classes navigation environment key element, shown in its form such as formula (13), its
Middle a1-a7Corresponding coefficient is represented, under variety classes navigation environment key element, coefficient correlation and contained item in formula will
It is different.
EEOI=a1·Hwater±a2·hwave±a3·Vs±a4·n±a5·Vwind±a6·Vwater±a7·Vs 2...
(13)
Finally, after the EEOI formula under variety classes navigation environment key element is determined, with operation of ship index E EOI
Minimum target, is constraint with the electricity needs and hours underway that meet full ship, using heredity with engine speed as optimized variable
Algorithm carries out dynamic optimization, determines the main frame optimum speed under variety classes navigation environment key element, and system is under this optimum speed
Determine the power-supplying forms of system and the working condition of load, and automatic output control order.Genetic algorithm is that problem parameter is compiled
Code is chromosome, recycles the mode of iteration the computing such as to be selected, intersected and made a variation to exchange the letter of chromosome in population
Breath, ultimately generates the chromosome for meeting optimization aim.Its optimization is independent of gradient information when calculating, and does not require object function
It is continuous and can lead, it is adapted to solve the insoluble extensive, nonlinear combinatorial optimization problem of conventional search methods.
Specific method is as follows:(1) random initializtion population.Setting Population Size, maximum genetic algebra and individual lengths, really
Determine the constraints such as formula (14) of feasible solution, wherein ftimeN () represents the hours underway under different rotating speeds, tmaxRepresent maximum boat
Row time, nmin、nmaxThe minimum and maximum rotating speed of main frame is represented respectively, and by binary coding the feasible solution of required problem
It is expressed as the chromosome or individuality in hereditary space;(2) fitness value of population is calculated.It is in seeking formula (15) in the present embodiment
The minimum value of EEOI, therefore consider the reciprocal as individual fitness value, the smaller individuality of functional value, its adaptation of functional value
Value is bigger, therefore can therefrom find out optimum individual;(3) selection operation.The selected probability of individuality is closely related with fitness value,
Ideal adaptation angle value is higher, and selected probability is bigger, and this example uses roulette method;(4) crossover operation.Intersected using real number
Method, is combined by two exchanges of chromosome, the outstanding feature that father goes here and there is entailed word string, so as to produce new excellent individual;
(5) mutation operation;(6) judge to evolve and whether terminate, if it is not, return to step (2);It is final to obtain the dyeing for meeting optimization aim
Body, that is, meet the main frame optimum speed value corresponding to the EEOI minimums under constraints, and system is exported according to this optimum speed value
Control command.
During actual motion, system detects the classification belonging to current environment key element first, then chooses this classification
Under be corrected after EEOI computing formula, and then the optimum speed of main frame is determined by above-mentioned genetic algorithm, and optimal herein
The power-supplying forms of system and the working condition of load, i.e., when main frame is operated under this optimum speed, such as axle band are determined under rotating speed
Generated output power can not meet the electricity needs of full ship, then lay down secondary load automatically, can not still meet complete after such as unloading
The electricity needs of ship, then automatically switch to main generator for full ship is powered.The output of control command mainly includes digital output
And analog output, wherein digital output needs after treatment to carry out the defeated of relevant control to some operating modes mainly for data
Go out, such as main generator, axle generator switching control, automatic Unloading Control signal;Analog output is mainly for system data
Some variable signals carry out output control, such as the rotating speed control of main frame after treatment.
In sum, it is flat the invention provides a kind of ship energy efficiency management control based on fuzzy clustering and genetic algorithm
Platform, system can automatically export corresponding control signal and control marine propuision system in optimal efficiency shape according to current efficiency level
Run under state.Compared with prior art, the present invention overcomes traditional ship low shortcoming of energy efficiency when being navigated by water under setting the speed of a ship or plane,
Influence of the navigation environment to ship energy consumption is taken into full account, the efficiency of marine propuision system can have been realized under different navigation environments
Monitoring and optimal control, make ship operate in the Best Point of efficiency all the time, evade the irrationality of the default speed of a ship or plane, so as to improve ship
Oceangoing ship efficiency, energy-conserving and environment-protective.
Implementation method and accompanying drawing are only the conventional embodiment of the present invention specifically above.Obviously, claims are not being departed from
Can there are various supplements, modification on the premise of the present invention spirit and invention scope that are defined and replace.Those skilled in the art
It should be understood that the present invention in actual applications can be according to specific environment and job requirement on the premise of without departing substantially from invention criterion
It is varied from form, structure, layout, ratio, material, element, component and other side.Therefore, the embodiment of disclosure herein
It is merely to illustrate and unrestricted, the scope of the present invention is defined by appended claim and its legal equivalents, and is not limited to before this
Description.