The Summary
The main components of fuzzy control system for flue-cured tobacco: MCU AT89S52, LCD Module, 3 × 3 keyboard, analog-digital converter PCF8591, three phase and single-phase asynchronous motor, stepper motor damper control compensation, and real-time clock chip DS1302 . LCD display settings and parameters related to steps. Keyboard can be set to target the upper and lower shelf temperature, humidity and rate of change of temperature and humidity. Microcontroller based real-time clock provides clock information and rate of change of temperature and humidity to temperature and humidity according to certain rules to achieve goals and get the current temperature and humidity target temperature and humidity. Upper and lower shelf with a Pt100 temperature and humidity measurements, micro-controller data from the PCF8591 be filtered to generate new data, and the current target temperature and humidity, and obtains the error e and error change rate ec, these two fuzzy quantity of obtained the role of the corresponding fuzzy sets and membership, according to control rules and the role of fuzzy sets reasoning method to calculate the role of controlling the amount of fuzzy sets and membership, this time about the amount obtained four groups of control , according to a certain percentage share of the upper and lower shelf arrive at a more reasonable amount of the role of fuzzy control fuzzy sets and membership, with the center of gravity method for fuzzy control volume for clarity, draw the amount of actual control, drive motor, control Compensation throttle. Whether the current temperature and humidity according to the current target temperature and humidity, if not met, the microcontroller can start single phase induction motor, on the furnace to control the combustion of coal, otherwise, do not start single phase induction motor. Throughout the three-phase asynchronous motor during the start and stop and start and stop micro-controller synchronously.
.
Key words: AT89S52, PCF8591 and the IIC bus protocol, DS1302 and the SPI bus protocol, fuzzy control algorithm.