Solar timer using GPS technology

09551980 ยท 2017-01-24

Assignee

Inventors

Cpc classification

International classification

Abstract

In a GPS-equipped device such as a smart phone or a tablet computer with a compatible operating system, a useful dynamic display of directional and timing information is provided based on GPS data obtained through conventional means processed according to computational modules or applications stored on the device. These displays include a solar timer, a compass dial and other date, time and location-based information. Underlying the displayable information is a database of information that is processed with input from an accurate compass employing a calculated reference line based on two time-separated GPS readings and a direction parameter.

Claims

1. A computer-readable non-transitory storage medium embodying information indicative of instructions for a dynamic compass application, the instructions causing one or more computers to perform operations comprising: providing a target location; calculating a first location of a mobile device based on global positioning system (GPS) signals received at a mobile device; establishing the first location as a reference location in response to a user input on the mobile device; determining, by the mobile device, that the mobile device with the GPS receiver has been physically moved by the user a sufficient distance from the reference location to obtain a preselected accuracy for directional information to the target location; indicating, on a display of the mobile device, that the mobile device has moved the sufficient distance; accepting an input from a user signifying that the user has aimed the mobile device toward the reference location; computing a second location of the mobile device based on GPS signals received at the mobile device; generating a reference line between the reference location and the second location, the mobile device being aimed along the reference line at the reference location; determining an angle between the reference line and a target location; and displaying, on a display of the mobile device, the angle to the target location by which the user can turn the mobile device from aiming along the reference line at the reference location to correctly point to the target location.

2. The medium of claim 1 wherein the first location is established at a first point in time and the second location is computed at a second point in time, the operations further comprising: depicting, on the display of the mobile device, solar, terrestrial, and lunar positions in time and direction with respect to the mobile device; calculating and displaying sunrise and sunset angles and times of a current date and a season for a specific position on Earth; and calculating and displaying moon phases and times of the current date.

3. The medium of claim 1 wherein the first location is established at a first point in time and the second location is computed at a second point in time, wherein the operations further comprise: depicting, on the display of the mobile device, solar, terrestrial, and lunar positions in time and direction with respect to the mobile device; calculating and displaying sunrise and sunset angles and times of a current date and a season for a specific position on Earth; and calculating and displaying moon phases and times of the current date.

4. The medium of claim 1 wherein the operations further comprise: determining, from information input to the mobile device, a chosen terrestrial location at a first point in time, wherein the determining of information on the terrestrial-position-specific solar location is based on the chosen terrestrial location, wherein the determining of the terrestrial-position-specific lunar location information is based on the chosen terrestrial location.

5. The medium of claim 1 wherein the operations further comprise: determining information on a terrestrial-position-specific solar location based at least in part on the second location and information on a first lunar position that indicates a position of the moon relative to the second location; determining terrestrial-position-specific lunar location information based at least in part on the second location and said information on the terrestrial-position-specific solar location that indicates a position of the sun relative to a second terrestrial location that may be the same as the second location; and displaying, on the display of the mobile device, a first display region that includes a plurality of display elements, wherein a first display element of the plurality of display elements indicates the terrestrial-position-specific lunar location information, and a second display element of the plurality of display elements indicates the terrestrial-position-specific solar location information.

6. The medium of claim 5 wherein the operations further comprise: displaying a second display region that includes: (a) a map element that is generated based at least in part on the chosen location information; and (b) a compass display that is at least partially overlaid over the map element.

7. The medium of claim 5 wherein the operations further comprise: calculating and displaying sunrise and sunset angles and times of a current date and a season for a specific position on Earth; calculating and displaying moon phases and times of a current date; and producing a compass display.

8. The medium of claim 5 wherein the operations further comprise: determining, from information input to the mobile device, a chosen terrestrial location at a first point in time, wherein the determining of information on the terrestrial-position-specific solar location is based on the chosen terrestrial location, wherein the determining of the terrestrial-position-specific lunar location information is based on the chosen terrestrial location.

9. A method comprising: providing a target location; calculating a first location of a mobile device based on global positioning system (GPS) signals received at a mobile device; establishing the first location as a reference location in response to a user input on the mobile device; determining, by the mobile device, that the mobile device with the GPS receiver has been physically moved by the user a sufficient distance from the reference location to obtain a preselected accuracy for directional information to the target location; indicating, on a display of the mobile device, that the mobile device has moved the sufficient distance; accepting an input from a user signifying that the user has aimed the mobile device toward the reference location; computing a second location of the mobile device based on GPS signals received at the mobile device; generating a reference line between the reference location and the second location, the mobile device being aimed along the reference line at the reference location; determining an angle between the reference line and a target location; and displaying, on a display of the mobile device, the angle to the target location by which the user can turn the mobile device from aiming along the reference line at the reference location to correctly point to the target location.

10. The method of claim 9 further comprising: determining information on a terrestrial-position-specific solar location based at least in part on the second location and information on a first lunar position that indicates a position of the moon relative to the second location; determining terrestrial-position-specific lunar location information based at least in part on the second location and said information on the terrestrial-position-specific solar location that indicates a position of the sun relative to a second terrestrial location that may be the same as the second location; and displaying, on the display of the mobile device, a first display region that includes a plurality of display elements, wherein a first display element of the plurality of display elements indicates the terrestrial-position-specific lunar location information, and a second display element of the plurality of display elements indicates the terrestrial-position-specific solar location information.

11. The method of claim 10 further comprising: displaying a second display region that includes: (a) a map element that is generated based at least in part on a chosen location information at a first point in time; and (b) a compass display that is at least partially overlaid over the map element.

12. The method of claim 10 further comprising: calculating and displaying sunrise and sunset angles and times of a current date and a season for a specific position on Earth; calculating and displaying moon phases and times of a current date; and producing a compass display.

13. The system of claim 10 wherein the instructions further comprise: program code for determining, from information input to the mobile device, a chosen terrestrial location at a first point in time, wherein the determining of information on the terrestrial-position-specific solar location is based on the chosen terrestrial location, wherein the determining of the terrestrial-position-specific lunar location information is based on the chosen terrestrial location.

14. A dynamic compass application system comprising: at least one processor; a memory coupled to the at least one processor, the processor executing instructions from the memory comprising: program code for providing a target location; program code for calculating a first location of a mobile device based on global positioning system (GPS) signals received at a mobile device; program code for establishing the first location as a reference location in response to a user input on the mobile device; program code for determining, by the mobile device, that the mobile device with the GPS receiver has been physically moved by the user a sufficient distance from the reference location to obtain a preselected accuracy for the directional information to the target location; program code for indicating, on a display of the mobile device, that the mobile device has moved the sufficient distance; program code for accepting an input from a user signifying that the user has aimed the mobile device toward the reference location; program code for computing a second location of the mobile device based on GPS signals received at the mobile device; program code for generating a reference line between the reference location and the second location, the mobile device being aimed along the reference line at the reference location; program code for determining an angle between the reference line and a target location; and program code for displaying, on a display of the mobile device, the angle to the target location by which the user can turn the mobile device from aiming along the reference line at the reference location to correctly point to the target location.

15. The system of claim 14 wherein the instructions further comprise: program code for determining information on a terrestrial-position-specific solar location based at least in part on the second location and information on a first lunar position that indicates a position of the moon relative to the second location; program code for determining terrestrial-position-specific lunar location information based at least in part on the second location and said information on the terrestrial-position-specific solar location that indicates a position of the sun relative to a second terrestrial location that may be the same as the second location; and program code for displaying, on the display of the mobile device, a first display region that includes a plurality of display elements, wherein a first display element of the plurality of display elements indicates the terrestrial-position-specific lunar location information, and a second display element of the plurality of display elements indicates the terrestrial-position-specific solar location information.

