Washing machine with means for measuring the condition of the washing water

Abstract: The automatic washing machine according to the present invention is provided with an optical sensor (19) which consists of a light emitting element and a light receiving element to detect the light permeability of a solution of washing detergent and rinse water in a washer tank, and an output control means for controlling an output of the light emitting element of the optical sensor. The output control means is adapted to control such that the light permeability of water or air fed in the washer tank is a reference value, with effecting the initial setting of the optical sensor. Accordingly, the optical sensor (19) is prevented from erroneous­ ly detecting the light permeability when it is stained with water drops or the like and, decreases its output. More­ over, the automatic washing machine is provided with a volume sensor (20) for detecting the volume of laundries to be washed. Therefore, washing is controlled in accordance with not only the dirtiness degree of the laundries indicated by the above light permeability, but the volume of the laun­ dries. In addition, a judging means is further provided in the washing machine so as to detect the kind of the using detergent, and accordingly washing or rinsing can be con­ trolled in accordance with the kind of the detergent.

Description: The present invention relates to a washing machine or laundry machine equipped with an optical sensor for detecting the light permeability of a solution of washing detergent or rinse water in a washer tank. Description of the Prior Art A washing machine of the type referred to above, namely, a washing machine equipped with an optical sensor for detecting the light permeability of a solution of washing detergent, i.e., how much the light can penetrate the solution of washing detergent has been disclosed in US-A-4 222 250. More specifically, the washing machine disclosed in US-A-4 222 250 is provided with an optical sensor comprised of light emitting and light receiving elements confronting each other in a washer tank, so that the light permeability of the detergent solution in the washer tank is detected by an output from the light receiving element. A control circuit to which is generated an output of the optical sensor obtains data showing the degree of dirtiness of the laundries on the basis of the time period consumed from the start of washing until the light permeability detected by the optical sensor decreases to a predetermined value (20 % of the light permeability of clear water), and the washing machine is operated under the control based on this dirtiness data of the control circuit. Meanwhile, a washing machine disclosed in JP-A-61-159999 has been devised with taking note of the fact that the light permeability detected by the optical sensor gradually increases after the start of washing, and thereafter it gradually decreases. A time point at the border between the increase and decrease of the light permeability is set as an initial value of the data. In this washing machine, the kind of detergent used and the like are detected on the basis of both the time spent before the light permeability reaches the border after the start of washing, and the changing width of the light permeability. In the washing machine disclosed in US-A-4 222 250, however, if the light emitting surface of the light emitting element or the light receiving surface of the light receiving element is stained, the light amount coming from the light emitting element to the light receiving element lessens thereby to diminish an output from the light receiving element. Accordingly, the light permeability shown by the optical sensor results in a lower value than the actual one of the detergent in the washer tank. In consequence, it becomes a shorter time before the light permeability shown by the optical sensor reaches the predetermined value after the start of washing in comparison with the case where the elements are not stained. Therefore, the dirtiness degree is erroneously detected. Particularly, since the washing machine is used with the laundries and detergent put in the washer tank, it cannot be avoided that the light emitting and receiving elements provided in the washer tank are adhered with stains. Moreover, the adhesion of the stain is naturally increased in proportion to the using time of the washing machine. As a result, the detecting accuracy of the optical sensor is deteriorated with time. Accordingly, the optical sensor cannot be relied upon for a long time service in detection of the dirtiness of laundries. Meanwhile, the change in the light permeability of the detergent solution in the washer tank is greatly influenced by the kind of detergent used. Liquid detergent changes the light permeability thereof considerably a little as compared with powdery detergent, and the light permeability of liquid detergent may not be reduced so much as to 20 % of clear water. In such case, it is impossible to obtain the dirtiness data. Therefore, the washing machine disclosed in US-A-4 222 250 is not able to control washing in a manner corresponding to the kind of detergent used. On the other hand, the washing machine disclosed in JP-A-61-159999 is designed to detect the kind of cleanser used. However, according to the detecting method employed in the machine, the kind of detergent can be detected only when the detergent is supplied into the tank before the water is poured at the start of washing. In other words, if the detergent is put in the tank after the start of washing (after the start of stirring), the light permeability shown by the optical sensor declines after the start of washing. However, since this washing machine is arranged to operate based on such notion that the light permeability of the optical sensor increases once after the start of washing and then, gradually decreases, therefore, the washing machine cannot detect the kind of the detergent if the detergent is put after the start of washing. In addition, the change in the light permeability of the optical sensor is dependent not only on the kind of detergent used, but on the amount of the detergent, etc. and accordingly the light permeability of the optical sensor does not always follow such a constant pattern as to increase once after the start of washing and thereafter decrease. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a washing machine which is arranged to detect the dirtiness degree of the laundries with high accuracy for a long time even when a light emitting and a light receiving elements of an optical sensor are adhered with stains. A second object of the present invention is to provide a washing machine which is arranged to control washing and rinsing without being influenced by the adhesion of stains to the optical sensor. A third object of the present invention is to provide a washing machine which is arranged to detect the kind of detergent used correctly without being influenced by the feeding amount and time of the detergent. A fourth object of the present invention is to provide a washing machine which is arranged to control washing and rinsing in accordance with the kind of detergent used. In accomplishing the above-described objects, a washing machine according to a first embodiment of the present invention is provided with an optical sensor consisting of a light emitting element and a light receiving element detecting the light permeability of the detergent solution and rinse water in a washer tank, a storage means for storing a predetermined reference value, and a control means for controlling the finish of the washing operation and/or rinse operation according to the change in the light permeability detected by said optical sensor during the washing or rinsing operation, and is characterized by a sensor control means for controlling the output of the light emitting element of the optical sensor essentially at the beginning of a measurement period such that the output of the light receiving element which output represents the light permeability of air or water fed into said washer tank is adjusted to said predetermined reference value so as to the initialize the optical sensor. According to the invention, the output of the light receiving element which output represents the light permeability of water or air in the washer tank is adjusted to a predetermined reference value which should be equal for all washing conditions to be measured. The purpose of this measure is to initialize the optical sensor at the beginning of a measurement period. For carrying out such a measure, the invention provides a sensor control means for controlling the light emitting element. The advantage of the inventive concept is to obtain good measurement results presenting only the change of dirtyness during the washing and/or rinsing process, but being independent on the degree of light permeability of the water or the air in the washer tank at the beginning of the washing process. Accordingly, in the washing machine of the invention, the output of the light emitting element is controlled based on a reference value of the light permeability of water or air which has a high light permeability, to initialize the optical sensor. Consequently, the dirtiness degree of the laundries is detected by the relative change of the light permeability from that of water or air, without being influenced by stains at a drainage path in which the optical sensor is provided, thus accomplishing an accurate detection of dirtiness. Moreover, since the light permeability of water is different from that of the air, the reference value is changed between the water and air, so that the initial setting of the optical sensor is enabled both in the case of water and in the case of air. Further, if the water level detecting means detects no water, the light emitting element of the optical sensor is controlled on the basis of the reference value of air. On the contrary, if water is detected by the detecting means, the light emitting element is controlled on the basis of the reference value of air. Moreover, the light emitting element is controlled during a previous supplying time of rinse water such that an output signal of the optical sensor becomes a set value, and this controlling data is stored. Therefore, at the coming start of washing, the light emitting element is so controlled by the stored controlling data as to generate an output of a fixed value, thereby to detect the change of data after washing and stirring. In the case where only the air is present in the washer tank before the start of washing, since it is feared that the optical axis of each element of the optical sensor may be deviated because of the adhesion of water drops, an output of the light emitting element is controlled relatively larger as compared in the case where there is clear water in the tank. Although the output signal from the optical sensor becomes high level and may exceed beyond the dynamic range when the water is actually fed in the tank, the data stored in the storage means is useful to solve such problem. Therefore, the change of the output signal due to the real dirtiness can be detected. Taking note of the fact that the kind of detergent can be known through comparison of the light permeability after the start of washing with that when the water is not supplied, that is, the light permeability of air as a reference, in the case where liquid detergent is used, for example, the light permeability after the start of washing is reduced to approximately 80 % based on the reference light permeability of the air, while, in the case of powdery detergent, the light permeability after the start of washing is decreased to about 40-60 %. Therefore, this conspicuous change of the light permeability enables the judgement of the kind of detergent. Since the change of the output from the optical sensor is detected while rinse water is being supplied, namely, based on the light permeability of clear water, the relative change of the output is approximately equivalent to the change corresponding to the absolute volume of dirtiness, and therefore it becomes possible to detect the volume of dirtiness. In the case of powdery detergent, the output change of the optical sensor caused only by the dirtiness of detergent is approximately 50 % and accordingly, the change thereafter, i.e., over 50 % corresponds to the amount or degree of dirtiness. In other words, it becomes possible to detect the presence of the detergent and the dirtiness thereof by the present embodiment. BRIEF DESCRIPTION OF THE DRAWINGS These and other objects and features of the present invention will become apparent from the following description taken in conjunction with preferred embodiments thereof with reference to the accompanying drawings throughout which like parts are designated by like reference numerals and in which: Fig. 1 is a circuit diagram of an optical sensor of a washing machine according to one embodiment of the present invention; Fig. 2 is a block diagram showing the circuit structure of the washing machine of Fig. 1; Fig. 3 is a flow-chart showing the controlling operation of the washing machine of Fig. 1; Fig. 4 is a graph showing the change of an output of the optical sensor of Fig. 1; Fig. 5 is a table showing judging contents in the controlling operation of the washing machine of Fig. 1; Fig. 6 is a cross sectional view of the washing machine; Fig. 7 is a circuit diagram of an optical sensor of a washing machine according to a modified embodiment of the present invention; Fig. 8 is a graph showing an output of the optical sensor of Fig. 7; Fig. 9 is a flow chart showing how to set the optical sensor at the start of washing; Fig. 10 is a flow chart showing the change detecting operation of the optical sensor; Fig. 11 is a flow chart of a sub routine for setting and storing an output of the optical sensor to a reference value; Fig. 12 is a flow chart showing the controlling operation of the optical sensor before washing; Fig. 13 is a graph showing the relation between the dirtiness degree and the changing ratio of an optical sensor output V1 with respect to an optical sensor output Vo during the supply of water; Fig. 14 is a timing chart of an output signal of the optical sensor from the start of washing to drying; Fig. 15 is a graph showing the controlling contents for the washing time; Fig. 16 is a flow chart showing the controlling operation of washing; and Fig. 17 is a flow chart showing the output controlling operation for the optical sensor. DESCRIPTION OF PREFERRED EMBODIMENTS Referring to Figs. 1-6, the structure of an automatic washing machine according to one preferred embodiment of the present invention will be described. The washing machine shown in Fig. 6 is provided with a washer tank 1 which serves also as a dryer tank (hereinafter referred to as a washer tank). A stirring vane 2 is rotatively placed in the bottom section inside the washer tank 1. A water reservoir 3 housing the washer tank 1 is supported by a main body 5 of the washing machine through a suspension 4, so that the water reservoir 3 is restricted from vibrating. A lid 5a which is freely openable and closable is provided in the upper portion of the main body 5. There is a motor 6 below the water reservoir 3, the rotation of which is transmitted to the stirring vane 2 through a transmission mechanism 7. At the time of drying, the transmission mechanism 7 also transmits the rotating force of the motor 6 to the washer tank 1. Further, a water exit 9 formed in the bottom portion of the water reservoir 3 is communicated to a drain valve 10 through a drainage path 11. A light emitting and receiving unit 8 comprised of a light emitting and a light receiving elements is installed in a part of the drainage path 11. Referring to a block diagram of Fig. 2, the circuit construction of the washing machine will be described hereinbelow. In Fig. 2, an alternating current source 12 supplies power to a control unit 13, the motor 6 provided with a phase advancing capacitor 14, the drain valve 10 and a feed valve 15. The control unit 13 has a microcomputer 16 which is the center of controlling function. At an input of the microcomputer 16 are connected a cover opening/closing detecting device 17 which detects whether the lid 5a is opened or closed, a water level detecting means 18 for detecting the water level within the washer tank 1, an optical sensor 19 including the light emitting and receiving unit 8 and which detects the light permeability of a detergent solution and rinse water in the washer tank 1, and a volume detecting means 20 for detecting the volume of laundries in the washer tank 1 by the change of a terminal voltage of the capacitor 14 when the motor 6 is turned off. The volume detecting means 20 counts the number of pulses of the capacitor 4 when the motor 6 is controlled in the normal or reverse rotation thereof or the motor 6 is turned off, to determine that there are a lot of laundries in the washer tank when the number of pulses is small. On the other hand, at an output side of the microcomputer 16 is connected a switching means 21 so as to control the load of the motor 6 and the like by an output signal from the microcomputer. Moreover, the microcomputer 16 is further connected with an operation display means 22 for transmitting and receiving signals alternately therewith. The above-mentioned control unit 13 will operate in the following manner. In the first place, when the microcomputer 16 receives a start signal from the operation display means 22, the microcomputer carries out the programmed proceedings, that is, washing by a detergent solution, rinsing by clear water and drying. More specifically, when the water is supplied in the washing process, the microcomputer 16 controls the feed valve 15 to be opened and the drain valve 10 to be closed through the switching means 21. In the middle of the supply of water, when the water level is low, the motor 6 is driven to rotate the stirring vane 2 for a predetermined time. Immediately after the rotation of the motor 6 is stopped, the microcomputer 16 reads a signal from the volume detecting device 20 so as to determine the volume of the laundries from the attenuating change of the terminal voltage of the capacitor of the motor 6. Consequently, the stream of water, washing time, rinsing time, drying time, etc. suitable for the detected volume of laundries are decided, and each process is carried out. Referring now to Fig. 1, the concrete structure of the optical sensor 19 which is a main feature of the present invention will be explained. The microcomputer 16 is provided with a PWM output terminal 16a which freely controls the pulse width. An output pulse from the PWM output terminal 16a is, via a D/A converter 19a, inputted to a base of a transistor 19b. In other words, an anode current in a light emitting diode 8a which is a light emitting element of the light emitting and receiving unit 8 and connected to a collector of the transistor 19b is controlled by the pulse width. The D/A converter 19a and transistor 19b constitute a current variable means for the light emitting element. A phototransistor 8b which is a light receiving element for receiving light from the light emitting diode 8a has an emitter connected to a resistor 19d, and an output signal V e (light permeability) of the phototransistor 8b can be taken out as a voltage. This output signal Ve is connected to an A/D input terminal of the microcomputer 16 to be A/D converted. The microcomputer 16 controls the optical sensor 19 as follows. Referring to a flow chart of Fig. 3, the water level detecting means 18 detects the presence or absence of water in the washer tank 1 in step 140. Without water, the current of the light emitting diode 8a is increased in step 141 and, the optical sensor is initialized such that the output voltage Ve of the phototransistor 8b becomes a reference value Vo in step 142. That is to say, the light permeability of the air is set as a reference value. The pulse width from the PWM output terminal 16a should be increased when the current of the light emitting diode 8a is to be increased. Because of this initial setting of the optical sensor, it can be prevented that the detecting accuracy is missed due to the decline of the output voltage of the phototransistor 8b resulting from the adhesion of stains to the surface of the light emitting diode 8a or phototransistor 8b. In the case where the water is already supplied in the washer tank 1, the optical sensor is set with the current of the light emitting diode 8a employed in the previous operation, in step 143. Then, in step 144, a constant current is fed to the light emitting diode 8a. It is detected in step 145 whether the washing process is selected. In the event that the washing process is not selected, the flow proceeds to a succeeding process in step 146 (for example, rinsing process). In the washing process, if without water in the tank 1, the volume detecting means 20 detects the volume of laundries, and the water is fed to a predetermined water level, and thereafter the stirring vane 2 is rotated to produce the stream of water. The change in the output voltage Ve of the phototransistor 8b after the start of stirring is indicated in a graph of Fig. 4 in which lines A and B show the change when a powder detergent is used, and a line C indicates the change when a liquid detergent is used. If washing is completed before a time point T1 (e.g., the user sets the washing time period shorter than T1), the flow advances to a next process (steps 147 and 148). In step 149, the output voltage Ve is set to be Ve1 at the time point T1 after the start of washing. In step 150, it is judged whether Vel is larger than the judging value Vx set for judging the kind of the detergent. If Ve1>Vx holds (in the case shown by line C in Fig. 4), a flag of liquid detergent is set in step 151. Or, if Ve1≦Vx holds (in the case shown by lines A and B in Fig. 4), a flag of powder detergent is set up in step 152. Since the light permeability of the liquid detergent is decreased to 80 % in comparison with the reference value Vo which is the light permeability when no water is present in the washer tank, namely, the light permeability of the air, while the light permeability of powder detergent is lowered to 40-60 %, about the middle of the light permeability between the liquid and powder detergents is set to be Vx, thereby to enable the detection of the kind of detergent used. The changing ratio ΔVe of the output voltage Ve is detected in step 153. It is regarded as a saturating point of the light permeability when ΔVe is smaller than a set value. A difference ΔV between the reference value Vo of the light permeability of the air and the output voltage Ve is obtained in step 154. The time to the saturating point is T3. With reference to a table of Fig. 5, how the difference ΔV and the time T3 are utilized for control of washing will be described. In Fig. 5, the difference ΔV and the time T3 are classified into three groups, respectively, large, middle and small. By way of example, when both ΔV and T3 are small, the washing time is shortened, whereas, when both ΔV and T3 are in the middle group, the washing time is set ordinary (middle). In the manner as above, data on the difference ΔV and time T3 is fuzzy-controlled for washing. Furthermore, according to the present invention, washing can be controlled by three data, i.e., volume data of laundries detected by the volume detecting means 20 in addition to the data of ΔV and T3, which will be described hereinbelow. In other words, the judging result from ΔV and T3 is classified into three, namely, large, middle and small. By comparing the result with the washing time determined by the volume of laundries detected by the detecting means 20, the washing time is controlled 3 minutes longer in the event that the result is large. If the result is middle, the washing time is maintained as it is. On the other hand, if the result is small, the washing time is shortened by two minutes. Thus, washing can be controlled in an optimum manner. If the washing time is decided from the total point of view based on the detected volume of the laundries W1 and the dirtiness degree W2 (determined by ΔV and T3), washing can be controlled as if it were done by the user himself or herself, with agreeing upon two factors, i.e., the volume of laundries and dirtiness degree which should be taken into consideration when the user decides the washing time. Although the foregoing description is related to the detecting operation of dirtiness and controlling operation therefore mainly in the washing process, the same goes true also in the rinsing process. Since ΔV changes in accordance with the kind of detergent as shown in Fig. 4, the value of ΔV classified in the groups, large, middle and small in Fig. 5 may be changed corresponding to the kind of detergent. Moreover, the detecting accuracy of the saturating point of dirt may be rendered variable corresponding to the kind of detergent. In the foregoing embodiment, since the optical sensor is set at the initial stage when the clear air is in the washer tank, the detection of dirt is based on the relative change of the light permeability from that of the air, and accordingly the detection is free from influences by stains of the drainage path where the optical sensor is installed or the stains interfering the light of the optical sensor, thereby to realize an accurate detection of dirt. In addition, since it is possible to detect the kind of detergent by the relative change of the output of the optical sensor between when the air is in the washer tank and after the start of washing, the data of the kind of detergent can be utilized for an accurate detection of dirt and accordingly for an accurate control of washing. Hereinafter, an optical sensor and its control circuit of a washing machine according to a modified embodiment of the present invention will be explained with reference to Fig. 7. In Fig. 7, a pulse width controlling circuit (referred to a PWM circuit hereinafter) for controlling the current of the light emitting diode 8a in the light emitting and receiving unit 8 and, an A/D converter for converting an analog signal to a digital signal is built in the microcomputer 16. A storage device 23 stores a control signal for controlling the current of the light emitting diode 8a (output controlling signal), namely, it stores data of PWM signals. This storage device 23 uses, for example, a non-volatile memory. The PWM signal from the microcomputer 16 is added to the D/A converter 19a (generally, an integrating circuit) to be converted to a direct current voltage thereby to control the voltage at the base of the transistor 19b. The collector of the transistor 19b is connected to the light emitting diode 8a, and the emitter thereof is connected to an emitter resistor 19c, thereby constituting a constant current circuit able to control the current of the light emitting diode 8a by the base voltage. A switching transistor 19e is connected in series to the emitter resistor 19c, so that the current of the light emitting diode 8a is controlled on and off and pulse-driven by an output signal P1 of the microcomputer 16. A load resistor 19f of the phototransistor 8b, an emitter follower circuit of a transistor 19g, a resistor 19h and a capacitor 19i form a peak hold circuit so as to stabilize an output signal of the pulse-driven light emitting and receiving unit 8, with reducing errors in A/D conversion. The change of an output of the optical sensor 19 in the whole process of operation is indicated in a graph of Fig. 8. In this case, the change means a change after the current of the light emitting diode 8a is controlled to generate a preset output. As is clear from Fig. 8, the light permeability during washing is detected by the change of the output of the optical sensor from the reference value Vo which is set when the rinse water is supplied (The light permeability is represented by ΔV/Vox100 % wherein ΔV indicates the difference between the output V1 and reference output Vo). The light permeability expresses the dirtiness degree and cleanliness degree of the laundries. Also the change of the output from the clear water at the time of rinsing is seen from Fig. 8. Fig. 9 is a flow chart showing how the optical sensor is set at the start of washing. Upon supply of the power in step 212, it is detected in step 213 whether or not the current I F of the light emitting diode 8a is set. If I F is set, the set value is inputted from the storage means (memory) 23 in step 214, and the microcomputer 16 sets If by the PWM signals based on the inputted data in step 215. If I F is not set in step 213, it is adjusted in step 216, and the PWM signal is controlled such that the output signal Vc of the optical sensor 19 is a set value, thereby to control the output of the D/A converter circuit 19a of Fig. 7. The data read out from the storage means 23 is the data set at the previous rinsing time. The detecting flow of the change of the output of the optical sensor 19 during the washing process is indicated in Fig. 10. The light emitting diode 8a is pulse-driven at a set level periodically in step 221 to input data of outputs Vc of the optical sensor 19. Since the output data includes bubbles and noise components, such data at an extraordinarily low level is removed, and only signals of a suitable level are taken out in step 222. The changing ratio of the data Vc is obtained in step 223, judged in step 224 whether it is a predetermined ratio. The light permeability when the changing ratio becomes a predetermined ratio and, the saturating time are stored in step 225 to determine the washing time in step 226. When the determined washing time has passed, washing is completed in step 227. Then, discharging of water and drying are carried out in step 228. After it is detected in step 229 whether the rinse water is filled in the tank, the current of the light emitting diode 8a is controlled such that the output signal Vc of the optical sensor 19 shows the reference value Vo. A flow chart of Fig. 11 explains the controlling process when the output signal of the optical sensor is set to be the reference value Vo. In step 232, the current If of the light emitting diode 8a is controlled. In step 233, the switching transistor is turned on to input the signal Vc of the optical sensor 19 into the microcomputer 16 for A/D conversion. Then, the switching transistor 19d is turned off in step 235. A difference ΔX between the reference value Vo and the input signal Vc is calculated in step 236. In step 237, PWM control is performed such that the difference ΔX is within a predetermined value. If the difference is found within the predetermined value, the output controlling data is stored in the storage means 23, and the optical sensor 19 is fixed by the stored data thereafter to turn on and off the current of the light emitting diode 8a. In the above-described embodiment, the output voltage of the optical sensor is set at the reference value at the supplying time of rinse water, so that the dirtiness degree or cleanliness degree of the laundries is detected by the change of the output voltage from the reference value. In general, the water supplied as rinse water has 100 % light permeability. Therefore, the light permeability or degree of dirtiness of the water can be detected by the changing ratio of the output voltage of the optical sensor with respect to the reference value. Particularly, for detecting the dirtiness degree of the laundries at the time of washing, the change of the light permeability from the clear water will do the detection. Further, since the previous reference value is arranged to be stored in the storage means 23, it may be useful in the case where washing is continuously performed subsequent to the previous one (in the case where water drops are still adhered to the optical sensor 19 because of the previous washing, resulting in an erroneous detection). Accordingly, no complicated control is required even in the continuous washing. The controlling process without the output controlling data will be described with reference to Fig. 12. In the event that the output controlling data is not found in step 240, or the data is found to be inappropriate, the presence or absence of water is detected in step 241. If the water is found above the minimum water level in step 241, that is, if there is some water in the washer tank, the output voltage of the optical sensor is set at the reference value Vo in step 243. On the contrary, if there is no water in the washer tank, the output voltage is set to a second reference value Vo'. This is because the refractive index is different between the air and water. Since the reference value Vo for the clear water is 1.1 times larger in comparison with the reference value Vo' for the general air, Vo' is set smaller than Vo. With reference to Fig. 13, the basic principle of the detection of dirtiness and cleanliness will be described. Specifically, when the output from the light emitting diode 8a is made constant, the ratio between the generated light amount Io and the penetrating light amount I1 when the water is clear water is represented by I1/Io=e -k1.ℓ , herein k1 is a light absorbing factor and ℓ is an optical path length. Similarly, when the water is dirty, the ratio between the generated light amount Io and the penetrating light amount I2 is indicated by I2/Io=e -k2.ℓ , wherein k2 represents a light absorbing factor of dirty liquid. If Io is constant, the following equation is held; I2/I1= e -ℓ(k2-k1) Since the penetrating light amount I1 when the water is clear is proportional to Vo shown in Fig. 14, and the penetrating light amount I2 when the water is dirty is proportional to V1 of Fig. 14, an equation; V1/Vo= e -ℓ(k2-k1) is obtained. Accordingly, it is understood that the changing ratio V1/Vo of the sensor output for the voltage Vo when the rinse water is supplied is changed logarithmically to the change of dirtiness (the change of light absorbing factor), as viewed from the graph of Fig. 13. In other words, ℓn(V1/Vo)= -Δk.ℓ (Δk=k2-k1) Therefore, it is so determined that the larger the changing ratio is, the greater the dirtiness degree is, with elongating the washing time, or strengthening the stirring force. Although the current of the light emitting diode 8a is controlled through D/A conversion by PWM controlling and integrating circuit in the foregoing embodiment, it may be effected by direct D/A conversion. Moreover, in setting the optical sensor at the reference voltage Vo, although it is easy if the current of the light emitting diode 8a is increased from 0, it takes much time. In addition, since the output control requires a good responding capability, the capacity of the capacitor 19i should be rendered small. The washing time can be controlled also in the other modification of the present invention, which will be described with reference to Fig. 15. The washing time TW is expressed by TW=TS+TF (wherein TS is a saturating time until the change of the output of the optical sensor becomes constant after the start of washing, and TF is the time corresponding to the changing ratio V1/Vo (Vo being the reference value and V1 being the output of the optical sensor at the saturating time point)). In considering the case where the light permeability does not reach the saturating point, a minimum value Tmin and a maximum value Tmax are set for the washing time, which are changed corresponding to the volume of the laundries. Therefore, when a lot of laundries are to be washed, Tmin and Tmax are large. The changing ratio V1/Vo is different between the liquid detergent and powder detergent, that is, not smaller than 0.5 and smaller than 0.5, respectively. When the powder detergent is used for the laundries stained little, V1/Vo is approximately 0.5. As the dirtiness of laundries increases, the changing ratio becomes smaller than 0.5. On the other hand, when the liquid detergent is used, if the laundries are a little dirty, V1/Vo becomes closer to 1, and it becomes smaller than 1 as the dirtiness increases. Since the logarithmic value of V1/Vo is inversely proportional to the dirtiness degree, the laundries are much dirtier as the changing ratio V1/Vo becomes smaller. TF should be increased logarithmically in order to elongate the washing time. The control of washing according to the present embodiment is carried out as shown in Fig. 16. When washing is started in step 300, IF controlling data stored in the previous rinsing process and the voltage data Vo are read from the storage means in step 301, thus controlling the output of the optical sensor. Step 302 is a volume detecting routine in which the volume of the laundries is detected, and the minimum and maximum washing times are determined in accordance with the detected volume of the laundries. After the start of stirring, the optical sensor is periodically controlled in step 303, generating the sensor output. In step 304, it is detected whether the sensor voltage is saturated to a predetermined value. When the output voltage is saturated, a saturation detecting flag is checked in step 305. Thereafter, the saturating time TS is stored in step 306, and further the changing ratio V1/Vo from the time of clear water (supplied as rinse water into the washer tank) is calculated in step 307. In step 308, TF is obtained based on the graph of Fig. 15. Then, in step 309, the washing time TW is obtained. When the washing time TW is consumed in step 310, the washing process is completed. It is possible to control the washing time to TW=TS+TF+TG in step 309. The time TG is changed corresponding to the volume of laundries. The dirtiness degree is inversely proportional to the logarithmic value of the changing ratio V1/Vo, and accordingly, the optimum washing time can be obtained in accordance with the dirtiness degree. The output control and storing operations in the rinsing process according to a modified embodiment will be described with reference to Fig. 17. At the first rinsing time in step 312, the output of the optical sensor is controlled during the supply of rinse water, i.e., before the rinse water is supplied to a set level, so that the output voltage Vo becomes a set value. In step 313, the water level of the supplied rinse water is detected. If the water level is not sufficient, rinse water is fed again in step 314. Then, if the sensor voltage does not reach the set value in step 316, the current IF of the light emitting diode is controlled by PWM signals in step 317. When the sensor voltage reaches the set value, the output controlling data (PWM signal data) and output signals Vo from the sensor are stored in steps 318 and 319, respectively. In the control of washing described above, even if the laundries are stained with mud, and accordingly when the saturating time of the sensor voltage becomes short, the washing time can be changed and elongated in accordance with the dirtiness degree of the laundries (light permeability). Therefore, a large washing and cleansing power is secured. Likewise, when the oil stain is to be washed and therefore the saturating time is long, the washing time can be elongated. In short, according to the washing machine of the present invention, it is possible to control washing in accordance with the quality and quantity of the dirt. Since the dirt of the laundries in general domestic use is easy to decompose by water and detergent, in such case, it will fit the user's sense to control the washing time in accordance with the changing ratio V1/Vo, with reducing the saturating time. In other words, when the changing ratio is small and the saturating time TS is short, the laundries are judged to be stained a little, whereby the washing time is set shorter. On the other hand, when the changing ratio is large, with a small saturating time TS, the laundries are judged to be considerably dirty, and the washing time is set longer. The washing machine of the present invention can realize this type of control. As is made clear from the foregoing description of preferred embodiments, the washing machine of the present invention is so much effective as follows; (1) Since the optical sensor is initialized on the basis of the light permeability of water (clear water) or air supplied into the washer tank, it can be prevented that an output of the optical sensor is erroneously decreased as a result of the adhesion of stains. Therefore, an erroneous detection by the optical sensor is avoided, and an accurate detection of dirt is ensured. (2) Since the reference value is changed between the water and air, the optical sensor can be initialized both for water and for air. (3) Since it is so arranged as to detect the dirt of the laundries through detection of the light permeability of the optical sensor after the sensor is initialized, the detection is free from influences of stains adhered to the optical sensor, and accordingly the optical sensor is reliably accurate for a long time use. (4) Since the dirt of the laundries is detected on the basis of both the saturating time of the output of the optical sensor and the changing width of the output, the quality and quantity of the dirt can be taken into consideration in control of washing and rinsing. (5) Since there is provided, in addition to the optical sensor, a volume sensor for detecting the volume of the laundries, control of washing and rinsing can be carried out based on the data of the dirt detected by the optical sensor and the data of the laundry volume detected by the volume sensor. Therefore, such control of washing and rinsing as if by the operator himself or herself can be achieved. (6) Since the kind of detergent used is detected through detection of the output from the optical sensor after the optical sensor is initialized at the reference value, the washing machine can meet a wide variety of detergents. (7) Since washing and rinsing are controlled corresponding to the kind of detergent which greatly influences the optical sensor in detection of the light permeability, a highly accurate control is gained. (8) Since the data of the kind of detergent, data of the laundry volume and dirtiness data from the optical sensor are all together utilized for control, washing and rinsing can be controlled with much higher accuracy.

