CN106373459A - Para-virtualization computer control experiment system - Google Patents

Para-virtualization computer control experiment system Download PDF

Info

Publication number
CN106373459A
CN106373459A CN201611007357.8A CN201611007357A CN106373459A CN 106373459 A CN106373459 A CN 106373459A CN 201611007357 A CN201611007357 A CN 201611007357A CN 106373459 A CN106373459 A CN 106373459A
Authority
CN
China
Prior art keywords
program
equipment
virtual scene
virtual
service data
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
CN201611007357.8A
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.)
Qingdao University of Science and Technology
Original Assignee
Qingdao University of Science and Technology
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 Qingdao University of Science and Technology filed Critical Qingdao University of Science and Technology
Priority to CN201611007357.8A priority Critical patent/CN106373459A/en
Publication of CN106373459A publication Critical patent/CN106373459A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G09B19/00Teaching not covered by other main groups of this subclass
    • G09B19/0053Computers, e.g. programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

The application provides a computer control experiment system comprising a program development device, a program running device and a virtual scene running device, wherein the program development device is used for writing a program used for controlling a virtual controlled device and writing the program into the program running device, the program running device is connected with the program development device and is used for running the program, first running data generated during running processes is sent to the virtual scene running device via a virtual scene interface plate, and the virtual scene running device is connected with the virtual scene interface plate and is used for virtually demonstrating operation of the virtual controlled device based on the first running data. Via application of the para-virtualization computer control experiment system disclosed in an embodiment of the invention, an application scene is partially virtualized, a construction cost of an experiment system can be lowered, and actual developing and programming capability of students can be effectively improved.

Description

