Energy has been universally recognized as one of the most important inputs for economic growth and human development but due to increasing pressure of population and increasing use of energy in different sectors of the economy is an area of concern for India. According to 2011 energy survey, there is a huge gap between energy demand and energy production in India. Since the industrial revolution, fossil fuel has become the primary source of energy to produce electricity but the use of fossil fuel is not eco friendly as it produces greenhouse effect. Besides the environmental effects, all the reserves of primary sources of energy are on their way to getting used up. Among the total electricity produced per year, 35 to 40 percent of primary energy is consumed by the household sectors. So the reduction of energy consumption in buildings is of high socio-economic relevance. Besides the reduction of energy consumption we have solar energy which is far better than fossil fuel and it is the most abundant energy available in the planet. Due to enormous advantages of solar energy, an innovative design of sustainable building is presented in this paper where solar energy is used to make it a zero energy building. Green building also indirectly helps to reduce green house gas emission and pollution produced by the combustion of fossil fuels. In this paper also the electricity supply control, lighting control and solar tracking control are designed using programmable logic controller (PLC) which helps to increase the power supply security and the overall efficiency of the building. The automation system has been designed and tested using GE, FANUC PLC.