BATTERY-POWERED DEVICE

Abstract: If in the case of a load (R₁) powered by a battery (6) the detection means (10) detect a battery voltage below a first threshold value (V₁) defined by an adjustable voltage source (20), first time-measurement means (40, 50) measure the time interval during which the load (R₁) is powered by the battery (6), at a voltage below this threshold value (V₁). If subsequently the load (R₁) is switched off and not connected to the mains voltage via a power-supply circuit (1), the battery (6) is discharged by a discharger (30). Second time-measurement means (40, 60) measure the time interval during which the discharger (30) is operative until the detection means (10) detect a battery voltage below a second threshold value (V₂), which is defined by a voltage source (25) and at which the battery (6) may be regarded as fully discharged drained. After comparison of the sum of the time intervals measured by the first and the second time-measurement means with the reference value, correction means (70) correct the first threshold value (V₁) in such a way that during a next discharge the time measured is better in agreement with the reference value.

Description: The invention relates to a device comprising: a load which can be powered by a rechargeable battery; a power-supply circuit for charging the battery and/or powering the load; and first detection means for detecting a battery voltage substantially equal to a first threshold value corresponding to a desired battery capacity still available. In the present application "battery" is to be understood to mean a unit comprising one or more cells, such as nickel-cadmium cells. Such a device is constituted by, for example, a domestic appliance which can be battery-powered or which can be mains-powered by means of a power-supply circuit. The battery can be recharged via the power-supply circuit when the appliance is switched off. In particular, such a device may be constituted by a rechargeable electric shaver. Such a device is known from European Patent Application 110,466. In said known device the first detection means are employed for generating a signal which informs the user that the batteries are almost drained and have to be recharged before long. The first threshold value is then selected in such a way that, for example, at least one period of use of approximately five minutes is available after detection of this value. In practice it is found that many users recharge the batteries immediately after the period of use in which the nearly-discharged indication occurs. As a result of this the batteries are never discharged completely. However, in the long run the battery material becomes inert, causing the battery capacity to decrease. As a result of this, the time still available for use after detection of the first threshold value decreases, so that ultimately no full period of use is available any more. Moreover, the battery capacity also decreases as a result of aging, so that the time still available for use after detection of the first threshold value also decreases. In addition, in the known device the time still available for use depends on the load of the device. Therefore, it is the object of the invention to provide a device in which the available battery capacity after detection of the first threshold value remains substantially constant. To this end a device of the type defined in the opening paragraph is characterized in that the device further comprises: a second detection means for detecting a battery voltage substantially equal to a second threshold value smaller than the first threshold value and corresponding to a value for which the battery (6) may be regarded as fully discharged; a discharger for discharging the battery with the load switched off after detection of the first threshold value until detection of the second threshold value; first time-measurement means for measuring the time interval during which the load is powered by the battery after detection of the first threshold value until detection of the second threshold value; second time-measurement means for measuring the time interval during which the discharging device is operative, and correction means for correcting the first threshold value of the first detection means depending on the weighted sum of the time intervals measured by the first and the second time measurement means relative to a reference value so that during a subsequent discharge the desired battery capacity remains available after detection of the first threshold value. Upon detection of the first threshold value in a device in accordance with the invention after the device has been switched off a discharger circuit discharges the battery to a second threshold value for which the battery may be regarded as fully discharged. Both the time during which the device is still switched on after detection of the first threshold value and the time during which the discharger circuit is operative are measured. The weighted sum of these time intervals is compared with a reference value and depending on the result the first threshold value is raised or reduced in such a way that the battery capacity still available after detection of the first threshold value remains substantially constant. Thus, the user can be certain that after detection of the first threshold value always at least one period of use of, for example, approximately 5 minutes is available. It is to be noted that United States Patent Specification 4,575,669 describes a device for completely discharging the battery in order to keep the battery capacity as large as possible. However, in this device no adaptation of a threshold value of a nearly-discharged indication is effected. An embodiment of a device in accordance with the invention may be characterized in that the device further comprises: third detection means for detecting a weighted sum of the time intervals measured by the first and the second time-measurement means, which sum is substantially equal to a third threshold value corresponding to the desired time of use after detection of the first threshold value, and for switching off the discharger or the load after detection of said third threshold value. In this embodiment the discharging device is switched off when the second or the third threshold value is detected. The third threshold value corresponds to the desired time of use at the nominal load current below a battery voltage equal to the first threshold value. If the second threshold value is detected before the third threshold value the time of use still available is inadequate and the first threshold value is raised. In the opposite case the first threshold value is reduced. The invention will now be described in more detail, by way of example, with reference to the accompanying drawings in which: Figure 1 shows a first embodiment of a device in accordance with the invention, Figure 2 shows a second embodiment of a device in accordance with the invention, Figure 3 shows a third embodiment of a device in accordance with the invention, Figure 4 is a flow chart of the program of the microprocessor shown in Figure 3 in the case that the device of Figure 3 operates in the same way as that of Figure 1, and Figure 5 is a flow chart of the program of the microprocessor shown in Figure 3 in the case that the device operates in the same way as that shown in Figure 2. Figure 1 is the circuit diagram of a first embodiment of a device in accordance with the invention. The device comprises a power-supply circuit 1 having terminals 2 and 3 for connection to a mains, which may be either an alternating voltage or a direct voltage mains. The power-supply circuit is, for example, a switched-mode power supply as disclosed in British Patent Specification 2,000,394 or European Patent Application 30026. The outputs 4 and 5 of the power-supply circuit 1 are connected to a battery 6, which in the present example comprises two series-connected nickel-cadmium cells 7 and 8. By means of a switch S₁ a load R L can be arranged in parallel with the battery 6. This load R L may be, for example, the motor of an electric shaver. When the device is connected to the mains voltage and the switch S₁ is open the power supply circuit 1 supplies the charging current for the battery 6, which mode is referred to hereinafter as the battery-charging mode. When the device is connected to the mains voltage and the switch S₁ is closed the power-supply circuit 1 supplies a current to the load R L and a comparatively small charging current to the battery 6 if the battery voltage is lower than the value at which the voltage across the load R L is stabilized by the power-supply circuit 1. Hereinafter, this mode will be referred to as the mains-shaving mode. If the power-supply circuit 1 is not connected to the mains and the switch S₁ is closed the current to the load R L is supplied by the battery 6. This mode will be referred to hereinafter as the battery-shaving mode. It is to be noted that instead of one circuit the power supply circuit may comprise two circuits, one circuit powering the motor in the mains shaving mode and the other circuit charging the batteries in the battery charging mode. The device further comprises first detection means 10, 20 for detecting a battery voltage below a value V₁ determined by an adjustable voltage source 20 and second detection means 10, 25 for detecting a battery voltage below a value V₂ defined by the voltage source 25, the part 10 of the circuit being common to the first and the second detection means. This part 10 comprises a voltage divider with the resistors 11 and 12 arranged across the battery 6, the junction point of the resistors being connected to the non-inverting input of a comparator 13 whose inverting input is connected to the adjustable voltage source 20 or to the voltage source 25 via a switch S₂. The output of the comparator 13 is connected to the input of a Schmitt trigger 14 whose output is connected to one input of a gate circuit 15 whose other input is connected to an output of an oscillator 41. The outputs of the gate circuit 15 are connected to the count-up and count-down inputs of a counter 16 whose output is connected to the input of a binary scaler 17 whose output supplies the output signal of the first and the second detection means and the switching signal for the switch S₂, if required, via a delay circuit 18. The output of the binary scaler 17 is further connected to an indicator 27, which when the voltage on the output of the binary scaler goes high, informs the user that the battery 6 is almost drained and must be recharged before long. The device also comprises a discharger 30 for discharging the battery 6, which discharger comprises an AND-gate 31 having a non-inverting input to which the output signal of the first and the second detection means is applied and having an inverting input to which a signal is applied which is high if the switch S₁ is closed and which is low if this switch is open. The output of the AND-gate 31 is connected to the base of an NPN transistor 32 whose collector-emitter path, in series with a discharging resistor 33 and a light-emitting diode 34, is connected across the battery 6. It is to be noted that, instead of in the collector line, the resistor 33 may alternatively be arranged in the emitter line of the transistor 32. Moreover, the diode 34 may be arranged at other locations in the circuit to indicate that the discharger 30 is operative. The device further comprises first time measurement means 40, 50 and for measuring the time interval during which the load is powered by the battery 6 and second time-measurement means 40, 60 for measuring the time interval during which the discharger circuit 30 is in operation, in both cases after the first detection means 10, 20 have detected a battery voltage below the voltage V₁ and until the second detection means 10, 25 detect a battery voltage below the value V₂. The first time-measurement means 40, 50 comprise an AND-gate 51 having four inputs which respectively receive the output signal of an oscillator 41, the output sigal of the first and the second detection means, a signal which is high if the power-supply circuit 1 is not connected to the mains voltage and low if the circuit is connected to the mains voltage, and a signal which is high if the switch S₁ is closed and low if the switch S₁ is open. The output of the AND-gate 51 is connected to a counter 42 via a scaler 52. The second time-measurement means 40, 60 comprise an AND-gate 61 having three inputs which respectively receive the output signal of the oscillator 41, the output signal of the first and the second detection means, and the output of the AND-gate 31. The device further comprises correction means 70, comprising a comparator 71 for comparing, upon detection of a battery voltage below the value V₂ by the second detection means 10, 25, the count of the counter 42, with a reference voltage stored in a memory 72. The correction means 70 further comprise a read-only memory 73, which stores a value which defines the nominal value V₁ of the voltage source 20 and a read-write memory 74 into which the nominal value from the read-only memory 73 is loaded when the device is put into operation for the first time and after every replacement of the battery 6. After every discharge this value is corrected depending on the output signal of the comparator 71 and then determines the value V₁ of the voltage source 20. The operation of the device can be explained as follows. It is assumed that the device is in the battery-shaving mode, in which the switch S₁ is closed and the power-supply circuit 1 is not connected to the mains voltage. Further, it is assumed that the battery voltage exceeds the value V₁ defined by the voltage source 20, the switch S₂ being consequently in position A. In this situation the voltage on the output of the comparator 13 and the voltage on the output of the Schmitt trigger 14 are high. The pulses from the oscillator 41 are then applied to the count-down input of the counter 16, so that the count remains zero as long as the battery voltage remains higher than the voltage V₁ of the voltage source 20. The output of the counter 16 is then low, so that the output of the binary scaler 17 is also low. The AND-gate 31 is then closed and the discharger 30 is consequently inoperative. The AND-gates 51 and 61 are then also closed, so that the count of the counter 42 remains zero. If the battery voltage decreases below the value V₁, the voltage on the output of the comparator 13 and that on the output of the Schmitt trigger 14 go from high to low. The pulses from the oscillator 41 are then applied to the count-up input of the counter 16. After, for example, five seconds this counter 16 reaches a count at which the output voltage changes from low to high. If within this time interval the battery voltage again exceeds the voltage V₁, the counter 16 counts down to zero and the output voltage of the counter remains low. This ensures that the first detection means do not detect brief decreases below the voltage V₁ caused by peak loads as below-level conditions. If the output of the counter 16 goes high, the voltage on the output of the scaler 17 also goes high and the indicator 27 is driven. The switch S₂ is set to position B via the delay circuit, so that the voltage source 25 is then connected to the inverting input of the comparator 13. The outputs of the comparator 13 and the Schmitt trigger 14 then go high again and the output of the counter 16 goes consequently low. However, as a result of the presence of the binary scaler 17 the voltage on the output of this circuit remains high. The AND-gate 31 then remains closed because the switch S₁ is closed. However, the AND-gate 51 is opened, so that pulses are applied from the oscillator 51 to the counter 42 via the scaler 52. In this way the first time measurement means 40, 50 measure the time interval during which the load R L is powered by the battery 6 after detection of a battery voltage below the voltage V₁. If after shaving the device is switched off in that the switch S₁ is opened, the supply of pulses to the counter 42 via the AND-gate 51 ceases. However, when the switch S₁ is opened the AND-gate 31 opens, so that the voltage on the base of the transistor becomes high, causing this transistor to be turned on. As a result of this, the battery 6 is discharged, which is indicated by the LED 34. The discharging current is then limited by the resistor 33. When the discharger circuit 30 is switched on the AND-gate 61 is opened, so that now pulses are applied from the oscillator 41 to the counter 42 via said gate. Since these pulses are not applied to the counter 42 via a scaler but directly, the on-time of the discharger circuit 30 is multiplied directly by a factor which is equal to the ratio between the discharging current and the nominal shaving current. The count of the counter 42 then directly equals the weighted sum of the time intervals measured by the first and the second time measurement means. The discharging current is, for example, three times the nominal shaving current in the battery shaving mode. In that case the scaler 52 is a scale-of-three circuit. However, it is alternatively possible to connect a counter to each of the gates 51 and 61 and to determine the weighted sum of the counts of these counters. If the apparatus is switched on intermediately, for example because the user wishes to continue shaving, the discharger circuit 30 is switched off and the AND-gate 61 is closed. However, the AND-gate 51 is then opened again, so that this shaving time is also measured. If the battery voltage decreases below the value V₂ defined by the voltage source 25, the voltage on the output of the comparator 13 and that of the trigger 14 again goes from high to low, so that if this condition persists for, for example, five seconds the voltage on the output of the counter 16 goes low again. The output of the binary scaler 17 then also goes low, so that the AND-gate 31 is closed and the discharger circuit 30 is switched off. As a result of this, the AND-gate 61 is also closed, so that the supply of oscillator pulses to the counter 52 ceases. The count of this counter 42 is a measure of the battery capacity still available below the battery voltage V₁ or, in other words, it is a measure of the shaving time still available until the battery voltage V₂ is reached. This time is now selected in such a way that upon detection of a battery voltage equal to V₁ at least one shaving period of, for example ,five minutes is available. A value corresponding to this time interval is stored in the memory 72. Upon detection of the battery voltage below the value V₂ the count of the counter 42 is transferred to the comparator 71 under command of a pulse obtained from the binary scaler 17, which comparator compares this count with the reference value from the memory 72. If the value is smaller than the reference value the value stored in the read-write memory 74 is increased, causing the voltage V₁ of the source 20 to be increased. If the value is larger than the reference value the voltage V₁ is reduced. The adaptation of the voltage V₁ may be incremental or proportional to the difference between the count of the counter 42 and the value stored in the memory 72. In this way the voltage V₁ is adapted after every discharge in such a way that during a subsequent discharge below the battery voltage V₁ a certain battery capacity, and hence a certain shaving time, remains available. Moreover, since upon each discharge the battery 6 is discharged completely, the battery capacity remains up to standard. If the apparatus is switched off and the battery voltage has decreased below the value V₁, i.e. if the discharger circuit is operative, and the user connects the power-supply circuit 1 to the mains voltage in order to recharge the battery 6, the power-supply circuit 1 will have to be rendered inoperative depending on the charging current supplied by the power-supply circuit. If the power-supply circuit 1 is of the type which in a comparatively long time, for example 8 hours,fully charges the battery 6 with a current which is small relative to the discharging current of the circuit 30, the power supply circuit will not significantly influence the operation of the remainder of the circuit and need not be rendered inoperative. If the power-supply circuit is of the type which in a comparatively short time, for example, 1 hour, charges the battery with a comparatively large current, the power-supply circuit 1 must be rendered inoperative. This can be achieved very simply, for example by means of the output signal of the AND-gate 31, which is high if the discharger circuit 30 is operative and low if this circuit is inoperative. Figure 2 shows a second embodiment of a device which is particularly suitable for apparatuses comprising a power-supply circuit with a quick-charge facility. If the power-supply circuit 1 is connected to the mains voltage and the battery voltage is lower than V₁ volts, the battery 6 in such apparatus is charged with a comparatively large current in a comparatively short time, for example 3 minutes, so that at least one period of use of, for example, 5 minutes is available within a short time. If such apparatuses are provided with a device as shown in Figure 1, however, and the battery voltage is lower than V₁ volts, the discharger circuit 30 will be rendered operative and the power-supply circuit 1 will be disabled. If complete discharging of the battery takes, for example,three minutes no shaving time is available three minutes after connection to the mains voltage, in contradiction to what the user expects. This undesired situation is avoided when the device shown in Figure 2 is employed. In this Figure identical parts bear the same reference numerals as in Figure 1. However, the counter 42 is now a counter having a maximum count corresponding to a time interval of, for example, three minutes. When the discharger circuit is operative the maximum count is reached after 1 minute if the discharger current is three times the nominal shaving current. As long as this maximum count is not yet reached the voltage on the output is comparatively low. This output is connected to an inverting input of the AND-gate 31 and, via an inverter 80, to the switch S₁. In the battery-shaving mode the switch S₁ remains closed and after switching off, the discharger circuit 30 remains operative until the maximum count is reached. When the maximum count is reached the voltage on the output of the counter 42 becomes comparatively high and, depending on the mode of operation, the switch S₁ is opened or the discharger circuit 30 is switched off. The output signal of the counter 42 and the signal derived by means of the binary scaler 17, which becomes high if the battery voltage decreases below the value V₂, is applied to a gate circuit 75. If the maximum count is reached before the battery voltage has decreased below the voltage V₂, the residual shaving time below the battery voltage V₁ is longer than the shaving time corresponding to the maximum count. The circuit 75 then supplies a signal causing the value stored in the memory 74 to be reduced, so that the voltage V₁ is reduced. If the battery voltage decreases below the value V₂ before the maximum count is reached, the residual shaving time below the battery voltage V₁ is smaller than the shaving time corresponding to the maximum count. In that case the circuit 75 supplies a signal causing the value in the memory 74 to be increased, so that the voltage V₁ is increased. In this way the system will control itself in such a way that below the battery voltage V₁ always a residual shaving time of, in the present example, substantially three minutes is available. Since the discharger circuit is operative for maximum 1 minute, the power-supply circuit 1 is disabled only for a maximum time of 1 minute. After the usual "quick charging" time of three minutes in the present example, the available shaving time will generally be adequate for one shave. The functions of the first and second detection means, the first and second time measurement means, and the correction means described with reference to Figures 1 and 2 can be realized advantageously by means of a microprocessor. Figure 3 is the block diagram of a device provided with such a microprocessor. The device again comprises a power supply-circuit 1 having mains voltage terminals 2 and 3, a battery 6 and a load R L , which can be connected in parallel with the battery 6 by means of the switch S₁. The device further comprises a voltage detector 90, a discharger 30, a microprocessor 100, and a plurality of indicator elements shown schematically in block 110 for indicating the various conditions. The microprocessor 100 receives a signal which indicates whether the power-supply circuit 1 is connected to the mains and a signal which indicates whether the load R L is connected. In addition, the battery voltage information from the voltage detector 90 is applied to the microprocessor 100. The microprocessor controls the discharger 30, the power-supply circuit 1 and the indicator block 110 depending on this information. Figure 4 is the flow chart of the program performed by the microprocessor in the case that the operation of the device corresponds to that of Figure 1. This program may be described as follows. In block 200, designated "motor on", it is first ascertained whether the switch S₁ is closed and whether the load is connected. Subsequently, in block 202, designated "mains on", it is ascertained whether the power-supply circuit 1 is connected to the mains voltage. If it is connected to the mains, the mains-shaving mode occurs and the program returns to the beginning. As long as the mains-shaving mode occurs this loop is followed. If the power-supply circuit is not connected to the mains voltage the battery-shaving mode occurs. In block 204, designated "V b <V₁", it is then detected on the basis of the voltage information from the voltage detector 90 whether the battery voltage V b is smaller than a first reference voltage V₁. As long as this is not the case the preceding program is repeated each time. If the battery voltage V b is smaller than V₁, the average value of the battery voltage is determined in block 206 designated "digital filter", and subsequently in block 208, designated "V b <V₁>5 sec" it is detected whether the average battery voltage remains below the reference voltage V₁ for a time longer than for example 5 seconds. If this is not the case the program jumps back to the beginning and the loop is executed again. If the battery voltage remains below the reference level, a LED of the block 110 in Figure 3 is driven in block 210, designated "BLI-LED on", to indicate to the user that the battery 6 is nearly drained and must be recharged. Subsequently, in block 220, designated "t,t₁, t₂=0", the time t, the value of the shaving time t₁ stored in a memory, and the value of the discharging time t₂ stored in a memory are reset to zero. After this in block 222, designated "motor on" it is detected whether the motor is on, after which in block 224, designated "mains on", it is ascertained whether the power-supply circuit is connected to the mains voltage. If the motor is on, but is not energized by the mains voltage, i.e. in the battery-shaving mode, the count is incremented by one after every execution of the loop in block 226, designated "t-->t+1", so that the time is measured during which the motor is powered by the battery. In block 228, designated "discharge on; t-->t₁;t=t₂", if the motor is switched off in the battery shaving mode, the discharger circuit is switched on, and power-supply circuit is switched off if necessary, an indicator, if present, which briefly after switching off indicates that the battery must be recharged is switched on, and, if present, a LED which indicates that the discharging device is operative is switched on . The time during which the motor has operated below the battery voltage V₁ is loaded into the memory as the time t₁ and the time t is set to the value t₂ stored in the memory, which value is zero in the present example because the discharger circuit 30 has not been operative previously. In block 230, designated "V b <V₂" it is subsequently detected whether the battery voltage has decreased below the value V₂. If this is not the case, the time is increased in block 232, designated "t-->t+1", and subsequently in block 234, designated "motor on" it is detected whether the motor is not switched on. As long as the motor is not switched on again, the time is measured during which the discharger circuit is operative. If the motor is switched on again, because the user which is to continue shaving, in block 236, designated "discharge-off; t-->t₂, t=t₁", the discharger circuit and the discharge LED, if present, are switched off, the power-supply circuit is switched on if it is off, the time interval t₂ during which the discharging circuit has been operative is loaded into the memory, and the time is set to the value t₁ stored in the memory. Subsequently the program returns to block 222 to follow the loop for measuring the time during which the motor has been on, which time is added to the time t₁ during which the motor has been on in the battery-shaving mode. If subsequently the motor is switched off again, the discharger circuit is switched on again and the time during which it is operative is measured again and is added to the time t₂ during which the discharging circuit has already been operative. If in block 230 it is detected that the battery voltage has decreased below the value V₂, then in block 240, designated "t tot = t₁+cxt₂", the discharger circuit is switched off, the power-supply circuit is turned on, and the weighted sum is determined of the time intervals during which, below the battery voltage V₁, the battery is discharged by the motor and the discharging circuit, the weighting factor C being equal to the ratio between the discharging current and the nominal shaving current. Consequently, the time t tot indicates the nominal shaving time still available below the battery voltage V₁ until the voltage V₂ is reached. Subsequently, in block 242, designated "t tot <t s ", it is ascertained whether the total time t tot is smaller than a reference value t s . If the time t tot is smaller the voltage V₁ is increased incrementally or proportionally in block 244, designated "V₁-->V₁+x", so that during the next discharge after detection of the battery voltage V₁ a longer shaving time is available until the battery voltage V₂ is reached. If the time t tot is longer, the voltage V₁ is reduced in block 246, designated "V₁-->V₁-x", so that upon the next discharge after detection of the voltage V₁ a shorter shaving time is available until the battery voltage V₂ is reached. Figure 5 is the flow chart of the program performed by the microprocessor in the case that the operation of the device corresponds to that of Figure 2, the maximum discharging time of the battery being, for example, 1 minute. The first part of the program up to block 210 is identical to that in Figure 4. In this part it is determined whether in the battery-shaving mode the battery voltage has decreased below the value V₁. If this is the case the program is continued in block 300, designated "t,t₁,t₂,t tot =0", in which the time intervals measured are reset to zero. Subsequently, in block 302, designated "motor on", it is detected whether the motor is on and, if it is on, it is ascertained in block 304, designated "mains on" whether the mains-shaving or battery-shaving mode occurs. During mains shaving the program each time returns to block 302. In the battery-shaving mode the time during which the motor is on is measured. In block 306, designated "t=t+1" the count is each time incremented by one and subsequently, in block 308, designated "t tot =t₁+c.t₂" the weighted sum is determined of the time interval during which the motor has been operative and the time interval during which the discharging circuit has already been operative, the weighting factor being equal to the ratio between the discharging current and the nominal shaving current. Subsequently, in block 310, designated "t tot <t s " it is detected whether this total time is smaller than a reference value t s . If t tot >t s the motor is switched off and the voltage V₁ is reduced in block 312, designated "V₁-->V₁-x", so that during the next discharge upon detection of a battery voltage equal to the voltage V₁ a shorter shaving time is available, which better in agreement with the reference value t s . If the time t tot <t s it is subsequently detected in block 314, designated "V b <V₂", whether the battery voltage V b has decreased below the value V₂. If this is not the case the program returns to block 302 and the loop is executed again to measure the time during which the motor is operative in the battery-shaving mode. If the battery voltage has decreased below the voltage V₂, the motor is switched off and the voltage V₁ is increased in block 316, designated "V₁-->V₁+x", so that in the next discharge after detection of the voltage V₁ a longer shaving time is available. If in the battery shaving mode the motor is switched off, which is detected in block 302, the time t₁ during which the motor has been operative is loaded into the memory and the time t is set to the value t₂ during which the discharger circuit has already been operative, which is effected in block 318, designated "discharger on, t-->t₁, t=t₂". Subsequently, in block 320, designated "t-->t+1" the time is incremented by one unit and in block 322, designated "t tot =t₁+c.t₂, the weighted sum of the time intervals t₁ and t₂ is determined, the weighting factor c being again equal to the ratio between the discharging current and the nominal shaving current . If in block 324, designated "t tot <t s " it is detected that this weighted sum t tot is larger than a reference value, the discharge circuit is switched off and the voltage V₁ is reduced in block 312, designated "V₁-->V₁-x". During the next discharge upon detection of a battery voltage equal to the voltage V₁ the available shaving time will be shorter. If t tot <t s it is detected in block 326, designated "V b <V₂", whether the battery voltage has decreased below the value V₂. Should this be the case, the voltage V₁ is increased in block 316, so that upon a subsequent discharge more shaving time is available after detection of a battery voltage equal to V₁. As long as the battery voltage is higher than the voltage V₂ and the motor is not switched on again, which is detected in block 328, designated "mains on", the time interval during which the discharger circuit is operative is measured. If the motor is switched on again, then in block 330 , designated "discharger off, t-t₂, t=t₁", the discharger circuit is switched off, and is enabled if necessary, the discharge time t₂ is loaded into the memory and the time t is set to the value t₁, after which the program is repeated starting at block 302. The invention is not limited to the embodiments described herein. Within the scope of the invention laid down by the claims many variants are conceivable to those skilled in the art. For example, the first and the second detection means, the first and the second time measurement means, and the correction means may be constructed in any other way than shown. Legend to Fig. 4: block no.: designation: 180 start 200 motor on 202 mains on 204 V b <V₁ 206 digital filter 208 V b <V₁>5 sec. 210 BLI-LED on 220 t, t₁, t₂=0 222 motor on 224 mains on 226 t-->t+1 228 discharge on, t-->t₁;t=t₂ 230 V b <V₂ 232 t-->t+1 234 motor on 236 discharge off, t-->t02, t=t₁ 240 t tot =t₁+c.t₂ 242 t tot <t s 244 V₁-->V₁+x 246 V₁-->V₁-x 248 end Legend to Fig. 5: block no.: designation: 300 t, t₁, t₂, t tot =0 302 motor on 304 mains on 306 t-->t+1 308 t tot =t₁+c.t₂ 310 t tot <t s 312 V₁-->V₁-x 314 V b -V₂ 316 V₁--V₁+x 318 discharge on, t-->t₁, t=t₂ 320 t-->t+1 322 t tot =t₁+ c.t₂ 324 t tot <t s 326 V b <V₂ 328 motor on 330 discharge off, t-->t₂, t=t₁

