A home automation production control system and method

Through the home automation production control system, the problems of poor transmission of customized order information and quality inspection are solved, the efficient execution of production tasks and product quality improvement are achieved, the stable operation of the production line is ensured, and production efficiency and corporate competitiveness are improved.

CN118311935BActive Publication Date: 2024-09-03GUANGZHOU SANTUO METAL PROCESSING MACHINERY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410745537.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-03
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

In home automation production control, the information transmission of customized orders is not smooth, the task schedule is difficult to adjust in real time, and there are problems with quality inspection, which limits the improvement of production efficiency and product quality.

Method used

Adopt a home automation production control system, including order management module, production task management module, image data processing and defect detection module, data analysis and production optimization module, and monitoring and alarm module. Task scheduling is carried out through optimization algorithms, using image data processing and Deep learning models are used for defect detection, big data analysis and machine learning are used to build production optimization models, and equipment status and production progress are monitored in real time through graphical interfaces.

Benefits of technology

It realizes the instant conversion of order data into accurate and efficient execution of production tasks, improves product quality, ensures the stable operation of the production line by continuously optimizing the production process, detects and handles abnormal situations in a timely manner, and improves production efficiency and product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118311935B
    Figure CN118311935B
Patent Text Reader

Abstract

The present invention relates to the technical field of production line control, and discloses a home automation production control system and method, the method comprising the following steps: receiving an order for home products, obtaining order data through the order, converting the order data into a production task, and then using an optimization algorithm to schedule the task; the production task includes a number of processing tasks and assembly tasks, generating G codes through the processing tasks, and controlling the machine tools used in the production line to perform the processing tasks through the G codes, generating motion instructions through the assembly tasks, and planning the trajectory of robot grabbing, handling and assembly in the production line. The present invention converts the order data into production tasks in real time and schedules them through an optimization algorithm, ensuring the accurate and efficient execution of the production tasks, and uses image data processing and deep learning models for defect detection, and establishes data analysis and production optimization models to achieve continuous optimization of the production process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of production line control, and more specifically, to a home automation production control system and method. Background Art

[0002] The automated production and control process of household products requires a lot of manpower and material resources to achieve management and optimization.

[0003] In the existing system, if a customized home furnishing order is received, the production line needs to adjust and optimize the existing process flow in a timely manner in terms of process flow design. In addition, different quality control standards need to be established in terms of quality inspection and verification, and appropriate technical means and equipment need to be invested to ensure that the quality of customized products meets customer expectations.

[0004] Moreover, customized home orders will have problems such as poor order information transmission, difficulty in real-time adjustment of task scheduling, and quality inspection, which will limit the improvement of production efficiency and product quality. Summary of the invention

[0005] The present invention provides a home automation production control system and method, which solves the technical problem in the related art that receiving customized home orders will cause the production line to have problems such as poor order information transmission, difficulty in real-time adjustment of task scheduling, and quality inspection, which limits the improvement of production efficiency and product quality.

[0006] The present invention provides a home automation production control method, comprising the following steps:

[0007] S100: receiving orders for household products, obtaining order data through the orders, converting the order data into production tasks, and then using an optimization algorithm to schedule the tasks;

[0008] S200: The production task includes several processing tasks and assembly tasks. G codes are generated through the processing tasks, and the machine tools used in the production line are controlled by the G codes to perform the processing tasks. Motion instructions are generated through the assembly tasks, and the trajectories of robot grabbing, handling and assembly in the production line are planned;

[0009] S300: Use image acquisition equipment to collect images and point cloud data of furniture produced on the production line, process the images and point cloud data through Gaussian filtering and geometric correction preprocessing methods, and use deep learning models for defect detection;

[0010] S400: Collects and stores data generated during the production process of the production line, including processing parameters, assembly information, and quality inspection results, and uses big data analysis and machine learning technology to analyze the data and establish a production optimization model;

[0011] S500: Provides operation control, status monitoring and alarm prompts through a graphical interface, monitors the working status and production progress of equipment in the production line in real time, and detects and alarms abnormal situations.

[0012] A home automation production control system, comprising:

[0013] Order management module: receives orders and converts them into production tasks, and schedules tasks through optimization algorithms;

