CN108415356A - Virtual liquid level simulating control method, system and virtual liquid level simulating device - Google Patents

Virtual liquid level simulating control method, system and virtual liquid level simulating device Download PDF

Info

Publication number
CN108415356A
CN108415356A CN201810121085.7A CN201810121085A CN108415356A CN 108415356 A CN108415356 A CN 108415356A CN 201810121085 A CN201810121085 A CN 201810121085A CN 108415356 A CN108415356 A CN 108415356A
Authority
CN
China
Prior art keywords
liquid level
virtual
instruction
liquid
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810121085.7A
Other languages
Chinese (zh)
Inventor
张建林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Plus Yangxin Technology Research Institute
Original Assignee
Beijing Plus Yangxin Technology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Plus Yangxin Technology Research Institute filed Critical Beijing Plus Yangxin Technology Research Institute
Priority to CN201810121085.7A priority Critical patent/CN108415356A/en
Publication of CN108415356A publication Critical patent/CN108415356A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • G09B9/02Simulators for teaching or training purposes for teaching control of vehicles or other craft
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/16Plc to applications
    • G05B2219/163Domotique, domestic, home control, automation, smart, intelligent house

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of virtual liquid level simulating control method, virtual liquid level simulating control system, virtual liquid level simulating device, computer installation and computer readable storage mediums, wherein virtually liquid level simulating control method includes:Receive liquid storage transmitting-receiving instruction;Instruction, which is received and dispatched, according to liquid storage determines virtual liquid level pace of change;Control dummy fluid bit pointer is moved with virtual liquid level pace of change.Virtual liquid level simulating control method provided by the invention, virtual liquid level pace of change is determined when receiving liquid storage transmitting-receiving instruction, dummy fluid bit pointer is controlled again later to move with virtual liquid level pace of change, the variation of liquid level thus can be directly simulated by the change in location of dummy fluid bit pointer, it changes by the way of real liguid simulation liquid level variation, the accuracy for improving liquid level simulation, simplifies the structure of liquid level simulator, has expanded the usage scenario of liquid level simulator.

Description