16. The system of claim 15 wherein the instructions further comprise: program code for displaying a second display region that includes: (a) a map element that is generated based at least in part on a chosen location information at a first point in time; and (b) a compass display that is at least partially overlaid over the map element.

17. The system of claim 15 wherein the instructions further comprise: program code for calculating and displaying sunrise and sunset angles and times of a current date and a season for a specific position on Earth; program code for calculating and displaying moon phases and times of a current date; and program code for producing a compass display.

18. The system of claim 14 wherein the first location is established at a first point in time and the second location is computed at a second point in time, the instructions further comprising: program code for depicting, on the display of the mobile device, solar, terrestrial, and lunar positions in time and direction with respect to the mobile device; program code for calculating and displaying sunrise and sunset angles and times of a current date and a season for a specific position on Earth; and program code for calculating and displaying moon phases and times of the current date.

19. The system of claim 18 wherein the instructions further comprise: program code for determining, from information input to the mobile device, a chosen terrestrial location at a first point in time, wherein the determining of information on the terrestrial-position-specific solar location is based on the chosen terrestrial location, wherein the determining of the terrestrial-position-specific lunar location information is based on the chosen terrestrial location.

20. The system of claim 18 wherein the first location is established at a first point in time and the second location is computed at a second point in time, wherein the instructions further comprise: program code for depicting, on the display of the mobile device, solar, terrestrial, and lunar positions in time and direction with respect to the mobile device; program code for calculating and displaying sunrise and sunset angles and times of a current date and a season for a specific position on Earth; and program code for calculating and displaying moon phases and times of the current date.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a graph showing the variation of the Earth's magnetic north pole over time.

(2) FIG. 2 is a line drawing representation of a display of a device according to the invention, without the magnetic compass option.

(3) FIG. 3 is a line drawing representation of a display of a device according to the invention with a magnetic compass option enabled.

(4) FIG. 4A is a diagram illustrating reference line selectionunfolded.

(5) FIG. 4B is a diagram illustrating reference line selectionfolded.

(6) FIG. 5 is a view of a GPS compass with a data entry window.

(7) FIG. 6 is a graph showing variation in sun elevation angle at locations above the Arctic Circle.

DETAILED DESCRIPTION OF THE INVENTION

(8) The subject matter of embodiments of the present invention is described herein with specificity to meet statutory requirements, but this description is not necessarily intended to limit the scope of the claims. The claimed subject matter may be embodied in other ways, may include different elements or steps, and may be used in conjunction with other existing or future technologies. This description should not be interpreted as implying any particular order or arrangement among or between various steps or elements except when the order of individual steps or arrangement of elements is explicitly described.

(9) The basis of the present invention is a GPS compass incorporated into a device with a display, a processor, storage memory and manual input as well as inputs from sensors, and in particular in a portable device such as a smart phone or tablet computer equipped with a conventional GPS receiver that depicts positions of interest in time relationship of terrestrial and celestial bodies in connection with the compass. Thus the invention is instantiated in a smart phone or a tablet computer application that can be installed on a variety of platforms through a selection of mobile operating systems. The method underlying the present invention is the defining of a Reference Line and relating the directions toward a desired target referenced to it. The Reference Line becomes equivalent to a conventional magnetic compass needle and the target direction will be calculated taking the reference line as the reference direction. To define a line, two points are needed. In this case these are called the Reference Point and the Mark Point. The Reference Line can be in any direction but the angle errors are related to its length and its orientation with respect to the target coordinates. To obtain reasonable accuracy in any direction and target coordinates, the distance between the Reference and Mark points should be in the order of 200 meters or greater. However, a lesser separation is suitable for many applications.

(10) A user defines a Reference Point by recording the GPS coordinates of it by just pressing a button on the GPS compass display and then physically moving away from it while the GPS receiver monitors satellite transmissions. When moved far enough, the device will indicate that the distance from the reference point is sufficient and suitable for giving accurate enough directional information to the selected target referenced to the reference line based on any preselected accuracy criteria. The user than turns and points the device toward the Reference Point and records the current GPS coordinate as the Mark Point, again by just pressing a virtual button on the GPS compass display. After entering the GPS coordinates of the target, the GPS compass calculates the angle that the user (actually the device) must turn in order to point to the target.

(11) The GPS compass will also generate a compass dial display with conventional markings, such as North, South, East and West, referenced to the reference line pointing towards to the Reference Point.

(12) Thus in principal, walking a distance in the order of 200 meters and pressing two buttons and entering a target GPS coordinate will provide compass capability to anyone with a commercial grade GPS device having some computing capabilitiesanywhere and any time on Earth with a consistently reasonable accuracy. Since the required hardware is available in a smart phone this technique is utilized with a simple user interface.

(13) With a baseline of greater than 200 meters of distance between the Reference Point and the Mark Point, the majority of the errors are due to aiming error in pointing to the Reference Point from the Mark Point as well as due to errors made during turning towards to the target. This is user dependent. The error is typically expected to be less than 6 degrees.

(14) GPS Compass

(15) In a specific embodiment of a device according to the invention, there is an application program that produces a graphical display with a variety of information that is displayed on a display element of a platform of a GPS-equipped device such as a smart phone or tablet computer. Within the display element, the top left region has a compass dial. In the bottom row there are two identical data entry windows named Reference Point and Mark Point. They have data fields for latitude and longitude, with three icons below them. The icons are the yellow node pad which corresponds to the Location in the main menu display, map and a parabolic antenna, which symbolizes the GPS as shown in FIG. 5. On the top row, next to the compass there is a data entry window named Target. The data entry window looks the same as Reference Point and Mark Point data entry windows but with an additional data display line in the bottom giving the calculated turning angle when facing the Reference Point from the Mark Point in clock-wise direction and distance to the target side by side.

(16) According to the invention, most of the calculated detailed information is displayed numerically in the form of tables and graphs accessed through a tool bar which has menu icon buttons in the bottom of the touch screen. With an additional options button that gives a different number of options for each selected menu item, there is access to a very large number of calculated information using different display pages. All of the information is grouped, so any selected menu item has related information.

(17) The smart phone or tablet display area is split into three regions. FIG. 2 illustrates a graphical explanation of the input and output display functions. The majority of the display area is for showing the map of choice, which is a map background to the display. A sample map is not shown in order to allow better depiction of the overlay functions. In the center there is the unique Compass Dial superimposed on a map, such as may be obtained by available online resources. The three regions of display have several areas as follows.

(18) The Header Display Area

(19) The header display area is located on top of the smart phone display as seen in FIGS. 2 and 3. In the center top of it the application a banner for program name may be displayed. The options button which is located on the upper right corner of the touch screen display of the smart phone is indicated as a common symbol of > as shown in FIG. 2.

(20) Date and the Time Information Area

(21) Beneath the banner is the date and the local time, which is given in the form of GMTn (Greenwich Mean Time), where n is calculated from the GPS coordinates. The local time is obtained from the cell phone provider, which might have been adjusted with the day light savings time, is given outside of the banner display area at the very top where service and battery status is displayed. Along with this smart phone status information, cell phone provider information, the cell phone signal strength, Wi-Fi reception status, GPS receiver connectivity related information is given. Since the date and the time can be changed to any value desired it has to be distinguished if the displayed date and the time is current or virtual. If any one of the date or time is not current, there will be a comment as Virtual next to the displayed date and the time.

(22) GPS Coordinates and Altitude Area

(23) Beneath the date and the time display area is another data display line which shows the GPS coordinates and the altitude. The GPS coordinates can be changed by many means, such as typing a GPS coordinate or by moving on the world map manually or jumping to any location on Earth supported by the Go To commands. As is in the time since any place on Earth can be displayed on the map there is a need to show if the display is showing the current or virtual location. If the display shows a virtual or in other words other than current GPS coordinate, it will be commented as Virtual next to the displayed GPS coordinates. For virtual coordinates since there was no actual GPS reading the altitude can not be calculated. Therefore no altitude information will be displayed for the virtual GPS coordinates.