[0014] Production task management module: Generates G codes for processing tasks and assembly tasks, controls machine tools to perform processing tasks, and plans robot assembly trajectories;

[0015] Image data processing and defect detection module: collects image and point cloud data, and performs defect detection through processing and deep learning models;

[0016] Data analysis and production optimization module: collects and stores production data, and uses big data analysis and machine learning to establish a production optimization model;

[0017] Monitoring and alarm module: monitor the equipment working status and production progress in real time through a graphical interface, detect and alarm abnormal situations.

[0018] A storage medium stores non-transitory computer-readable instructions for executing one or more steps in the above-mentioned home automation production control method.

[0019] The beneficial effects of the present invention are:

[0020] The present invention can realize the instant conversion of order data into production tasks and ensure the accurate and efficient execution of production tasks through the introduction of an automated control system and scheduling through an optimized algorithm;

[0021] At the same time, image data processing and deep learning models are used to detect defects and improve product quality; through data analysis and production optimization model establishment, continuous optimization of the production process is achieved;

[0022] The monitoring and alarm system can ensure stable operation of the production line and detect and handle abnormal situations in a timely manner.

[0023] Overall, home automation production control systems will improve production efficiency, product quality and production line management level, and enhance corporate competitiveness and market performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a flow chart of a home automation production control method proposed by the present invention;

[0025] Figure 2 It is a structural block diagram of a home automation production control system proposed by the present invention.

[0026] In the figure: 101, order management module; 102, production task management module; 103, image data processing and defect detection module; 104, data analysis and production optimization module; 105, monitoring and alarm module. DETAILED DESCRIPTION

[0027] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and the functions and arrangements of the elements discussed may be changed without departing from the scope of protection of the contents of this specification. Each example may omit, replace or add various processes or components as needed. In addition, the features described relative to some examples may also be combined in other examples.

[0028] like Figure 1-Figure 2 As shown, a home automation production control method comprises the following steps:

[0029] S100: receiving orders for household products, obtaining order data through the orders, converting the order data into production tasks, and then using an optimization algorithm to schedule the tasks;

[0030] In step S100, the specific steps of placing an order for a home product are as follows:

[0031] The order system receives customer orders, including specifications, quantity, material, color, special requirements, etc. of home products;

[0032] The order information in the customer order includes customer ID, home product ID, quantity, delivery time and special requirements;

[0033] The order system is integrated with the customer order receiving end to obtain order data in real time in JSON or XML format.

[0034] Task generation: The order system converts orders into specific production tasks, including the following:

[0035] Decompose the order into multiple processing and assembly tasks, and schedule the tasks according to the current status and resource conditions of the production line using optimization algorithms (such as genetic algorithms and simulated annealing);

[0036] Specifically, the order is decomposed into multiple processing tasks and assembly tasks, and the home furnishing products in the order are decomposed into various processing steps and assembly steps according to the specifications and manufacturing processes of the home furnishing products;

[0037] The order contains home products , its specifications are , each home product Contains several processing steps ;

[0038] Home Products Breakdown into individual processing steps , generate a set of processing tasks .

[0039] Then, according to the current status and resource situation of the production line, task scheduling is carried out, and optimization algorithms (such as genetic algorithms and simulated annealing) are used to schedule tasks to maximize production efficiency and resource utilization;

[0040] The steps of simulated annealing are as follows:

[0041] Initial solution: Choose a random task scheduling scheme;

[0042] Temperature parameters: Set the initial temperature , cooling rate ;

[0043] Neighborhood solution: Randomly exchange the order of the two tasks based on the current solution;

[0044] Acceptance probability: Calculate the probability of accepting a new solution ;

[0045] Cooling: Update temperature ;

[0046] Iteration: Repeat the above steps until the temperature falls below a certain threshold or the maximum number of iterations is reached.

[0047] Among them, task parameters include processing tasks (process, processing time, equipment) and assembly tasks (assembly sequence, tools, materials);

[0048] Task parameters:

[0049] Processing tasks: including process, processing time, equipment and other information;

[0050] Process: such as cutting, drilling, milling, etc.;

[0051] Processing time: the time required for each process ;

