CN101354571A - Automatic generating platform of control system and method thereof - Google Patents

Automatic generating platform of control system and method thereof Download PDF

Info

Publication number
CN101354571A
CN101354571A CNA2008102115201A CN200810211520A CN101354571A CN 101354571 A CN101354571 A CN 101354571A CN A2008102115201 A CNA2008102115201 A CN A2008102115201A CN 200810211520 A CN200810211520 A CN 200810211520A CN 101354571 A CN101354571 A CN 101354571A
Authority
CN
China
Prior art keywords
control system
controller
controlling object
motor
automatically
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
CNA2008102115201A
Other languages
Chinese (zh)
Inventor
唐英杰
吴凤路
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Institute of Graphic Communication
Original Assignee
Beijing Institute of Graphic Communication
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Institute of Graphic Communication filed Critical Beijing Institute of Graphic Communication
Priority to CNA2008102115201A priority Critical patent/CN101354571A/en
Publication of CN101354571A publication Critical patent/CN101354571A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a control system automatic generation platform and a method thereof. The control system automatic generation platform is provided with a control software automatic generation program and a controller driver in advance, and comprises a controlled object set module which is used to select a controlled object inside an interface of the control system according to requirements; a controller set module which is used to input a control parameter for controller set inside a parameter input interface of the controller according to the control requirements of the controlled object, as well as a controller parameter download module which is used to download the set control parameter into the controller via a computer serial port.

Description