(24) The Tool Bar Area

(25) The Tool Bar is the area in the bottom of the touch screen of the smart phone with six icons as in FIG. 2. The icons from left to right look like the world map, Sun, Moon, Earth's Orbit around the sun and moon's orbit around the Earth, Clock and a gear symbol. By touching any one of these icons will either bring the user to another options menu for another choice of selection or if no other options are available it will display the information related to the selected icon from the tool bar.

(26) Sunrise, Noon and Sunset Data Field in the Bottom Area

(27) A single line of information display field is located on top of the tool bar which gives the times for sunrise, sunset and noon information. If the cursor is at current GPS coordinates and if the date is current the time for the sunrise, sunset and noon is given in terms of the local time obtained from the cell phone provider. For virtual GPS location or date, the time for sunrise, sunset and noon is the local time calculated in terms of GMTn for the cursor GPS coordinates which is in the center of the compass dial. There might be a difference between the true local time due to daylight savings time (DST) adjustment.

(28) With reference to the numerals in FIG. 2 and FIG. 3, the features of this display are as follows:

(29) 1. Cursor GPS Coordinates: Degree Minute Second or Degree Decimal Depending on the settings.

(30) 2. Compass Ring for Directional Abbreviations; Clock-wise from the North N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, and NNW.

(31) 3. Compass Ring for Angles from the North: Clock-wise from the north 0, 22.5, 45, 67.5, 90, 112.5, 135, 157.5, 180, 202.5, 225, 247.5, 270, 292.5, 315 and 337.5 Degrees.

(32) 4. Maximum Azimuth Angle for Sunset in a Year for the Cursor GPS Coordinates; a function of the cursor GPS coordinates that is calculated by the OEA Astronomic and Navigational Computing Utilities hereinafter outlined. This is not shown in Arctic or Antarctic regions because it overlaps with 5 below.

(33) 5. Minimum Azimuth Angle for Sunrise in a Year for the Cursor GPS Coordinates; a function of the cursor GPS coordinates that is calculated by the OEA Astronomic and Navigational Computing Utilities. Not shown in Arctic or Antarctic regions because it overlaps with 4 above.

(34) 6. Minimum Azimuth Angle for Sunset in a Year for the Cursor GPS Coordinates; a function of the cursor GPS coordinates calculated by the OEA Astronomic and Navigational Computing Utilities. Not shown in Arctic or Antarctic regions because it overlaps with 7 below.

(35) 7. Maximum Azimuth Angle for Sunrise in a Year for the Cursor GPS Coordinates; a function of the cursor GPS coordinates and is calculated by the OEA Astronomic and Navigational Computing Utilities. Not shown in Arctic or Antarctic regions because it overlaps with 6 above.

(36) 8. Current Azimuth Angle for Sunset; a function of the cursor GPS coordinates and date that is calculated by the OEA Astronomic and Navigational Computing Utilities. Not shown for dates which day or night length exceeds 24 hours.

(37) 9. Current Azimuth Angle for Sunrise; a function of the cursor GPS coordinates and date that is calculated by the OEA Astronomic and Navigational Computing Utilities. Not shown for dates which day or night length exceeds 24 hours.

(38) 10. Clear Area for Day; a function of the cursor GPS coordinates and date. This is the clear region of the Shaded Pie Circle (shading not shown but is displayed. See below). It is the pie region defined between rays 8 and 9 in clock-wise direction (above) and shows the sweep angle for the sun from sunrise to sunset during the day and is calculated by the OEA Astronomic and Navigational Computing Utilities. In Arctic or Antarctic regions for the dates that day length exceeds or equal 24 hours it covers 360, i.e., all of the Shaded Pie Circle.

(39) 11. Shaded Area for Night; a function of the cursor GPS coordinates and date. This is the shaded region of the Shaded Pie Circle. It is the pie region defined between rays 9 and 8 in clock-wise direction (below) and shows the sweep angle for the sun from sunset to sunrise which corresponds to night during the 24 hour day and is calculated by the OEA Astronomic and Navigational Computing Utilities. In Arctic or Antarctic regions for the dates that night length exceeds or equal 24 hours it covers 360, or all of the Shaded Pie Circle.

(40) 12. Inclinometer Circle; an analog means of showing the orientation of the smart phone or tablet with respect to the Earth's surface. If it is at the center, it means that the smart phone or tablet is parallel to the Earth's surface. It shows up when the magnetic compass option is used. It should be kept in the center for accurate magnetic compass readings.

(41) 13. Cursor Point; This is the center of the touch screen display. GPS coordinate reading from the map is done for the point which corresponds to the cursor point. It is stationary, the map moves!

(42) 14. Options Button; Touching the options button brings all the options available for any icon pressed from the tool bar below.

(43) 15. Tool Bar Icons; It is customizable by the user from the settings menu. There can be maximum of 6 icons displayed at one time. Each of the icons represents the related information that the user can request based on their appearance: Map, Sun, Moon, Orbit, Clock and Settings are the default settings. The user can select order or remove any one of them except the settings icon.

(44) 16. Info Button; Pressing it will bring the ownership of the SolarTimer, copyright, version related information.

(45) 17. Date; Gives the date in date, name of the month and Year format.

(46) 18. Local time; This information is obtained from the wireless network provider. It can be 24 hour military or 12 hour clock with AM/PM description settable by the user from the settings menu.

(47) 19. Program Banner; It is the identity of the application program SolarTimer.

(48) 20. GMTn Time; This is the local time in terms of the Greenwich Mean Time in other words UT (Universal Time). The device extracts the time information from the GPS, which is referenced to UTC (Universal Time Coordinated) as maintained by the USNO (United States Naval Observatory). Since the GPS time is related to the atomic oscillations, the UTC is probably the most accurate time available for the public. By merely knowing the GPS coordinates the local time can be calculated in terms of GMT or in other words UT. Therefore even if the cell phone or tablet is at a location with no Wi-Fi or cell phone reception GMTn Time and date information is always available as long as there is GPS reception. The only issue left is if the local time is adjusted with the use of daylight saving time, for which there is no set standard. So there can be difference between the GMTn Time and the Local time.

(49) 21. Virtual Time; the device can calculate astronomical information for any date or time, past present or future. The time and date information for present is obtained from the GPS but can be changed to any value from the settings. If the present date and time is different than in the calculations the user will be will warned by displaying Virtual on the screen next to the GMTn information.

(50) 22. Virtual GPS Coordinates; Since OEA Astronomic and Navigational Computing Utilities can calculate astronomical information at any place on Earth by several means, the similar issue as explained in 21 exists for the GPS coordinates and altitude. If the cursor GPS coordinates are different than the current, the user is warned by displaying Virtual on the screen next to the Altitude information.

(51) 23. Altitude; If the GPS can access four or more GPS satellites simultaneously it can calculate the altitude information relative to sea level for the current location. Therefore altitude information can only be given for the current location. When the cursor is at a virtual location the altitude cannot be calculated and is given as 0, if not set to a value from the settings menu.

(52) 24. Compass Option; Since the display and underlying software supports map, magnetic, solar, lunar, shadow and GPS compass options, the current compass option is displayed by the Compass Option field. The default compass option is the Map Compass option.

(53) 25. Numerical Values of Inclinometer Output; If the hardware of the device has an inclinometer or a three-axis accelerometer set, the numerical values of Inclinometer information is given along with the analog representation as explained in 12 above.

