【正文】
strong weak In addition, but also to the laundry process of fault diagnosis, Ensure the safety of highspeed operation is dehydration. Therefore, the general requirements for automatic washing machine has the following basic functions.(1) the weak strong washing function. When strong washing is required for each time reversal driver, intermittent time for 4S 1S, When the driver is weak reverse wash each time to break, 2S to nanjing.(2) 4 kinds of work procedures, namely the laundry standard procedure economic program and drainage program. Separate programs Standard procedure is rinse water washing, cleaning Dehydration and so on three times, each cycle time washing or rinse links on a cycle time reduction at the same time, the specific 2min link is the first cycle for washing, time for 6min cycles, the second and third respectively to rinse, time and time 2min. Drain 4min dynamic time method for 2 min, dehydration, economic procedures and standard procedures, only for the second cycle. Separate program is water washing (6 min) (off) LiuShui not line. Drainage program is drainage, time dehydration and the corresponding link the same procedure.天津工程師范學(xué)院 2022 屆本科生畢業(yè)設(shè)計(jì)(3) in diagnosing drainage system. Washing machine in water or drainage process, if in certain time range water or drainage failed to reach that water, drainage system is faulty, in the measure of control systems and procedures as warning signals by warning that the artificial exclude,.(4) during dehydration safety protection and the vibration function. Washing machine, if open during dewatering machine will cover, automatic stop dehydration operation. During dehydration, if appear clothes off the barycenter offset caused by winding bucket and imbalance, washing machine will stop automatically, avoid excessive vibration dehydration, artificial processing recovery efforts.(5) intermittent driving mode. Dehydration during the intermittent driving mode, so energy. This system requirements driven 5s, intermittent 2s, during a break off by force to maintain high speed rotating bucket.(6) pause functions. Regardless of what, in the washing machine working state when pressed, washing pause key to suspend work, to press the start button again after washing machine can press originally selected works continue to work.(7) light display function. Washing the choice of the ways of all kinds of work and working status are recorded optical tips and display.Control logic circuitFullyautomatic washerextractor control logic circuit as shown in figure 71. It consists of a single chip microputer AT89C2051 as the core and relevant integrated circuit and ponents. From the 天津工程師范學(xué)院 2022 屆本科生畢業(yè)設(shè)計(jì)graph, the automatic washing machine control logic circuit is quite simple.Fullau。 Singlechip microprocessor controller, say again or embedded controller. But now the intelligent electrical appliances without exception is adopted to realize micro controller, household appliances is one of the most SCM. It is intelligent household appliances of heart and brain.Because of household appliances, small size, so the controller smaller request to embed its structure. And home appliances, functional differences are more varieties, so its controller has flexible control function. With small volume and microcontroller programming flexibility and produce various control function, and can meet the demand of household appliances.AT89C2051 ATMEL pany eight singlechip microcontroller is one of series, is a kind of 20 foot double row inline chip. It contains 2KB can burn the FLASH memory, and also has 128 bytes of RAM, 15 I/O port, 5 interrupt, 2, can satisfy the need of the program has also and 51 series, instructions, based on the characteristics and patible choose it to design an intelligent machine, can achieve the following features:1, do laundry working function: the strong and weak catharsis,2, laundry program function: contain four independent procedures, namely the standard procedure, economic laundry, washing laundry, dehydration single function,3, special function: fault diagnosis, safety protection and vibrationproof, pause, intermittent work, light display function.天津工程師范學(xué)院 2022 屆本科生畢業(yè)設(shè)計(jì)A washing machine, the control functionWashing machines to plete the work in general, besides washing laundry and effectiveness of the process of artificial simulated, according to the mechanical properties of the washing machine and related electronic control.For a single BoLun sets barrel type automatic washing machine, first requirement can finish washing function, Also according to user39。 lcdxs()。 lcdstart0()。} minute。 if(minute==60){minute=0。} } if(key23){key2=0。 } } if(key2==3) {if(a2==0) {TR0=1。} } if(a3==0) {if(minute==0){minute=60。 } if(key2==2) { if(a2==0) {minute++。 } if(key2==1) {minute=19。} if(key2==0) {minute=00。 } } if(a0==0){anniu1()。 while(1) {if(minute==0) {if(second==0) {TR0=0。 second=00。 //開(kāi)中斷 //EA=1。 TL0=0x00。 } }void main(void)天津工程師范學(xué)院 2022 屆本科生畢業(yè)設(shè)計(jì){ TMOD=0X02。 lcdstart0()。 } //if(minute==0) //{TR0=0。 if(second==00) {second=59。 second。}} C100us。 if(a3==0) {TR0=0。 shi_jian[9]=su_ma[second%10]。 shi_jian[6]=su_ma[minute%10]。 display(shi_jian)。} P1=0xc0。} } if(key1==1) {display(MOD Dehydration)。} if(key3==2) {display(MOD laundry q)。} if(a4==0) {anniu3。 enrw()。}lcdstart0(){niti()。P1=0x06。P1=0x0c。P1=0x38。}niti(){P1=0x01。\039。}display(uchar *s){for(。天津工程師范學(xué)院 2022 屆本科生畢業(yè)設(shè)計(jì) delay(35)。 rw=0。}write_data(uchar M){P1=M。 delay(35)。 rw=0。delay(20220)。delay(20220)。天津工程師范學(xué)院 2022 屆本科生畢業(yè)設(shè)計(jì)delay(20220)。delay(unsigned int i){whil