Virtual liquid level simulating control method, system and virtual liquid level simulating device
Technical field
The present invention relates to analog machine technical fields, in particular to a kind of virtual liquid level simulating control method, dummy fluid Bit emulator control system, virtual liquid level simulating device, computer installation and computer readable storage medium.
Background technology
The training on operations such as the receipts oil of oil plant, hair oil, oil storage are the system oils such as culture automobile, train, ship, aircraft in oil tank Expect the indispensable link of operating personnel.Due to inflammable, the explosive properties of true fuel oil, in addition student's operation is easy out in training process Mistake has huge risk using true fuel oil come operator training, and general method is using various analogue systems Method trains oil plant operating personnel.
Existing analogue system implementation is usually:True fuel oil is replaced equipped with liquid medium using oil tank, is examined Consider safety problem, liquid medium therein is mostly the inert fluids such as water.It is various in complex pipeline by connecting multiple oil tanks Setting, the operation sequences such as electronic switch pump are switched, the liquid in the additional reservoir of outside toward filling in oil tank, or the liquid in oil tank Body is retracted to additional reservoir outward, and the liquid in a tank is imported into the medium operation of another tank, carrys out analog simulation reality The receipts oil of oil plant in the oil tank of border, hair oil, oil storage operation, and be related to the position of the liquid level of oil tank safety be by liquid level sensor come It is transferred in computer, consistent display synchronous with the liquid level display location holding in the oil tank on computer.
However, in existing oil plant operation simulation training method, because oil tank has liquid medium and existing problems with:
(1) evaporate problem, and liquid can be gradually decreased because of evaporation, after a period of time, be made because evaporating Decline at liquid level so that receipts oil, hair oil, the simulated operation of oil storage are inaccurate, and the more long the simulated operation time the more inaccurate;
(2) due to the evaporation of liquid, the adding liquid in tank is just needed at regular intervals, and adjust liquid level, grasp Make cumbersome, causes maintenance cost height;
(3) due to the aging of oil tank and there are risk of leakage, it is possible to occur liquid leakage and to Training Environment and training Effect brings adverse effect;
(4) since using true ponderable liquid, the material and thickness requirement to tank are high, and use multiple liquid levels Sensor, the equipment cost that this allows for simulation system are higher;
(5) liquid in oil tank and additional reservoir has weight and has higher requirement for the load-bearing of floor so that due to The reason of weight and to impart knowledge to students place the restricted requirement of selection, be not suitable for be mounted on floor on, that is, with can be only installed at Stall On face, which limits the use scopes of simulation system.
Invention content
At least one in order to solve the above-mentioned technical problem, the embodiment of the first aspect of the present invention proposes a kind of dummy fluid Bit emulator control method.
A kind of the second aspect of the present invention embodiment, it is also proposed that virtual liquid level simulating control system.
A kind of the third aspect of the present invention embodiment, it is also proposed that virtual liquid level simulating device.
A kind of the fourth aspect of the present invention embodiment, it is also proposed that computer installation.
A kind of the fifth aspect of the present invention embodiment, it is also proposed that computer readable storage medium.
In view of this, embodiment according to the first aspect of the invention, the present invention proposes a kind of virtual liquid level simulating control Method processed, including:Receive liquid storage transmitting-receiving instruction;Instruction, which is received and dispatched, according to liquid storage determines virtual liquid level pace of change;Control dummy fluid Bit pointer is moved with virtual liquid level pace of change.
Virtual liquid level simulating control method provided by the invention determines that virtual liquid level becomes when receiving liquid storage transmitting-receiving instruction Change speed, controls dummy fluid bit pointer again later and moved with virtual liquid level pace of change, thus can directly pass through dummy fluid The change in location of bit pointer simulates the variation of liquid level, changes by the way of real liguid simulation liquid level variation, improves The accuracy of liquid level simulation, simplifies the structure of liquid level simulator, has expanded the usage scenario of liquid level simulator.
In addition, the virtual liquid level simulating control method in above-described embodiment provided by the invention can also have following add Technical characteristic:
In the above-mentioned technical solutions, it is preferable that further include:When liquid storage transmitting-receiving instruction includes lotion instruction, open virtual First control valve of device for storing liquid;When liquid storage transmitting-receiving instruction includes receiving liquid instruction, the second control of virtual device for storing liquid is opened Valve.
In the technical scheme, when receiving lotion instruction and receiving liquid instruction, virtual device for storing liquid is accordingly opened First control valve or the second control valve improve the authenticity of analog machine simulation, wherein can also include corresponding control in instruction The aperture of valve.
In any of the above-described technical solution, it is preferable that receive and dispatch instruction according to liquid storage and determine virtual liquid level pace of change, specifically Including:The aperture for determining the first control valve is instructed according to lotion, determines that virtual liquid level changes speed according to the aperture of the first control valve Degree;According to the aperture for receiving determining second control valve of liquid instruction, virtual liquid level pace of change is determined according to the aperture of the second control valve.
In the technical scheme, determine that virtual liquid level changes according to the aperture of the aperture of the first control valve or the second control valve Speed, usually, the aperture of valve are bigger, and the flow of liquid in-out is also bigger, and virtual liquid level pace of change is also bigger, Jin Erjin Improve to one step the authenticity of analog machine simulation process.
In any of the above-described technical solution, it is preferable that further include:According to the current location of dummy fluid bit pointer and virtual storage The shape of liquid device determines virtual liquid level pace of change.
In the technical scheme, pass in and out flow quantity it is certain under conditions of, liquid level variation also with virtual device for storing liquid Shape is related, such as:Virtual device for storing liquid is if cylinder, then virtual liquid level pace of change is at the uniform velocity;Virtual device for storing liquid If spherical shape, then in discharge opeing process, virtual liquid level pace of change is then a variable quantity, generally according to being first gradually reduced, Afterwards again gradually increased changing rule.Virtual liquid level variation speed is further determined and corrects by the shape of virtual device for storing liquid Degree promotes the accuracy and authenticity of the movement of dummy fluid bit pointer.
In any of the above-described technical solution, it is preferable that further include:Receive halt instruction;It is virtual according to halt instruction control Liquid level pointer stop motion.
In the technical scheme, dummy fluid bit pointer is controlled when receiving halt instruction to stop, it further can be with The first control valve and the second control valve are closed according to halt instruction, completes simulation liquid in-out operation at this time.
In any of the above-described technical solution, it is preferable that further include:It is generated according to the current location of dummy fluid bit pointer virtual Liquid level information;Virtual liquid level information is sent to display device, so that display device is according to the virtual virtual liquid storage of liquid level presentation of information The virtual liquid level of device.
In the technical scheme, additionally it is possible to current location (the current mould of dummy fluid bit pointer is shown by display device Quasi- liquid level) so that operating personnel can remotely read simulation liquid level.
The embodiment of second aspect of the present invention additionally provides a kind of virtual liquid level simulating control system, including:Receiving unit, For receiving liquid storage transmitting-receiving instruction;Determination unit determines virtual liquid level pace of change for receiving and dispatching instruction according to liquid storage;Control is single Member is moved for controlling dummy fluid bit pointer with virtual liquid level pace of change.
Virtual liquid level simulating control system provided by the invention determines that virtual liquid level becomes when receiving liquid storage transmitting-receiving instruction Change speed, controls dummy fluid bit pointer again later and moved with virtual liquid level pace of change, thus can directly pass through dummy fluid The change in location of bit pointer simulates the variation of liquid level, changes by the way of real liguid simulation liquid level variation, improves The accuracy of liquid level simulation, simplifies the structure of liquid level simulator, has expanded the usage scenario of liquid level simulator.
In addition, the virtual liquid level simulating control system in above-described embodiment provided by the invention can also have following add Technical characteristic:
In the above-mentioned technical solutions, it is preferable that further include:Control unit is additionally operable to when liquid storage transmitting-receiving instruction include that lotion refers to When enabling, the first control valve of virtual device for storing liquid is opened;Control unit is additionally operable to when liquid storage transmitting-receiving instruction includes receiving liquid instruction, Open the second control valve of virtual device for storing liquid.
In the technical scheme, when receiving lotion instruction and receiving liquid instruction, virtual device for storing liquid is accordingly opened First control valve or the second control valve improve the authenticity of analog machine simulation, wherein can also include corresponding control in instruction The aperture of valve.
In any of the above-described technical solution, it is preferable that determination unit, which is additionally operable to be instructed according to lotion, determines the first control valve Aperture, and virtual liquid level pace of change is determined according to the aperture of the first control valve;Determination unit is additionally operable to be referred to according to receipts liquid The aperture for determining the second control valve is enabled, and virtual liquid level pace of change is determined according to the aperture of the second control valve.
In the technical scheme, determine that virtual liquid level changes according to the aperture of the aperture of the first control valve or the second control valve Speed, usually, the aperture of valve are bigger, and the flow of liquid in-out is also bigger, and virtual liquid level pace of change is also bigger, Jin Erjin Improve to one step the authenticity of analog machine simulation process.
In any of the above-described technical solution, it is preferable that determination unit is additionally operable to the current location according to dummy fluid bit pointer Virtual liquid level pace of change is determined with the shape of virtual device for storing liquid.
In the technical scheme, pass in and out flow quantity it is certain under conditions of, liquid level variation also with virtual device for storing liquid Shape is related, such as:Virtual device for storing liquid is if cylinder, then virtual liquid level pace of change is at the uniform velocity;Virtual device for storing liquid If spherical shape, then in discharge opeing process, virtual liquid level pace of change is then a variable quantity, generally according to being first gradually reduced, Afterwards again gradually increased changing rule.Virtual liquid level variation speed is further determined and corrects by the shape of virtual device for storing liquid Degree promotes the accuracy and authenticity of the movement of dummy fluid bit pointer.
In any of the above-described technical solution, it is preferable that receiving unit is additionally operable to receive halt instruction;Control unit is additionally operable to Dummy fluid bit pointer stop motion is controlled according to halt instruction.
In the technical scheme, dummy fluid bit pointer is controlled when receiving halt instruction to stop, it further can be with The first control valve and the second control valve are closed according to halt instruction, completes simulation liquid in-out operation at this time.
In any of the above-described technical solution, it is preferable that further include:Generation unit, for working as according to dummy fluid bit pointer Front position generates virtual liquid level information;Transmission unit, for sending virtual liquid level information to display device, for display device root According to the virtual liquid level of the virtual virtual device for storing liquid of liquid level presentation of information.
In the technical scheme, additionally it is possible to current location (the current mould of dummy fluid bit pointer is shown by display device Quasi- liquid level) so that operating personnel can remotely read simulation liquid level.
The embodiment of third aspect present invention additionally provides a kind of virtual liquid level simulating device, including:Above-mentioned dummy fluid Bit emulator control system.
Virtual liquid level simulating device provided by the invention, by controlling the movement of dummy fluid bit pointer to simulate the change of liquid level Change, changes by the way of real liguid simulation liquid level variation, improve the accuracy of liquid level simulation, simplify device knot Structure has expanded the usage scenario of device.
In the above-mentioned technical solutions, it is preferable that further include:Virtual device for storing liquid;Scale is arranged in virtual device for storing liquid On;Level instruction device, including guide rail, motor and dummy fluid bit pointer, motor are arranged on guide rail and can be moved along guide rail, empty Quasi- liquid level pointer is arranged on motor, and dummy fluid bit pointer is directed toward scale;Display device, the void for showing virtual device for storing liquid Quasi- liquid level.
In the technical scheme, it is moved on guide rail by controlling motor to control the position of dummy fluid bit pointer, simulation Virtual liquid level, while virtual liquid level is shown by display device so that operating personnel can remotely read simulation liquid level.
The embodiment of fourth aspect present invention additionally provides a kind of computer installation, including memory, processor and storage On a memory and the computer program that can run on a processor, processor realize such as above-mentioned void when executing computer program Quasi- liquid level simulating control method.
Computer installation provided by the invention directly passes through void by realizing above-mentioned virtual liquid level simulating control method The change in location of quasi- liquid level pointer simulates the variation of liquid level, changes by the way of real liguid simulation liquid level variation, carries The accuracy for having risen liquid level simulation, simplifies the structure of liquid level simulator, has expanded the usage scenario of liquid level simulator.
The embodiment of fifth aspect present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer Program realizes such as above-mentioned virtual liquid level simulating control method when computer program is executed by processor.
Computer readable storage medium provided by the invention, by realizing above-mentioned virtual liquid level simulating control method, directly The change in location for connecting dummy fluid bit pointer simulates the variation of liquid level, changes using real liguid simulation liquid level variation Mode improves the accuracy of liquid level simulation, simplifies the structure of liquid level simulator, expanded the use of liquid level simulator Scene.
The additional aspect and advantage of the present invention will become apparent in following description section, or practice through the invention Recognize.
Description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination following accompanying drawings to embodiment Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow diagram of the virtual liquid level simulating control method of one embodiment of the present of invention;
Fig. 2 is the flow diagram of the virtual liquid level simulating control method of an alternative embodiment of the invention;
Fig. 3 is the schematic block diagram of the virtual liquid level simulating control system of one embodiment of the present of invention;
Fig. 4 is the structural schematic diagram of the virtual liquid level simulating device of one embodiment of the present of invention;
Fig. 5 shows the schematic block diagram of the computer installation of one embodiment of the present of invention.
Wherein, the correspondence in Fig. 4 between reference numeral and component names is:
402 operating mode machines, 404 motors, 406 pointers, 408 guide rails, 410 graduated scales, 412 transparent slack tanks, 414 first controls Valve, 416 second control valves, 418 display devices.
Specific implementation mode
To better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Referring to virtual liquid level simulating control method, the void described in Fig. 1 to Fig. 5 descriptions according to some embodiments of the invention Quasi- liquid level simulating control system, virtual liquid level simulating device and computer installation.
As shown in Figure 1, the present invention proposes a kind of virtual liquid level simulating control method, following steps are specifically included:
Step S102 receives liquid storage transmitting-receiving instruction;
Step S104 receives and dispatches instruction according to liquid storage and determines virtual liquid level pace of change;
Step S106, control dummy fluid bit pointer are moved with virtual liquid level pace of change.
Virtual liquid level simulating control method provided by the invention determines that virtual liquid level becomes when receiving liquid storage transmitting-receiving instruction Change speed, controls dummy fluid bit pointer again later and moved with virtual liquid level pace of change, thus can directly pass through dummy fluid The change in location of bit pointer simulates the variation of liquid level, changes by the way of real liguid simulation liquid level variation, improves The accuracy of liquid level simulation, simplifies the structure of liquid level simulator, has expanded the usage scenario of liquid level simulator.
In the above embodiment, it is preferable that when liquid storage transmitting-receiving instruction includes lotion instruction, virtual device for storing liquid is opened First control valve;When liquid storage transmitting-receiving instruction includes receiving liquid instruction, the second control valve of virtual device for storing liquid is opened.Specifically, The aperture for determining the first control valve is instructed according to lotion, and virtual liquid level pace of change is determined according to the aperture of the first control valve;Root According to the aperture for receiving determining second control valve of liquid instruction, virtual liquid level pace of change is determined according to the aperture of the second control valve.
In this embodiment, when receiving lotion instruction and receiving liquid instruction, the of virtual device for storing liquid is accordingly opened One control valve or the second control valve.Wherein, can also include the aperture of corresponding control valve in instruction, according to the first control valve Aperture or the aperture of the second control valve determine virtual liquid level pace of change, and usually, the aperture of valve is bigger, the flow of liquid in-out Bigger, virtual liquid level pace of change is also bigger, and then further improves the authenticity of analog machine simulation process.
As shown in Fig. 2, the present invention proposes a kind of virtual liquid level simulating control method, following steps are specifically included:
Step S202 receives liquid storage transmitting-receiving instruction;
Step S204, according to liquid storage transmitting-receiving instruction, the shape of the current location and virtual device for storing liquid of dummy fluid bit pointer Determine virtual liquid level pace of change;
Step S206, control dummy fluid bit pointer are moved with virtual liquid level pace of change;
Step S208 receives halt instruction;
Step S210 controls dummy fluid bit pointer stop motion according to halt instruction.
Virtual liquid level simulating control method provided by the invention, further, also according to the present bit of dummy fluid bit pointer Set it is determining and correct virtual liquid level pace of change with the shape of virtual device for storing liquid, this is because the item certain in disengaging flow quantity Under part, the variation of liquid level is also related to the shape of virtual device for storing liquid, such as:Virtual device for storing liquid is if cylinder, then empty Quasi- liquid level pace of change is at the uniform velocity;Virtual device for storing liquid is if spherical shape, then in discharge opeing process, virtual liquid level pace of change is then For a variable quantity, generally according to being first gradually reduced, rear and gradual increased changing rule.Pass through the shape of virtual device for storing liquid Virtual liquid level pace of change is further determined and corrected, the accuracy and authenticity of the movement of dummy fluid bit pointer are promoted.In addition, Dummy fluid bit pointer is controlled when receiving halt instruction to stop, and the first control can also be further closed according to halt instruction Valve and the second control valve complete simulation liquid in-out operation at this time.
In one embodiment of the invention, it is preferable that further include:It is generated according to the current location of dummy fluid bit pointer empty Quasi- liquid level information;Virtual liquid level information is sent to display device, so that display device is virtually stored up according to virtual liquid level presentation of information The virtual liquid level of liquid device.
In this embodiment, additionally it is possible to current location (the current simulation of dummy fluid bit pointer is shown by display device Liquid level) so that operating personnel can remotely read simulation liquid level.
The present invention also provides a kind of virtual liquid level simulating control systems 3, as shown in figure 3, including:Receiving unit 302 is used It is instructed in receiving liquid storage transmitting-receiving;Determination unit 304 determines virtual liquid level pace of change for receiving and dispatching instruction according to liquid storage;Control Unit 306 is moved for controlling dummy fluid bit pointer with virtual liquid level pace of change.
Virtual liquid level simulating control system 3 provided by the invention determines virtual liquid level when receiving liquid storage transmitting-receiving instruction Pace of change is controlled dummy fluid bit pointer and is moved with virtual liquid level pace of change again later, thus can be directly by virtual The change in location of liquid level pointer simulates the variation of liquid level, changes by the way of real liguid simulation liquid level variation, is promoted The accuracy of liquid level simulation, simplifies the structure of liquid level simulator, has expanded the usage scenario of liquid level simulator.
In one embodiment of the invention, it is preferable that further include:Control unit 306 is additionally operable to when liquid storage transmitting-receiving instruction When being instructed including lotion, the first control valve of virtual device for storing liquid is opened;Control unit 306 is additionally operable to when liquid storage transmitting-receiving instruction packet When including receipts liquid instruction, the second control valve of virtual device for storing liquid is opened.
In this embodiment, when receiving lotion instruction and receiving liquid instruction, the of virtual device for storing liquid is accordingly opened One control valve or the second control valve improve the authenticity of analog machine simulation, wherein can also include corresponding control valve in instruction Aperture.
In one embodiment of the invention, it is preferable that determination unit 304 is additionally operable to determine the first control according to lotion instruction The aperture of valve processed, and virtual liquid level pace of change is determined according to the aperture of the first control valve;Determination unit 304 is additionally operable to basis It receives liquid instruction and determines the aperture of the second control valve, and virtual liquid level pace of change is determined according to the aperture of the second control valve.
In this embodiment, determine that virtual liquid level changes speed according to the aperture of the aperture of the first control valve or the second control valve Degree, usually, the aperture of valve is bigger, and the flow of liquid in-out is also bigger, and virtual liquid level pace of change is also bigger, and then into one Improve the authenticity of analog machine simulation process in step ground.
In one embodiment of the invention, it is preferable that determination unit 304 is additionally operable to according to the current of dummy fluid bit pointer The shape of position and virtual device for storing liquid determines virtual liquid level pace of change.
In this embodiment, under conditions of disengaging flow quantity is certain, the shape of liquid level changed also with virtual device for storing liquid Shape is related, such as:Virtual device for storing liquid is if cylinder, then virtual liquid level pace of change is at the uniform velocity;If virtual device for storing liquid For spherical shape, then in discharge opeing process, virtual liquid level pace of change is then a variable quantity, generally according to being first gradually reduced, after Gradual increased changing rule again.Virtual liquid level variation speed is further determined and corrects by the shape of virtual device for storing liquid Degree promotes the accuracy and authenticity of the movement of dummy fluid bit pointer.
In one embodiment of the invention, it is preferable that receiving unit 302 is additionally operable to receive halt instruction;Control unit 306 are additionally operable to control dummy fluid bit pointer stop motion according to halt instruction.
In this embodiment, dummy fluid bit pointer is controlled when receiving halt instruction to stop, it further can be with root The first control valve and the second control valve are closed according to halt instruction, completes simulation liquid in-out operation at this time.
In one embodiment of the invention, it is preferable that further include:Generation unit 308, for according to dummy fluid bit pointer Current location generate virtual liquid level information;Transmission unit 310, for sending virtual liquid level information to display device, for aobvious Showing device is according to the virtual liquid level of the virtual virtual device for storing liquid of liquid level presentation of information.
In this embodiment, additionally it is possible to current location (the current simulation of dummy fluid bit pointer is shown by display device Liquid level) so that operating personnel can remotely read simulation liquid level.
The present invention also provides a kind of virtual liquid level simulating devices, including:Above-mentioned virtual liquid level simulating control system.
Virtual liquid level simulating device provided by the invention, by controlling the movement of dummy fluid bit pointer to simulate the change of liquid level Change, changes by the way of real liguid simulation liquid level variation, improve the accuracy of liquid level simulation, simplify device knot Structure has expanded the usage scenario of device.
In one embodiment of the invention, it is preferable that further include:Virtual device for storing liquid;Scale is arranged in virtual liquid storage On device;Level instruction device, including guide rail, motor and dummy fluid bit pointer, motor are arranged on guide rail and can be moved along guide rail Dynamic, dummy fluid bit pointer is arranged on motor, and dummy fluid bit pointer is directed toward scale;Display device, for showing virtual liquid storage dress The virtual liquid level set.
In this embodiment, it is moved on guide rail by controlling motor to control the position of dummy fluid bit pointer, simulation is empty Quasi- liquid level, while virtual liquid level is shown by display device so that operating personnel can remotely read simulation liquid level.
In one embodiment of the invention, it is preferable that as shown in figure 4, including:Operating mode machine 402, motor 404, pointer 406 (being equivalent to dummy fluid bit pointer), guide rail 408, graduated scale 410 (being equivalent to scale), transparent slack tank 412 (are equivalent to virtual Device for storing liquid), the first control valve 414, the second control valve 416, display device 418.
In this embodiment, true oil tank is simulated using transparent no medium slack tank, by designing multi information synchronized algorithm It realizes above-mentioned virtual liquid level simulating control method, algorithm instruction output is realized on industrial personal computer, as control and driving motor Signal, motor therein is preferably stepper motor, and motor moves and band along the upright guide rail on the outer wall of transparent slack tank Dynamic pointer moves up and down together, and the graduation position of pointer meaning is exactly the position for simulating the liquid level of oil plant operation or more dynamic change It sets.When wherein simulation hair oil operates, slack tank liquid level will decline, and industrial personal computer sends out instruction control motor and its connected pointer together It moves down, pointer pointed location is liquid level position;And when oil operation is received in simulation, slack tank liquid level will rise, and industrial personal computer is sent out Instruction control stepper motor and its connected pointer up move together, and pointer pointed location is liquid level position.
Wherein, the virtual liquid level of interface display of software can be shown by liquid level in display device (such as display), In the first control valve and the second control valve be solenoid valve, the control on the first solenoid valve and the identical pipeline of second solenoid valve Valve is hand-operated valve.
In addition, the movement speed of motor, a kind of example calculation method of pointer position (i.e. liquid level) are as follows:
It is known:(1) volume for receiving oil or hair oil is Vy, and conventional unit is to rise (cubic decimeter), and the flow velocity of oil pump is Ls, single Position is the liter/second, then is Ty=Vy/Ls the time required to receiving oil or hair oil, unit is the second;(2) radius of slack tank is R, is highly h The unit of (the namely motor distance to be moved), the two is decimetre, then the volume of slack tank is Vg=π R2* h, unit are to rise.
As the into and out oil tank of virtual fuel oil, then Vg=Vy, and the time of hair oil (or receiving oil) and motor traveling time It both must keep synchronizing consistent, i.e., the time wants equal, it is possible thereby to calculate the height i.e. pointer position that motor to be moved and be:
H=Vg/ (π R2)=Vy/ (π R2), unit is decimetre;
And stepper motor movement speed is then:
Sd=h/Ty=(Vy/ (π R2))/(Vy/Ls)=Ls/ (π R2), unit is to divide meter per second.
In this embodiment, the relationship of operational motion is as follows in device:
(1) hair oil operating process is simulated:Multi information synchronized algorithm on industrial personal computer starts, and is simultaneously emitted by three instructions, and one A is the simulative oilcan for generating display interface, and according to parameters such as oiling speed come the liquid level of dynamic displaying virtual oil plant;It is another A motor-driven valve for instructing the hair oil pipeline for issuing oil tank, opens valve;Programmable logic controller (PLC) PLC is issued in third instruction, Control stepper motor is moved along guide rail together with pointer, and dynamic analog shows the liquid level position of virtual liquid.Meanwhile passing through Synchronizing information algorithm, it is ensured that the virtual liquid level of simulative oilcan is synchronous with both virtual oil tank levels of software display interface correct aobvious Show.
(2) oily operating process is received in simulation:Multi information synchronized algorithm on industrial personal computer starts, and is simultaneously emitted by three instructions, and one A is the simulative oilcan for generating display interface, and according to parameters such as oiling speed come the liquid level of dynamic displaying virtual oil plant;It is another A motor-driven valve for instructing the collection tube road for issuing oil tank, opens valve;Programmable logic controller (PLC) PLC is issued in third instruction, Control stepper motor is moved along guide rail together with pointer, and dynamic analog shows the liquid level position of virtual liquid.Meanwhile passing through Synchronizing information algorithm, it is ensured that the virtual liquid level of simulative oilcan is synchronous with both virtual oil tank levels of software display interface correct aobvious Show.
The virtual liquid level simulating device provided through the invention, at least obtains technique effect below:
(1) true oil tank is simulated using transparent slack tank, does not need additional reservoir and hold liquid, need not be also held in tank Any medium need not also hold the additional reservoir of liquid medium;
(2) it is realized using synchronized algorithm empty come the virtual liquid level dynamic position of simulative oilcan by synchronizing information control method Liquid level in tank is shown shows that holding is synchronous with the virtual oil tank level on computer software interface, i.e., by synchronizing information side Method so that have the appearance of liquid level position display effect in slack tank when receiving oil, hair oil, oil storage operation, reach and exist with real liguid When liquid level show the same effect.Wherein, level parameter Display Realization mode is output by computerized algorithm in slack tank Instruction carrys out Driving Stepping Motor, and stepper motor drives position scale pointer instruction simulation liquid level;Void on computer software interface Quasi- oil tank level is shown, is realized by software programming.Specific implementation is:A kind of synchronizing information algorithm is designed, is received first, receiving Oil, hair oil, oil storage operational order, second is that detection valve switch signal, flow velocity setting signal, dummy fluid is calculated by timing The volume of body, and show rising or falling for liquid level in the oil tank figure on Computer display interface;Simultaneously, the synchronization Algorithm will be according to receiving letter come control computer output pulse signal as Driving Stepping Motor of oil, hair oil, oil storage operational order Number, the stepper motor that control is connected to indicating positions pointer is moved up and down along the upright guide rail on the outer wall of slack tank, stepping electricity Position indicator pointer meaning graduation mark position on machine can simulate the liquid level position of oil plant.
(3) the display signal of oil tank liquid level position comes from computer, and stepper motor is controlled by computerized algorithm output order, Virtual liquid level position is indicated by the pointer ined succession on stepper motor, and existing simulation system liquid level signal is adopted by liquid level sensor Collection, is then delivered to computer, the two direction is exactly the opposite.
(4) light-weight, installation is simple.Because without medium, the oil tank of installation is the slack tank weight of organic glass, can be with It hung on a wall and is placed on experimental bench.
(5) installation site does not have the limitation of load-bearing requirements, applied widely, can be installed on floor.
(6) maintenance cost is low, without consider liquid volatilization, supplement, prevent leakage the problems such as.
(7) pointer is driven using stepper motor to simulate the method precision height that liquid level is shown, there is no due to liquid evaporation The inaccurate problem of liquid level display precision caused by and.
(8) slack tank material is cheap, makes simply, without the concern for leakproofness, additional reservoir is not needed, in addition not needing liquid Level sensor, so the equipment cost of the present invention is cheaper than existing simulator.
The present invention also provides a kind of computer installations 5, as shown in figure 5, including memory 502, processor 504 and storage On memory 502 and the computer program that can run on processor 504, processor 504 are realized when executing computer program Such as above-mentioned virtual liquid level simulating control method.
Computer installation provided by the invention directly passes through void by realizing above-mentioned virtual liquid level simulating control method The change in location of quasi- liquid level pointer simulates the variation of liquid level, changes by the way of real liguid simulation liquid level variation, carries The accuracy for having risen liquid level simulation, simplifies the structure of liquid level simulator, has expanded the usage scenario of liquid level simulator.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, computer program Such as above-mentioned virtual liquid level simulating control method is realized when being executed by processor.
Computer readable storage medium provided by the invention, by realizing above-mentioned virtual liquid level simulating control method, directly The change in location for connecting dummy fluid bit pointer simulates the variation of liquid level, changes using real liguid simulation liquid level variation Mode improves the accuracy of liquid level simulation, simplifies the structure of liquid level simulator, expanded the use of liquid level simulator Scene.
In the present invention, term " multiple " then refers to two or more, unless otherwise restricted clearly.Term " peace The terms such as dress ", " connected ", " connection ", " fixation " shall be understood in a broad sense, for example, " connection " may be a fixed connection, it can also It is to be detachably connected, or be integrally connected;" connected " can be directly connected, can also be indirectly connected through an intermediary.It is right For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific conditions. In the description of this specification, the description of term " one embodiment ", " some embodiments ", " specific embodiment " etc. means to combine The embodiment or the particular features, structures, materials, or characteristics of example description are contained at least one embodiment of the present invention or show In example.In the present specification, schematic expression of the above terms are not necessarily referring to identical embodiment or example.Moreover, The particular features, structures, materials, or characteristics of description can be in any one or more of the embodiments or examples with suitable side Formula combines.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (16)