(54) 26. Target Display Circle; This circle displays the heading information for the selected targets or locations of interest. They are set-off or boxed numbers such as 1, 2, 3. If the cursor location is other than current, then the home symbol 32 will also appear on the target display which shows the heading from the virtual coordinate to the current GPS coordinate. With a double touch on the touch screen at any one of these locations on the target circle will give heading and distance to all other targets and current location on the screen displayed as a matrix notation. The locations of the object displayed in the Target Display Circle is a function of the cursor GPS coordinates.

(55) 27. Stellar Display Circle; This circle is for giving the azimuth angles for celestial or stellar objects such as sun, moon, planets. The default Stellar Display Circle merely shows the azimuth angles of the sun and the moon. The locations of the object displayed in the Stellar Display Circle are a function of the GPS coordinates, date and time.

(56) 28. Sunrise, Noon and Sunset Information; This display field shows the Sunrise, Noon and Sunset in terms of local time for the cursor location.

(57) 29. Target Heading Angle for Target #2; The heading angle referenced to the compass is given for going to the target #2 from the cursor GPS coordinates. By double touch to the touchscreen to this location all the heading and distance information to other targets, cursor point and the current GPS location is displayed.

(58) 30. Target Heading Angle for Target #1; The heading angle referenced to the compass is given for going to the target #1 from the cursor GPS coordinates. By double touch to this location the exact numerical value of all the heading and distance information to other targets, cursor point and the current GPS location is given.

(59) 31. Target Heading Angle for Target #3; The heading angle referenced to the compass is given for going to the target #3 from the cursor GPS coordinates. By double touch to this location the exact numerical value of all the heading and distance information to other targets, cursor point and the current GPS location is given.

(60) 32. Heading Angle for Home; The heading angle referenced to the compass is given for going to the current GPS coordinates from the cursor GPS coordinates. By double touch to this location the exact numerical value of all the heading and distance information to all targets and the cursor point is given. If the cursor is at the current location, this will not be displayed. Therefore the home symbol is always on the target circle when the cursor is at virtual GPS coordinates.

(61) 33. Magnetic North; This is the direction of the Magnetic North given by the magnetic compass hardware. It may be symbolized with a horseshoe magnet on the display. Since the magnetic north is not at the same location of the geographical north it is different than the True North.

(62) 34. True North vs. Magnetic North; The true north is basically an information point that is obtained from the map data which is displayed on the touch screen and is lined up with the top x side of the smart phone or tablet as shown in FIG. 2. So even if it is assumed that the compass needle always points exactly to the magnetic north, the difference between the true north and magnetic north direction is related to the cursor GPS coordinates. As an extreme example, if the cursor (i.e., device location or virtual location) is between the line connecting the geographical north and the magnetic north there can be 180 difference between them.

(63) The Map and its Functions

(64) Displaying a map with current GPS coordinates superimposed on it makes navigation much easier. It also makes it more attractive to a user to relate to the point of references that can be seen visually to the map. The map display is also is used as a data input element to the application in the device, which increases its ease of use and capabilities.

(65) A high resolution map data that covers the entire world would be massively large. Expecting the smart phone to contain all this massive data and having capabilities such as zoom, pan, move, rotate etc. is out of the question.

(66) General Map Display Functions

(67) The application supports different major smart phone operating systems, including the Apple iOS and Google Android. They have map functions supported by MKMapView and MapView for Apple iOS and Google Android operating systems respectively. They use Google Map functions [17]. As an example, the zoom functions support on the order of 22 levels. Almost all of the map functionszoom, pan, go to, move on the map, rotate, acquire GPS coordinates, distance and bearing calculations to given GPS coordinate, display of compass on the map etc.are done using the MKMapView and MapView which is accessed through a wireless (e.g., Wi-Fi) network as it exists in a large portion of urban areas and indoors.

(68) In summary, the map data is not in the smart phone hardware; it is accessed through the Wi-Fi network, if available. Other alternatives are contemplated.

(69) Generating Map Display where there is No Wi-Fi Coverage

(70) Since one of the objectives is to give the application the capability to operate where the Wi-Fi access is not available, the user needs to pre-load map data to the smart phone beforehand to keep the application program active. This gives a somewhat limited capability in map display functions such as zoom, pan, move, etc., since it is limited to the pre-loaded map data. In the absence of Wi-Fi network access, only the stored area of the world map will be displayed, and all the zoom and pan functions will be supported for the stored area. This is far better than not showing any map at all due to the loss of Wi-Fi connectivity or its availability.

(71) Choice of Maps and Compasses

(72) There are three choices of maps supported: satellite, terrain and hybrid, which can be selected by the user in the settings. Maps also support the compass function by giving the map data facing north, which corresponds to the top end of the smart phone display. The compass option which comes with the map is called the Map Compass. So in the default mode whenever a map is displayed the compass mode is set to Map Compass and the map view remain constant wherever the smart phone is rotated. The current compass option which is used is given in a highlighted area right under the header such as Map Compass.

(73) If from the compass options magnetic compass is selected, the map view changes, but it will still be presented referenced to the north but now the north direction becomes the compass north, not the top horizontal side of the smart phone. The map view will look the same if the top horizontal side is facing the true north. The current compass option used is given in a highlighted area right under a header such as Magnetic Compass. Since magnetic north and the true north are different, a correction based on the current GPS location is made and true and magnetic north information is given right under the options line which is displaying Magnetic Compass.

(74) Since the smart phone or tablet computer magnetic compass reading is always current, if the GPS coordinates are virtual, displaying magnetic compass in virtual GPS coordinates is meaningless. Therefore whenever the current GPS coordinates are different than the cursor GPS coordinates the map display and the compass options are automatically set to Map Compass mode by the application.

(75) Display Limitations

(76) The map display functions are not supported for latitudes greater than 85 deg. North and 85 deg. South respectively. These areas can not be displayed due to projection issues related to the external mapping functions. Manually, one can get to these extreme latitudes by zooming in and moving until it is reached, but it is a cumbersome task. An easier path to these extreme latitudes is to enter it from the keyboard from the Go To menu option. Still they cannot be displayed on the map but the entered GPS coordinates will show on the touch screen display and will be taken into calculations as it appears.

(77) The Analog Representation of GPS Coordinate, Date and Time Dependant Information on Compass Dial

(78) As explained earlier, the GPS coordinate and date based calculated information can be massive. Some of the information can be displayed in an analog fashion on a conventional compass dial with some additional graphics that give a unique way of displaying a large amount of useful information which could be easily related to. This unique modified traditional compass dial is designated as the OEA Compass Dial.

(79) Utilizing the GPS functions in a smart phone, the current GPS coordinates, date and the time data are obtained [18]. The cursor GPS data could be also generated virtually which can be done basically four ways. The first method of generating virtual cursor location is basically typing the GPS Coordinates of the location of interest from the smart phone display keyboard. In the second method the GPS coordinates can come from a list of GPS coordinates, like an address book stored in the permanent memory of the smart phone. When the virtual cursor GPS coordinates are entered the map display will immediately change and the cursor will appear in the center of the display with the map showing the proximity of the cursor location.

(80) The third and the interactive way of supplying virtual cursor GPS coordinates is by moving the cursor around on the displayed world map on the touch screen display of the smart phone with standard finger motions for move and zoom actions and selecting the desired GPS coordinates from the cursor location displayed on the map.

(81) If the current GPS coordinates are far away from the location of interest the move can be cumbersome and can take many move, pan and zoom functions. This can be minimized by using the combination of selecting a location from the list which is close to the location of interest and then going to the desired location with a reduced number of move and zoom functions on the map which becomes the fourth method of moving the cursor to a virtual GPS coordinates.

