Очень подробный мастер-класс и схемы здесь: http://blog.163.com/gdbxl2008_grxl669/blog/static/20043525120124883941344/