[0052] Equipment: designated processing equipment, such as CNC machine tools;

[0053] Assembly tasks: Contains information such as assembly sequence, tools, materials, etc. Specifically:

[0054] Assembly order: such as first part assembly, second part assembly, etc.;

[0055] Tools: such as assembly robots, fixtures, etc.;

[0056] Materials: Required raw materials and parts;

[0057] S200: The production task includes several processing tasks and assembly tasks. G codes are generated through the processing tasks, and the machine tools used in the production line are controlled by the G codes to perform the processing tasks. Motion instructions are generated through the assembly tasks, and the trajectories of robot grabbing, handling and assembly in the production line are planned;

[0058] In one embodiment of the present invention, in step S200, the task execution includes a processing task and an assembly task:

[0059] In the processing task, the CNC program generates G code to control the machine tool to perform the processing task. The format of the processing task includes the processing path, tool parameters, processing materials and processing time;

[0060] In the assembly task, the assembly task is converted into motion instructions that the robot can execute. The format of the motion instructions includes the trajectory of grasping, handling and assembly; specifically:

[0061] 1. Processing tasks:

[0062] In the processing task, CNC programming is to convert the designed part drawings into executable instruction sequences on the machine tool. These instructions are used to control the motion trajectory of the machine tool and the cutting action of the tool to realize the processing of the workpiece.

[0063] The following are specific things to consider when writing CNC programs:

[0064] Processing path planning: Determine the processing path according to the design requirements and shape of the parts;

[0065] Usually the machining path includes operations such as contour machining, hole machining, and slotting;

[0066] When writing CNC programs and generating G codes, it is necessary to clearly define the path and sequence of each processing operation to ensure that the processing can be completed according to the design requirements;

[0067] Tool parameter selection: select the appropriate tool according to the hardness, shape and processing requirements of the processing material;

[0068] The selection of cutting tools includes parameters such as tool type, tool tip radius, number of cutting edges, etc., to ensure that the tool can effectively cut the workpiece and ensure processing quality and efficiency;

[0069] Processing material considerations: Different processing materials have different effects on the cutting process, such as hardness, toughness, heat treatment characteristics, etc.

[0070] When writing CNC programs, the generated G code also needs to take into account the characteristics of the processing material and adjust the cutting speed, feed rate and cutting depth to ensure cutting quality and tool life;

[0071] Processing time estimation: Estimate the time required for a processing task based on factors such as processing depth, speed, and feed rate;

[0072] Accurate processing time estimation helps to arrange production plans and resource allocation in advance to ensure production progress.

[0073] 2. Assembly tasks:

[0074] Determine assembly tasks and workflow: It is necessary to clarify the specific assembly tasks and the entire workflow, including the parts to be assembled, assembly sequence, connection methods, etc.

[0075] Determine the actions and trajectories that the robot needs to perform during the assembly process based on the specific assembly task and the entire workflow;

[0076] Robot grasping, handling and assembly trajectory planning: According to the requirements of the assembly task, the robot's grasping, handling and assembly trajectory is planned. These trajectories need to take into account factors such as the position, shape, and weight of the parts to ensure that the robot can accurately and stably perform grasping, handling and assembly operations;

[0077] Robot programming: Convert the determined grasping, handling and assembly trajectories into motion instructions that can be executed by the robot. It is necessary to write corresponding programs in the robot control software to define the robot's movements and paths. The programs usually include controlling the robot's joint movements, the position and posture control of the end effector, etc.

[0078] Debugging and testing: After writing the robot program, the program needs to be debugged and tested to ensure that the robot can accurately perform the assembly task according to the predetermined trajectory. During the debugging process, the program may need to be fine-tuned and optimized to meet the requirements of the assembly task.

[0079] S300: Use image acquisition equipment to collect images and point cloud data of furniture produced on the production line, process the images and point cloud data through Gaussian filtering and geometric correction preprocessing methods, and use deep learning models for defect detection;

[0080] In one embodiment of the present invention, step S300 specifically includes the following contents:

[0081] S310: data collection, specifically including image data collection and point cloud data collection;

[0082] Image data acquisition

[0083] Collection equipment: High-definition cameras are installed on the production line;