(82) Virtual entry of the date and the time is through the smart phone touch screen keyboard with a dialog box in the settings. Once the current or virtual GPS coordinates of the cursor, date and the time data is passed to the OEA Astronomic and Navigational Computing Utilities, it will return a list of default outputs like the sun and moon's current elevation and azimuth angles, their maximum elevation angles at that day and their times. Their azimuth sweep angles for the day, sun and moon rise and set times and their azimuth angles, length of the solar day and the duration that the moon will be visible at that date are among other default output. In addition to these current and daily information related to a given GPS coordinates it will also return the maximum elevation angle for the sun and the moon during the year, the minimum and maximum azimuth angles for the sun and the moon rise and set, longest visible and invisible duration and their dates. It has to be noted here that after a certain higher and lower latitudes close to the poles which is defined as the Arctic and Antarctic Circles, the day or night can exceed 24 hours.

(83) Some of the returned information from the OEA Astronomic and Navigational Computing Utilities can be represented on the OEA Compass Dial in analog fashion rather than only their numerical values superimposed on the selected map. In the center of the touch screen display is the OEA Compass Dial which as a default always gives the map compass, sun and moon's azimuth based on the cursor GPS coordinates, date and time. The cursor GPS coordinates displayed is taken from the center of the compass dial which is indicated with a yellow dot. All the information which is displayed by the compass dial is updated as the cursor moves on the map.

(84) Shaded Pie Circle, Day and Night Length and Azimuth Angles of the Sun at Sunrise and Sunset

(85) In the center of the Compass Dial is a pie chart that divides the 360 circle into two regions as shown in FIGS. 2 and 3 and in all the figures showing a compass dial. In the actual display a shaded, but still transparent, portion of the pie chart represents the night and the clear region represents the day light region at the GPS coordinate for the cursor which is the in the center of the OEA Compass Dial for the given date. Thus by merely looking at this analog representation the user can clearly relate the ratio of the day to night lengths very quickly. This analog representation of day and nigh is designated the Shaded Pie Circle.

(86) The beginning of the clear region to the right points to the compass angle for the sun at the sunrise. The end of the clear region at the left points to the compass angle for the sun at the sunset. These two angles are also known as the azimuth angle of the sun at sunrise and sunset. The sweep angle of the sun during the day for the GPS coordinates at the cursor at that date which is very clearly visible from this analog representation. After the sunrise, the sun appears to follow a path in the clockwise direction in the northern hemisphere and sets at the end of the transparent region.

(87) The current azimuth angle of the sun and the moon is shown symbolically referenced to the compass dial on the display ring reserved for the stellar object ring with the correct phase of the moon designated Stellar Azimuth Angle Display Ring.

(88) As mentioned earlier, at and above the Arctic circle in the north and at or below the Antarctic circle in the southern hemispheres for certain dates the shaded region of the pie chart will either disappear or cover the inner circle entirely meaning that days or nights exceeding 24 hours. For these extreme conditions the sunrise, noon and sunset dates will be presented if requested.

(89) YMSA Lines, Yearly Minimum and Maximum Azimuth Angles of the Sun at Sunrise and Sunset; the Cat Whisker Lines

(90) The OEA Compass Dial also displays the minimum and maximum sunrise and sunset azimuth angles throughout the year for the cursor GPS coordinate with four additional radial lines in two different colors in red and green respectively (not shown) as would be evident in a color rendition of FIG. 3. These radial lines are on the top and the bottom of the sunrise and sunset points displayed by the Shaded Pie Circle. In short these lines will be referred to as YMSA (Yearly Minimum and Maximum Sunrise and Sunset Azimuth Angles). The YMSA lines along with the Shaded Pie Circle provide a very easy way to figure out what the current day length is compared to the yearly maximum and minimums. The ratio of the sun minimum and maximum sweep angles is also very clearly visible. In addition to that the current sweep angle of the sun and its relation to the YMSA lines gives also an idea of the season at that GPS coordinate.

(91) FIG. 3 shows the OEA Compass Dial display (Magnetic) as it looks on a smart phone. Even without looking at the date, just from the shaded region position relative to the YMSA lines one can tell date is either mid autumn or mid spring.

(92) These YMSA lines will not be generated when the GPS coordinates are in a location where yearly maximum and minimum day or night exceeds 24 hours, like in the Arctic and Antarctic regions as explained earlier. For these extreme latitudes if the day or night at that day exceeds 24 hours, the sunrise and sunset dates which, will be different than the current date will be given along with the sunrise and sunset times.

(93) Calculations Required for Drawing the Shaded Pie Circle and the Cat Whiskers

(94) Shaded Pie Circle as a shape and geometry looks very simple, just a shaded pie chart! But to calculate the shaded or un-shaded regions of the pie chart requires fairly complex calculations. The radial lines which define the boundaries of the shaded and unshaded regions of the pie chart are the sunrise and sunset azimuth angles at a given GPS Coordinates and date. These lines are calculated by using formulas given in Appendix A and are explained in detail in references [3-6]. As can be seen the formulations are not very simple. All of the needed formulations and the definitions of their arguments used in OEA Astronomic and Navigational Computing Utilities are given in Appendix A. As can be seen there are a large number of formulas which is needed in the calculations. The reason of putting all of them and their definitions entirely in Appendix A is to maintain the flow of the invention, which mainly is the OEA Compass Dial in this application. In this section we just give the computer flow diagram to show the formulas that must be used in sequence to draw the Shaded Pie Circle and the CAT WHISKERS, which are very unique features.

(95) The mathematical problem becomes finding the sunrise and sunset azimuth angles using the given GPS coordinates and the date. The next step becomes drawing the two radial lines referenced to north in the compass circle with the calculated azimuth angles and shading the portion which corresponds to the night time. If the difference between the sunrise and sunset azimuth angles is 360 degrees or larger, this corresponds to 24 hour daylight and there will be no shaded region. Obviously this corresponds to a geographical location above the Arctic Circle in northern hemisphere summer. The other possible alternative for the same situation is a geographical location below the Antarctic Circle in southern hemisphere summer.

(96) Flow Chart 1 below explains all the computational steps required in the calculations of the sunrise and sunset azimuth angles using the given GPS coordinates and the date using the formulas given in Appendix A.

(97) Flow Chart 1

(98) Step 1. Calculate Sunrise and Sunset Time for current date and map position (formula 23-24).

(99) Step 2. Calculate Sunrise and Sunset Time for 21 December (formula 23-24).

(100) Step 3. Calculate Sunrise and Sunset Time for 21 June (formula 23-24).

(101) Step 4. Calculate Sunrise and Sunset Angles for Step 1 (formula 29).

(102) Step 5. Calculate Sunrise and Sunset Angles for Step 2 (formula 29).

(103) Step 6. Calculate Sunrise and Sunset Angles for Step 3 (formula 29).

(104) Step 7. Draw white pie graph in clockwise direction between Sunrise and Sunset points (for current date)

(105) Step 8. Draw black pie graph in counter-clockwise direction between Sunrise and Sunset points (for current date)

(106) Step 9. Draw green line between Center and Sunrise points (for 21 June)

(107) Step 10. Draw green line between Center and Sunset points (for 21 June)

(108) Step 11. Draw red line between Center and Sunrise points (for 21 December)

(109) Step 12. Draw red line between Center and Sunset points (for 21 December)

(110) If the given GPS coordinates are above the Arctic or below the Antarctic circles, then the longest day and night will be longer than 24 hours and there will be no need for any calculation for the Cat Whisker lines. This looks good in terms of computation, but it also means that the sunrise or sunset dates have to be found. This might require long computation times because the start point will be the current date and time and from there on the elevation angle for the sun has to be calculated until it becomes zero degrees both direction in time. The sunrise or sunset dates is very sensitive to the errors in the calculations.

(111) Flow Chart 2 below explains all the computational steps required in the calculations of the sunrise and dates for the given GPS coordinates using the formulas given in Appendix A.

(112) Flow Chart 2

(113) Step 1. Set date to first day of selected year.

(114) Step 2. Calculate Noon time for date. (formula 22)

(115) Step 3. Calculate Noon Elevation Angle of Sun for Step 2. (formula 30)