Claims: A washing machine comprising an optical sensor (8) consisting of a light emitting element (8a) and a light receiving element (8b) detecting the light permeability of the detergent solution and rinse water in a washer tank (1); a storage means (23) for storing a predetermined reference value (Vo); and a control means (16) for controlling the finish of the washing operation and/or rinse operation according to the change in the light permeability detected by said optical sensor (8) during the washing or rinsing operation; characterized by a sensor control means (16) for controlling the output of the light emitting element (8a) of the optical sensor (8) essentially at the beginning of a measurement period such that the output (Ve) of the light receiving element (8b) which output represents the light permeability of air or water fed into said washer tank (1) is adjusted to said predetermined reference value (Vo) so as to the initialize the optical sensor (8). A washing machine as claimed in claim 1, wherein the reference value (Vo) of the light permeability of fed water is different from that of the air. A washing machine as claimed in claim 2, wherein said sensor control means (16) controls an output of said light emitting element (8a) on the basis of the reference value (Vo) of the light permeability of the water when a level detecting means (18) detects the water level in said washer tank (1) not lower than a predetermined level, whereas said sensor control means (16) controls an output of said light emitting element (8a) on the basis of the reference value (Vo) of the light permeability of the air when said level detecting means (18) does not detect the water level of the predetermined level. A washing machine as claimed in claim 1, wherein said sensor control means (16) controls an output of said light emitting element (8a) of the optical sensor (19) when a level detecting means (18) for detecting the water level in the washer tank (1) detects the water not lower than the predetermined water level. A washing machine as claimed in claim 1, wherein said sensor control means (16) controls said storage means (23) to store data of outputs from said light emitting element (8a) of the optical sensor (8) when the output of said light receiving element (8b) is set to said reference value. A washing machine as claimed in claim 5, wherein said sensor control means (16) uses data of outputs stored in said storage means (23) for a succeeding output control. A washing machine as claimed in claim 1, wherein said sensor control means (16) controls an output of said light emitting element (8a) of the optical sensor (8) during supply of the water. A washing machine as defined in claim 1, wherein the control means (16) is adapted to control the washing operation in response to the variation degree of the light permeability of the sensor (8) and the saturating time required from the start of the washing operation for the light permeability of the sensor (8) to become almost constant. A washing machine as claimed in claim 8, wherein said control means (16) sets an additional washing time from the saturating time point depending on the variation degree of the light permeability of said optical sensor (8).

Inventors: IMAHASHI HISAYUKI, KIUCHI MITSUYUKI, MATSUI SHOICHI, IMAHASHI, HISAYUKI, KIUCHI, MITSUYUKI, MATSUI, SHOICHI
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1990
Main classification: D06F39
IPC codes: D06F39