CN107515587A - System, method, apparatus, equipment and the storage medium of man-machine interactive operation emulation - Google Patents

System, method, apparatus, equipment and the storage medium of man-machine interactive operation emulation Download PDF

Info

Publication number
CN107515587A
CN107515587A CN201710761390.8A CN201710761390A CN107515587A CN 107515587 A CN107515587 A CN 107515587A CN 201710761390 A CN201710761390 A CN 201710761390A CN 107515587 A CN107515587 A CN 107515587A
Authority
CN
China
Prior art keywords
data
emulation
driving cabin
moving component
sent
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.)
Granted
Application number
CN201710761390.8A
Other languages
Chinese (zh)
Other versions
CN107515587B (en
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.)
East Branch China Electronic Product Reliability And Environmental Testing Research Institute mll
Original Assignee
East Branch China Electronic Product Reliability And Environmental Testing Research Institute mll
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 East Branch China Electronic Product Reliability And Environmental Testing Research Institute mll filed Critical East Branch China Electronic Product Reliability And Environmental Testing Research Institute mll
Priority to CN201710761390.8A priority Critical patent/CN107515587B/en
Publication of CN107515587A publication Critical patent/CN107515587A/en
Application granted granted Critical
Publication of CN107515587B publication Critical patent/CN107515587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/054Input/output
    • 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
    • G09B9/06Simulators for teaching or training purposes for teaching control of vehicles or other craft for teaching control of ships, boats, or other waterborne vehicles
    • G09B9/063Simulators for teaching or training purposes for teaching control of vehicles or other craft for teaching control of ships, boats, or other waterborne vehicles by using visual displays
    • 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
    • G09B9/08Simulators for teaching or training purposes for teaching control of vehicles or other craft for teaching control of aircraft, e.g. Link trainer
    • G09B9/30Simulation of view from aircraft
    • G09B9/32Simulation of view from aircraft by projected image
    • 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/11Plc I-O input output
    • G05B2219/1103Special, intelligent I-O processor, also plc can only access via processor

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 embodiment of the invention discloses system, method, apparatus, equipment and the storage medium of a kind of man-machine interactive operation emulation.Wherein, the system of man-machine interactive operation emulation includes driving cabin and host computer;The driving cabin, sent for gathering the operation data of user, and by the operation data to host computer;It is additionally operable to the operation scenario of emulation digital simulation moving component sent according to the host computer;The host computer, the operation data for being sent according to the driving cabin generates the emulation data of the moving component, and the emulation data are sent to the driving cabin.The technical scheme of the embodiment of the present invention, by the driving cabin for designing such as an actual airplane, ship large operation equipment, simulate the operation scenario of the large operation equipment such as actual airplane, ship, the operating personnel of participation training are enable to be close to actual airplane, the professional training of ship experience, so as to increase the authenticity of simulation operations training, the training efficiency of operating personnel is improved.

Description