(116) Step 4. If (date=first day of selected year) then Go to Step 7

(117) Step 5. If (tempElevationAngle*Noon Elevation Angle)<=0.0 and tempElevationAngle >=0.0 then set sunsetDate to date.

(118) Step 6. If (tempElevationAngle*Noon Elevation Angle)<=0.0 and tempElevationAngle <0.0 then set sunriseDate to date.

(119) Step 7. Set tempElevationAngle to Noon elevation angle of sun.

(120) Step 8. If (date=last day of selected year) then Go to Step 11.

(121) Step 9. Add one day to date.

(122) Step 10. Go to Step 2.

(123) Step 11. Exit

(124) The Cursor and the Conventional Compass Rings

(125) A conventional compass dial generally is shown as two concentric rings with letters and numbers written in them. In this instance, the compass dial maintains this convention with an identifiable center point, which corresponds to the curser point for example indicated as a yellow dot. The GPS coordinates displayed in the top numerical display are the GPS coordinates of this yellow cursor point along with the time and date information. Since these GPS coordinates can be current or virtual as explained earlier this is identified as virtual if it is not current.

(126) The inner ring gives the directional angle information in numbers from 0 to 360 degrees with 22.5 degree increments which divides the circle to 16 equal direction segments. The outer ring gives the abbreviation of the main directions North, South, East and West as N, S, E and W respectively. Their angle equivalents of are 0, 180, 90, 270 degrees respectively. The mid-points between the main directions are abbreviated as NE, NW, SE and SW. They represent North East, North West, South East and South West corresponding to 45, 315, 135 and 225 degrees respectively. There is just enough space to write two more mid point angle and abbreviations which are 22.5, 67.5, 112.5, 157.5, 202.5, 247.5, 292.5 and finally 337.5 degrees. Their abbreviations are NNE, ENE, ESE, SSE, SSW, WSW, WNW and finally NNW respectively. Anything more than this crowds the compass dial of this scale with unreadable information.

(127) In navigation the heading or any angle direction is given in degrees in clock wise direction of rotation from the north, if not specified otherwise. When an angle such as 90 degrees is given it means rotating clockwise from the north giving easterly direction, 270 degrees means west and 180 degrees corresponds to south.

(128) Stellar Azimuth Angle Display Ring for the Azimuth Angle of the Sun and Moon

(129) There is another data display ring area with a larger radius than the outer ring that shows the sun and moon's azimuth angle symbolically. This ring is designated Stellar Azimuth Angle Display Ring. As default only the sun and the moon are shown, but a user can add more stellar objects such as other planets. Limiting these to a reasonable number is a good practice due to information clutter.

(130) The Inclinometer Circle

(131) The x axis of the smart phone is defined as the bottom edge of the screen or the edge closest to the user when held in normal holding position, which is also known as the width or horizontal direction of the smart phone. The y axes is in the left side of the smart phone screen perpendicular to the x axis and also known as the height or vertical direction.

(132) Some of the smart phones have accelerometers that give the inclination angle of the smart phone. If this function is supported, there will be another circle drawn in white and twice the size of the cursor point with four tick marks displayed on the touch screen. If the smart phone is held flat, this inclination circle will be at the center of the compass dial surrounding the cursor point. The numerical values of the inclination angles with respect to the x and y axes of the smart phone are displayed under the Inclinometer heading in degrees at the upper right portion of the Compass Dial touch on top of the tool bar (drawn in white, the same color as the inclination circle).

(133) Many smart phones have magnetic compass capabilities. This capability is provided by electronically measuring the direction of the magnetic field of the Earth rather than a magnetic needle as in a conventional magnetic compass. This magnetic compass capability performs the magnetic compass function with static electronic means. If the smart phone has magnetic compass capabilities it is a good practice to hold the smart phone horizontal when using the magnetic compass utility. The inclinometer output is very useful information for this use. A schematic view of the display with the inclinometer angle at an non zero position is shown in FIG. 3.

(134) Another use of inclinometer output is to obtain a physical feel of the calculated elevation angles. By looking at the inclinometer reading the smart phone can be oriented with the calculated elevation angles without physically aiming to the sun or the moon.

(135) Target Display Ring

(136) Some applications require the GPS coordinates, of which some can be named as targets, destination points or favorite locations. There is no limitation to the number of target selections. The target GPS coordinates can be generated many ways, for example by typing any desired GPS coordinate or by interactively moving on the map and designating the desired points on the map and inquiring their GPS coordinates from it.

(137) For the same reason as explained in Stellar Azimuth Angle Display Ring, crowding the Target Ring Display generates display clutter. Therefore a maximum of eight of selected target heading information should be displayed, which is user selectable from the list of targets.

(138) If the cursor is a virtual point on the map the target display will also have a home symbol which shows the heading and distance information to the current GPS coordinates with no additional work.

(139) The heading and distance information between two points on the map is calculated along the Earth's great circle passing from the two GPS coordinates. If the target/destination or favorite location coordinates are in the display window of the map, they will be shown as wherever they are on the map. Those outside the map display area will be placed on the Target Ring according to their calculated heading information.

(140) The distance and heading information from the cursor location on the map to the targets and the current location, which is displayed with a home symbol, can be obtained by selecting any target symbols on the display. The information is given in matrix form which gives distance to the selected target and the heading information from the cursor location and distance and heading information between targets are given with a pop up display.

(141) Targets can also be marked with religious symbols and their GPS coordinates such as Kabe, Jerusalem or The Vatican.

(142) Summary of the Information Given by the Compass Dial