A kind of paravirtualized Computer Control Experiment System
Technical field
The application is related to Computer Control Technology field, more particularly, to a kind of Computer Control Experiment System.
Background technology
With scientific and technical development, the requirement more and more higher of the ability of practice to college student for the society, colleges and universities are to student The culture of the ability of practice becomes more and more important.Each colleges and universities not only strengthen various experiment contents routinely, increase experiment Item Practice Training is even more built by project as emphasis.
In the experimental system of existing computer based control system, comprise operation equipment 11 as shown in Figure 1, periphery Interface 12, input signal conditioning plate and output signal driving plate 13 and with input signal conditioning plate and output signal driving plate This four parts of the ancillary equipment 14 that 13 connect respectively, ancillary equipment 14 generally includes sensor, executor etc., and developer can Directly to interact, program and to debug with the controlled plant in applied environment by this experimental system.But in experimental system In, experimental box internal components are various, are easily damaged it has not been convenient to keep in repair, and due to actual controlled equipment typically cost higher it is difficult to Build one for each experimental system in the lab, at most can only build a limited number of and be demonstrated for teacher, thus Student is merely able to do some replication experiment it is impossible to execute writing and debugging operations of whole program.Really should due to lacking With environment, lead to student learning interest not high;And because whole experimental system is not combined with practical application scene, because And teaching result is not ideal enough.
A kind of entirely virtual experimental system is also proposed, including virtual development equipment, virtual operation in prior art The application apparatus of equipment, virtual interface board and virtual emulation.But entirely virtual experimental system and actual scene have larger Difference, student is not readily accessible to really develop and running environment using this experimental system completely, under full virtual simulation environment The program write, the exploitation being obtained and commissioning experience and practical application scene have greater difference it is impossible to taking exercise well, carrying Rise the actual development ability of student.
Content of the invention
For overcome experimental system construction in correlation technique and safeguard true application scenarios cost is too high, full virtual experimental System lacks true application apparatus and application scenarios it is impossible to the shortcomings of the actual development ability of enough preferable exercise student ', this Shen Please provide a kind of Computer Control Experiment System.
According to the embodiment of the present application in a first aspect, provide a kind of Computer Control Experiment System, comprising:
Program development equipment, for writing the program for controlling controlled plant, and described program write-in program is run Equipment;
Described program runs equipment, is connected with described program development equipment, for running described program, and by running First service data of middle generation is sent to virtual scene by virtual scene interface board and runs equipment;
Described virtual scene runs equipment, is connected with described virtual scene interface board, for based on the described first operation number According to the virtual operation demonstrating described controlled plant:
Optionally, described virtual scene runs the second operation that equipment is additionally operable to produce during described virtual demonstration Data is sent to described program by described virtual scene interface board and runs equipment;
Described program is run equipment and is additionally operable to run described program based on described second service data adjustment.
Optionally, described virtual scene interface board is used for being changed described first service data or the second service data Process and encapsulation process, and the first service data after processing is sent to described virtual scene and run equipment, after processing Second service data is sent to described program and runs equipment;
It is described controlled that described virtual scene runs the virtual demonstration of the first service data after equipment is used for based on described process The operation of equipment;
Described program is run the second service data adjustment after equipment is used for based on described process and is run described program.
Optionally, described program is run equipment and is included computer, Programmable Logic Controller, any one in embedded device.
Optionally, described virtual scene operation equipment includes computer, panel computer, notebook, mobile phone, embedded device In any one.
The technical scheme that embodiments herein provides can include following beneficial effect:
The Computer Control Experiment System that the application provides, application scenarios are realized using the method for virtual emulation, Ensure that student develops to experimental arrangement under actual exploitation, running environment and debugs, and experimental arrangement has been write Application scenarios environment after one-tenth is then virtual, can share, reusable and extendible, and this is conducive to, and exercise student ' is actual to be opened The ability sent out, the construction reducing experiment and maintenance cost.Because application scenarios are virtual, there is higher extensibility, can Further combined with actual product item, the applied environment of these projects to be virtualized it becomes possible to make and actual product item Consistent upgrading, the new training platform of mesh;Student learning time, place also will not be as being confined in the prior art Class period and experiment are indoor, can with portable program development equipment based on Computer Control Technology, run equipment, void Intend scene interface board and virtual scene runs equipment, return dormitory, Learning Studies of going home.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The application can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the application Example, and be used for explaining the principle of the application together with description.
Fig. 1 is the structural representation of experimental system in prior art;
Fig. 2 is a kind of structural representation of Computer Control Experiment System according to an exemplary embodiment for the application Figure.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, and be not intended to be limiting the application. " a kind of ", " described " and " being somebody's turn to do " of singulative used in the application and appended claims is also intended to including most Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated any or all possible combination listing project.
It will be appreciated that though various information may be described using term first, second, third, etc. in the application, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
As shown in Fig. 2 Fig. 2 is a kind of block diagram of the Computer Control Experiment System according to an exemplary embodiment, This Computer Control Experiment System may include that program development equipment 21, program run equipment 22, virtual scene interface board 23 with And virtual scene runs equipment 24, wherein virtual scene operation equipment 24 can be used for the virtual controlled plant of virtual demonstration, rather than Physical device, thus the Computer Control Experiment System that the application provides is paravirtualized experimental system.
Wherein, program development equipment 21, is used for into the exploitation of line program and writes, this program is used for controlling controlled plant, And the program write is written in operation equipment 22.
In the embodiment of the present application, program development equipment 21 can be computer, for teacher, student to based on computer controls The experimental arrangement of technology is developed, is write, and this program is used for controlling the operation of virtual controlled plant, and this virtual controlled plant can Think and run the controlled plants such as virtual such as valve on equipment 24, mechanical arm, motor in virtual scene.
Program runs equipment 22, is connected with program development equipment 21, the journey being write for operation program development equipment 21 Sequence.
In the embodiment of the present application, it can be such as embedded system development plate, 51 single-chip microcomputers, calculating that program runs equipment 22 Machine, plc (programmable logic controller, Programmable Logic Controller) etc., and program run equipment 22 can wrap Include the ancillary equipment such as sensor, executor, switch and actuator.Wherein sensor is used for detecting current temperature, electric current, electricity The data such as pressure, the data of these detections is used as the input of this program, and executor is used for the service data of this program As control information, this service data can include digital signal, analogue signal etc., and based on this control information to virtual controlled Object applies control action.
For example, virtual controll plant is valve, and control information is switching value 1, then this control information is used for control valve Open, control information is switching value 0, then this control information is used for control valve and closes;Again for example, virtual controll plant is machine Tool arm, when control information is to raise, raises the height of setting for control machinery arm, when control information is to reduce, is used for Control machinery arm reduces the height setting.
Virtual scene interface board 23, runs equipment 22 with program and is connected, and runs what equipment 22 sent for receiving program Service data, and this service data is packaged, and by these data be converted to virtual scene run equipment 24 can The form of identification or type, then pass through Serial Port Line or usb (universal serial bus, USB (universal serial bus)) will locate Service data after reason is sent to virtual scene and runs equipment 24.
Virtual scene runs equipment 24, for the service data receiving is controlled virtual controlled plant as control instruction Carry out virtual operation demonstration.
In the embodiment of the present application, virtual controll plant can be realized based on Virtual Simulation, for example, be based on virtual imitative The valve of true technology realization, motor, mechanical arm etc..
Virtual scene in the embodiment of the present application runs equipment 24 and may include that terminal, such as pc (personal Computer, personal computer), panel computer, notebook, mobile phone or embedded system device etc..
In the embodiment of the present application, service data in virtual presentation process for the virtual controll plant, the switch of such as valve The service datas such as amount, the rotating speed of motor can also be detected, and passes program operation equipment back by virtual scene interface board 23 22, program is run equipment 22 and the feedback data receiving can be adjusted input condition, continues to run with.
Student and teacher can be run by program on running and virtual scene operation equipment 24 on equipment 22 The running of demonstration determines the whether correct of programming, if need to debug.
For example, it is the program for adjusting valve opening by the program that program development equipment 21 is write, program Operation equipment 22 runs this program, and the data producing in running is sent to virtual field by virtual scene interface board 23 Scape runs equipment 24, and virtual scene runs the operation based on this programme-control imaginary valve for the equipment 24, in valve opening procedure Positional information can return to program and run equipment 22, and program is run equipment 22 and adjusted what valve was opened based on this positional information Speed, opening time of valve etc..
Illustrate below by the Computer Control Experiment System that specific embodiment provides to the application.
Embodiment 1
In the present embodiment, Computer Control Experiment System is applied to control the application scenarios of virtual water meter.
Student has write for controlling the program of water meter using notebook computer exploitation, then passes through connection by this program It is written to and is run on embedded system development plate, the meter reading producing in running instruction is sent out by embedded system development plate Give virtual scene interface board, this meter reading instruction is changed by virtual scene interface board, then is based on rs232 serial port communicating protocol Meter reading instruction after conversion is sent to pc machine, this pc machine is provided with virtual water meter application scenarios software, pc machine is based on meter reading The virtual water meter of instruction operation, can really simulate the polylith water meter in remote meter reading environment.In this embodiment, student writes The embedded system experiment program for controlling water meter, the program with embedded system development under actual environment is identical, Debugging process is also identical, and compared with traditional full virtual experimental system, student can touch real single-chip microcomputer, interface The operation equipments such as plate, the experimental ability of exercise student ' of reality of can fitting and program development ability.
Embodiment 2
In the present embodiment, Computer Control Experiment System is applied to control the applied field of virtual two degrees of freedom automatic sampler Scape.
Student has been write using the exploitation of pc machine and has been used for controlling the two degrees of freedom automatic sampler (specifically can such as chromatography of ions The supporting automatic sampler of instrument) program, and this program be written in plc run, plc is by the operation in running Data (as on-off model, analog signalses etc.) is sent to virtual scene interface board, virtual scene interface as control instruction This control instruction is encapsulated packing by plate, is converted to the form that pc machine is capable of identify that and processes, being then based on usb communications protocol will locate Control instruction after reason is sent to pc machine, and pc machine is provided with the virtual application scene software of two degrees of freedom automatic sampler, pc Machine controls the virtual operation demonstration of two degrees of freedom automatic sampler based on the control instruction that receives, and pc machine is by virtual operation During the data such as position data that detects etc. plc is fed back to by virtual scene interface board, so that plc is by feedback data Execute next step action as new input condition.
In the practical application of school, each paravirtualized Computer Control Experiment System is available for an experiment group to be made With panel size is generally 2 people.When being tested, a set of virtual scene software and its operation can be distributed for each group Equipment, virtual scene interface board, program run equipment, program development equipment (pc).So, both can abundant exercise student ' reality Border program development ability, debugging capability, also sufficiently lower the development cost of experimental system.For example need to write control in student In the case of the program of motor, it is too high that each experiment group is equipped with a motor cost, is difficult to realize, and real by the application The paravirtualized mode of example offer is provided, readily can not only build experimental system, be also beneficial to exercise student ' actual development Ability.
The Computer Control Experiment System that the application provides, application scenarios are realized using the method for virtual emulation, Ensure that student develops to experimental arrangement under actual exploitation, running environment, debugs, and experimental arrangement is write After the completion of application scenarios environment be then virtual, can share, reusable and extendible, this is conducive to exercise student ' actual The ability of exploitation, the construction reducing experiment and maintenance cost;Because application scenarios are virtual, there is higher extensibility, Further combined with actual product item, the applied environment of these projects can be virtualized it is possible to make and actual product Consistent upgrading, the new training platform of project;Student even can transport with portable Computer Control Technology experimental arrangement Row equipment, virtual scene interface board and virtual application scene software, return dormitory research, and learning time, place are not confined Class period and experiment are indoor.
Those skilled in the art, after considering description and putting into practice application disclosed herein, will readily occur to its of the application Its embodiment.The application is intended to any modification, purposes or the adaptations of the application, these modifications, purposes or Person's adaptations are followed the general principle of the application and are included the undocumented common knowledge in the art of the application Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the application and spirit by following Claim is pointed out.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, all essences in the application Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of the application protection.

