Here is a very competent group practically investigating the production of medieval black powder, the Medieval Gundpowder Research Group at Middelaldercentret Nykøbing, Denmark
http://www.middelaldercentret.dk/pro...gunpowder.html
They also published their experiments on an Open Source base you will find them here
http://www.middelaldercentret.dk/pro...ogkanoner.html