Calligraphy robot
Technical field
The present invention relates to a kind of calligraphy robot.
Background technology
Chinese character calligraphy has special culture, artistic value, contains civilization and the national sentiments of China.Although Chinese calligraphy has developed more than 2000, replaced by the word that computer printout exports at nearest more than 20 years.The word of printer output only has letter symbol meaning, contacts never again with culture and arts.In recent years there is many calligraphy Robot Design thinkings, mentality of designing has all compared science, but still have larger defect in technology realizes, be thus difficult to extensive use.Existing calligraphy Robot Design scheme has: 1, use standard industrial robot to do executing agency; 2, the engraving machine structure with three translation shafts is used to do executing agency; 3, the Multi-shaft mechanical arm of servo driving is used to do executing agency.Industrial robot uses servomotor to add accurate retarding machine and drives, and precision is high, speed is fast, wrist high flexible, but price at least 10 ten thousand yuan rises, and can only demonstrate.The calligraphy robot volume of similar engraving machine structure is large, heavy, speed is slow, price is also higher, is difficult to be placed on desktop work, can not be widely used in family, office environment.And very large with the low error of mechanical arm precision of servo driving, and because the characteristic word-base data programing work amount of steering wheel is very big as, toy can only be orientated.Therefore be necessary that design one is cheap, excellent performance, precision are high and long-lived calligraphy robot, its using method should with existing printer class seemingly, output should have artistic level, and can be accepted by most of family, office, be positioned over desktop and export instrument as daily word.
Summary of the invention
The present invention's design achieves a high-performance 4DOF calligraphy robot driven by stepper motors.Stepper motor has the advantages that structure is simple, stable and reliable for performance, precision is high, and the driver of stepper motor is reliable and stable equally, and microminiaturizedly can embed motor internal.Mechanical arm 12-24 lies prostrate low-voltage power supply, and average electrical power is less than 50 watts, can powered battery.Repetitive positioning accuracy is high, and error is less than 0.1 millimeter.
Calligraphy robot architecture: be that 3 rotating shaft tandems horizontally rotate mechanical arm, end adds a vertical direction translation shaft.Wherein shoulder joint 1, elbow joint 3 and wrist joint 5 are all made up of stepper motor 13, synchronous pulley reduction gearing mechanism 14; Translation shaft 6 is made up of stepper motor 16, guide rail 18, ball lead screw drive mechanism 19.Soft nib lettering pen 9 is fixed on translation shaft 6, pen is connected with ink-feed channel 4.A pressure sensor 8 is housed, in order to perception, the dynamics controlling nib between translation shaft and lettering pen fixture.A limit switch 26 is respectively housed, for initializing location in one end of each axle.The base of calligraphy robot is designed with territory, paper placement area 11, bottom paper placement area, has array of orifices 10, fixed and smooth paper by negative pressure of vacuum to a certain degree.Negative pressure of vacuum is produced by ventilating fan 12, air duct.
The motion controller that high speed inserted computer is formed controls manipulator motion.Motion controller and analog line driver are embedded into mechanical arm inside, and mechanical arm does not need independent switch board.PC is by USB data line and calligraphy robot communication, and sending controling instruction is to mechanical arm, and manipulator motion controller does corresponding actions according to instruction, carries out interpolation operation, moves to assigned address, and sends status information to PC.The softwares such as PC end mounting equipment driving program, special character library, export to calligraphy robot by sending instruction after Word layout.The path data of each word is calculated by PC end software, and its method extracts font and stroke information according to word-base data, in conjunction with calligraphy wield the pen rule, export font size and calculate path order, key point XYZ coordinate value.
The invention has the beneficial effects as follows: 1, by the mechanical arm of arm action design during simulation person writing's writing brush, it is scientific and reasonable for structure, and precision is high, sturdy and durable and cost is low, is easy to extensive use; 2, mechanical arm uses inserted computer to take exercises controller, interpolation arithmetic accurately fast, efficient stable, to control and drive system is microminiaturized, energy saving, can powered battery; 3, PC end software function is powerful, can analyze Chinese character stroke structure, understands the various skills of wieling the pen under different fonts situation, and calculates the robot path data of Chinese character based on this, is the artistic soul of calligraphy robot.Only font, editing and composing and exportable, easy to use need be selected by Word in user's use procedure.Above beneficial effect make this calligraphy robot have very high performance small volume and less weight is inexpensive again, be applicable to entering family and office application.
Accompanying drawing explanation
The mechanical construction drawing comprised in the following drawings all belongs to illustrative nature, and for illustration of operation principle of the present invention, dimensions of mechanical structures, mounting structure, connected mode etc. can flexible design, and the present invention is by the restriction of diagram machine driving dimensional structure.
Fig. 1: calligraphy robot general effect figure
Fig. 2: calligraphy robot front view
Fig. 3: joint transmission structure chart
Fig. 4: pressure sensor front view
Fig. 5: pressure sensor design sketch
Fig. 6: software module figure
Detailed description of the invention
The mechanical arm size of calligraphy robot and human arm similar, large arm 1 is long 250 millimeters, long 250 millimeters of forearm 3, long 80 millimeters of arm 5, perpendicular displacement axes 6 stroke 80 millimeters.Reduction gear ratio is the highest translational speed that can reach 1 metre per second (m/s) when being 30: 1.Calculate according to the repetitive positioning accuracy of 0.1 millimeter during design, the application for calligraphy action is enough.
The operation of calligraphy robot is realized by PC end software and the work of mechanical arm end software collaboration.PC end software comprises device driver, slot man system, fontlib and character library to movement code conversion program.Mechanical arm end software is exactly the three-dimensional interpolation operation program of inserted computer.Computer is communicated by usb signal line with mechanical arm.
Slot man system and general Word do not have difference, add writing speed setting.Fontlib comprises multiple fonts, and wherein general font such as the Song typeface, regular script, running hand, the tablet of Wei Dynasty etc. are directly obtained by the character library conversion of PC, and famous expert's fontlib that design can be required special according to application is in addition as the character library of the king legendary ruler of great antiquity, the first of the Three August Ones.Movement code conversion program extracts character shape coding, analyzes character form structure, obtains the order of strokes of Chinese character; Three-dimensional motion control data is generated again according to the wieling the pen of different fonts, skill of rising and falling.Software support user preference is arranged, and can be set by the user the feature of oneself, each font can be finely tuned according to the hobby of user on former font basis, forms the user personality font differed from one another.Movement code conversion program can carry out freely playing of controllable degree according to the rule determined in addition, and allowing each to export the stroke write out has change at random amount, avoids thousand times without exception.
Manipulator motion controller receives movement instruction by usb bus, carries out interpolation calculation, then exports to the step actuator control signal of 4 axles, and four rotating shaft interlocks of driving machine mechanical arm, make mechanical arm navigate to impact point according to the speed of directives prescribe.This motion controller algorithm is accurately efficient, can unnecessary encoder feedback, because the light little load torque of structure is low, does not lose step situation occur by widely applying test.The real-time home position information of motion controller to data/address bus to computer end software.
Mechanical arm perpendicular displacement axes is equipped with pressure sensor and soft pen.Pressure sensor 8 sets the Flexible change scope of 2 millimeters (can set 0.1 to 6 millimeters of scopes), touches paper dynamics by pressure sensor senses, the font lines output quality that therefore can maintain a long-term stability.Pressure sensor is made up of pressure regulating spring 33, slip strong magnet 34, fixing Hall element 31 3 part, knob 32 adjustable springs setting pressure sensitive range, the magnetic field that Hall element accepts fixed magnet produces the signal of telecommunication, passes to inserted computer by linear amplifier.Each pressure sensor could outputting standard signal after needing demarcation.
Soft pen is by ink feed conduits 4 continuous ink feeding.Continuous ink feeding adopts capillary principle, by caliber, length, the difference in height of suitable designed channel, can realize uniform and stable lasting ink supply effect.Nib, pipe design are structure easy to assemble, are convenient for changing.
The base of calligraphy robot with put paper apparatus one, paper placement area 11 design size 430*300 millimeter, can 2 A4 paper arranged side by side.Can only put one deck paper, array of orifices 10 is arranged at bottom, produces negative-pressure adsorption by ventilation shaft, makes paper smooth stable.