CN102183927B - Control method of system realizing multi-module combined work - Google Patents

Control method of system realizing multi-module combined work Download PDF

Info

Publication number
CN102183927B
CN102183927B CN2011100423430A CN201110042343A CN102183927B CN 102183927 B CN102183927 B CN 102183927B CN 2011100423430 A CN2011100423430 A CN 2011100423430A CN 201110042343 A CN201110042343 A CN 201110042343A CN 102183927 B CN102183927 B CN 102183927B
Authority
CN
China
Prior art keywords
module
electronic unit
functional module
information
flow process
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.)
Active
Application number
CN2011100423430A
Other languages
Chinese (zh)
Other versions
CN102183927A (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.)
Beijing Leadman Biochemistry Co Ltd
Original Assignee
Beijing Leadman Biochemistry Co Ltd
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 Leadman Biochemistry Co Ltd filed Critical Beijing Leadman Biochemistry Co Ltd
Priority to CN2011100423430A priority Critical patent/CN102183927B/en
Publication of CN102183927A publication Critical patent/CN102183927A/en
Application granted granted Critical
Publication of CN102183927B publication Critical patent/CN102183927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a control method of a system realizing multi-module combined work. The system comprises electronic units and a control section, wherein the control section comprises a module work flow configurator and a module flow distribution manager. The system, according to to-be-performed functions, is divided into different functional modules corresponding to the operations that theelectronic units will execute; the module flow distribution manager, based on currently requested work, distributes the work read from the module work flow configurator to the different functional modules according to a functional module list, and the electronic units receive the instruction information transmitted by the corresponding functional modules and having unique identifications; the functional modules receive uploaded information uploaded by the electronic units and having the unique identifications; the module flow distribution manager analyzes and processes the information uploaded to the functional modules by the electronic units; and the module flow distribution manager informs the corresponding functional modules of the analysis results and the functional modules manage andcontrol the operations and executions of the electronic units according to the analysis results.

Description

