# Patent

## Title
System for moving mobile robots in accordance with predetermined algorithm

## Abstract

A system for moving robots in accordance with a predetermined algorithm. The system includes: a surface having a position-coding pattern which identifies the surface; mobile robots for moving across the surface, each robot being configured for sensing and decoding the position-coding pattern; and a computer system in communication with the mobile robots. The computer system is configured to send instructions for moving each mobile robot relative to the surface in response to position information corresponding to that mobile robot. Further, the computer system is configured to determine instructions for moving each mobile robot using a predetermined algorithm. The predetermined algorithm is selected on the basis of the identity of the surface.

## Background
CROSS REFERENCE TO RELATED APPLICATION
The present application is a Continuation of U.S. application Ser. No. 12/564,048 filed Sep. 22, 2009, now issued U.S. Pat. No. 7,893,646 which is a Continuation of U.S. application Ser. No. 12/036,264 filed Feb. 24, 2008, now issued U.S. Pat. No. 7,605,557, which is a Continuation of U.S. application Ser. No. 11/754,370, filed on May 29, 2007, now issued U.S. Pat. No. 7,358,697, which is a Continuation of U.S. application Ser. No. 11/474,271, filed on Jun. 26, 2006, now issued U.S. Pat. No. 7,245,760, which is a Continuation of U.S. application Ser. No. 10/782,895, filed Feb. 23, 2004, now issued U.S. Pat. No. 7,148,644, all of which is herein incorporated by reference.


TECHNICAL FIELD
The present invention relates to a robot, and in one particular form, to a mobile or moveable robot that can behave in a particular way in response to the particular surface upon which the robot is placed and the robot's position on that surface, and in another particular form, to a mobile or moveable robot adapted to mark a particular surface.
CO-PENDING APPLICATIONS
Various methods, systems and apparatus relating to the present invention are disclosed in the following co-pending applications filed by the applicant or assignee of the present invention simultaneously with the present application: NPS045US.
The disclosure of this co-pending application is incorporated herein by cross-reference. The application is temporarily identified by its docket number. This will be replaced by the corresponding USSN when available.
CROSS-REFERENCES
Various methods, systems and apparatus relating to the present invention are disclosed in the following co-pending applications filed by the applicant or assignee of the present application:
















7,156,289
7,178,718
7,225,979
7,721,948
7,079,712


6,825,945
7,330,974
6,813,039
7,190,474
6,987,506


6,824,044
6,980,318
6,816,274
7,102,772
7,350,236


6,681,045
6,678,499
6,679,420
6,963,845
6,976,220


6,728,000
7,110,126
7,173,722
6,976,035
6,813,558


6,766,942
6,965,454
6,995,859
7,088,459
6,720,985


7,286,113
6,922,779
6,978,019
6,847,883
7,131,058


7,295,839
7,406,445
7,533,031
6,959,298
6,973,450


7,150,404
6,965,882
7,233,924
7,707,082
7,593,899


7,175,079
7,162,259
6,718,061
7,464,880
7,012,710


6,825,956
7,451,115
7,222,098
7,590,561
7,263,508


7,031,010
6,972,864
6,862,105
7,009,738
6,989,911


6,982,807
7,518,756
6,829,387
6,714,678
6,644,545


6,609,653
6,651,879
10/291,555
7,293,240
7,467,185


7,415,668
7,044,363
7,004,390
6,867,880
7,034,953


6,987,581
7,216,224
7,506,153
7,162,269
7,162,222


7,290,210
7,293,233
7,293,234
6,850,931
6,865,570


6,847,961
10/685,583
7,162,442
10/685,584
7,159,784


7,068,382
7,007,851
6,957,921
6,457,883
7,094,910


7,091,344
7,122,685
7,038,066
7,099,019
7,062,651


6,789,194
6,789,191
6,644,642
6,502,614
6,622,999


6,669,385
6,827,116
6,549,935
6,987,573
6,727,996


6,591,884
6,439,706
6,760,119
7,295,332
7,064,851


6,826,547
6,290,349
6,428,155
6,785,016
6,831,682


6,741,871
6,927,871
6,980,306
6,965,439
6,840,606


7,036,918
6,977,746
6,970,264
7,068,389
7,093,991


7,190,491
6,982,798
6,870,966
6,822,639
6,474,888


6,627,870
6,724,374
6,788,982
7,263,270
6,788,293


6,946,672
6,737,591
7,091,960
7,369,265
6,792,165


7,105,753
6,795,593
6,980,704
6,768,821
7,132,612


7,041,916
6,797,895
7,015,901
10/778,056
10/778,058


7,055,739
7,515,186
7,567,279
6,550,997
7,093,923


6,957,923
7,131,724
7,233,320
6,830,196
6,832,717


7,182,247
7,082,562
6,843,420
7,793,852
6,789,731


7,057,608
6,766,944
6,766,945
7,289,103
7,412,651


7,299,969
7,108,192
7,111,791
7,630,554
7,526,128


6,957,768
7,456,820
7,170,499
7,106,888
7,123,239


6,982,701
6,982,703
7,227,527
6,786,397
6,947,027


6,975,299
7,139,431
7,048,178
7,118,025
6,839,053


7,015,900
7,010,147
7,133,557
6,914,593
7,437,671


6,454,482
6,808,330
6,527,365
6,474,773









The disclosures of all of these co-pending applications are incorporated herein by reference.
BACKGROUND ART
Principles of mobile robotics are described in detail in Dudek, G., and M. Jenkin, Computational Principles of Mobile Robotics (Cambridge University Press, 2000) and Nehmzow, U., Mobile Robotics: A Practical Introduction (Springer Verlag, 2000). Practical mobile robot construction is described in detail in Wise, E., Applied Robotics (Prompt Publications, 1999) and McComb, G., The Robot Builder's Bonanza, 2nd Edition (McGraw Hill, 2001).
The present invention is not limited to use requiring a netpage. However, a netpage is now described to assist the reader in understanding the nature of the invention. A netpage consists of visible graphic data intended for human interpretation, as well as substantially invisible (or at least inconspicuous) netpage coded data intended for machine interpretation. The netpage coded data identifies, at each of at least a given density of points on the netpage, the identity of the netpage and the two-dimensional coordinates of the point. The given density is typically of the order of a few millimeters. A netpage sensing device incorporates an optical sensor and a decoder for netpage coded data. When placed in a position to sense netpage coded data, the netpage sensing device is able to determine the identity of the netpage and its own position relative to the netpage from a purely local snapshot of the netpage. Whereas the netpage coded data only directly encodes position to a certain precision (e.g. of the order of a few millimeters), the netpage sensing device can determine its position and orientation relative to the netpage to greater precision (e.g. of the order of a few micrometers) based on the alignment, rotation and perspective distortion of the coded data in its field of view.
Note that the distinction in a particular coding pattern between page identity (i.e. netpage id) and point coordinates is merely a functional distinction. An actual coding pattern may utilize any mixture (or hierarchy) of region identifiers and coordinates, ranging from a pure coordinate code where the coordinate space spans a multitude of pages, through to a pure identifier code where a page contains a multitude of identified regions. In the preferred coding, as described above, the coding pattern contains a multitude of identified regions, each containing a range of coordinates, and each conveniently corresponding to the size of a page. Note also that the size of a page is itself not fixed, and may correspond to the size of a sheet of paper (e.g. Letter/A4, Tabloid/A3, etc.), or to the size of the surface of an arbitrary object.
If the scale of the netpage coding pattern is increased (e.g. so that the given point density is of the order of centimeters or decimeters or larger), then the required imaging field of view grows accordingly. However, the precision with which the corresponding netpage sensing device can determine its precision and orientation relative to the netpage is a function of the device's imaging resolution, not the size of its field of view. It is therefore possible, given sufficient resolution, to determine position and orientation to arbitrary precision, independent of the scale of the netpage coding pattern, subject of course to normal optical imaging constraints such as diffraction limit.
A netpage may be printed onto a surface, such as the surface of a sheet of paper, using a netpage printer. Printing may take place in bulk, or on demand. The graphic data is typically printed using visible inks, such as cyan, magenta, yellow and black inks. The coded data is typically printed using an invisible ink such as an infrared-absorptive ink, or using a low-visibility ink.
More generally, the graphic data may be printed or otherwise deposited on or in the surface by any suitable device or process, and the coded data may be printed or otherwise deposited on or in the surface by any suitable process. The two devices and/or processes may be entirely unrelated, and need not operate simultaneously. It is within the scope of the present invention that the pattern of the coded data is represented in any way that allows it to be sensed, e.g. optically, magnetically, chemically, etc.
A netpage disposed on a surface is backed by a description of that netpage stored in a computer system, indexed by the netpage id. When a netpage sensing device interacts with a netpage, the sensing device forwards the details of the interaction to the computer system for interpretation with reference to the stored netpage description. The forwarded details typically include the decoded netpage id and the decoded position of the sensing device relative to the netpage. The details may also consist of a stream of netpage ids and positions. When the netpage sensing device is in the form of a writing implement or stylus, and the stream is therefore representative of motion of the writing implement or stylus relative to the netpage, the stream is referred to as digital ink. The netpage sensing device then typically incorporates a contact sensor, and is configured to begin generating the stream when it comes into contact with the surface, and cease generating the stream when contact with the surface is broken. Each digital ink stream delimited by a contact event and a loss of contact event is referred to as a stroke. The computer system retrieves the netpage description corresponding to the netpage id embedded in the stroke, and interprets the stroke with respect to the semantics of the netpage description. For example, if the netpage description describes a text field with a specific position and extent, the computer system may determine whether the stroke intersects the text field, and if so may interpret the stroke, in conjunction with other strokes similarly assigned to the text field, as handwritten text, and attempt to convert the strokes to a string of identified characters. If the netpage description describes an action zone (also referred to as a hyperlink) with a specific position and extent, the computer system may determine whether the stroke intersects the zone, and if so may interpret the stroke as invoking the action, which may in turn cause the computer system to send a corresponding message to another application associated with the action. Alternatively, a netpage stroke is forwarded directly to an application which is specific to the netpage id embedded in the stroke.
If the netpage sensing device incorporates a marking nib or printing device, then the computer system typically associates digital ink input from the device with the corresponding page by storing the digital ink in a persistent manner, indexed by the netpage id. In this way the digital ink can be reproduced when the page is re-printed, and can be searched.
A netpage sensing device in the form of a stylus and pen is described in co-pending PCT application WO 00/72230 entitled “Sensing Device, filed 24 May 2000; and co-pending U.S. application U.S. Ser. No. 09/721,893 entitled “Sensing Device”, filed 25 Nov. 2000. A netpage sensing device in the form of a viewer is described in co-pending PCT application WO 01/41046 entitled “Viewer with Code Sensor”, filed 27 Nov. 2000.
Various netpage coding schemes and patterns are described in co-pending PCT application WO 00/72249 entitled “Identity-Coded Surface with Reference Points”, filed 24 May 2000; co-pending PCT application WO 02/84473 entitled “Cyclic Position Codes”, filed 11 Oct. 2001; co-pending U.S. application U.S. Ser. No. 10/309,358 entitled “Rotationally Symmetric Tags”, (docket number NPT020US) filed 4 Dec. 2002; and Australian Provisional Application 2002952259 entitled “Methods and Apparatus (NPT019)”, filed 25 Oct. 2002.
The reference to any prior art in this specification is not, and should not be taken as, an acknowledgment or any form of suggestion that such prior art forms part of the common general knowledge.
DISCLOSURE OF INVENTION
In one aspect the present invention provides a robot adapted to operate in association with an interface surface having disposed therein or thereon coded data indicative of an identity of the interface surface and of a plurality of reference points of the interface surface, the robot comprising:

    
    
        (1) movement means to allow the robot to move over the interface surface;
        (2) a sensing device which senses at least some of the coded data and generates indicating data indicative of the identity of the interface surface and of a position of the robot on the interface surface;
        (3) communication means to:
        
            (A) transmit the indicating data to a computer system, the computer system programmed to select and execute a computer application based on at least the identity of the interface surface; and,
            (B) receive movement instructions from the selected computer application,

