Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, the present invention
One purpose is to propose that a kind of washing machine load weighing method, the weighing method can improve weighing precision.
Another object of the present invention is to propose a kind of washing machine using the weighing method.
In order to achieve the above objectives, one aspect of the present invention proposes that a kind of washing machine loads weighing method, and the washing machine includes
At least one weighing sensor, the load weighing method include the following steps:Detect the washing tube rotation of the washing machine
After first preset time, output valve of the weighing sensor in the second preset time is obtained;To the weighing sensor
The output valve in second preset time optimizes;And institute is obtained according to the output valve after optimised
State the weight loaded in washing tube.
Washing machine according to the ... of the embodiment of the present invention loads weighing method, pre- in the washing tube rotation first for detecting washing machine
If output valve of the weighing sensor in the second preset time is obtained after the time, to weighing sensor in the second preset time
Output valve optimize, and then the weight loaded in washing tube is obtained according to the output valve after optimised, weight calculates more
It is accurate to add.
Further, the weighing sensor is multiple, to the weighing sensor in second preset time
The output valve, which optimizes, to be specifically included:The output valve is calculated by way of exponential function to obtain each institute
State the average value of output valve of the weighing sensor in second preset time;The average value of each weighing sensor is asked
With, so summing value is averaging again with obtain it is described it is optimised after output valve.
Further, the weight loaded in the washing tube is obtained according to the output valve after optimised specifically to wrap
It includes:According to it is described it is optimised after output valve the calculated weight of the load is obtained by way of tabling look-up;And according to institute
It states calculated weight and initial weight obtains the weight of the load.
In order to achieve the above objectives, another aspect of the present invention proposes that a kind of washing machine, the washing machine include:Washing tube;
At least one weighing sensor;And controller obtains after the controller detects that the washing tube rotates the first preset time
Output valve of the weighing sensor in the second preset time is taken, and to the weighing sensor in second preset time
The interior output valve optimizes, and obtains the weight loaded in the washing tube according to the output valve after optimised
Amount.
Washing machine according to the ... of the embodiment of the present invention, controller rotate the first preset time in the washing tube for detecting washing machine
Output valve of the weighing sensor in the second preset time is obtained later, to output of the weighing sensor in the second preset time
Value optimizes, and then obtains the weight loaded in washing tube according to the output valve after optimised, and weight is accurately calculated.
Specifically, the weighing sensor is multiple, and the controller is additionally operable to by way of exponential function to described
Output valve is calculated to obtain the average value of each output valve of the weighing sensor in second preset time, and
To the summation of the average value of each weighing sensor, so summing value is averaging again with obtain it is described it is optimised after output
Value..
Further, the controller be additionally operable to according to it is described it is optimised after output valve obtained by way of tabling look-up
The calculated weight of the load, and obtain according to the calculated weight and initial weight the weight of the load.
Specifically, the weighing sensor is photoelectric sensor.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Washing machine load weighing method according to the ... of the embodiment of the present invention is described with reference to the accompanying drawings and using the side of weighing
The washing machine of method.
Wherein, washing machine can be with the impeller automatic washing machine based on light source sensing, and washing machine includes extremely
A few weighing sensor, weighing sensor is a kind of sensor with light source sensing, by perceiving the variation of light source distance, from
And a series of physical quantity is obtained, by being analyzed the physical quantity of the variation with certain algorithm, operation, to which judgement is washed
Wash the weight of barrel clothing and current washing state.
Fig. 1 is the flow chart that weighing method is loaded according to the washing machine of one embodiment of the present of invention, as shown in Figure 1, should
Weighing method includes the following steps:
It is default second to obtain weighing sensor after detecting that the washing tube of washing machine rotates the first preset time by S1
Output valve in time.
Specifically, the output signal of weighing sensor is acquired, but since the waveform of output is unstable, in waveform selection
When, waveform can be accepted or rejected, such as in acquisition certain time, more stable waveform, such as pre- in washing tube rotation first
If after the time, the output valve of weighing sensor tends to be steady, the output valve of weighing sensor whithin a period of time is obtained at this time.
S2 optimizes output valve of the weighing sensor in the second preset time.
Specifically, the output valve of the weighing sensor of acquisition is calculated to obtain second by way of exponential function
The average value of output valve in preset time.When weighing sensor is multiple, output valve is counted by way of integral
It calculates to obtain the average value of output valve of each weighing sensor in the second preset time, and each weighing sensor is put down
Mean value sum, and then summing value is averaging again with obtain it is described it is optimised after output valve.
S3 obtains the weight loaded in washing tube according to the output valve after optimised.
Specifically, being averaged according to the i.e. output valve of the second preset time inner load cell of output valve after optimised
Value obtains the calculated weight of load by way of tabling look-up, the correspondence of can the prestore average value and the calculated weight of load
Table obtains average value and average value is converted to calculated weight by way of tabling look-up later.In addition, since washing machine has
Certain system weight, so after obtaining calculated weight, and then the weight loaded is obtained according to calculated weight and initial weight,
I.e. using the difference of calculated weight and initial weight as the weight of load.
In practice, such as rotary drum washing machine, first controlling impeller positive and negative rotation operating, repeatedly improvement is negative to stir load
Decentered distribution is carried, then is measured by weighing sensor;In measurement process, weighing sensor can be obtained in a period of time
Interior output valve carries out integral and calculating:F (U (t), t)=∫ t1t2U (t) dt, wherein U (t) is the output valve of weighing sensor, t
For the time, data stability can be improved, then pass through average computation, re-map the calculated weight M1=F (t) loaded, F
(t) it can be understood as mapping relations function.
To sum up, it when having clothing or water or other articles or object in washing tube, is perceived by weighing sensor
Current physical change amount, the weight of article or object is obtained by accurately calculating.Wherein, the acquisition process packet of initial weight
It includes:
S10 when non-loaded in washing tub, obtains the output valve of weighing sensor.
S11 obtains calculated weight according to output valve, that is, executes above-mentioned weighing process, the i.e. first starting weight of the calculated weight
Amount
M0。
S12 preserves initial weight M0 in the storage unit of washing machine.
And then following steps are executed after input load in washing tube:
S100 obtains the output valve of weighing sensor.
S110 optimizes output valve, and obtains calculated weight M1 according to the output valve after optimization.
S120 obtains the weight M=M1-M0 of load.
The washing machine of the embodiment of the present invention loads weighing method, can by algorithm by using a kind of photoelectric sense technology
With the weight of real-time perception washing tube undergarment and water, precision higher, in addition, can also accurately judge to wash according to load weight
It whether eccentric washs barrel undergarment, it is i.e. de- can also to realize that washing machine drains, takes off the function of drying-stopping.
It is illustrated so that washing machine includes four weighing sensors as an example below.As shown in figure 4, as Fig. 4 (1) show number
According to sampling step, the output signal data of four weighing sensors is acquired, wherein P1, P2, P3 and P4 are respectively four
The wavy curve of the output signal of weighing sensor.If Fig. 4 (2) is data selection and processing step, wherein each wavy curve
Start revolving process, washing tube acceleration revolving process, washing tube including washing tube and reach plateau and washing tube brake stage,
Since the waveform of output is unstable, in waveform selection, waveform can be accepted or rejected, acquisition washing tube reaches one in plateau
Waveform in fixing time, seeks hatched area to each waveform, is then averaging, and obtains the average value of each waveform as schemed
Shown in 4 (3), and then to being averaging again after the summation of the data of the average value of each waveform, average value conduct will be obtained again
The duty ratio of final output value, that is, final, exports the final duty cycle conversion of output at weight finally by the mode tabled look-up.
Washing machine according to the ... of the embodiment of the present invention loads weighing method, pre- in the washing tube rotation first for detecting washing machine
If output valve of the weighing sensor in the second preset time is obtained after the time, to weighing sensor in the second preset time
Output valve optimize, and then the weight loaded in washing tube is obtained according to the output valve after optimised, weight calculates more
It is accurate to add.
In order to realize that above-described embodiment, another aspect of the present invention embodiment propose a kind of washing machine.
Fig. 5 is according to the block diagram of the washing machine of one embodiment of the present of invention, as shown in figure 5, the washing machine 100 includes washing
Bucket 10, at least one weighing sensor 20 and controller 30 are washed, in embodiments of the present invention, weighing sensor 20 is photoelectric sensing
Device, the variation by perceiving light source distance acquire the physical quantity of a succession of variation, such as in Fig. 5, and washing machine 100 includes that suspension is
System, suspension includes sunpender, and weighing sensor 20 is the photoelectric sensor being arranged on sunpender.Controller 30 detects washing
After bucket 10 rotates the first preset time, output valve of the weighing sensor 20 in the second preset time is obtained, and symmetrically retransmit
Output valve of the sensor 20 in the second preset time optimizes, and obtains washing tube 10 according to the output valve after optimised
The weight of interior load, weight are accurately calculated.
In one embodiment of the invention, weighing sensor 20 is multiple, and controller 30 is by way of exponential function
Output valve is calculated to obtain the average value of output valve of each weighing sensor 20 in the second preset time, and to every
The average value of a weighing sensor 20 is summed, so summing value is averaging again with obtain it is optimised after output valve..
In turn, controller 30 obtains the calculated weight of load according to the output valve after optimised by way of tabling look-up,
And the weight of load is obtained according to calculated weight and initial weight, i.e., using the difference of calculated weight and initial weight as load
Weight.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc.
Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;Can be that machinery connects
It connects, can also be electrical connection;It can be directly connected, can also can be indirectly connected through an intermediary in two elements
The interaction relationship of the connection in portion or two elements, unless otherwise restricted clearly.For those of ordinary skill in the art
For, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, changes, replacing and modification.