[0084] Methods: During the production process of home furnishing products, each completed component is photographed to obtain high-resolution image data;

[0085] Point cloud data collection

[0086] Collection equipment: Laser scanners are installed on the production line;

[0087] Method: A laser scanner scans each household product in all directions to generate three-dimensional point cloud data containing the surface shape of the product;

[0088] S320: data preprocessing, specifically including image preprocessing and point cloud preprocessing;

[0089] Image preprocessing

[0090] Gaussian filtering: used to smooth images and reduce noise. The Gaussian filter replaces the value of each pixel with the weighted average of its neighboring pixels.

[0091] Gaussian filter formula:

[0092] ;

[0093] in, is a Gaussian function, and are pixel coordinates, is the standard deviation;

[0094] Geometric correction: used to correct the geometric deformation of the captured image, including distortion correction and perspective correction;

[0095] Distortion correction formula:

[0096] ;

[0097] ;

[0098] in, and are the corrected coordinates, and are the original coordinates, is the radial distance, , , is the distortion parameter;

[0099] Point cloud preprocessing

[0100] Noise reduction: Use filtering algorithms such as smoothing filtering and statistical filtering to remove isolated noise points in point cloud data;

[0101] Alignment and registration: Use the ICP (Iterative Closest Point) algorithm to align the point cloud data to the reference coordinate system;

[0102] S330: Perform defect detection on household products, specifically including the following steps:

[0103] S331: Data collection: Collect images and point cloud data including normal products and defective products;

[0104] S332: Data preprocessing: preprocess the collected data, including denoising, cropping, and standardization;

[0105] S333: Feature extraction: For image data, use convolutional neural network (CNN) to extract image features; for point cloud data, use point cloud processing network (Point Net) model to extract point cloud features;

[0106] S334: Defect detection model training: The extracted features are input into the deep learning model for training. The CNN-Point Net model is a comprehensive model combining CNN and Point Net. The model is trained to learn normal and defect types.

[0107] S335: Detection output: Use the trained comprehensive model to perform defect detection on new home product data. The comprehensive model will automatically identify and mark parts that may have defects.

[0108] The comprehensive model specifically includes the following:

[0109] Convolutional Neural Networks (CNN):

[0110] ;

[0111] in, represents the connection weight between the i-th neuron and the j-th input neuron, is the output of the jth input neuron, is the bias term, is the activation function (such as ReLU).

[0112] Point Cloud Processing Network (Point Net):

[0113]

[0114] in, represents the i-th point in the point cloud, It is a mapping function of an MLP (multi-layer perceptron) structure. It is a function that summarizes the entire local point cloud.

[0115] Comprehensive model: According to the specific model structure, the structure of CNN and Point Net is combined. Specifically, in the task of processing the recognition of three-dimensional objects, Point Net can be used to extract point cloud features first, and then the extracted features can be mapped to a two-dimensional image. CNN is used to extract the features of the two-dimensional image, and finally the two sets of features are combined for classification tasks;

[0116] Generative Adversarial Networks (GANs):

[0117] The generator network is usually represented by a deep neural network, denoted as ,in are the parameters of the generator, and the expression of the generator network is:

[0118]

[0119] in, is the data sample generated by the generator.

[0120] The goal of the discriminator is to distinguish real data samples And the fake data samples generated by the generator The discriminator network is also a deep neural network, denoted by ,in is the parameter of the discriminator. The output of the discriminator network is a probability value, which indicates the probability that the input data is the real data. The mathematical expression of the discriminator is:

[0121] ;

[0122] in, The output is a probability value (usually obtained through the sigmoid function);

[0123] The training process of the generative adversarial network is achieved through adversarial learning between the generator and the discriminator. Its optimization goal is to make the generator generate realistic data samples so that the discriminator cannot distinguish between real data and generated data.

[0124] The specific optimization goal can be expressed as minimizing the loss function of the generator and maximizing the discriminator, that is:

[0125]

[0126] in, To optimize the objective, the loss function is the cross entropy loss function of the generator and the discriminator, etc.

[0127] Generator and the discriminator Alternate training, where the generator tries to generate realistic data to fool the discriminator, and the discriminator tries to distinguish between real data and generated data;