The control method of the system of realizing multi-module combined work
Technical field
The present invention relates to a kind of control method, more specifically, relate to a kind of electronic unit that adopts serial communication and functional module and realize alternately the management of the system of realizing multi-module combined work and the method for control.
Background technology
For a long time, in the control method of realizing multi-module combined work, all be the reference mark of carrying out as operation with timing node generally, to control unusual situation and happen occasionally, the accuracy of flow process operation and stability are brought very large impact.In the process that operation is carried out, often because the action executing of indivedual electronic units postpones, and next operation carries out that time is up, cause electronic unit to damage or operation is carried out chaotic.Therefore electronic unit is managed accurately and state control, is made it carry out corresponding operation accurately, thus safeguard work normally carry out in an orderly manner, and improve precision and the accuracy of work, just seem particularly important.And also do not have a kind of effective solution for this problem at present.
Summary of the invention
The objective of the invention is to disclose a kind of control method of realizing multi-module combined work, need can be applicable to a plurality of modules to unite the scene of finishing some work flow.
The present invention proposes a kind of control method of system of realizing multi-module combined work, this system comprises electronic unit and control section, wherein control section has module work flow configurator and module flow process allocation manager, it is characterized in that: system marks off the functional module of the operational correspondence that different and electronic unit will carry out according to the function that will carry out; The operation that module flow process allocation manager will read from module work flow configurator according to the operation of current request, distribute to different functional modules according to functional module tabulation, what electronic unit received corresponding functional module transmission has a uniquely identified command information; Functional module receives the information of uploading with unique identification information that electronic unit is uploaded; Module flow process allocation manager is resolved and is processed the information that electronic unit is uploaded to functional module; Module flow process allocation manager is notified corresponding functional module with analysis result, and the operation to electronic unit manages and controls functional module according to analysis result.
Preferably, the functional module tabulation is set, the functional module in its register system and corresponding with it electronic unit in module flow process allocation manager; The job list is set, unique job information that the writing function module will be carried out in functional module; This job list is the set of record concrete operations, execution sequence and the correlation parameter of the operation of the job list record, and it has described the operation ID that operation is carried out, parameter, sequentially, the standardize information of the operation such as time point; The operation that module flow process allocation manager will read from module work flow configurator according to the operation of current request, distribute to different functional modules according to the functional module tabulation, functional module is according to the flow process of the operation that distributes in the module flow process allocation manager, according to the status information of current electronic unit, order is carried out executable operation from the job list.Operate complete after, the information of uploading according to electronic unit is controlled next bar operation.Functional module A executable operations a for example, the information that complete rear upload operation a is finished, b operation that at this moment can start-up performance module B.
Preferably, describe the ID of operation in the job list of functional module in detail, the action of the execution of operation, the information such as job parameter; Functional module manages and controls the implementation that operates according to the state of the operation of recording in the job list in conjunction with the electronic unit of correspondence; When the state of electronic unit satisfies an operation of a functional module, functional module starts this operation, and this information notified to module flow process divider, this information is passed to other functional module by module flow process divider, if other functional modules are received an operation that also can start it after this information, according to identical flow performing, the mode of information sharing is a lot, for example " share information law ", after namely an electronic unit is carried out some operations, upload the information of being finished, module flow process allocation manager is resolved, and the object information of resolving is set in the corresponding status information, other functional module can be carried out corresponding operation after retrieving this status information.Again for example, also can directly be uploaded to by the status information that electronic unit is uploaded corresponding functional module, functional module arranges corresponding shared variable state, and other functional modules are according to the status information of shared variable, the operation that execution can be carried out.
Preferably, the flow process of the operation combination that the system that recorded in the module work flow configurator can carry out, each combination has a unique identification information.Particularly, the a1 operation identification information a1 that an operation combination process is arranged is functional module A, the b1 operation identification information b1 of functional module B, the c1 identification information C1 of functional module C, execution sequence is a1, b1, c1; Implementation is to receive a1 can carry out instruction, carries out a1, uploads the a1 information a11 that is finished after a1 is complete, carries out b1 by that analogy, carries out c1.
Preferably, communicate by serial ports between described electronic unit and the control section, carry out information interaction by the shared variable mode between the functional module.
Preferably, described module work flow configurator can be a module, wherein can be used for the Job execution flow process of design system and the setting of correlation parameter, is the flow table that an operation arranges here, a1 for example, b1, c1 flow process.
Described electronic unit is motor, the electronic components such as mechanical arm or mechanical arm
Another aspect of the present invention discloses a kind of control method of realizing multi-module combined work, comprises that in the method at least three execution connect the functional module of operation each other, and corresponding electronic unit, and flow process allocation manager and work flow configurator.
A kind of control method of realizing multi-module combined work comprises: three functions module at least, the unique identification information with associated; At least electronic unit corresponding to three functions module is to be connected by Serial Port Line to communicate with functional module, is used for transmitting the operation execution result information that predefined unique command identification and transmission electronic unit are uploaded.
Preferably, the division of functional module is divided according to the function of actual conditions and module, sometimes also a functional module can be divided into a plurality of sub-function module, also can segment down successively, make the function of each functional module clearer and more definite, more reduced the risk that mistake occurs.
Therefore, the present invention is based on the method that realizing multi-module combined work carries out flow process control, the electronic unit that will have difference in functionality is divided into different functional modules and carries out control and management, more meticulous and safety so that the control of complicated multimode becomes.At first module can be carried out modularization according to the function that will carry out, so that the task that each module will be carried out is clearer and more definite, control is got up also safer.Secondly, based on the precondition of all module executable operations, between module, carry out information interaction with shared variable, so that the execution of module operation is more smooth and safety.At last, adopt mutual mode also so that wrong location is more convenient, thereby be wrong location, get rid of the condition of providing convenience.
The present invention is by being connected with control software electronic unit by serial ports, an information that need transmit serial ports define and get final product; Adopted the electronic unit state-control mechanism, avoided because the electronic unit state does not meet the risk of current operation executive condition; Adopt interactively control mode, improve the running precision of electronic unit.
Description of drawings
By describing flow process of the present invention in detail by the accompanying drawing of preferred embodiment, will help to understand objects and advantages of the present invention.Wherein:
Fig. 1 is the schematic diagram of the control section of system architecture;
Fig. 2 is according to a preferred embodiment of the invention, provides control relational structure block diagram;
Fig. 3 is according to a preferred embodiment of the invention, provides system's realization shown in Figure 2 based on the message flow chart of realizing multi-module combined work;
Fig. 4 is according to a preferred embodiment of the invention, provides the functional module tabulation that module flow process allocation manager shown in Figure 2 contains;
Fig. 5 is according to a preferred embodiment of the invention, provides the job list that functional module shown in Figure 2 contains;
Fig. 6 is according to a preferred embodiment of the invention, provides the schematic diagram that operates in the job list that functional module shown in Figure 2 contains;
Fig. 7 is according to a preferred embodiment of the invention, the dependent instruction explanation in the job list of the Fig. 5 that provides.
Embodiment
The present invention will be described below in conjunction with accompanying drawing.But the those skilled in the art should be understood that application of the present invention and is not limited to this, and main control software and the information interaction between the electronic unit of the control section of whole system can be used other interface shapes such as USB.
The control of 1 and 2 pair of system relation describes by reference to the accompanying drawings, system comprises electronic unit and the control section that carries out actual physical operation, wherein control section include flow process allocation manager, work flow configurator and with the functional module that is associated of electronic unit.2 control relation structure diagram by reference to the accompanying drawings describes as an example of the control operation of reality example:
At first, three electronic units are set, this electronic unit is preferably motor, the electronic components such as mechanical arm or mechanical arm, and for known in the art, the action that above-mentioned electronic unit can put rules into practice by control.Action and corresponding instruction with a certain planning and design electronic unit in advance.For example receive instruction AAc1 motor with certain speed to 6 seconds of left movement, instruction AAc2 motor moves right 4 millimeters with certain speed, instruction BAc1 mechanical arm is drawn 5 millimeters line segments, and the BAc2 mechanical arm is drawn 1 millimeter line segment, and instruction CAc1 temperature regulator is warmed up to 40 degrees centigrade.The control of associated electronic components can use mcu programming to control, and sensor carries out adjustment.
Arrange the order of movement content and execution with the order of Fig. 5, the form of configuration file can use ini file or xml file.
According to the operation that electronic unit need to be carried out, module work flow configurator reads all operations in the flow process configurator according to different file layouts.
The difference of the function that will carry out according to all electronic units in the current system is classified, in the example its function specifically is divided into functional module one, functional module two, functional module three, or more functional modules, the present invention preferably describes as an example of the three functions module example, and module flow process divider generates corresponding three functions module.
Module flow process allocation manager is assigned to different functional modules with the content of operation in the module work flow configurator according to the ID of different functional modules.
Functional module is in the situation that condition maturity sends to corresponding electronic unit with instruction, and electronic unit is carried out according to predefined movement content, uploads the information of finishing after being finished.
Present invention is described in conjunction with Fig. 4-4 according to the message conveying flow schematic diagram of annex map 3.
Functional module one is issued to electronic unit one with instruction AAc1, the execution of this instruction does not have restrictive condition, after electronic unit one receives AAc1, this instruction is resolved, the result who resolves be instruction AAc1 need motor with certain speed to 6 seconds of left movement, the driving chip drives motor of electronic unit one is finished with certain speed to the left movement action in 6 seconds, and the motion state of real time monitoring motor, the complete information of teletype command AAc1 on the electronic unit one after motor movement is finished, the waiting status of simultaneously entry instruction AAc2.Do not receive before information that instruction AAc1 finishes arranges shared variable in module flow process allocation manager, functional module two waits for and issues instruction BAc1, and in like manner functional module three also is in waiting status.
Module flow process allocation manager receive the AAc1 instruction complete after, flag in the shared variable is set to very, this moment, functional module two meetings found that the restrictive condition of the lower BAc1 that sends instructions has allowed, send instructions BAc1 to electronic unit two at once, after electronic unit two receives instruction BAc1, resolve, the result who resolves needs mechanical arm to draw 5 millimeters line segments, the driving chip drives mechanical arm of electronic unit two is drawn the line segment of 5 millimeters long, and the state of Real Time Monitoring mechanical arm, the complete information of upper teletype command BAc1 after mechanical hand-drawing line is finished, the waiting status of simultaneously entry instruction BAc2.Module flow process allocation manager receive the BAc2 instruction finish information shared variable is set before functional module one and functional module three be in waiting status.
Module flow process allocation manager receiving the BAc1 instruction complete after, flag in the shared variable is set to very, this moment, functional module three meetings found that the restrictive condition of the lower CAc1 that sends instructions has allowed, send instructions CAc1 to electronic unit three at once, after electronic unit three receives instruction CAc1, resolve, the result who resolves needs instruction CAc1 temperature regulator to be warmed up to 40 degrees centigrade, the driving chip drives instruction CAc1 temperature regulator of electronic unit three is warmed up to 40 degrees centigrade, and the state of Real Time Monitoring temperature regulator, until temperature regulator regulate temperature become after the upper complete instruction of teletype command CAc1, module flow process allocation manager receive the CAc1 instruction finish information shared variable is set before functional module one and functional module two be in waiting status.
Receive after instruction CAc1 finishes in module flow process allocation manager, the instruction list of discovery feature module three has been empty, and namely all operations are all finished, and functional module three is carried out waiting status until there is new operation to add.But module flow process allocation manager arranges the state of shared variable, open function module one issues the instruction of AAc2, electronic unit two is after receiving the AAc2 instruction, resolve, the result who resolves is that the requirement motor moves right 4 millimeters with certain speed, and the driving chip drives motor of electronic unit one is carried out this operation, and the Real Time Monitoring motor status, after operation is complete, report instruction AAc2 to finish information.Do not receive before AAc2 finishes instruction and the shared variable state is set in module flow process allocation manager, functional module two is in the state of wait instruction BAc2.
Receive the information that instruction AAc2 finishes in module flow process allocation manager, the state of shared variable is set, open function module two issues the BAc2 instruction, simultaneously functional module one is set to waiting status.
After electronic unit two receives instruction BAc2, result to its parsing needs mechanical arm to draw 1 millimeter line segment, electronic unit two drives the chip drives motor and carries out this operation, and the state of Real Time Monitoring motor, after motor is finished this operation instruction BAc2 being finished information uploads, module flow process allocation manager receives BAc2 finish instruction after, functional module two is set to waiting status, this moment, the preferred embodiment shown in the annex was complete.
Can be that a plurality of conditions are the restrictive condition of some operations in the implementation of operation, the CAc1 of functional module three just can carry out behind functional module one complete instruction AAc1 and the functional module two complete instruction BAc1 such as only having.
In the present invention, can judge very accurately wrong position, and alleviate the loss that makes mistakes and cause because of element.In this example, if do not receive the complete information of instruction BAc1, functional module three can be in waiting status always, can not carry out the CAc1 instruction, will find it is when carrying out instruction BAc1, to make mistakes this moment, the position of can expliciting the position makeing mistakes, avoided owing to forcing lower send instructions CAc1 cause damage and operation result (such as product) the underproof situation generation of electronic component because functional module three is in waiting status this moment.
Although the present invention illustrates and describes with reference to its preferred embodiment, but will be understood by those skilled in the art that, in the situation that does not break away from the spirit and scope of the present invention that the appended claims limit, can carry out the various changes of form and details.

