Flexible manufacturing platform based on micro-service architecture

By transforming sensing, computing, and control modules into microservices and combining edge computing and containerization technologies, the problem of traditional production lines being difficult to adapt to flexible manufacturing is solved, flexible production scheduling and customized production are achieved, and the flexibility and maintenance of the production line are improved. Convenience.

CN118707883APending Publication Date: 2024-09-27SHANGHAI JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410806938.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing fixed production lines are difficult to adapt to the needs of flexible manufacturing, and the separation of sensing, calculation, and control parts in traditional production control systems makes it difficult to achieve flexible production scheduling and customized production.

Method used

A flexible manufacturing platform based on microservice architecture is adopted to transform the sensing, computing, and control modules into microservices. Through edge computing and containerization technology, a loosely coupled service architecture is implemented to provide flexible production line scheduling and management.

Benefits of technology

It realizes convenient scheduling of the production process, supports customized production and flexible manufacturing, improves the flexibility and maintenance convenience of the production line, and adapts to the latest requirements of intelligent manufacturing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118707883A
    Figure CN118707883A
Patent Text Reader

Abstract

The invention relates to the field of intelligent manufacturing, in particular to a flexible manufacturing platform based on micro-service architecture. According to the invention, a single framework is disassembled into loosely coupled micro-services by using a micro-service framework, perception, calculation and control micro-services are packaged in a containerization form, and services are provided for the outside in a micro-service form; and functions in the platform are managed by using edge computing and micro-service technologies. According to the invention, production scheduling of the production line following orders can be realized, flexible capacity expansion and reduction can be realized, and highly-flexible flexible manufacturing can be realized; and different applications can be conveniently adapted, and flexible data acquisition and analysis can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent manufacturing, and in particular to a flexible manufacturing platform based on a microservice architecture. Background Art

[0002] With the development of intelligent manufacturing, developing new quality productivity and improving the level of high-end manufacturing have become the further development direction of the manufacturing industry. Flexible manufacturing is the development direction of the new manufacturing industry. The existing fixed and predetermined production line solutions are no longer able to meet the needs of flexible manufacturing. A large number of personalized and customized orders require flexible production line scheduling to meet the needs of production business.

[0003] In the development of flexible manufacturing, edge computing and microservices architecture have played a very important role. Edge computing is a new computing paradigm that extends computing resources from the cloud to the edge through edge devices such as edge servers, which can achieve the sinking of artificial intelligence functions and lower latency communication and data analysis. Microservices architecture is a service model developed from the Internet industry. This architecture breaks down a complete monolithic service into multiple loosely coupled microservices, which work together to complete service requests. This loosely coupled architecture makes it easy to maintain and update services. Changes and maintenance to one microservice will not affect other microservices, thereby achieving convenient updates and maintenance. By using microservices architecture in flexible manufacturing, services can be scaled and updated in a timely manner based on user orders and production status, thereby achieving more flexible production.

[0004] In addition, in the current production control system structure, the three parts of perception, computing, and control are separate architectures. Perception can be directly handled by PLC and computing devices, computing is handled by devices with computing capabilities or cloud services, and control is handled by PLC or terminal control devices. They are deeply connected and cooperate with each other to complete the complete production task. However, in previous studies, few studies have integrated the three parts of perception, computing, and control, and further incorporated them into the microservice architecture for scheduling. Using the microservice architecture, the service-oriented perception, computing, and control can make the scheduling of production processes more convenient and more flexible to realize customized production and flexible manufacturing.

[0005] In traditional production and manufacturing systems, systems such as SCADA (Supervisory Control and Data Acquisition) and ERP (Enterprise Resource Planning) are discrete monolithic architectures that are difficult to directly adapt to edge computing technology and microservice architecture.

[0006] Therefore, technicians in this field are committed to developing a flexible manufacturing platform based on microservice architecture, providing an intelligent manufacturing platform oriented to microservice architecture to meet the latest requirements of intelligent manufacturing. Summary of the invention

[0007] In view of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is to use the microservice architecture to microservice perception, computing, and control, so as to make the scheduling of production processes more convenient and realize customized production and flexible manufacturing.

[0008] To achieve the above objectives, the present invention provides a flexible manufacturing platform based on a microservice architecture, which adopts a microservice-oriented architecture.

[0009] Furthermore, the perception module, computing module and control module are all packaged in a containerized form and provide services to the outside in the form of microservices.

[0010] Furthermore, it includes a hardware part and a software part.

[0011] Furthermore, the hardware part includes a cloud layer, a production control layer and a field equipment layer.