[0128] Generator The parameters are recorded as , discriminator The parameters are recorded as , the goal is to find the optimal and , so that the generator The generated data cannot be used by the discriminator Effective distinction.

[0129] S400: Collects and stores data generated during the production process of the production line, including processing parameters, assembly information, and quality inspection results, and uses big data analysis and machine learning technology to analyze the data and establish a production optimization model;

[0130] In one embodiment of the present invention, in step S400, the specific implementation steps are as follows:

[0131] S410: Data collection and storage: Deploy sensors and monitoring equipment on the production line to collect data generated in real time at each stage, such as processing parameters (such as temperature, pressure, speed), assembly information (such as parts splicing information) and quality inspection results (such as product size, appearance defect inspection results), and transmit the above data to the central data storage system (which may be the cloud or local server) through the network to ensure timely and secure data storage;

[0132] S420: Data analysis and preprocessing: After data is stored, the data is preprocessed, including data cleaning, removal of outliers, standardization and other operations to ensure data quality and availability. Then, big data analysis technology is used to analyze and mine the data to discover the associations and patterns between the data and explore potential production optimization solutions and problems.

[0133] S430: Machine learning model establishment: Based on the results of data analysis, appropriate machine learning models can be selected, such as supervised learning (such as classification, regression), unsupervised learning (such as clustering), reinforcement learning, etc. By using these machine learning models, a production optimization model is established to predict the next production line capacity, quality, etc., and adjust production parameters in real time to optimize production efficiency;

[0134] S440: Implement production optimization: Through the recommended solutions and decisions provided by the production optimization model, production managers can adjust the settings and parameters of the production line according to the specific situation to achieve production optimization goals. For example, when anomalies are found in real-time quality inspection, the measures recommended by the model can be used to solve the problem, improve product quality and reduce scrap rate.

[0135] The production optimization model adopts a linear regression model for parameter tuning and production efficiency optimization during the production process.

[0136] The expression of the production optimization model is:

[0137] ;

[0138] In the production optimization model, input features: Indicates various parameters collected during the production process, such as processing speed, temperature, quality inspection results, etc.;

[0139] Weight parameters: It is the parameter that the model needs to learn, which indicates the importance and influence of different features in the production process;

[0140] Bias term: Represents the deviation of the model, which is used to balance the deviation between the model output and the true value.

[0141] S500: Provides operation control, status monitoring and alarm prompts through a graphical interface, monitors the working status and production progress of equipment in the production line in real time, and detects and alarms abnormal situations.

[0142] In one embodiment of the present invention, in step S500, the specific implementation steps are as follows:

[0143] Equipment connection: Ensure that the equipment in the production line can be connected to the monitoring system. The equipment may be connected to the monitoring system through various communication methods (such as Ethernet, Modbus, Profinet, etc.) to achieve data exchange and communication.

[0144] Graphical interface design: Design the graphical interface of the human-machine interface (HMI) system so that it can intuitively display the working status, production progress and other important parameters of the equipment in the production line;

[0145] The interface needs to include the required operation control buttons, real-time status display area, alarm prompt display area, etc.

[0146] Operation control: Operation control functions are provided through a graphical interface. Operators can control the equipment through buttons, sliders and other elements on the interface, such as starting and stopping equipment, adjusting production parameters, setting production modes, etc.

[0147] Status monitoring: Display the real-time status information of the equipment on a graphical interface, including the equipment's operating status, production progress, various parameter values, etc.;

[0148] Through the real-time monitoring interface, operators can understand the current working status of the equipment and discover possible problems or abnormal situations.

[0149] Alarm prompt: Based on the monitoring and analysis of equipment data, when the system detects an abnormal situation, it will issue an alarm prompt through a graphical interface to alert the operator. The alarm can be in the form of sound, pop-up window, flashing, etc., to help operators respond and handle abnormal problems in a timely manner.

[0150] Real-time monitoring and remote access: The monitoring system generally provides real-time monitoring functions, and operators can check the equipment status and production status on the production line at any time. At the same time, some systems support remote access functions, which can remotely monitor the production line through the Internet and deal with abnormal situations in a timely manner.