whereby, the behaviour of the robot is at least in part controlled by the selected computer application.

        
        
    
    


In another aspect the present invention provides a robot adapted to operate in association with an interface surface having disposed therein or thereon coded data indicative of an identity of the interface surface and of a plurality of reference points of the interface surface, the robot comprising:

    
    
        (1) movement means to allow the robot to move over the interface surface;
        (2) a sensing device which senses at least some of the coded data and generates indicating data indicative of the identity of the interface surface and of a position of the robot on the interface surface;
        (3) a processor adapted to:
        
            (A) select and execute a computer application based on at least the identity of the interface surface; and,
            (B) generate movement instructions;

whereby, the behaviour of the robot is at least in part controlled by the selected computer application.

        
        
    
    


In a further aspect the present invention provides a robot adapted to operate in association with an interface surface having disposed therein or thereon coded data indicative of an identity of the interface surface and of a plurality of reference points of the interface surface, the robot comprising:

    
    
        (1) at least one motor and at least one drive mechanism to propel the robot over the interface surface;
        (2) at least one motor controller to control the motor;
        (3) a sensing device which senses at least some of the coded data and generates indicating data indicative of the identity of the interface surface and of a position of the robot on the interface surface;
        (4) a radio transceiver to:
        
            (A) transmit the indicating data to a computer system, the computer system programmed to execute a program based on at least the identity of the interface surface; and,
            (B) receive movement instructions from the program;

whereby, the behaviour of the robot is substantially controlled by the program.

        
        
    
    


Preferably the program is selected from a plurality of programs on the computer system.
In a further aspect the present invention provides a robot adapted to operate in association with an interface surface having disposed therein or thereon coded data indicative of an identity of the interface surface and of a plurality of reference points of the interface surface, the robot comprising:

    
    
        (1) at least one motor and at least one drive mechanism to propel the robot over the interface surface;
        (2) at least one motor controller to control the motor;
        (3) a sensing device which senses at least some of the coded data and generates indicating data indicative of the identity of the interface surface and of a position of the robot on the interface surface;
        (4) a processor to:
        
            (A) select and execute a program based on at least the identity of the interface surface; and,
            (B) generate movement instructions;

whereby, the behaviour of the robot is substantially controlled by the program.

        
        
    
    


In a further aspect the present invention provides a system for controlling the movement of a robot, the system comprising:

    
    
        (1) an interface surface having disposed therein or thereon coded data indicative of an identity of the interface surface and of a plurality of reference points of the interface surface;
        (2) a computer system, the computer system programmed to select and execute a computer application based on at least the identity of the interface surface, the computer system able to communicate with the robot;
        (3) the robot adapted to operate in association with the interface surface, the robot including:
        
            (A) movement means to allow the robot to move over the interface surface;
            (B) a sensing device which senses at least some of the coded data and generates indicating data indicative of the identity of the interface surface and of a position of the robot of the interface surface; and,
            (C) communication means to transmit the indicating data to the computer system and receive movement instructions from the selected computer application;

whereby, the behaviour of the robot is at least in part controlled by the selected computer application.

        
        
    
    


In another aspect the present invention provides a method of controlling the movement of a robot, the robot adapted to operate in association with an interface surface having disposed therein or thereon coded data indicative of an identity of the interface surface and of a plurality of reference points of the interface surface, the robot additionally provided with movement means to allow the robot to move over the interface surface and a sensing device which senses at least some of the coded data and generates indicating data indicative of the identity of the interface surface and of a position of the robot on the interface surface, the method including the steps of:

    
    
        the robot transmitting the indicating data to a computer system, the computer system programmed to select and execute a computer application based on at least the identity of the interface surface; and,
        the robot receiving movement instructions from the selected computer application.
    
    


In a further aspect the present invention provides a method of controlling the movement of a robot, the robot adapted to operate in association with an interface surface having disposed therein or thereon coded data indicative of an identity of the interface surface and of a plurality of reference points of the interface surface, the robot additionally provided with movement means to allow the robot to move over the interface surface and a sensing device which senses at least some of the coded data and generates indicating data indicative of the identity of the interface surface and of a position of the robot on the interface surface, the method including the steps of:

    
    
        the robot processing the indicating data in a processor, the processor executing a program based on at least the identity of the interface surface; and,
        the processor providing movement instructions from the program.
    
    


In a second aspect the present invention provides a robot adapted to operate in association with an interface surface having disposed therein or thereon coded data indicative of a plurality of reference points of the interface surface, the robot comprising:

    
    
        movement means to allow the robot to move over the interface surface;
        a sensing device which senses at least some of the coded data and generates indicating data indicative of a position of the robot on the interface surface;
        communication means to transmit the indicating data to a computer system running a computer application, and to receive movement instructions from the computer application; and,
        a marking device adapted to selectively mark the interface surface in response to marking instructions received from the computer application.
    
    


In a further aspect the present invention provides a system for marking an interface surface by controlling a robot provided with means to mark the interface surface, the system comprising:

    
    
        the interface surface, having disposed therein or thereon coded data indicative of a plurality of reference points of the interface surface, thereby facilitating the robot to operate in association with the interface surface;
        the robot, provided with movement means to allow the robot to move over the interface surface, and a sensing device which senses at least some of the coded data and generates indicating data indicative of a position of the robot on the interface surface, and a marking device adapted to mark the interface surface; and,
        a computer system running a computer application, the computer system in communication with the robot, the computer application adapted to receive the indicating data and to transmit movement instructions and marking instructions to the robot.
    
    


In another aspect the present invention provides a method of marking an interface surface by controlling a mobile robot adapted to mark the interface surface, the robot additionally adapted to operate in association with the interface surface having disposed therein or thereon coded data indicative of a plurality of reference points of the interface surface, the method including the steps of:

    
    
        the robot sensing at least some of the coded data and generating indicating data indicative of a position of the robot on the interface surface;
        the robot transmitting the indicating data to a computer system running a computer application;
        the robot receiving movement instructions from the computer application; and,
        the robot receiving marking instructions from the computer application to selectively mark the interface surface.
    
    





BRIEF DESCRIPTION OF FIGURES
The present invention should become apparent from the following description, which is given by way of example only, of a preferred but non-limiting embodiment thereof, described in connection with the accompanying figures.
FIG. 1 shows a plan view and two elevations of a mobile robot 230 according to a preferred form of the present invention;
FIG. 2 shows a plan view and two elevations of the internal mechanical structure of the mobile robot 230 of FIG. 1;
FIG. 3 shows a layout of an interactive printed chess board 250 according to a preferred form of the present invention;
FIG. 4 shows a block diagram of a mobile robot controller 200 and its associated peripherals, according to a preferred form of the present invention;
FIG. 5 shows a communication flow between the mobile robot 230 and associated networked entities; and
FIG. 6 shows an application context class diagram, in UML notation, for a robot control application according to a preferred form of the present invention.



MODES FOR CARRYING OUT THE INVENTION
The following modes are described in order to provide a more precise understanding of the subject matter of the present invention.
In the figures, incorporated to illustrate the features of the present invention, like reference numerals are used to identify like parts throughout the figures.
Robot with Code Sensor
A mobile robot is typically an electro-mechanical device incorporating a controller and a steerable propulsion system. It may incorporate sensors for reacting to its environment. For example, it may incorporate one or more contact sensors so that when it bumps into an obstacle it can take remedial action such as reversing and proceeding in a different direction. A more sophisticated mobile robot may have access to a map of its environment, and may navigate from one point to another with reference to the map. It may also create a map of its environment during its explorations, either via its contact sensors, or via a more sophisticated sensory or vision system. Principles of mobile robotics are described in detail in Dudek, G., and M. Jenkin, Computational Principles of Mobile Robotics (Cambridge University Press, 2000) and Nehmzow, U., Mobile Robotics: A Practical Introduction (Springer Verlag, 2000), the contents of both of which are incorporated herein by cross-reference. Practical mobile robot construction is described in detail in Wise, E., Applied Robotics (Prompt Publications, 1999), and McComb, G., The Robot Builder's Bonanza (Second Edition, McGraw Hill, 2001), the contents of both which are incorporated herein by cross-reference.
The robot 230, a preferred form of which is illustrated in FIG. 1 and FIG. 2, is a mobile robot incorporating a differential drive system steered by an on-board controller 200 and is hereinafter referred to as a netpage robot. The drive system includes a pair of DC motors 206, with each motor coupled to a wheel 208 via a gearbox 207. Each motor is controlled by a motor controller 205, such as a discrete or integrated H-bridge to provide direction and braking control, and a pulse-width modulator to provide speed control. The drive system may alternatively utilize a pair of stepper motors 206, in which case each motor controller 205 generates the appropriate pulse sequences to control the speed and direction of its corresponding stepper motor. A castor 209 provides a third point of support for the robot. The robot incorporates a platform 211 to which the motors and gearboxes are attached, and which is itself attached to the robot housing 210 (shown enclosing the robot in FIG. 1 and in outline in FIG. 2). The platform 211 also supports the main PCB 212 which holds the controller 200 and other electronic components.
The netpage robot has a wireless communications link to a host computer system. It utilizes a radio transceiver 189 (e.g. operating according to a short-range standard such as Bluetooth, or a longer-range standard such as GSM, GPRS or other CDMA variant). Alternatively it may utilize an infrared transceiver (e.g. operating according to the IrDA standard). It is powered by a rechargeable battery 139.
When placed on a netpage, the netpage robot 230 determines, via its in-built netpage sensor, the id 50 of the netpage and its own position (and orientation) 221 relative to the netpage. It then reports this information to the host computer via the communications link. The netpage sensor incorporates infrared illumination LED(s) 131, an area image sensor 132, and optics 135 including an infrared filter, aperture and focussing optics. The robot detects contact with a surface via contact switch 194, or alternatively by successfully sensing and decoding the surface coding pattern.
The robot has a unique id 220 which it communicates to the host and which identifies it uniquely among netpage robots. The robot is responsive to a command 222 from its host to move to a specified position on a specified netpage. When the robot reaches its target position it reports its arrival to the host. Because the robot receives continuous position information from its netpage sensor, it is able to navigate with absolute accuracy, without the cumulative errors which plague odometry systems (due to such things as wheel slip and inaccurate kinematic modelling), and therefore without the need to include more sophisticated position-correction mechanisms.
To allow the robot to move with maximum efficiency, a movement command is usefully specified in terms of a polyline or piece-wise curve. This allows the robot to follow a multi-segment path without slowing to a stop between segments. The robot may also be responsive to overlapped commands, where it is able to receive and buffer one or more new commands before completing a current command. In the case of a polyline, the robot may optionally be instructed to interpolate a smooth curved path through the vertices of the polyline.
Commands to the robot may specify speed, or the robot may be allowed to choose its own speed according to its capabilities and the complexity of the path. If the speed is specified, then the polyline (or piece-wise curve) may contain a number of speed specifications (e.g. at each vertex), which are interpolated by the robot.
The size of the netpage robot may vary from small (e.g. millimeter or centimeter scale) to large (e.g. decimeter or meter scale). The netpage coded data pattern may be scaled to match the scale and intended applications of the robot. However, a single coded data pattern scale may be used across the full range of robot scales.
Page-Driven Robot Behavior
For the purposes of the following discussion, the game of chess is used for illustrative purposes. Note, however, that the principles are general and apply to games other than chess, and to applications beyond games.
The netpage chess board 250, as shown in FIG. 3, may be pre-made or may be printed on demand using a netpage printer. The board incorporates a playing area 254, consisting of an 8×8 checkerboard pattern, as well as additional areas and controls. When a netpage robot is placed on the netpage chess board, it initially reports its own position and orientation and the netpage id 50 of the netpage chess board to the host computer. The page server 841 on the host computer identifies the chess application associated with the netpage id of the netpage chess board (or associated with a zone of a field embedded in the netpage description associated with the netpage id), and forwards all robot input to the chess application. The host computer also forwards robot control commands from the chess application to the robot. The chess application may be local to the host computer, or may be executing on a different computer on a local-area or wide-area network (e.g. the Internet).
Since chess involves sixteen pieces, the chess application receives sixteen initial position reports from sixteen participating robots. If it receives less than sixteen initial position reports then it can signal an error to the user, e.g. via an audible or printed output. If it receives more than sixteen initial position reports, then it can instruct the redundant robots to move off the chess board. The chess application assigns each robot the role of one of the sixteen chess pieces, and instructs each robot to move to its starting position. The chess application must plan each robot's path to avoid collisions with other robots. For chess, a simple heuristic consists of the following:

    
    
        assign each back-line (i.e. non-pawn) role to the nearest robot
        assign each front-line (i.e. pawn) role to the nearest remaining robot
        move to its starting position any robot not yet in its starting position which has an un-obscured straight-line view of its starting position
        repeat until all pieces are properly positioned or no more pieces can be moved
        move any remaining pieces using two-part moves

Clearly more sophisticated algorithms are possible, many of which result in more rapid positioning.

    
    


The user makes a move by picking up a robot and placing it at a new position. The robot reports its new position to the chess application. If the move is the first move of a game then the “color” of the robot determines whether the user has chosen to play as white or black. Each robot ideally incorporates some kind of display 186 to indicate which role it has been assigned (e.g. white queen or black king). The display may be in the form of a small alphanumeric LCD showing an alphanumeric representation of the role, or a monochrome or color bit-mapped LCD or OLED showing an icon of the role. The robot is responsive to a command from the host (i.e. from the chess application via the host) to program the content of the robot's display. The robot may have multiple displays. For example it may have one display on its top and another on its face. Its entire visible surface may be completely covered by one or more displays, allowing a semi-three-dimensional icon to be displayed on the robot.
The chess application may chose to position the moved robot more centrally in its square, to allow more uniform navigation of other robots. It may also normalize its orientation, so that it is always facing the opposition. If the move is illegal, or if the user mistakenly moves an opposing piece, then the chess application can issue a spoken warning (e.g. via the robot's speaker 204, display 186, or status LED(s) 116) and reverse the move. If a piece is accidentally placed off the board, then the chess application can once again issue a warning.
The chess application then computes its responding move, and instructs one or more of its robots to move accordingly. Chess-playing algorithms and software are described in detail in Pawlak, R. J., Chess Software Sourcebook (Treehaus Books, 1999) and Heinz, E. A., Scalable Search in Computer Chess: Algorithmic Enhancements and Experiments at High Search Depths (Morgan Kaufmann, 1999), the contents of both of which are incorporated herein by cross-reference.
The user can also play against a remote human opponent, in which case each local move by the user is tracked by the chess application, and is mirrored, under chess application control, by the corresponding remote piece.
In the case of pieces which are allowed to move despite being hemmed in, such as knights, or pieces which are allowed to move diagonally, such as bishops and queens, the chess application may temporarily move offending robots out of the way, irrespective of their color. It may also temporarily move robots off the playing area 254, e.g. during castling. The chess application maintains a map of the chess board for navigation purposes. This may be the same map it uses for game-playing purposes, or separate from it. When the user captures an opposing piece s/he simply places the piece off the playing area. When the chess application captures an opposing piece (i.e. one of the user's pieces), it instructs the piece to move off the playing area. The chess board includes an area 251 for out-of-play pieces of each color. The chess application can automatically move a piece captured by the user to the out-of-play area, irrespective of where on the board the user places the piece after capture. If the chess board is upset and some pieces lose their places, then the chess application can automatically return each piece to its proper place. Alternatively the chess board can include a <resume>zone (not shown) which, when activated by the user with a piece (or other netpage sensing device), can instruct the chess application to return each piece to its proper place. To allow the user to resign, the chess board includes a <resign> zone 253 which, when activated by the user with a piece (or other netpage sensing device), or specifically with the resigning king, signals the chess application that the user is resigning. The chess application signals that it is resigning by moving its king off the playing area, or specifically to its own <resign> zone. The board also includes a <new game> zone 252 which, when activated by the user with a piece (or other netpage sensing device), signals the chess application to abandon the current game and set up a new game. There may be multiple <new game> zones corresponding to different levels of game-play by the chess application, e.g. ranging from beginner through intermediate to advanced.
When a pawn reaches the opposing back line and is transformed into a queen, the chess application re-assigns the role of the robot, and updates the robot's display(s) accordingly.
The netpage robot bay holds a number of netpage robots. The surface of the bay is netpage position-coded to allow robots to navigate into and within the bay under host control. The bay incorporates a netpage sensor which allows it to detect when and where it is placed on a netpage, and a communications link to the host computer which allows it to report the id of the netpage it is placed on and its own position and orientation relative to the netpage. When the bay is placed on a netpage on which one or more netpage robots are located, the host computer can automatically instruct the robots to enter the bay. To this end the bay has a gentle ramp at its entry which a netpage robot is able to navigate. The chess board (or bay, or both) may also include a <gather> zone which, when activated by the user with a piece (or other netpage sensing device), signals the host to gather the robots in the bay.
The netpage robot bay incorporates a battery charging circuit for re-charging the batteries of the robots in the bay. The bay has an external power connection, and may incorporate a larger storage battery for offline operation. A robot may be automatically re-charged in the bay, or may re-charge in response to a re-charge instruction from the host.
The netpage robot may additionally incorporate a directional contact sensor, allowing it to detect and report to the host the presence of any unexpected obstacles. Such obstacles are “netpage-invisible” if they do not themselves incorporate netpage sensors or do not report their presence (and position) to the host. Any netpage robot is by definition netpage-visible and can therefore not become an unexpected obstruction.
To support games such as checkers which allow pieces to be stacked, the netpage robot is designed to be stacked. To this end its top surface is surrounded by a rim which is designed to mate with the undercarriage of another robot (this detail is not included in FIG. 1 and FIG. 2).
To support games such as checkers and go which only involve two kinds of pieces, the netpage robot may incorporate a simpler display or indicator system (such as an LED or a two-color LED), which can indicate which of the two roles the robot has been assigned.
There are many alternatives to the architecture described above, i.e. where a host computer mediates communication between robots and a (possibly remote) chess application. For example, one of the robots may be automatically designated as the master robot for the duration of the game (or longer), and may download the chess application for execution on its embedded processor. In this case the master robot controls the slave robots. As another example, the robots may act as peers, and may each download the chess application (or parts of it) and execute it collaboratively, communicating directly among themselves.
The key feature of the netpage robot system architecture is that the behavior of a collection of one or more robots derives from the particular netpage on which they are placed. When placed on a chess board the robots behave as chess pieces; when placed on a checkers board they behave as checkers pieces; etc. This is enabled by the netpage id (either directly or indirectly) identifying the application, the application controlling the robots (either remotely or embedded), and the robots navigating absolutely using the netpage position coding.
Marking Robot
The netpage robot may incorporate a marking device for marking a surface such as a paper surface. The marking device is under robot control, so that the robot can turn marking on and off in a position-dependent way. This may be effected using a digitally-controlled marking device 195 such as a MemjetTM printhead, or with a more traditional pen which can be moved into contact with the surface under robot control. The robot can support multiple colors via a multi-color printhead, or via multiple printheads, or via multiple colored pens. Suitable linear printheads are described in co-pending PCT applications WO 01/89839 entitled “Ink Jet Printhead Having a Moving Nozzle with an Externally Arranged Actuator”, filed 19 Oct. 2001, WO 01/89844 entitled “Ink Jet Printhead Nozzle Array”, filed 24 May 2000, and related applications incorporated by cross-reference therein and herein. Suitable circular printheads are described in co-pending PCT application WO 02/34531 entitled “Printhead for Pen”, filed 19 Oct. 2001.
Multiple robots can also be used, each carrying a differently-colored pen. These can be controlled sequentially or simultaneously to draw different parts of a multi-colored drawing.
When the user inserts a new pen cartridge into a robot, the robot may automatically determine the color of the pen by decoding a barcode on the surface of the cartridge, or by reading a value from a solid-state memory embedded in the cartridge. Alternatively, the user may activate a color-coded netpage hyperlink using the robot (or other netpage sensing device), thus notifying the computer system and/or corresponding application of the robot's new pen color. A palette of such color-coded hyperlinks may be provided on a separate general-purpose netpage or may be incorporated into the design of an application-specific netpage.
The marking robot may incorporate one or more printheads with a significant width, e.g. of the order of the diameter of the robot itself (as shown in FIG. 2). This allows the robot to draw lines with subtle structure, such as varying width and varying color texture. It also allows the robot to operate in raster mode, as opposed to (or in addition to) the vector mode described so far. In raster mode the robot can transfer a two-dimensional image to a surface in a single sweep, or build up a larger image in multiple sweeps. The source image may be a bit-mapped image such as a photograph, or it may be a set of vector strokes, e.g. corresponding to handwritten text. Reproducing handwritten text in raster mode may be significantly faster than reproducing it in vector mode, particularly if the height of the text is less than the width of the printhead(s). In raster mode the computer system (or the robot) keeps track of exactly which parts of the source image have been transferred to the surface, allowing the robot to transfer the image to the surface without gaps or overlaps between successive sweeps.
The marking robot, in addition to being responsive a command from its host to move to a specified position on a specified netpage, is also responsive to a command from its host to draw a line of a specified color while moving to the target position. As before, the host mediates communication between the robot and an application which is specific to the netpage (or netpage region) on which the marking robot is placed. The host may hide the drawing functions of the robot behind a line-drawing interface which it presents to the application. The application is then unaware of how the drawing functions are implemented. The robot may directly support the drawing of curved lines, i.e. during movement along curved paths, or the application (or host) may approximate curved lines by instructing the robot to draw a succession of shorter straight-line segments.
The line-drawing interface, or the robot itself, may be responsive to PostScript drawing commands (refer to Adobe Systems Incorporated, PostScript Language Reference (3rd Edition, Addision-Wesley 1999), the contents of which are incorporated herein by cross-reference).
When the marking robot marks a netpage, the markings persist as part of the netpage in the usual way. In this way they become persistent, reproducible, and searchable.
Applications of the marking robot include (but are not limited to): pure plotting of drawings, particularly where it is impractical for the user to utilize a large-format printer, but it is practical for the user to obtain a large-format pre-netpage-coded “blank”; collaborative markup, where each participant's contribution, typically hand-drawn or handwritten with a netpage pen, is robotically mirrored on each of the other participants' “work-in-progress” netpages; and system feedback in the absence of a page-oriented printer.
Remote Conferencing and Collaborative Markup
As described in the context of the chess application, when the user places one or more robots on a collaborative markup netpage the corresponding collaborative markup application can automatically assign each of the robots to represent one of the remote collaborative participants. If names, icons and/or photos representing the participants are available, then this information can be displayed on the robots. In the limit case, each robot's display can act as a video conferencing display for the remote participant it represents, i.e. continuously displaying video of the remote participant captured remotely via a video camera and transmitted over the network. The robot may also usefully incorporate a speaker 204 for relaying the remote participant's voice, and a microphone 201 for capturing voice input. The microphone may also be provided separately, e.g. attached to the host computer (or to the relay—see below).
A remote conferencing netpage application is described in co-pending PCT application WO 01/02940 entitled “Method and System for Conferencing”, filed 30 Jun. 2000. A collaborative document markup netpage application is described in co-pending PCT application WO 01/02939 entitled “Method and System for Collaborative Document Markup”, filed 30 Jun. 2000.
Mirroring Robot Movement
In the same way that a netpage robot can mirror the movement of a remote user's netpage pen, a robot can mirror the movement of a remote robot. The remote robot may be under direct or indirect user control, i.e. it may be being moved by the user's own hand, or it may be being moved under interactive computer control. For example, in an interactive tank game being played by multiple remote participants, each user may control their local tank via a graphical user interface on a PC. The tank may include a video camera for capturing a tank's-eye view of the game environment, and the video can be shown on the user's PC display together with various tank navigation controls. Alternatively the video can be shown on a conventional television set receiving the video wirelessly from the tank, independently of the computer system. In this case the user can also control the tank via a printed netpage tank control user interface and a netpage stylus, i.e. without any direct interaction between the user and a PC.
Each user may have an additional local tank robot representing each remote user's tank. Each such tank simply mirrors the corresponding remote tank's movements, under the control of the network-resident tank game application.
The robots may have a game-specific shape (such as the shape of a tank), or may be generic. They may also be general-purpose robots which can be inserted into low-cost game-specific bodies (e.g. tanks) for the purposes of specific games.
Motion Recording and Playback
As mentioned above, a user may directly move a robot, i.e. by hand, and have the movement mirrored by a remote robot. The user may also instruct a robot to record a hand-specified movement, and then have the robot replay the recorded movement. Recording (and playback) may be initiated by depressing a button on the robot, or by providing a control input through some other interface, such as by designating a <record> zone (or <playback> zone) on a netpage with a netpage sensing device (including the robot itself), or by specifying a command by other means, such as keyboard or mouse input to a computer system.
Motion recording and playback may be provided as a generic function of the host computer system, or may be provided by specific applications. In either case recording and playback rely on already-described mechanisms. Hand-specified motion may optionally be subject to smoothing by the computer system before playback, and a robot may also be instructed to follow a path at a different speed to the varying speed associated with the original hand-specified motion.
Robotic Viewer
A netpage viewer is a device which, when placed on a netpage, provides a registered interactive view of elements of the page underlying the viewer. The viewer incorporates a netpage sensor for determining its own position and orientation relative to the netpage, and to allow it to obtain interactive content specific to the page from the netpage system. A netpage viewer is described in co-pending PCT application WO 01/41046 entitled “Viewer with Code Sensor”, filed 27 Nov. 2000. A netpage viewer incorporating a printer is described in co-pending PCT application WO 01/41045 entitled “Viewer with Code Sensor and Printer”, filed 27 Nov. 2000.
A netpage viewer is usefully augmented with robotic capabilities, to allow the viewer to mirror movement of a remote viewer, or to allow the viewer to display remote netpage pen input on its display, wherever the input may appear on the page. The robotic netpage viewer will move to the area of the page where input is occurring, to allow the input to be displayed in registered fashion. This is particularly useful in a collaborative markup context as described above. The user may at any time move the viwer to a different part of the page to view earlier markup. If the viewer incorporates a printer, then remote (and local) markup can be simultaneously (and persistently) transferred to the underlying physical page.
Robot Controller
FIG. 4 shows a block diagram of the robot controller 200 and its associated peripherals. The integrated controller chip incorporates a processor 145 connected to a number of other components via a shared bus 146, including a working memory 148 (such as an SRAM). An off-chip non-volatile memory 147 (such as a flash memory) holds the fixed robot program and other persistent data. The controller includes a parallel interface for controlling the motor controllers 205, status LED(s) 116, and illumination LED(s) 131, and for sensing the optional contact switch 194. It includes a serial interface for communicating with a host computer (and/or other robots) via the radio transceiver 189, and for controlling the optional printhead 195. It includes an image sensor interface 152 for the netpage sensor's image sensor 132, an optional display interface 185 for the display 186, an optional ADC 202 for the microphone 201, and an optional DAC 203 for the speaker 204.
Robot Communication Flow
FIG. 5 shows a possible communication flow between a netpage robot 230 and associated networked entities in the context of the netpage system.
When the robot is placed on a netpage, its goal is to notify its presence to a corresponding robot control application 804, and begin receiving commands from the application. The robot typically has short-range wireless connectivity with a relay device 44, which itself typically has longer-range network connectivity to netpage system servers via wired LAN, WAN or a longer-range wireless link. The relay device may be a mobile phone, as described in co-pending PCT application WO 00/72286 entitled “Relay Device”, filed 24 May 2000; an interactive netpage printer, as described in co-pending PCT application WO 02/42894 entitled “Interactive Printer”, filed 26 Nov. 2001; etc.
The robot transmits its initial position report to the relay, including its robot id 220, the netpage id 50 of the page on which it finds itself, and its position (and orientation) 221 on the page. The relay is able to determine, with reference to one or more id servers 12, the server id 53 of the page server 841 which “owns” the page description of the page. Alternatively, the robot may itself be able to determine the server id 53 from the id server(s) 12, transparently via the relay 44. The robot may also implicitly incorporate the relay function if it has its own longer-range network connectivity.
The relay (or robot) then forwards the position report to the page server 841. The page server in turn determines which application 804 to forward the position report to. In the general netpage scheme, this consists of hit-testing the robot position against the various interactive elements embedded in the description of the page. For the purposes of robot control, all robot movement is usefully forwarded directly to the application without further interpretation by the page server. It is also possible to dispense with the page server entirely, and forward a robot position report directly from the robot (or relay) to an application as identified by the id server(s), or even as identified directly by the page id 50 embedded in the original page. Note that while the ids used in the netpage system are typically described as “pure” ids which do not support routing per se, it is also possible, for example, for these ids to be partial or complete Internet Protocol (IP) addresses, either in 32-bit (IPv4) or 128-bit (IPv6) form, thus directly supporting routing.
The application 804 eventually receives the robot position report by one of these mechanisms, and then interprets the position report with reference to the layout and semantics of the page identified by the page id 50. Since the application may be specific to a particular page layout (e.g. to the chess board), it may be able to assume the layout and simply use the page id to index a particular instance (e.g. a particular in-progress chess game). The application is then able to send commands 222 directly (or indirectly) to the robot, and receive further position input from the robot.
As mentioned earlier, there are many possible variations on this architecture, including downloading application logic into one or more robots, and distributed peer-to-peer robot control.
Application Context Class Diagram
FIG. 6 shows a generic application context class diagram, in UML notation, for a robot control application. The overall context 260 (e.g. corresponding to the chess application) includes a number of individual instances 261 (e.g. corresponding to individual chess games), each of which includes a number of robot roles 262 (e.g. corresponding to individual chess pieces' roles). The context also includes a number of known robots 263, each of which may optionally have been assigned a role 262. Each instance 261 is indentified by an instance id 265. The instance id may correspond to the netpage id of the corresponding page, or may correspond to a transaction id, embedded in the page description of the corresponding page, which gets forwarded to the application during robot interactions. Each role 262 is identified by a role id 266, and has a status 267 (e.g. indicating whether a chess piece is still in play or has been captured). Each robot 263 is identified by a robot id 220, i.e. the robot id of the corresponding physical robot 230, and a current position 269 derived from the most recent position 221 reported by the robot.
The present invention has been described with reference to a preferred embodiment and number of specific alternative embodiments. However, it will be appreciated by those skilled in the relevant fields that a number of other embodiments, differing from those specifically described, will also fall within the spirit and scope of the present invention. Accordingly, it will be understood that the invention is not intended to be limited to the specific embodiments described in the present specification, including documents incorporated by cross-reference as appropriate.
The invention may also be said to broadly consist in the parts, elements and features referred to or indicated herein, individually or collectively, in any or all combinations of two or more of the parts, elements or features, and wherein specific integers are mentioned herein which have known equivalents in the art to which the invention relates, such known equivalents are deemed to be incorporated herein as if individually set forth.
Although the preferred embodiment has been described in detail, it should be understood that various changes, substitutions, and alterations can be made by one of ordinary skill in the art without departing from the scope of the present invention.

## Claims

1. A system for moving mobile robots in accordance with a predetermined algorithm, said system comprising:
a surface having a position-coding pattern disposed thereon, the position-coding pattern identifying an identity of the surface;
one or more mobile robots for moving across said surface, each robot being configured for sensing and decoding the position-coding pattern; and
a computer system in communication with said one or more mobile robots,
wherein said computer system is configured to send instructions for moving each mobile robot relative to the surface in response to position information corresponding to said mobile robot,
wherein said computer system is configured to determine instructions for moving each mobile robot using a predetermined algorithm, said predetermined algorithm being selected on the basis of the identity of the surface,
and wherein said position-coding pattern encodes, at each of at least a given density of points on the surface, two-dimensional coordinates of the point.

2. The system of claim 1, wherein each mobile robot comprises
an on-board controller configured for wireless communication with the computer system;
a drive system connected to the controller, said drive system being configured for moving and steering the mobile robot relative to the surface; and
an image sensor for optically sensing the position-coding pattern, said image sensor system being connected to the controller such that said controller can communicate position data the computer system.

3. The system of claim 1, wherein the controller is configured to report arrival at a specified coordinate position to the computer system.

4. The system of claim 1, wherein each mobile robot incorporates a display.

5. The system of claim 4, wherein said display identifies a information corresponding to a respective mobile robot.

6. The system of claim 1 comprising a plurality of mobile robots, wherein said computer system is contained in one of said mobile robots.

7. The system of claim 1, wherein the surface is a game board and each mobile robot is a game piece for said game board.