CN107174132A - Garland printer, garland printing adjusting apparatus and method and computer-readable medium - Google Patents

Garland printer, garland printing adjusting apparatus and method and computer-readable medium Download PDF

Info

Publication number
CN107174132A
CN107174132A CN201710516560.6A CN201710516560A CN107174132A CN 107174132 A CN107174132 A CN 107174132A CN 201710516560 A CN201710516560 A CN 201710516560A CN 107174132 A CN107174132 A CN 107174132A
Authority
CN
China
Prior art keywords
garland
cup
printhead
size
rim
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710516560.6A
Other languages
Chinese (zh)
Inventor
张明华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou United States A Cup Of Mdt Infotech Ltd
Original Assignee
Suzhou United States A Cup Of Mdt Infotech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou United States A Cup Of Mdt Infotech Ltd filed Critical Suzhou United States A Cup Of Mdt Infotech Ltd
Priority to CN201710516560.6A priority Critical patent/CN107174132A/en
Publication of CN107174132A publication Critical patent/CN107174132A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • A47J31/4496Means to produce beverage with a layer on top, e.g. of cream, foam or froth
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1208Improving or facilitating administration, e.g. print management resulting in improved quality of the output result, e.g. print layout, colours, workflows, print preview
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1254Automatic configuration, e.g. by driver

Abstract

The disclosure provides a kind of garland printer, garland printing adjusting apparatus and method and computer-readable medium, and the garland printer includes:Garland printhead, for printing garland;Ranging localization mechanism, has on the horizontal plane of specific range installed in the garland printhead, and measurement obtains practical center position and the radius of cup;Adjustment mechanism, it is connected with the garland printhead, position for adjusting the garland printhead with reference to default center position according to the practical center position, and the size of picture to be printed is adjusted according to the radius, wherein the origination data position of the garland printhead is consistent with the default center position.Measured by the position to cup and size, the position of garland printhead and the size of picture to be printed are adjusted according to position and size when printing garland, so that the picture of printing is located at cup center, position is not offset and size is matched, and good garland effect is attained by the coffee cup or food materials of all size.

Description