1. a kind of virtual liquid level simulating control method, which is characterized in that including:
Receive liquid storage transmitting-receiving instruction;
Instruction, which is received and dispatched, according to the liquid storage determines virtual liquid level pace of change;
Dummy fluid bit pointer is controlled to move with the virtual liquid level pace of change.
2. virtual liquid level simulating control method according to claim 1, which is characterized in that further include:
When liquid storage transmitting-receiving instruction includes lotion instruction, the first control valve of virtual device for storing liquid is opened;
When liquid storage transmitting-receiving instruction includes receiving liquid instruction, the second control valve of the virtual device for storing liquid is opened.
3. virtual liquid level simulating control method according to claim 2, which is characterized in that described to be received and dispatched according to the liquid storage Instruction determines virtual liquid level pace of change, specifically includes:
The aperture that first control valve is determined according to lotion instruction, according to the determination of the aperture of first control valve Virtual liquid level pace of change;
The aperture that second control valve is determined according to the receipts liquid instruction, according to the determination of the aperture of second control valve Virtual liquid level pace of change.
4. virtual liquid level simulating control method according to any one of claim 1 to 3, which is characterized in that further include:
The virtual liquid level variation speed is determined according to the shape of the current location of the dummy fluid bit pointer and virtual device for storing liquid Degree.
5. virtual liquid level simulating control method according to any one of claim 1 to 3, which is characterized in that further include:
Receive halt instruction;
The dummy fluid bit pointer stop motion is controlled according to the halt instruction.
6. virtual liquid level simulating control method according to any one of claim 1 to 3, which is characterized in that further include:
Virtual liquid level information is generated according to the current location of the dummy fluid bit pointer;
The virtual liquid level information is sent to display device, so that the display device is empty according to the virtual liquid level presentation of information The virtual liquid level of quasi- device for storing liquid.
7. a kind of virtual liquid level simulating control system, which is characterized in that including:
Receiving unit, for receiving liquid storage transmitting-receiving instruction;
Determination unit determines virtual liquid level pace of change for receiving and dispatching instruction according to the liquid storage;
Control unit is moved for controlling dummy fluid bit pointer with the virtual liquid level pace of change.
8. virtual liquid level simulating control system according to claim 7, which is characterized in that further include:
Described control unit is additionally operable to, when liquid storage transmitting-receiving instruction includes lotion instruction, open the first of virtual device for storing liquid Control valve;
Described control unit is additionally operable to, when liquid storage transmitting-receiving instruction includes receiving liquid instruction, open the virtual device for storing liquid Second control valve.
9. virtual liquid level simulating control system according to claim 8, which is characterized in that
The determination unit is additionally operable to determine the aperture of first control valve according to lotion instruction, and according to described the The aperture of one control valve determines the virtual liquid level pace of change;
The determination unit is additionally operable to determine the aperture of second control valve according to the receipts liquid instruction, and according to described the The aperture of two control valves determines the virtual liquid level pace of change.
10. the virtual liquid level simulating control system according to any one of claim 7 to 9, which is characterized in that
The determination unit is additionally operable to be determined according to the current location of the dummy fluid bit pointer and the shape of virtual device for storing liquid The virtual liquid level pace of change.
11. the virtual liquid level simulating control system according to any one of claim 7 to 9, which is characterized in that
The receiving unit is additionally operable to receive halt instruction;
Described control unit is additionally operable to control the dummy fluid bit pointer stop motion according to the halt instruction.
12. the virtual liquid level simulating control system according to any one of claim 7 to 9, which is characterized in that further include:
Generation unit, for generating virtual liquid level information according to the current location of the dummy fluid bit pointer;
Transmission unit, for sending the virtual liquid level information to display device, so that the display device is according to described virtual Liquid level information shows the virtual liquid level of virtual device for storing liquid.
13. a kind of virtual liquid level simulating device, which is characterized in that including:
Virtual liquid level simulating control system as described in any one of claim 7 to 12.
14. virtual liquid level simulating device according to claim 13, which is characterized in that further include:
Virtual device for storing liquid;
Scale is arranged on the virtual device for storing liquid;
Level instruction device, including guide rail, motor and dummy fluid bit pointer, the motor are arranged on the guide rail and can be along institutes Guide rail movement is stated, the dummy fluid bit pointer is arranged on the motor, and the dummy fluid bit pointer is directed toward the scale;
Display device, the virtual liquid level for showing the virtual device for storing liquid.
15. a kind of computer installation, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program Any one of described in virtual liquid level simulating control method.
16. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Such as virtual liquid level simulating control method according to any one of claims 1 to 6 is realized when being executed by processor.
CN201810121085.7A 2018-02-07 2018-02-07 Virtual liquid level simulating control method, system and virtual liquid level simulating device Pending CN108415356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810121085.7A CN108415356A (en) 2018-02-07 2018-02-07 Virtual liquid level simulating control method, system and virtual liquid level simulating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810121085.7A CN108415356A (en) 2018-02-07 2018-02-07 Virtual liquid level simulating control method, system and virtual liquid level simulating device

