Field of the Invention
The present invention relates to a function control device for a mobile system that uses a battery, and more particularly to a function control device which detects a decrease in the voltage output from the battery in response to a driving operation of the mobile system. When voltage decreases are detected, the invention sequentially cuts off functions, which consume a lion's share of the stored power, whereby the battery usage is maximized and the operational period of the mobile system is extended.
Background of the Invention
A conventional mobile system for crime and disaster prevention, utilizing a battery as a single power source, consumes lots of power in a short: time period because it performs complex functions, including a motor driving function and a gas leak sensing function. When a battery is used as a power source for this kind of mobile system, it is impossible to use the battery continuously for a long time period due to its limited capacity. Further, when a normal operation (e.g., when all the functions are performed) is executed, the battery voltage decreases drastically, until operation of the mobile system is completely stopped and the desired functions are not performed. Thus, in previous systems, to use the mobile system for a long period of time, it was necessary to use a battery having a large capacity. However, batteries having sufficient capacity are undesirably large and heavy.
Summary of the Invention
Accordingly, the present invention has been contrived while taking the above and other considerations into account. It is an object of the present invention to provide a battery having a limited capacity, which can still maximize an operational period of the system. The battery is maximized by allowing only a portion of the system's functions to be performed when the battery voltage drops below a regulated value in response to the operation of the system. The system uses a microcomputer to stop those functions which consume relatively large quantities of power.
In order to obtain the above-referenced objects, the invention provides a function control device of a mobile system, utilizing a battery, that comprises a power source, a microcomputer for controlling an overall operation of the mobile system, a first voltage comparing portion for comparing a voltage level of the power source with a motor-driving minimum reference voltage and a second voltage comparing portion for comparing the voltage level of the power source with a minimum reference voltage which drives a gas sensing portion. The control device also includes a motor driving portion for moving the mobile system, a gas sensing portion for sensing gas leaks, an intruder sensing portion for sensing intruders, a fire sensing portion for sensing fires and an alarm for generating a warning sound when at least one of the above gas, intruder and fire sensing portions has sensed a signal resulting from an abnormal condition.
Brief Description of the Drawings
For a fuller understanding of the nature and objects of the invention, reference should be made to the following detailed description taken in conjunction with the accompanying drawings in which:
FIG. 1 is an overall control block diagram of a mobile system utilizing a battery in accordance with the present invention;
FIG. 2 is a detailed circuit diagram of FIG. 1; and
FIG. 3 is a flow chart illustrating an operation sequence of a function control device of a mobile system utilizing a battery in accordance with the present invention.
Detailed Description of the Invention
FIG. 1 is a block diagram of the present mobile system which utilizes a battery. The system includes a battery power source 1, a first voltage comparing portion 2 which compares a voltage level of the battery 1 with a motor-driving minimum reference voltage. The first voltage comparing portion supplies an output thereof to a microcomputer 10. A second voltage comparing portion 3 compares the voltage level of the battery 1 with a sensing minimum reference voltage, which drives a gas sensing portion 4. The second voltage comparing portion also supplies an output thereof to the microcomputer 10. A gas sensing portion 4 senses whether or not there is a gas leak and operates, when a gas leak exists to input a gas leakage signal to the microcomputer 10, so that a warning sound can be generated.
An intruder sensing portion 5 inputs an intruder sensing signal to the microcomputer 10, which thereafter sends out a warning Sound when an intruder is present. A fire sensing portion 6 inputs a fire sensing signal to the microcomputer 10 which thereafter sends out a warning sound when a fire exists. A motor driving portion 7 drives the motor based on signals from the microcomputer, and a buzzer 8 sends out a warning sound in response to control of the microcomputer 10 when at least one of the above sensing portions senses an abnormal condition.
Next, a function control of the mobile system, utilizing a battery in accordance with the present invention, will be described in detail with reference to FIG. 2.
The first voltage comparing portion 2 includes a Zener diode Z.sub.D1 having a much lower break-down characteristic than that of the battery 1. The first voltage comparing portion 2 compares a voltage level V.sub.1 , representative of the battery output, with a motor-driving minimum reference voltage V.sub.ref1. The reference voltage V.sub.ref1 is generated by a resistor R.sub.Z1 zener diode z.sub.D1 , to a non-inverting terminal "-" of a first voltage comparator C.sub.1 to establish a minimum battery reference voltage. The comparing portion 2 uses resistors R.sub.A1 and R.sub.B1 and a variable resistor R.sub.V1 to supply the voltage level V.sub.1 of the battery 1 to an inverting terminal "-" of the first voltage comparator C.sub.1.
During operation, when the voltage level V.sub.1 of the battery 1 falls below the minimum reference voltage V.sub.ref1 , the first voltage comparator C.sub.1 supplies a bias voltage to a base of a transistor Tr.sub.1 , via resistors R.sub.1 and R.sub.2 , thereby rendering the transistor Tr.sub.1 conductive. This bias voltage also causes a first light emitting diode LED1 to be emissive, in order to display an unable driving condition of the motor driving portion 1.
When V.sub.1 .ltoreq.V.sub.ref1 a high level signal is supplied from the first voltage comparator C.sub.1 to an input terminal I.sub.1 of the microcomputer 10. When the input terminal I.sub.1 receives a high level, the microcomputer 10 supplies a low level to the output terminals O.sub.1 and O.sub.2, in order to prevent the motor M from driving the mobile system in the forward or backward direction, so that forward and backward driving cannot be executed. When V.sub.1 >V.sub.ref1, a low level signal is supplied from the first voltage comparator C.sub.1 to the input terminal I1 of the microcomputer 10. When this low level signal is applied, the microcomputer 10 outputs a high level signal from one of the output terminals O.sub.1 or O.sub.2, in order to drive the motor, so that the mobile system can be driven in a forward or backward direction.
For instance, when a high level signal is output from the output terminal O.sub.2 and a low level signal is outputted from the output terminal O.sub.1 , a bias voltage is supplied, via a resistor R.sub.7 , to a base of a transistor Tr.sub.3 , thereby rendering the transistor conductive/ON. Once the transistor Tr.sub.3 is rendered conductive/ON, a second transistor Tr.sub.7 is also rendered conductive and a terminal V of the motor M is supplied with a negative "-" voltage. The transistor Tr.sub.3 also renders, via a resistor R.sub.6, a transistor Tr.sub.4 conductive, so that a terminal U of the motor M is connected to, and supplied with, a positive "-" voltage. Connecting terminals V and U with negative and positive voltages, respectively, cause the motor M to rotate in the forward direction to thereby drive the mobile system in a forward direction.
In the above example, when the output terminal O.sub.1 of the microcomputer 10 is supplied with a low level signal, the transistors Tr.sub.2, Tr.sub.6 and Tr.sub.8 are rendered non-conductive/OFF, thereby preventing the motor M from rotating in the backward direction.
Conversely, when a terminal O.sub.1 of the microcomputer 10 is supplied with a high level signal and the terminal O.sub.2 is supplied with a low level signal, a bias voltage is supplied to the base of the transistor Tr.sub.2 through a resistor R.sub.5 to thereby render the transistor Tr.sub.2 conductive/ON. Accordingly, when the transistor Tr.sub.2 is conductive, the transistor Tr.sub.5 is also rendered conductive, so that the terminal U of the motor M is supplied with a negative "-" voltage. Furthermore, the transistor Tr.sub.2 also supplies a bias voltage, via a resistor R.sub.8, to the base of a transistor T.sub.6, to thereby render the transistor Tr.sub.6 conductive. Thus, a positive "-" voltage level (from the battery 1) is supplied to the terminal V of the motor M through the terminal VBB. The motor M is thereafter rotated in the backward direction, causing the mobile system to run backward.
The second voltage comparing portion 3 compares the voltage level of the battery 1 with a minimum reference voltage V.sub.ref2 which is necessary to drive the gas sensing portion 4. The second voltage comparing portion 3 is connected to a zener diode Z.sub.D2 having a much lower breakdown characteristic than that of the source voltage of the battery 1 (similar to the zener diode Z.sub.D1 in the first voltage comparing portion 2). The non-inverting terminal "-" of the second voltage comparator C.sub.2 is connected to a resistor R.sub.22. The zener diode Z.sub.D2 and the resistor R.sub.Z2 produce the minimum reference voltage V.sub.ref1 which can drive the gas sensing portion 4 to thereby establish a second lowest voltage for the battery 1. Resistors R.sub.A2 and R.sub.B2, and a variable resistor R.sub.V2 are used to produce a voltage level V.sub.2, representative of the battery output, at an inverting terminal "-" of the second voltage comparator C.sub.2. When the minimum reference voltage V.sub.ref2 of the second voltage comparator C.sub.2 is higher than the voltage level V.sub.2 (i.e., V.sub.2, .ltoreq.V.sub.ref2), a high level signal is supplied from the second voltage comparator C.sub.2 to an input terminal I.sub.2 of the microcomputer 10. Thereafter a low level signal is output from an output terminal O.sub.3 of the microcomputer 10 to render the gas sensing portion 4 inoperable.
When V.sub.2 >V.sub.ref2, a low level signal is supplied from the second voltage comparator C.sub.2 to the input terminal I.sub.2 of the microcomputer 10 and, in response thereto, the microcomputer outputs a high level from the output terminal O.sub.3, thereby directing the gas sensing portion 4 to remain operative. When a high level signal is output from the output terminal O.sub.3, transistors Tr.sub.8 and Tr.sub.9 are rendered conductive, via a resistor R.sub.10, and a voltage potential V.sub.cc is supplied to a gas sensor G, thereby rendering it operable.
In the gas sensing portion 4, when gas is not present, a gas detecting voltage V.sub.3 supplied to a non-inverting terminal "-" of the third voltage comparator C.sub.3, is connected to ground through a resistor R.sub.12 and a variable resistor R.sub.V3. A voltage V.sub.cc, representing a gas detection reference voltage V.sub.ref1, is input to a non-inverting terminal "-" of a third voltage comparator C.sub.3, through a resistor R.sub.A3. The third voltage comparator C.sub.3 outputs a low level signal when no gas leak is detected to turn OFF a transistor Tr.sub.10. Accordingly, the second light emitting diode LED2 is not turned ON.
Meanwhile, when gas is leaked, the gas sensor G of the gas sensing portion 4 is rendered conductive, thereby raising the gas detecting voltage V.sub.3 of the third voltage comparator C.sub.3 above the gas detection reference voltage V.sub.ref3. In response thereto, the third voltage comparator C.sub.3 outputs a high level signal. Therefore, the transistor Tr.sub.10 is rendered conductive to thereby make the second light emitting diode LED2 operable. When the transistor Tr.sub.10 is conductive, an output signal of the second light emitting diode LED2 is input to a terminal I.sub.3 of the microcomputer, which now outputs a high level signal from a terminal O.sub.6 in response thereto. The high level signal from the terminal O.sub.6 inputs a bias voltage to a base of a transistor Tr.sub.11, through a resistor R.sub.16, rendering it conductive. Thereafter, a voltage V.sub.cc is applied to a buzzer 8, through a resistor R.sub.15, to send out an alarming sound.
Next, the intruder and fire detection circuits will be explained.
First, a high level signal is output from an output terminal O.sub.4 of the microcomputer 10 in order to keep the intruder sensing portion 5 operable. Thereafter, when an intruder is detected, the intruder sensing portion 5 supplies an output signal to an input terminal I.sub.4 of the microcomputer 10. In response thereto, the microcomputer outputs a high level signal at terminal O.sub.6 to render a transistor Tr.sub.11 conductive. Once the transistor Tr.sub.11 is conductive, a warning sound is sent out from the buzzer 8 just as an alarm sound is generated during the detection of a gas leak.
As seen from the foregoing, a high level signal is output from a terminal O.sub.5 of the microcomputer 10 in order to maintain the fire sensing portion 6 operative. When a fire occurs, the fire sensing portion 6 supplies an output signal to a terminal I.sub.5 of the microcomputer 10. In response thereto, the microcomputer outputs a high level signal from an output terminal O.sub.6 to cause the buzzer 8 to send out an alarming sound. A voltage regulator 9 (FIG. 2) attenuates an output voltage of the battery 1.
Next, an operation sequence of the function control device of the mobile system will be described with reference to a flow chart in FIG. 3. The reference numeral S in FIG. 3 represents the step. First, when the microcomputer is turned on, it establishes an initialization value at step S1, and the flow proceeds to step S2. At step S2, the gas sensing portion 4, intruder sensing portion 5, fire sensing portion 6 and motor driving portion 7 are all driven to execute functions of the mobile system. Thereafter, step S3 discriminates whether an output voltage V.sub.O1 of the first voltage comparing portion 2 is at a high level. When this output voltage is high (i.e., when the voltage level of the battery is below the first threshold), flow advances to step S4. Since the voltage level of the battery 1 is too low to operate the motor M, the function control device stops driving the motor.
Next, flow proceeds to step S5, at which the system discriminates whether or not an output voltage V.sub.O2 of the second voltage comparing portion 2 is "1" (i.e., at a high level), and if the answer is YES, flow proceeds to step S6. Since a YES at step S5 indicates that the voltage level of the battery 1 is too low to operate the gas sensing portion 4, the system stops operation of the gas sensing portion 4.
Next, at step S7, the fire sensing portion 6 and the intruder sensing portion 5 of the mobile system are operated. Thus, when the voltage level of the battery is below the first and second reference voltages V.sub.O1 and V.sub.O2, the system disables the motor driving and gas sensing functions, to minimize the power consumption by allowing only the fire and intruder sensing functions to be performed.
As seen in the foregoing, when the present function control device for a mobile system determines that it will be impossible to operate the mobile system for an extended period of time due to large power consumption, the system temporarily stops the motor driving and gas sensing functions, which consume a majority of the power. The fire and intruder sensing functions and the like which consume less power are still executed continuously, so that the mobile system is operative for a longer period of time.