# solar panel parameters measurement system

This project is designed to measure parameters of solar panels and objective is to measure Voltage, current, power, temperature and intensity of light .Digital display is used to display values of these parameters.Pic microcontroller is used to measure analalog values of these sensors and PIC microcontroller built in analog to digital to converter is used to measure values of these parameters. I have written this article on request of one follower of my blog.You can also ask me to write article you need.

The block diagram above shows a solar panel measurement system. Voltage divider is used to measure voltage.I have used polar and not polar capacitor along with voltage divider to avoid fast voltage fluctuations in voltage during measurement. Difference amplifier is used to measure current. Signal conditioning is done by using shunt resistor to convert current into voltage form. Lm35 tempertuare sensor is used to measure voltage of solar panel. Light dependent resistor is used to measure light intensity. Power can be calculated by product of measured current and voltage.

block diagram of solar panel measurement system

As shown in above block diagram sensors are connected with four ADC channels with PIC micrcontroller. Next I have explained how these sensors works and circuit diagrams of all these sensors is shown below.

#### Voltage sensor circuit diagram :

There are many ways to sense voltage. But in this project we can easily measured voltage of solar panel using voltage divider. Two capacitors are connect parallel to voltage measurement resistor to avoid voltage fluctuation and avoid harmonics to go into ADC of PIC microcontroller.I have already posted a article on how to measure AC voltage using PIC microcontroller. You can also check this article by clicking on link below:

AC voltage measurement using pic microcontroller

Circuit diagram of voltage sensor is shown below:

Voltage sensor

According to voltage sensor formula ,for solar panel of 24 volt values of voltage divider resistors are R2 = 10K and R4 = 2K. The reason I have used voltage divider because the maximum input voltage to Analog to digital converter can never be greater than 5 volt. But I calculated these resistor values according to 4 volt to increase accuracy of  measurement  and to insure protection of ADC in case of greater voltage fluctuation.

Note: DC voltage source is used instead of solar panel in Proteus just for simulation purpose. Because solar panel simulation is not available in Proteus.

#### current sensor circuit diagram :

Below is a circuit diagram of current measurement circuit. I have used difference amplifier to amplify voltage appearing across shunt resistor. Because current value may be too high and too low in different timings and different voltage will generate across shunt resistor.So it is not possible to use voltage divider as we don’t know the values of current.

Current sensor

I have already posted a article on how to measure AC current using difference amplifier. You can check following article to understand how above circuit is working.

AC current measurement using op-amp and pic microcontroller

#### Temperature sensor circuit diagram :

Circuit Diagram of temperature sensor is shown below. To know more about temperature sensor and its details go through following articles:

Digital temperature sensor using PIC microcontroller

Wireless temperature sensor using PIC microcontroller and gsm

Temperature sensor

#### Light sensor circuit diagram :

Light dependent resistor is used to measured intensity of light. LDR is a light controlled variable resistor.Resistance of LDR changes with the change in intensity of light. Greater the intensity of light, lower will be the resistance and lower the intensity of light, greater will be the resistance. Change in resistance can be easily measured by converting it into voltage form as shown in circuit diagram below.

Light sensor

In above circuit non polar 100nf capacitor is used to avoid voltage fluctuations.

#### Power measurement :

Output power of solar panel can be easily calculated by product of voltage and current output of solar panel.Because solar panel is a DC voltage source and in case of DC, voltage and current remain in phase and power relation become simple which is just a product of voltage and current. These calculations can be easily done with the help of algorithm/program.

#### Complete circuit diagram:

Complete circuit diagram of solar panel voltage measurement is shown blow. you can easily write code for this circuit using ADC of pic microcontroller and lcd display for digital display of these values.if you still have any issue after reading this article, feel free to comment on this post. Don’t forget to subscribe to my blog to get updates of new posts in your inbox.

complete circuit diagram of solar panel measurement system

Delivered by FeedBurner

## ESP32 programming with Arduino VIDEO COURSE 73% DISCOUNT

1. aab August 9, 2014
• BILAL Malik August 10, 2014
2. shahbaz August 21, 2014
• BILAL Malik September 9, 2014
• Neekel January 28, 2015
3. tahir August 24, 2014
• BILAL Malik September 9, 2014
4. Anurag kumar September 9, 2014
• BILAL Malik September 9, 2014
5. idreesmuhamed October 9, 2014
6. Abuzur October 23, 2014
7. abedin October 25, 2014
8. Bhong2002 October 29, 2014
9. imran November 3, 2014
• imran November 3, 2014
10. ravish kumar November 13, 2014
11. nirob November 18, 2014
12. Mouly Reddy December 22, 2014
13. Mouly Reddy December 22, 2014
14. Abhijit V. Padgavhankar December 26, 2014
15. Abhijit V. Padgavhankar December 26, 2014
16. abhijit v padgavhankar December 27, 2014
17. Faiz February 10, 2015
• BILAL Malik February 14, 2015
19. Munther Sharaiha February 16, 2015
20. Sumit February 28, 2015
21. Salman March 13, 2015
22. vidyut March 20, 2015
23. Girish March 31, 2015
24. rakib April 8, 2015
25. atsp April 30, 2015
26. Dante May 13, 2015
27. Gourab May 16, 2015
28. charab May 29, 2015
29. Sardar Hafeezurrehman November 21, 2015
30. Shubham kapoor February 22, 2016
31. sumit April 9, 2016
32. Reza July 15, 2016
33. nikhil September 15, 2016
34. Felix Too September 26, 2016