Claims (5)

1. a kind of Computer Control Experiment System is it is characterised in that include:
Program development equipment, for writing the program for controlling virtual controlled plant, and described program write-in program is run Equipment;
Described program runs equipment, is connected with described program development equipment, for running described program, and will produce in running The first raw service data is sent to virtual scene by virtual scene interface board and runs equipment;
Described virtual scene runs equipment, is connected with described virtual scene interface board, for empty based on described first service data Intend demonstrating the operation of described virtual controlled plant.
2. Computer Control Experiment System according to claim 1 it is characterised in that
Described virtual scene runs equipment and is additionally operable to for the second service data producing during described virtual demonstration to pass through institute State virtual scene interface board and be sent to described program operation equipment;
Described program is run equipment and is additionally operable to run described program based on described second service data adjustment.
3. Computer Control Experiment System according to claim 2 it is characterised in that
Described virtual scene interface board is used for for described first service data or the second service data carrying out conversion process and encapsulation Process, and the first service data after processing is sent to described virtual scene and run equipment, the second operation number after processing Run equipment according to being sent to described program;
Described virtual scene runs the first service data described controlled plant of virtual demonstration after equipment is used for based on described process Operation;
Described program is run the second service data adjustment after equipment is used for based on described process and is run described program.
4. the Computer Control Experiment System according to any one of claim 1-3 is it is characterised in that described program operation sets Any one in standby inclusion computer, Programmable Logic Controller, embedded device.
5. the Computer Control Experiment System according to any one of claim 1-3 is it is characterised in that described virtual scene is transported Row equipment includes computer, panel computer, notebook, mobile phone, any one in embedded device.
CN201611007357.8A 2016-11-15 2016-11-15 Para-virtualization computer control experiment system Pending CN106373459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611007357.8A CN106373459A (en) 2016-11-15 2016-11-15 Para-virtualization computer control experiment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611007357.8A CN106373459A (en) 2016-11-15 2016-11-15 Para-virtualization computer control experiment system

