Embodiment
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is described in detail, so that characteristic of the present invention and advantage are more obvious.
Below will set forth the specific embodiment of the present invention.The present invention sets forth in connection with some specific embodiments, but the present invention is not limited to these specific embodiments.The modification that the present invention is carried out or be equal to replacement all should be encompassed in the middle of the claim scope of the present invention.
Some part in the following specific descriptions is to represent to present with flow process, logical block, processing procedure and other symbols to the operation of data bit in the computer memory.These are described and representation is the most effectively method of passing on them to work essence of the others skilled in the art in this field of the interior technician of data processing field.In this application, flow process, logical block, processing procedure or similar things, the result of the sequence that is contemplated into coherent step or instruction to realize wanting.Described step is the step that need to carry out to physical quantity physical operations.Usually, but be not inevitable, the form of these physical quantitys can be electric signal or magnetic signal, can be stored in computer system, transmit, merges and compare etc.
Yet, should be understood that, these terms and similar statement thereof all physical quantity with suitable are relevant, and only are the easily marks that applies to these physical quantitys.Unless after discussion in specify, in the application's full content, use " location ", " setting ", " switching " or similar terms part, what refer to all is operation and processing procedure in computer system or the similar electronic computing device, described computer system operates the data in the RS that is present in described computer system with physics (electronics) amount form, and is converted to the register that is present in similarly described computer system with the physical quantity form, storer or the storage of other this type of informations, other data in transmission or the display device.
Embodiment described herein is take computer executable instructions as the overall background discussed, and described computer instruction can be positioned in the medium that the computing machine of certain form can use (such as, program module), is carried out by one or more computing machines or other equipment.Usually, described program module comprise the routine that can carry out particular task or realize particular abstract data type, program, object, element, data structure etc.Described program module will combination or described separately in different embodiment.
As an example, and be not limited to wherein, computing machine can with medium can comprise computer-readable recording medium and communication media.Computer-readable recording medium comprises volatility and nonvolatile, the mobile and immovable medium in order to the information of storing of realizing with any method or technology, and described information can be computer-readable instruction, data structure, program module or other data.Computer-readable recording medium includes but is not limited to: random access memory (RAM), ROM (read-only memory) (ROM), electricallyerasable ROM (EEROM) (EEPROM), flash memory or other memory technologies, CD ROM (CD-ROM), the memory devices of multifunctional digital code CD (DVD) or other optical memory, magnetic tape cassette, tape, magnetic disk memory or other magnetic or any other can be used to store the storage medium of information needed.
Communication media can be embodied as computer-readable instruction, data structure, program module or other modulated data-signals (as, carrier wave or other transmission mechanisms) in data, and comprise any information transmission medium.Described " modulated data-signal " refers to that one or more feature sets are arranged or follows the signal that certain signal message coded system changes.As an example, and be not limited to wherein, communication media comprises: wire medium connects such as cable network or straight line; And wireless medium, such as (RF) acoustics, wireless, the medium that ultrared and other are wireless.The combination of above-mentioned any medium all should be included in the scope of computer-readable medium.
Embodiments of the invention provide a kind of satellite navigation receiver, are used for calculating according to satellite-signal geographic position and the speed of this satellite navigation receiver.Satellite navigation receiver, for example, Global Positioning System (GPS) (global positioning system, GPS) receiver comprises: processing unit and power-management interface.Advantage is, satellite navigation receiver can run on a plurality of modes of operation.For example, satellite navigation receiver can be changed in working order and between the dormant state.When satellite navigation receiver operated in dormant state, the energy consumption of satellite navigation receiver can be reduced.In addition, processing unit comprises navigation module, is used for regulating according to the speed of satellite navigation receiver the duration of duty and dormant state.Therefore, when the translational speed of satellite navigation receiver was accelerated, processing unit can improve the frequency of upgrading the geographic position.Thus, the precision of satellite navigation receiver location can be improved.Be the needs of explanation, the present invention will set forth under the background of gps receiver.Yet the present invention is not limited thereto, and can be used for the satellite navigation receiver of other kinds.
Figure 1A is depicted as the according to an embodiment of the invention structured flowchart of GPS equipment 100.In the example of Figure 1A, GPS equipment 100 comprises antenna 107, gps receiver 116 and functional module 132.Antenna 107 is used for receiving the gps signal 103 that is sent by a plurality of gps satellites, and provides gps signal 103 to gps receiver 116.
In one embodiment, gps receiver 116 comprises processing unit 118 and clock generator 120.Processing unit 118 is for the treatment of gps signal 103, and according to gps signal 103 positioning GPS equipment 100.Processing unit 118 is analyzed catching and tracking data of obtaining from gps signal 103, to judge the navigation information of GPS equipment 100, for example: the geographic coordinate of GPS equipment 100 and speed.The clock generator 120 that is coupled in processing unit 118 can be but is not limited to the real-time clock unit.Clock generator 120 is used for providing reference clock 156 to processing unit 118.Processing unit 118 can measure the travel-time that sends to the gps signal 103 of gps receiver 116 from corresponding satellite with reference clock 156.
Figure 1B is depicted as the according to an embodiment of the invention structured flowchart of processing unit 118.Element identical with label among Figure 1A among Figure 1B has identical function.Figure 1B is described in connection with Figure 1A.
In the example of Figure 1B, processing unit 118 comprises low noise amplifier (low noise amplifier, LNA) 160, radio frequency (radio frequency, RF) front end 162, a plurality of channel 164 and processor 166.Low noise amplifier 160 is used for filtering and amplifying gps signal 103.RF front end 162 is used for simulating GPS signal 103 is converted to digital gps satellite data 170.
Channel 164 can receive gps satellite data 170, and can catch and follow the tracks of gps satellite by analyzing gps satellite data 170.In one embodiment, channel 164 comprises and catches (acquisition, ACQ) channel and tracking (tracking, TRK) channel.Channel 164 can be divided into a plurality of channel group.Each channel group comprises that a bid and one follow the tracks of channel, and can designated processing from the data of corresponding gps satellite.In particular, bid can be caught corresponding satellite according to gps satellite data 170.For example, bid can be analyzed gps satellite data 170, and judges that corresponding satellite is whether in the visual field of gps receiver 116.If bid has been caught corresponding satellite, corresponding tracking channel can be used for following the tracks of this satellite.If this satellite is traced to, the tracking channel provides catches with tracking data to processor 166.Therefore, different gps satellites can be caught and be followed the tracks of by different channel group respectively.
Processor 166 can be central processor unit (central processing unit, CPU), microprocessor, digital signal processor or other and can read equipment with execution of program instructions.In one embodiment, processor 166 can be carried out the machine-executable instruction that is stored in the machine readable media, and can be according to the analysis of catching with tracking data is configured bid and follows the tracks of channel.
In one embodiment, processor 166 can use reference clock 156 from catch with tracking data extract ranging code (for example: slightly catch (Coarse/Acquisition, C/A) code) and navigation data.Ranging code comprises Pseudo-Random Noise Code (pseudorandom noise code, PN or PRN code), is used for satellite corresponding to identification.Each satellite comprises unique Pseudo-Random Noise Code.Pseudo-distance between tracked gps satellite and the GPS equipment 100 can obtain from ranging code.Navigation data can comprise the date and time of GPS, represents almanac data (ephemeris data) and the information of all satellites of expression and the almanac data (almanac data) of state of the position of corresponding satellite.The geographic coordinate of tracked GP S satellite can obtain from navigation data.Therefore, according to the pseudo-distance that obtains with at least four geographic coordinates that gps satellite is relevant, processor 166 can calculate the geographic coordinate of GPS equipment 100.
In one embodiment, processor 166 also can produce according to this result of calculation the coordinate signal 105 of the geographic coordinate of expression GPS equipment 100.Processing unit 118 can comprise other assemblies, and is not limited to the example of Figure 1B.
Shown in Figure 1A, functional module 132 can be used coordinate signal 105 and finish a plurality of functions relevant with GPS.In one embodiment, GPS equipment 100 also can comprise display device 134, for example: liquid crystal display (liquid crystal display, LCD) screen.Display device 134 is coupled in functional module 132, is used for showing according to coordinate signal 105 position of GPS equipment 100.For example, functional module 132 can be carried out Presentation Function.Functional module 132 can show according to coordinate signal 105 geographic coordinate of GPS equipment 100 in display device 134.In addition, functional module 132 also can be carried out map function.Functional module 132 can be according to the position of coordinate signal 105 at the outstanding GPS equipment 100 of map of display device 134 demonstrations.
Processing unit 118 is by system power 108 power supplies.In one embodiment, GPS equipment 100 comprises power supply unit 106, is used for receiving the electric energy from external power source 102, and provides accordingly system power 108 to gps receiver 116.In particular, in one embodiment, external power source 102 can be the ac/dc conversion adapter, is used for providing direct current energy.Power supply unit 106 can be low pressure difference linear voltage regulator (low dropout linear voltage regulator, LDO), is used for this direct current energy is converted to the system power 108 of the voltage with suitable processing unit 118.
Clock generator 120 is by battery power 110 power supplies.In one embodiment, GPS equipment 100 also comprises battery 109, is used for providing battery power 110.Because processing unit 118 and clock generator 120 are by different Power supplies, processing unit 118 and clock generator 120 can work independently.Clock generator 120 (for example: the duration dormant state of GP S receiver 116 when system power 108 is cut off) is used for the mode of operation of metering GP S receiver 116 by battery power 110 power supplies.
In one embodiment, gps receiver 116 also comprises the power-management interface 122 that is coupled in processing unit 118 and clock generator 120.Power-management interface 122 is for generation of electric energy and the channel of a plurality of switching signals with control gps receiver 116.In particular, power-management interface 122 can produce electric energy switching signal 152, is used for control system electric energy 108.Power supply unit 106 can receive electric energy switching signal 152, and control system electric energy 108 accordingly.In addition, power-management interface 122 can produce battery switch signal 154, is used for control battery power 110.In one embodiment, battery 109 is coupled in clock generator 120 by switch SW.Switch SW can open or close battery power 110 according to battery switch signal 154.In addition, power-management interface 122 can produce channel switch signal 150, is used for control channel 164.In one embodiment, processing unit 118 provides one or more system clocks to channel 164.Processing unit 118 can start or close according to channel switch signal 150 channel of correspondence by opening or closing system clock.
In one embodiment, GPS equipment 100 also comprises the controller 130 that is coupled in gps receiver 116, be used for providing a plurality of control signals according to system's needs or user's request, for example: software control order 124 and hardware controls signal (for example: FORCE_ON signal 126 and PME signal 128).In one embodiment, controller 130 can be contained in the gps receiver 116, and is not limited to the example of Figure 1A.
In one embodiment, control signal, for example the software control order 124, are to be produced by the navigation software program in the machine readable media that is installed in controller 130.The navigation software program can comprise user interface (user interface, UI), is used for and user interactions.The navigation software program also can comprise the machine-executable instruction code, is used for producing software control order 124 according to user's request or system's needs.In one embodiment, power-management interface 122 is by versabus, for example: Universal Asynchronous Receiver ﹠ sends (universal asynchronous receiver/transmitter, UART) bus, is coupled in controller 130.Versabus can send the software control order 124 that the navigation software program produces to gps receiver 116.
In one embodiment, control signal, for example software control order or hardware controls signal can produce because of the response hardware operation.Controller 130 (for example: the state button on the GPS equipment 100), and can produce software control order 124 and hardware controls signal according to this state can be monitored one or more buttons.For example, if the FORCE_ON button on the GPS equipment 100 is pressed by the user, controller 130 can produce the FORCE_ON signal of effective or inefficacy to recover or cutting system electric energy 108.In addition, if the SHUT-DOWN button on the GPS equipment 100 is pressed, the navigation software program of controller 130 can produce the SHUT-DOWN control command.
In addition, but the state of controller 130 monitor display units 134, and can produce accordingly the hardware controls signal.For example, if display device 134 is closed (for example, being closed by the user), controller 130 can produce inefficacy power management event (power management event, PME) signal 128.Power-management interface 122 can be closed channel 164 according to inefficacy PME signal 128.If display device 134 is unlocked, controller 130 can produce effective PME signal 128.Power-management interface 122 can be according to effective PME signal 128 open channel 164.
Power-management interface 122 can pass through to produce a plurality of switching signals, for example: electric energy switching signal 152, battery switch signal 154 and channel switch signal 150, control gps receiver 116 and between a plurality of modes of operation, change.Mode of operation includes, but are not limited to, one or more duties, dormant state and closed condition.
In particular, when processing unit 118 and clock generator 120 all powered on, gps receiver 116 entered duty.The work lower in working order, that gps receiver 116 continues.When processing unit 118 outage and clock generator 120 powered on, gps receiver 116 entered dormant state.Under dormant state, processing unit 118 quits work.Clock generator 120 continues to produce the reference clock 156 of the duration that can be used for measuring dormant state.When processing unit 118 and clock generator 120 all cut off the power supply, gps receiver 116 entered closed condition.Lower in off position, processing unit 118 and clock generator 120 all quit work, and do not produce energy consumption.
The duty of gps receiver 116 includes, but are not limited to, enhanced situation, normal state and idle state.Lower in working order, according to electric energy switching signal 152 and battery switch signal 154, processing unit 118 and clock generator 120 all power on.In addition, lower in working order, can be according to channel switch signal 150 control channels 164.For example, one or more system clocks of channel 164 can be opened or close according to channel switch signal 150 to processing unit 118.
Under enhanced situation, comprise that all channels 164 of bid and tracking channel all are unlocked.Under normal state, the channel of the preset number in the channel 164 is closed, and other channels still start.Under idle state, all channels 164 all are closed.Other assemblies in the processing unit 118 work on.For example, under idle state, processing unit 118 is closed the system clock of all channels 164.Although processing unit 118 powers on, all channels in the channel 164 all quit work.At this moment, processing unit 118 stops to follow the tracks of gps satellite, but can produce coordinate signal 105.Under idle state, because all channels 164 all are closed, the energy consumption of GPS equipment 100 can be reduced.
For control gps receiver 116 switches between different modes of operation, power-management interface 122 can receive the control signal of self-controller 130, for example: software control order and hardware controls signal, and can produce accordingly switching signal, for example: electric energy switching signal 152, battery switch signal 154 and channel switch signal 150.In addition, power-management interface 122 can automatically be controlled gps receiver 116 according to system's needs and changes between different modes of operation.For example, but the state of power-management interface 122 supervisory channels 164, and can automatically control gps receiver 116 according to this state and between enhanced situation, normal state and idle state, change (will in Fig. 4, describe in detail).But power-management interface 122 is application reference clock 156 duration of coming metrological operation state (for example dormant state) also.If the Preset Time timing of this mode of operation finishes, power-management interface 122 can switch to other states, for example enhanced situation with gps receiver 116 automatically.In this case, power-management interface 122 can operate under the prerequisite that does not have controller 130 controls.
In one embodiment, GPS equipment 100 may operate at multiple modes of operation, for example: continuously station-keeping mode, intermittently station-keeping mode and demand station-keeping mode.Controller 130 can operate in different modes of operation with control gps receiver 116 by selecting different operator schemes, for example: enhanced situation, normal state, idle state and dormant state (will describe in detail in Fig. 2 to Fig. 6).
Advantage is, gps receiver 116 can operate in different modes of operation with system needs according to user's request.Therefore, the efficient of GPS equipment 100 can be improved.In addition, when gps receiver 116 operated in idle state, dormant state or closed condition, the energy consumption of GPS equipment 100 can be lowered.
Figure 2 shows that the according to an embodiment of the invention example of the operator scheme of GPS equipment 100.Fig. 2 is described in connection with Figure 1A.The operator scheme of GPS equipment 100 can comprise: continuously station-keeping mode 204, intermittently station-keeping mode 210 and demand station-keeping mode 216.In one embodiment, the flow process among Fig. 2 can be finished by the machine-executable instruction that is stored in the machine readable media.
Continuous station-keeping mode 204 times, gps receiver 116 sustainable operations are (for example: enhanced situation, normal state or idle state) and do not enter dormant state in working order.Therefore, in continuous station-keeping mode 204, processing unit 118 continuous services, for example, processing unit 118 continues to calculate the geographic coordinates of GPS equipment 100.
At station-keeping mode 210 times at intermittence, gps receiver 116 alternately operates in the duty with first default duration T 1 and has the dormant state of the second default duration T 2.For example, but the navigation software program prompting user of controller 130 is set working time and dormancy time.Gps receiver 116 can operate in the duty with duration T 1 according to the working time, then operates in the dormant state with duration T 2 according to dormancy time.
Demand station-keeping mode 216 times, gps receiver 116 operates in the duty with default duration T 3, then operates in dormant state until power-management interface 122 receives the signal that is used for activating gps receiver 116 of self-controller 130.For example: but the navigation software program prompting user of controller 130 is set the working time.Gps receiver 116 can operate in the duty with duration T 3 according to the working time.When duration T 3 timing end, gps receiver 116 enters dormant state.Under dormant state, power-management interface 122 can produce inefficacy electric energy switching signal 152 with cutting system electric energy 108.If gps receiver 116 need to be started working, for example, if the FORCE_ON button is pressed, controller 130 can produce control signal, and for example, the FORCE_ON signal is to activate gps receiver 116.Thus, power-management interface 122 can produce effective electric energy switching signal 152, in order to recovery system electric energy 108.
In one embodiment, controller 130 acquiescences are selected continuous station-keeping mode 204.For example, if GPS equipment 100 powers on or cold start-up, GPS equipment 100 can enter the continuous station-keeping mode 204 of acquiescence.In another example, if be replaced by new battery for the battery 109 of clock generator 120 power supplies, GPS equipment 100 can automatically switch to continuous station-keeping mode 204.
In one embodiment, controller 130 can be selected the operator scheme of GPS equipment 100, for example, selects according to user instruction.Illustrate, if the translational speed of GPS equipment 100 is very fast and/or be in a unfamiliar environment, if and/or gps signal 103 relatively weak or unstable, controller 130 can switch to GPS equipment 100 continuous station-keeping mode 204.If GPS equipment 100 does not need to continue to follow the tracks of gps signal, for example: GPS equipment 100 is in relatively simple environment, and GPS equipment 100 can be switched to intermittently station-keeping mode 210 or demand station-keeping mode 216.
Therefore, the operator scheme of GPS equipment 100 can be switched according to the control signal of coming self-controller 130.For example, in conversion 206, the software control order 124 that produces according to the navigation software program in the controller 130 can switch to intermittently station-keeping mode 210 from continuous station-keeping mode 204 with GPS equipment 100.Same, in conversion 208, can GPS equipment 100 be switched to continuous station-keeping mode 204 according to the software control order 124 that comes self-controller 130 or effective FORCE_ON signal 126.Other conversions, for example: conversion 218,220,212 and 214, can realize with similar mode.
Figure 3 shows that the example of the mode of operation of the gps receiver 116 under the continuous according to an embodiment of the invention station-keeping mode 204.Fig. 3 is described in connection with Figure 1A, Figure 1B and Fig. 2.In one embodiment, the flow process among Fig. 3 can be carried out by the machine-executable instruction that is stored in the machine readable media.
In continuous station-keeping mode 204, gps receiver 116 operates in one or more duties and does not enter dormant state.This duty comprises: enhanced situation 302, normal state 314 and idle state 308.In the example of Fig. 3, power-management interface 122 can be changed between enhanced situation 302, normal state 314 and idle state 308 according to the mode of operation of the control signal of controller 130 control gps receiver 116.
If controller 130 is selected continuous station-keeping mode 204, gps receiver 116 can enter the enhanced situation 302 of acquiescence.In addition, if display device 134 is opened or controller 130 receives for the instruction that gps receiver 116 is switched to enhanced situation 302 (for example: from user's instruction), controller 130 can produce control signal to trigger conversion 306 or 316.For example, controller 130 can produce effective PME signal 128.Thus, power-management interface 122 can produce channel switch signal 150 to open all channels 164.For example: GPS equipment 100 can provide 12 bids and 14 tracking channels.All 12 bids and 14 tracking channels all are activated.Therefore, gps receiver 116 enters enhanced situation 302.
If controller 130 receives the instruction (for example: from user's instruction) that mode of operation is switched to normal state 314, controller 130 can produce in order to trigger the control signal of conversion 310 or 318.Illustrate, the gps satellite of preset number (for example: four or more gps satellite) is traced to if having for 302 times at least in enhanced situation, and controller 130 can produce in order to trigger the control signal of conversion 318.Power-management interface 122 can produce channel switch signal 150 with the local channel in the open channel 164.For example, follow the tracks of channel for four and be unlocked to follow the tracks of gps satellite, other tracking channel and all bids are closed.Therefore, gps receiver 116 enters normal state 314.
If display device 134 is closed or controller 130 receives for the instruction that gps receiver 116 is switched to idle state 308 (for example: from user's instruction), controller 130 can produce control signal, for example: inefficacy PME signal 128, to trigger conversion 304 or 312.Thus, power-management interface 122 can produce channel switch signal 150 with closeall channel 164.Therefore, gps receiver 116 enters idle state 308.
Figure 4 shows that the operational flowchart 400 of the gps receiver 116 under the continuous according to an embodiment of the invention station-keeping mode 204.Fig. 4 is described in connection with Figure 1A, Figure 1B and Fig. 2.In one embodiment, the flow process among Fig. 4 400 can be finished by the machine-executable instruction that is stored in the machine readable media.
Power-management interface 122 can automatically be controlled gps receiver 116 according to system's needs and change between different modes of operation.In the example of Fig. 4, power-management interface 122 supervisory channels 164, and switch between enhanced situation 302, normal state 314 and idle state 308 according to the state of channel 164 control gps receiver 116.
In step 402, controller 130 is selected continuous station-keeping mode 204.In step 404, gps receiver 116 acquiescences enter enhanced situation 302.
In step 406, power-management interface 122 supervisory channels 164.If the gps satellite of preset number (for example: four or more gps satellite) is traced at least, process flow diagram 400 enters step 414.In step 414, power-management interface 122 can switch to normal state 314 with gps receiver 116 automatically.Therefore, just the tracking channel at tracking satellite continues operation, and other channels for example bid are closed with other tracking channels.Thus, in one embodiment, gps receiver 116 stops to catch the GPS signal but continues to follow the tracks of visible gps satellite.
In step 416, if gps receiver 116 has been lost the tracking to gps satellite, process flow diagram 400 enters step 404.In step 404, power-management interface 122 can switch to enhanced situation 302 with gps receiver 116 automatically.Otherwise gps receiver 116 rests on normal state 314.
In step 406, be traced to if be less than the gps satellite of preset number, process flow diagram 400 enters step 408.In step 408, gps receiver 116 can be at the default duration T 4 interior gps signals that continue to catch from gps satellite.If trace at least gps satellite of preset number in default duration T 4, process flow diagram 400 returns step 406.The detailed description of the later step of step 406 repeats no more here.If when presetting duration T 4 timing end but still failing to trace at least gps satellite of preset number, process flow diagram 400 enters step 410.In step 410, power-management interface 122 switches to normal state 314 with gps receiver 116 automatically.Normal state 314 times, the channel of preset number is unlocked, and other channels are closed.For example, bid is unlocked to catch satellite and other bids are closed.In addition, in step 410, just at the tracking channel continuous service of tracking satellite, the tracking channel of other inefficacies is closed.
In step 412, power-management interface 122 supervisory channels 164.If trace into a new satellite, process flow diagram 400 enters step 404.In step 404, gps receiver 116 is switched to enhanced situation 302.Otherwise gps receiver 116 continues to rest on normal state 314 until trace into new satellite.Gps receiver 116 under continuous station-keeping mode 204 can have other states and/or state conversion, and is not limited to the example of Fig. 3 and Fig. 4.
Figure 5 shows that according to an embodiment of the invention the example of the mode of operation of the gps receiver 116 under the station-keeping mode 210 intermittently.Element identical with Fig. 3 label among Fig. 5 has identical function.Fig. 5 is described in connection with Figure 1A and Fig. 3.In one embodiment, the flow process among Fig. 5 can be finished by the machine-executable instruction that is stored in the machine readable media.
In the example of Fig. 5, the gps receiver 116 under intermittence station-keeping mode 210 may operate at one or more duties 520 and dormant state 526.Controller 130 can be selected intermittently station-keeping mode 210 according to user instruction.But the navigation software program prompting user of controller 130 is set working time and dormancy time.Power-management interface 122 operates in the duty with first duration T 1 according to working time control gps receiver 116, and operates in the dormant state with second duration T 2 according to dormancy time control gps receiver 116.
Illustrate, when controller 130 is selected intermittently station-keeping modes 210, gps receiver 116 can be given tacit consent to and enters duty 520.At this moment, gps receiver 116 can move according to the description among Fig. 3 or Fig. 4.Clock generator 120 can be used for the duration of gage work state 520.If the working time timing finishes, for example: moved the duty 520 with first duration T 1 when gps receiver 116, power-management interface 122 can be transformed into dormant state 526 with gps receiver 116 automatically by changing 522.Perhaps, controller 130 can produce control signal gps receiver 116 is transformed into dormant state 526 from duty 520.For example, if press a button on the GPS equipment 100, controller 130 can produce inefficacy FORCE_ON signal.Therefore, power-management interface 122 can produce inefficacy electric energy switching signal 152 with cutting system electric energy 108.Therefore, gps receiver 116 can be switched to dormant state 526 by changing 522.
Dormant state 526 times, battery switch signal 154 is effective.Therefore, clock generator 120 also can be used for measuring the dormancy time of dormant state 526.If the dormancy time timing finishes, for example: moved the dormant state 526 with second duration T 2 when gps receiver 116, power-management interface 122 can switch to duty 520 with gps receiver 116 automatically by changing 524.
Figure 6 shows that the example of the mode of operation of the gps receiver 116 under the demand station-keeping mode 216 according to an embodiment of the invention.Element identical with label among Fig. 3 and Fig. 5 among Fig. 6 has identical function.Fig. 6 is described in connection with Figure 1A and Fig. 5.In one embodiment, the flow process among Fig. 6 can be finished by the machine-executable instruction that is stored in the machine readable media.
In the example of Fig. 6, the gps receiver 116 under demand station-keeping mode 216 may operate at duty 520 and dormant state 526.But the navigation software program prompting user of controller 130 is set the working time.Power-management interface 122 operates in the duty with duration T 3 according to working time control gps receiver 116, then operate in dormant state 526 until receive for the control signal that activates gps receiver 116.
Similar to the description of Fig. 5, gps receiver 116 can at first enter the duty 520 of acquiescence, and when conversion 522 was triggered, gps receiver 116 can be switched to dormant state 526.Yet demand station-keeping mode 216 times, gps receiver 116 can not be transformed into duty 520 automatically.Only have that (for example: in the time of the effective FORCE_ON signal that produces), conversion 624 just can be triggered when power-management interface 122 receives to activate the control signal of gps receiver 116 when the user presses corresponding button.
Figure 7 shows that according to an embodiment of the invention another example of the mode of operation of gps receiver 116.Fig. 7 is described in connection with Figure 1A and Fig. 2 to Fig. 6.In one embodiment, the flow process among Fig. 7 can be finished by the machine-executable instruction that is stored in the machine readable media.
In one embodiment, no matter gps receiver 116 is in which kind of pattern or state, and gps receiver 116 all can be switched to closed condition 706.For example, in square frame 708, gps receiver 116 operates in duty 520 or dormant state 526.In conversion 702, for example: when a SHUT-DOWN button on the GPS equipment 100 was pressed, the navigation software program of controller 130 can produce the SHUT-DOWN steering order.Therefore, power-management interface 122 produces inefficacy electric energy switching signal 152 with cutting system electric energy 108, and produces dead battery switching signal 154 to cut off battery power 110.In conversion 704, controller 130 is transformed into dormant state 526 or duty 520 according to the recovery of system power 108 and battery power 110 with GP S receiver 116.As the description of Fig. 2-Fig. 6, in square frame 708, power-management interface 122 can be controlled gps receiver 116 and switch between different mode of operation (for example: enhanced situation 302, normal state 314, idle state 308 and dormant state 526).
Figure 8 shows that satellite navigation (for example: operational flowchart 800 GPS equipment 100) according to an embodiment of the invention.Fig. 8 is described in connection with Figure 1A to Fig. 7.The concrete operation step that Fig. 8 is contained is as just example.That is to say, the present invention is suitable for other rational operating processes or Fig. 8 is carried out improved operation steps.
In step 802, (for example: processing unit 118) (for example: gps signal 103) position location satellite navigation receiving trap (for example: gps receiver 116) according to a plurality of satellite-signals for processing unit.
In step 804, clock generator (for example: clock generator 120) provide reference clock (for example: reference clock 156) to processing unit.
In step 806, the satellite navigation receiver that control comprises processing unit and clock generator operates in a plurality of modes of operation, and wherein, mode of operation comprises when processing unit and cutting off the power supply and the dormant state of clock generator when powering on.In one embodiment, processing unit comprises that a plurality of channels (for example: channel 164), be used for catching and following the tracks of a plurality of satellites that produce satellite-signal.Satellite navigation receiver can be switched to idle state, and wherein, when processing unit powers on and all channels when all being closed, satellite navigation receiver enters idle state.In one embodiment, when processing unit and clock generator all powered on, satellite navigation receiver entered duty.Satellite navigation receiver alternately operates in the duty with first default duration T 1 and has the dormant state of the second default duration T 2.In addition, satellite navigation receiver also may operate at the duty with default duration, then operates in dormant state until receive for the signal that activates processing unit.
Figure 9 shows that according to an embodiment of the invention another structured flowchart of GPS equipment 900.Element identical with Figure 1A label among Fig. 9 has identical function.Fig. 9 is described in connection with Figure 1A to Fig. 6.
GPS equipment 900 comprises antenna 107, gps receiver 916, functional module 132, display device 134, power supply unit 106, battery 109 and controller 130.In the example of Fig. 9, gps receiver 916 comprises processing unit 118, clock generator 120, power-management interface 122, communication interface 936 and bus 940.Gps receiver 916 adopts bus 940 the transmission of datas and information.Bus 940 can be, but is not limited to data bus, address bus and/or control bus.In one embodiment, processing unit 118, clock generator 120, power-management interface 122 and communication interface 936 intercouple by bus 940.Bus 940 can be used for transmitting the information of calculating in the gps receiver 916, such as: data, instruction, address information and/or control command etc.
Similar to the description of Fig. 1, processing unit 118 can be processed gps signal 103, and can be according to gps signal 103 positioning GPS equipment 900.Processing unit 118 is analyzed catching and tracking data of obtaining from gps signal 103, to judge the positional information of GPS equipment 900, for example: the geographic coordinate of GPS equipment 900 and speed.Clock generator 120 can be, but is not limited to real-time clock unit or monitoring timer.Clock generator 120 can provide reference clock 156.Bus 940 can be transferred to processing unit 118 with reference to clock 156.Processing unit 118 can measure the travel-time that sends to the gps signal 103 of gps receiver 916 from corresponding satellite with reference clock 156.
Figure 10 shows that another example of the processing unit 118 among Fig. 9 according to an embodiment of the invention.Element identical with label among Figure 1A, Figure 1B and Fig. 9 among Figure 10 has identical function.Figure 10 is described in connection with Figure 1A, Figure 1B and Fig. 9.
Processing unit 118 comprises processor 1004 and machine readable media 1006.Machine readable media 1006 can be, but is not limited to random access memory (RAM), ROM (read-only memory) (ROM), electricallyerasable ROM (EEROM) (EEPROM) or flash memory.Machine readable media 1006 can be stored data and machine executable program instructions.Processor 1004 can be central processor unit (central processing unit, CPU), microprocessor, digital signal processor or other and can read equipment with execution of program instructions.Processor 1004 executable instructions are controlled gps receiver 916 to produce steering order, and executable instruction is to carry out the arithmetic sum logical operation.
Processing unit 118 can comprise tracking module 1002 and navigation module 1080.In the example of Figure 10, navigation module 1080 can be the machine-executable program module that is stored in the machine readable media 1006.Processor 1004 can be carried out navigation module 1080.In addition, navigation module 1080 can be the module of other types in the spirit and scope of claim, for example: and hardware module, such as: integrated circuit or embedded system.
Assembly in the processing unit 118, for example: processor 1004, tracking module 1002 and machine readable media 1006 intercouple by bus 940.Therefore, the assembly in the processing unit 118 can by bus 940 intercom mutually and and gps receiver 916 in other component communications.
Tracking module 1002 can obtain and follow the tracks of gps satellite according to gps signal 103.In one embodiment, tracking module 1002 comprises low noise amplifier 160, radio-frequency front-end 162 and a plurality of channel 164.Low noise amplifier 160 can be carried out the function identical with the description among Figure 1B with radio-frequency front-end 162.
Channel 164 can receive gps satellite data 170, and can catch and follow the tracks of gps satellite by analyzing gps satellite data 170.In one embodiment, channel 164 comprises and catches (acquisition, ACQ) channel and tracking (tracking, TRK) channel.Channel 164 can be divided into a plurality of channel group.Each channel group comprises that a bid and one follow the tracks of channel, and can designated processing from the data of corresponding gps satellite.In particular, bid can be caught corresponding satellite according to gps satellite data 170.For example, bid can be analyzed gps satellite data 170, and judges that corresponding satellite is whether in the visual field of gps receiver 116.If bid has been caught corresponding satellite, corresponding tracking channel can be used for following the tracks of this satellite.
Before sending gps signal 103, satellite (for example: the sine wave with standard frequency and standard phase place) is modulated at carrier wave with navigation information.When gps signal 103 during from satellite transmission to GPS equipment 900, the frequency of carrier wave and phase place may change.For example, according to Doppler shift, if GPS equipment 900 changes with relative velocity between the corresponding satellite, the frequency of carrier wave can change.For tracking satellite, following the tracks of channel provides clock signal (for example: periodic square wave signal) to extract navigation information from corresponding carrier wave.For example, when this clock signal and carrier wave had identical frequency and phase place, satellite can be traced to.If this satellite is traced to, the tracking channel provides according to the navigation information that obtains from gps satellite data 170 and catches and tracking data.Therefore, different gps satellites can be respectively by obtaining channel and follow the tracks of channel and catch and follow the tracks of on the same group not.
In one embodiment, navigation module 1080 can be according to catching geographic coordinate and the speed of calculating GPS equipment 900 with tracking data, and will in detail statement in Figure 11.In one embodiment, navigation module 1080 also can calculate according to this coordinate signal 105 of the coordinate that produces expression GPS equipment 900.Coordinate signal 105 can be sent to the communication interface 936 that is coupled in functional module 132.
As shown in Figure 9, communication interface 936 is coupled between bus 940 and the functional module 132.Communication interface 936 can be the interface of serial line interface, parallel interface and/or other types, and can be used for receiving or sending electric signal, electromagnetic signal or the light signal that carries digit data stream.For example, the coordinate signal 105 of processing unit 118 generations can be sent to functional module 132 by bus 940 and communication interface 936.Functional module 132 can adopt coordinate signal 105 to carry out the multiple function relevant with GPS as describing among Figure 1A.
Such as the description of Figure 1A to Fig. 6, GPS equipment 900 can run on a plurality of operator schemes, for example: continuously station-keeping mode 204, intermittently station-keeping mode 210 and demand station-keeping mode 216.Gps receiver 916 can run on a plurality of modes of operation according to a plurality of switch controlling signals that power-management interface 122 produces, for example: duty and dormant state.Switch controlling signal comprises electric energy switching signal 152, battery switch signal 154 and channel switch signal 150.Bus 940 can transmit switch controlling signal with difference control system electric energy 108, battery power 110 and channel 164.
In one embodiment, power-management interface 122 can be according to the default duration of mode of operation, for example: the working time of duty and the dormancy time of dormant state, automatically control the conversion of GP S receiver 916 between the different operating state.For example, in intermittence station-keeping mode 210, under the control of power-management interface 122, gps receiver 916 alternately operates in the duty with duration T 1 according to working time and dormancy time and has the dormant state of duration T 2.
In one embodiment, the time data (for example: provide according to user instruction) of the setting of the duration that represents mode of operation can be provided the navigation software program of controller 130.For example, in intermittence station-keeping mode 210, navigation software program prompts user sets working time and dormancy time, and the setting of working time and dormancy time is configured in the clock generator 120.Therefore, clock generator 120 can carry out timing to duty and dormant state according to working time and dormancy time.When the duration of a particular state, for example the dormancy time timing of the working time of duty or dormant state finishes, and clock generator 120 can produce steering order.Power-management interface 122 receives steering order, and accordingly gps receiver 916 is switched to another mode of operation.
Perhaps, the navigation module 1080 of processing unit 118 can be according to the duration of the speed Lookup protocol mode of operation of GPS equipment 900.If the speed of GPS equipment 900 increases, the variation of the position of GPS equipment 900 can be accelerated.If when the speed of GPS equipment 900 increases, increase the frequency that processing unit 118 upgrades coordinate signal 105, can strengthen the accuracy of gps receiver 916 location.Advantage is, navigation module 1080 can be regulated the working time of duty and the dormancy time of dormant state automatically according to the speed of GPS equipment 900, and will describe in detail in Figure 11.Thus, the accuracy of gps receiver 916 location can be strengthened.
Figure 11 shows that the example of the navigation module 1080 among Figure 10 according to an embodiment of the invention.The element that Figure 11 is identical with label among Figure 10 has identical function.Figure 11 is described in connection with Figure 1A and Figure 10.
Navigation module 1080 can calculate the coordinate of GPS equipment 900.In one embodiment, navigation module 1080 comprises positioning component 1101, is used for according to obtaining and tracking data positioning GPS equipment 900.In one embodiment, positioning component 1101 comprises machine-executable instruction.Processor 1004 is carried out this machine-executable instruction to calculate the coordinate of GPS equipment 900.
In particular, in one embodiment, positioning component 1101 can use reference clock 156 from catch with tracking data extract ranging code (for example: slightly catch (Coarse/Acquisition, C/A) code) and navigation data.Ranging code comprises Pseudo-Random Noise Code (pseudorandom noise code, PN or PRN code), is used for satellite corresponding to identification.Each satellite comprises unique Pseudo-Random Noise Code.Positioning component 1101 can obtain the pseudo-distance between tracked gps satellite and the GPS equipment 900 from ranging code.Navigation data can comprise the date and time of GPS, represents almanac data (ephemeris data) and the information of all satellites of expression and the almanac data (almanac data) of state of the position of corresponding satellite.Positioning component 1101 can obtain the geographic coordinate of tracked gps satellite from navigation data.Therefore, according to the pseudo-distance that obtains with at least four geographic coordinates that gps satellite is relevant, positioning component 1101 can calculate the geographic coordinate of GPS equipment 900.
Navigation module 1080 can calculate the speed V_DEVICE of GPS equipment 900.Navigation module 1080 also comprises the speed assembly 1104 that is coupled in positioning component 1101, is used for calculating the speed V_DEVICE of GPS equipment 900.In one embodiment, speed assembly 1104 comprises the instruction code of carrying out for processor 1004.
Speed assembly 1104 can be according to the location of GPS equipment 900 (for example: the geographic coordinate that positioning component 1101 calculates) computing velocity V_DEVICE.In particular, in one embodiment, positioning component 1101 can be in a preset time period T_P positioning GPS equipment 900, for example: per second is located once.The distance L that speed assembly 1104 can move according to GPS equipment 900 in the coordinate acquisition time cycle T _ P of two positions (for example: reference position and final position).Therefore, speed assembly 1104 can be by calculating distance L the speed V_DEVICE of GPS equipment 900 divided by period of time T _ P.
Illustrate, speed assembly 1104 can be according to the Doppler shift computing velocity V_DEVICE of satellite-signal.According to the description among Figure 10, before sending gps signal 103, satellite is modulated at navigation information in the carrier wave with standard frequency F_NOMINAL and standard phase place.Because the impact of Doppler shift, if GPS equipment 900 changes with relative velocity V_R between the corresponding satellite, the frequency of the carrier wave of gps signal 103 can change.For example, this frequency displacement and this relative velocity V_R are roughly proportional.In one embodiment, if trace into corresponding satellite, follow the tracks of the new frequency F_NEW that channel can provide carrier wave.The standard frequency F_NOMINAL of carrier wave and the speed V_SATELLITE of corresponding satellite can from obtain with tracking data obtain.Therefore, according to F_NEW and F_NOMINAL, speed assembly 1104 can calculate relative velocity V_R.In addition, according to V_R and V_SATELLITE, speed assembly 1104 can calculate the speed V_DEVICE of GPS equipment 900.Speed assembly 1104 can be according to other algorithm computing velocitys V_DEVICE.
In addition, for improving the degree of accuracy of speed V_DEVICE, speed assembly 1104 can carry out digital signal processing to the speed V_DEVICE that calculates, for example: adopt arithmetic and/or statistic algorithm to process.For example: speed assembly 1104 can be carried out average and Kalman's filter algorithm to reduce the error error of the noise generation of GPS equipment 900 (for example by).
Navigation module 1080 can arrange according to the speed V_DEVICE of GPS equipment 900 duration of a plurality of modes of operation.Navigation module 1080 also comprises the set of time assembly 1106 that is coupled in speed assembly 1104, is used for arranging according to speed V_DEVICE the duration of different operating state.In one embodiment, set of time assembly 1106 comprises the instruction code of carrying out for processor 1004.
Set of time assembly 1106 can comprise relevant with the friction speed state respectively a plurality of time data collection.In one embodiment, each time data collection comprises the value of the working time relevant with the state of speed V_DEVICE and the value of dormancy time.For example, for First Speed state (for example: V_DEVICE is less than pre-set velocity threshold value V_TH), very first time data set comprises the value TW_1 of corresponding working time and the value TS_1 of the dormancy time of correspondence.For second speed state (for example: V_DEVICE is greater than V_TH), the second time data collection comprises the value TW_2 of corresponding working time and the value TS_2 of the dormancy time of correspondence.At this moment, TW_1 can be less than TW_2, and TS_1 is greater than TS_2.Set of time assembly 1106 also can comprise working time of having under other different speed states and the other times data set of dormancy time.
The time data collection can be preseted by the navigation software program in the controller 130 or the setting of programming.For example: but navigation software program prompting user is arranged on working time under the friction speed state and the different value of dormancy time, and time data corresponding to storage combines in navigation module 1080.In another embodiment, the time data collection has default value, for example: the default value that is arranged by the manufacturer of GPS equipment 900.
Set of time assembly 1106 is used for arranging respectively according to speed V_DEVICE the duration of different operating state.In particular, set of time assembly 1106 is judged the state of speed V_DEVICE, and selects accordingly corresponding time data collection with the duration of setting operation state.In one embodiment, the one or more threshold speeds of set of time assembly 1106 definition, and compare the size of speed V_DEVICE and these a plurality of threshold speeds with the state of judgement speed V_DEVICE.
For example, threshold speed can comprise threshold speed V_TH.Under the first state, for example: V_DEVICE is during less than V_TH, has the very first time data of TW_1 and TS_1 selected and in order to working time and dormancy time to be set.Under the second state, for example: V_DEVICE is during greater than V_TH, has the second time data of TW_2 and TS_2 selected and in order to working time and dormancy time to be set.At this moment, TW_1 can be less than TW_2, and TS_1 is greater than TS_2.That is to say, if GPS equipment 900 travelling speed are accelerated, processing unit 118 can be worked shorter time of longer time and dormancy to improve the frequency of upgrading coordinate signal 105.
In another embodiment, set of time assembly 1106 can calculate the average velocity V_AVERAGE of GPS equipment 900 in the preset time period, and the time data collection corresponding according to the condition selecting of average velocity V_AVERAGE.For example, the speed V_DEVICE present count contents that set of time assembly 1106 can be sampled and calculate in one section preset time period, for example: sampling in per 5 seconds three times.Therefore, average velocity V_AVERAGE can be the mean value of this preset number sample rate value.In another example, the speed V_DEVICE that 1106 samplings of set of time assembly calculate, and calculate current speed of sampling out and the front once mean value of the speed of sampling.By using average velocity V_AVERAGE rather than instantaneous velocity V_DEVICE, can avoid and alleviate the error of the duration of setting operation state, for example the error of the instantaneous mutation of speed V_DEVICE generation.For example, if speed V_DEVICE changes and recover again original numerical value within the relatively short time, set of time assembly 1106 can not reset the duration of mode of operation.
Selecteed time data collection can be incorporated in the clock generator 120, in order to the duration of timing mode of operation, for example: the T 1 of duty and the T2 of dormant state.Be in operation, gps receiver 916 can at first enter duty.If the working time timing finishes, for example: moved the duty with first duration T 1 when gps receiver 916, power-management interface 122 can be transformed into dormant state with gps receiver 916 automatically.If the dormancy time timing finishes, for example: moved the dormant state with second duration T 2 when gps receiver 916, power-management interface 122 can switch to duty with gps receiver 916 automatically.
Advantage is, when gps receiver 916 ran on dormant state, the energy consumption of gps receiver 916 can be reduced.And navigation module 1080 can arrange according to the speed of GPS equipment 900 duration of different operating state (for example: duty and dormant state).For example, if the speed of GPS equipment 900 is accelerated, processing unit 118 improves the frequency of upgrading coordinate signal 105.Thus, the accuracy of the location of GPS equipment 900 can be further enhanced.
Figure 12 shows that satellite navigation (for example: operational flowchart 1200 GPS equipment 900) according to an embodiment of the invention.Figure 12 is described in connection with Figure 1A to Figure 11.The concrete operation step that Figure 12 is contained is as just example.That is to say, the present invention is suitable for other rational operating processes or Figure 12 is carried out improved operation steps.In one embodiment, the flow process among Figure 12 can be finished by the machine-executable instruction that is stored in the machine readable media.
In step 1202, (for example: processing unit 118) (for example: gps signal 103) position location satellite navigation receiving trap (for example: gps receiver 916) according to a plurality of satellite-signals for processing unit.
In step 1204, change between a plurality of modes of operation according to a plurality of default duration controlled processing unit of a plurality of modes of operation respectively.For example, controlled processing unit is alternately changed between the dormant state the during outage of the duty when processing unit 118 powers on and processing unit.
In step 1206, the speed of Calculation of Satellite navigation receiving trap, for example: speed V_DEVICE.In one embodiment, speed V_DEVICE is that location Calculation according to satellite navigation receiver goes out.Perhaps, speed V_DEVICE is that Doppler shift according to satellite-signal calculates.In one embodiment, the Doppler shift that calculates is carried out digital signal processing.
In step 1208, according to the duration of the speed setting operation state of satellite navigation receiver.In one embodiment, set of time assembly 1106 comprises a plurality of time data collection relevant with a plurality of speed states.Set of time assembly 1106 can be concentrated from a plurality of time datas according to the state of the speed of satellite navigation receiver and select corresponding time data collection, and according to duration of selected time data collection setting operation state.In one embodiment, the one or more threshold speeds of set of time assembly 1106 definition, for example: threshold value V_TH, and judge the state of this speed by the size of speed and threshold speed relatively.
Above embodiment and accompanying drawing only are embodiment commonly used of the present invention.Obviously, under the prerequisite that does not break away from the present invention's spirit that claims define and invention scope, can have and variously augment, revise and replace.It should be appreciated by those skilled in the art that the present invention can change aspect form, structure, layout, ratio, material, element, assembly and other to some extent according to concrete environment and job requirement in actual applications under the prerequisite that does not deviate from the invention criterion.Therefore, embodiment disclosed here only is illustrative rather than definitive thereof, and scope of the present invention is defined by claims and legal equivalents thereof, and is not limited to description before this.