Publications (1)

Publication Number Publication Date
CN108415356A true CN108415356A (en) 2018-08-17

Family

ID=63127935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810121085.7A Pending CN108415356A (en) 2018-02-07 2018-02-07 Virtual liquid level simulating control method, system and virtual liquid level simulating device

Country Status (1)

Country Link
CN (1) CN108415356A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114783239A (en) * 2022-05-31 2022-07-22 陕西凯捷科技发展有限公司 Helicopter hydraulic system oil adding and discharging training equipment and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201382148Y (en) * 2009-04-09 2010-01-13 高强 Non-medium semi-physical pressure vessel
CN102103809A (en) * 2010-12-13 2011-06-22 南京化工职业技术学院 Simulated digital light column type liquid level meter
CN106468888A (en) * 2016-08-31 2017-03-01 北京金恒博远冶金技术发展有限公司 A kind of mould liquid level automatic control simulation system
CN107153364A (en) * 2017-06-05 2017-09-12 安徽福讯信息技术有限公司 A kind of industrial measurement and control student real training virtual analog system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201382148Y (en) * 2009-04-09 2010-01-13 高强 Non-medium semi-physical pressure vessel
CN102103809A (en) * 2010-12-13 2011-06-22 南京化工职业技术学院 Simulated digital light column type liquid level meter
CN106468888A (en) * 2016-08-31 2017-03-01 北京金恒博远冶金技术发展有限公司 A kind of mould liquid level automatic control simulation system
CN107153364A (en) * 2017-06-05 2017-09-12 安徽福讯信息技术有限公司 A kind of industrial measurement and control student real training virtual analog system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114783239A (en) * 2022-05-31 2022-07-22 陕西凯捷科技发展有限公司 Helicopter hydraulic system oil adding and discharging training equipment and method