[0012] Furthermore, the production control layer is an edge server cluster, which is dispersedly deployed at different locations on site to provide timely communication guarantees and edge computing resources, and is a node for the operation of microservices.

[0013] Furthermore, the software part includes a platform layer, a core service layer, a business logic layer and a device layer.

[0014] Furthermore, the platform layer includes a platform control panel and service management tools.

[0015] Furthermore, the core service layer provides basic services for platform operation, including a registration module, a data module, a monitoring module and a scheduling module.

[0016] Furthermore, the business logic layer includes a perception module, a computing module, and a control module, which run different microservices according to different functions required by the platform.

[0017] Furthermore, the operation of industrial applications on the platform includes the following steps:

[0018] Step 1: Start the platform and all services of the core service layer, including registration module, data module, detection module, and scheduling module;

[0019] Step 2: Run all services of the industrial application. The scheduling module determines the location of the service deployment. After deployment, the service is registered with the registration module. The service address can be queried through the registration module.

[0020] Step 3: Different services query the registration module for the service address they need, and store it in the running configuration inside the service after obtaining it;

[0021] Step 4: The perception microservice running in the perception module automatically collects data and uploads it to the data module; the calculation module obtains data from the data module, performs calculation reasoning, and sends it back to the data module; the control module obtains data from the data module, converts it into a response control command and sends it to the PLC to execute the control command; the data display module obtains data from the data module and visualizes the data;

[0022] Step 5: You can see the operation status of industrial applications through the platform control panel.

[0023] The existing monolithic architecture is not flexible enough. The present invention adopts a microservice-oriented architecture. The microservice architecture is used to disassemble the original monolithic architecture into loosely coupled microservices to collaborate to complete production tasks.

[0024] The current perception, computing, and control are separate architectures that are not integrated together. The present invention uses a microservice architecture to microservice perception, computing, and control and integrate them into a complete set of functions. The original perception, computing, and control functions are encapsulated in a containerized form and provided to the outside in the form of microservices.

[0025] There is a lack of management and control platforms for flexible manufacturing. The present invention develops an intelligent manufacturing management and control platform based on a microservice architecture. Edge computing and microservice technologies are used to manage the functions within the platform.

[0026] The present invention can be used in intelligent manufacturing factories for customized production. The microservice architecture is more flexible than the traditional monolithic production architecture, and can realize production line scheduling following orders, flexible expansion and reduction, and highly flexible flexible manufacturing.

[0027] At the same time, the invention can also be applied to industrial platforms with data collection, data analysis, and data presentation needs. As the base of the industrial platform, since the container mode is not limited to any platform or development language, it can be easily adapted to different applications to achieve flexible data collection and analysis.

[0028] Compared with the prior art, the present invention has the following obvious substantial features and significant advantages:

[0029] 1. The microservices in the present invention are flexible to scale and migrate, and are easy to maintain.

[0030] 2. The perception, calculation and control of the present invention publish services to the outside in the same form, which is convenient for access and scheduling.

[0031] 3. The present invention utilizes the flexible migration and easy maintenance characteristics of microservices and the low latency of edge computing to achieve fast and high-profile production task scheduling and dispatching.

[0032] The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings to fully understand the purpose, characteristics and effects of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a platform hardware structure diagram of a preferred embodiment of the present invention;

[0034] Figure 2 It is a platform software structure diagram of a preferred embodiment of the present invention;

[0035] Figure 3 It is a platform layer structure of a preferred embodiment of the present invention;

[0036] Figure 4 It is a core service layer structure of a preferred embodiment of the present invention;

[0037] Figure 5 It is a business logic layer structure of a preferred embodiment of the present invention;

[0038] Figure 6 It is a data link between platform modules of a preferred embodiment of the present invention;

[0039] Figure 7 It is a photovoltaic data acquisition application data link of a preferred embodiment of the present invention;

[0040] Figure 8 It is an overall structural diagram of a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0041] The following describes several preferred embodiments of the present invention with reference to the drawings in the specification, so that the technical content is clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned in the text.

[0042] In the drawings, components with the same structure are indicated by the same numerical reference numerals, and components with similar structures or functions are indicated by similar numerical reference numerals. The size and thickness of each component shown in the drawings are arbitrarily shown, and the present invention does not limit the size and thickness of each component. In order to make the illustration clearer, the thickness of the components is appropriately exaggerated in some places in the drawings.

[0043] The flexible manufacturing platform based on microservice architecture includes hardware and software parts.