[0151] According to the above control method, the operation is performed through the following home automation production control system, which includes:

[0152] Order management module 101: receiving orders and converting them into production tasks, and scheduling tasks through optimization algorithms;

[0153] Production task management module 102: generates G codes for processing tasks and assembly tasks, controls machine tools to perform processing tasks, and plans robot assembly trajectories;

[0154] Image data processing and defect detection module 103: collects image and point cloud data, and performs defect detection through processing and deep learning models;

[0155] Data analysis and production optimization module 104: collects and stores production data, and uses big data analysis and machine learning to establish a production optimization model;

[0156] Monitoring and alarm module 105: monitors the equipment working status and production progress in real time through a graphical interface, and detects and alarms abnormal situations.

[0157] At least one embodiment of the present disclosure provides a storage medium storing non-transitory computer-readable instructions for executing one or more steps in the aforementioned home automation production control method.

[0158] The computer program may be stored / distributed on suitable media, such as optical storage media or solid-state media supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems.

[0159] The above describes an embodiment of the present embodiment, but the present embodiment is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present embodiment, ordinary technicians in this field can also make many forms, all of which are within the protection of the present embodiment.

Claims

1. A home automation production control method, It is characterized in that The following steps are involved: S100: receiving orders for household products, obtaining order data through the orders, converting the order data into production tasks, and then using an optimization algorithm to schedule the tasks; S200: The production task includes several processing tasks and assembly tasks. G codes are generated through the processing tasks, and the machine tools used in the production line are controlled by the G codes to perform the processing tasks. Motion instructions are generated through the assembly tasks, and the trajectories for robot grasping, handling and assembly in the production line are planned; S300: Use image acquisition equipment to collect images and point cloud data of furniture produced on the production line, process the images and point cloud data through Gaussian filtering and geometric correction preprocessing methods, and use deep learning models for defect detection; The image preprocessing method includes Gaussian filtering and geometric correction; Gaussian filtering: used to smooth images and reduce noise. The Gaussian filter replaces the value of each pixel with the weighted average of its neighboring pixels. Gaussian filter formula: Where G(x, y) is a Gaussian function, x and y are pixel coordinates, and σ is the standard deviation; Geometric correction: used to correct the geometric deformation of the captured image, including distortion correction and perspective correction; The point cloud preprocessing methods include noise reduction and alignment and registration; Denoising: Use filtering algorithms to remove isolated noise points in point cloud data; Alignment and registration: Use the ICP algorithm to align the point cloud data to the reference coordinate system; Defect detection of household products includes the following steps: S331: Data collection: Collect images and point cloud data including normal products and defective products; S332: Data preprocessing: preprocess the collected data, including denoising, cropping, and standardization; S333: Feature extraction: For image data, use the CNN model to extract image features; for point cloud data, use the Point Net model to extract point cloud features; S334: Defect detection model training: The extracted features are input into the comprehensive model for training. The comprehensive model adopts the CNN-Point Net model, which is a comprehensive model combining the CNN model and the Point Net model. The model is trained to learn the normal and defect types; S335: Detection output: Use the trained comprehensive model to perform defect detection on new home product data, and the comprehensive model automatically identifies and marks the defective parts of the home product; In step S334, the comprehensive model includes the following contents: CNN Model: hi=σ(∑ j W ij *x j +b i ); Among them, W ij represents the connection weight between the i-th neuron and the j-th input neuron, x j is the output of the jth input neuron, b i is the bias term, σ is the activation function; Point Net Model: f PointNet (x 1 ,x 2 ,...,x n )=g(h(x 1 )+h(x 2 )+...+h(x n )); Among them, x i represents the i-th point in the point cloud, h is a mapping function of a multi-layer perceptron structure, and g is a function that summarizes the entire local point cloud; Comprehensive model: According to the specific model structure, the CNN model and the Point Net model structure are combined, and the characteristics of the two groups of models are combined to perform classification tasks; Generative Adversarial Networks: The generator network is represented by a deep neural network, denoted as G(z, θ G ), where θ G are the parameters of the generator, and the expression of the generator network is: x=G(z,θ G ); Among them, x is the data sample generated by the generator; The goal of the discriminator is to distinguish between real data samples x and fake data samples G(z, θ) generated by the generator. G ), the discriminator network is also a deep neural network, denoted as D(x, θ D ), where θ D is the parameter of the discriminator. The output of the discriminator network is a probability value, which indicates the probability that the input data is the real data. The expression of the discriminator is: y=D(x,θ D ); Among them, y output is a probability value; The training process of the generative adversarial network is through adversarial learning between the generator and the discriminator. Its optimization goal is to make the generator generate realistic data samples, and the discriminator cannot distinguish between real data and generated data. The optimization objective is expressed as minimizing the loss function of the generator and maximizing the loss function of the discriminator: minθ G max θ D L(θ G ,the D ); Among them, the loss function L(θ G ,θ D ) is the cross entropy loss function of the generator and the discriminator; S400: Collects and stores data generated during the production process of the production line, including processing parameters, assembly information, and quality inspection results, and uses big data analysis and machine learning technology to analyze the data and establish a production optimization model; S500: Provides operation control, status monitoring and alarm prompts through a graphical interface, monitors the working status and production progress of equipment in the production line in real time, and detects and alarms abnormal situations.

