Disclosure of Invention
The invention aims to provide a 3D printing remote monitoring system and a control method based on a cloud platform, so as to overcome the defects of the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
A3D printing remote monitoring system based on a cloud platform is connected to the cloud platform and an upper control machine and comprises a control module, a display control module, a data acquisition module and a data storage module;
the control module is connected with an upper control machine, the upper control machine is used for transmitting the printing control instruction to the control module, and the control module transmits the printing control instruction to the 3D printer execution element;
the data acquisition module comprises a data acquisition module, a sensor module, a wireless transmission module and a video acquisition module, the data acquisition module acquires printing process parameters of the 3D printer through the sensor module, the video acquisition module is used for acquiring printing process videos, the data acquisition module transmits the acquired printing process parameters and the acquired printing process videos back to the cloud platform through the wireless transmission module, and the printing process parameters and the printing process videos are stored in the cloud database and the data storage module;
the display control module is connected with the control module and the data acquisition module and used for displaying the printing control instruction parameters of the control module and displaying the printing process parameters acquired by the data acquisition module.
Further, the control module adopts an ARM series 32F407 control chip.
Further, the sensor module comprises an NTC thermistor, an automatic leveling sensor and a material detection sensor, wherein the NTC thermistor is used for acquiring the temperature of the extruder and the temperature of the hot bed; the automatic leveling sensor adopts a 3D Touch automatic leveling sensor and is used for acquiring the levelness of the printing platform; the material detection module is used for acquiring the amount of printing materials.
Further, the video acquisition module adopts a Hi3156EV100 monitoring system main control chip and a CMOS type SC2235 camera.
Furthermore, the control module and the upper control machine are communicated through a WiFi serial port.
Furthermore, the control module is communicated with an upper controller and exchanges information, printing parameters are set through the upper controller, and a serial port between the control module and the upper controller is used for receiving and sending instructions.
A3D printing control method of a 3D printing remote monitoring system based on a cloud platform comprises the following steps:
the method comprises the steps that a remote monitoring system is in communication pairing with a 3D printer to be used, and after the pairing is successful, parameter setting is conducted on the 3D printer through the remote monitoring system; meanwhile, a database is established in a remote monitoring system; the method comprises the steps that a data model needing to be printed is selected from a database by an upper control machine, data model control parameters are transmitted to a 3D printer to be used for 3D printing through a remote monitoring system, and a printing progress and a printing process video are acquired in real time through a data acquisition module in the printing process and are stored.
Further, the method is characterized in that the control module is specifically used for carrying out communication configuration with the 3D printer, when the environment where the 3D printer is located does not have a wireless router or a network cannot be connected to the wireless router, a hotspot is generated through a wireless transmission module of the 3D printer, and the control module is connected with the 3D printer through the hotspot.
Compared with the prior art, the invention has the following beneficial technical effects:
according to the 3D printing remote monitoring system based on the cloud platform, the 3D printing remote monitoring is realized through the remote monitoring system, so that printing and real-time monitoring on printing are realized through an upper control machine, the printing condition of a 3D printer is monitored in real time through a video transmission system, and the printing parameters are obtained and stored through a sensor technology; the combination of the cloud platform and the 3D printing technology can greatly save manpower and material resources.
The upper control machine is favorable for the user to access and check the printing state and the printing parameters, and the finishing progress of the printed matter is preliminarily judged.
The printing condition of the 3D printer is monitored in real time by the video acquisition module, and the printing parameters are uploaded to the cloud server by the sensor technology, so that the fault is conveniently found and solved.
Detailed Description
The invention is described in further detail below with reference to the accompanying drawings:
as shown in fig. 1, a 3D printing remote monitoring system based on a cloud platform is connected to the cloud platform and an upper controller (i.e., a client), and includes a control module, a display control module, a data acquisition module, and a data storage module;
the control module is connected with an upper control machine, the upper control machine is used for transmitting the printing control instruction to the control module, and the control module transmits the printing control instruction to the 3D printer execution element;
the data acquisition module comprises a data acquisition module, a sensor module, a wireless transmission module and a video acquisition module, the data acquisition module acquires printing process parameters of the 3D printer through the sensor module, the video acquisition module is used for acquiring printing process videos, the data acquisition module transmits the acquired printing process parameters and the acquired printing process videos back to the cloud platform through the wireless transmission module, and the printing process parameters and the printing process videos are stored in the cloud database and the data storage module;
the display control module is connected with the control module and the data acquisition module and used for displaying the printing control instruction parameters of the control module and displaying the printing process parameters acquired by the data acquisition module.
Selecting a control module of the 3D printer, receiving a printing control instruction sent by an upper control machine of the client, and transmitting the printing control instruction to an execution element of the 3D printer; the control module adopts an ARM series 32F407 control chip, so that the power consumption is low, the information processing speed is high, and the requirement on the timeliness of the system can be met.
The sensor module comprises an NTC thermistor, an automatic leveling sensor and a material detection sensor, wherein the NTC thermistor is used for acquiring the temperature of the extruder and the temperature of the hot bed, and has the advantages of high sensitivity, high response speed, compact structure, simple installation, wide temperature range, good stability and high reliability;
the automatic leveling sensor adopts a 3D Touch automatic leveling sensor and is used for acquiring the levelness of the printing platform, and the leveling mode can be tested by self;
the material detection module is used for acquiring the amount of the printed materials, and the material detection module acquires the amount of the printed materials according to the change of high and low levels in a point-evaluating and jump-detecting mode.
The 42 closed-loop stepping motor is adopted by the 3D printer actuator, so that the 3D printer actuator can prevent the printer from losing steps.
The video acquisition module adopts a Hi3156EV100 monitoring system main control chip and a CMOS type SC2235 camera, and the Hi3156EV100 monitoring system main control chip has the advantages of high performance, strong real-time performance, low power consumption, convenience for low-voltage operation and easiness in development. The CMOS type SC2235 camera can automatically focus, the number of pixels reaches 500 thousands, and WiFi transmission is utilized.
The control module is communicated with an upper controller and exchanges information, printing parameters are set through the upper controller, and a serial port between the control module and the upper controller is used for receiving and sending instructions; the control module communicates with the upper control machine by adopting a WiFi serial port, a USB drive file is installed for the configuration of a USB serial port of the control module, port information is adjusted for the USB serial port, starting default setting is carried out, and after the default data setting is finished, the communication mode is changed; the communication mode comprises two modes, namely an AP printing mode and an STA printing mode, wherein the AP printing mode comprises the following steps: when the environment where the 3D printer is located does not have a wireless router or a network cannot be connected to the wireless router, a wireless transmission module connected with the 3D printer generates a hot spot, and the control system is connected with the printer through the hot spot of the 3D printer; STA print mode: after the wireless transmission module is configured, the wireless transmission module is connected to a network, and the printer can become a cloud online printer and can be controlled through the network.
The system main control chip of the data acquisition module adopts a Hi3156EV100 monitoring system main control chip, a CMOS sensor is adopted for video signal processing, and analog signals of images are converted into processable digital signals through a photosensitive diode; the image processing chip processor is controlled by adopting a DSP (digital signal processor), and is connected to a receiving end of a network chip network by using a filter transformer chip and an RJ54 interface; for the client design, the webpage is designed by adopting an HTML language, but the HTML is a static webpage and is combined with js, css and Java, the JDBC bridge connection is adopted for the database, js is used for calling the ip of the camera in the project, and then a screenshot instruction is sent to the camera and is stored in a specified file. Then, the camera is configured, the camera connected to a network is checked, ip and gateway parameters are modified, parameters are set for calling a server, local equipment is searched, online equipment can be displayed, the whole network communication function is opened for being connected with a cloud background, then js calling technology and video resource access supported by a cloud server are utilized, before the access, the picture similarity is verified and compared for safety, collected video information is checked, a user of a client side watches the whole 3D printing process through a webpage to observe whether the printing process is in problem, and the video collecting module can also intercept the picture to automatically judge the similarity between the 3D printed object and the original object. Integrity comparison using SSIM algorithm
UX、UYThe mean values of the pictures X and Y are indicated, σ X and σ Y are indicated as standard deviations of X and Y, and σ X and σ Y are indicated as variances of the images X and Y, respectively. σ X represents the image X and Y covariance. C1, C2 and C3 are constants in order to avoid a denominator of 0 to maintain stability. C1 ═ 2 (K1 ═ L) ^2, C2 ═ 2 (K2 ^ L), C3 ═ C2/2, typically K1 ═ 0.01, K2 ═ 0.03, and L ═ 255 (which is the dynamic range of pixel values, typically 255). The final SSIM index is: SSIM (X, Y) ═ L (X, Y) × C (X, Y) × S (X, Y). The MATLAB program is used for programming programs, because the programs need to be operated on line and MATLAB software cannot be installed on each computer, the MATLAB programs need to be packaged into a webpage toolkit. Calling a Matlab function Math.jar, and testing and calling a packaged object in an image match.jar by using JSP; the complete object can be tested and the complete object can be printed by using the FDM3D printer to be photographed and compared with the original object.
The establishment of the cloud server and the establishment of the client are realized:
firstly establishing an API of the cloud server, setting control parameters of the cloud server, setting ports, safety and communication, installing a necessary database and Java language after the remote access work of the server is finished, transplanting the set database, a webpage client and the like to the cloud server, designing upper computer data receiving and transmitting software through Java programming, connecting the upper computer data receiving and transmitting software to a middle-end router through WiFi, and uploading visual information to a designated server position according to an HTTP protocol, so that the cloud server can be used for data storage, exchange and storage. The 3D printing can be remotely monitored through the cloud platform, the client sets a login password which comprises a navigation menu, and the navigation menu is designed by commonly used nav elements. The Nav element is often used for designing navigation bars, digital options with page turning functions, guidance in the industry and the like, a display menu comprises equipment management, personnel management, system parameters and monitoring, the equipment management comprises an equipment list and equipment running condition records, the personnel management comprises a personnel list, and the system parameters and monitoring comprise printing data and video monitoring.