[0044] like Figure 1As shown in the figure, the hardware part can be divided into three parts: cloud layer, production control layer, and field equipment layer. Among them, the cloud layer can use public clouds such as Alibaba Cloud and Huawei Cloud, or you can use your own private cloud server. The cloud layer is mainly used for remote access to the visual interface, service image warehouse, and platform comprehensive management and control. The production control layer is an edge server cluster, which can also be called edge control nodes. They are deployed in different locations on site to provide timely communication guarantees and edge computing resources. They are the main nodes for the operation of microservices. The field equipment layer is a variety of field equipment, such as PLC, industrial cameras, cameras and other different industrial equipment. They access the edge control node through wired or wireless access, and process the data obtained from these field devices through corresponding microservices.

[0045] like Figure 2 As shown, the software part is divided into four parts: platform layer, core service layer, business logic layer, and device layer.

[0046] like Figure 3 As shown in the figure, the platform layer is the control and scheduling interface of this flexible manufacturing platform, which includes two parts: the platform control panel and the service management tool. The platform control panel is responsible for monitoring the operation of the entire platform, creating, closing, and viewing industrial applications, and managing the services running on the platform using the service scheduling management tool. The service management tool is a control tool for all services on the platform, implemented using Kubernetes, and is responsible for service lifecycle management, service control command execution, and other functions.

[0047] like Figure 4 As shown in the figure, the core service layer is the basic service required for the platform to run, including the registration module, data module, monitoring module and scheduling module. The registration module is the registry of services, including services running inside Kubernetes and services outside Kubernetes, providing service discovery functions. The data module is the database of all data running on the platform, including high-performance database and persistent database. The high-performance database is used to process the intermediate data generated by the platform and use memory to achieve convenient access. The persistent database is used to store data that is finally processed and needs to be stored for a long time, including the final output data of the application, device logs, etc. The monitoring module is a module that monitors the operation status of the platform. Through the cluster monitoring service, the operation status and traffic of all services in the platform are monitored. The scheduling module includes the service scheduling engine and the application orchestration engine. The service scheduling engine schedules and manages the running location, running time or life cycle of the service, and can realize the functions of service deployment and service migration. The application orchestration engine can orchestrate multiple existing services into an industrial application. Users can start all services with one click by running the industrial application.

[0048] like Figure 5As shown in the figure, the business logic layer includes perception module, computing module, control module and other modules. The modules run different microservices according to the different functions required by the platform. This is also the core part of the integration of perception, computing and control. The perception module is responsible for collecting and converting data uploaded using different protocols, including MQTT, OPC UA, HTTP and other protocols, and uploading it to the high-performance database of the platform for subsequent analysis and processing. The computing module is the core module for data processing and analysis, including the rule engine and various deep learning, machine learning and other algorithms. The computing module obtains the uploaded device data from the high-performance database, and outputs the results back to the high-performance database after algorithm analysis or rule engine processing. The control module is used to execute control commands according to different equipment conditions. The soft PLC is used as the controller. The soft PLC runs directly as a container on the edge server, so that the original hard PLC that is not easy to migrate and schedule can be turned into a soft PLC that is easy to modify and schedule. After receiving the control command, the control service will send the command to the PLC, and the PLC will execute the specific control command. Other modules include gateway services, data display services, etc., which are modules used as platform auxiliary functions.

[0049] The device layer corresponds to the field device layer of the hardware part and is responsible for data uploading and control command execution.

[0050] Figure 8 It is the overall structural diagram corresponding to the platform developed by the present invention.

[0051] If a new industrial application is to run on the platform, the following steps are required:

[0052] 1. Start the platform and all services in the core service layer, including registration module, data module, detection module, and scheduling module.

[0053] 2. Run all the services of the industrial application. The scheduling module will automatically determine the location of the service deployment. After deployment, it will automatically register the service with the registration module. Other applications can query the address of the service through the registration module.

[0054] 3. Different services query the registration module for the service address they need, and after obtaining it, it will be stored in the running configuration inside the service.

[0055] 4. The perception microservice running in the perception module will automatically collect data and upload it to the data module; the computing module obtains data from the data module, performs computational reasoning, and sends the data back to the data module; the control module obtains data from the data module, converts it into responsive control commands, and sends them to the PLC to execute control instructions; the data display module obtains data from the data module and visualizes the data.

[0056] 5. The operation status of the industrial application can be viewed through the platform control panel. After the application is running, the data link between the platform services is as follows: Figure 6 shown.

[0057] The present invention is combined with a photovoltaic fault diagnosis application, and the specific operation process is as follows:

[0058] The business logic layer services used in the photovoltaic fault diagnosis application include photovoltaic data acquisition module, MQTTBroker, MQTT-Redis middleware, data visualization and neural network reasoning module.