System, method, apparatus, equipment and the storage medium of man-machine interactive operation emulation
Technical field
The present embodiments relate to simulation operations field, more particularly to the system of man-machine interactive operation emulation, method, dress Put, equipment and storage medium.
Background technology
Because China will cultivate the operating personnel of large quantities of aircrafts, ship in Aero-Space, water conservancy etc. every year, and Aero-Space, the equipment volume of Water Resources Domain are huge, and operation process is complicated, therefore the operating personnel of new registration need to pass through one kind Man-machine interactive operation emulation system come be close to actual airplane, ship experience professional training.
For such emulation training, prior art discloses one kind to establish with developing the large operation equipment such as aircraft, ship Emulating operating system, to realize to the control of the real time kinematics of the large operation equipment such as aircraft, ship.And prior art exploitation Motion control of the emulating operating system to the large operation equipment such as aircraft, ship has certain limitation, can only utilize keyboard Simulation operations are realized with personal computer, and the sense of reality of man-machine interaction is strong not enough.
The content of the invention
The embodiments of the invention provide man-machine interactive operation emulation system, method, apparatus, equipment and storage medium, with Realize and the man-machine interactive operation of the large operation equipment such as aircraft, ship is emulated, solve and be only capable of utilizing keyboard in the prior art The technical problem of simulation operations is realized with personal computer.
In a first aspect, the embodiments of the invention provide a kind of system of man-machine interactive operation emulation, the system includes:Drive Cabin and host computer;
The driving cabin, sent for gathering the operation data of user, and by the operation data to host computer;It is additionally operable to The operation scenario of the emulation digital simulation moving component sent according to the host computer;
The host computer, the operation data for being sent according to the driving cabin generate the emulation number of the moving component According to, and the emulation data are sent to the driving cabin.
Second aspect, the embodiments of the invention provide a kind of method of man-machine interactive operation emulation, this method includes:
Obtain the operation data for the user that driving cabin is sent;
The emulation data of moving component are determined according to the operation data, and the emulation data are sent to the driving Cabin, so that the driving cabin is according to the emulation data model operation scenario.
The third aspect, the embodiments of the invention provide a kind of device of man-machine interactive operation emulation, the device includes:
Operation data acquisition module, the operation data of the user for obtaining driving cabin transmission;
Data determining module is emulated, for determining the emulation data of moving component according to the operation data, and by described in Emulation data are sent to the driving cabin, so that the driving cabin is according to the emulation data model operation scenario.
Fourth aspect, the embodiments of the invention provide a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processing The method that device realizes the man-machine interactive operation emulation described in second aspect.
5th aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, the program realizes the man-machine interactive operation emulation described in second aspect method when being executed by processor.
System, method, apparatus, equipment and the storage of a kind of man-machine interactive operation emulation provided in an embodiment of the present invention are situated between Matter, the operation data of user, and and host computer are gathered by the driving cabin of such as an actual airplane, ship large operation equipment Carry out data transmission, to realize the operation scenario of the large operation equipment such as simulation actual airplane, ship, make the operation of participation training Personnel can be close to actual airplane, the professional training of ship experience, so as to increase the authenticity of simulation operations training, carry The training efficiency of high operating personnel.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the structured flowchart of the system for the man-machine interactive operation emulation that the embodiment of the present invention one provides;
Fig. 2 is the communication network schematic diagram of PLC regulator cubicles in the system that the embodiment of the present invention one provides;
Fig. 3 a are the flow chart of the method for the man-machine interactive operation emulation that the embodiment of the present invention two provides;
Fig. 3 b are the successful connection display interface of the PLC regulator cubicles that the embodiment of the present invention two provides and host computer;
Fig. 4 is the step flow for the emulation data that moving component is determined according to operation data that the embodiment of the present invention two provides Figure;
Fig. 5 is the overview flow chart of the method for the man-machine interactive operation emulation that the embodiment of the present invention three provides;
Fig. 6 is the structural representation of the device for the man-machine interactive operation emulation that the embodiment of the present invention four provides;
Fig. 7 is a kind of structural representation for equipment that the embodiment of the present invention five provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
A kind of structured flowchart of the system for man-machine interactive operation emulation that Fig. 1 provides for the embodiment of the present invention one, this implementation Example is applicable in the emulation training to the large operation equipment such as aircraft, ship, and the system specifically includes driving cabin 1 and host computer 2。
Wherein, driving cabin 1, sent for gathering the operation data of user, and by operation data to host computer 2;It is additionally operable to The operation scenario of the emulation digital simulation moving component sent according to host computer 2;Host computer 2, for what is sent according to driving cabin 1 Operation data generates the emulation data of moving component, and emulation data are sent to the driving cabin 1.
In the present embodiment, the driving cabin set in the large-scale operation equipment such as driving cabin 1 and real aircraft, ship is substantially Identical.Further, driving cabin 1 includes the operable part such as button, handle rocker and knob and operable for gathering Device data and the processor that data interaction is carried out with host computer.Optionally, driving cabin 1 also includes:Show moving component fortune The screen of dynamic scene, it is specifically as follows ring curtain projection system.Moving component is operable equipment, including but not limited to:Fly The real equipments such as machine, ship.
Further, driving cabin 1 and host computer 2 can be that wired connection can also be wireless connection, its communication used Mode and communication protocol can be set according to actual conditions.
Specifically, user into driving cabin 1, and opens equipment operation part, is at work when carrying out emulation training Make state.Driving cabin 1 by user to operable part operation generation user for moving component operation data, and by its Host computer 2 is sent to be handled.When host computer 2 receives operation data, generation is corresponding with moving component actual motion Data are emulated, and emulation data are returned into driving cabin 1, so that driving cabin 1 is according to the emulation digital simulation current kinetic part Operation scenario.Optionally, when setting screen in driving cabin 1, the motion of screen display moving component is passed through.
On the basis of above-described embodiment, driving cabin 1 includes at least one programmable logic controller (PLC) (Programmable Logic Controller, PLC) regulator cubicle 12 and at least one projection nucleus curtain 11;PLC regulator cubicles 12, for based on user's Operation obtain corresponding to electric signal, and data signal is converted electrical signals to, to obtain the operation data of user, and by operand According to transmission to host computer 2;Projection nucleus curtain 11, the emulation data for being sent according to host computer 2 show behaviour corresponding to moving component Make scene.
Wherein, PLC regulator cubicles 12 include operable part and processor.The processor is the controller of PLC system.Specifically , driving cabin 1 gathers the operation data of user by PLC regulator cubicles 12.When PLC regulator cubicles 12 are powered, PLC regulator cubicles 12 By electric signal corresponding to operation generation of the user to operable device, and digital letter is converted electrical signals to by digital-to-analogue conversion Number, the operation data using data signal as user.Projection nucleus curtain 11 is specially ring curtain projection system, and it can show fortune Dynamic component operationally corresponding operation scenario.Wherein, the operation scenario can be determined by host computer 2.Further, PLC electricity Gas holder 12 and projection nucleus curtain 11 are respectively connected with host computer 2.
Optionally, the communication standard (Object for process control is passed through between PLC regulator cubicles 12 and host computer 2 Linking and Embeding for Process Control, OPC) carry out data transmission, i.e., PLC regulator cubicles 12 with it is upper Row data communication is entered by opc server between machine 2.Opc server is mainly made up of two parts, the OPC standards being to provide Interface, second, the communication module to be communicated with hardware device (such as PLC regulator cubicles 12).Specifically, opc server passes through communication Module is connected with PLC regulator cubicles 12, for obtaining the operation data of user, and by the OPC standard interfaces of offer come for upper Machine 2 obtains the operation data of user.Optionally, multipoint interface (Multipoint Interface, MPI) communication party can be used Formula realizes the communication of opc server and PLC regulator cubicles 12.
Optionally, driving cabin 1 can include at least one PLC regulator cubicles 12.It is more when including multiple PLC regulator cubicles 12 Individual PLC regulator cubicles 12 can be connected by way of fieldbus.Wherein, the benefit for setting multiple PLC regulator cubicles 12 is to work as it In PLC 12 failure of regulator cubicle when ensure driving cabin 1 can also normal work, increase utilization rate.Further, when including During multiple PLC regulator cubicles 12, site design can be carried out by " MS master-slave " mode between multiple PLC regulator cubicles 12.Optionally, Each PLC regulator cubicles 12 can build its internal communication network using fieldbus communication protocol.For example, it is currently included three Individual PLC regulator cubicles 12, wherein, a PLC regulator cubicle 12 is main website 13, and other two PLC regulator cubicles 12 are slave station 14.Such as Fig. 2 It is shown, wherein, the controller of main website 13PLC systems uses Siemens SIMATICS7-300, and slave station 14 uses IM153-2 interfaces The connected mode of module in a distributed manner is connected with main website, to form the communication network of master-salve station, the communication protocol used here with PLC is only preferred option, is not limited.
Further, PLC regulator cubicles 12 include it is at least one with the operation bench 121 for setting operable part and/or extremely A few instrument cabinet 122.
Wherein, the operation bench in the driving cabin of large operation equipment such as operation bench 121 and actual aircraft, ship is in shape With being close to unanimously in size, it is container body of steel plate structure, has one piece of backboard being connected with casing, detachable take out is used In installation PLC, guide rail power supply, breaker etc..Operable part on operation bench 121 include handle, button, knob with And dial plate etc., operating personnel can generate the operation data of user by operating the handle on operation bench 121, button etc., and The work information in equipment driving procedure can be understood by the dial plate moment in operation.
Specifically, an operation bench 121 or an instrument cabinet 122 may be considered a PLC regulator cubicle.Operation bench 121 and the quantity of instrument cabinet 122 can be set according to user's request.The merely exemplary PLC regulator cubicles 12 that are depicted are two in Fig. 1 Individual operating desk 121 and an instrument cabinet 122.
Optionally, when including multiple operation bench 121 and during at least one instrument cabinet 122, preferably in multiple operation bench 121 One operation bench 121 of selection is used as main website, and remaining equipment establishes multiple Hes of operation bench 121 as slave station in a manner of " MS master-slave " The connection of at least one instrument cabinet 122.
Exemplary description is carried out to the course of work of the system below:
Wherein, driving cabin 1 includes a PLC regulator cubicle 12 and a projection nucleus curtain 11.PLC regulator cubicles 12 and host computer 2 Between row data communication entered by opc server.Opc server is connected with the integrated mouth of CPU communications of PLC system, wherein, PLC The controller of system uses Siemens SIMATIC S7-300, and the integrated mouth of CPU communications is the integrated mouth S7 of communication.Now, OPC is serviced Device provides a MPI mouth, for being connected with the communication card of host computer 2, realizes data transfer with exchanging, wherein, communication card uses CP5611 communication cards.Communication mode, chip model and the communication card of above-mentioned use are a kind of preferred option, are not limited. Specifically, when operating personnel operate the parts such as handle on PLC regulator cubicles 12, button, PLC regulator cubicles 12 obtain corresponding electricity Signal, and electric signal is converted into data signal by analog-digital converter, to obtain the operation data of user, then pass through OPC The communication card CP5611 of MPI mouths and host computer 2 in server sends operation data to host computer 2, and host computer 2 is according to user Operation data generate the emulation data of corresponding moving component, and emulation data are sent to projection nucleus curtain 11, projection nucleus curtain 11 show the operation scenario of corresponding sports part according to emulation data.
The technical scheme that the present embodiment provides, obtained by the driving cabin of such as large operation equipment such as actual airplane, ship User's operation data, and carry out data transmission with host computer, to realize the behaviour of the large operation equipment such as simulation actual airplane, ship Make scene, the operating personnel of participation training is close to actual airplane, the professional training of ship experience, so as to increase The authenticity of simulation operations training, improve the training efficiency of operating personnel.
Embodiment two
A kind of flow chart of the method for man-machine interactive operation emulation that Fig. 3 a provide for the embodiment of the present invention two, the present embodiment The system that a kind of method of man-machine interactive operation emulation provided is applied to the man-machine interactive operation emulation that above-described embodiment provides. The device that this method can be emulated by man-machine interactive operation performs, and the device can be realized by way of software and/or hardware, And it is integrated in the equipment (host computer) for performing this method.This method specifically comprises the following steps:
S210, the operation data for obtaining the user that driving cabin is sent.
Specifically, the operation data of user is what user was sent by operable part in driving cabin, desired motion part The data of set action are performed, it is a kind of logic data signal.It can include in the operation data:The title of operable part And/or numbering, corresponding operation duration, the operation data such as direction and/or operation amplitude.
Further, when user sends operation, driving cabin by operable component retrieval and the corresponding electric signal of operation, And electric signal is converted into data signal by analog-digital converter, generate the operation data of user.Further, driving cabin is real-time The operation data of acquisition is sent to host computer.Optionally, driving cabin sends operation data by opc server to host computer.
For example, with left anchor OPCItem data instances, using OPC communications protocol come realize operation data PLC regulator cubicles with Transmission between host computer, carried out by asynchronous read and write mode, pass through one OnReadComplete of OPC communication protocol definitions () function, and define identifier dwTransid therein, data handle hGroup, judge whether the item that malfunctions Data item number dwCount in hrMasterquality and handle, realize operation data in the handle corresponding with operation Asynchronous read and write, pass through int [] phClientItems storage of array data variation phase corresponding data handles, object [] The return value of pvValues storage of array OPCItem items, and relative motion part is obtained by String.Format () function Simulating sports data.Exemplified by realizing the reading to left anchor OPCItem data, realize as follows:
S220, the emulation data for determining according to operation data moving component, and emulation data are sent to driving cabin, so that Driving cabin is according to emulation digital simulation operation scenario.
Specifically, after host computer obtains operation data, the emulation data of moving component are determined according to operation data.Wherein, It is kinematic matrix when moving component performs motion corresponding with operation to emulate data.The determination mode for emulating data can be according to reality Border situation is set.
It is exemplary, the simulation model of moving component is provided with host computer.It can determine to operate according to the simulation model Kinematic matrix corresponding to data, i.e., the motion of user's desired motion part execution can be determined according to the simulation model.Wherein, should Simulation model is the emulating operating system created under XNA Development Frameworks.XNA technologies are the development of games technologies based on DirectX, Development environment and detailed teaching file can be provided.In the present embodiment, simulation model is mounted under XNA Development Frameworks. Specifically, host computer transmits the operation data of acquisition into the simulation model of XNA Development Frameworks, the simulation model is according to operation Data determine specific exercise parameter (such as translational movement, rotation amount), and exercise parameter is exported in the form of kinematic matrix.
Wherein, each moving component has corresponding motion skeletal system, can determine to move according to motion skeletal system The motor point that can be moved in part, each motor point correspond to different bone titles.By taking ship as an example, motor point is left anchor, Corresponding bone title can be left anchor, and the instruction in simulation model can be:ModelBone leftanchorbone.Tool Body, there is corresponding operable part in each motor point, for example, left anchor corresponds to left anchor handle.Further, simulation model can Mobile mobile parameter is needed with bone title corresponding to being determined according to operation data and the bone, and then transport corresponding to generating Dynamic matrix.In general, the parameter of parameter in kinematic matrix for control motor point motor operating, with can be real by motor operating The motion of existing moving component.
Optionally, when driving cabin includes PLC regulator cubicles, be provided with host computer to PLC carry out configuration and The programming software of programming.Further, operation data can be sent to XNA and developed by the programming software by OPC communications protocol In framework.For example, when PLC is SIMATIC S7-300, corresponding programming software is Step7 programming softwares.Wherein, Configuration and the setting of PLC regulator cubicles can be carried out in Step7 programming softwares, and by NetPro by under the configuration of PLC regulator cubicles It is downloaded in host computer, to realize the connection of PLC regulator cubicles and host computer.For example, as the station of Step7 settings When connection icon occur in OPC services in the configuration editor pages, successful connection as shown in Figure 3 b shows boundary Face, show host computer and PLC regulator cubicle successful connections, and can be communicated by opc server.Further, step7 can So that operation data is sent into XNA Development Frameworks by OPC communications protocol, to obtain corresponding simulation matrix.
Further, simulation matrix is returned to driving cabin by host computer by opc server, so that driving cabin is imitative according to this Simulating scenes corresponding to true data simulation.For example shown in the projection nucleus curtain of driving cabin according to emulation data corresponding sports portion The operation scenario of part simulation, and set rocking bar in PLC regulator cubicles to adjust resistance.
The technical scheme that the present embodiment provides, emulation data corresponding to the operation data generation sent by driving cabin, with Make driving cabin simulating scenes according to corresponding to emulation digital simulation, realize the analog development of large operation equipment, deeply excavate The advantages of XNA Development Frameworks, and increase the authenticity of simulation operations training, improve the training efficiency of operating personnel.
On the basis of above-mentioned technical proposal, further, as shown in figure 4, determining moving component according to operation data Emulation data include:
S221, numerical value conversion is carried out to operation data, to obtain corresponding operational order.
Wherein, host computer is received after the operation data of user, it is necessary to according to the actual motion data of moving component by institute The operation data of collection using the instructions such as ABS (absolute value), MOVE (assignment) and addition subtraction multiplication and division carry out numerical value conversion, obtain with The corresponding operational order of actual motion data.The operational order is the data format that simulation model can identify.Wherein, it is actual Exercise data is to receive the exercise data that should be performed after operation data in moving component practical application.
Optionally, when driving cabin includes PLC regulator cubicles, the step can carry out configuration and programming to PLC Programming software in perform, such as Step7 programming softwares.
S222, operational order inputted into the simulation model of moving component set in advance, and it is defeated to obtain simulation model The emulation data gone out.
Specifically, the simulation model of moving component set in advance refers in the main program of XNA Development Frameworks, fortune is completed The model obtained after the initialization of information such as the bone of dynamic component, initial matrix.Further, operational order is inputted to emulation After model, simulation model can be according to the title and/or numbering of operable part in operational order, corresponding operation duration, behaviour Make the data such as direction and/or operation amplitude, it is determined that mobile parameter, Jin Ersheng corresponding to corresponding bone title and the bone Into kinematic matrix, and export the kinematic matrix.
Optionally, after creating entitled OPC_Update classes and writing OPC communications protocol codes, the code is added in XNA In the main program of Development Framework, it by the numerical variable in class primarily to be defined as global variable for making in main program With even if main program emulates data according to corresponding to determining operational order.
It is also optional, create moving component using static member CreateTranslation () in XNA Development Frameworks Kinematic matrix realize the corresponding sports of moving component, such as:
Matrix leftanchor=Matrix.CreateTranslation (leftanchormove, 0,0);
Leftanchormove+=Fvalue1;
Fvalue1 is the operational order that the laggard line number values of part such as operation handle, button are converted to, and operational order is defeated Enter into the simulation model of moving component set in advance, Fvalue1 situation of change will be reacted to CreateTranslation In () function, now, the exercise parameter of moving component will constantly change, and then obtain corresponding kinematic matrix.Wherein, Kinematic matrix is exactly the emulation data of simulation model output, moving component according to the change of kinematic matrix with handle, press The Physical instruction of the parts such as button realizes corresponding action.
Embodiment three
Fig. 5 is a kind of overview flow chart of the method for man-machine interactive operation emulation that the embodiment of the present invention three provides.This hair Bright embodiment be carried out on the basis of above-described embodiment it is excellent.Fig. 5 is participated in, the method for the present embodiment specifically includes:
S310, the motion skeletal system of moving component is loaded into simulation model.
Wherein, the motor point that the motion skeletal system of moving component is moved for control moving component, each motor point Corresponding different bone title.Further, the motion skeletal system of all moving components is loaded into simulation model, emulated Model first three-dimensional animation render with Software for producing (3D Studio Max, 3DSMAX) in create, be then converted into .fbx or Person's .x forms, and be loaded into XNA Development Frameworks, realize visualization of the simulation model in XNA.In general, moving component Motion skeletal system be pre-set.
S320, the initial state information of moving component set in simulation model according to motion skeletal system.
Wherein, the initial state information of moving component refers to move the state that skeletal system is initially loaded into simulation model Information.Specifically, initial state information includes:Bone title, initial motion matrix corresponding with bone title and and bone Initial motion parameter corresponding to title.
Further, in XNA Development Frameworks set moving component corresponding to bone title, it is corresponding with bone title at the beginning of Beginning kinematic matrix and initial motion parameter corresponding with bone title.Initial motion parameter includes the initial translation of moving component Amount, initial rotation amount and compound motion amount between the two etc..
For example, in XNA main programs, the initialization of the initial state information of left anchor is completed.Its is specific as follows:
ModelBone leftanchorbone;// define left anchor bone
Matrix leftanchor;The initial motion matrix of the left anchor of // definition
Float leftanchormove=0;The initial translation amount of the left anchor of // initialization.
S330, the operation data for obtaining the user that driving cabin is sent.
S340, numerical value conversion is carried out to operation data, to obtain corresponding operational order.
S350, operational order inputted into simulation model, so that simulation model bone according to corresponding to determining operational order Bone title, and according to operational order and initial motion matrix corresponding with bone title, initial motion parameter tectonic movement matrix.
Exemplary, when operational order is inputted to simulation model, first have to determine the motion corresponding with operational order The bone title of part, it is however generally that, different operable devices correspond to different bone titles.Secondly, obtain and bone title Corresponding initial motion matrix and initial motion parameter.According to operation duration, operation direction and/or operation width in operational order The data such as degree determine mobile parameter, and with reference to initial motion parameter obtain current time exercise parameter (translational movement, rotation amount with And compound motion amount between the two), and then according to the exercise parameter combination initial motion matrix construction at each bone current time The kinematic matrix of moving component.
S360, the kinematic matrix for obtaining simulation model output, and using kinematic matrix as emulation data.
S370, will emulation data send to driving cabin so that driving cabin according to emulation digital simulation operation scenario.
The technical scheme that the present embodiment provides, simulation model, and the basis in simulation model are created by XNA Development Frameworks The technological means of emulation data, realizes operating personnel using operation bench come complete corresponding to the operation data generation that driving cabin provides The operation of paired emulator, and use is programmed by the cooperation of OPC communication protocols and XNA Development Frameworks, realize large-scale behaviour Make the analog development of equipment, deeply excavated the advantage of XNA Development Frameworks, and increase the authenticity of simulation operations training, improve The training efficiency of operating personnel.
Example IV
Fig. 6 is the structural representation of the device for the man-machine interactive operation emulation that the embodiment of the present invention four provides, and the device can To perform the method that the man-machine interactive operation of above-described embodiment offer emulates, possesses the corresponding functional module of execution method and beneficial Effect.As shown in fig. 6, the device includes:
Operation data acquisition module 430, the operation data of the user for obtaining driving cabin transmission;Emulation data determine mould Block 440, sent for determining the emulation data of moving component according to operation data, and by emulation data to driving cabin, so as to drive Cabin is sailed according to emulation data model operation scenario.
The technical scheme that the present embodiment provides, emulation data corresponding to the operation data generation sent by driving cabin, with Make driving cabin simulating scenes according to corresponding to emulation digital simulation, realize the analog development of large operation equipment, deeply excavate The advantages of XNA Development Frameworks, and increase the authenticity of simulation operations training, improve the training efficiency of operating personnel.
Further, above-mentioned emulation data determining module 440 includes:Numerical value converting unit 441, for entering to operation data Line number value is changed, to obtain corresponding operational order;Data capture unit 442 is emulated, for operational order to be inputted to advance In the simulation model of the moving component of setting, and obtain the emulation data of simulation model output.
Further, said apparatus can also include:System loads module 410, for obtaining the use of driving cabin transmission Before the operation data at family, the motion skeletal system of moving component is loaded into simulation model;State setting module 420, use In the initial state information for setting moving component in simulation model according to motion skeletal system, initial state information includes:Bone Bone title, initial motion matrix corresponding with bone title and initial motion parameter corresponding with bone title.
Accordingly, above-mentioned emulation data capture unit 442 includes:Kinematic matrix constructs subelement 4421, for that will operate Instruction input is into simulation model, so that simulation model bone title according to corresponding to determining operational order, and referred to according to operation Order and initial motion matrix corresponding with bone title, initial motion parameter tectonic movement matrix;Kinematic matrix obtains subelement 4422, for obtaining the kinematic matrix of simulation model output, and using kinematic matrix as emulation data.
Further, simulation model is the emulating operating system created under XNA Development Frameworks.
Embodiment five
Fig. 7 is a kind of structural representation for equipment that the embodiment of the present invention five provides.Fig. 7 is shown suitable for being used for realizing this The block diagram of the example devices 10 of invention embodiment.The equipment 10 that Fig. 7 is shown is only an example, should not be to of the invention real The function and use range for applying example bring any restrictions.
As shown in fig. 7, the equipment 10 is showed in the form of universal computing device.The component of the equipment 10 can be included but not It is limited to:One or more processor 16, storage device 28, connection different system component (including storage device 28 and processor 16) bus 18.
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Equipment 10 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by equipment 10 The usable medium of access, including volatibility and non-volatile media, moveable and immovable medium.
Storage device 28 can include the computer system readable media of form of volatile memory, such as arbitrary access is deposited Reservoir (RAM) 30 and/or cache memory 32.Equipment 10 may further include other removable/nonremovable, easy The property lost/nonvolatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing it is immovable, Non-volatile magnetic media (Fig. 7 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 7, can provide for pair The disc driver of removable non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write CD drive.In these cases, each driver can pass through One or more data media interfaces is connected with bus 18.Storage device 28 can include at least one program product, the journey Sequence product has one group of (for example, at least one) program module, and these program modules are configured to perform various embodiments of the present invention Function.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as storage device In 28, such program module 42 include but is not limited to operating system, one or more application program, other program modules with And routine data, the realization of network environment may be included in each or certain combination in these examples.Program module 42 is logical Often perform the function and/or method in embodiment described in the invention.
Equipment 10 can also communicate with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), It can also enable a user to the equipment communication interacted with the equipment with one or more, and/or with enabling the equipment 10 and one Any equipment (such as network interface card, modem etc.) communication that individual or a number of other computing devices are communicated.This communication It can be carried out by input/output (I/O) interface 22.Also, equipment 10 can also by network adapter 20 and one or Multiple networks (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown in fig. 7, Network adapter 20 is communicated by bus 18 with other modules of equipment 10.It should be understood that although not shown in Fig. 7, Ke Yijie Close equipment 10 and use other hardware and/or software module, include but is not limited to:Microcode, device driver, redundancy processing are single Member, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processor 16 is stored in the program in storage device 28 by operation, so as to perform various function application and data Processing, such as the method for realizing the man-machine interactive operation emulation that the embodiment of the present invention is provided, and possess corresponding function and have Beneficial effect.
Embodiment six
The embodiment of the present invention six additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, should Program can realize the method for man-machine interactive operation emulation any in above-described embodiment when being executed by processor.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Tool There are the electrical connections of one or more wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service Pass through Internet connection for business).
Above-described embodiment sequence number is for illustration only, does not represent the quality of embodiment.
Will be appreciated by those skilled in the art that above-mentioned each module of the invention or each step can use general meter Device is calculated to realize, they can be concentrated on single computing device, or are distributed in the network that multiple computing devices are formed On, alternatively, they can be realized with the program code that computer installation can perform, so as to be stored in storage Performed in device by computing device, they are either fabricated to each integrated circuit modules respectively or will be more in them Individual module or step are fabricated to single integrated circuit module to realize.So, the present invention be not restricted to any specific hardware and The combination of software.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, same or analogous part between each embodiment mutually referring to.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for those skilled in the art For, the present invention can have various changes and change.All any modifications made within spirit and principles of the present invention, it is equal Replace, improve etc., it should be included in the scope of the protection.