(143) As can be seen the analog Compass Dial provides much useful information to the user in a form which is very easy to understand. Humans comprehend and relate to analog information much more quickly and easily than numeric or digital information. (This is the main reason dial type instrumentation are always preferred in critical displays even they are numerically calculated values. A very good example to this can be seen in the cockpit information in planes are presented always in analog fashion. Even in simple every day application like in watches displaying the time in an analog fashion is far easier to comprehend compared to the numerical value of the time.

(144) The information the user can grasp with a single glance to the Compass Dial at cursor GPS coordinates can be listed as:

(145) Current azimuth angle of the sun

(146) Current azimuth angle of the moon

(147) Phase of the moon

(148) Azimuth angle at sunrise

(149) Azimuth angle at sunset

(150) Analog view of day and night ratio at that date

(151) Analog view of the sun sweep angle for the day

(152) Analog view of the night

(153) Analog Minimum azimuth angle for the sunrise during the year

(154) Analog Minimum azimuth angle for the sunset during the year

(155) Analog Maximum azimuth angle for the sunrise during the year

(156) Analog Maximum azimuth angle for the sunset during the year

(157) Analog view of the longest day to current day length relation

(158) Analog view of the shortest day to current day length relation

(159) Analog view of the shortest night to current night duration relation

(160) Analog view of the longest night to current night duration relation

(161) Approximate season information

(162) Location on the map

(163) Heading information to the targets

(164) Distance to the targets

(165) Heading information between targets

(166) Distance between the targets

(167) Variety of compass information

(168) In addition, if the cursor is at a virtual GPS coordinate, the following information can be displayed:

(169) Heading information from the cursor point to the current GPS coordinate

(170) Distance information from the cursor point to the current GPS coordinate

(171) In addition to all these, their relative proportional relations come as a bonus. If all this information was given as 25 individual numerical value displays it would make little sense to anyone at a short glance.

(172) The Compass Dial is an active display that changes with time, even kept stationary and is only possible with very fast and accurate calculations provided by the OEA Astronomic and Navigational Computing Utilities.

(173) Map Display as a GPS Coordinate Input Device

(174) The user can designate a single or multiple targets or destination coordinates by moving on the selected map with standard touch actions which are standard in any touch screen smart phone. During the move on the map zoom functions are supported with standard touch and slide actions to the touch screen done by fingers. As the cursor point on the compass moves on the map, so does the GPS coordinates. These changing GPS coordinates become the changing input of the OEA Astronomic and Navigational Computing Utilities. When GPS coordinates change, the calculated sun and moon's elevation and azimuth angles change for the same GMT too. Since the Compass Display is active during the move and the calculations are done in real time speeds, it shows the sun and moon's position looks like an animation, changing the way it looks as the cursor moves on the map.

(175) Moving Around the Map

(176) The application supports zoom in and out on any map, which is displayed with standard sliding finger motions applied to the touch screen. The user can go anywhere on Earth virtually limited only by the display capability of the displayed map. The cursor GPS location is always updated as it is moved around on the map.

(177) The changing shaded area of the pie slice, all of the 6 lines drawn radially from the cursor to the compass rings along with the sun and moon's and target positions in the Compass Display become a function of time looking like an animation of a bird flapping its wings in the center of rotating symbols as the cursor moves on the map.

(178) Accessing all of the Calculated Information from the Tool Bar Icons

(179) Map Icon

(180) This icon comes highlighted as the default view. When the options button > on the Header Display area is pressed the screen will display two groups of icons to select from.

(181) Compass Modes

(182) The application has Map, Stellar, Magnetic and a novel GPS Compass options. Due to the movement of the magnetic poles and the local anomalies in the Earth's magnetic field, a magnetic compass can give wrong readings in certain regions. For a magnetic compass to give accurate directional information, it must be calibrated with magnetic declination information for that GPS coordinate. Magnetic declination also changes with time for a given GPS coordinate. Therefore there are government organizations that provide the up-to-date magnetic declination information that is updated at least every six months. Having 5 other compass options the user can perform magnetic declination calibration anywhere on Earth, anytime, without accessing these government organizations. By comparing the true north obtained from other compass options the magnetic compass magnetic north reading can be adjusted to display true north. For this purpose multiple compass options are supported in one compass dial, and the differences can be seen on the same compass dial for easy adjustment.

(183) The multiple compass options are very useful in the vicinity of the magnetic poles. The majority of the magnetic fields' magnitude close to the magnetic poles is due to its radial component. On the other hand the magnetic compass points to the magnetic north because of the tangential component of the Earth's magnetic field, which is very weak in the vicinity of the magnetic poles. The compass needle will dip downwards towards the Earth's interior at and near the magnetic poles due to the strong radial component of the Earth's magnetic field. Since the tangential component of the Earth's magnetic field is very weak, the magnetic compass needle will only turn due to the external, other than the Earth's magnetic field, basically making the magnetic compass useless in those regions. Having other compass options makes navigation possible anywhere on Earth with this application.

(184) The compass modes are the following:

(185) Map Compass

(186) The default compass mode is the map compass which is obtained from the map with map functions provided. If the smart phone supports magnetic compass function map option also displays the magnetic north with a symbol as a horse shoe magnet, obtained from the smart phone magnetic compass hardware corrected with the current GPS location and the magnetic north information.

(187) Magnetic Compass

(188) If the smart phone supports magnetic compass function this selection of this icon allows the compass dial to display the magnetic compass. The display will also write the numerical values of true north and the magnetic north. This does not take the local magnetic anomalies into account, it is a correction just based on the magnetic pole and current GPS coordinate information.

(189) Stellar Compass

(190) This option has basically three Solar, Shadow and Lunar Compass options to choose from.

(191) Solar Compass

(192) Knowing the date and very accurately the time along with the GPS Coordinates the sun's elevation and azimuth angle is very precisely calculated and displayed in the OEA compass dial. In this mode the OEA compass dial is based on the sun's current azimuth angle. This is a very accurate compass dial, as accurate as the user can point and aim to the sun, showing the true north along with the magnetic compass reading. The difference between the Solar Compass north and the displayed True North from the magnetic compass reading gives the local magnetic declination adjustment. The user selects this option by pressing the sun button and basically points the smart phone to the sun and the compass dial will be oriented give the correct direction.

(193) Lunar Compass

(194) At night since the sun is not visible, the same true north information can be calculated by the azimuth angle of the moon. In this mode the user points the smart phone to the moon and the application generates a compass dial based on the moon's azimuth angle. This has the same accuracy as the Solar Compass mode which could be used for the local magnetic declination adjustment. The user selects this option by pressing the moon button and basically points the smart phone to the moon and the compass dial will be oriented give the correct direction.

(195) Shadow Compass

(196) This is the opposite of the Solar Compass. Sometimes pointing to the sun is very difficult on the eyes. The shade of an object which is perpendicular to the ground might give an easier option in the field. In this mode the user points to the sun's shadow of the object on the ground and a compass dial referenced to the shadow gives the very accurate true north information which could be used for the local magnetic declination adjustment. The user selects this option by pressing the shadow button and points the smart phone in the direction of a shade of an object and the compass dial will be oriented give the correct direction.

(197) GPS Compass

(198) If the sun and the moon are not visible then there is a very unique capability in the application designated the GPS Compass. In this mode the user is asked to perform some instructions given by the GPS Compass program, requiring some movement or translation (walking) and taking GPS coordinate readings, all done automatically, which will give an accurate compass dial anywhere any time.

(199) Pressing the GPS Compass button brings the display with a compass and three windows Target, Reference and Mark Points respectively. The window is divided in to two row and two column display sections.

(200) GPS Compass Principle

(201) The basis of the GPS Compass is defining a Reference Line and relating the directions to a desired target referenced to it. The Reference Line becomes equivalent to the traditional compass needle, and the target direction will be calculated taking the reference line as the reference direction. To define a line, two points are needed. In this case these are called the Reference Point and the Mark Point. The Reference Line can be in any direction but the angle errors are related to its length and its orientation with respect to the target coordinates. To have a reasonable accuracy in any direction and target coordinates, the distance between the Reference and Mark points has to be in the order of 200 meters or greater.

(202) The user defines a Reference Point by recording the GPS coordinates of it (based on readings from several satellites equipped with GPS transmitters by just pressing a button on the GPS compass display and then moves away from it. When far enough, GPS Compass will indicate that the distance from the reference point is suitable for giving accurate enough directional information to the selected target referenced to the reference line. The user than turns and points the device, namely the smart phone, toward the Reference Point and records the current GPS coordinate as the Mark Point, again by just pressing a button on the GPS compass display. After entering the GPS coordinates of the Target, the GPS Compass software will calculate the angle that user has to turn to point to the target. GPS Compass will also generate a compass dial with traditional symbols such as North, South, etc. referenced to the reference line pointing towards to the Reference Point.

(203) In principle, walking a distance in the order of 200 meters and pressing 2 buttons and entering a target GPS coordinate yields a compass capability to anyone with a commercial grade GPS equipped with some computing capabilities anywhere, anytime on Earth with a consistently reasonable accuracy. Since the required hardware is available in a smart phone this technique is utilized with a simple user interface.

(204) After 200 meters of distance between the Reference and Mark Points, majority of the errors are due to aiming error to the Reference Point from the Mark Point and errors made during turning towards to the target which really depends on the user but is expected to be less than 6 degrees.

(205) GPS Compass Application Display

(206) The top left region has a compass dial. In the bottom row there are 2 identical data entry windows named Reference Point and Mark Point. They have data fields for latitude and longitude, with three icons underneath them. The icons are the yellow node pad which corresponds to the Location in the main menu display, map and a parabolic antenna which symbolizes the GPS as shown in FIG. 5.

(207) On the top row, next to the compass there is a data entry window named Target. The data entry window looks the same as Reference Point and Mark Point data entry windows with an additional data display line in the bottom giving the calculated turning angle when facing the Reference Point from the Mark Point in clock-wise direction and distance to the target side by side. FIG. 4A and FIG. 4B illustrate an unfolded and folded characterization of the Mark Point, Reference Point and Target, as hereinafter explained.

(208) Selecting the Reference Point

(209) The first step is defining a convenient place for the Reference Point. The Mark Point will be somewhere in a circle with a radius in the order of 200 meters where the center of the circle is at the Reference Point. Ideally the reference point is selected such that the user can move freely and maintain good visual contact with the reference point in the order of 200 meters. Once selected, the reference point GPS coordinates is entered by touching the parabolic antenna icon in the GPS Compass window under the Reference Point window. Once pressed the current GPS coordinates of the reference point will be displayed in data fields next to latitude and longitude in the Reference Point window.

(210) In the actual GPS Compass application, this is the only action required. The other two icons are for a Virtual GPS Compass application.

(211) Selecting the Mark Point after Target Coordinate Information

(212) After defining the Reference Point the user can walk away in any direction from the Reference Point to define the Mark Point. Knowing the target coordinates allows GPS compass to give a Convenient Reference Line Direction to the user which minimizes the calculated absolute and average angle errors, as well as giving smaller turning errors due to the better orientation of the Reference Line to the target coordinates. This is illustrated in FIGS. 4A and 4B

(213) In this mode the user enters the target coordinates. There are three options for doing so in the GPS Compass Target data entry window using the three icons, which are the yellow node pad that corresponds to the Location in the main menu display, the map and a parabolic antenna which symbolizes the GPS as shown in FIG. 5.

(214) i) Location Icon

(215) If the target is already in the Location address book indicated as the yellow note pad the user touches the Location icon. This brings the Location display window. By scrolling up and down finds the target from the list. Touching any line will highlight it. After finding the line corresponding to the target user touches it and it will be highlighted and selects the highlighted line by touching the Done button at the lower right. This action will grab the GPS coordinate of the selected location and it will be displayed in data fields next to latitude and longitude in the Target Point window. So in this mode no typing is required.

(216) ii) Map Icon