[0059] MQTT is a lightweight message transmission protocol designed for communication between Internet of Things (IoT) devices. Due to its lightweight nature, MQTT is well suited for use in network environments with limited bandwidth and device resources. MQTT is based on the publish / subscribe model, allowing asynchronous communication between devices. MQTT Broker is the server in the MQTT protocol, responsible for receiving messages from publishers and forwarding them to all subscribers who have subscribed to the corresponding topic.

[0060] Redis is an open source, high-performance, network-supported, memory-based and persistent key-value pair storage system. It is usually used as a database, cache and message middleware. In the present invention, Redis is used as a high-performance database for the data module.

[0061] The basic process is that the data acquisition module collects voltage and current data from the photovoltaic panel and sends it to the MQTT broker through the MQTT protocol. The MQTT-Redis middleware is responsible for subscribing to the photovoltaic voltage and current data sent to the MQTT broker and forwarding it to the Redis database. The neural network reasoning module uses event triggering. Once the latest photovoltaic data is read in the database, it will use this data to perform a reasoning and store the reasoning results and timestamp in the persistent database MySQL. The data display module uses Grafana to read data from MySQL and present the reasoning results in real time in the visual interface. Figure 7 Shows the data link for this application.

[0062] To deploy the application, you need to go through the following steps:

[0063] 1. Deploy the registration module in the core service layer and use Consul as the registry. Consul is an open source service discovery, configuration, and segmentation tool. It is mainly used to implement service governance, help services communicate with each other, and ensure the stability and availability of the system.

[0064] 2. Deploy the data module in the core service layer, using Redis as the high-performance database and MySQL as the persistent database.

[0065] 3. Deploy monitoring and scheduling modules, using the monitoring and scheduling modules that come with Kubernetes.

[0066] 4. Deploy the photovoltaic data acquisition service, MQTT Broker, MQTT-Redis middleware service, neural network reasoning service, and data display service at the business logic layer and register these services in the registration module.

[0067] 5. Start the application, start the collection service and run it.

[0068] The preferred specific embodiments of the present invention are described in detail above. It should be understood that ordinary technicians in the field can make many modifications and changes based on the concept of the present invention without creative work. Therefore, all technical solutions that can be obtained by technicians in the technical field based on the concept of the present invention through logical analysis, reasoning or limited experiments on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A flexible manufacturing platform based on microservice architecture, characterized in that: Adopt a microservices-oriented architecture.

2. The flexible manufacturing platform based on microservice architecture as claimed in claim 1, characterized in that: The perception module, computing module and control module are all encapsulated in a containerized form and provide services to the outside world in the form of microservices.

3. The flexible manufacturing platform based on microservice architecture as claimed in claim 1, characterized in that: Including hardware and software parts.

4. The flexible manufacturing platform based on microservice architecture as claimed in claim 3, characterized in that: The hardware part includes a cloud layer, a production control layer and a field device layer.

5. The flexible manufacturing platform based on microservice architecture as claimed in claim 4, characterized in that: The production control layer is an edge server cluster, which is deployed in different locations on site to provide timely communication guarantees and edge computing resources. It is the node for microservice operation.

6. The flexible manufacturing platform based on microservice architecture as claimed in claim 3, characterized in that: The software part includes a platform layer, a core service layer, a business logic layer and a device layer.

7. The flexible manufacturing platform based on microservice architecture as claimed in claim 6, characterized in that: The platform layer includes a platform control panel and service management tools.

8. The flexible manufacturing platform based on microservice architecture as claimed in claim 6, characterized in that: The core service layer provides basic services for platform operation, including registration module, data module, monitoring module and scheduling module.

9. The flexible manufacturing platform based on microservice architecture as claimed in claim 6, characterized in that: The business logic layer includes a perception module, a computing module, and a control module, which run different microservices according to the different functions required by the platform.

10. The flexible manufacturing platform based on microservice architecture according to claim 1, characterized in that: The operation of industrial applications on the platform includes the following steps: Step 1: Start the platform and all services of the core service layer, including registration module, data module, detection module, and scheduling module; Step 2: Run all services of the industrial application. The scheduling module determines the location of the service deployment. After deployment, the service is registered with the registration module. The service address can be queried through the registration module. Step 3: Different services query the registration module for the service address they need, and store it in the running configuration inside the service after obtaining it; Step 4: The perception microservice running in the perception module automatically collects data and uploads it to the data module; the calculation module obtains data from the data module, performs calculation reasoning, and sends it back to the data module; the control module obtains data from the data module, converts it into a response control command and sends it to the PLC to execute the control command; the data display module obtains data from the data module and visualizes the data; Step 5: You can see the operation status of industrial applications through the platform control panel.