2. A home automation production control method according to claim 1, It is characterized in that In step S100, the content of converting the order data into production tasks is as follows: decomposing the order data into a number of processing tasks and assembly tasks, and decomposing the home furnishing products in the order into a number of processing steps and assembly steps according to the specifications and manufacturing processes of the home furnishing products; The order contains home product P, and the specifications of home product P are Home Products i Contains several processing steps Decompose the household product P into several processing steps T ij , generate a processing task set T = {T ij }; Then, according to the status of the production line and resource usage, an optimization algorithm is used to schedule tasks.

3. A home automation production control method according to claim 1, It is characterized in that In step S100, the steps of the optimization algorithm are as follows: Initial solution: Choose a random task scheduling scheme; Temperature parameter: Set the initial temperature T 0 =100, cooling rate α=0.95; Neighborhood solution: Randomly swap the order of the two tasks; Acceptance probability: Calculate the probability of accepting a new solution Cooling: Update temperature T←0.95×T; Iteration: Repeat the above steps until the temperature is below a certain threshold or the maximum number of iterations is reached.

4. A home automation production control method according to claim 1, It is characterized in that In step S200, in a processing task, a G code is generated by a CNC program to control a machine tool to perform the processing task, and the format of the processing task includes a processing path, tool parameters, processing materials and processing time; In the assembly task, the assembly task is converted into motion instructions that the robot can execute. The format of the motion instructions includes the trajectory of grasping, handling and assembly.

5. A home automation production control method according to claim 1, It is characterized in that In step S400, the steps included are as follows: S410: Data collection and storage: Deploy sensors and monitoring equipment on the production line to collect data generated by the production line in real time, including processing parameters, assembly information and quality inspection results, and transmit the above data to the storage device through the network; S420: Data analysis and preprocessing: After data is stored, the data is preprocessed, including data cleaning, outlier removal, standardization, and data analysis and mining using big data analysis technology; S430: Machine learning model establishment: Based on the results of data analysis, an unsupervised learning model is used as a production optimization model to predict the production line capacity and quality; S440: Implement production optimization: Adjust the settings and parameters of the production line for production optimization goals through the recommendations and decisions provided by the production optimization model.

6. A home automation production control system, which is controlled by the home automation production control method according to any one of claims 1 to 5. It is characterized in that include: Order management module (101): receiving orders and converting them into production tasks, and scheduling tasks through optimization algorithms; Production task management module (102): generates G codes for processing tasks and assembly tasks, controls machine tools to perform processing tasks, and plans robot assembly trajectories; Image data processing and defect detection module (103): collects image and point cloud data, and performs defect detection through processing and deep learning model; Data analysis and production optimization module (104): collects and stores production data, and uses big data analysis and machine learning to establish a production optimization model; Monitoring and alarm module (105): monitors the equipment working status and production progress in real time through a graphical interface, and detects and alarms abnormal situations.

7. A storage medium, It is characterized in that Non-transitory computer-readable instructions are stored therein for executing one or more steps in the home automation production control method as described in any one of claims 1-5.