referring to fig1 a stylus 11 is shown attached to a support apparatus which is , in turn , supported on a fixed surface . by electrical and electronic configurations described below , the stylus 11 is adapted to provide data from which a computer or other computing means such as a microprocessor can ascertain the position and orientation of the stylus as it moves in three - dimensional space . this information is then translated to an image on a computer display apparatus . the stylus 11 may be used , for example , by an operator to change the position of a cursor on a computer controlled display screen by changing the position and / or orientation of the stylus , the computer being programmed to change the position of the cursor in proportion to the change in position and / or orientation of the stylus . in other words , the stylus 11 is moved through space by the user to designate to the computer how or where to move the cursor on a computer display apparatus . also contemplated in the present invention is computer software and hardware which will provide feedback information from the computer to the stylus and cause forces on the stylus . this implementation is described in greater detail subsequently . the stylus 11 is a pen - like stick which can be manipulated between the fingers , allowing for much better control and fine dexterity as compared to full hand grips or palm - supported styluses used by some prior art inventions . while the stylus 11 is described in terms of manual manipulation , other stylus configurations are envisioned by the present invention . in particular , this invention includes manipulation by those unable to manually manipulate a pen . a stylus of the present invention , need not be linear , but may be curved or angled so that it may be held , for example , by the foot or the mouth of a person . because the stylus is supported by a support apparatus which is in turn supported by a fixed surface or other stabilizing configuration , the user can manipulate the stylus with a minimum of effort . also , if the user chooses to discontinue using the stylus , it is capable of maintaining its position in space , unattended . while fig1 shows that preferred embodiment of the present invention , fig5 - 8 show alternative embodiments , such which are also contemplated under the present invention . it is preferable that the stylus have enough degrees of freedom to enable it to move through the mechanical linkage to give the user the amount of flexibility needed to move the cursor as desired . in fig1 six degrees of freedom are shown and are labeled as axes a1 , a2 , a3 , a4 , a5 , and a6 . this , of course , provides maximum flexibility . fewer degrees of freedom , such as a plurality of degrees of freedom , may also be sufficient depending on the application . in one embodiment , the stylus is connected to rigid individual components which are joined together by joints . while not shown , other types of support apparatus &# 39 ; are included in the present invention . for example , other configurations include a semi - flexible rod or any other moveable while supportive configuration which can support the stylus in the manner described herein . in fig1 a mechanical linkage pursuant to the present invention is depicted . the stylus 11 is coupled to supportable mechanical linkages via joint 12 which , in the shown embodiment , houses sensors 13a and 13b . linkage 14 , is connected , via joint 15 having position sensors 16a and 16b , to linkage 17 . joint 18 in turn connects linkage 17 with the vertical base protrusion 20 which emanates from the base 21 . the sensors are used to produce a stylus locative signal which is responsive to and corresponds with the position of the stylus at any point in time during its normal operation . the stylus locative signal is used to provide information for use by a computer display apparatus of a computer . the term &# 34 ; joint &# 34 ; as used herein is intended to mean the connection mechanism between individual linkage components . in fact , two separate moveable members can be joined ; such together forming a joint . the base 21 , if necessarily , can be immobilized by securing it onto the fixed surface 23 by way of bolt , screw or other attachment mechanism 22 . moreover , the present invention implements mechanical leverage and rubbing friction ( not shown ) between the supportable mechanical linkages 14 and 17 and the joints 12 , 15 and 18 in order to provide resistance and support so as to allow better dexterity than can be achieved with free - floating stylus trackers . this support and leverage aids in reducing the fatigue associated with manipulating the free - floating stylus 11 . as mentioned above , attached to each joint 12 , 15 and 18 are sensors 13a , 13b , 16a , 16b , 19a , and 19b , respectively . these sensors sense the angle differential before and after motion of the two segments connected by that joint . the sensors can be , for example , optical incremental encoders , optical absolute encoders and potentiometers . because the three - dimensional position and / or orientation tracking is achieved mechanically , this preferred embodiment avoids problems that magnetic and ultrasonic sensors , such as those shown in the prior art , encounter with metal and shadowing . however , as shown in fig1 if desired , sensing means can be used to track the position and / or orientation of the stylus by mounting a single or several orientation sensors in the stylus 11 itself , such referred to as a stylus mounted sensor 11 &# 39 ;. an ultrasound , magnetic , optical or position and orientation sensor can be used as the stylus mounted sensor 11 &# 39 ;. fig1 also shows a clicker button 24 on stylus 11 . the button is connected to a switch which when in the on state , sends a signal to the computer giving it a command . in order to provide for accuracy when sending commands , this invention also includes a remote clicker unit . therefore , since the clicking motion occurs at a distant location from the cursor control , there is little or no opportunity to accidently move the cursor while making a command . fig1 shows two configurations for implementing this aspect of the present invention . the first is identified as an alternate hand - clicker 25 , the second as foot pedal 26 . digital buttons 27 and 28 which are connected to switches ( not shown ) on the remote attached peripherals such as a hand - held clicker unit 25 or a foot pedal 26 , respectively , can generate additional digital input such transmitted through lines 25 &# 39 ; and 26 &# 39 ; respectively . either of the shown ancillary remote command units , such including the hand unit 25 and the foot pedal 26 configurations , are favorable methods of inputting digital commands by command hardware or software ( not shown ) because pressing the button 27 or 28 does not compromise a user &# 39 ; s ability to hold the stylus steady whereas pressing any button 24 on the stylus does compromise stylus stability . referring to fig2 a , the sensors 13a , 13b , 16a , 16b , 19a and 19b , along with any peripherals 24 , 25 or 26 , can send their digital signals directly to a versatile floating - point processor or microprocessor 32a which is controlled by software stored in a digital rom ( read - only memory ) 35 via transmission line 32 &# 39 ; or another form of transmission , i . e ., radio signals . as shown in fig2 b , an alternative embodiment can be used to lessen the demands on the floating - point processor or microprocessor 32b . the digital inputs of the sensors 13a , 13b , 16a , 16b , 19a and 19b can be sent indirectly to the floating - point processor or microprocessor 32b by way of dedicated chips 13c , 13d , 16c , 16d , 19c and 19d , which pre - process the angle sensors &# 39 ; signals before sending them via bus 31 to the floating - point processor or microprocessor 32b which would combine these signals with those from the peripherals 24 , 25 or 26 . an 8 - bit data bus plus chip - enable lines allow any of the angle determining chips to communicate with the microprocessor . moreover , reporting the status of peripherals 24 , 25 or 26 includes reading the appropriate digital switch and placing its status in the output sequence array . some examples of specific electronic hardware usable for sensor pre - processing include quadrature counters , which are common dedicated chips that continually read the output of an optical incremental encoder and determine an angle from it , gray decoders , filters , and rom look - up tables . the single - chip configuration of fig2 a is most applicable where the angle sensors 13a , 13b , 16a , 16b , 19a and 19b are absolute sensors , which have output signals directly indicating the angles without any further processing , thereby requiring less computation for the microprocessor 32a and thus little if any pre - processing . the multi - chip configuration of fig2 b is most applicable if the sensors 13a , 13b , 16a , 16b , 19a and 19b are relative sensors , which indicate only the change in an angle and which require further processing for complete determination of the angle . in either configuration , if the microprocessor 32a or 32b is fast enough , it will compute stylus 11 position and / or orientation ( or motion , if desired ) on board the embodiment and send this final data through any standard communications interface such as an rs - 232 serial interface 33 on to the host computer system 34 and to computer display apparatus 34 &# 34 ; through transmission line 34 &# 39 ; or another form of transmission . if the microprocessor 32a or 32b is not fast enough , then the angles will be sent to the host computer 34 which will perform these calculations on its own . in addition to the single - chip and multi - chip configurations , a variation may consist of a single microprocessor which reads the peripherals , obtains the angles , possibly computes coordinates and orientation of the stylus 11 , and supervises communication with the host computer 34 . another variation may consist of dedicated sub - circuits and specialized or off - the - shelf chips which reads the peripherals , monitors the angle sensors 13a , 13b , 16a , 16b , 19a and 19b , determine the joint angles , and handle communications with the host computer 34 , all without software or a microprocessor 32a or 32b . software is only included in the two microprocessor - based configurations shown in fig2 a and 2b . the more dedicated hardware a given configuration includes , the less software it requires . the software consists of a main loop ( fig3 ) and an output interrupt ( fig4 a and 4b ). referring to fig3 the main command loop responds to the host computer 34 and runs repeatedly in an endless cycle . with each cycle , incoming commands 40 from the host computer are monitored 36 and decoded 37 , and the corresponding command subroutines for reporting angles , thus stylus position and / or orientation ( see fig4 a and 4b ), are then executed 38 . two possible subroutines are shown in fig4 a ( single - chip method ) and 4b ( multi - chip method ). when a subroutine terminates , the main command loop resumes 39 . available command will include but are not limited to : reporting the value of any single angle , reporting the angles of all six angles at one time , reporting the values of all six angles repeatedly until a command is given to cease aforementioned repeated reporting , reporting the status of peripheral buttons , and setting communications parameters . if the angle sensors require preprocessing , these commands will also include resetting the angle value of any single angle or otherwise modifying preprocessing parameters in other applicable ways . resetting pre - processed angle values or preprocessing parameters does not require output data from the device . the microprocessor 32a or 32b simply sends appropriate control signals to the preprocessing hardware 13c , 13d , 16c , 16d , 19c , and 19d . if the microprocessor or floating - point processor is fast enough to computer stylus coordinates and orientation , these commands will also include reporting the stylus coordinates once , reporting the stylus coordinates repeatedly until a command is given to cease , ceasing aforementioned repeated reporting , reporting the stylus coordinates and orientation once , reporting the stylus coordinates and orientation repeatedly until a command is given to cease , and ceasing aforementioned repeated reporting . if force reflection is supported , these commands will also include reporting the forces felt by any single joint , setting the resistance of any single joint , and locking or unlocking a joint . any report by the subroutines of fig4 a and 4b of a single angle value requires determining 41 the given joint angle . for the single - chip configuration shown in fig2 a , this subroutine directly reads the appropriate angle sensor 42 from among sensors 13a , 13b , 16a , 16b , 19a , and 19b . for the multi - chip configuration shown in fig2 b , this subroutine reads the outputs 43 of pre - processing hardware 13c , 13d , 16c , 16d , 19c , and 19d which have already determined the joint angles from the outputs of the sensors 13a , 13b , 16a , 16b , 19a , and 19b . any report of multiple angles is accomplished by repeatedly executing the subroutine for reporting a single angle . the subroutine is executed once per angle , and the values of all angles are then included in the output sequence array . if the optional parts of the subroutines 45 are included , then these subroutines become the coordinate reporting subroutines . many other command subroutines exist and are simpler yet in their high - level structure . after determining the given joint angle , the microprocessor 32a or 32b creates an output sequence 44a or 44b by assembling an array in a designated area of processor memory 35 which will be output by the microprocessor &# 39 ; s communications system at a given regular communications rate . the sequence will contain enough information for the host computer 34 to deduce which command is being responded to , as well as the actual angle value that was requested . returning to fig3 a query 36 in the main command loop asks whether the previous command requested repeated reports . if so , the main command loop is initiated accordingly . the communications output process ( not shown ) may be as simple as storing the output data in a designated output buffer , or it may involve a standard set of communications interrupts that are an additional part of the software . setting communications parameters does not require output data from the device . the microprocessor 32a or 32b simply resets some of its own internal registers or sends control signals to its communications sub - unit . to report the stylus &# 39 ; 11 coordinates , three of the five or six angle values are pre - read and knowledge of link lengths and device kinematics are incorporated to compute stylus 11 coordinates . these coordinates are then assembled in the output sequence array . to report the stylus &# 39 ; 11 orientation , at least five angle values are read and knowledge of link lengths and device kinematics are incorporated to compute stylus 11 orientation . the orientation consists of three angles ( not necessarily identical to any joint angles ) which are included in the output sequence array . forces felt by a joint , are reported setting a joint &# 39 ; s resistance , and locking or unlocking a joint are accomplished by using interaction of the microprocessor 32a or 32b with force - reflecting hardware . reporting forces felt by a joint uses a force sensor mounted on the joint and then places the resulting value in the output sequence array . to set a joint &# 39 ; s resistance and lock or unlock a joint control signals are used to control force - reflection hardware and do not require any output data from the device . also contemplated in the present invention is computer software and hardware which will provide feedback information from the computer to the stylus , such as host commands 40 ( shown in fig1 ). this type of implementation is known in robotics and thus is easily incorporated into a system including the present invention . when a surface is generated on the computer screen , the computer will send feedback signals to the mechanical linkage which has force generators identified by numerals 13a , 13b , 16a , 16b , 19a , and 19b ( which also identifies the sensors , see above ) for generating force f ( see fig1 ) in response to the cursor position on the surface depicted on the computer screen . force is applied for example , by added tension in the joints which is in proportion to the force being applied by the user and in conjunction with the image on the screen . the various configurations of the mechanical linkages shown in fig5 fig6 fig7 and fig8 which have different numbers of individual components and joints than shown in fig1 are illustrative of the numerous possible configurations which can provide varying degrees of freedom inherent in the present invention . referring to fig5 fig6 and fig8 note that a rounded object such as a ball can act as a joint having motion in three degrees of freedom . in conjunction with other mechanical linkages and attachments , this permits sufficient degrees of freedom for the purposes of the present invention . in each figure , the orientation of the degrees of freedom of each joint is depicted by curved lines , numbered consecutively . briefly , fig5 shows an embodiment having 6 rotary joints including a rounded joint 46 at the base such that three degrees of motion are available at that joint . fig6 shows an embodiment having 5 rotary joints and one linear joint including a three - dimensionally rotatable rounded joint 47 at the base through which one mechanical linkage can slide linearly and where the base is attached to a fixed surface 48 such that the surface does not prohibitively impede the movement of the device . fig7 shows an embodiment having 3 rotary joints and 3 linear joints , where the basal connection can slide about the base in a two - dimensional plane in the cross configuration 49 on base 51 . fig8 shows an embodiment having 5 rotary joints and one linear joint , including a three - dimensionally rotatable rounded joint 52 at a perpendicular projection from the base 53 through which one mechanical linkage 54 can slide linearly through the joint 52 . while any of the above discussed configurations or others can be used in accordance with the present invention , fig9 - 11 show different mechanisms for providing resistance to the manual manipulation of the stylus by the user . fig9 for example , shows return or tension springs 56 on each joint of the embodiment shown in fig1 . in an alternative embodiment , fig1 , shows counter - weights 57 on each joint . moreover , fig1 , shows a combination of a return or tension spring 56 , a counter - weight 57 and a compression spring 58 . the arrangement of the resistance mechanism used should depend upon the configuration stylus mechanical linkage combination , such arrangement preferably chosen to maximize the ease with which the user can manipulate the stylus 11 in free space in accordance with the present invention .
a method and apparatus for use with a computer for tracking the position of a user manipulatable object and for providing forces to lock the apparatus . the manipulatable object is coupled to a mechanical linkage which is supportable on a fixed surface and is tracked by sensors for sensing the location and / or orientation of the object . force generators coupled to the linkage can lock one or more joints of the linkage in position . a multiprocessor system architecture is disclosed wherein a host computer system is interfaced with a dedicated microprocessor which is responsive to the output of the sensors and provides the host computer with information derived from the sensors . the host computer runs an application program which responds to sensor information and can display images in accordance therewith .