CN104090513B - A kind of new pulse signal detection method - Google Patents

A kind of new pulse signal detection method Download PDF

Info

Publication number
CN104090513B
CN104090513B CN201410335456.3A CN201410335456A CN104090513B CN 104090513 B CN104090513 B CN 104090513B CN 201410335456 A CN201410335456 A CN 201410335456A CN 104090513 B CN104090513 B CN 104090513B
Authority
CN
China
Prior art keywords
pulse signal
tlow
thigh
program
washing machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410335456.3A
Other languages
Chinese (zh)
Other versions
CN104090513A (en
Inventor
石化阳
阙强
陈海兵
蒋佳伟
周华龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Filin Electronics Co Ltd
Original Assignee
Wuxi Filin Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Filin Electronics Co Ltd filed Critical Wuxi Filin Electronics Co Ltd
Priority to CN201410335456.3A priority Critical patent/CN104090513B/en
Publication of CN104090513A publication Critical patent/CN104090513A/en
Application granted granted Critical
Publication of CN104090513B publication Critical patent/CN104090513B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Washing Machine And Dryer (AREA)

Abstract

The present invention relates to washing machine field, specifically a kind of new pulse signal detection method, its step includes,(1)Preset collection period T1, calculating cycle T2 and constant C numerical value;(2)Then judge in whether the T1 times have timing, if so, performing(3);No, repeat(2);(3)Add up high level and low level number in the T1 times, is designated as Thigh, Tlow respectively, until counting down to the predetermined T2 times;(4)Thigh, Tlow are substituted into formula F, obtain a result r, wherein formula F is as follows:R=| Thigh Tlow |, and r is determined whether into pulse signal more afterwards compared with the default constant C of program;(5)After having judged pulse signal, marker position, return to step are updated(2).The present invention can be eliminated all because power network fluctuation and the caused false alarm phenomenon without effective grounding, extend the washing machine life-span.

Description

A kind of new pulse signal detection method
Technical field
The present invention relates to washing machine field, and in particular to a kind of new pulse signal detection method of roller washing machine.
Background technology
At present, roller washing machine market is constantly expanding, and rural market therein has been developed as roller washing machine city The important part in field.Known, the rural area in China or the power network of remote mountain areas are extremely unstable, voltage and frequency fluctuation model Enclose very greatly, and the power network in many places all lacks effective grounding.Unstable and without dead ground the situation of power network Very big influence be present to the normal use of roller washing machine, the detection especially to roller washing machine pulse signal produces very big Influence, or even the phenomenon that false alarm occurs because of pulse signal detection mistake occurs, eventually results in the mistake of user of service Operation, it is impossible to carry out normal washing work, reduce the service life of washing machine.
The content of the invention
The purpose of the present invention is to be directed to the deficiency of existing signal detecting method in background technology, it is proposed that a kind of improvement side Case, specifically a kind of new pulse signal detection method, this method are based on the basis of current roller washing machine configuration , it can correctly detect pulse signal.
In order to solve described technical problem, the technical solution adopted by the present invention is:A kind of new pulse signal detection Method, it is characterised in that this method comprises the following steps,(1)The pre-set collection first in the program of roller washing machine The numerical value of cycle T 1, calculating cycle T2 and constant C these three parameters;(2)Then roller washing machine, normal operation journey are started Sequence, after the collection period T1 times of setting are run to, if program timing is interrupted, carry out next step(3)Operation, if journey Sequence does not have Interruption, then continues repeat step(2)Operation, until next step can be run(3)Operation;(3)Laundry The MCU of machine is scanned with T1 periodic pulse signal, in scanning process, constantly reads the level of pulse signal, and constantly Cumulative high level and low level number, number are designated as Thigh, Tlow respectively, after predetermined calculating cycle T2 is count down to, then Carry out next step(4)Operation, if just stopped counting after predetermined calculating cycle T2 is not reaching to, return repeat walk Suddenly(2)Operation, until can be with operating procedure(3), step(4);(4)By the high level recorded within the calculating cycle T2 times Number Thigh, low level number Tlow substitute into formula F, obtain a result r, and wherein formula F is as follows:r= |Thigh - Tlow |, and by r compared with the default constant C of program, if r<C, then judge it is not after pulse is believed, flag bit to be zeroed out, return is held Row step(2)If r >=C, pulse signal is confirmed as, order performs next step(5);(5)It is right after having judged pulse signal Flag bit carries out set, again returns to step(2)Carry out the detection of next round pulse signal.
Preferably:Described constant C scope is 29≤C≤31, i.e. constant C can use 29,30,31 3 numerical value.
The beneficial effects of the invention are as follows:Pass through the detection method proposed by the present invention to existing roller washing machine pulse signal Improvement, fully ensured that washing machine can be normal in the case of line voltage, the larger and no dead ground of frequency fluctuation Operation, be not in the phenomenon of false alarm, can all eliminate because of the unstable erroneous procedures the brought operation of power network, extend The service life of washing machine, it ensure that user correctly operates.
Brief description of the drawings
Fig. 1, flow chart of the method for the present invention.
Embodiment
Flow chart in below in conjunction with the accompanying drawings, the embodiment of the present invention is described in further detail.
As shown in figure 1, being flow chart of the method for the present invention, this method comprises the following steps that:It is step first(1), Pre-set collection period T1 in the program of roller washing machine, calculating cycle T2 and constant C these three parameters numerical value;So After be step(2), and then start roller washing machine, normal operation program, after the collection period T1 times of setting are run to, If program timing is interrupted, next step is carried out(3)Operation, if program does not have Interruption, continue repeat step(2)'s Operation, until next step can be run(3)Operation;Step(3)The MCU of washing machine is swept with T1 periodic pulse signal Retouch, in scanning process, constantly read the level of pulse signal, and constantly cumulative high level and low level number, number point Thigh, Tlow are not designated as, after predetermined calculating cycle T2 is count down to, then carries out next step(4)Operation, if not having Counting is just stopped after reaching predetermined calculating cycle T2, then returns to repeat step(2)Operation, until can be with operating procedure (3), step(4);Step(4), by the high level number Thigh recorded within the calculating cycle T2 times, low level number Tlow Formula F is substituted into, obtains a result r, wherein formula F is as follows:R=| Thigh-Tlow |, and by r and the default constant of program C compares, if r<C, then judge it is not that after pulse is believed, flag bit is zeroed out, return and perform step(2)If r >=C, confirm For pulse signal, order performs next step(5);(5)After having judged pulse signal, set is carried out to flag bit, again returned to Step(2)Carry out the detection of next round pulse signal.
Embodiment one:Collection period T1=1ms set in advance, calculating cycle T2=100ms in the present embodiment, and constant C=29, the detection of line-pulse signal is entered according to above-mentioned method flow, the high level number recorded within the calculating cycle T2 times Thigh=18, low level number Tlow=13, by Thigh=18, Tlow=13 substitute into formula r=| Thigh-Tlow |, draw R=5, r < C, then it is judged as it not being pulse signal.
Embodiment two:Collection period T1=1ms set in advance, calculating cycle T2=120ms in the present embodiment, and constant C=30, the detection of line-pulse signal is entered according to above-mentioned method flow, the high level number recorded within the calculating cycle T2 times Thigh=180, low level number Tlow=150, by Thigh=180, Tlow=150 substitute into formula r=| Thigh-Tlow |, R=30 is drawn, r=C, is then judged as pulse signal.
Embodiment three:Collection period T1=1ms set in advance, calculating cycle T2=200ms in the present embodiment, and constant C=31, the detection of line-pulse signal is entered according to above-mentioned method flow, the high level number recorded within the calculating cycle T2 times Thigh=280, low level number Tlow=200, by Thigh=280, Tlow=200 substitute into formula r=| Thigh-Tlow |, R=80 is drawn, r > C, is then judged as pulse signal.
A kind of detection method of new pulse signal proposed by the present invention is the improvement to existing detection method, is improved Method afterwards can ensure that washing machine can be transported normally in the case of line voltage, the larger and no dead ground of frequency fluctuation OK, be not in the phenomenon of false alarm, can all eliminate because of the unstable erroneous procedures the brought operation of power network, extend and wash The service life of clothing machine so that user's safe operation.

Claims (2)

  1. A kind of 1. new pulse signal detection method, it is characterised in that this method comprises the following steps:
    Step(1), start roller washing machine, and pre-set collection period T1, meter in the program of roller washing machine first Calculate the numerical value of these three parameters of cycle T 2 and constant C;
    Step(2), then this detection of normal operation program, when this detection program runs to the collection period T1 times of setting, if Program timing is interrupted, then carries out next step(3)Operation, if program does not have Interruption, continue repeat step(2)Behaviour Make, until next step can be run(3)Operation;
    Step(3), the MCU of washing machine is scanned using T1 as collection period to signal, in scanning process, constantly reads signal Level, and constantly cumulative high level and low level number, number are designated as Thigh, Tlow respectively, when reaching predetermined calculating After the time of cycle T 2, then next step is carried out(4)Operation, if just stopped meter after predetermined calculating cycle T2 is not reaching to Number, then return to repeat step(2)Operation, until can be with operating procedure(3), step(4);
    Step(4), the high level number Thigh recorded in calculating cycle T2, low level number Tlow are substituted into formula F, obtained Take a result r, wherein formula F is as follows:R=| Thigh-Tlow |, and by r compared with the default constant C of program, if r<C, then Judgement is not that after pulse is believed, flag bit is zeroed out, and returns and performs step(2)If r >=C, pulse signal is confirmed as, it is suitable Sequence performs next step(5);(5)After having judged pulse signal, set is carried out to flag bit, again returns to step(2)Carry out down The detection of one wheel pulse signal.
  2. 2. new pulse signal detection method according to claim 1, it is characterized in that:Described constant C scope exists 29≤C≤31, constant C are rounded.
CN201410335456.3A 2014-07-15 2014-07-15 A kind of new pulse signal detection method Active CN104090513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410335456.3A CN104090513B (en) 2014-07-15 2014-07-15 A kind of new pulse signal detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410335456.3A CN104090513B (en) 2014-07-15 2014-07-15 A kind of new pulse signal detection method

Publications (2)

Publication Number Publication Date
CN104090513A CN104090513A (en) 2014-10-08
CN104090513B true CN104090513B (en) 2018-02-23

Family

ID=51638235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410335456.3A Active CN104090513B (en) 2014-07-15 2014-07-15 A kind of new pulse signal detection method

Country Status (1)

Country Link
CN (1) CN104090513B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111486918A (en) * 2020-06-15 2020-08-04 泉州慧霁科技有限公司 Water consumption number acquisition method of intelligent electronic induction water meter

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010003286A1 (en) * 1999-07-14 2001-06-14 Jay E. Philippbar Flood control device
CN1187915C (en) * 2003-01-24 2005-02-02 杭州国芯科技有限公司 Method for detecting impulse interference in digital signal transmission
CN1536151A (en) * 2003-04-11 2004-10-13 乐金电子(天津)电器有限公司 Clutch motor control method for full-automatic washing machine
CN101173474B (en) * 2006-11-01 2011-11-30 海尔集团公司 Method for checking failures of washing machine electric motor loop and clothes amount detection circuit
CN103486068B (en) * 2013-09-16 2016-03-30 福建星网锐捷网络有限公司 The control detecting method of intelligent fan and device, intelligent fan

Also Published As

Publication number Publication date
CN104090513A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN104141211B (en) A kind of control method for washing and the washing machine using this method
CN104821708B (en) Lift the circuit structure of primary side feedback power-supply system EFT immunity to interference
CN102944804B (en) Overhead line fault detection system
CN101831782B (en) Method for rinsing clothes
CN105699009B (en) Based on difference comparsion technology capacitance pressure transducer, fault diagnosis system and method
CN104975471B (en) A kind of detergent throwing device, washing machine and detergent excess detection method
DE502006007206D1 (en) METHOD OF MONITORING ELECTRICAL POWER QUALITY IN AN ELECTRIC POWER SUPPLY NETWORK, POWER QUALITY FIELD DEVICE AND POWER QUALITY SYSTEM
CN101975911A (en) Earth fault judging method for overhead line fault indicator
CN106868780A (en) The control method for washing and system of a kind of car washing installation
CN106706997A (en) Current dynamic detection method and device
CN106119897A (en) A kind of electrolyzer electric flow distribution and safety monitoring system and electrolytic aluminium equipment
CN113389009B (en) Barrel cleaning control method of washing machine and washing machine
CN104090513B (en) A kind of new pulse signal detection method
CN103823398B (en) Rotary encoder adjustment control method and device
CN105686699A (en) Intelligent control method of food processing machine
CN106609436A (en) A washing machine control method and a washing machine
CN109056271A (en) A kind of fuzzy control method and system for intelligent washing machine
CN207130492U (en) A kind of salt washing process of car washing installation
CN204925817U (en) Capacitanc liquid level controller
CN109487504A (en) Level testing methods and washing facility for washing facility
CN201148547Y (en) Laundry machine cloth quantity testing circuit
CN105528014A (en) FPGA-based silicon controlled rectifier trigger pulse control method
CN205581227U (en) Equipment running state on -line monitoring device
CN110004649A (en) A kind of clothes processing method and clothes treatment device
CN211484447U (en) Liquid level detection device and dish washing machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant