The Field Programmable Gate Array(FPGA) can be used to generate PWM waves to control DC motor's working, therefore a system of automobile's automatic wipers which could convert wipers' speed autonomously were designed base on it in this paper. The core module of the system was FPGA which generated PWM waves in reference to the command-signal received, and the PWM waves drove the DC motor that made wipers work, the FPGA module also had a PID algorithm to ensure that DC motor could work stably and accurately. A novel rain sensor which was termed "modified RHD-22 rain sensor" has been put forward in this paper to give out this command-signal according to the rain it detected. Result of the simulation showed that the system could achieve almost all the functions needed.
展开▼