The real-time horizontal monitoring system of 3D printer worktable
Technical field
The present invention relates to the real-time horizontal monitoring system of a kind of 3D printer worktable.
Background technology
3D printer also claims three-dimensional printer, is a kind of machine of rapid shaping technique, and 3D printer is printed as material object based on rapid shaping technique by digital model.The square workbench of 3D printer is the important structure division of 3D printer, plays a part carrying model.The levelness of its workbench directly affects the quality of printer model, when workbench not at ordinary times, during 3D printer printer model bottom, there will be alice, print inhomogeneously, even can not stick to the first-class situation of workbench.Therefore, the primary work before printer model is carried out levelness detection and leveling to 3D printer workbench exactly.The levelness of 3D printer workbench monitoring at present completes with the leveling nut at sensation four drift angle places of manual adjustments by operating personnel with leveling is many, because of complex operation, precision is difficult to control, and the length that expends time in, so require operating personnel to grasp certain skills and experience.Even after workbench leveling, model of every printing, likely there is small deflection and be difficult for realizing in workbench.This just needs operating personnel aperiodically workbench to be carried out to levelness detection, but can not realize, the levelness of workbench is carried out to Real-Time Monitoring, and each manual leveling has certain blindness.
Summary of the invention
In order to overcome the blindness of 3D printer workbench manual leveling and the deficiency of workbench levelness monitoring, the relevant knowledge that the present invention is based on the ambits such as sensor technology, embedded control system technology, electronic circuit technology and geometry, provides a kind of 3D printer workbench real-time horizontal monitoring system.This level monitoring system not only can be monitored the vergence direction of 3D printer workbench, and the levelness of all right Real-Time Monitoring workbench will give the alarm when the deflection inclination angle of workbench surpasses secure threshold.
In order to solve the technical matters of above-mentioned existence, the present invention is achieved by the following technical solutions:
When area of platform is less than 250 * 250mm
2time, can ignore the impact of platform deformation, there is the scheme one that is applicable to this situation:
The real-time horizontal monitoring system of a kind of 3D printer workbench, comprise double-shaft tilt angle sensor module, microcontroller, two pilot lamp and hummer, the parallel centre position that is fixed on workbench downside of described double-shaft tilt angle sensor module, described microcontroller is connected with described double-shaft tilt angle sensor module by enable port CS and controls it and connects and disconnect, the data input pin of described microcontroller is connected with the data output end of described double-shaft tilt angle sensor module, the output terminal of described microcontroller is connected with the input end of described double-shaft tilt angle sensor module, the clock signal terminal of described microcontroller is connected with the input end of clock of described double-shaft tilt angle sensor module, described pilot lamp is connected with described microcontroller with described hummer.
Described pilot lamp is the pilot lamp of two different colours, and they indicate respectively the levelness of the axial levelness of horizontal X and horizontal Y direction.By the flicker frequency of described pilot lamp, quantize the degree of tilt of workbench.Described hummer is with two kinds of frequency rings, represent respectively workbench with respect to the horizontal plane make progress, downward-sloping.
Referring to Fig. 4 the present invention program one theory diagram, described double-shaft tilt angle sensor module SCA1900 is connected with the SPI interface of described microcontroller, and sheet choosing end CS Low level effective, controls connection and the disconnection of described double-shaft sensor module.The data input pin MISO of described microcontroller, output terminal MOSI are connected with data output end SO, the input end SI of SCA1900 respectively, and the clock signal terminal of described microcontroller is connected with the input end of clock SCK of SCA1900 module.The P1 of described microcontroller, P2 mouth are connected with described pilot lamp LED1, LED2 respectively, and P0 mouth is connected with described hummer.
When area of platform is greater than 500 * 500mm
2time, can not ignore the impact of platform deformation, there is the scheme two that is applicable to this situation:
The real-time horizontal monitoring system of a kind of 3D printer workbench, comprise four double-shaft tilt angle sensor modules, microcontroller, four pilot lamp and hummer, four described double-shaft tilt angle sensor modules are the parallel centre position, edge, four sides that is fixed on workbench downside respectively, described microcontroller selects port CSX to be connected respectively with described four double-shaft tilt angle sensor modules by sheet, described sheet selects both connections of port controlling and disconnection, the data input pin of described microcontroller is connected with the data output end of described each double-shaft tilt angle sensor module, the data output end of described microcontroller is connected with the data input pin of described each double-shaft tilt angle sensor module, the clock signal terminal of described microcontroller is connected with the input end of clock of described each double-shaft tilt angle sensor module, four described pilot lamp are connected with microcontroller with described hummer.
Four described pilot lamp are indicated respectively the levelness on workbench four limits, quantize the degree of tilt of workbench by the flicker frequency of pilot lamp.Described hummer is with two kinds of frequency rings, represent respectively workbench with respect to the horizontal plane make progress, downward-sloping.
Owing to adopting technique scheme, the real-time horizontal monitoring system of a kind of 3D printer workbench provided by the invention has such beneficial effect: when a certain side run-off the straight of 3D printer workbench, pilot lamp and hummer can remind operating personnel to carry out leveling in time, two kinds of ring frequencies of hummer can be indicated the vergence direction of workbench clearly, clearly the adjusting direction of alert.And pilot lamp quantizes the size at inclination angle by different flicker frequencies, workbench more approaches level, and inclination angle is less, pilot lamp flicker frequency is slower, alert is finely tuned exactly, and leveling operation more accurately and is easily controlled, and has improved leveling efficiency.Meanwhile, using LED light and hummer as warning indicator elment, simple in structure, with low cost, be easy to realize electrical control and maintenance, be particularly suitable for batch production.Therefore, the present invention has definition, accuracy, has improved leveling efficiency, has realized the function of Real-Time Monitoring and warning, and simple in structure, with low cost.
Accompanying drawing explanation
Fig. 1 is double-shaft tilt angle sensor measuring principle figure;
Fig. 2 is that 3D printer area of platform is less than 250 * 250mm
2time double-shaft tilt angle sensor module scheme of installation;
Fig. 3 is that 3D printer area of platform is greater than 500 * 500mm
2time double-shaft tilt angle sensor module scheme of installation;
1. workbenches in Fig. 2-3,2. workbench set bolt, 3. support spring, 4. leveling nut, 5. double-shaft tilt angle sensor module, 6. sensor assembly set bolt;
Fig. 4 is real-time horizontal monitoring system scheme one theory diagram of a kind of 3D printer of the present invention workbench;
Fig. 5 is real-time horizontal monitoring system scheme two theory diagrams of a kind of 3D printer of the present invention workbench;
Fig. 6 is the real-time horizontal monitoring system workflow of a kind of 3D printer of the present invention workbench.
Embodiment
With area of platform, be greater than 500 * 500mm below
2time be example, with embodiment, the present invention is described in further detail by reference to the accompanying drawings:
The real-time horizontal monitoring system of a kind of 3D printer workbench, as shown in Figure 3 and Figure 5, this system comprises four double-shaft tilt angle sensor modules, microcontroller, four pilot lamp and hummer, four described double-shaft tilt angle sensor modules are the parallel centre position, edge, four sides that is fixed on workbench downside respectively, described microcontroller selects port CSX to be connected respectively with described four double-shaft tilt angle sensor modules by sheet, described sheet selects both connections of port controlling and disconnection, the data input pin of described microcontroller is connected with the data output end of described each double-shaft tilt angle sensor module, the data output end of described microcontroller is connected with the data input pin of described each double-shaft tilt angle sensor module, the clock signal terminal of described microcontroller is connected with the input end of clock of described each double-shaft tilt angle sensor module, four described pilot lamp are connected with microcontroller with described hummer.
Described double-shaft tilt angle sensor module SCA1900 has embedded SCA100T double-shaft tilt angle sensor, this sensor uses the 3D MEMS sensor technology of Finland VTI company, make the resolution of this sensor assembly up to 0.0025 °, measuring accuracy is up to 0.05 °, can measure the levelness of X-axis and Y direction simultaneously, can meet workbench high level of accuracy and detect performance requirement.As shown in Figure 1, this double-shaft tilt angle sensor is silicon capacitance sensor, it consists of pair of parallel plate, when the run-off the straight of 3D printer workbench, because the mass in Action of Gravity Field sensor deflects, change parallel-plate spacing and cause capacitance variations, thereby measure the change of pitch angle of 3D printer worktable.When workbench level, the acceleration of X-direction is A
x=0, A
y=g.When worktable deflects angle while being θ, obliquity sensor is with workbench deflection θ degree.The acceleration of X-direction is A
x=gsin (θ), the acceleration of Y direction is A
y=gcos (θ).Have
The tiltangleθ that can be obtained workbench by formula above formula is:
As shown in Figure 3,3D printer workbench 1 is fixed on ground disc carrier by four workbench bolts 2, and certain deformation can occur the pressure that workbench 1 is subject to four drift angle place bolts 2, and the measuring accuracy of double-shaft tilt angle sensor 5 is had a certain impact.When workbench 1 area is less than 250 * 250mm
2time, can ignore the impact of platform deformation, as shown in Figure 2, only a double-shaft tilt angle sensor module need be installed in the middle of workbench.But when workbench 1 area is greater than 500 * 500mm
2time, must consider the impact of platform deformation on obliquity sensor 5, in this case, as shown in Figure 3, need a double-shaft tilt angle sensor module be respectively installed in workbench 1 centre position, edge, four sides.Each double-shaft tilt angle sensor 5 is by four parallel workbench 1 downsides that are fixed on of set bolt 6.When workbench 1 run-off the straight, can mutually regulate the levelness of workbench 1 by leveling nut 4 and support spring 3.
As shown in Figure 5, four double-shaft tilt angle sensor module SCA1900 are connected with typical SPI interface with microcontroller, sheet selects port CSX Low level effective, microcontroller selects port CSX to control and being connected and disconnection of each double-shaft tilt angle sensor module by sheet, the data input pin MISO of microcontroller, output terminal divide MOSI to be connected with data output end SO, the input end SI of SCA1900 respectively, and the clock signal terminal of microcontroller is connected with the input end of clock SCK of SCA1900 module.P1~the P4 of microcontroller is connected with pilot lamp LED1~LED4, and P0 mouth is connected with hummer.
When 3D printer workbench level, pilot lamp and hummer are not reported to the police.When workbench is due to external environment factor, on one side when certain angle occurs tilts, and angle of inclination is while being greater than normal operation threshold value, and hummer is with characteristic frequency ring, and LED light is glimmered with characteristic frequency.When hummer is during with 2Hz ring, represent that angular deflection with respect to the horizontal plane upwards occurs workbench, when hummer is during with 4Hz ring, represent that angular deflection with respect to the horizontal plane occurs workbench downwards.LED light quantizes the angle of inclination of workbench with five kinds of flicker frequencies of 1~5Hz, the lower expression of the flicker frequency angle of inclination of pilot lamp is less.When workbench is transferred to level, after the long bright 5s of pilot lamp, extinguish.
During the real-time horizontal monitoring system work of 3D printer work, as shown in Figure 6, first by the serial ports initialization of double-shaft tilt angle sensor module, then according to the sheet choosing end of microcontroller, enable corresponding double-shaft tilt angle sensor module, and judge whether double-shaft tilt angle sensor module is collected data.The measurement data of double-shaft tilt angle sensor module is actual is acceleration information, the X-axis of double-shaft tilt angle sensor module collection, the acceleration information of Y-axis are 11, be stored in respectively in data register X, Y, the every 150us of data in normal operation brief acceleration register upgrades once.When double-shaft tilt angle sensor module is collected after data, microcontroller can read respectively the value of acceleration information register X, Y by instruction REDX, REDY, and calculates corresponding angle value by above two formulas.When certain side run-off the straight of workbench, and inclination angle angle θ is greater than normal operation threshold value θ
t, the low level pulse of the P0 port output corresponding frequencies of microcontroller is controlled hummer ring; Meanwhile, the high level pulse of P1~P4 port of corresponding microcontroller output corresponding frequencies is controlled corresponding LED1~LED4 pilot lamp flicker.