Claims: A device comprising: a load (R L ) which can be powered by a rechargeable battery (6), a power-supply circuit (1) for charging the battery (6) and/or powering the load (R L ); and first detection means (10, 20) for detecting a battery voltage substantially equal to a first threshold value (V₁) corresponding to a desired battery capacity still available, characterized in that the device further comprises: second detection means (10, 25) for detecting a battery voltage substantially equal to a second threshold value (V₂) smaller than the first threshold value and corresponding to a value for which the battery (6) may be regarded as fully discharged; a discharger (30) for discharging the battery (6) with the load (R L ) switched off after detection of the first threshold value (V₁) until detection of the second threshold value (V₂); first time-measurement means (40, 50) for measuring the time interval during which the load (R L ) is powered by the battery (6) after detection of the first threshold value (V₁) until detection of the second threshold value (V₂); second time-measurement means (40, 60) for measuring the time interval during which the discharger (30) is operative, and correction means (70) for correcting the first threshold value (V₁) of the first detection means (10, 20) depending on the weighted sum of the time intervals measured by the first and the second time-measurement means relative to a reference value so that during a subsequent discharge the desired battery capacity remains available after detection of the first threshold value (V₁). A device as claimed in Claim 1, characterized in that the device further comprises: third detection means (42, 31) for detecting a weighted sum of the time intervals measured by the first and the second time-measurement means, which sum is substantially equal to a third threshold value, corresponding to the desired time of use after detection of the first threshold value (V₁) and for switching off the discharger (30) or the load (R L ) after detection of said third threshold value. A device as claimed in Claim 1 or 2, characterized in that the device comprises means for switching off the power-supply circuit (1) when the discharger circuit (30) is operative. A device as claimed in Claim 1, 2 or 3, characterized in that the discharger (30) comprises the series arrangement of a resistor (33) and a transistor switch (32), which series arrangement is connected in parallel with the battery (6). A device as claimed in Claim 3, characterized in that a light-emitting diode (34) is arranged in series with the resistor (33). A dry-shaving apparatus comprising a device as claimed in any one of the preceeding Claims.

Inventors: BOSSCHA, GEERT JAN, MUNNIG SCHMIDT, ROBERT HAN
Applicants: N.V. PHILIPS' GLOEILAMPENFABRIEKEN
Application year: 1988
Main classification: H02J7
IPC codes: B26B19, H02J7, G01R31