Claims (7)

1. the control method of the system of a realizing multi-module combined work, this system comprises electronic unit and control section, wherein control section has module work flow configurator and module flow process allocation manager, it is characterized in that:
System marks off the functional module of the operational correspondence that different and electronic unit will carry out according to the function that will carry out;
The operation that module flow process allocation manager will read from module work flow configurator according to the operation of current request is distributed to different functional modules according to the functional module tabulation,
What electronic unit received corresponding functional module transmission has a uniquely identified command information;
Functional module receives the information of uploading with unique identification information that electronic unit is uploaded;
Module flow process allocation manager is resolved and is processed the information that electronic unit is uploaded to functional module; Module flow process allocation manager is notified corresponding functional module with analysis result, and the operation to electronic unit manages and controls functional module according to analysis result.
2. method according to claim 1 is characterized in that: the functional module tabulation is set, the functional module in its register system and corresponding with it electronic unit in described module flow process allocation manager; The job list is set, unique job information that the writing function module will be carried out in functional module; This job list is the set of record concrete operations, and it has described operation ID that operation carries out, parameter, sequentially or time point.
3. method according to claim 2 is characterized in that: in a described functional module corresponding shared variable state is set, other functional modules are according to the status information of shared variable, and carrying out needs the operation carried out.
4. method according to claim 2 is characterized in that: functional module is according to the flow process of the operation that distributes in the module flow process allocation manager, and according to the status information of current electronic unit, order is carried out executable operation from the job list; Operate complete after, the information of uploading according to electronic unit is controlled next bar operation.
5. arbitrary described method according to claim 1-4 is characterized in that: communicate by serial ports between the control section of described electronic unit and system, carry out information interaction by the shared variable mode between the functional module.
6. arbitrary described method according to claim 1-4 is characterized in that: the flow process of the operation combination that the system that recorded in the module work flow configurator can carry out, each combination has a unique identification information.
7. arbitrary described method according to claim 1-4 is characterized in that: wherein, described electronic unit is for wherein, and described electronic unit is motor, mechanical arm or mechanical arm.
CN2011100423430A 2011-02-22 2011-02-22 Control method of system realizing multi-module combined work Active CN102183927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100423430A CN102183927B (en) 2011-02-22 2011-02-22 Control method of system realizing multi-module combined work

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100423430A CN102183927B (en) 2011-02-22 2011-02-22 Control method of system realizing multi-module combined work

