Summary of the invention
The invention provides the interactive online generalized object of a kind of 3D and put into practice platform and control method thereof; The present invention has realized that generalized object gets the mastery in performance index such as cost, dirigibility, user experience and authenticity, actual operation and practicalitys simultaneously; Realized the good coordinating and unifying, seen hereinafter for details and describe:
The interactive online generalized object of a kind of 3D with put into practice platform; Said platform comprises: 3D main frame, at least one 3D generalized object display subsystem, intercommunication subsystem, at least one process components display subsystem, at least one process components interface subsystem, external interface and communication subsystem and power subsystem; Wherein
Said power subsystem is that said 3D main frame, said 3D generalized object display subsystem, said intercommunication subsystem, said process components display subsystem, said process components interface subsystem and said external interface and communication subsystem provide power supply; Said 3D main frame links to each other with said process components interface subsystem through said intercommunication subsystem; Said process components display subsystem shows process components and the pinout information thereof that said 3D main frame sends; The information that the user shows according to said process components display subsystem combines control structure to carry out the hard configuration connection of process components through said process components interface subsystem; Said 3D generalized object display subsystem shows the generalized object real-time running state and the man-machine interactive interface of said 3D main frame.
Said platform also comprises: control device subsystem,
Said control device subsystem is used for and said process components interface subsystem, said intercommunication subsystem and user between state and information interaction.
Said platform also comprises: external smart equipment and system,
Said external smart equipment is communicated by letter with said 3D main frame, said intercommunication subsystem and said process components interface subsystem respectively with communication subsystem through said external interface with system.
Said external interface and communication subsystem also are used for the upgrading to said 3D main frame and said process components interface subsystem.
The number of said process components display subsystem and said process components interface subsystem is complementary.
Interactive online generalized object of a kind of 3D and the control method of putting into practice platform said method comprising the steps of:
(1) user operates said 3D main frame completion through man-machine interface and puts into practice project choice, and said 3D main frame shows static 3D generalized object through said 3D generalized object display subsystem; Said 3D main frame transmits corresponding process components and pinout information thereof through said intercommunication subsystem simultaneously, and said process components display subsystem shows said process components and pinout information thereof, realizes the initialization of generalized object;
Wherein, the initialization of said generalized object is specially: comprise basic software platform module and model bank and algorithms library module in the said 3D main frame, said basic software platform module is through calling the initialization of said model bank and algorithms library module realization generalized object;
(2) user designs control structure through the structure that presets in said model bank and the algorithms library module, designs control algolithm through the algorithm that presets in said model bank and the algorithms library module;
(3) user realizes that through said process components interface subsystem the hard configuration of process components connects according to the 3D generalized object of said control structure, said process components and pinout information and said static state;
(4) said control device subsystem obtains the state feedback information of generalized object through said process components interface subsystem; Through said control algolithm said state feedback information is handled controlled amount, said control device subsystem utilizes said controlled quentity controlled variable through said process components interface subsystem the generalized object state to be regulated;
(5) judge whether the generalized object real-time running state is normal, if, execution in step (6); If not, execution in step (7);
(6) flow process finishes;
(7) judge whether said control structure is unreasonable, if said control structure is adjusted, again execution in step (5); If not, execution in step (8);
(8) judge whether hard configuration connection of process components and/or process components are connected with the hard configuration of said control device subsystem undesired; If; The hard configuration connection of said process components and/or process components be connected with the hard configuration of said control device subsystem adjust, again execution in step (5); If not, execution in step (9);
(9) said controlled quentity controlled variable is adjusted, again execution in step (5).
The hard configuration connection of said realization process components is specially:
Realize that hard configuration between the inner terminal of said process components interface subsystem connects and/or the terminal of a plurality of said process components interface subsystems between hard configuration connect; The terminal of realizing said process components interface subsystem is connected with hard configuration between the terminal of said control device subsystem.
Said method also comprises:
Said basic software platform module, said model bank and algorithms library module, said process components interface subsystem, said intercommunication subsystem, said external interface and communication subsystem, said control device subsystem, said external smart equipment and system and said power subsystem are provided with the fault of generalized object.
Saidly judge whether the generalized object real-time running state normally specifically comprises:
1) through said 3D main frame the topological structure that the hard configuration of said process components connects is judged; 2) through said 3D main frame the signal and the sequential thereof of said process components interface subsystem are judged; 3) through human eye the displaying contents of said 3D generalized object display subsystem is judged; 4) through human eye the displaying contents of said process components display subsystem is judged.
Said method also comprises: the topological structure that said hard configuration is connected is judged with the signal of said process components interface subsystem and the result of sequential judgement thereof and is directly carried out intelligent scoring.
The beneficial effect of technical scheme provided by the invention is:
The invention provides the interactive online generalized object of a kind of 3D and put into practice platform and control method thereof; This platform integrated use modeling technique, virtual reality technology, high-end embedded system technology, Electrical Control Technology; Coupling unit technology and human engineering technology etc.; Incorporate enriching one's knowledge and experience of vocational education and the long-term accumulation of training for industry field, realized can with the generalized object of controller online interaction; In kind relatively, miniatures platform, this platform is fully guaranteeing under the prerequisite of user experience and authenticity, actual operation and practicality to have very significantly cost and flexibility advantage; With respect to the simple analog platform, this platform has clear superiority aspect dirigibility, user experience and authenticity, actual operation and the practicality; With respect to configuration software and emulation platform, the actual operation and the practicality of this platform have clear superiority; Simultaneously this platform coats lid primary, secondary and tertiary industries field very widely, realizes all kinds of typical sensors, typical actuator and function such as typical process object very widely; And the functional packet of this platform will grow with each passing hour, and continue to optimize, will expand and enrich; And realize upgrading through external interface and communication subsystem, thereby enlarged the scope of using 3D main frame and process components interface subsystem; Link to each other with system with external smart equipment with communication subsystem through external interface, constitute more complicated system or realize the interlock between a plurality of platforms, thereby satisfy the multiple application in the practical application; Judge with the signal and the sequential judgement thereof of process components interface subsystem through the topological structure that hard configuration is connected and directly to carry out intelligent scoring, thereby improved work efficiency.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done further to describe in detail below.
In order to realize that generalized object gets the mastery in performance index such as cost, dirigibility, user experience and authenticity, actual operation and practicalitys simultaneously; Realize the good coordinating and unifying; The embodiment of the invention provides the interactive online generalized object of a kind of 3D and has put into practice platform, sees hereinafter for details and describes:
Referring to Fig. 2; The interactive online generalized object of a kind of 3D with put into practice platform; Comprise: 3D main frame 101, at least one 3D generalized object display subsystem 102, intercommunication subsystem 103, at least one process components display subsystem 104, at least one process components interface subsystem 105, external interface and communication subsystem 106 and power subsystem 107
Wherein, power subsystem 107 provides power supply for 3D main frame 101,3D generalized object display subsystem 102, intercommunication subsystem 103, process components display subsystem 104, process components interface subsystem 105, external interface and communication subsystem 106; 3D main frame 101 links to each other with process components interface subsystem 105 through intercommunication subsystem 103; Process components display subsystem 104 shows process components and the pinout information thereof that 3D main frame 101 sends; The information that user 109 shows according to process components display subsystem 104 combines control structure to carry out hard configuration connection through process components interface subsystem 105; 3D generalized object display subsystem 102 shows the generalized object real-time running state and the man-machine interactive interface of 3D main frame 101.
Wherein, process components is the element of 3D generalized object, carries out hard configuration through process components interface subsystem 105 and connects, with 3D main frame 101 and the 3D generalized object display subsystem 102 common 3D generalized objects of forming.
Further, referring to Fig. 3, in order to realize carrying out state and information interaction realizing complete line closed loop system with generalized object, the interactive online generalized object of this 3D with put into practice platform and also comprise: control device subsystem 108,
Control device subsystem 108 is used for and process components interface subsystem 105, intercommunication subsystem 103 and user 109 between state and information interaction.
Further, referring to Fig. 3, in order to constitute more complicated system or to realize the interlock between a plurality of platforms, the interactive online generalized object of this 3D with put into practice platform and also comprise: external smart equipment and system 110,
External smart equipment is communicated by letter with 3D main frame 101, intercommunication subsystem 103 and process components interface subsystem 105 respectively with communication subsystem 106 through external interface with system 110.
Further, for the expanding application scope, external interface and communication subsystem 106 also are used for the upgrading to 3D main frame 101 and process components interface subsystem 105.
Further, the hard configuration of process components connects for ease, increases work efficiency, and embodiment of the invention selection process parts display subsystem 104 is complementary with the number of process components interface subsystem 105.
Wherein, During concrete the realization; 3D generalized object display subsystem 102 hardware platforms have two kinds of typical way; Be video card (independent video card/integrated graphics card)+display screen (or touch-screen, projection etc.), embedded display interface+display screen (or touch-screen, projection etc.), platform specific depend on the demand of functional packet to display performance; The interactive online generalized object of common 3D with put into practice platform and comprise a 3D generalized object display subsystem 102; In particular cases can comprise functions such as a plurality of 3D generalized object display subsystems 102 realization splicings; During concrete the realization, the embodiment of the invention does not limit this.Referring to Fig. 4, the 3D generalized object that is shown can move arbitrarily, convergent-divergent and rotation.
Wherein, when specifically realizing, the hardware platform of intercommunication subsystem 103 is: telecommunication media (wired or wireless mode) and physical equipment (HUB/ switch); Software platform is: self-defining communication protocol (data packet format), the main realization with 3D main frame 101 and the generalized object of process components interface subsystem 105 formations and state and the information interaction between the control device subsystem 108, to realize complete line closed loop system.
Wherein, when specifically realizing, the hardware platform of process components display subsystem 104 is: display screen (or touch-screen, projection etc.); Displaying contents: the test pattern symbol (or pictorial diagram) and the pin of process components; According to system process number of components and complexity, this platform has one or more process components display subsystems 104, and when specifically realizing, the embodiment of the invention does not limit this.
Wherein, when specifically realizing, the hardware platform of process components interface subsystem 105 is: ARM+FPGA, and wherein FPGA mainly realizes the I/O function of digital quantity and pulsed quantity, and ARM mainly realizes analog quantity I/O function; Operating system is: Windows CE, Linux or Android etc.; According to control system process components quantity and complexity, this platform has one or more process components interface subsystems 105, and when specifically realizing, the embodiment of the invention does not limit this.
Mainly show as the display screen of process components display subsystem 104 and the hard configuration terminal strip (embedded system in the process components interface subsystem 105 is invisible to the user) of process components interface subsystem 105 among Fig. 5, each display screen is corresponding to the hard configuration terminal strip of the several regions of the process components interface subsystem 105 below it; Process components display subsystem 104 shows a plurality of parts; Be respectively (1) and (2) as explanation with two unit numbers of beating oblique line for example among Fig. 5; Process components interface subsystem 105 hard configuration terminal strips according to the zone (showing as regional A and area B among the figure), the row (i, ii ...) and row (1; 2 ...) number.
Fig. 6 shows last various process components test pattern symbols (or pictorial diagram) that show of the display screen (or touch-screen and projection etc.) of process components display subsystem 104 and the corresponding relation between pin and the process components interface subsystem 105 hard configuration terminal strip terminals thereof; Wherein concrete manifestation is the effect after parts among Fig. 5 (1) amplify.
Between the process components that shows according to Fig. 6; And the annexation between process components and the controller; Connecting the structure of accomplishing total system in conjunction with control structure through hard configuration as shown in Figure 7, specifically is to require the connection that walks abreast of process components (1) and process components (2) according to certain control structure among Fig. 7.
Wherein, when specifically realizing, can realize communicating by letter through modes such as Ethernet, fieldbus, EPAs between external interface and communication subsystem 106 and external smart equipment and the system 110, operated from a distance such as networking and upgrading.
Wherein, when specifically realizing, power subsystem 107 comprises three-phase alternating current, single-phase AC, and direct supply, to realize the power supply to above-mentioned each subsystem.
Wherein, when specifically realizing, the implementation platform of control device subsystem 108 is: PLC, IPC or embedded system (like MCU, ARM) etc.
In the process of practical application, in case unusual or fault appear in the practical operation process, the interactive online generalized object of this 3D with put into practice platform can automatic diagnosis and intelligent parking, thereby can guarantee personal safety and device security.
In sum, the embodiment of the invention provides the interactive online generalized object of a kind of 3D and has put into practice platform, and this platform is fully guaranteeing under the prerequisite of user experience and authenticity, actual operation and practicality to have very significantly cost and flexibility advantage; With respect to the simple analog platform, this platform has clear superiority aspect dirigibility, user experience and authenticity, actual operation and the practicality; With respect to configuration software and emulation platform, this platform actual operation and practicality have clear superiority; And realized upgrading through external interface and communication subsystem, thereby enlarged the scope of using 3D main frame and process components interface subsystem; Link to each other with system with external smart equipment with communication subsystem through external interface, thereby constitute more complicated system or realize the interlock between a plurality of platforms, thereby satisfied the multiple application in the practical application.
Interactive online generalized object of a kind of 3D and the control method of putting into practice platform, referring to Fig. 8, this method may further comprise the steps, and sees hereinafter for details and describes:
S1: user 109 accomplishes through man-machine interface operation 3D main frame 101 and puts into practice project choice, and 3D main frame 101 shows static 3D generalized object through 3D generalized object display subsystem 102; 3D main frame 101 transmits corresponding process components and pinout information thereof through intercommunication subsystem 103 simultaneously, and process components display subsystem 104 shows corresponding process components and pinout information thereof, realizes the initialization of generalized object;
Wherein, corresponding each other between the building block key element of 3D generalized object and the process components, man-machine interface generally includes: keyboard, mouse or touch-screen etc.; The project of practice generally includes: the project of putting into practice in teaching (theory, experiment, real standard and comprehensive Design etc.), training (pre-job training, new skill training, pre-job training and industrial training etc.), displaying and performance fields such as (like exhibitions and production process monitorings etc.).
Wherein, referring to Fig. 9, comprise in the 3D main frame 101: basic software platform module 1011 and model bank and algorithms library module 1012; The initialization of the generalized object in this step is specially: basic software platform module 1011 is through calling the initialization of model bank and algorithms library module 1012 realization generalized objects.
Wherein, the development platform of basic software platform module 1011 is: C++/Java, script (like Lua); Operation platform is: Windows or (SuSE) Linux OS; Existence form is a software package; The development platform of model bank and algorithms library module 1012 is: 3D Max, Rhino, OpenGL; Algorithms library development platform: C++/Java; Model bank operation platform: Windows or (SuSE) Linux OS; The algorithms library operation platform is Windows or (SuSE) Linux OS; The algorithms library substance: comprise conventional PID, typical modern control and Based Intelligent Control etc. preset algorithm, and single closed loop, many closed loops, compound control, layering, the multiple structure that presets such as distributed; Model bank substance: comprise conventional sensors, actuator and electromechanical integration parts etc.; Model bank and algorithms library existence form: functional packet.
The input/output information of process components is realized with true standard electric signal (level, voltage, electric current, frequency and pulse etc.) online through process components interface subsystem 105, and then is realized the I/O function and the signal processing flow of technology object parts fully truly.
Referring to Figure 10; Functional packet is divided into course level/project level (like electrical control and PLC functional packet, computer control function bag etc.), professional (like industrial automation specialized function bag, electromechanical integration specialized function bag etc.), work post level (like PLC system designer functional packet etc.), industry-level (like building automatic industry functional packet; Beverage production industry functional packet etc.); Several course level/project level functional packet constitute professional functional packet; Several course levels/project level functional packet constitutes work post level functional packet, and several professional functional packet constitute specific industry-level functional packet with several work post level functional packet.The functional packet that constitutes flexibly can satisfy multiple type, multi-level demand of different user.
S2: user 109 designs control structure through the structure that presets in model bank and the algorithms library module 1012, designs control algolithm through the algorithm that presets in model bank and the algorithms library module 1012;
Wherein, presetting structure generally includes: single closed loop, many closed loops, compound control, layering, distributed etc. multiple; Preset algorithm and generally include conventional PID, typical modern control and Based Intelligent Control etc.; During concrete the realization, select and concrete parameter tuning according to the needs in the practical application, the embodiment of the invention does not limit this.
S3: user 109 realizes that through process components interface subsystem 105 the hard configuration of process components connects according to control structure, process components and pinout information thereof and static 3D generalized object;
Wherein, realize that the hard configuration connection of process components is specially: the hard configuration between the hard configuration connection between the terminal of realization process components interface subsystem 105 inside and/or the terminal of a plurality of process components interface subsystems connects; The terminal of realizing process components interface subsystem 105 is connected with hard configuration between the terminal of control device subsystem 108.
Realize with 3D main frame 101 and the generalized object of process components interface subsystem 105 formations and state and the information interaction between the control device subsystem 108, to realize complete line closed loop system through intercommunication subsystem 103.
S4: control device subsystem 108 obtains the state feedback information of generalized object through process components interface subsystem 105; Through control algolithm state feedback information is handled controlled amount, control device subsystem 108 utilizes controlled quentity controlled variable to regulate through 105 pairs of generalized object states of process components interface subsystem;
Wherein, the generalized object state generally includes: the technology object by control process parameter and correlated variables.
S5: judge whether the generalized object real-time running state moves normally, if, execution in step S6; If not, execution in step S7;
Wherein, the generalized object real-time running state generally includes: the real-time parameter of generalized object and parts thereof and 3D performance thereof etc.
Judge whether the generalized object real-time running state normally specifically comprises:
1) topological structure that connects through the hard configuration of 101 pairs of process components of 3D main frame is judged; 2) judge through the signal and the sequential thereof of 101 pairs of process components interface subsystems 105 of 3D main frame; 3) through human eye the displaying contents of 3D generalized object display subsystem 102 is judged; 4) through human eye the displaying contents of process components display subsystem 101 is judged.
S6: flow process finishes;
S7: judge whether control structure is unreasonable, if control structure is adjusted, again execution in step S5; If not, execution in step S8;
S8: judge whether hard configuration connection of process components and/or process components are connected with control device subsystem 108 hard configurations undesired; If; The hard configuration connection of process components, process components be connected with control device subsystem 108 hard configurations adjust, again execution in step S5; If not, execution in step S9;
S9: controlled quentity controlled variable is adjusted, again execution in step S5.
Constantly repeated execution of steps S7, S8 and S9 are normal up to the generalized object real-time running state, and flow process finishes.
Further; In order to improve the effect of training; This method also comprises: the fault that the basic software platform module 1011 in the 3D main frame 101, model bank and algorithms library module 1012, intercommunication subsystem 103, process components interface subsystem 105, external interface and communication subsystem 106, power subsystem 107, control device subsystem 108 and external smart equipment and system 110 is provided with generalized object; User's fault location is fixed a breakdown, thereby improves the effect of training; Significantly reduce trainer and trainee's workload, and can enhancement training efficient and reach the result of training of teaching students in accordance with their aptitude.
Further; In order to increase work efficiency; This method also comprises: the topological structure that the hard configuration of process components is connected is judged with the signal of process components interface subsystem 105 and the result of sequential judgement thereof and is directly carried out intelligent scoring, thereby increases work efficiency and practice effect.
In sum; The embodiment of the invention provides interactive online generalized object of a kind of 3D and the control method of putting into practice platform; This method is judged through the topological structure that hard configuration is connected and intelligent scoring is directly carried out in the signal and the sequential judgement thereof of process components interface subsystem; Thereby improved work efficiency, saved time and manpower; This method is through being provided with the fault of generalized object to basic software platform module, model bank and algorithms library module, process components interface subsystem, intercommunication subsystem, external interface and communication subsystem, control device subsystem, external smart equipment and system and power subsystem; Through user's fault location; Fix a breakdown; Thereby improved the effect of training, significantly reduced trainer and trainee's workload.
It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of a preferred embodiment, the invention described above embodiment sequence number is not represented the quality of embodiment just to description.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.