Similar Documents

Publication Publication Date Title
KR101592728B1 (en) Apparatus for driving simulatation of vehicle and method thereof
CN103299308B (en) Solid modelling is utilized to calculate the liquid level in arbitrary shape hermetic container
CN101944299B (en) Virtual construction system of full-face tunneling boring machine
CN106679791A (en) Simulation device for vortex-induced vibration of submarine pipeline and experimental method
CN103886783B (en) A kind of aviation control instruments real-time analog simulation system
RU2012157781A (en) AUTOMATIC GRAIN MOVEMENT CONTROL SYSTEM BASED ON REAL TIME FILLING LEVEL FOR RECEIVING CONTAINER ZONES
CN108415356A (en) Virtual liquid level simulating control method, system and virtual liquid level simulating device
CN105353789A (en) Continuous vibration signal time history replication control method
CN102122451B (en) Simulation teaching and training system for production device and method using same
CN105984478A (en) Traffic system simulator and traffic system simulation method
CN103645038A (en) Bracket fatigue testing machine
Marshall Air bubble formation from an orifice with liquid cross-flow
CN102728521A (en) Dispensing valve precise controlling device
CN103559811A (en) Industrial network practical teaching platform
CN106092092A (en) Fractional order Observability analysis of power system towards pulsar navigation system
CN106680145A (en) Liquid pipeline friction drag determining device and method for using same
CN109656237A (en) A kind of hardware-in―the-loop test method of onboard control device
CN110674582B (en) Simulation model for simulating fuel system of aircraft and method thereof
CN103559819A (en) Method and device for measuring pressure distribution
WO2020123026A1 (en) Virtual reality simulation and method
CN202179540U (en) Calibration device for pulmonary function analyzer
CN105243929A (en) Teaching device dynamically simulating curve function
CN105424146A (en) Dynamic quality metering equipment
CN209591166U (en) A kind of teaching demonstration shipping log
US6059574A (en) Aircraft fuel trainer with low viscosity/high flashpoint fuel look-alike

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817