Claims (10)

  1. A kind of 1. system of man-machine interactive operation emulation, it is characterised in that including:Driving cabin and host computer;
    The driving cabin, sent for gathering the operation data of user, and by the operation data to host computer;It is additionally operable to basis The operation scenario for the emulation digital simulation moving component that the host computer is sent;
    The host computer, the operation data for being sent according to the driving cabin generate the emulation data of the moving component, and The emulation data are sent to the driving cabin.
  2. 2. system according to claim 1, it is characterised in that the driving cabin includes at least one Programmable logical controller Device PLC regulator cubicles and at least one projection nucleus curtain;
    The PLC regulator cubicles, for electric signal corresponding to the operation acquisition based on user, and the electric signal is converted into numeral Signal, to obtain the operation data of the user, and the operation data is sent to host computer;
    The projection nucleus curtain, the emulation data for being sent according to the host computer show operation scenario corresponding to moving component.
  3. 3. system according to claim 1, it is characterised in that the PLC regulator cubicles include it is at least one can with setting The operation bench of functional unit and/or at least one instrument cabinet.
  4. A kind of 4. method of man-machine interactive operation emulation, it is characterised in that including:
    Obtain the operation data for the user that driving cabin is sent;
    The emulation data of moving component are determined according to the operation data, and the emulation data are sent to the driving cabin, So that the driving cabin is according to the emulation digital simulation operation scenario.
  5. 5. according to the method for claim 4, it is characterised in that described that the imitative of moving component is determined according to the operation data True data includes:
    Numerical value conversion is carried out to the operation data, to obtain corresponding operational order;
    The operational order is inputted into the simulation model of moving component set in advance, and obtains the simulation model output Emulation data.
  6. 6. according to the method for claim 5, it is characterised in that it is described obtain driving cabin send user operation data it Before, in addition to:
    The motion skeletal system of the moving component is loaded into simulation model;
    The initial state information of the moving component is set in the simulation model according to the motion skeletal system, it is described first Beginning status information includes:Bone title, initial motion matrix corresponding with the bone title and with the bone title pair The initial motion parameter answered;
    Accordingly, it is described to input the operational order into the simulation model of moving component set in advance, and described in acquisition The emulation data of simulation model output include:
    The operational order is inputted into the simulation model, so that the simulation model is according to operational order determination pair The bone title answered, and joined according to the operational order and initial motion matrix corresponding with the bone title, initial motion Measure tectonic movement matrix;
    The kinematic matrix of the simulation model output is obtained, and using the kinematic matrix as emulation data.
  7. 7. the method according to claim 5 or 6, it is characterised in that the simulation model is what is created under XNA Development Frameworks Emulating operating system.
  8. A kind of 8. device of man-machine interactive operation emulation, it is characterised in that including:
    Operation data acquisition module, the operation data of the user for obtaining driving cabin transmission;
    Data determining module is emulated, for determining the emulation data of moving component according to the operation data, and by the emulation Data are sent to the driving cabin, so that the driving cabin is according to the emulation data model operation scenario.
  9. 9. a kind of equipment, it is characterised in that the equipment includes:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method of the man-machine interactive operation emulation as described in any in claim 4-7.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method that the man-machine interactive operation emulation as described in any in claim 4-7 is realized during execution.
