CN109213103B - Automatic production control method - Google Patents
Automatic production control method Download PDFInfo
- Publication number
- CN109213103B CN109213103B CN201811075281.1A CN201811075281A CN109213103B CN 109213103 B CN109213103 B CN 109213103B CN 201811075281 A CN201811075281 A CN 201811075281A CN 109213103 B CN109213103 B CN 109213103B
- Authority
- CN
- China
- Prior art keywords
- file
- management system
- process system
- jth
- generated
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
- G05B19/4183—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31282—Data acquisition, BDE MDE
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention relates to an automatic control technology, and solves the technical problems that production data of an automatic control method with a plurality of production processes are easy to be abnormal and the flexibility is not high. The technical scheme is summarized as follows: when the product is produced, the process systems of two adjacent processes carry out file interaction through the management system, after each process system finishes respective task, a corresponding file is generated and fed back to the previous process system to provide production information for the next process system, so that the information of the product sequentially passes through each production process, each production process produces according to the information in the corresponding file, and finally the whole production of the product is finished. The beneficial effects are that: the automatic control method of the invention is not easy to generate abnormal product data, the qualification rate of the produced products is high, and the operation is simple and convenient when a process system is added or deleted, and the flexibility is improved. The invention is particularly suitable for an automatic production system with a plurality of production processes.
Description
Technical Field
The present invention relates to an automatic control technique, and more particularly to an automatic control technique having a plurality of production processes.
Background
At present, when a system with a plurality of production processes is automatically produced, each system independently runs and accesses respective database, so that the production data of the same product cannot be unified, and the uniformity of the data of the previous and subsequent processes cannot be judged, so that data errors, data misjudgment, data missing and the like are easily caused, the product percent of pass is inevitably reduced due to abnormal data, and the automatic control method of the system comprising a plurality of production processes in the prior art is not high in flexibility, and if a new process system is added or the original process system is deleted, the hardware connection and the software control of the system are greatly changed, and the operation is troublesome.
Disclosure of Invention
The invention provides an automatic production control method, aiming at solving the technical problems that production data of the existing automatic control method with a plurality of production processes are easy to be abnormal and the flexibility is not high.
In order to solve the technical problems, the invention adopts the technical scheme that: the automatic production control method is applied to an automatic production control system, the system comprises a management system, a database and at least n process systems, the management system is respectively connected with the database and all the process systems, and the database is respectively connected with the management system and all the process systems, and the method is characterized in that: if the j-th process system can generate a file j1 and/or a file j2 containing the information of the currently produced products in the process, the file j1 and the file j2 are unique files in the management system and each process system, wherein n is an integer greater than or equal to 2, j is an integer greater than or equal to 1, and j is less than or equal to n;
for the management system:
when j is 1:
when the management system detects that the j1 is generated in the jth process system, the management system generates a j1 file in the management system; when detecting that the file j1 is deleted in the jth process system, the management system deletes the file (j +1)2 in the management system;
when j is more than or equal to 2 and less than n:
when the management system detects that the j1 is generated in the jth process system, the management system generates a j1 file in the management system; when the management system detects that the file j2 is generated in the jth process system, the management system generates a file j2 in the management system and deletes the file (j-1)1 in the management system; when detecting that the file j1 is deleted in the jth process system, the management system deletes the file (j +1)2 in the management system;
when j ═ n:
when the management system detects that the file j2 is generated in the jth process system, the management system generates a file j2 in the management system and deletes the file (j-1)1 in the management system;
for the jth process system:
when j is 1:
if the j1 file does not exist in the jth process system, the jth process system acquires the information of the product to be produced from the database or the management system and starts to produce, and after the jth process system finishes the current production task of the product, the j1 file is generated in the jth process system; when the jth process system detects that the file (j +1)2 is generated in the management system, deleting the file j1 in the jth process system;
when j is more than or equal to 2 and less than n:
if the j1 and the j2 do not exist in the jth process system, the jth process system detects the file (j-1)1 in the management system and starts production according to the product information in the file (j-1)1, and after the jth process system finishes the current product production task, the file j1 and the file j2 are generated in the jth process system; when the j process system detects that the file j2 is deleted in the management system, the file j2 in the j process system is deleted; when the jth process system detects that the file (j +1)2 is generated in the management system, deleting the file j1 in the jth process system;
when j ═ n:
if the j2 does not exist in the jth process system, the jth process system detects the file (j-1)1 in the management system and starts production according to the product information in the file (j-1)1, and after the jth process system finishes the current product production task, the j2 is generated in the jth process system; when the jth process system detects that the file j2 is deleted from the management system, the file j2 in the jth process system is deleted.
As a further optimization, the file j1 and the file j2 are both stored separately using a specified path. In each system, the file j1 and the file j2 are stored separately by adopting a designated path, so that when the system searches the file j1 or the file j2, the files under the corresponding path are directly scanned, the pertinence is strong, the time for searching the files can be saved, and the processing speed of the system is improved.
As a further optimization, the product information contained in the file j1 and the file j2 adopts the calling path of the product data in the database. If the data of the product is directly stored in the file, when the data of the product is large, the time required by the system to generate the file is long, and further the control efficiency of the system is influenced, so that the calling path of the product data in the database is stored in the file, the file is small, the generation speed is high, and when the system needs to use the data, the corresponding data is obtained according to the calling path of the data.
As a further optimization, the file j2 does not contain anything. When the file j2 is only used for feeding back that the system of the current process has completed the corresponding task, the content of the generated file j2 is empty, and the speed of generating the file is further improved.
The beneficial effects are that: according to the invention, the systems interact through the files, in the production process, the information of the product sequentially passes through the production processes, and the production processes produce according to the information in the corresponding files, so that the data of the product and the corresponding product can be in one-to-one correspondence, abnormal conditions such as data errors, misjudgments, missing and the like can be avoided, and the qualification rate of the product is improved. Meanwhile, each system of the invention independently scans corresponding files to carry out mutual control, and when process systems are added or deleted, only the process systems in each process are required to be subjected to file processing setting according to the method, so that the operation is simple and convenient, and the flexibility is improved. The invention is particularly suitable for an automatic production system with a plurality of production processes.
Drawings
FIG. 1 is a diagram of file changes among a process system, a process system II, and a management system according to an embodiment of the present invention.
FIG. 2 is a diagram of the change of files among the process system II, the process system II and the management system in the second embodiment of the present invention.
Fig. 3 is a file change diagram between the second process system, the third process system and the management system in the second embodiment of the present invention.
Wherein "+" in fig. 1, 2 and 3 indicates a generated file, "-" indicates a deleted file, the process system is the 1 st process system, the second process system is the 2 nd process system, and the third process system is the 3 rd process system.
Detailed Description
The technical scheme of the invention is further explained by combining the attached drawings and the embodiment.
The technical scheme of the invention is as follows: the automatic production control method is applied to an automatic production control system, the system comprises a management system, a database and at least n process systems, the management system is respectively connected with the database and all the process systems, and the database is respectively connected with the management system and all the process systems, and the method is characterized in that: if the j-th process system can generate a file j1 and/or a file j2 containing the information of the currently produced products in the process, the file j1 and the file j2 are unique files in the management system and each process system, wherein n is an integer greater than or equal to 2, j is an integer greater than or equal to 1, and j is less than or equal to n;
for the management system:
when j is 1:
when the management system detects that the j1 is generated in the jth process system, the management system generates a j1 file in the management system; when detecting that the file j1 is deleted in the jth process system, the management system deletes the file (j +1)2 in the management system;
when j is more than or equal to 2 and less than n:
when the management system detects that the j1 is generated in the jth process system, the management system generates a j1 file in the management system; when the management system detects that the file j2 is generated in the jth process system, the management system generates a file j2 in the management system and deletes the file (j-1)1 in the management system; when detecting that the file j1 is deleted in the jth process system, the management system deletes the file (j +1)2 in the management system;
when j ═ n:
when the management system detects that the file j2 is generated in the jth process system, the management system generates a file j2 in the management system and deletes the file (j-1)1 in the management system;
for the jth process system:
when j is 1:
if the j1 file does not exist in the jth process system, the jth process system acquires the information of the product to be produced from the database or the management system and starts to produce, and after the jth process system finishes the current production task of the product, the j1 file is generated in the jth process system; when the jth process system detects that the file (j +1)2 is generated in the management system, deleting the file j1 in the jth process system;
when j is more than or equal to 2 and less than n:
if the j1 and the j2 do not exist in the jth process system, the jth process system detects the file (j-1)1 in the management system and starts production according to the product information in the file (j-1)1, and after the jth process system finishes the current product production task, the file j1 and the file j2 are generated in the jth process system; when the j process system detects that the file j2 is deleted in the management system, the file j2 in the j process system is deleted; when the jth process system detects that the file (j +1)2 is generated in the management system, deleting the file j1 in the jth process system;
when j ═ n:
if the j2 does not exist in the jth process system, the jth process system detects the file (j-1)1 in the management system and starts production according to the product information in the file (j-1)1, and after the jth process system finishes the current product production task, the j2 is generated in the jth process system; when the jth process system detects that the file j2 is deleted from the management system, the file j2 in the jth process system is deleted.
In the invention, the correspondence of the files generated by the jth process system is j1 and j2, wherein the file j1 is used for transmitting product information to the next process system, the file j2 is used for feeding back the production progress to the previous process system, obviously, the correspondence of the files generated by the jth process system is (j-1)1 and (j-1)2, the correspondence of the files generated by the jth +1 process system is (j +1)1 and (j +1)2, and each system can complete the production of the product by detecting and working according to the method.
The method is optimized, and specifically comprises the following steps: both file j1 and file j2 may be stored separately using the specified path. In the invention, the uniqueness of the file j1 and the file j2 means that any file can be uniquely found in the management system and each process system, for example, the file can adopt a unique file name, a unique path and the like, in each system, the file j1 and the file j2 are separately stored by adopting a specified path, so that when the system searches the file j1 or the file j2, the file under the corresponding path is directly scanned, the pertinence is strong, the time for searching the file can be saved, and the processing speed of the system is improved.
The product information contained in the file j1 and the file j2 may take a call path of the product data in the database. If the data of the product is directly stored in the file, when the data of the product is large, the time required by the system to generate the file is long, and further the control efficiency of the system is influenced, so that the calling path of the product data in the database is stored in the file, the file is small, the generation speed is high, and when the system needs to use the data, the corresponding data is obtained according to the calling path of the data.
As a further optimization, the file j2 may not contain anything. If the product information in the file j2 is not needed to be used, the file j2 is only used for feeding back that the system in the current process has completed the corresponding task, only an empty file j2 can be generated, corresponding data is not needed to be contained, and the speed of generating the file is further improved.
Example one
This example describes the process of producing a product in detail using a 2-process system as an example.
When the first process system detects that no file 11 exists in the first process system, product information needing to be produced is obtained from a database or a management system and production is started, and after the first process system finishes a current product production task, a file 11 containing the current product information is generated in the first process system, and the first process system is shown in figure 1.
When the management system detects that the file 11 is generated in the first process system, the file 11 is generated in the management system.
And when the second process system detects that the file 22 does not exist in the second process system, detecting the file 11 in the management system, starting production according to the product information in the file 11, and after the second process system finishes the current product production task, generating the file 22 in the second process system.
When the management system detects that the file 22 is generated in the second process system, the file 22 is generated in the management system and the file 11 in the management system is deleted.
When the process system detects that the file 22 is created in the management system, the file 11 in the process system is deleted.
When the management system detects that the file 11 is deleted in the process system, the file 22 in the management system is deleted.
When the second process system detects that the file 22 is deleted in the management system, the file 22 in the second process system is deleted.
Through the above process, the production of a product is completed.
Example two
This example describes the process of producing a product in detail using a 3-process system as an example.
When the first process system detects that no file 11 exists in the first process system, product information needing to be produced is obtained from a database or a management system and production is started, and after the first process system finishes a current product production task, a file 11 containing the current product information is generated in the first process system, and the reference of fig. 2 is carried out.
When the management system detects that the file 11 is generated in the first process system, the file 11 is generated in the management system.
And when the second process system detects that the files 21 and 22 do not exist in the second process system, detecting the files 11 in the management system, starting production according to the product information in the files 11, and after the second process system finishes the current product production task, generating the files 21 and 22 containing the information of the currently produced products in the second process system.
As for the file 22, as in the first embodiment, when the management system detects that the file 22 is generated in the second process system, the file 22 is generated in the management system, and the file 11 in the management system is deleted; when the process system I detects that the file 22 is generated in the management system, the file 11 in the process system is deleted; the management system deletes the file 22 in the management system after detecting that the file 11 is deleted in the process system; when the second process system detects that the file 22 is deleted in the management system, the file 22 in the second process system is deleted.
Referring to fig. 3, when the management system detects that the file 21 is generated in the second process system, the file 21 is generated in the management system; when the third process system detects that the file 32 does not exist in the third process system, the file 21 in the management system is detected, production is started according to the product information in the file 21, and the file 32 is generated in the third process system after the third process system finishes the current product production task; when detecting that the file 32 is generated in the third process system, the management system generates the file 32 in the management system and deletes the file 21 in the management system; the second process system detects that the file 32 is generated in the management system, and then deletes the file 21 in the second process system; deleting the file 32 in the management system after the management system detects that the file 21 is deleted in the process system II; when the third process system detects that the file 32 is deleted in the management system, the file 32 in the third process system is deleted.
Through the above process, the production of a product is completed.
Claims (4)
1. The automatic production control method is applied to an automatic production control system, the system comprises a management system, a database and at least n process systems, the management system is respectively connected with the database and all the process systems, and the database is respectively connected with the management system and all the process systems, and the method is characterized in that: if the j-th process system can generate a file j1 and/or a file j2 containing the information of the currently produced products in the process, the file j1 and the file j2 are unique files in the management system and each process system, wherein n is an integer greater than or equal to 2, j is an integer greater than or equal to 1, and j is less than or equal to n;
for the management system:
when j is 1:
when the management system detects that the j1 is generated in the jth process system, the management system generates a j1 file in the management system; when detecting that the file j1 is deleted in the jth process system, the management system deletes the file (j +1)2 in the management system;
when j is more than or equal to 2 and less than n:
when the management system detects that the j1 is generated in the jth process system, the management system generates a j1 file in the management system; when the management system detects that the file j2 is generated in the jth process system, the management system generates a file j2 in the management system and deletes the file (j-1)1 in the management system; when detecting that the file j1 is deleted in the jth process system, the management system deletes the file (j +1)2 in the management system;
when j ═ n:
when the management system detects that the file j2 is generated in the jth process system, the management system generates a file j2 in the management system and deletes the file (j-1)1 in the management system;
for the jth process system:
when j is 1:
if the j1 file does not exist in the jth process system, the jth process system acquires the information of the product to be produced from the database or the management system and starts to produce, and after the jth process system finishes the current production task of the product, the j1 file is generated in the jth process system; when the jth process system detects that the file (j +1)2 is generated in the management system, deleting the file j1 in the jth process system;
when j is more than or equal to 2 and less than n:
if the j1 and the j2 do not exist in the jth process system, the jth process system detects the file (j-1)1 in the management system and starts production according to the product information in the file (j-1)1, and after the jth process system finishes the current product production task, the file j1 and the file j2 are generated in the jth process system; when the j process system detects that the file j2 is deleted in the management system, the file j2 in the j process system is deleted; when the jth process system detects that the file (j +1)2 is generated in the management system, deleting the file j1 in the jth process system;
when j ═ n:
if the j2 does not exist in the jth process system, the jth process system detects the file (j-1)1 in the management system and starts production according to the product information in the file (j-1)1, and after the jth process system finishes the current product production task, the j2 is generated in the jth process system; when the jth process system detects that the file j2 is deleted from the management system, the file j2 in the jth process system is deleted.
2. The automated production control method according to claim 1, characterized in that: the file j1 and the file j2 are both stored separately using a specified path.
3. The automated production control method according to claim 1, characterized in that: the product information contained in the file j1 and the file j2 adopts the calling path of the product data in the database.
4. The automated production control method according to claim 1, characterized in that: the file j2 does not contain anything.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811075281.1A CN109213103B (en) | 2018-09-14 | 2018-09-14 | Automatic production control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811075281.1A CN109213103B (en) | 2018-09-14 | 2018-09-14 | Automatic production control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109213103A CN109213103A (en) | 2019-01-15 |
CN109213103B true CN109213103B (en) | 2021-03-16 |
Family
ID=64983487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811075281.1A Active CN109213103B (en) | 2018-09-14 | 2018-09-14 | Automatic production control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109213103B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101826035A (en) * | 2010-04-07 | 2010-09-08 | 深圳创维-Rgb电子有限公司 | Communication method between application programs |
CN104866442A (en) * | 2015-06-03 | 2015-08-26 | 山东泰景电力科技有限公司 | Digital facility interface and data exchange method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7720727B2 (en) * | 2001-03-01 | 2010-05-18 | Fisher-Rosemount Systems, Inc. | Economic calculations in process control system |
JP5100092B2 (en) * | 2006-11-27 | 2012-12-19 | 株式会社日立製作所 | Work instruction management system, work instruction management method, work instruction management program, work instruction management apparatus, and electronic paper |
CN101673421B (en) * | 2009-10-12 | 2011-12-14 | 武汉钢铁(集团)公司 | Automatic recording system for running time of production line device |
CN101807073B (en) * | 2010-04-20 | 2013-01-23 | 杭州和利时自动化有限公司 | Historical data processing method and device of distributed control system |
US9569638B2 (en) * | 2014-12-31 | 2017-02-14 | Google Inc. | Trusted computing |
CN104978635A (en) * | 2015-07-09 | 2015-10-14 | 建笃精密科技(深圳)有限公司 | Production management information physical system and implementation method thereof |
EP3291083A1 (en) * | 2016-09-06 | 2018-03-07 | Siemens Aktiengesellschaft | Method of displaying data of a data processing system, data processing system operating according to the method and computer program implementing the method |
CN108228481A (en) * | 2016-12-21 | 2018-06-29 | 伊姆西Ip控股有限责任公司 | For ensureing the method and apparatus of data consistency |
-
2018
- 2018-09-14 CN CN201811075281.1A patent/CN109213103B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101826035A (en) * | 2010-04-07 | 2010-09-08 | 深圳创维-Rgb电子有限公司 | Communication method between application programs |
CN104866442A (en) * | 2015-06-03 | 2015-08-26 | 山东泰景电力科技有限公司 | Digital facility interface and data exchange method |
Also Published As
Publication number | Publication date |
---|---|
CN109213103A (en) | 2019-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10949253B2 (en) | Data forwarder for distributed data acquisition, indexing and search system | |
CN102637214B (en) | Method and system for synchronizing general data among database services | |
US10185771B2 (en) | Method and system for scheduling web crawlers according to keyword search | |
CN103020520A (en) | Enterprise-based document security detection method and system | |
CN106095911A (en) | Search system and method for data synchronization | |
EP3299968A1 (en) | Big data calculation method and system | |
EP3282369A1 (en) | Remote data synchronization method and apparatus for database | |
CN103136364A (en) | Cluster database system and data query processing method thereof | |
CN108829609A (en) | A kind of test method and system of blue tooth products | |
CN108508477B (en) | Seismic data acquisition system and method | |
CN103294494A (en) | Automatic deployment method and system of virtual system | |
CN108446814A (en) | With the tree searching method and device of sequential pipeline Job-Shop problem | |
CN1866961A (en) | Client system and service system data synchronizing method and system | |
CN109213103B (en) | Automatic production control method | |
CN105224663A (en) | A kind of data-accessing tasks management method based on multiple data source and device | |
CN103092988A (en) | Realizing method of directly managing mobile phone media resources on desktop | |
CN109739881B (en) | Incremental data convergence updating method and system based on CarbonData | |
CN113297218B (en) | Multi-system data interaction method, device and system | |
CN116108094A (en) | Data integration method and device, electronic equipment and storage medium | |
CN104679821A (en) | Data access processing method and data access processing device | |
CN106648967A (en) | File scanning method and system | |
CN101996246A (en) | Method and system for instant indexing | |
CN112734369A (en) | Engineering cost management system based on big data | |
CN105303341A (en) | Intelligent extensible order allocation method based on priority and device | |
CN104394197A (en) | SQL (Structured Query Language) injection detection system and method based on cloud environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 621000 Sichuan Ailian Technology Co., Ltd Applicant after: Sichuan Ailian Technology Co., Ltd Address before: 621000 Mianyang city of Sichuan Province, Sichuan Industrial Park, love science and Technology Co. Applicant before: SICHUAN AI-LINK TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |