VIRTUAL POSITIONING MEDIA CONTROL SYSTEM

Abstract: A control system for variably operable devices, such as spotlight systems (16) to follow the movements of a performer (12) over an area, derives control data from a tracking head (14) which follows the movements of the performer (12). The tracking head (14) may be operated manually to follow the performer. A frame of reference (10) is set up over the area (10A), the frame of reference including at least four calibration points (1, 2, 3, 4), any three of which are not collinear. The frame of reference (10) also includes a reference point of origin (C). From the X, Y, and Z coordinates of the tracking head with respect to the calibration points and from the pan and tilt angles of the tracking head, control commands for the variably operable apparatus are computed in real time.

Description: VIRTUAL POSITIONING MEDIA CONTROL SYSTEM TECHNICAL FIELD This invention relates to a control system for variably operable devices in response to movement of an object within an area, for example, movement of a person moving within an area of large extent such as a sports playing field or arena or an ice rink or stadium although it could also potentially be used in smaller area such as a theatre or T.V. studio. BACKGROUND ART There currently exist a number of 3D position tracking technologies which, operating within a variety of constraints, provide a certain number of updates per second over 3D volumes of varying size. One of these technologies is our GAMS (Gesture and Media System) technology as for example described and claimed in U.S. Patent Nos. 5,107,746 issued to Will Bauer on April 28, 1992 and No. 5,214,615 issued to Will Bauer on May 25, 1993 and No. 5,412,619 issued to Will Bauer on May 2, 1995. There are also other systems based on a variety of measurement methodologies. However, when confronted with the problem of tracking high speed movements over large areas such as ice rinks, sports playing field, etc. none of the systems of these patents or other known 3D tracking technology provide a useful tool for using the position of performers in large areas to control electronic media and other variably operable systems such as virtual electronic sets, robots, computer controllable cameras, and the like. The reasons for this are twofold: the first is that the tracking area of coverage is so large; the second is that performers such as professional skaters may move very quickly. Given the combination of these two difficulties presently available, completely automated system cannot currently follow performers moving a high speeds over large areas. Consider a skater performing on an ice rink. Current show performance practice dictates the use of between one to four "follow- spots" (spot lights which are operated by a human being and are pointed at the performer as he or she moves on the ice) . Any other lighting or sound effect must be played back from a recording and the performer must very carefully time their movements to the music and the lighting areas. Additionally, the need for such 3D information is not confined to performance situations. Often when a show involving lighting is on tour, its preset cues may be adjusted at each venue due to changes in stage shape. If one can move many lights at once to a new location on the stage (which is entirely possible given such 3D information) and automatically refocus them and resize their beam diameters, a considerable saving of time and money results. The present inventor has, therefore, addressed the problem in a different manner. DISCLOSURE OF THE INVENTION According to the invention there is provided a control system for variably operable apparatus in response to movement of an object over a large area comprising : a fixed frame of reference for said large area, comprising at least four calibration points any three of which are not collinear; a further reference point of origin establishing X, Y and Z coordinates of each of said calibration points, the X, Y and Z coordinates being calculable; a tracking head, having pan and tilt controls for tracking the movement of an object in the large area and measuring pan and tilt angles of the tracking head for each of said calibration points; a variably operable system and means to establish control positions of the variably operable system for each of said calibration points and for said point of origin; computer means to calculate in real time from said X, Y and Z coordinates and from said pan and tilt angles, a series of pan and tilt angles for the variably operable system, a series of the X, Y, Z position and/or the pan, tilt and rotation angle offsets of the tracking head and the variably operable system; and means to set in real time the variably operable system into conformity with its calculated pan and tilt angles therefor. Probably the variably operably system is a lighting or music system which may include a number of spot lamps. One or more spot lamps may be operated at a time and a further spotlamp may take over the operation as the skater moves out of range of a first spotlamp. Probably the moving object is a performer such as a skater, dancer or the like. The invention also includes a method of controlling variably operable apparatus using the system above described. An example of such control for an "intelligent" light involves the use of a high speed serial data communications protocol known as "DMX-512". DMX-512 ("DMX" for short) allows a series of lamps to receive commands from a lighting control console, computer, or similarly equipped device. These commands are usually transmitted about 44 times per second and allow control of the pan and tilt angles of the lamp plus brightness, colour, projection pattern ("gobos") , and a variety of other parameters. Using a computer equipped with a DMX interface card, it is a simple matter to write programs which direct the light to point at desired pan/tilt angles or modulate any other controllable parameters by sending the appropriate DMX data over the serial data cable to the light (s) in question. Such control may also be used to make possible the cross-fading of lamps when a performer moves out of range of one lamp and into range of another lamp. The brightness of the first lamp can be faded down as the performer moves away from one lamp and the brightness of the second lamp can be faded up as the performer moves towards it, thus assuring an even distribution of light on the performer at all times regardless of their position in the stage area. To understand the functioning of the system, consider a pan/tilt tracking head such as that found on a video camera tripod. This subsystem allows a flat plate (which normally holds a camera or some other imaging device but can hold other things such as a telescopic sighting device) to be rotated about two orthogonal axes (normally referred to as the "pan" and "tilt" axes) by a handle and is thus operable by a human. This tracking head can be pointed in any direction within an almost spherical area, limited only by its mounting methodology. Next, consider a tracking head with shaft encoder or other electronic means to allow measurement of each of the orthogonal pan and tilt angles. From this instrumentation, it is possible to obtain two angular quantities corresponding to the pan and tilt angles at which the head is oriented. These measurements can be obtained sufficiently frequently (up to several thousand times per second, e.g. 100 - 15000 times per second) as to be considered quasi-continuous for most applications. If the 3D X,Y,Z location of this tracking head plus any angular pan, tilt, or rotation offsets is known relative to some fixed frame of reference, and if the location of a plane area such as an ice-rink is also known relative to the fixed frame of reference; then it is possible to calculate the distance between the 3D position of the tracking head and a point on the plane area that is collinear with the radial path along which the tracking head is pointed. If the 3D position and angular offsets of the tracking head are known and the pan/tilt angles of where it is pointing are also known, then the coordinates of the point in the plane at which it is pointing can be determined. If the point happens to be, for example, a skater who is moving on an ice rink, as the tracking head is turned to follow the skater, a succession of "virtual" positions are generated giving the skater's position on the ice in three dimensions (assuming that they remain at a constant height above the ice) . Thus the instrumented tracking head acts like a 3D position tracking device attached to the skater, creating a series of virtual 3D measurements of the skater's trajectory over the ice surface. In addition to deriving a Z coordinate as mentioned above by projecting the pointing angle of the pan/tilt head and calculating its point of intersection with a plane at a known height Z = Zp, a radial ranging system can be utilized to measure Z directly and obtain the true value of the Z coordinate. To do this, the distance along the pan/tilt head sight line from the pan/tilt head to the performer (or other target) must be measured. One way to achieve this is to use a laser ranging system mounted parallel to the pan/tilt head's line of sight. Such ranging systems are well known to one skilled in the art and are available with accuracies from several metres to several millimetres. This virtual positioning information can be used very effectively to control electronic media in response to the performer's trajectory. It is quite possible "map" 3D positions, velocities and/or accelerations onto electronic media behaviours using computer programs with interfaces both to the position transducing equipment and also to common electronic protocols such as DMX (lighting) , MIDI (electronic music and machine control) , serial communications, other protocols such as TCP/IP and direct digital or analog electronic interfaces for camera pan/tilt control and the like. Some suitable computer programs have been generally described in U.S. Patents Nos. 5,107,746, 5,214,615 and 5,412,619 previously referred to. The present invention may use such programs but in conjunction with virtual positioning information from the tracking head rather than positioning information derived from a sensor attached to the performer's body. This is of particular use in large-scale situations which are beyond the current limitations of currently available automated 3D tracking systems. Using the system of the invention, the performer can take direct control of the cuing of the media events for the performance, allowing much more interesting effects to be created and utilized. Thus, instead of up to four human follow-spot operators, only one human is required to operate the virtual position tracking head; the response of all follow-spot lights, other lighting, computer controllable cameras, and other media events such as music, sound effects, and video projection are based on the virtual position information derived from the pointing of the tracking head at the performer as he or she moves on the ice. In order to use the virtual positioning system, there must be means of establishing the 3D location of both the tracking head and any relevant media, such as computer-controllable moving lights, relative to a fixed frame of reference. To accomplish this task, four calibration points are set on the surface of the ice rink or performing surface. These four points must be set out in such a way that any three of them are not collinear. Distances between them and a fifth centre point that defines the origin of the coordinate system can be used to establish their X and Y coordinate positions relative to the centre point which functions as the coordinate origin. Having established these measurements, the tracking head can be pointed at each of the four calibration points and the pan and tilt angle measurements of the tracking head for each calibration point can be obtained. The computer controlled lights and any other appropriate media may be calibrated in a similar manner. Given this information (knowledge of the X,Y,Z coordinates of the four calibration points relative to the centre plus the pan/tilt angles between the tracking head and follow-spot lights and the calibration points) it is possible to calculate both the X,Y,Z position of each light and tracking head plus the light/tracking head's pan, tilt, rotation angle offsets. Given these six calculated values (X,Y,Z, pan angle offset, tilt angle offset, rotation angle offset) there is complete information to allow the derivation of virtual position information and to allow the lights to be pointed at any virtual points desired. In addition to pointing the lamps, they can also be automatically focussed and irised based on the virtual positioning information. This ability to auto-iris/focus many lamps on one virtual point is very important for both real-time operation and for pre-show setup where lamp cue positions must be readjusted for each new venue (if a show is on tour) . BRIEF DESCRIPTION OF THE DRAWINGS Embodiments of the invention will now be described by way of example with reference to the drawings, in which: Figure 1 shows an arrangement of a system of utilizing single spot lamp for a performer on a large area; Figure 1A shows an arrangement similar to that of Figure 1 utilizing a lighting system comprising a plurality of lamps; Figure IB shows an arrangement similar to that of Figure 1 utilizing a lighting system, a music system and other systems; Figure 2 is a geometric presentation of the position of the tracking head or pan/tilt computer controlled media relative to the centre point and the four calibration points; Figure 3 is another geometric figure; Figure 4 is a detail of Figure 2; Figure 5 is a further geometric figure; and Figures 6A, 6B and 6C are further geometric figures used in calculating the location of a 3D point. MODES OF CARRYING OUT THE INVENTION In the drawing, an ice rink 10A has a frame of reference 10 established by calibration points 1, 2, 3 and . A further point of origin reference point is marked C. The virtual position 12 of a skater is shown. The virtual position 12 of a skater may be tracked by tracking head 14 under human control and being capable of a wide range of pan and tilt angles. The pan and tilt angles of the tracking head are measured by computer 15 and used to calculate pan and tilt angles of a spot light 16 in accordance with an algorithm. For the three dimensional shape as shown in Figure 2 0 represents the position of a tracking head or pan/tilt computer controlled media; 1, 2, 3 and 4 are calibration points of reference; and C is the origin of an arbitrary X,Y,Z coordinate system selected for its utility in serving as a frame of reference for calculations. It is first desired to calculate the 3D X,Y,Z coordinate position of Object "0" plus its three angular orientation angles (theta, phi, and gamma) . The available information is: a) Distances d lc , d 2c , d 13 , d 23 , d 14 , and d 24 . b) Pan and tilt angles β, p for the line segments R l r R 2 , R 3 and R 4 connecting point 0 with point 1, 2, 3 and 4 respectively, i.e. a line drawn through point 0 and point 1 can be expressed in radial coordinates (with point 0 as the coordinate origin) of (R-,, pan angle, tilt angle) where R 2 is the distance between point 0 and point 1 and "pan angle" and "tilt angle" are the pan and tilt angles around two orthogonal axes . This problem can be solved in four steps: a) Calculate the X,Y,Z coordinates of points 1, 2, 3 and 4 given the coordinate origin point C at (0,0,0) . b) Solve for radial distances R lf R 2 , R 3 and R 4 . c) Solve for the X,Y,Z 3D coordinates of point 0. d) Solve for the orientation angles (theta, phi, and gamma) of the object at point 0. The solution of each of these steps is exemplified below: a) Calculate the X,Y,Z coordinates of points 1, 2, 3 and 4 Consider Figure 3 comprising four points lying in a single plane (as will be explained below, three points are not enough to solve the problem and a fourth point is needed to obtain a solution) . Points 1 and 2 are collinear with the centre point C and may be defined as lying along the Y axis of the coordinate system with origin C. Points 3 and 4 can be anywhere as long as point 3 is on the left side of the Y axis, point 4 is on the right side of it and no three of points 1, 2, 3, and 4 are collinear,. Distances d lc , d 2c , d 13 , d 23 , d 14 and d 24 are known. Since points 1 and 2 lie along the Y axis, then, by inspection, their X,Y,Z coordinates are point 1 = (0,d lc ,0) and point 2 = (0, - d 2c ,0) assuming for convenience that the plane is at a height of Z = 0 and is parallel to the X-Y plane. Also obvious is the fact that d 12 = d lc +d 2c . From the theorem of Pythagoras, (2*d 12 ) and similarly, Y 4 = Y 1 -_ d 24 I±d 12 I^d 14 Il ( 2*d 12 ) Knowing which quadrant of the coordinate system point 3 is in, the X coordinate of point 3 can be determined as x 3 = - ^ - iY.-Y, 2 and the X coordinate of point 4 as Minor variations in solution similar to this one are obvious to one skilled in the art and will not be elaborated upon. X,Y,Z coordinates for points 3 and 4, have thus been found being: point 3 = (X 3 ,Y 3 ,0) and point 4 = (X 4 ,Y 4 ,0) . It should be noted that the calibration was arbitrarily assumed to be located at Z = 0. In fact, it could located at any constant Z value "Z cal " without compromising the calculations which follow. The only difference would be that the calculated Z coordinate of the object "0" would have to have Z cal added to it at the end of these calculations. b) Solve for radial distances R lf R 2 , R 3 , and R 4 Given are pan angles beta (β n ) and tilt angles rho (p n ) obtained by pointing tracking head 14 at each of calibration points 1, 2, 3, and 4 (i.e. n = 1, 2, 3, 4). Angles Z 12 , Z 13 , Z 14 , and Z 23 can be calculated. With some manipulation, the expression Cos(Z mn ) = Cos(p n )*Cos(p *Cos(β n -β m )+Sin(p n )*Sin(p ra ) or Z ran = Cos- 1 [Cos(p n )*Cos(pJ*Cos(β n -β +Sin(p n )*Sin(pJ ] can be obtained. Now, from the law of cosines it can be written that: di 2 2 = Rι 2 +R 2 2 -2*R 1 *R 2 *Cos (Z 12 ) d 13 2 = R 1 2 +R 3 2 -2*R 1 *R 3 *Cos (Z 13 ) d 14 2 = R 1 2 +R 4 2 -2*R 1 *R 4 *Cos(Z 14 ) d 23 2 = R 2 2 +R 3 2 -2 *R 2 *R 3 *Cos ( Z 23 ) Due to the nature of these equations, they are not amendable to normal, "closed-form" solution techniques even though there is enough information (3 equations in 3 unknowns) that a solution is possible. As one example of a solution, Rl can be numerically solved by using a computer to calculate a great many values of solutions of the quadratic equations: i) R 1 2 +R 2 2 -2*R 1 *R 2 *Cos (Z 12 )-d 12 2 = 0 = F(R 2 ) with R x fixed. ii) R 1 2 +R 3 2 -2*R 1 *R 3 *Cos (Z 13 )-d 13 2 = 0 = F(R 3 ) with R x fixed. iii) R 1 2 +R 4 2 -2*R 1 *R 4 *Cos(Z 14 )-d 14 2 = 0 = F(R 4 ) with R x fixed. It is clear from this that three points would not be enough to uniquely determine R x since a quadratic equation's solution has two roots which would result in two possible positions along the Ri-point 0 axis. Equations i) through iii) can be solved for a succession of R x values, obtaining the following pairs of roots for R 2 , R 3 , and R 4 for each R x value from the quadratic equations R 2d , R 2D , R 3a , R 3b , R 4a , R 4b . All possible trios of root values obtained from each R x value can now be tested. The error test function can be defined as the sum of the absolute values of the functions F(R 2root ), F(R 3root ), and F(R 4root ), i.e. E = I F (R 2root ) I+1 F (R 3root ) I+1 F (R 4root ) | One of these trios (for the right R x value) will give- a very low error, E. E should ideally be zero since with perfect root and R λ values, F(R 2 ) = F(R 3 ) = F(R 4 ) = 0. The possible root trios are: (R 2 a' ^3a. R 4 a) ' ( ^2a i ^3a ι ^4b) r ( R 2 a r ^-3b ' ^4a ) ' ( ^2a r ^3b r ^4b) i (R 2 b' ^3ar a) t ( ^2b ' ^3ar ∑ b ) r (° 2 b' ^3b r ^ a ) r (R 2 ' *^3b r ∑ b) • To solve numerically for R 1Λ R 2; R 3 and R 4 : a) Find the maximum Ri values that could possibly yield a solution, i.e. the largest R λ which yield two real roots for one of equations i), ii), or iii). b) Cycle through R λ values between R lmax and zero , evaluating the error function E for each trial R x value. c) Iterate over a steadily narrowing range of R-, values with a successively smaller "step" increment for R-, values until the value of E falls low enough for the accuracy desired. d) Pick the R x value with the lowest E and designate the solution to be "R llowE " plus the root trio ("R 2 ι owE ", "R 3l0wE ", and "R 4ιowE ") that yielded the lowest E value. c) Solve for the X,Y,Z 3D coordinates of point 0 Consider the tetrahedron of Figure 4. It is desired to solve for X 0 ,Y 0 ,Z 0 . Given is R l r R 2 , R 3 plus (X,Y,Z) coordinates for points 1, 2, and 3. It can be written: R = (X 0 -X x ) 2 +(Y 0 -Y ! ) 2 +(Z 0 -Z 1 ) 2 R 2 2 = (X 0 -X 2 ) 2 +(Y 0 -Y 2 ) 2 +(Z 0 -Z 2 ) 2 R 3 2 = (X 0 -X 3 ) 2 +(Y 0 -Y 3 ) 2 +(Z 0 -Z 3 ) 2 These equations can be solved easily by normal methods. A particularly simple and useful case is when Z 1 =Z 2 =Z 3 . The following is obtained: iii) Z 0 = γ/R s 2 -(X 0 -X s ) 2 -(Y 0 -Y s ) 2 +Z S s = 1,2 or 3. Clearly, a pair of points (m,n) or (q,r) must be chosen such that (X m - X n ) () 0 and (Y q - Y r ) <) 0. An easy way to do this to pick the pairs so that they are both on diagonals as shown in Figure 5. In Figure 5, choose 1,3 as the X 0 "m,n" pair and pick 2,4 as the Y 0 "q, r" pair. Substituting and solving equations i) and ii) the following is obtained: iv) Y 0 = C/[l+B*(X q -X r )/(Y q -Y r )] where C = (R r 2 -R q 2 +X q 2 -X r 2 +Y q 2 -Y r 2 -2A* (X q -X r ) ) /(2*(Y q -Y r )) and B = -(Y m -Y /(X m -X n ) and A = (R n 2 -R r 2 +X ra 2 -X n 2 +Y m 2 -Y n 2 ) /(2*(X π -X n )) X 0 can be obtained by substituting the Y 0 of equations iv) into equation i) at which point Z 0 is determined by equation iii) . d) Solve for the orientation angles (theta (θ) , gamma (Y) and phi (φ) of the object at point 0. To solve for the angular orientation of the object at point 0, the following information is available: pan and tilt angles β and p respectively obtained by pointing the object at the four points 1, 2, 3, 4 mentioned earlier in this document. The algorithm for the solution of this sub-objective is as follows: First the Cartesian coordinates can be calculated using the object's frame of reference and knowledge about the R, β, and p angles that were measured, i.e. X",Y",Z" of the calibration points are calculated relative to the object at the origin of its coordinate system. Secondly, the rotation angle theta θ can be calculated based on equations involving the object frame of reference based coordinates of the calibration points (X",Y",Z") and the known X,Y,Z coordinates of the calibration points. Thirdly, the tilt angle gamma γ can be calculated based on the theta θ value plus more equations comparing the object frame of reference coordinates with the (X,Y,Z) frame of reference of the calibration points. Fourthly and finally, the pan angle phi φ can be calculated based on both theta θ and gamma γ. This is done numerically because there is often too much error propagation for a closed-form calculation to handle. The numeric solution (where the best phi φ is chosen to make the predicted calibration point locations match the actual ones) allows phi φ to be "tuned" to compensate out some of the errors made in calculating theta θ and gamma y which makes the whole solution work much better. The solution is based on the fact that one can rotationally transform the object O's position between the (X,Y,Z) coordinate system established via the four calibration points and an (X",Y",Z") coordinate system having point 0 as its centre. The angles required to properly transform the known (X,Y,Z) coordinates of the calibration points into the (X",Y",Z") coordinates calculable based on the β n , p n pan/tilt angles are the theta θ, gamma γ, and phi φ we are searching for. Our transformation equations between (X,Y,Z) coordinates and (X",Y",Z") coordinates as we apply rotations, in this order, are: a) Rotation about Z axis: i) X' = X*Cos(-θ)+Y*Sin(-θ) ii) Y' = -X*Sin(-θ)+Y*Cos(-θ) b) Rotation about X' axis: i) Y" = Y'*Cos (γ)+Z*Sin(γ) ii) Z' = -Y'*Sin(γ)+Z*Cos (y) c) Rotation about Y' axis: i) X" = X'*Cos(φ)+Z'*Sin(φ) ii) Z" = -X'*Sin(φ)+Z'*Cos(φ) Note that the (X,Y,Z) coordinates given here are really (X cn -X 0 , Y cn -Y 0 , Z cn -Z 0 ) , i.e. the (X,Y,Z) position relative to the object as the origin of the X,Y,Z coordinate system. There is enough information to calculate four sets of (X",Y",Z") coordinates, i.e. the calibration point positions as seen from a frame of reference whose origin is the location of the object 0. Clearly, angles β and p can be expressed (for n = 1, 2, 3, 4 signifying calibration points 1, 2, 3, 4 respectively) : β n = Tan- 1 [ (X 0 -Xn)/(Z 0 -Z n ) ] and Pn Cos "1 f (Z 0 -Z n ) Vd+Tan 2 (β n ) This can be rewritten for (X",Y",Z") coordinates as Pn Cos -1 ■C*v (l+TartHa n R„ or We can get the sign of Z" n right by checking β n and making Z" r = -Z" n if Cos(β n ) } 0. Similarly, for X" n X" n = -Z" n *Tan(β n ) and it follows that Y" n = R n *Sin(p n ) which also gives us a sign for Y". Thus (X" 1 ,Y" 1 ,Z" 1 ), (X" 2 ,Y" 2 ,Z" 2 ), (X" 3 ,Y" 3 ,Z" 3 ), and (X" 4 , Y" 4 , Z" 4 ) can be calculated using angles p x ..p 4 , β x .. β 4 and radial values R : .. R 4 (the radial distances from the object to the four calibration points) . Relative distance coordinates can then be defined as (X rl , Y rl , Z rl ) , (X r2 t 1 2t Z r2 ) , (X r3 r ■ r 3 r Z r3 ) , (X r , Y r4 , Z r4 ) tO e the positions relative to the object at point 0, i.e. Yrn = Y x n -Yo Z rn = Z n -Z 0 for n = 1,2,3,4 Given all of this, we can solve b)i) for angle theta θ as: θ = Tan _1 [J/K] where J = [ [Y r2 -Z r2 /ZτyY τl ) * {Y" 3 -Z τZ /Z Λ *Y ) - (Y r3 -Zr 3 /Z rι *Y rl ) * (Y" 2 -Zr 2 /Z rl *Y\) ] and K = [(Y" 2 -Z r2 /Z rl *Y" 1 )*(Z r3 /Z rl *X rl -X r3 )- Angle gamma γ can then be solved using equation b)i) to obtain: Cos(γ) = [(Y" 2 *Z rl -Z r2 *Y" 1 )/(Z rl *(Y' 2 -Y' 1 ) )] and Sin(γ) = [(Y" 2 *Y' 1 -Y' 2 *Y" 1 )/(Z r2 *Y' 1 -Z rl *Y' 2 )] Knowing both the Sin and Cos of gamma γ allows us to set the sign of the angle properly by making it equal to - (π+oldγ) if Cos (γ) ( 0, after which we can easily obtain gamma γ as: Y = Cos -1 [Cos (adjustedy) ] Having obtained theta θ and gamma γ, we can now solve for phi φ numerically since it has often been found that a calculated value of phi φ produces too much error due to error propagation through the theta θ and gamma γ calculations. This can be done by taking all of the equations a) through c) i) and ii) and computing (X" n , Y" n , Z" n ) using angles theta θ, gamma Y and "test" angle phi φ test which ranges over the full range of possible phi φ values. The "best" phi φ value will be the one that minimizes the error function that is p — |γ" _ V IJ-IY" _V" + |7" —7" I j phi | Λ n Λ ntest I I x n x ntest I " n ntest I for n = 1,2,3,4 As is usual in numeric solutions, phi φ values can be iterated over successively smaller ranges with finer incremental steps until the desired level of accuracy is reached. Having completed the last step of the algorithm, a solution to the problem has been reached. X,Y,Z coordinates of the object have been computed, plus its theta θ, gamma γ and phi φ angular orientation offsets and there is complete information to be able to direct the object (through remote control of pan/tilt angle positioning) to point at any (X,Y,Z) position such as a moving performer. Having derived a method of obtaining the 3D X, Y, Z position and angular orientation offsets theta θ, gamma γ, and phi φ. It is now necessary to find the coordinates of the point (X p , Y p , Z p ) lying in the plane Z = Z p and being pointed to by a pan/tilt tracking head located at (Xh, Yh, Zh, ΘH, yH, φH) and having pointing angles β (pan) and p (tilt) . The process is started by choosing an arbitrary test point (Xt,Yt, Zt) located on the line of sight indicated by the pan/tilt head's pan and tilt angles. From the point of view of the pan/tilt head, the coordinates of the test point are (Xt", Yt", Zt") so that when using the pan/tilt head's pan/tilt/rotation axes as the frame of reference with the head located at X" = 0, Y" = 0, Z" = 0, the location (Xt", Yt", Zt") is obtained. It is convenient if the Zt" coordinate of the test point is arbitrarily set to be equal to the difference between the height of the head (Zh) and the plane Z = Zp so that we define Zt" as: Zt" = - (Zh-Zp) *Cos (p) . This is indicated by Figure 6A. Given this situation, it is easy to calculate Xt" = (Zh - Zp)*Sin(B) and Yt" = (Zh - Zp)*Tan(B) as shown in Figures 6B and 6C. Having calculated values for this point (Xt", Yt", Zt") the point may be "back-rotated" through the pan/tilt head's orientation angles φH, yH, and ΘH to obtain the (Xt, Yt, Zt) coordinates of the same point. This is done through the following rotational transformations derived earlier for calculation of the initial position and orientation of an object capable of pan/tilt pointing. To transform from X", Y", Z" coordinates to X, Y, Z coordinates (still with the pan/tilt head as the origin) the following rotations are done in the following order: 1) Rotation about the Y" Axis: i) X' = X"*Cos(-φH) + Z"*Sin(-φH) ii) Z' = X"*Sin*(-φH) + Z"*Cos(-φH) 2) Rotation about the X' Axis: i) Y' = Y"*Cos(-γH) + Z'*Sin(-γH) ii) Ze = -Y"*Sin(γH) + Z'*Cos(-γH) 3) Rotation about Z Axis: i) Xe = X'*Cos(ΘH) + Y'*Sin(ΘH) ii) Ye = -X'*Sin(θH) + Y'*Cos(θH) To convert from the pan/tilt head centered Xe, Ye, Ze to a normal origin, the X, Y, Z coordinates of the pan/tilt head are added, i.e. Xt = Xe + Xh Yt = Ye + Yh Zt = Ze + Zh The test point (Xt, Yt, Zt) will line on the pointing line along which the pan/tilt head is sighting. This point can thus be used plus the pan/tilt head location (Xh, Yh, Zh) to determine the equation of this line in 3-space. Given the equation of this sight line, a calculation may be made of where it intersects the plane Z = Zp and what the planar coordinates Xp, Yp of this point are. This may be done in the following manner : From normal solid analytic geometry it is known that the equation of a line in 3-space is: (X -XI) /u = (Y - Yl)/v = (Z - Zl)/w where u = X2 - XI, v = Y2 - Yl, and w = Z2 - Zl. We set XI = Xh, Yl = Yh, Zl = Zh, X2 = Xt, Y2 = Yt, Z2 = Zt, and X = Xp, Y = Yp, Z = Zp . Knowing Zp it is possible solve for Xp and Yp : Xp = (Zp - Zh) *u/w + XI or Xp = (Zp - Zh)/(Zt - Zh) * (Xt - Xh) + XI Yp = (Zp - Zh)*v/w + Yl or Yp = (Zp - Zh)/(Zt - Zh) * (Yt - Yh) + Yl The values of Xp and Yp have now been calculated. Combined with the knowledge of the value for Zp the coordinates (Xp, Yp, Zp, ) towards which the pan/tilt head is pointing are now known. Given these calculations we now have enough information to be able to calculate the pan/tilt angles (or other control parameters) necessary to direct lights and other media to point at our virtual position (Xp, Yp, Zp) . The calculation of such angules is straight forward to one skilled in the art and will not be detailed here.

Claims: CLAIMS : 1. A control system for variably operable apparatus in response to movement of an object over a large area characterized in that it comprises: a fixed frame of reference (10) for said large area (10A), comprising at least four calibration points (1,2,3,4) any three of which are not collinear; a further reference point of origin establishing X, Y and Z coordinates of each of said calibration points, the X, Y and Z coordinates being calculable; a tracking head, having pan and tilt controls for tracking the movement of an object in the large area and measuring pan and tilt angles of the tracking head for each of said calibration points; a variably operable system and means to establish control positions of the variably operable system for each of said calibration points; computer means to calculate in real time from said X, Y and Z coordinates and from said pan and tilt angles, a series of pan and tilt angles for the variably operable system, a series of the X, Y, Z position and/or the pan, tilt and rotation angle offsets of the tracking head and the variably operable system; and means to set in real time the variably operable system into conformity with calculated pan and tilt angle offsets therefor. 2. A control system as claimed in claim 1 in which the variably operable system is a system selected from lighting systems, computer controllable cameras, music systems, sound effect systems and computer controllable video projectors. 3. A control system as claimed in claim 2 in which said lighting system comprises a plurality of lamps. 4. A control system as claimed in claim 3 in which said means to operate said variably operable system includes means to independently operate each lamp of said lighting system. 5. A control system as claimed in claim 1 in which said pan and tilt controls for measuring pan and tilt angles of the tracking head are capable of 100 - 15000 measurements per second. 6. A method of controlling variably operable apparatus in response to movement of an object over a large area characterized in that it comprises: establishing a fixed frame of reference for said large area, comprising at least four calibration points any three of which are not collinear; establishing a further reference point of origin establishing X, Y and Z coordinates of each of said calibration points and calculating the X, Y and Z coordinates; tracking the movement of an object in the large area using a tracking head, having pan and tilt controls and measuring pan and tilt angles of the tracking head for each of said calibration points; establishing control positions of the variably operable system for each of said calibration points; calculating in real time using computer means and algorithms, from said X, Y and Z coordinates and from said pan and tilt angles, a series of pan and tilt angles for the variably operable system, and a series of the X, Y, Z positions and of the pan, tilt and rotation angle offsets of the tracking head and the variably operable system; and setting in real time the variably operable system into conformity with calculated pan and tilt angle offsets therefor. 7. A method as claimed in claim 6 in which the variably operable system is a system selected from lighting systems, computer controllable cameras, music systems, sound effects systems and computer controllable video projectors. 8. A method as claimed in claim 7 in which said lighting system comprises a plurality of lamps. 9. A control system as claimed in claim 8 in which said means to operate said variably operable system includes means to independently operate each lamp of said lighting system. 10. A method as claimed in claim 6 in which 100 - 15000 measurements of pan and tilt angles of the tracking head are made each second.

Inventors: BAUER WILL N, BAUER, WILL, N.
Applicants: BAUER WILL N, BAUER, WILL, N.
Application year: 1998
Main classification: H04N5
IPC codes: F21S10, G01S5, G10K15, H04N5, H05B37