A kind of control system generates platform and method thereof automatically
Technical field
The present invention relates to the automatic control system generation technique, particularly a kind of control system generates platform and method thereof automatically.
Background technology
Design in China's plant equipment mainly comprises mechanical system design and Control System Design two parts content, and the quality of control system performance has determined the height of whole plant equipment performance to a great extent.The design of control system at present is responsible for finishing by the electronics of being proficient in design of hardware and software, Computer Engineer often, their at the beginning of Control System Design, often the require a great deal of time technological process of the equipment of understanding fully and concrete requirement, this has not only increased the construction cycle, can many beyond thought problems appear owing to design of hardware and software teacher is not proficient in machinery also when electromechanics cooperates and debug.
Summary of the invention
Technical matters to be solved by this invention is, provide a kind of control system to generate platform and method thereof automatically, its application has not only alleviated Control System Design worker's working strength and difficulty, can also effectively shorten the control system construction cycle, reduce cost of development.
For achieving the above object, control system provided by the present invention generates platform automatically, and the driver that it has solidified Control Software automatically generating program and controller in advance is characterized in that, this control system generates platform automatically and comprises:
The controlling object setting module is used for the selected controlling object at the control system interface as required;
The controller setting module is used for requiring to carry out the controller setting in controller parameter inputting interface input controlled variable according to the control of described selected controlling object;
The controller parameter download module is used for by the computing machine serial port controlled variable that configures being downloaded in the controller.
Above-mentioned control system generates platform automatically, it is characterized in that, also comprise system emulation operation module, be used for, controller and the controlling object that has configured required to couple together the work of artificial actual control system according to actual process at the computer control system interface.
Above-mentioned control system generates platform automatically, it is characterized in that, also comprises a document storing and print module, is used for setting the control system parameter preservation/printout of finishing standby.
Above-mentioned control system generates platform automatically, it is characterized in that, described controlling object comprises at least: stepper motor, DC servo-motor, alternating current generator, proportioning valve, relay and reversal valve switch, triode.
Above-mentioned control system generates platform automatically, it is characterized in that, described controller comprises at least: controllor for step-by-step motor, DC motor controller, AC motor control, input/output control unit.
Further, the present invention also provides a kind of and has used the control system that above-mentioned control system generates Platform Implementation automatically and generate method automatically, it is characterized in that, comprising:
Controlling object is set step, is used for the selected controlling object at the control system interface as required;
Controller is set step, is used for requiring to carry out the controller setting in controller parameter inputting interface input controlled variable according to the control of described selected controlling object;
The controller parameter download step is used for by the computing machine serial port controlled variable that configures being downloaded in the controller.
Above-mentioned control system generates method automatically, it is characterized in that, also comprise a system emulation operating procedure, be used for, controller and the controlling object that has configured required to couple together the work of artificial actual control system according to actual process at the computer control system interface.
Above-mentioned control system generates method automatically, it is characterized in that, also comprises a document storing and printing step, is used for setting the control system parameter preservation/printout of finishing standby.
Above-mentioned control system generates method automatically, it is characterized in that, described controlling object comprises at least: stepper motor, DC servo-motor, alternating current generator, proportioning valve, relay and reversal valve switch, triode.
Above-mentioned control system generates method automatically, it is characterized in that, described controller comprises at least: controllor for step-by-step motor, DC motor controller, AC motor control, input/output control unit.
Compared with prior art, the present invention is to provide a kind of general-purpose control system generation system platform open, that be convenient to General System deviser use, even if it can make system designer be ignorant of under the situation of soft, hardware design, only need parameter such as input service flow process and sequential on computer screen, according to technological requirement the control corresponding module is connected, just can easily, successfully design the control system that meets technological requirement.This platform is mitigation system deviser's working strength and difficulty greatly, shortens system development cycle, reduces cost of development.
Description of drawings
Fig. 1 generates system's pie graph of platform automatically for control system of the present invention;
Fig. 2 generates method flow diagram automatically for application control system of the present invention generates the Platform Implementation control system automatically;
Fig. 3 generates the start interface synoptic diagram that platform generates package printing machinery control system embodiment automatically for the present invention quotes control system;
Fig. 4 generates the design interface synoptic diagram of platform automatically for control system shown in Figure 3;
Fig. 5 is that control system shown in Figure 3 generates the parameter setting interface synoptic diagram in the platform automatically;
Fig. 6 is that control system shown in Figure 3 generates the parameter setting interface synoptic diagram in the platform automatically;
Fig. 7 is that control system shown in Figure 3 generates the simulation run interface synoptic diagram in the platform automatically.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention being elaborated, with further understanding the present invention's purpose, scheme and effect, but is not as the restriction to appended claim protection domain of the present invention.
With reference to figure 1, control system of the present invention generates platform 1 automatically and comprises: controlling object setting module 10 is used for the selected controlling object at the control system interface as required; Controller setting module 20 is used for requiring at the controller parameter inputting interface according to the control of described selected controlling object, carries out controller by a controlled variable setting module 201 input controlled variable and sets; System emulation operation module 30 is used at the computer control system interface, and controller and the controlling object that has configured required to couple together the work of artificial actual control system according to actual process; Controller parameter download module 40 is used for by the computing machine serial port, and the controlled variable that configures is downloaded in the working control device; Document storing and print module 50 are used for setting the control system parameter preservation/printout of finishing standby.
With reference to figure 2, in conjunction with Fig. 1, the control system that the above-mentioned control system of application provided by the invention generates Platform Implementation automatically generates method automatically, comprising:
Step S20 selectes controlling object as required at the control system interface by a controlling object setting module 10;
Step S21 by a controller setting module 20, requires in the controller parameter inputting interface according to the control of described selected controlling object, carries out controller by a controlled variable setting module 201 input controlled variable and sets;
Step S23 on the computer control system interface, requires controller and the controlling object that has configured to couple together according to actual process, by the work of system emulation operation module 30 artificial actual control system;
Step S24 is connected with the working control device by the computing machine serial port, by a controller parameter download module 40 controlled variable that configures is downloaded in the working control device.
Step S25, the control system parameter of finishing is preserved by one document storing/print module or printout is standby with setting.
Control System Design with printing packaging machinery is that example further specifies embodiments of the present invention below:
By analyzing and studying as can be known that the controlling object of package packing machine mainly is a stepper motor, DC servo-motor, alternating current, proportioning valve, relay and reversal valve, input signal mainly is switching signal (travel switch and an optical sensor), different designs corresponding controller according to controlling object, and each controller is packaged into a standard module, each module all is an independently control module, there is the MCU and the control program that is solidificated in wherein of oneself their inside, and the interface that standard is all arranged between the computing machine, can accept the steering order that computing machine is sent, carry out corresponding action.Present embodiment intends adopting single-chip microcomputer and fpga chip to finish circuit design, constructs satisfactory hardware system according to different standard modules to take the assembly modular system.This automatic creation system has solidified the driver of Control Software automatically generating program and various controllers in advance.Aspect software design, mainly be that design is write control corresponding parameter inputting interface to disparate modules, the software systems that control system generates platform automatically can make an explanation to interconnecting with control timing of each module, and the simulation system simulation run.
Wherein, controller and controlling object design module: adopt the application program of VB language compilation, comprise the design of various controllers (controllor for step-by-step motor, DC motor controller, input/output control unit) and these two functions of design of controlling object (switch, relay, triode, lamp etc.).
The controller parameter setting module: can occur the relevant parameters input menu according to different controllers, the user can be according to the requirement of real work flow process, the input controlled variable.
The parameter downloads module: computing machine is connected with the working control device by serial port (RS232), gives controller with the parameter downloads that designs.
System emulation operation module: the user can design each controller and controller object on design interface, and by the actual process requirement these modules is coupled together, and defines controlled variable, the work that system can the artificial actual control system.
Aspect The Hardware Design, form by controllor for step-by-step motor, DC motor controller, AC motor control and input/output control unit.
Be the concrete generating mode that example further specifies control system below with the stepper motor:
The basic function of controllor for step-by-step motor is:
Can outbound course and stepping pulse signal, Transistor-Transistor Logic level;
Motor speed is 0~1000 rev/min;
8 inputs and 8 output signal ends are arranged, can connect the input of signals such as switch, photoelectric sensor, also can be according to current working state output status signal or control signal, the signal Transistor-Transistor Logic level can control cylinder, equipment such as LED, relay;
Can finish 10 with interior different duty by the control step motor, motor can sequential working, also can carry out cycling as requested;
Can be operated under the downloading mode, the steering order that downloading computer transmits, and be solidificated in the controller; Also can be operated under the operational mode, according to steering order, the control step machine operation.
It is the core of controller that controller adopts single chip computer AT 89C51, adopts E2PROM93C46 as solidifying the storer of downloading parameter, and input/output signal all carries out photoelectricity isolates.
In design of Controller, one very part and parcel be the definition of control command word, native system has defined 9 command words altogether, is respectively:
The ModelByte pattern-word, D7~D4: course of work number; D3: operation is 1, and order of representation work is 0, expression periodic duty D2~D0; Inlet state during periodic duty number.
ModByte1 mode control word 1, D7 are direction, and 0 is counter-rotating, and 1 for just changeing; D6: working method, 1 represents at the uniform velocity, 0 expression stops; D5:1 represents the umber of beats bat by stepper motor, and counting is zero end; D4: stop mode, 1 expression extraneous signal triggers and stops, and 0 expression regularly finishes to stop; D4: the output signal position, 1 expression has signal output, 0 expression no signal output; D2~D0, extraneous signal.
ModByte2, ModByte3: velocity amplitude.
ModByte4, ModByte5: timing value.
ModByte6, ModByte7: the umber of beats of operation.
ModByte8: output signal number.
The all similar controllor for step-by-step motor of the principle of work of DC motor controller, AC motor control and i/o controller no longer describes in detail.
System boot interface such as Fig. 3 appear in the operational system design platform on the computer screen, occur the master of system design interface after several seconds as shown in Figure 4.In the design menu, the user can have controllor for step-by-step motor (containing motor), DC motor controller (containing motor), input/output control unit, relay, lamp, power supply, switch etc. to the controlling object that control system is added.After choosing object, it is dragged to suitable position, on the icon of object, put keystroke, controlled variable setting interface as shown in Figure 5 appears.According to the job requirement of the control system that will design, in the menu of parameter setting, fill in controlled variable successively.After controlled variable is set, press download button, the controlled variable that designs can send controller to by serial port, and is solidificated in the controller, as shown in Figure 6.
The user selects needed controller and controlling object according to the requirement of control system, places in place, and with connecting line it is connected.Select operational mode, system gets final product the work of simulation control subsystem.Whether the user can observation post's designed system work conforms with the requirement of workflow, as shown in Figure 7.If deviation is arranged, the user can return under the Design Mode, revises the controlled variable of each controller.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (10)