CN201710761390.8A 2017-08-30 2017-08-30 System, method, device, equipment and storage medium for man-machine interaction operation simulation Active CN107515587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710761390.8A CN107515587B (en) 2017-08-30 2017-08-30 System, method, device, equipment and storage medium for man-machine interaction operation simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710761390.8A CN107515587B (en) 2017-08-30 2017-08-30 System, method, device, equipment and storage medium for man-machine interaction operation simulation

Publications (2)

Publication Number Publication Date
CN107515587A true CN107515587A (en) 2017-12-26
CN107515587B CN107515587B (en) 2020-07-07

Family

ID=60724624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710761390.8A Active CN107515587B (en) 2017-08-30 2017-08-30 System, method, device, equipment and storage medium for man-machine interaction operation simulation

Country Status (1)

Country Link
CN (1) CN107515587B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635417A (en) * 2018-12-07 2019-04-16 北京维盛网域科技有限公司 A kind of simulated scenario generation method, device, system and medium
CN111400118A (en) * 2020-03-16 2020-07-10 杭州涂鸦信息技术有限公司 Serial port command creating method and system for on-line function file

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473966A (en) * 2013-08-29 2013-12-25 南京航空航天大学 Semi-physical digital simulation control platform of aircraft cockpit
CN203552502U (en) * 2013-11-12 2014-04-16 郑州航空工业管理学院 Three dimensional simulation driving device
CN203786933U (en) * 2013-12-16 2014-08-20 上海三一重机有限公司 Virtual driving training device for non-road mine heavy truck
CN105608951A (en) * 2016-02-25 2016-05-25 中国人民解放军海军工程大学 Interactive ship cabin virtual training system based on 3D location roaming and training method
KR20160092620A (en) * 2015-01-28 2016-08-05 (주)세이프텍리서치 Ship Navigation Simulator and Design Method by using Head Mount Display and Voice Recognition Technology
CN106601068A (en) * 2017-01-22 2017-04-26 山东交通学院 Ship handling simulator driving and controlling device simulation test system
CN107038309A (en) * 2017-04-20 2017-08-11 成都艾尔伯特科技有限责任公司 A kind of aircraft engine simulation teching system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473966A (en) * 2013-08-29 2013-12-25 南京航空航天大学 Semi-physical digital simulation control platform of aircraft cockpit
CN203552502U (en) * 2013-11-12 2014-04-16 郑州航空工业管理学院 Three dimensional simulation driving device
CN203786933U (en) * 2013-12-16 2014-08-20 上海三一重机有限公司 Virtual driving training device for non-road mine heavy truck
KR20160092620A (en) * 2015-01-28 2016-08-05 (주)세이프텍리서치 Ship Navigation Simulator and Design Method by using Head Mount Display and Voice Recognition Technology
CN105608951A (en) * 2016-02-25 2016-05-25 中国人民解放军海军工程大学 Interactive ship cabin virtual training system based on 3D location roaming and training method
CN106601068A (en) * 2017-01-22 2017-04-26 山东交通学院 Ship handling simulator driving and controlling device simulation test system
CN107038309A (en) * 2017-04-20 2017-08-11 成都艾尔伯特科技有限责任公司 A kind of aircraft engine simulation teching system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109635417A (en) * 2018-12-07 2019-04-16 北京维盛网域科技有限公司 A kind of simulated scenario generation method, device, system and medium
CN111400118A (en) * 2020-03-16 2020-07-10 杭州涂鸦信息技术有限公司 Serial port command creating method and system for on-line function file
CN111400118B (en) * 2020-03-16 2023-09-26 杭州涂鸦信息技术有限公司 Method and system for creating serial port command for online function file