Publications (2)

Publication Number Publication Date
CN102183927A CN102183927A (en) 2011-09-14
CN102183927B true CN102183927B (en) 2013-09-18

Family

ID=44570116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100423430A Active CN102183927B (en) 2011-02-22 2011-02-22 Control method of system realizing multi-module combined work

Country Status (1)

Country Link
CN (1) CN102183927B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092086B (en) * 2011-10-28 2014-12-31 上海宝信软件股份有限公司 Control method and control system of multiple-step competing batch charging
CN103971189B (en) * 2013-01-30 2017-07-04 中兴通讯股份有限公司 A kind of method and apparatus of multimode management
CN110202808A (en) * 2019-05-06 2019-09-06 上海洪海实业发展有限公司 The tyre building machine control method and device and equipment of a kind of multi-area control

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1365184A (en) * 2001-01-12 2002-08-21 惠普公司 Motor control system
CN101408759A (en) * 2007-10-12 2009-04-15 美国信用公司 Equipment operation control system and control method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1365184A (en) * 2001-01-12 2002-08-21 惠普公司 Motor control system
CN101408759A (en) * 2007-10-12 2009-04-15 美国信用公司 Equipment operation control system and control method thereof

Also Published As

Publication number Publication date
CN102183927A (en) 2011-09-14