1, a kind of control system generates platform automatically, and the driver that it has solidified Control Software automatically generating program and controller in advance is characterized in that, this control system generates platform automatically and comprises:
The controlling object setting module is used for the selected controlling object at the control system interface as required;
The controller setting module is used for requiring to carry out the controller setting in controller parameter inputting interface input controlled variable according to the control of described selected controlling object;
The controller parameter download module is used for by the computing machine serial port controlled variable that configures being downloaded in the controller.
2, control system according to claim 1 generates platform automatically, it is characterized in that, also comprise system emulation operation module, be used at the computer control system interface, controller and the controlling object that has configured required to couple together the work of artificial actual control system according to actual process.
3, control system according to claim 1 generates platform automatically, it is characterized in that, also comprises a document storing and print module, is used for setting the control system parameter preservation/printout of finishing standby.
4, control system according to claim 1 generates platform automatically, it is characterized in that, described controlling object comprises at least: stepper motor, DC servo-motor, alternating current generator, proportioning valve, relay and reversal valve switch, triode.
5, control system according to claim 1 generates platform automatically, it is characterized in that, described controller comprises at least: controllor for step-by-step motor, DC motor controller, AC motor control, input/output control unit.
6, a kind of application rights control system that requires any described control system in 1~5 to generate Platform Implementation automatically generates method automatically, it is characterized in that, comprising:
Controlling object is set step, is used for the selected controlling object at the control system interface as required;
Controller is set step, is used for requiring to carry out the controller setting in controller parameter inputting interface input controlled variable according to the control of described selected controlling object;
The controller parameter download step is used for by the computing machine serial port controlled variable that configures being downloaded in the controller.
7, control system according to claim 7 generates method automatically, it is characterized in that, also comprise a system emulation operating procedure, be used at the computer control system interface, controller and the controlling object that has configured required to couple together the work of artificial actual control system according to actual process.
8, control system according to claim 7 generates method automatically, it is characterized in that, also comprises
One document storing and printing step are used for setting the control system parameter preservation/printout of finishing standby.
9, control system according to claim 1 generates method automatically, it is characterized in that, described controlling object comprises at least: stepper motor, DC servo-motor, alternating current generator, proportioning valve, relay and reversal valve switch, triode.
10, control system according to claim 1 generates method automatically, it is characterized in that, described controller comprises at least: controllor for step-by-step motor, DC motor controller, AC motor control, input/output control unit.
CNA2008102115201A 2008-08-01 2008-09-17 Automatic generating platform of control system and method thereof Pending CN101354571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008102115201A CN101354571A (en) 2008-08-01 2008-09-17 Automatic generating platform of control system and method thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200810117580.7 2008-08-01
CN200810117580 2008-08-01
CNA2008102115201A CN101354571A (en) 2008-08-01 2008-09-17 Automatic generating platform of control system and method thereof

