1. Technical Field
The present disclosure relates to the field of position sensing, and more particularly to an apparatus and method for determining the absolute position, including the location and orientation, of a device with respect to an origin as the device is moved.
2. Related Art
Many devices rely on positioning data to operate. For example, an inkjet printer relies on positioning data and the mechanics of a print assembly to ensure that thousands of ink dots are placed at precise locations on a media by the nozzles of a print head. Similarly, a scanner relies on positioning data, stable media placement, and a stabilizer bar to move a scan head along the media with precision. The printer and the scanner rely upon the positioning data to control the movement of components that, by design, are mechanically and precisely restricted or confined in direction and movement. Consequently, accurate imaging is achieved.
A stand alone device such as a desktop printer is large enough to include the components required to move the media and print head relative to one another with precision as an image or object is rendered on the media. Likewise, a desktop scanner is large enough to include the components that steadily and precisely move the stabilizer bar along the media. However, such stabilizing and positioning components are usually too large for use in smaller devices. For example, handheld scanners are not large enough to incorporate the components that desktop scanners have to generate accurate image data. Rather, handheld scanners rely on human motor skills to steadily move the stabilizer bar (or some other device that supports the scan head) across the media. Human motor skills are far less precise than the components implemented in desktop devices and the quality of digital images that are obtained with handheld scanners is markedly inferior to that of desktop scanners. An improvement in the operation of handheld devices is desirable.
The following embodiments relate to systems and methods for generating position data for a device. The position data is indicative of the device's position as it is moved and includes the location and orientation of the device with respect to an origin. The position data may be used by the device to perform device functions. For example, the device may be a handheld printer that controls a print head based on the position data to accurately dispense ink on a print media.
In a preferred embodiment, a module has two motion sensors to generate motion signals as a device is moved. The module generates movement data in response to the motion signals. The movement data is indicative of location changes and orientation changes of at least two points on the device. The module communicates the movement data to a processor that determines location and orientation data indicative of the device's position relative to an origin. The processor may communicate the location and orientation data to a device processor for use in executing device functions. The motion sensors may be optical motion sensors, track-ball motion sensors, laser motion sensors, inertial motion sensors, or any other type of motion sensor.
In one implementation, the device is a handheld printer having a wireless communication module to receive image data from a host device. The wireless communication module communicates the image data to the processor, which determines print data based on the image data and the location and orientation data. The print data controls a print mechanism for dispensing ink, dye, or other pigment as the handheld printer is moved over a print media.
In a second implementation, the device is a handheld scanner having an imaging mechanism to generate image signals. A device processor receives the image signals and generates image data based on the image signals and the location and orientation data.
In a second embodiment, a computer readable storage medium has processor executable instructions to receive movement data indicative of location changes and orientation changes of a device and determine location and orientation data indicative of a position of the device relative to a first location and first orientation of the device. The computer readable storage medium may also have processor executable instructions to communicate the location and orientation data to a device processor. If the device is a printer, the computer readable storage medium may have processor executable instructions to determine print data based on image data and the location and orientation data, and communicate the print data to a print mechanism. If the device is a scanner, the computer readable storage medium may have processor executable instructions to receive image signals from an imaging mechanism, and generate image data based on the image signals and the location and orientation data.
Other systems, methods, and features of the invention will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the following claims.
The preferred embodiments will now be described with reference to the attached drawings.
a) to 5(e) illustrate the functionality of the handheld printer of
The disclosure can be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like referenced numerals designate corresponding parts or elements throughout the different views.
The embodiments below relate to a position module for use in a device having functionality that requires information about its position relative to an origin and initial orientation at the origin as the device is moved. The position module is incorporated into the device and includes a processor and a movement module having two sensors. When the device is moved, both sensors sense device movement and generate movement signals. The movement module generates movement data based on the movement signals. The movement data is indicative of movement direction and distance of each respective sensor, and hence any part of the device. Based on the movement data, the processor determines the location and orientation of the device relative to the origin and initial orientation. The position module may be implemented in devices such as handheld printers and scanners to maintain image alignment as the device is swept over a print media for printing or scanning operations, as examples.
In one embodiment, the device is set at a position designated as the initial position or “origin” of the device. The origin includes an initial location and initial orientation of the device before it is moved (Act 102). The act of designating an initial location and an initial orientation of the device may be referred to as “zeroing the origin.” The initial location and initial orientation may be defined within any two or three dimensional coordinate system. In one implementation, the device is a rectangular handheld printer set at an origin on a print media, such as the top-left corner of a sheet of paper, with the top edge of the handheld printer aligned with the top edge of the sheet of paper and the left edge of the handheld printer aligned with the left edge of the sheet of paper.
As the device is moved (whether by human hand, machine, or self propulsion) movement data is generated to track location changes and orientation changes of the device (Act 104). The movement data may be generated by any component, module, or any mechanism that generates data indicative of movement.
Direction and distance data is generated for both motion sensors 204, 206 as the device moves. For example, as motion sensor 204 moves from point A to point B and motion sensor 206 moves from point M to point N, direction and distance data is generated by the movement module 202 for each sensor 204, 206. The location of motion sensor 204 with respect to point A and the location of motion sensor 206 with respect to point M is determined by the movement module 202 based on the direction and distance data generated for each respective sensor 204, 206. When motion sensor 204 next moves from point B to point C, the movement module 202 determines the location of motion sensor 204 with respect to point B. Likewise, when motion sensor 206 moves from point N to point O, the movement module 202 determines the location of motion sensor 206 with respect to point N. The movement module 202 generates movement data indicative of the movement of each motion sensor 204, 206 from point-to-point and communicates the movement data to the processor 208.
The processor 208 determines the position of the device with respect to the origin (the initial location and initial orientation of the device) by cumulating the movement data received from the movement module 202 (Act 106). The position of the device determined by the processor 208 includes both the location and orientation of the device with respect to the origin and may be referred to as the “absolute position” of the device.
The location of the device (or any point, line, or area of the device) is determined by cumulating the movement data, starting from the origin. The orientation of the device is defined as an angle between two lines: the first line is defined by the locations of the two motion sensors when the device is at the origin; the second line is defined by the locations of the two motion sensors when the device is at its respective location. As movement data continues to be received from the movement module 202 as the device moves, the processor 208 continues to update the absolute position of the device. The absolute position of the device may be communicated as location and orientation data to a device processor for use in operating the device (Act 108).
The device 300 includes a housing 302 and device components 304, including a device processor 314 for executing device functions. The device 300 may also include a data bus 308, a power module 310, and a wireless communication module 312 to communicate with a host (not shown) or other device.
If the device 300 is a handheld printer, the wireless communication module 312 receives image data, such as a bitmap, from the host and communicates the image data to the device processor 314. The device processor 314 determines print data based on the image data and the location and orientation data received from the position module, and communicates the print data to a print mechanism. The print mechanism renders an image or text on a print media.
If the device 300 is a handheld scanner, the device processor 314 receives image signals from an imaging mechanism and determines digital image data based on the image signals and the location and orientation data received from the position module. The device processor 314 communicates the digital image data to the wireless communication module 312, which communicates the image data to the host. The host may be a desktop or laptop computer, or other device that communicates (sends/receives) image data. In alternate embodiments, the host may send/receive other types of data pertinent to the function of the device components 304. The wireless communication module 312 and the host may comprise a network such as a wireless local area network (WLAN), as an example.
As discussed above, the device 302 may be a handheld printer.
As the handheld printer 400 is swept across the media, the motion sensors 404(a) and 404(b) generate motion signals for determining the absolute position of the print head 406. The print head 406 dispenses print from its nozzles based on the absolute position of the handheld printer 400.
a)-5(e) illustrate the functionality of a handheld printer 400 that dispenses ink (or any pigment or dye) based on its absolute position as it is swept across a media.
The methods and systems discussed above for determining the position of a device may also include methods and systems for determining the spatial position of the device. As used herein, the “spatial position” refers to the three-dimensional position and orientation of the device. For example, the position module 200 may include a spatial position module (not shown) to determine three translational coordinates (x-y-z) and three angular (yaw, pitch, and roll) parameters of the device. The translational coordinates and the angular parameters may be referred to collectively as the “six degrees of freedom”. The spatial position module may determine the six degrees of freedom based on data received from an inertial motion sensor, such as an accelerometer or gyrometer, as an example. The inertial motion sensor may be included in the position module 200 or may be part of the device.
The spatial position module may provide a first set of data to the position module 200 for determining the “macroscopic” position and orientation of the device, and the movement module 202 may provide a second set of data to the position module 200 for determining more detailed position and orientation data. For example, if the device is a handheld printer, the spatial position module may provide a first set of data to the position module 200 for determining whether the handheld printer is in contact with the print media and/or its location and orientation. If it is determined that the handheld printer is in contact with the print media, the movement module 202 may provide a second, more detailed set of position and orientation data, as discussed above, for use to accurately print an image.
The spatial position module may also provide data for determining the location and orientation of the handheld printer on the print media in the event the handheld printer loses and regains physical contact with the print media. For example, a user may accidentally or intentionally lift the handheld printer off the print media. The position module 200, in conjunction with the spatial position module, does not depend upon contact with the print media to maintain spatial position and orientation data. If the position module 200 detects that the handheld printer has been removed from the print media, it may switch to a “spatial tracking mode”. The position module 200 may determine that the handheld printer has been removed from the print media based on a signal (or lack of a signal) received from the motion sensors 204 and 206, as an example. In spatial tracking mode, the position module 200 utilizes data received from the spatial position module to determine the location and orientation of the device. Once the position module 200 determines that the handheld printer is again in contact with the print media (based on a signal or lack of signal received from the motion sensors 204 and 206), it may switch to a “detailed tracking mode” and rely on data received from the movement module 202 for determining the position and orientation of the device for printing.
All of the discussion above, regardless of the particular implementation being described, is exemplary in nature, rather than limiting. Although specific components of the position module 200 are described, methods, systems, and articles of manufacture consistent with the position module 200 may include additional or different components. For example, components of the position module 200, movement module 202, and/or processor 208 may be implemented by one or more of: control logic, hardware, a microprocessor, microcontroller, application specific integrated circuit (ASIC), discrete logic, or a combination of circuits and/or logic. Further, although selected aspects, features, or components of the implementations are depicted as hardware or software, all or part of the systems and methods consistent with the position module 200 may be stored on, distributed across, or read from machine-readable media, for example, secondary storage devices such as hard disks, floppy disks, and CD-ROMs; a signal received from a network; or other forms of ROM or RAM either currently known or later developed. Any act or combination of acts may be stored as instructions in computer readable storage medium. Memories may be DRAM, SRAM, Flash or any other type of memory. Programs may be parts of a single program, separate programs, or distributed across several memories and processors.
The processing capability of the system may be distributed among multiple system components, such as among multiple processors and memories, optionally including multiple distributed processing systems. Parameters, databases, and other data structures may be separately stored and managed, may be incorporated into a single memory or database, may be logically and physically organized in many different ways, and may implemented in many ways, including data structures such as linked lists, hash tables, or implicit storage mechanisms. Programs and rule sets may be parts of a single program or rule set, separate programs or rule sets, or distributed across several memories and processors.
It is intended that the foregoing detailed description be understood as an illustration of selected forms that the invention can take and not as a definition of the invention. It is only the following claims, including all equivalents, that are intended to define the scope of this invention.
This application claims the benefit of U.S. Provisional Application No. 60/892,693, filed on Mar. 2, 2007, which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60892693 | Mar 2007 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12041307 | Mar 2008 | US |
Child | 13367090 | US |