Garland printer, garland printing adjusting apparatus and method and computer-readable medium
Technical field
The disclosure relates in general to technical field of intelligence, in particular to a kind of garland printer, garland printing adjustment dress Put and method and computer-readable medium.
Background technology
Drawloom is to utilize 3D printing technique and ink-jet technology, and desired picture, photo, word or expression etc. are become Garland on coffee or other food materials, application of this new garland technology in food service industry is more and more extensive.
But be due to different types of coffee cup rim of a cup or food materials size there is no fixed standard in, coffee cup is waited every time When printout is placed on chassis, the center of rim of a cup can all be changed, rim of a cup position fix will cause current equipment without Photo print in milk foam or the center of other food materials, and then is influenceed garland effect by method.
Therefore, also there is the part that has much room for improvement in technical scheme of the prior art.
Above- mentioned information is only used for strengthening the understanding of background of this disclosure, therefore it disclosed in the background section It can include not constituting the information to prior art known to persons of ordinary skill in the art.
The content of the invention
The disclosure provides a kind of garland printer, garland printing adjusting apparatus and method and computer-readable medium, solves The not good technical problem of above-mentioned garland effect.
Other characteristics and advantage of the disclosure will be apparent from by following detailed description, or partially by the disclosure Practice and acquistion.
According to the one side of the disclosure there is provided a kind of garland printer, including:Garland printhead, for printing garland;Survey Away from detent mechanism, have installed in the garland printhead on the horizontal plane of specific range, measurement obtains cup in practice Heart position and radius;Adjustment mechanism, is connected with the garland printhead, used in being preset according to practical center position combination The position of garland printhead described in heart position adjustment, and according to the size of radius adjustment picture to be printed, wherein described draw The origination data position of flower printhead is consistent with the default center position.
In one embodiment of the disclosure, the ranging localization mechanism includes three rangefinders, three rangefinders Three different directions are arranged on, rangefinder is measured respectively to the outer peripheral distance of rim of a cup.
In one embodiment of the disclosure, the specific range is 2mm~3mm.
In one embodiment of the disclosure, according to the outer peripheral distance combination coordinate of three rangefinders to rim of a cup System determines three coordinate values, and the center of circle and the radius for obtaining rim of a cup, the center of circle of the rim of a cup are calculated according to three coordinate values For the practical center position.
In one embodiment of the disclosure, the adjustment mechanism includes moving parts, for according to position offset vector The position of the mobile garland printhead, wherein the position offset vector is to be preset according to the practical center position with described Center calculates what is obtained.
In one embodiment of the disclosure, the adjustment mechanism also includes scaling adjustment part, for according to pantograph ratio Example changes the size of the picture to be printed, wherein the scaling is according to the big of the radius and the picture to be printed It is small to calculate what is obtained.
According to another aspect of the present disclosure, a kind of garland printing adjusting apparatus is also provided, including:Construction unit, for structure Coordinate system is built, and the outer peripheral distance of the rim of a cup obtained according to three stadia surveyings obtains three coordinate values;Positioning unit, The center of circle and the radius of rim of a cup are obtained for being calculated according to three coordinate values, the center of circle of the rim of a cup is practical center position; Position adjustment unit, for the default center position according to cup and practical center position calculating position offset vector, and according to The position offset adjusts the position of the garland printhead;Size adjustment unit, for according to the radius and to be printed The size of picture calculates scaling, and according to the size of scaling adjustment picture to be printed.
According to the another further aspect of the disclosure, a kind of garland printing method of adjustment is also provided, including:Build coordinate system, and root Three coordinate values are obtained according to the outer peripheral distance of three rims of a cup;According to three coordinate values calculate obtain rim of a cup the center of circle and Radius, the center of circle of the rim of a cup is practical center position;Position is calculated according to the default center position of cup and practical center position Offset vector is put, and according to the position of the position offset adjustment garland printhead;According to the radius and to be printed The size of picture calculates scaling, and according to the size of the scaling adjustment picture to be printed.
In one embodiment of the disclosure, also include before the structure coordinate system:Obtained by three stadia surveyings To the rangefinder to the outer peripheral distance of rim of a cup, wherein three rangefinders be arranged on garland printhead have it is specific On the horizontal plane of distance, and three rangefinders are arranged on three different directions.
According to last aspect of the disclosure, a kind of computer-readable medium is also provided, including be stored thereon with calculating Machine executable instruction, the executable instruction realizes the process described above when being executed by processor.
The garland printer provided according to the embodiment of the present disclosure, is measured by the position to cup and size, is being beaten The position of garland printhead and the size of picture to be printed are adjusted according to position and size during print garland so that printing Picture is located at cup center, and position is not offset and size is matched, and good garland is attained by the coffee cup of all size Effect.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited It is open.
Brief description of the drawings
Its example embodiment is described in detail by referring to accompanying drawing, above and other target, feature and the advantage of the disclosure will Become more fully apparent.
Fig. 1 shows a kind of schematic diagram of the garland printer provided in the embodiment of the disclosure one.
Fig. 2 meanings property shows the top view of three rangefinder position distributions in the embodiment of the disclosure one.
Fig. 3 shows the skew schematic diagram of the physical location of cup and predeterminated position in the embodiment of the disclosure one.
Fig. 4 shows the schematic diagram of adjustment mechanism in the embodiment of the disclosure one.
Fig. 5 shows that a kind of garland that another embodiment of the disclosure is provided prints the schematic diagram of adjusting apparatus.
Fig. 6 shows that a kind of garland that another embodiment of the disclosure is provided prints the flow chart of method of adjustment.
Fig. 7 shows the computer for being suitable to be used for realizing the electronic installation of the embodiment of the present application that the embodiment of the disclosure one is provided The structural representation of system.
Embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment those skilled in the art is comprehensively conveyed to.Accompanying drawing is only the disclosure Schematic illustrations, be not necessarily drawn to scale.Identical reference represents same or similar part in figure, thus Repetition thereof will be omitted.
Implement in addition, described feature, structure or characteristic can be combined in any suitable manner one or more In mode.In the following description there is provided many details so as to provide fully understanding for embodiment of this disclosure.So And, it will be appreciated by persons skilled in the art that the technical scheme of the disclosure can be put into practice and one in the specific detail is omitted Or more, or can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes Known features, method, device, realization, material are operated to avoid that a presumptuous guest usurps the role of the host so that each side of the disclosure becomes mould Paste.
Some block diagrams shown in accompanying drawing are functional entitys, not necessarily must be with physically or logically independent entity phase Correspondence.These functional entitys can be realized using software form, or in one or more hardware modules or integrated circuit in fact These existing functional entitys, or realize that these functions are real in heterogeneous networks and/or processor device and/or microcontroller device Body.
There are two urgent problems to be solved in the coffee garland printer on current market:
First, it is impossible to adapt to print the physical size of picture automatically according to rim of a cup size.In the prior art, the figure printed Piece physical size is steady state value, that is, can only print a kind of picture of size dimension.When changing small-bore cup, figure Piece physical size may be more than cup radius, cause Picture section region to exceed rim of a cup, what is presented after printing is incomplete Picture;When being replaced by bigbore cup, then picture can be caused only to account for the very small part of rim of a cup, influence garland vision effect Really.
Secondly as different types of coffee cup size does not have standard, when cup is placed on chassis, rim of a cup center is every Secondary all to change, existing garland printing device can not be realized accurately every time by photo print in milk foam center, also can Influence garland effect.
Based on deficiencies of the prior art, the disclosure provides following scheme, and to solve, garland effect is not good to ask Topic.
Fig. 1 shows a kind of schematic diagram of the garland printer provided in the embodiment of the disclosure one, as shown in figure 1, the garland Printer 100 includes:Garland printhead 110, ranging localization mechanism 120 and adjustment mechanism 130.
Garland printhead 110 is used to print garland, for example, can go out the coffee garland of fineness in milk foam prints.Ranging Detent mechanism 120 is arranged on the horizontal plane for having specific range to garland printhead 120, and measurement obtains the practical center of cup Position and radius.Adjustment mechanism 130 is connected with garland printhead 110, for combining default center position according to practical center position The position of adjustment garland printhead 110 is put, and adjust according to radius the size of picture to be printed, wherein garland printhead 110 Origination data position is consistent with the default center position of cup.
In the present embodiment, ranging localization mechanism includes three rangefinders, the position for measuring rim of a cup.Three rangefinders Being separately positioned on garland printhead has three different directions on the horizontal plane of specific range, and rangefinder is measured respectively to cup The outer peripheral distance of mouth, wherein specific range are 2mm~3mm.
Fig. 2 schematically shows the top view of three rangefinder position distributions, as shown in figure 3, rangefinder A, rangefinder B distinguish It is arranged in the both direction of X-axis (X1 directions and X2 directions), wherein X1 is X-axis negative sense, X2 is that X-axis is positive, rangefinder C It is provided in the vertical Y direction of X-axis, and rangefinder C is arranged on rangefinder A and rangefinder B perpendicular bisector, rangefinder A It is considered as origin O with rangefinder B midpoint, rangefinder A, rangefinder B are identical with rangefinder C to origin O distance, are all R.
In a practical situation, when cup is placed into below garland printhead, the Randomness of position of holding cup is stronger, also Because cup size is different, it is impossible to which cup is placed into centre by guarantee every time.
Fig. 3 shows the physical location of cup and the skew schematic diagram of predeterminated position.As shown in figure 3, solid line is the reality of cup Border position, dotted line is predeterminated position;Accordingly, origin O is the default center position of cup, and P is the practical center position of cup. When cup is placed on saucer, is risen to specified location and is stopped, by three stadia surveyings its apart from the outside of rim of a cup The distance of edge, is designated as a, b, c respectively.
As shown in Figures 2 and 3, three seats are determined with reference to coordinate system according to the outer peripheral distance of three rangefinders to rim of a cup Scale value, and the center of circle and the radius for obtaining rim of a cup are calculated according to three coordinate values, the center of circle of rim of a cup is practical center position.
It is assumed that default center position O coordinate is (0,0), practical center position P coordinate is (x, y), it is assumed that cup Radius is r, and coordinate and cup radius r that equation solution obtains P points are set up according to above three coordinate value.The physical location of cup With the drift condition of predeterminated position as indicated at 3, then calculate apart from a, b, c by what stadia surveying was obtained and obtain three measurement points Coordinate value be respectively (a-R, 0), (R-b, 0) and (0, R-c)., can according to three-point fix principle after obtaining three coordinate values To calculate the numerical value of the practical center position coordinates and radius r that obtain cup.
It should be noted that the drift condition shown in Fig. 3 is only that (cup is inclined to third quadrant for one of which situation Move), and the calculating offset for cup to other three quadrants or X-axis, Y direction is similar with its, according to coordinate system just Increase to coordinate value, the principle that negative sense coordinate value reduces marks coordinate value, it is specific to calculate that here is omitted.
Fig. 4 shows the schematic diagram of adjustment mechanism in the present embodiment, as shown in figure 4, adjustment mechanism 130 includes moving parts 131 are used for the position that garland printhead 110 is moved according to position offset vector with scaling adjustment part 132, moving parts 131, Scaling adjustment part 132 is used for the size for changing picture to be printed according to scaling.Wherein position offset vector is according to reality Border center calculates what is obtained with default center position, and scaling is calculated according to the size of radius and picture to be printed Arrive.For example, moving parts can be the various structures such as telescopic, drawing and pulling type, it is not specifically limited herein, as long as meeting adjustment The demand of position.
The P point coordinates obtained according to above-mentioned calculating subtracts the position offset vector that O point coordinates obtains cup, in default It is, adjustment garland printing motionless with cup during heart position O and garland printhead origination data position consistency, and adjustment Head is principle, therefore is in course of adjustment according to position offset vector movement garland printhead, that is, adjusts beating for garland printhead Starting point is printed, to ensure that garland printhead be able to can be aligned with the practical center position of cup so that photo print is in centre bit Put.
In addition, in addition it is also necessary to according to the Size calculation scaling for calculating obtained cup radius r and picture to be printed, so as to The garland printed can match with rim of a cup, will not be excessive or too small.Scaling is calculated to specifically include:If cup half Footpath is less than the size of picture to be printed, then scaling is the numerical value less than 1, that is, reduces picture to be printed;If cup radius More than the size of picture to be printed, then scaling is the numerical value more than 1, that is, amplifies picture to be printed, wherein picture to be printed Handled using adapting to the circular contour of circular rim of a cup as standard.
Scaling adjustment part in the present embodiment can be the functional module of editable program, such as computer, in editor Being left white when printing is can be combined with program process treats the adjustment that printing picture carries out size dimension..
It should be noted that calculate scaling when, also need consider control in milk foam print picture when X to and Y To be left white, the concrete numerical value being left white can be the fixed numbers of preset in advance, or according to cup caliber size certain In the range of carry out accommodation dynamic value.
It is motionless with cup in the present embodiment, the position of adjustment garland printhead causes both to enter again after being aligned for principle Row garland is printed, and similarly, in disclosure other embodiment, can also be motionless with garland printhead, adjustment cup (i.e. cup Support) position be principle, can equally ensure that garland printhead be able to can be aligned with the practical center position of cup so that figure Piece is printed at the over center position.
Finally, in addition it is also necessary to explanation, be in the present embodiment using the milk foam in cup as the carrier of printing exemplified by, except this Outside, this method is still used for the adjustment of alignment and the size matching of other printouts, utilizes same metering system to fight each other The marginal position of printed document is measured, and the follow-up steps such as position offset vector that calculate are identical with printing coffee garland, herein no longer Repeat.
In summary, the garland printer that the present embodiment is provided obtains position and the radius of cup by measurement and positioning, right The position of printhead and the size of printing picture carry out accommodation, so that the middle section of garland print head alignment cup enters Row printing, can be adapted to print area, realize good garland printing effect.
Fig. 5 shows that a kind of garland provided in the embodiment of the disclosure one prints the schematic diagram of adjusting apparatus, as shown in figure 5, Garland printing adjusting apparatus 200 includes:Construction unit 210, positioning unit 220, position adjustment unit 230 and size adjustment are single Member 240.
Construction unit 210 is used to build coordinate system, and the rim of a cup obtained according to three stadia surveyings it is outer peripheral away from From obtaining three coordinate values;Positioning unit 220 is used to calculate the center of circle and the radius for obtaining rim of a cup according to three coordinate values, rim of a cup The center of circle is practical center position;Position adjustment unit 230 is based on the default center position according to cup and practical center position Position offset vector is calculated, and according to the position of position offset adjustment garland printhead;Size adjustment unit 240 is used for according to half The size of footpath and picture to be printed calculates scaling, and according to the size of scaling adjustment picture to be printed.
The outer peripheral distance for the rim of a cup that the adjusting apparatus that the present embodiment is provided is obtained according to measurement is obtained by three-point fix To the position of cup and radius, it is compared with the initial position of garland printhead and obtains position offset vector, then is carried out corresponding Adjustment be aligned with the center of cup so as to garland printhead, while also being carried out to big printing picture size according to the size of cup Accommodation, to reach good garland printing effect.
Fig. 6 shows that a kind of garland provided in the embodiment of the disclosure one prints the flow chart of method of adjustment, including following step Suddenly:
As shown in fig. 6, in step slo, building coordinate system, and three are obtained according to the outer peripheral distance of three rims of a cup Coordinate value.
As shown in fig. 6, in step S20, the center of circle and the radius for obtaining rim of a cup, wherein rim of a cup are calculated according to three coordinate values The center of circle be practical center position.
As shown in fig. 6, in step s 30, calculating position according to the default center position of cup and practical center position inclined The amount of shifting to, and according to the position of position offset adjustment garland printhead.
As shown in fig. 6, in step s 40, scaling is calculated according to the size of radius and picture to be printed, and according to contracting Put the size that ratio adjusts picture to be printed.
Before step S10, in addition it is also necessary to obtain rangefinder to the outer peripheral distance of rim of a cup by three stadia surveyings.
Based on step S10~S40, by automatic detection rim of a cup position and size, and accordingly, adjust automatically prints picture The position of size and garland printhead, so as to be adapted to print area, realizes good garland printing effect.
The method of adjustment can realize the adjusting apparatus identical technique effect provided such as above-mentioned embodiment, no longer go to live in the household of one's in-laws on getting married herein State.
It should be noted that the function of unit can be host computer to realize in the present embodiment, rangefinder hair is received The data sent calculate position offset vector, and further the instruction for controlling adjustment are sent into adjustment mechanism, realize to garland The control of print head position, reaches the purpose of adjustment alignment, and zooms in and out processing to printed drawings piece, realizes that size is matched, reaches To good garland effect.
The coffee printer can realize the adjusting apparatus identical technique effect provided such as above-mentioned embodiment, herein no longer Repeat, to meet more various and personalized customer demand.
Below with reference to Fig. 7, it illustrates suitable for for the computer system 700 for the electronic installation for realizing the embodiment of the present application Structural representation.Electronic installation shown in Fig. 7 is only an example, to the function of the embodiment of the present application and should not use model Shroud carrys out any limitation.
As shown in fig. 7, computer system 700 includes CPU (CPU) 701, it can be read-only according to being stored in Program in memory (ROM) 702 or be loaded into program in random access storage device (RAM) 703 from storage part 707 and Perform various appropriate actions and processing.In RAM703, the system that is also stored with 700 operates required various programs and data. CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always Line 704.
I/O interfaces 705 are connected to lower component:Importation 706 including keyboard, mouse etc.;Penetrated including such as negative electrode The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 708 including hard disk etc.; And the communications portion 709 of the NIC including LAN card, modem etc..Communications portion 709 via such as because The network of spy's net performs communication process.Driver 710 is also according to needing to be connected to I/O interfaces 705.Detachable media 711, such as Disk, CD, magneto-optic disk, semiconductor memory etc., are arranged on driver 710, in order to read from it as needed Computer program be mounted into as needed storage part 708.
Especially, in accordance with an embodiment of the present disclosure, the process described above with reference to flow chart may be implemented as computer Software program.For example, embodiment of the disclosure includes a kind of computer program product, it includes being carried on computer-readable medium On computer program, the computer program include be used for execution flow chart shown in method program code.In such reality Apply in example, the computer program can be downloaded and installed by communications portion 709 from network, and/or from detachable media 711 are mounted.When the computer program is performed by CPU (CPU) 701, limited in the system for performing the application Above-mentioned functions.
It should be noted that the computer-readable medium shown in the application can be computer-readable signal media or meter Calculation machine computer-readable recording medium either the two any combination.Computer-readable medium for example may be-but not limited to- Electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.It is computer-readable The more specifically example of medium can include but is not limited to:Electrical connection with one or more wires, portable computer magnetic Disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or sudden strain of a muscle Deposit), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device or above-mentioned appoint The suitable combination of meaning.In this application, computer-readable medium can be it is any include or storage program tangible medium, the journey Sequence can be commanded execution system, device or device and use or in connection.And in this application, it is computer-readable Signal media can include in a base band or as carrier wave a part propagate data-signal, can wherein carrying computer The program code of reading.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal or Above-mentioned any appropriate combination.Computer-readable signal media can also be any calculating beyond computer-readable medium Machine computer-readable recording medium, the computer-readable medium can be sent, propagated or be transmitted for by instruction execution system, device or device Part is used or program in connection.The program code included on computer-readable medium can use any appropriate Jie Matter is transmitted, and is included but is not limited to:Wirelessly, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code is comprising one or more Executable instruction for realizing defined logic function.It should also be noted that in some realizations as replacement, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of each square frame in block diagram or flow chart and the square frame in block diagram or flow chart, can use and perform rule Fixed function or the special hardware based system of operation realize, or can use the group of specialized hardware and computer instruction Close to realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit can also be set within a processor, for example, can be described as:A kind of processor bag Include transmitting element, acquiring unit, determining unit and first processing units.Wherein, the title of these units is under certain conditions simultaneously The restriction in itself to the unit is not constituted, for example, transmitting element is also described as " sending picture to the service end connected Obtain the unit of request ".
On the other hand, the disclosure additionally provides a kind of computer-readable medium, and the computer-readable medium can be above-mentioned Included in equipment described in embodiment;Can also be individualism, and without be incorporated the equipment in.Above computer can Read medium and carry one or more program, when said one or multiple programs are performed by the equipment so that this Equipment includes:Coordinate system is built, and three coordinate values are obtained according to the outer peripheral distance of three rims of a cup;According to three coordinate values The center of circle and the radius for obtaining rim of a cup are calculated, the center of circle of rim of a cup is practical center position;According to the default center position and reality of cup Border center calculates position offset vector;Scaling is calculated according to the size of radius and picture to be printed.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code is comprising one or more Executable instruction for realizing defined logic function.It should also be noted that in some realizations as replacement, institute in square frame The function of mark can also be with different from the order marked in accompanying drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, and this is depending on involved function.Also It is noted that the combination of each square frame in block diagram or flow chart and the square frame in block diagram or flow chart, can use and perform rule Fixed function or the special hardware based system of operation realize, or can use the group of specialized hardware and computer instruction Close to realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.
It will be clearly understood that the present disclosure describes how forming and use particular example, but the principle of the disclosure is not limited to Any details of these examples.On the contrary, the teaching based on disclosure disclosure, these principles can be applied to many other Embodiment.
The illustrative embodiments of the disclosure are particularly shown and described above.It should be appreciated that the disclosure is not limited In detailed construction described herein, set-up mode or implementation method;On the contrary, the disclosure is intended to cover included in appended claims Spirit and scope in various modifications and equivalence setting.

Claims (10)

1. a kind of garland printer, it is characterised in that including:
Garland printhead, for printing garland;
Ranging localization mechanism, has on the horizontal plane of specific range installed in the garland printhead, and measurement obtains cup Practical center position and radius;
Adjustment mechanism, is connected with the garland printhead, for being adjusted according to the practical center position with reference to default center position The position of the whole garland printhead, and according to the size of radius adjustment picture to be printed, wherein the garland printhead Origination data position it is consistent with the default center position.
2. garland printer according to claim 1, it is characterised in that the ranging localization mechanism includes three rangings Instrument, three rangefinders are arranged on three different directions, and rangefinder is measured respectively to the outer peripheral distance of rim of a cup.
3. garland printer according to claim 1, it is characterised in that the specific range is 2mm~3mm.
4. garland printer according to claim 2, it is characterised in that according to three rangefinders to the outside of rim of a cup The distance combination coordinate system of edge determines three coordinate values, and the center of circle and half for obtaining rim of a cup is calculated according to three coordinate values Footpath, the center of circle of the rim of a cup is the practical center position.
5. garland printer according to claim 1, it is characterised in that the adjustment mechanism includes moving parts, is used for The position of the garland printhead is moved according to position offset vector, wherein the position offset vector be according in practice Heart position calculates what is obtained with the default center position.
6. garland printer according to claim 5, it is characterised in that the adjustment mechanism also includes scaling adjustment portion Part, the size for changing the picture to be printed according to scaling, wherein the scaling be according to the radius and The size of the picture to be printed calculates what is obtained.
7. a kind of garland prints adjusting apparatus, it is characterised in that including:
Construction unit, for building coordinate system, and the outer peripheral distance of the rim of a cup obtained according to three stadia surveyings is obtained Three coordinate values;
Positioning unit, the center of circle and the radius of rim of a cup is obtained for being calculated according to three coordinate values, the center of circle of the rim of a cup is Practical center position;
Position adjustment unit, position offset vector is calculated for the default center position according to cup and practical center position, and The position of the garland printhead is adjusted according to the position offset;
Size adjustment unit, for calculating scaling according to the size of the radius and picture to be printed, and according to the contracting Put the size that ratio adjusts the picture to be printed.
8. a kind of garland prints method of adjustment, it is characterised in that including:
Coordinate system is built, and three coordinate values are obtained according to the outer peripheral distance of three rims of a cup;
The center of circle and the radius for obtaining rim of a cup are calculated according to three coordinate values, the center of circle of the rim of a cup is practical center position;
Position offset vector is calculated according to the default center position of cup and practical center position, and according to the position offset Adjust the position of the garland printhead;
Scaling is calculated according to the size of the radius and picture to be printed, and figure to be printed is adjusted according to the scaling The size of piece.
9. garland according to claim 8 prints method of adjustment, it is characterised in that also wrapped before the structure coordinate system Include:
The rangefinder is obtained to the outer peripheral distance of rim of a cup by three stadia surveyings, wherein three rangefinders are set Put has on the horizontal plane of specific range to garland printhead, and three rangefinders are arranged on three different directions.
10. a kind of computer-readable medium, it is characterised in that including being stored thereon with computer executable instructions, its feature exists In the executable instruction realizes method as claimed in claim 8 or 9 when being executed by processor.
CN201710516560.6A 2017-06-29 2017-06-29 Garland printer, garland printing adjusting apparatus and method and computer-readable medium Pending CN107174132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710516560.6A CN107174132A (en) 2017-06-29 2017-06-29 Garland printer, garland printing adjusting apparatus and method and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710516560.6A CN107174132A (en) 2017-06-29 2017-06-29 Garland printer, garland printing adjusting apparatus and method and computer-readable medium