Also Published As

Publication number Publication date
CN107515587B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN106200983B (en) A kind of system of combination virtual reality and BIM realization virtual reality scenario architectural design
CN102609991B (en) Volume-reduction optimization method for three-dimensional solid model
CN106774949A (en) Collaborative simulation exchange method, device and system
CN106372370A (en) Flight control distributed type real-time simulation system
CN102170462B (en) Remote collaboration method of product design model
CN106681726B (en) Python model conversion is the method for Modelica model
CN110502861B (en) Full-digital simulation system based on satellite information flow
CN103353902A (en) Construction method for secondary equipment simulation model of electric power system
CN109032860A (en) A kind of ARINC429 bus general purpose simulation system and emulation mode
CN103942092A (en) HLA co-simulation method supporting LabView graphical programming
CN107515587A (en) System, method, apparatus, equipment and the storage medium of man-machine interactive operation emulation
Xuejun et al. Real-time digital simulation of control system with LabVIEW simulation interface toolkit
CN106934105B (en) Stable control closed loop simulation system based on RTDS
CN107515966A (en) A kind of radar simulator system layering construction method based on DDS
CN101609614A (en) A kind of emulation platform of semi-matter simulating system reaches the method for goal systems being carried out online accent ginseng
Waurich et al. Interactive FMU-Based Visualization for an Early Design Experience.
CN210807344U (en) Remote FPGA experiment system
Montalvo-Lopez et al. Development of a virtual reality environment based on the CoAP protocol for teaching pneumatic systems
Cao et al. Webgl-based research on virtual visualization simulation display platform of ship
CN104615815B (en) The method for message transmission and system of a kind of parallel model
CN106897120A (en) Double-deck dynamic Distributed Simulation Platform
CN109544701A (en) A kind of SDK for showing and editing for threedimensional model
CN115481588A (en) Graphical bus verification platform
CN115422723A (en) Modelica platform and UE4 collaborative simulation method based on Opendds
CN101976466A (en) Method for generating three-dimensional portable process file

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zheng Qingyun

Inventor after: Chen Zhonghui

Inventor after: Xia Chao

Inventor after: Chen Zengji

Inventor before: Zheng Qingyun

Inventor before: Liu Hong

Inventor before: Chen Zengji

Inventor before: Chen Zhonghui

GR01 Patent grant
GR01 Patent grant