Similar Documents

Publication Publication Date Title
US20170308067A1 (en) Method for Planning the Manufacture of A Product and Production Module Having Self-Description Information
JP2019135644A5 (en)
CN102637214B (en) Method and system for synchronizing general data among database services
CN102183927B (en) Control method of system realizing multi-module combined work
US20190002206A1 (en) Method for Controlling A Movement, A Control Device, A Linear Drive, A Production Machine, A Packaging Machine and a Computer Program Product
CN102768504B (en) For the method that the being controlled property of behavior of submodule is interfered
CN103809523A (en) Multi-channel numerical control system and multi-channel control method thereof
CN105808799A (en) Universal test software in RTX (Real-Time eXecutive) environment and test method for universal test software
CN102736565A (en) Communication method of automatic control equipment based on upper and lower computer structures
CN109189756A (en) Electronic device, the method for Data Migration and storage medium
CN105204459A (en) RFID based flexible processing system and method
US20170170983A1 (en) Design assistance device, design assistance method, and design assistance program
JP2015176191A (en) controller
CN104881020A (en) Wireless communication method of automobile diagnosis system and automobile diagnosis system
CN114428487A (en) Automatic control device, system and method
CN104678798A (en) Method for operating a field device
CN106020804A (en) DMI power information automatic updating method
CN103150682A (en) Workshop information intelligent interactive system
US20160357194A1 (en) Method of controlling inverters
CN202995430U (en) System for making a plurality of independent type motion controllers work synchronously
CN103760831A (en) Multi-module joint operation method of system
EP3012700B1 (en) Programmable controller and control method for programmable controller
CN103186738A (en) Software license management and control method and system for software resources, creating device and starting device
EP3007535A1 (en) Feeder and mounter
CN103777618A (en) Method for controlling instruction execution of semiconductor technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant