Biogas production by anaerobic digestion is matured technology. The biogas production is widely used worldwide. The biogas is commonly used for the direct combustion. Usage of biogas for the production of electricity is still in developing stage. The work is required to use the biogas technology for the power generation. In biogas plants the conversion of biomass to biogas depends on the number of micro organisms. The number of micro organisms depends on the power of hydrogen (PH) of the Slurry in the digester. The PH of the digester is monitored by microcomputer. The PH is regulated by adding the acidic medium or base medium to the slurry of digester. The biogas power generation plant the use of biogas is needed to be regulated. Therefore the flow of biogas is monitored and regulated according to the load condition on the generator. The biogas flow is regulated with help of microcomputer.