Part Number: TMS320F28377S
Hello every body. I have algorithm which works fine in simulink simulations. The algorithms consists of two multipliers , an integral , two derivatives and a sum block. The algorithm uses two inputs out of one is the discrete time t as input. The second one is the output of the plant which can be measured. In the simulink simulations , the solver sampling is set to 1e-6. I successfully deployed the model over the launchpad from simulink. All the sampling times are the same for code deployment. The only difference is that for code deployment , ADC samples are converted to the signal and then it acts as input to the algorithm. Another important thing is that the algo utilizes the first and second derivative of the sampled signal. For the simulation case the algo is working fine. Please help me what can be the possible reason for not getting the satisfactory results when the algo is run from the board.
Thanks in advance