Publications (1)

Publication Number Publication Date
CN101354571A true CN101354571A (en) 2009-01-28

Family

ID=40307411

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008102115201A Pending CN101354571A (en) 2008-08-01 2008-09-17 Automatic generating platform of control system and method thereof

Country Status (1)

Country Link
CN (1) CN101354571A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015039628A1 (en) * 2013-09-23 2015-03-26 彭武 Visualization step programming method
CN105301990A (en) * 2014-06-25 2016-02-03 澧达科技股份有限公司 Control system and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015039628A1 (en) * 2013-09-23 2015-03-26 彭武 Visualization step programming method
CN105301990A (en) * 2014-06-25 2016-02-03 澧达科技股份有限公司 Control system and method thereof
US9977410B2 (en) 2014-06-25 2018-05-22 Leadot Innovation, Inc. Control system and method thereof

Similar Documents

Publication Publication Date Title
DE102004050434B4 (en) Hardware-based configurable motion control device and method
CN103345446B (en) A kind of automated testing method being applicable to remote control series products
CN110967992A (en) Control system and method for robot
EP1857896A1 (en) Emulator of a controller of an industrial plant
CN1438554A (en) Improvement of high-grade process-control block responding to changeable process delay
CN102955460A (en) Control system of numerical control system master station over input/output (IO) terminal slave station
CN106250308B (en) A kind of simulation system and method based on emulation data model
CN103019169A (en) Servo driving system
CN114509985A (en) Virtual axis control system based on motion control
US20040030418A1 (en) Simulation system for machine simulation and data output of control data for an automation system
CN101354571A (en) Automatic generating platform of control system and method thereof
CN104518716A (en) Closed loop control system for miniature direct current motor and control method for system
CN104380115A (en) Pipetting robot
CN110794813B (en) In-loop real-time linkage testing method and system for electromechanical parts
CN206115263U (en) Quick verification system of modularization servo control based on bus
JP4676900B2 (en) Simulator for distributed control system
CN113801666B (en) Virtual-real combined large-scale coke oven mechanical equipment debugging system and debugging method
CN211669543U (en) HIL test system suitable for mixed operation system
CN104069983A (en) Potting machine control system and potting machine
Reyneri et al. Simulink-Based Codesign and Cosimulation of a Common Rail™ Injector Test Bench
JP5137367B2 (en) Model-based development auxiliary block, simulation system, and automatic code generation method
CN106444714A (en) Building method and device for controlled object model
CN205219128U (en) Control system of industrial robot
CN207397000U (en) The trailing suction hopper dredger power-equipment signal simulation device pushed away based on the double paddle bilaterals of two-shipper
CN201773335U (en) Automatic test system for adjusting backlight luminance of automobile interior trim based on hardware-in-the-loop test

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090128