Publications (1)

Publication Number Publication Date
CN106373459A true CN106373459A (en) 2017-02-01

Family

ID=57893603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611007357.8A Pending CN106373459A (en) 2016-11-15 2016-11-15 Para-virtualization computer control experiment system

Country Status (1)

Country Link
CN (1) CN106373459A (en)

Similar Documents

Publication Publication Date Title
CN107886821B (en) Simulation test bed for PLC teaching laboratory and data communication method thereof
Lester et al. Some pedagogical observations on using augmented reality in a vocational practicum
CN101609615B (en) Real-time semi-physical simulation system and data acquisition method thereof
CN102723015A (en) Simulation training system and method for operation and maintenance of distribution network
Exel et al. Simulation workshop and remote laboratory: Two web-based training approaches for control
CN101526805A (en) PLC analog control system and analog control method thereof
CN106710346A (en) Simulation training system
CN106710369A (en) Embedded experimental system
CN206541481U (en) Embedded experimental system
Peter et al. From the browser to the remote physical lab: Programming cyber-physical systems
CN106952518A (en) A kind of therrmodynamic system real-time simulation tutoring system based on smart mobile phone
CN106781862A (en) Experiment of Principles of Microcomputers system
CN114141079B (en) Intelligent production line MR virtual training system, method, electronic equipment and storage medium
Zacher Digital twins by study and engineering
CN106373459A (en) Para-virtualization computer control experiment system
Mora-Salinas et al. Virtual labs: 5 ways to connect with Factory IO for mechatronics engineering courses
CN206541472U (en) Simulation training system
CN104200711B (en) A kind of examination system and the setting of practical operation examination paper and determination methods
Mohamed VFST: Virtual and fully software based toolchain for PC interfacing education and research
CN206133556U (en) A computer central processing unit for teaching experiment
CN205665570U (en) Singlechip emulation PLC control system
Giannini et al. A Customizable Immersive Training System for Operators of Dangerous Equipment
Wei et al. Raspberry Pi 4B-based cloud-based robot design and demonstration platform construction
Wu Research on PLC Electrical Control Simulation Experimental Device Based on Internet of Things Technology
Covanich et al. Using ANSI/ISA-S88 in reconfigurable immersive learning: A pathway from substation operation simulator to reconfigurable product and production demo line for learning factory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170201