A kind of ship model experimental tank automatic Control Systems of Liquids Height and its control method
Technical field
The invention belongs to automatic control technology fields, are related to a kind of automatic Control Systems of Liquids Height, more specifically to one
Kind ship model experimental tank automatic Control Systems of Liquids Height and its control method.
Background technology
Ship model experimental tank is the critical facility for carrying out ship performance research examination face, is the place of Ship model test.Sea
Large scale equipment in foreign engineering is required for carrying out water pool model test before water under construction substantially, more may be used by testing to obtain
The ship motion data and structure stress situation leaned on, so as to which the design for oceanographic equipment provides reliable foundation.
Ship model experimental tank water filling before and after the test at present discharges water and liquid level adjustment work is substantially by manual operation
It completes, since water size is difficult to control, discharge time is very long and is difficult to calculate, once forget to close water valve will by operating personnel
Bigger loss is caused, needs manually to carry out on-site supervision.If the height of liquid level is required, it is also necessary to artificial to carry out
Repeated measurement, water filling or discharge water is adjusted liquid level again later.This manual mode of operation is very inconvenient, less efficient
It is and not high to Liquid level precision.
How for this highly professional occasion of ship model experimental tank, design a kind of automatic Control Systems of Liquids Height and its
Control method can realize unattended water filling, discharge water operation, and can be detected control to liquid level in real time, and have
Remote operation and fault-tolerant safeguard measure, to meet the needs of Marine engineering tank experiments room.
Invention content
The purpose of the present invention is existing problem and shortage for the above-mentioned prior art, to meet Marine engineering tank experiments
The demand of room provides a kind of ship model experimental tank automatic Control Systems of Liquids Height and its control method.
The present invention can realize the unattended water filling of ship model experimental tank and the operation to discharge water, and can be in real time to ship model experiment
Pond liquid level is highly detected control, and has remote operation and fault-tolerant safeguard measure, to meet Marine engineering tank experiments room
Demand.
In order to achieve the above objectives, technical solution is used by the present invention realizes purpose:
A kind of ship model experimental tank automatic Control Systems of Liquids Height, by embeded processor module, liquid crystal touch control screen, power supply,
Certified mobile phone, GSM communication network, gsm module, the first liquid level sensor module, the second liquid level sensor module, the first hair
Emitter module, second transmitter module, receiver module, wireless network, the first relay, the second relay, entering water electromagnetic valve
Module and water-drainage solenoid valve module composition.
Above-mentioned certified mobile phone is connected by GSM communication network with gsm module, is reported for sending control short message and receiving
Alert information.
Above-mentioned gsm module is connected with embeded processor module by serial ports, is alarmed for receiving control short message and sending
Information.
Above-mentioned liquid crystal touch control screen is connected with embeded processor module, for showing the interface of tank level control system software,
Carry out liquid level setting, activation system operation.
Above-mentioned power supply is powered embeded processor module.
Above-mentioned first liquid level sensor module is positioned over the bottom of ship model experimental tank, for measuring ship model experimental tank
Liquid level.
Above-mentioned second liquid level sensor module is placed in the top of ship model experimental tank, can for monitoring ship model experimental tank
The peak level reached.
Above-mentioned first transmitter module is connect with the first liquid level sensor module by RS485 interfaces.
Above-mentioned second transmitter module is connect with the second liquid level sensor module by RS485 interfaces.
Above-mentioned receiver module is connect with embeded processor module by USB interface.
Above-mentioned first transmitter module, second transmitter module and receiver module form a type of wireless network.
Above-mentioned first relay and the second relay are connected respectively with embeded processor module, for controlling solenoid valve mould
The energization and power-off of block.
Above-mentioned first relay and the second relay respectively with the entering water electromagnetic valve mounted on water inlet and discharge tube road and
Water-drainage solenoid valve is connected, for controlling the water inlet in pond and blow-off line.
Liquid level software is installed in above-mentioned embeded processor module.
The first above-mentioned liquid level sensor module 5 is preferably throw-in type liquid level sensor module.
The second above-mentioned liquid level sensor module 6 is preferably infrared level sensors module.
Above-mentioned first transmitter module 7 and second transmitter module 8 are preferably ZIGBEE router-modules.
Above-mentioned receiver module 10 is preferably ZIGBEE coordinator modules.
In order to achieve the above objectives, another technical solution is used by the present invention realizes purpose:
A kind of control method of ship model experimental tank automatic Control Systems of Liquids Height, includes the following steps:
Step 1:The power supply of ship model experimental tank automatic Control Systems of Liquids Height is opened, administrator is defeated by liquid crystal touch control screen
Enter password, system enters standby mode;
Step 2:Administrator can select field control mode or remote controlled manner according to demand, when using field control
Mode, the liquid level h that administrator is then needed by the setting of liquid crystal touch control screen, and activation system;When using remote controlled manner,
Administrator then sends the control comprising liquid level h and activation system information by GSM communication network using the mobile phone of certification
Short message content is sent to embeded processor module, embeded processor mould by short message to gsm module, gsm module by serial ports
Block tests to the legitimacy and form of short message, when meeting the requirements, liquid level h and activation system in short message is extracted, when not
Meeting the requirements, it is failed then to send corresponding warning short message prompting administrator's remote operation.
Step 3:First liquid level sensor module detects initial liquid level height h ' and sends first transmitter module to, the
Initial liquid level height h ' is sent to receiver module by one transmitter module by wireless network, and receiver module is first what is received
Beginning, liquid level h ' sent embeded processor module to.
Step 4:Embeded processor mould Liquid level software in the block judges initial liquid level height h ' and the liquid level of setting
The relationship of height h works as h ' less than h, then opens entering water electromagnetic valve module by the first relay and carry out water flood operations;Work as h ' to be more than
H then opens water-drainage solenoid valve module by the second relay and carries out the operation that discharges water;Work as h ' equal to h, then without any operation,
System returns to standby mode.
Step 5:In water filling or during discharging water, the first liquid level sensor module constantly detects the height h " of liquid level in real time
And sending first transmitter module to, liquid level h " is sent to receiver mould by first transmitter module by wireless network
The liquid level h " received is sent to embeded processor module by block, receiver module, and Liquid level software constantly judges to receive
The liquid level h " arrived whether be equal to setting liquid level h, when equal to when then stop water filling or the operation to discharge water.
Step 6:It is supervised when, since failure causes water level constantly to rise, reaching the second liquid level sensor during water filling
During the peak level position of survey, the second liquid level sensor then sends alarm signal and gives second transmitter module, second transmitter mould
Alarm signal is sent to receiver module by block by wireless network, and the alarm signal received is sent to insertion by receiver module
Formula processor module, embeded processor module close entering water electromagnetic valve module by the first relay, stop water flood operations.
Meanwhile embeded processor module controls gsm module to send warning short message to by certification by GSM communication network by serial ports
Mobile phone (the generally mobile phone of administrator), prompts administrator's liquid level to reach extreme higher position, to be handled accordingly.
Administrator sends system emergency and stops control short message, make entering water electromagnetic valve module, water-drainage solenoid valve mould after warning short message is received
Block simultaneously closes off, and tank level control system is in the lock state, it is necessary to which administrator is waited for input unlocking pin could system for unlocking.
Present invention feature possessed compared with the prior art and advantageous effect are mainly:
1st, the present invention provides a kind of reliable and stable ship model experimental tank tank level control system for ship model experimental tank
And its control method, administrator need not be concerned about initial liquid level, as long as setting the liquid level of needs, system can be certainly
It is dynamic to judge to carry out water filling or the operation that discharges water, can realize that unattended water filling, discharge water process, and can in real time to liquid level into
Row detection control, precision is high, while has the function of remote operation, and double liquid level sensor pattern has ensured the safety of system, complete
The demand for control for the water inlet of Marine engineering tank experiments room can be met entirely, discharging water.
2nd, tank level control system simple structure of the present invention, implementation is high, easy to operate, good reliability.
Description of the drawings
Fig. 1 is a kind of structural schematic block diagram of ship model experimental tank automatic Control Systems of Liquids Height of the present invention;
Fig. 2 is ship model experimental tank automatic Control Systems of Liquids Height control method flow diagram;
Fig. 3 is the control method flow diagram of embodiment 1;
Fig. 4 is the control method flow diagram of embodiment 2;
Fig. 5 is the control method flow diagram of embodiment 3.
Specific embodiment
In the following with reference to the drawings and specific embodiments to the present invention a kind of ship model experimental tank automatic Control Systems of Liquids Height and
Its control method is described in further detail.
As shown in Figure 1, a kind of ship model experimental tank automatic Control Systems of Liquids Height, is touched by embeded processor module 4, liquid crystal
Control screen 11, power supply 12, certified mobile phone 1, GSM communication network 2, gsm module 3, the first liquid level sensor module 5, the second liquid
Level sensor module 6, first transmitter module 7, second transmitter module 8, wireless network 9, receiver module 10, the first relay
Device 13, entering water electromagnetic valve module 14, the second relay 15 and water-drainage solenoid valve module 16 form.
Certified mobile phone described above is connected by GSM communication network with gsm module, for send control short message and
Receive warning message.
Gsm module described above is connected with embeded processor module by serial ports, for receiving control short message and hair
Send warning message.
Liquid crystal touch control screen described above is connected with embeded processor module, can show tank level control system software
Interface can carry out the operations such as liquid level setting, activation system.
Power supply described above is powered embeded processor module.
First liquid level sensor module described above is positioned over the bottom of ship model experimental tank, for measuring ship model experiment
The liquid level in pond.
Second liquid level sensor module described above is placed in the top of ship model experimental tank, for monitoring ship model experiment water
The peak level that pond can reach.
First transmitter module described above is connect with the first liquid level sensor module by RS485 interfaces.
Second transmitter module described above is connect with the second liquid level sensor module by RS485 interfaces.
Receiver module described above is connect with embeded processor module by USB interface.
First transmitter module, second transmitter module and receiver module described above can form certain type of
Wireless network.
First relay and the second relay described above is connected respectively with embeded processor module, for controlling electricity
The energization and power-off of magnet valve module.
First relay described above and the second relay respectively with mounted on water inlet and discharge tube road into water power
Magnet valve is connected with water-drainage solenoid valve, for controlling the water inlet in pond and blow-off line.
In the following embodiments, the first liquid level sensor module 5 preferably throw-in type liquid level sensor module, the second liquid
Level sensor module 6 is preferably infrared level sensors module, and first transmitter module 7 and second transmitter module 8 are preferably
ZIGBEE router-modules, receiver module 10 are preferably ZIGBEE coordinator modules.ZIGBEE router-modules and ZIGBEE
Coordinator module forms a point-to-multipoint wireless ZIGBEE network, using multiple spot transparent transmission mode.
Embodiment 1:Ship model experimental tank is that empty pond or liquid level do not reach object height, carries out water flood operations.It is real
As shown in Figure 2 to Figure 3, it is as follows that flow is embodied in the flow chart for applying example 1:
The liquid level h that administrator is needed by the setting of liquid crystal touch control screen 11, activation system.
Throw-in type liquid level sensor module 5 detects initial liquid level height h ', and h ' is transmitted to first by RS485 interfaces
The initial liquid level height h ' received is passed through ZIGBEE networks by ZIGBEE router-modules 7, the first ZIGBEE router-modules 7 again
9 are transmitted to ZIGBEE coordinator modules 10.
The initial liquid level height h ' that ZIGBEE coordinator modules 10 receive sends embeded processor to by USB interface
Module 4, the Liquid level software in embeded processor module 4 judge whether received initial liquid level height h ' is less than management
Liquid level h set by member.When less than embeded processor module 4 opens entering water electromagnetic valve mould by the first relay 14
Block 15, water inlet pipe conducting, carries out water flood operations.
In the injecting process, the constantly height h " of detection liquid level, and liquid level height in real time of throw-in type liquid level sensor module 5
Degree h " is transmitted to the first ZIGBEE router-modules 7 by RS485 interfaces, and the first ZIGBEE router-modules 7 are again receiving
Liquid level h " is transmitted to ZIGBEE coordinator modules 10 by ZIGBEE networks 9, what ZIGBEE coordinator modules 10 received
Liquid level h " sends embeded processor module 4 to by USB interface.Liquid level software constantly judges the liquid level received height
The liquid level h whether h " is equal to setting is spent, when equal to then closing entering water electromagnetic valve module 15 by the first relay 14, stop
Only water flood operations.
If in the injecting process, throw-in type liquid level sensor module 5 breaks down so that liquid level data h " loses
Very or the first ZIGBEE router-modules 7 break down, and can not correctly transmit liquid level h " numerical value, necessarily lead to pond
Liquid level rises steadily.It is red when pond liquid levels height h " increases to the highest liquid level position of the monitoring of infrared level sensors module 6
Outer liquid level sensor module 6 can transmit alarm signal to the 2nd ZIGBEE router-modules 8 by RS485 interfaces, and second
The alarm signal received is transmitted to ZIGBEE coordinator modules 10 by ZIGBEE router-modules 8 by ZIGBEE networks 9 again,
10 alarm signals received of ZIGBEE coordinator modules send embeded processor module 4 to by USB interface.Embedded place
Reason device module 4 receive after the alarm signal that infrared level sensors module 6 is sent can immediately by the first relay 14 come
Entering water electromagnetic valve module 15 is closed, stops water flood operations.Embeded processor module 4 passes through GSM by serial ports control gsm module 3
Communication network 2 sends warning short message to the mobile phone (the generally mobile phone of administrator) in advance Jing Guo certification, prompts administrator's liquid level
Height has reached extreme higher position, to be handled accordingly.
Embodiment 2:It is more than object height to have water or liquid level in ship model experimental tank, carries out the operation that discharges water.Embodiment 2
Flow chart as shown in Figures 2 to 4, specific implementation flow it is as follows:
The liquid level numerical value h that administrator is needed by the setting of liquid crystal touch control screen 11, activation system.
Throw-in type liquid level sensor module 5 detects initial liquid level height h ', and h ' is transmitted to first by RS485 interfaces
The initial liquid level height h ' received is passed through ZIGBEE networks by ZIGBEE router-modules 7, the first ZIGBEE router-modules 7 again
9 are transmitted to ZIGBEE coordinator modules 10.
The initial liquid level height h ' that ZIGBEE coordinator modules 10 receive sends embeded processor to by USB interface
Module 4, is judged whether received initial liquid level height h ' is more than by the Liquid level software in embeded processor module 4
Liquid level numerical value h set by administrator.When more than embeded processor module 4 is put by the second relay 16 to open
Water solenoid valve module 17, discharge tube conducting, carries out the operation that discharges water.
In the process of water release, the constantly height h " of detection liquid level, and liquid level height in real time of throw-in type liquid level sensor module 5
Degree h " is transmitted to the first ZIGBEE router-modules 7 by RS485 interfaces, and the first ZIGBEE router-modules 7 are again receiving
Liquid level h " is transmitted to ZIGBEE coordinator modules 10 by ZIGBEE networks 9, what ZIGBEE coordinator modules 10 received
Liquid level h " sends embeded processor module 4 to by USB interface.Liquid level software constantly judges the liquid level received height
Spend h " whether be equal to setting liquid level h, when equal to, then water-drainage solenoid valve module 17 is closed by the second relay 16,
Stop the operation that discharges water.Particularly, when the liquid level h of setting is 0, represent that administrator wishes tank water to give out light, this feelings
Pond has fraction ponding in order to prevent under condition, and when liquid level h " is 0, continuing to extend certain discharge time (can be
Set in software), water-drainage solenoid valve module 17 is closed again later, to achieve the purpose that completely to be allowed to dry water.
Embodiment 3:Remote operation controls ship model experimental tank automatic Control Systems of Liquids Height.The flow chart of embodiment 3 such as Fig. 5
Shown, specific implementation flow is as follows:
In ship model experimental tank automatic Control Systems of Liquids Height operational process, administrator can utilize the mobile phone 1 of certification
Control short message is sent to gsm module 3 by GSM communication network 2, so as to achieve the purpose that tele-control system.
After administrator sends the control short message comprising liquid level numerical value and activation system information to gsm module 3, GSM
Short message content is sent to embeded processor module 4 by module 3 by serial ports, and embeded processor module 4 judges the control received
The legitimacy of short message processed if as transmitted by unauthenticated mobile phone, then sends information warning and reminds administrator.If by
Transmitted by the mobile phone of certification, and short message content form is controlled to meet the requirements, then start ship model experimental tank liquid automatic control
System is operated accordingly;If controlling short message content form undesirable, send information warning and remind administrator.Such as
The liquid level numerical value of fruit control short message setting is more than initial liquid level height number, then the automatic water filling carried out such as embodiment 1 is grasped
Make;It is automatic to carry out putting such as embodiment 2 if the liquid level numerical value of short message setting is controlled to be less than initial liquid level height number
Water operates.
If administrator receives the SMS Tip of system exception, even if not at the scene, system emergency can be sent immediately and stopped
Short message is only controlled, simultaneously closes off entering water electromagnetic valve module 15, water-drainage solenoid valve module 17, tank level control system is in locking shape
State, it is necessary to which administrator is waited for input unlocking pin could system for unlocking.
It these are only embodiments of the present invention, description is more specific and in detail, but can not therefore be interpreted as pair
The limitation of the scope of the claims of the present invention.It should be pointed out that for those of ordinary skill in the art, the present invention is not being departed from
Under the premise of design, various modifications and improvements can be made, these belong to the protection domain of the claims in the present invention.