This sounds like the boss asks you to figure out how the previous programmer named variables, and how variables interacted with instrument readings, and how it all interacts with electronic circuitry. You're lucky if the code has comments explaining each line. I have a hunch the boss hopes you'll achieve rapid results.redo the code
My company out sources it’s code so they only the hex and 3rd party application to load the code to the charge controller. So they want to develop a source code from scratch and want me to do. My company does not have any codes or programmers. The algorithm could be P&O or InCon based on the efficiency. So I don’t even where to startwhy does the code need redoing?
--- Updated ---
MPPT has several methods that depend on your customer and company's expectations. These must be given or you must request.
I do not have the source code and only the hex code.This sounds like the boss asks you to figure out how the previous programmer named variables, and how variables interacted with instrument readings, and how it all interacts with electronic circuitry. You're lucky if the code has comments explaining each line. I have a hunch the boss hopes you'll achieve rapid results.
For this project the previous programmer may have had partial success or no success. You may manage to figure out his code or else start over and write your own code.
As the basic goal you want to maximize the amount of Amperes charging a battery. At the same time you want to maximize the amount of Amperes drawn from PV panels (we assume PV panels?) In order to achieve this you'll vary operation of the charge controller. Duty cycle, frequency, filtering, etc.
1. The company pays 3rd party to use their source. So basically it is like a subscription to any ott and you can watch and likewise they pay and the other has a app when connects to their online server which has the hex and these ppl dump it on the board they want to eliminate this process.My first question would be why you don't have the sources if the design was done for your company by a third party.
Secondly, MCS51 has moderate complexity and reverse engineering the code is surely possible, but I'm not sure if it's worth the effort.
In any case, a complete design specification (hardware, expected functionality) is the starting point.
The boss now relies on you to understand the workings of the hardware, and get the most performance out of it. A lot depends on how much of the workings are automatic, and how much of it you have to do manually.P&O or InCon based on the efficiency. So I don’t even where to start
You should be asking , why is this significant and how you measure Isc and Voc to settle as quickly as possible in a controlled switch?example research paper reference https://www.researchgate.net/public..._Based_MPPT_Algorithm_for_Photovoltaic_System
My sanity check for any MPPT algorithm is based on matched impedance for Maximum Power Transfer (MPT) theorem.
Measure Voc, Isc and compare voltage of an LED or photo diode using voltaic mode to calibrate Panel Voc.
Regulate Vmpt @ 83% Voc at full solarity and ~<70% Voc at low solarity.
If this impedance Zmp deviates more than x% you are not getting MPPT.
Zmp = Voc/Isc rises with lower solarity.
LED or PD may be used to measure solarity to compare with Voc on panel.
View attachment 193433
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?