(217) If the target is identifiable on the map user selects the map icon. With standard finger motions supported in the map functions moves and zooms to the target location. The cursor GPS coordinates are always given in the Header Display and the SolarTimer Compass Dial always active during the move. Once satisfied with the map location the user goes back to the GPS Compass window. The cursor GPS coordinates will be displayed in data fields next to latitude and longitude in the Target Point window. At this point the user can enter the cursor coordinates to the Location so if this GPS coordinate is going to be used frequently it will be there and can be accessed without moving and zooming on the map.

(218) iii) Keyboard Entry

(219) If the target GPS coordinates are known exactly then the user touches the data field next to latitude and longitude. Once the data field next to the button for latitude and longitude is pressed the standard smart phone keyboard will appear which partially covers the touch screen. The user fills in the latitude and longitude information by typing in the desired information using the keyboard displayed on the screen. After finishing, one touches the Done button at the lower right of the keyboard display.

(220) Once the target coordinates are entered, the GPS Compass will display a line on the map corresponding to the Convenient Reference Line Direction. In the middle of it there is a marker like a pin indicating the Reference Point which is the current location of the user. The line is drawn toward the target location.

(221) Air Mass

(222) Air Mass is an important variable in determining the maximum available solar power density calculations. The secant of the angle between the sun and the zenith is called the Air Mass (AM) and measures the atmospheric path length relative to the minimum path length when the sun is at 90 degrees of elevation. In the calculations the Earth's curvature is taken into consideration. As an example, AM0 corresponds to solar radiation power density at the upper atmosphere with no attenuation giving 1353 W/m.sup.2. AM1 corresponds to sun at 90 elevation angle giving 925 W/m.sup.2 on the Earth's surface. AM1.5 corresponds to sun at 45 degrees of elevation angle giving 844 W/m.sup.2 and AM2 corresponds to sun at 30 degrees of elevation angle giving to 691 W/m.sup.2 on the Earth surface [19].

(223) Incoming Solar Power Density

(224) Using the air mass number calculated, the incoming solar power density is calculated and displayed. In the calculations the solar cell is assumed to be always perpendicular to the sun's rays, in other words power density calculations is for a perfect sun tracking solar cell.

(225) Pseudo Code

(226) Since much of the present invention lies in the information presentation features of the display, it is useful to present in pseudo code form at least some of the display instructions. This pseudo code may be translated into a computer language suited to the physical platform and operating system, where the physical platform supplies the sensed parameters, such as radio signals and device orientation, and the operating system provides the interface between the user, the input and output elements and the application program that constitutes the utilities.

(227) TABLE-US-00001 { Finds the point on the circle according to given parameters } Procedure GetPointOnCircle(angle:double, radius:double, centerPoint:Point) Begin pointX := radius * sin(angle) + centerPoint.X pointY := radius * cos(angle) + centerPoint.Y End { Draws the pie circle according to given parameters } Procedure DrawPie(centerPoint:Point, radius:double, strAngle:double, endAngle:double) Begin { Find pie parameters } diffAngle :=endAngle strAngle stepAngle := diffAngle * 72 .0 / 360.0 incAngle = diffAngle / stepAngle { Create polygon points } Add centerPoint to Polygon for i:=0 to stepAngle begin currentAngle := strAngle + (i * incAngle) currentPoint := GetPointOnCircle(currentAngle, radius, centerPoint) Add currentPoint to Polygon end Add centerPoint to Polygon { Fill Polygon } Fill polygon using current pen color End { Draws the Compass Dial according to given parameters } Procedure DrawCompassDial(dateTime:DateTime, gpsLocation:GPSLocation) Begin { Calculate center point } centerPoint := Calculate center point using width and height { 1. Analog Compass Display Ring } radiusCompass := Screen Width * 0.25 Show Analog Compass image in radiusCompass { 1.1. Calculate sunrise and sunset time } Calculate sunrise and sunset times for dateTime and GPS Location using OEA Astronomic and Navigational Computing Utilities Calculate sunrise and sunset times for 21 Dec using OEA Astronomic and Navigational Computing Utilities Calculate sunrise and sunset times for 21 Jun using OEA Astronomic and Navigational Computing Utilities { 1.2. Calculate sunrise and sunset angles } Calculate sunrise and sunset angles for dateTime and GPS Location using OEA Astronomic and Navigational Computing Utilities Calculate sunrise and sunset angles for 21 Dec using OEA Astronomic and Navigational Computing Utilities Calculate sunrise and sunset angles for 21 Jun using OEA Astronomic and Navigational Computing Utilities { 1.3. Draw Shaded Pie Circle for current date } Set pen color to white DrawPie(centerPoint, radiusCompass, sunriseAngleCurrent, sunsetAngleCurrent) Set pen color to black DrawPie(centerPoint, radiusCompass, sunsetAngleCurrent, sunriseAngleCurrent) { 1.4. Draw sunrise and sunset lines for 21 Jun } Set pen color to green sunrisePoint := GetPointOnCircle(sunriseAngle21Jun, radiusCompass, centerPoint) sunsetPoint := GetPointOnCircle(sunsetAngle21Jun, radiusCompass, centerPoint) Draw line between center and sunrise points Draw line between center and sunset points

(228) The OEA Astronomic and Navigational Computing Utilities program set is available under license from OEA International Inc., Morgan Hill, Calif. Selected explanation of the utilities is found in appendices.

(229) Different arrangements of the components depicted in the drawings or described above, as well as components and steps not shown or described, are possible. Similarly, some features and subcombinations are useful and may be employed without reference to other features and subcombinations. Embodiments of the invention have been described for illustrative and not restrictive purposes, and alternative embodiments will become apparent to those of ordinary skill in the art to which this invention pertains. Accordingly, the present invention is not limited to the embodiments described above or depicted in the drawings, and various embodiments and modifications can be made without departing from the scope of the claims below.