Motion control system and method with energy harvesting
10753337 ยท 2020-08-25
Assignee
Inventors
- Michael Patrick DeFrank (Madera, CA, US)
- Jack Goldberg (San Diego, CA, US)
- Randy L. Houk (San Diego, CA, US)
- Jonathan R. Hall (San Diego, CA, US)
Cpc classification
F03B17/06
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F03G5/065
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
B05B3/0486
PERFORMING OPERATIONS; TRANSPORTING
F03G3/04
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
Y02E10/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
F03G5/06
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
International classification
F03B17/06
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F03G5/06
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
F03G3/04
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
B05B3/04
PERFORMING OPERATIONS; TRANSPORTING
Abstract
A motion control apparatus and method are disclosed. The motion control apparatus comprises a movable mechanism coupled to an external energy source, the energy source providing kinetic energy to the mechanism. An energy conversion module is mechanically coupled to the mechanism for converting kinetic into electrical energy. An electronic circuit is coupled to the energy conversion module and a storage module and a mechanism controller is coupled to the electronic circuit. A sensor module is coupled to both the electronic circuit and the movable mechanism to sense the movement of the movable mechanism to determine speed of the movable mechanism and transmit speed information to the electronic circuit. The method comprises applying energy to a movable mechanism, converting kinetic to electrical energy, storing the electrical energy converted, controlling the motion of the mechanism and sensing the movement of the mechanism.
Claims
1. A motion control apparatus comprising: a sprinkler; an external energy source coupled to the sprinkler, said external energy source providing kinetic energy to the sprinkler; an energy conversion module mechanically coupled to the sprinkler, wherein the energy conversion module is configured to convert kinetic energy generated by the rotational motion of the sprinkler into electrical energy and the energy conversion module is configured to also provide a braking force to control the motion of the sprinkler, wherein the braking force is an electrical load; an electronic circuit coupled to the energy conversion module, wherein said electronic circuit comprises a microcontroller, wherein the energy conversion module and the microcontroller are located within the motion control apparatus; an electrical energy storage module coupled to the electronic circuit; at least one sensor module coupled to both the electronic circuit and the sprinkler to sense the movement of the sprinkler to determine a speed of the sprinkler and transmit the speed information to the electronic circuit; and a wireless communication module coupled to said microcontroller, wherein the wireless communication module is configured to receive commands wirelessly to control motion of the sprinkler, wherein said energy conversion module is an electric generator powering the electronic circuit, and a rotational speed of the electric generator is regulated by the microcontroller by applying a pulse-width-modulated signal to a N-channel field-effect transistor coupled to the electric generator and a signal conditioning circuit coupled to the microcontroller and the electric generator to condition output electrical energy from the electric generator.
2. A motion control apparatus as claimed in claim 1, wherein said external energy source is pressurized flowing water.
3. A motion control apparatus as claimed in claim 1, wherein the wireless communication module is configured to transmit information wirelessly, the transmitted information comprising information about the status of the sprinkler, and charge status of the electrical energy storage module.
4. A motion control apparatus as claimed in claim 1, wherein said electrical load is adjusted by said electronic circuit.
5. A motion control apparatus as claimed in claim 1, further comprising indicators and a display.
6. A motion control apparatus as claimed in claim 1, wherein said sensor module is configured to sense rotational speed of the sprinkler by determining the frequency of an alternating current signal at the output of the sensor module.
7. A motion control apparatus as claimed in claim 2 which further comprises a valve coupled to the electronic circuit for turning on and turning off the flow of the pressurized flowing water.
8. A motion control apparatus as claimed in claim 7, wherein the electronic circuit is configured to operate the valve on a multitude of duty cycles.
9. A motion control apparatus as claimed in claim 8, wherein the valve is a low power electrically actuated valve.
10. A motion control apparatus as claimed in claim 1 wherein said electric generator comprises one of a center-tapped alternating current generator and a direct current generator.
11. A motion control apparatus as claimed in claim 2, wherein water pressure is calculated by placing a known electrical load on said energy conversion module and comparing the sensed rotational speed of the sprinkler to a reference speed.
12. A method of motion control comprising: applying energy to a sprinkler from an energy source external to the sprinkler, the external energy source being pressurized flowing water; converting kinetic energy of the sprinkler to electrical energy by an energy conversion module mechanically coupled to the sprinkler, and controlling the motion of the sprinkler with the energy conversion module by applying a braking force from the energy conversion module, the energy conversion module coupled to and controlled by an electronic circuit comprising a microcontroller, the electronic circuit coupled to the energy conversion module and the energy storage module, wherein said energy conversion module is an electric generator powering the electronic circuit; storing electrical energy derived from kinetic energy of the sprinkler in an energy storage module; regulating a rotational speed of the electric generator by the microcontroller, by applying a pulse-width-modulated signal to a N-channel field-effect transistor coupled to the electric generator; conditioning an output electrical energy from the electric generator by a signal conditioning circuit coupled to the microcontroller and the electric generator; sensing the movement of the sprinkler by at least one sensor module, the sensor module coupled to the electronic circuit; and calculating water pressure by placing a known electrical load on said energy conversion module and comparing the sensed movement of the sprinkler to a reference speed.
13. A method of motion control as claimed in claim 12, wherein the sprinkler is a movable rotating mechanism and wherein the sensing is sensing of the rotational speed of the sprinkler.
14. A method of motion control as claimed in claim 13, wherein the braking force comprises an electrical load.
15. A method of motion control as claimed in claim 14, wherein sensing the rotational speed of the sprinkler comprises sensing the rotational speed by processing a signal from the sensor module.
16. A method of motion control as claimed in claim 13, wherein the electronic circuit controls the rotational speed of the sprinkler with a closed loop method, the closed loop method comprising: sensing the rotational speed of the sprinkler by the sensor module; and controlling the rotational speed of the sprinkler based upon said sensing to achieve a predetermined rotational speed.
17. A method of motion control as claimed in claim 12, wherein the electronic circuit comprises a microcontroller, the microcontroller being coupled to a wireless communication module, the wireless communication module being configured to receive commands wirelessly to control motion of the sprinkler.
18. A method of motion control as claimed in claim 17, wherein the wireless communication module is configured to transmit information wirelessly, the transmitted information comprising information about the status of the sprinkler and charge status of the electrical energy storage module.
19. A method of motion control as claimed in claim 12, wherein said sensor module is configured to sense rotational speed of the sprinkler by determining the frequency of an alternating current signal at the output of the sensor module.
20. A method of motion control as claimed in claim 12, further comprising controlling a valve by the electronic circuit for turning on and off the flow of the external energy source.
21. A method of motion control as claimed in claim 20, wherein the electronic circuit is configured to operate the valve on a multitude of duty cycles.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION OF THE INVENTION
(10) In the following detailed description, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration specific embodiments which may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that various changes may be made without departing from the spirit and scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense. The term system and apparatus are used interchangeably in the current specification and they refer to the same structure.
(11)
(12) A primary function of the electronic circuitry is to control the motion of mechanism 103 through the use of a mechanism controller 104. Mechanism controller 104 may be an electromagnetic machine such as a motor or a generator. In a preferred embodiment, mechanism controller 104 is an electric generator configured to provide braking force to a rotating mechanism and, in fact, mechanism controller 104 may be the same as energy transducer 106. An electric generator can be used as an energy transducer while at the same time it may be used as a mechanism controller 104. As described above, in the case where mechanism controller 104 is an electric generator, it may be provided with an electrical load in which case it will produce torque or braking force which will tend to slow the motion of mechanism 103. The electrical generator can be a center-tapped alternating current generator or a direct current generator.
(13) In a preferred embodiment, an energy storage device 110 is provided such that electronic circuitry 107 will be able to function even when mechanism 103 is still and no energy is flowing from energy transducer 106 to electronic circuitry 107. The energy storage device can be also termed as an energy storage module 110 or an electrical energy storage device.
(14) Electronic circuitry 107 also has the capability of sensing things, for example sensing the motion of the mechanism 103, by means of sensors 112. The sensors can be collectively called a sensor module. There can be a plurality of sensor modules as well. A particular sensor may be provided to sense the motion of the mechanism and/or some other parameter of interest which would be used to determine how to control the mechanism. Thus a closed loop system is provided which senses via 112 and controls via 104. The electronic circuitry 107 preferably operates with very little power, on the order of 100 microwatts. As will be described in further detail with respect to
(15) Further, electronic circuitry 107 may operate an auxiliary device 111 such as an information display and indicators and/or a valve and/or some other type of electrically-powered device.
(16)
(17) An exploded view of the embodiment of
(18) In an embodiment of the invention shown in
(19) The DC generator may be a brushed DC-motor and in an embodiment of the invention a DC gear motor, e.g. Pittman model 8712-21 is employed. The Pittman 8712 21 has internal gearing of 19.5 to 1. The DC output of the DC generator increases with increasing rotational speed and, if the DC generator is not electrically loaded, the voltage across the two terminals of DC generator 404 is proportional to its rotational speed. Increased gear ratio will cause greater voltage output for a given rotational speed and will also increase the amount of torque (braking force) produced for a given electrical load on the generator.
(20) Referring again to
(21) N-channel field-effect transistor 415 provides an electrical load on DC generator 404 when it is turned on and conducting. Microcontroller 401 has the capability of outputting a pulse-width-modulated signal 426 which can be applied to the gate of transistor 415. The duty cycle of that PWM signal can be varied such that electrical load on DC generator 404 can be varied in a controlled and programmable fashion. Microcontroller 401 can be programmed to adjust the duty cycle of the PWM signal 426 in a manner which causes the rotational speed of the DC generator 404 to be adjusted and controlled.
(22) The frequency of the PWM signal 426 applied to the gate of FET 415 must be such that the motion of the controlled mechanism is regulated smoothly. The inventors have found that in an embodiment, a PWM frequency of greater than 100 Hz is adequate to ensure smooth motion.
(23) The measurement of the rotational speed of the DC generator is accomplished by supplying microcontroller 401 with a signal representative of the voltage output of the DC generator. As explained above, the voltage output of the DC generator when it is not loaded electrically is proportional to and thus representative of the rotational speed of the generator. Signal conditioning circuitry 407 ensures that the output voltage of the DC generator 404 is properly conditioned (filtered and/or scaled) to be measured by the integral analog-to-digital converter (ADC) which is contained in microcontroller 401.
(24) With knowledge of the present rotational speed of the generator 404, an algorithm can be developed using well-understood principles that will adjust the PWM duty cycle of signal 426 in order to either increase or decrease the electrical load on the generator 404 and thus either decrease or increase the rotational speed of generator 404. This control loop can thus, with a degree of accuracy and with certain dynamic characteristics, control and stabilize the rotational speed of the generator. This control in turn can impact the motion of the mechanism to which the DC generator 404 is coupled in a desirable manner. For example, the rotational speed of a sprinkler can be controlled in this manner.
(25) It is important to note that in order to ascertain the rotational speed of DC generator 404, there must be either no or a known electrical load on generator 404. During the time that microcontroller 401 is determining the rotational speed of generator 404, transistor 415 is preferably turned off and the battery charging circuitry 402 is preferably disabled. In that way there will be no current output from the DC generator and the voltage measured at its terminals will be adequately representative of its rotational speed. In a preferred embodiment, the battery charger 402 is disabled (via control line 423) and the speed regulating transistor 415 is off for a short period of time during which the ADC of microcontroller 401 measures the DC generator's output voltage. This measurement process can take place very quickly, on the order of milliseconds, and thus although the PWM signal will not be controlling the speed of the generator 404 for a short period of time, the rotating assembly, due to its inertia, will not substantially change speed. Therefore the motion control system can accurately sense the rotational speed of the generator and thereby have knowledge of the motion of the mechanism.
(26) Less electronics is required to harvest the energy from a DC generator as opposed to an AC generator because an AC output would require rectification. Also, as discussed below, it is easier to vary the electrical load on a DC generator as opposed to an AC generator in order to provide braking force. These facts may lead one of skill in the art to choose to operate the motion control system with a DC generator rather than an AC generator. However, a brushed DC generator with gearing has the disadvantages of
(27) a) the brushes themselves (they wear); and
(28) b) the gears themselves (they wear, increase frictional loss and add cost).
(29) Because AC generation may be advantageous,
(30) Now referring to
(31) Shown in
(32) The full-wave rectification shown in
(33) In a preferred embodiment and as shown in
(34) In some applications that is important because the generator rotational speed and thus its power output will vary, as will the state of charge of the rechargeable battery. Digital rheostat 508 may be, for example, the MCP4452-104E manufactured by Microchip Technology. Other digital rheostats or digital potentiometers are known to those of skill in the art and may be used to adjust the MPPC set point of the battery charging circuitry. Control lines 522 are connected between microcontroller 501 and digital rheostat 508, enabling programmable control of the MPPC set point of the battery charger.
(35) One of the terminals of generator 504, labelled in
(36) In an embodiment of the invention, the AC generator is a stepper motor (e.g. Kollmorgen model CPT21) and the signal 528 has a frequency related to the speed of rotation and the number of poles in the generator (stepper motor) design. Kollmorgen model CPT21 has 6 leads (as stated above it is a two-phase unipolar stepper motor) and 50 poles. Thus the primary frequency component (in Hz) of the signal 528 is 50 times the rotational speed in revolutions per second. For example, the frequency of the signal at 528 would be 50 Hz at 60 RPM (60 RPM is 1 revolution per second).
(37) Speed measurement interface circuit 505 converts the AC analog generator signal, which at low speeds (such as 8 RPM) may be of a low amplitude such as 50 mV RMS and at high speeds (such as 160 RPM) may be of an amplitude as high as 10V RMS. to a rectangular digital waveform. The frequency of the output signal 530 of speed measurement interface circuit 505 is thus a rectangular digital waveform, the frequency of which can be sufficiently accurately measured by microcontroller 501 by methods well known to those of skill in the art. It should be noted that at low speeds not only is the amplitude low but also the frequency is of a low value. For example, at 8 RPM, the frequency output of a 50 pole AC generator is 8*50/60 or 6.67 Hz.
(38) A preferred embodiment of the invention utilizes a speed determination algorithm which captures the time at which transitions occur on the rectangular waveform (signal 530). Signal 530 is the output of speed measurement interface circuit 505. By counting microcontroller clock transitions which occur between, for example, positive-going transition of the signal 530, the period of the AC signal at line 528 can be determined and thus the rate of rotation of the AC generator 504 can be determined.
(39) The aforementioned PIC18F26K20 comprises what is called capture functionality. This means that the microcontroller 501 can measure the time between positive going transitions of signal 530 to a resolution of 4 times the period of the microcontroller clock. The details of the capture functionality are well documented and there are other techniques known to those of skill in the art which would allow microcontroller 501 to determine a value representative of the rate of rotation of the generator 504.
(40) The portion of the electronic circuitry which enables the microcontroller to electrically brake the AC generator 504 comprises FETs 515, 516, capacitor 517, resistor 518 and PWM to analog level signal conditioning 506. The PWM to analog level signal conditioning is described further below in reference to
(41) It is known to those with skill in the art that a field effect transistor, when biased to conduct, can pass current either from source to drain or from drain to source. By placing two N-channel FETs in series with their sources connected together and with their gates connected together and with each of their drains connected to one of the terminals of a centre-tapped generator coil, a variable electrical load which conducts AC can be provided to that generator winding. Resistor 518 and capacitor 517 ensure that the sources of the two FETs 515 and 516 remain at a voltage level within the operational range of the circuit for all rotational speeds of generator 504 which might be encountered and throughout the full range of gate voltages which might be applied. The sources of FETs 515 and 516 cannot be grounded because, if they were, the intrinsic diodes which are present within each of the FETs 515 and 516 would conduct to ground, and this would defeat the purpose of the circuit. The sources of the FETs 515 and 516 similarly cannot be left floating because in that case the voltage at the junction of the sources would not remain within a proper operating range for correct performance of the circuit. Resistor 518 must be of a high enough value such that any conducted currents flowing through either of the intrinsic diodes present within the FETs and thus flowing also through resistor 518 cause insignificant braking force. In one embodiment, the value of resistor 518 is 10K ohms and the value of capacitor 517 is 1 microfarad.
(42) In a preferred embodiment, the voltage at the gates of FETs 515 and 516 (which are connected together and are driven by signal 527) is a voltage level ranging from V to V.sub.dd. Because of the manner in which the voltage at the sources of the two FETs 515 and 516 is set, it is necessary to supply a negative voltage as low as V to the gates in order to ensure that the FETs can be turned completely off. When FETs 515 and 516 are both turned completely off there is minimum braking force and maximum rotational speed. Similarly, in order to ensure that the FETs 515 and 516 can be completely turned on, as required for maximum braking force and minimum rotational speed, it is necessary to supply a positive voltage as high as V.sub.dd to the gates.
(43) PWM to analog level signal conditioning 506 converts PWM signal 526 from microcontroller 501 to an analog signal ranging from V to V.sub.dd, dependent upon the duty cycle of the PWM signal 526. The requirement to supply a negative gate voltage to FETs 515 and 516 for minimum braking force led the inventors to create the V supply in the circuit by means of full wave rectification of harvested AC energy from generator 504. As described above, the V supply is provided by the action of diodes 509 and 510 and capacitor 514.
(44)
(45) Further,
(46) Finally,
(47)
(48) Note that in
(49)
(50) In an embodiment of the invention op-amp 701, comparator 702 and reference voltage 703 are all components within a very low power package, Linear Tech's LTC1541. Exemplary values of components in the circuit of
(51) In the case of Linear Technology's model LTC1541 the voltage reference is 1.2 volts. This reference voltage is more accurate than the reference voltage that may be intrinsic to microcontroller 501, which in the case of Microchip's PIC18F26K20 is also 1.2 volts. In a preferred embodiment an external reference voltage, such as that supplied by the LTC1541 is also provided to an analog-to-digital converter input of microcontroller 501 thus allowing the microcontroller to more accurately determine the level of any voltage measured through its analog to digital converter and also to more accurately determine the level of its V.sub.dd power supply.
(52) It is well understood by those with skill in the art that the rotational speed of a sprinkler is influenced by the pressure of the water supply powering the sprinkler. In an embodiment of the invention, the relationship between a sensed rotational speed which occurs when there is a known braking force may be exploited to estimate the water pressure. Note that when the battery charges, the battery charging circuit will draw current from the generator which will tend to slow down the speed of rotation. The water pressure is estimated by turning off the battery charging circuit first. Then, a known electrical load is applied to the generator (braking force) for measuring the speed of rotation. The sprinkler may be characterized such that the relationship between speed of rotation with this known braking force and water pressure can be known to the microcontroller. This relationship may be stored in a lookup table and thus the water pressure can be determined by measuring the speed of rotation given a specific predetermined braking force.
(53)
(54) Algorithms for verifying battery voltage are well-known by those with skill in the art. In one embodiment, a voltage reference is measured with respect to V.sub.dd by the integral analog-to-digital converter present in the microcontroller. The number of ADC counts which represent the so-measured voltage reference is thus an indication of the absolute voltage of the V.sub.dd supply which powers the microcontroller and therefore is representative of the present voltage of the rechargeable battery. Comparison of this value with built-in program constants can thus determine whether the battery is good, weak or dead. If the battery is good or weak, firmware execution moves on to step 807. If the battery voltage is too low to operate the motion control system properly, execution continues with what may be referred to as the dead battery routine step 830, explained further below.
(55) At step 807, the firmware determines whether or not the wireless transceiver 503 is currently connected to the wireless network. When wireless transceiver 503 is connected it can communicate with the base station (see
(56) If the wireless transceiver is connected, then execution moves on to step 810; but if the wireless transceiver is not connected, then step 809 is performed, which initiates the connection process. The connection process may take several minutes depending on the characteristics of the wireless network and wireless transceivers used in the system.
(57) Next, step 810 sets up the timing logic in microcontroller 501 such that each sprinkler in the system will have intelligent knowledge of time. In an embodiment, sprinklers need not know the real time, that is they do not need to be aware of precise time of day. They do, however, need to know how much time has passed since step 810 was executed. In another embodiment, precise time of day and date are known by the sprinklers and timing of events may depend on that precise knowledge of real time. In a preferred embodiment, the base station can inform each sprinkler as to the precise real time and the individual sprinklers do not need to independently have knowledge of time of day.
(58) Steps 811 through 823 are performed in a loop (the run loop) and may be performed one to four times per second. In an embodiment of the invention, a sprinkler runs a water distribution instruction which is initiated either at a specific time (perhaps daily) or whenever the master valve which controls the flow of water is turned on. This instruction is a specific RPM or specific braking force and, optionally, a specific setting of a local valve, such as the percentage of time the local valve is on. A water distribution instruction may also include a duration of time during which it will be active. If the water distribution instruction includes a duration, for example 10 minutes, then after that time has elapsed, the instruction is no longer active and the sprinkler will either shut off or return to some default instruction. For example, the water distribution instruction may specify that the sprinkler will rotate at 20 RPM for 25 minutes with the local valve turning on for 20 seconds and turning off for 20 seconds, which means that water is flowing 50% of the time. Another instruction may be queued up to run after the present instruction times out, in this case after 25 minutes. There may be several instructions stored in the memory of a sprinkler and instructions may be read and written by the base station in order to adjust the behaviour of any individual sprinkler or any group of sprinklers over time.
(59) The run-time loop of steps 811 through 823 performs the following functions:
(60) a. Check for incoming wireless messages and act on them (811);
(61) b. Send outgoing wireless messages regarding errors and/or warnings (such as weak battery or other malfunctions (813);
(62) c. Periodically, for example every 15 minutes, check the battery and if the battery is too weak to properly operate the motion control system, exit the run loop and enter the dead battery routine, step 830 (815);
(63) d. Periodically send status messages to the base station (these may occur once every, e.g. 15 minutes, or may be sent whenever a significant event has occurred such as an error or warning or speed change or status change, etc.) (817);
(64) e. Determine the sprinkler RPM (819);
(65) f. Based upon the current water distribution instruction, adjust the braking force to maintain the desired sprinkler rotational speed (821), and
(66) g. Open or close the valve based on the desired water distribution. (823).
(67) The microcontroller has knowledge of elapsed time such that it can begin or end a particular water distribution instruction at the proper moment. Further, the microcontroller will open and close the local valve to modulate water flow according to the current water distribution instruction (step 823). For example, in an embodiment of the invention, the run loop (steps 811 through 823) execute twice per second. If, for example, the current water distribution instruction provides for 20 seconds of water flow followed by 20 seconds of no water flow (50% duty cycle), this opening and closing of the valve will take place at step 823 accordingly. There would, in that case, be 40 loops or 20 seconds with the valve open followed by 40 loops or 20 seconds with the valve closed and this would repeat throughout that particular water distribution instruction.
(68) It is pertinent to note that although this flowchart specifically addresses the closed loop control of sprinkler rotational rate by means of electrical braking and valve control, water distribution may be adjusted by some other means and/or other parameters may be adjusted as well. For example, the system may adjust a pinch valve or some other type of valve in order to adjust the flow rate or pressure of the water supply in the system and thereby adjust the speed of rotation and the volumetric flow of water through the sprinkler.
(69) However, there will be periods of time during which the loop (steps 811 through 823) will execute and no water will be flowing. This may be intentional as in situations where, for example, a center pivot is travelling over a pond and it is proper to stop the flow of water. Alternatively, there may be no water flow because the master valve is turned off. As illustrated in
(70) A dead battery situation results in execution of step 830. It is to be noted that certain activities of the motion control apparatus require higher power than other activities. For example, the process of connecting the wireless transceiver to the network is expensive in terms of time and power and it is desirable to never need to disconnect from the wireless network. Similarly, operating a valve or a display may be expensive in terms of power. In an embodiment of the invention, all higher power activities are discontinued during the execution of step 830. An example of a higher power activity is the operation of the wireless transceiver. Thus entering step 830 may disconnect the wireless transceiver from the network, which is undesirable. Further, during the period in which the battery is dead, the power required to operate the microcontroller may be reduced by running the microcontroller at a slower clock rate. In a preferred embodiment, the power required to execute the run time loop 811-823 is very low and this loop may continue running for months without failure given a properly charged battery. However, there is always the possibility that the battery drains because of malfunction or because of non-use of the system. In such cases the firmware must accommodate the situation and this is the main purpose of step 830.
(71) The dead battery routine in a preferred embodiment turns off the wireless transceiver and slows down the clock speed of the microcontroller and turns off all unnecessary features in order to conserve power. Current draw from the battery may be reduced to less than 10 A in such a situation. The rechargeable battery used in a preferred embodiment may have a capacity of greater than 500 mA-h. Assuming that the dead battery routine is called when the battery is discharged to only 10% of its capacity (50 mA-hr remaining), the dead battery handler routine may operate for 5000 hours or longer than 200 days (50 mA-hr/10 A=5000 hrs.). Further, the dead battery routine opens the valve, releases any braking force and activates the battery charging circuit, thus ensuring that when the sprinkler spins, the maximum amount of power will be harvested to enable the battery to recharge as quickly as possible. The dead battery routine will periodically check the battery voltage and if there is adequate charge will exit and restart the firmware execution at step 803
(72)
(73) 1) view status;
(74) 2) be informed of errors and warnings; and
(75) 3) control the system in general.
(76) In a preferred embodiment, the base station receiver is solar powered thus eliminating the need to run electricity to it. In another embodiment the base station receiver in turn wirelessly communicates with the manager's computer system 952.
(77) Although this invention has been described in terms of certain preferred embodiments, other embodiments that are apparent to those of ordinary skill in the art, including embodiments that do not provide all of the features and advantages set forth herein, are also within the scope of this application. Rather, the scope of the present invention is defined only by reference to the appended claims and equivalents thereof.