Hi,
I have this project where I'm supposed to build the basic mppt for a solar panel using 8051. I have written the code in C and the hardware part is almost done. However, my code seems to not be working and I cannot pinpoint the problem.
What I have done is interfaced 8051 with dac0808 and adc0808/0809. I have connected the clock of the adc to an 8051 port. The inputs given via the adc are through channel 1 and 2, voltage and current output from the sensors.
I have implemented the perturb and observe code with 0 as the initial reference voltage and current. I have to do it with the proper values specified by the PV array but that is for later. Also I have to implement the Incremental Conductance method too, once again later that is.
The output from the dac is a pwm pulse. This pulse is produced by comparing the changed reference voltage to a triangular wave of 1kHz frequency. The triangular wave is produced inside the microcontroller itself.
I really am not able to figure out where I'm going wrong.
Thanks in advance
Vj
I have this project where I'm supposed to build the basic mppt for a solar panel using 8051. I have written the code in C and the hardware part is almost done. However, my code seems to not be working and I cannot pinpoint the problem.
What I have done is interfaced 8051 with dac0808 and adc0808/0809. I have connected the clock of the adc to an 8051 port. The inputs given via the adc are through channel 1 and 2, voltage and current output from the sensors.
I have implemented the perturb and observe code with 0 as the initial reference voltage and current. I have to do it with the proper values specified by the PV array but that is for later. Also I have to implement the Incremental Conductance method too, once again later that is.
The output from the dac is a pwm pulse. This pulse is produced by comparing the changed reference voltage to a triangular wave of 1kHz frequency. The triangular wave is produced inside the microcontroller itself.
I really am not able to figure out where I'm going wrong.
Thanks in advance
Vj
Attachments
-
2.7 KB Views: 33