3D printer based on skeleton line drawing controls optimization system
Technical field
The present invention relates to 3D printing control field, in particular to a kind of 3D printer based on skeleton line drawing controls optimization
System.
Background technique
3D printing is one kind of rapid shaping technique, it is one kind based on digital model file, with powdered gold
Belong to or the adhesive materials such as plastics, constructs the technology of object by layer-by-layer printing.3D printing is usually using number
Technologic material printer is realized.Often be used for modeling in fields such as mold manufacture, industrial designs, after be gradually available for one
The direct manufacture of a little products has had using components made of the printing of this technology.The technology is set in jewelry, footwear, industry
Meter, building, engineering and construction (AEC), automobile, aerospace, dentistry and medical industries, education, GIS-Geographic Information System, building work
Journey, gun and other field are all applied.Normal printer used in daily life can be designed flat with printing calculator
Face article, and so-called 3D printer and normal printer working principle are essentially identical, only printed material is somewhat different, commonly
The printed material of printer is ink and paper, and 3D printer is provided with different " the printing material such as metal, ceramics, plastics, sand
Material ", is raw material true, can be " printed material " from level to level by computer control after printer is connect with computer
It stacks up, the blueprint on computer is finally become in kind.3D printing is more suitable for some small-scale manufactures really, especially high
The customized product at end, such as auto parts and components manufacture.Although main material or plastics.3D printing technique successively enters tooth
Doctor, jewelry, medical industry, the following applicable range can be increasingly wider.11 the end of month in 2014,3D printing technique is by " epoch " week
Periodical is 25 annual best inventions in 2014.For consumer and enterprise, this is a Gospel.Only in the several years in past, middle school
The railway carriage of raw 3D printing for physics lesson experiment, scientists 3D printing human organ's tissue, General Electric are public
Department then improves the efficiency of its ramjet using 3D printing technique.The 3D printer energy printed candy of three dimension system company, the U.S.
With musical instrument etc..On April 19th, 2016, Chongqing Institute of Green and Intelligent Technology, Chinese Academy of Sciences three-dimensional printing technology research center is to foreign promotion
Cloth completes parabola weightless flight by the effort of the institute and Chinese Academy of Sciences's space application center more than 2 years, and in Dogue de Bordeaux
Test, the space-orbit 3D printer declaration of First are succeeded in developing.The printable maximum element size of this 3D printer reaches
200 × 130mm, it can help astronaut to make required part by oneself under weightlessness, greatly improve the spirit of space station experiment
Activity reduces the type and quantity and operation cost of space station standby redundancy, reduces the dependence that space station feeds ground.
On August 31st, 2014, the engineers of NASA have just completed the test of 3D printing rocket injector, and research is to mention
The performance of high some component of rocket engine.Although however 3D printing has obtained greatly using in fields such as aerospaces at present
And exploitation, however commercial 3D printer still suffers from that print speed is slow, the low problem of printing precision.
Summary of the invention
Of the existing technology in order to solve the problems, such as, the present invention provides a kind of 3D printer control based on skeleton line drawing
Optimization system.
A kind of 3D printer control optimization system based on skeleton line drawing, including master control system module, XYZ spindle motor control
Circuit module processed, extruder control circuit module, spray head control circuit module, edge skeleton line extraction algorithm and speed based on cloud
Degree and temperature more new algorithm.
The master control system module, including the personal computer based on Windows operating system, Type-C Interface Controller
Device, Fujitsu's FM4 microcontroller, signal level converter.The personal computer based on Windows operating system leads to
It crosses Type-C connecting line to connect with the Type-C interface controller, the Type-C interface controller and the Fuji
Logical FM4 microcontroller is connected on same printed circuit board by copper wire, and Fujitsu's FM4 microcontroller is in same printing
It is connect by wired mode with the signal level converter on circuit board, the signal level converter passes through wired side
Formula and the XYZ spindle motor control circuit module, the extruder control circuit module and spray head control electricity
The connection of road module.
The XYZ spindle motor control circuit module, including X-axis circuit for controlling motor module, y-axis motor control circuit mould
Block, Z axis circuit for controlling motor module, three spindle motor control circuit modules are mutually indepedent, and structure is identical, passes through respectively
Wired mode is connected with the master control system module;The X-axis circuit for controlling motor module, including X-axis motor control FM0
+ microcontroller, inductance type isolation and buffer, X-axis stepper motor, Hall revolution speed transducer, the X-axis motor control FM0+
Microcontroller, prime are connect by wired mode with the master control system module, and rear class passes through wired mode and the electricity
The isolation of sense formula is connected with buffer, and the inductance type isolation and buffer, rear class pass through wired mode and the X-axis stepping
Motor connection, the Hall revolution speed transducer pass through the wired mode connection X-axis motor control FM0+ microcontroller;
The y-axis motor control circuit module and the Z axis circuit for controlling motor module, structure and the X-axis motor control
Circuit module is identical.
The extruder control circuit module, including extruder motor control FM0+ microcontroller, inductance type isolation and
Buffer, extruder stepper motor, Hall revolution speed transducer, charging switching switch;The extruder motor control FM0+ is micro-
Controller, prime are connect by wired mode with the master control system module, and rear class passes through wired mode and the inductance
Formula isolation is connected with buffer, the inductance type isolation and buffer, and rear class passes through wired mode and the extruder step
It is connected into motor, the Hall revolution speed transducer, passes through the wired mode connection extruder motor control FM0+ micro-control
Device processed.
The spray head control circuit module, including spray head control FM0+ microcontroller, Panowin head module, thermoelectricity
It is even, LED driver group, large power white light LED lamp, industrial camera.The spray head controls FM0+ microcontroller, and prime is by having
Line mode is connect with the master control system module, and rear class is described by wired mode and the Panowin head module
Thermocouple, the LED driver group are connected with the industrial camera, and the thermocouple is affixed on Panowin head module
Nozzle segment, pass through the wired mode connection spray head and control FM0+ microcontroller, the LED driver group, rear class
By the wired mode connection large power white light LED lamp, the industrial camera prime passes through wired side of parallel bus
Formula is connected with the master control system module, controls FM0+ microcontroller by wired mode and the spray head.
The edge skeleton line extraction algorithm is as shown in Figure 7.
The speed based on cloud and temperature more new algorithm are as shown in Figure 8.
The working-flow is as shown in Figure 9.
Detailed description of the invention
Fig. 1 is space structure schematic diagram of the present invention;
Fig. 2 is Control system architecture topological diagram of the present invention;
Fig. 3 is master control system function structure chart of the present invention;
Fig. 4 is XYZ spindle motor control circuit module structure chart of the present invention;
Fig. 5 is extruder control circuit module structure chart of the present invention;
Fig. 6 is spray head control circuit module structure chart of the present invention;
Fig. 7 is skeleton line extraction algorithm in edge of the present invention;
Fig. 8 is the speed of the present invention based on cloud computing and temperature more new algorithm;
Fig. 9 is system operational flow diagram of the present invention.
Specific embodiment
The present invention is illustrated below with reference to embodiment and attached drawing.
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
A kind of 3D printer control optimization system based on skeleton line drawing, including master control system module such as Fig. 2 (100) institute
Show, shown in XYZ spindle motor control circuit module such as Fig. 2 (200), shown in extruder control circuit module such as Fig. 2 (300), spray head
Shown in control circuit module such as Fig. 2 (400), edge skeleton line extraction algorithm speed as shown in Figure 7 and based on cloud and temperature are more
New algorithm is as shown in Figure 8.
The master control system module, as shown in Figure 3 (101) including the personal computer based on Windows operating system,
Shown in Type-C interface controller such as Fig. 3 (102), shown in Fujitsu's FM4 microcontroller such as Fig. 3 (103), signal level converter
As shown in Fig. 3 (104).The personal computer based on Windows operating system, by Type-C connecting line and described
The connection of Type-C interface controller, the Type-C interface controller and Fujitsu's FM4 microcontroller are in same print
It is connected on printed circuit board by copper wire, Fujitsu's FM4 microcontroller passes through wired mode on same printed circuit board
It is connect with the signal level converter, the signal level converter passes through wired mode and the XYZ spindle motor
Control circuit module, the extruder control circuit module and spray head control circuit module connection.When described
It is a kind of based on skeleton line drawing 3D printer control optimization system starting after, described in user's use based on Windows grasp
The personal computer for making system sends a command to Fujitsu's FM4 microcontroller by usb protocol, and in the base
Between the personal computer and Fujitsu's FM4 microcontroller of Windows operating system, Type-C hardware interface is used
No matter connection uses connecting line just slotting or anti-plug, can guarantee the normal communication of system, so that system operatio is simpler
Safety.The signal level conversion is placed between Fujitsu's FM4 microcontroller and the communication connection of other modules
Logical signal from Fujitsu's FM4 microcontroller sending is converted into the signal of other any level, avoided by device
Between disparate modules because signal level mismatch caused by communication failure phenomenon, increase the stabilization and safety of system
Energy.
The XYZ spindle motor control circuit module, including X-axis circuit for controlling motor module is as shown in Figure 4 (221), Y-axis
As shown in Figure 4 (222), Z axis circuit for controlling motor module is (223) as shown in Figure 4, three axis for circuit for controlling motor module
Circuit for controlling motor module is mutually indepedent, and structure is identical, is connected respectively by wired mode with the master control system module.With
For the X-axis circuit for controlling motor module, it includes X-axis motor control FM0+ microcontroller such as Fig. 4 (201) shown,
At the position as shown in Fig. 1 (011), the inductance type isolation and buffer such as Fig. 4 (204) are shown, are located at such as Fig. 1
(011) at position shown in, shown in X-axis stepper motor such as Fig. 4 (207), it is located at the position as shown in Fig. 1 (011) and Hall turns
Shown in fast sensor such as Fig. 4 (210), it is located at the position as shown in Fig. 1 (011).The X-axis motor control FM0+ microcontroller
Device, prime connects by wired mode with the master control system module, rear class pass through wired mode and the inductance type every
It is connected from buffer, the inductance type isolation and buffer, rear class are connected by wired mode and the X-axis stepper motor
It connects, the Hall revolution speed transducer, the X-axis motor control FM0+ microcontroller is connected by line mode.The Y-axis
Circuit for controlling motor module and the Z axis circuit for controlling motor module, structure and the X-axis circuit for controlling motor module phase
Together, details are not described herein.It is described after a kind of 3D printer control optimization system starting based on skeleton line drawing
Master control system module by wired mode motor control order to be respectively sent to the X, Y, Z axis motor control FM0+ micro-
Controller, the X, Y, Z axis motor control FM0+ microcontroller send control motor according to different velocity informations respectively
The PWM wave of speed and direction nondestructively passes to the X, Y, Z axis by the respectively described inductance type isolation and buffer
Stepper motor and driving motor rotation, and then control conveyer belt and the spray head control circuit module is moved to different spaces
At position.The inductance type isolation and buffer, have on the one hand been isolated digital circuits section and high current artificial circuit part,
On the other hand to provide bigger current driving ability from the PWM wave of the X, Y, Z axis motor control FM0+ microcontroller.
The Hall revolution speed transducer is located at X, Y, Z axis stepping motor rotor side, wirelessly monitors the reality of motor
Velocity of rotation, and motor speed status information is transmitted separately to the X, Y, Z axis motor control FM0+ by wired mode
Microcontroller, using the X, Y, Z axis motor control FM0+ microcontroller, by wired mode by the speed state of motor
Information feeds back to the master control system module.
The extruder control circuit module, including extruder motor control FM0+ microcontroller such as Fig. 5 (301) institute
Showing, inductance type isolation and buffer such as Fig. 5 (302) are shown, shown in extruder stepper motor such as Fig. 5 (303), Hall revolution speed sensing
Shown in device such as Fig. 5 (304), charging switching switch is as shown in Fig. 5 (305).The extruder motor control FM0+ microcontroller,
Prime is connect by wired mode with the master control system module, rear class pass through wired mode be isolated with the inductance type and
Buffer connection, the inductance type isolation and buffer, rear class are connected by wired mode and the extruder stepper motor
It connects, the Hall revolution speed transducer, passes through the wired mode connection extruder motor control FM0+ microcontroller.Work as institute
After a kind of 3D printer control optimization system starting based on skeleton line drawing stated, the charging switching switch passes through nothing
Line mode receives the logical switching signal from the extruder motor control FM0+ microcontroller, for switching different line widths
Printed material.The inductance type isolation and buffer, have on the one hand been isolated digital circuits section and high current analog circuit
On the other hand part drives to provide bigger electric current from the PWM wave of the extruder motor control FM0+ microcontroller
Ability.The Hall revolution speed transducer wirelessly monitors motor positioned at the extruder stepping motor rotor side
Actual rotation speed, and motor speed status information is transmitted separately to the extruder motor control by wired mode
FM0+ microcontroller, using the extruder motor control FM0+ microcontroller, by wired mode by the speed of motor
Status information feedback is to the master control system module.
The spray head control circuit module, including shown in spray head control FM0+ microcontroller such as Fig. 6 (401), Panowin
It is high-power shown in LED driver group such as Fig. 6 (404) shown in thermocouple such as Fig. 6 (403) shown in head module such as Fig. 6 (402)
Shown in white LED lamp such as Fig. 6 (405), shown in industrial camera such as Fig. 6 (406).The spray head controls FM0+ microcontroller, preceding
Grade is connect by wired mode with the master control system module, and rear class passes through wired mode and the Panowin Nozzle At The Ingot Mold
Block, the thermocouple, the LED driver group are connected with the industrial camera, and the thermocouple is affixed on Panowin
The nozzle segment of head module controls FM0+ microcontroller, the LED driver by the wired mode connection spray head
Group, the rear class large power white light LED lamp described by wired mode connection, the industrial camera prime pass through parallel bus
Wired mode is connected with the master control system module, controls FM0+ microcontroller by wired mode and the spray head.Institute
The spray head control FM0+ microcontroller stated.When a kind of 3D printer control optimization system starting based on skeleton line drawing
Later, spray head control FM0+ microcontroller receives the temperature control command from the master control system module, industry
Camera power-on command and LED light are turned on light order, are controlled the Panowin head module for printed material and are heated to specified temperature
Degree, and practical heating temperature status information level-one first order feed-back to the spray head is controlled into FM0+ micro-control by the thermocouple
Device processed, the master control system module.After the industrial camera is connected to power-on command, every 1 second beats takes the photograph width printing target
Shaping picture, and image information is sent to by parallel bus by the master control system module, in the industrial camera work
While work, the large power white light LED provides stable light source for industrial camera shooting, guarantees the steady of shooting picture quality
It is fixed.
The edge skeleton line extraction algorithm is as shown in Figure 7.
The speed based on cloud and temperature more new algorithm are as shown in Figure 8.
The working-flow is as shown in Figure 9.
After a kind of 3D printer control optimization system starting based on skeleton line drawing, ejecting device is controlled
(Fig. 1 (018)) initial position is located on the bottom plate as shown in Fig. 1 (003), and starts to heat charging.In ejecting device (Fig. 1
(018)) be attached at position the thermocouple (Fig. 1 (008)) can Real-time Feedback nozzle temperature status information to the master
Control system module.Industrial camera (Fig. 1 (017)) is under the stable light source of high-powered LED lamp (Fig. 1 (016)), photographic subjects object
(Fig. 1 (009)), and image data is sent to by parallel bus by the master control system module, the master control system mould
The image data that parallel bus is sent is switched to serial data in Fujitsu's FM4 microcontroller and passes through usb protocol by block
It is sent to personal computer, in case the skeleton line extraction algorithm uses.Positioned at the vertically moving support as shown in Fig. 1 (002)
The X-axis circuit for controlling motor module (Fig. 1 (011)) and y-axis motor control circuit module (Fig. 1 (010)) of two sides drive horizontal pass
Dynamic band (Fig. 1 (006) and Fig. 1 (005)) control ejecting device (Fig. 1 (018)) moves horizontally, and Z axis circuit for controlling motor module
(Fig. 1 (012)) drives vertical-transmission band (Fig. 1 (013)) control ejecting device to move vertically upward.The target object printed
As shown in Fig. 1 (009).Fig. 1 (015) is that the charging switches switch, and raw material (Fig. 1 (015)) connection is entered feed throat
It manages (Fig. 1 (007)).Feeding pipes (Fig. 1 (007)) other end is connected to extruder motor control module (Fig. 1 (004)),
Spray head is squeezed into charging under the control of extruder motor control module (Fig. 1 (004)).By using described based on skeleton line
The 3D printer of extraction controls optimization system, can dynamically adjust 3D printer speed and temperature, Jin Erti according to the actual situation
High 3D printer Efficiency and accuracy.