资 源 简 介
设计一种自动洗衣机的程序控制器,在启动后先进水,等到达高水位后,启动洗衣马达转动4min,如在洗衣过程中发现水位低于高水位,则停止洗衣马达转动并报警,并在水位到达高水位后再次启动马达。洗衣结束后则启动排水开关,待水位到达低水位后,则启动脱水马达,转动2min。如此重复三次,要求在每一动作之间有2s的间隔。
高水位,低水位为水位传感器,用两个开关模拟,当水位高于高水位或低于低水位时,两个开关的状态分别为0 。启动开关用一个开关表示。进水、排水、洗衣马达、脱水马达及报警分别用一个发光二极管表示。本实验只需用可编程并行接口电路的A口。其硬件接口如下图所示。也可采用可编程逻辑器件进行设计。
-Design of an automatic washing process controller, after commencement of advanced water, and so on to reach the high water mark, start laundry motor rotation 4min, such as in laundry water level lower than that found during the high water mark, then the motor stops rotating laundry and alarm, and the the water level reaches the high water mark again to start the motor. Laundry is started after the end of the drainage switch, when the water level reaches the low water level, then start the dehydration motors, rotating 2min. Repeat three times, each action requires the interval between the 2s.
High water, low water level as water level sensors, with two analog switches, when the water