Publications (1)

Publication Number Publication Date
CN107174132A true CN107174132A (en) 2017-09-19

Family

ID=59844628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710516560.6A Pending CN107174132A (en) 2017-06-29 2017-06-29 Garland printer, garland printing adjusting apparatus and method and computer-readable medium

Country Status (1)

Country Link
CN (1) CN107174132A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107485290A (en) * 2017-10-10 2017-12-19 杭州口非口力食品有限公司 A kind of automatic selling drink machine and its method of work with printing curve function
CN111311678A (en) * 2020-01-21 2020-06-19 上海悦易网络信息技术有限公司 USB position positioning method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05322519A (en) * 1992-05-18 1993-12-07 Mitsubishi Rayon Co Ltd Apparatus for inspecting circular object
US20060131323A1 (en) * 2004-12-20 2006-06-22 Sanden Corporation Beverage dispenser
CN104779191A (en) * 2014-01-10 2015-07-15 株式会社迪思科 Mark detecting method
CN104979257A (en) * 2014-04-14 2015-10-14 睿励科学仪器(上海)有限公司 Positioning method for pattern-free silicon chip measurement
CN105815424A (en) * 2015-01-05 2016-08-03 三纬国际立体列印科技股份有限公司 Stereo printing device
CN105976363A (en) * 2016-04-29 2016-09-28 信利光电股份有限公司 Optical center detection method, correction method and related device
CN106580108A (en) * 2017-01-13 2017-04-26 浙江工业大学 Wide printhead coffee art machine

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05322519A (en) * 1992-05-18 1993-12-07 Mitsubishi Rayon Co Ltd Apparatus for inspecting circular object
US20060131323A1 (en) * 2004-12-20 2006-06-22 Sanden Corporation Beverage dispenser
CN104779191A (en) * 2014-01-10 2015-07-15 株式会社迪思科 Mark detecting method
CN104979257A (en) * 2014-04-14 2015-10-14 睿励科学仪器(上海)有限公司 Positioning method for pattern-free silicon chip measurement
CN105815424A (en) * 2015-01-05 2016-08-03 三纬国际立体列印科技股份有限公司 Stereo printing device
CN105976363A (en) * 2016-04-29 2016-09-28 信利光电股份有限公司 Optical center detection method, correction method and related device
CN106580108A (en) * 2017-01-13 2017-04-26 浙江工业大学 Wide printhead coffee art machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107485290A (en) * 2017-10-10 2017-12-19 杭州口非口力食品有限公司 A kind of automatic selling drink machine and its method of work with printing curve function
CN111311678A (en) * 2020-01-21 2020-06-19 上海悦易网络信息技术有限公司 USB position positioning method and device
CN111311678B (en) * 2020-01-21 2023-04-07 上海万物新生环保科技集团有限公司 USB position positioning method and device

Similar Documents

Publication Publication Date Title
US9860692B2 (en) Determining location via current and previous wireless signal attributes
US9839234B2 (en) Three-dimensional printing device
CN105474263B (en) System and method for generating three-dimensional face model
CN106020757B (en) A kind of screen splicing method and electronic equipment
US20140204204A1 (en) Image processing apparatus, projector and projector system including image processing apparatus, image processing method
US10331393B2 (en) Vehicle-mounted terminal and method for obtaining resolution of a screen of a handheld terminal
CN105976767B (en) A kind of area source brightness uniformity adjusting method, apparatus and system
CN109285188A (en) Method and apparatus for generating the location information of target object
CN208314859U (en) Prefabricated components mounting and positioning device
CN109946680A (en) External parameters calibration method, apparatus, storage medium and the calibration system of detection system
CN107174132A (en) Garland printer, garland printing adjusting apparatus and method and computer-readable medium
CN108734780A (en) Method, apparatus and equipment for generating map
EP3687210A1 (en) Path loss prediction method and apparatus
US11650782B2 (en) Display adjustment method and device for bar-shaped electronic shelf label
CN104574388A (en) Camera calibration system and 3D (three-dimensional) calibration method thereof
CN103829966A (en) Method and system for automatically determining positioning line in detection image
TW201625041A (en) Signal strength distribution establishing method and wireless positioning system
CN105444669B (en) The measuring system and measurement method of variation are directed toward for large-scale plane
CN110082720A (en) Tray information acquisition device, control method and pallet carrying vehicle
CN105865482B (en) A kind of method and device of digital map navigation
US11651559B2 (en) Augmented reality method for simulating wireless signal, and apparatus
CN110478903A (en) A kind of control method and device of virtual camera
CN208211910U (en) Garland printer and garland printing adjustment device
CN106535132B (en) Method and apparatus for positioning terminal
CN106875450B (en) Training set optimization method and device for camera reorientation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170919

WD01 Invention patent application deemed withdrawn after publication