# Tag Info

1

Design first, code later. Plan everything out using logic, flow diagrams, state diagrams, etc. Your problems are with the logic, not the coding. Jonk has done 8051, I have not. I have done 6502 and 6800 assembly, these are similar. At first you might be tempted to have states based on physical position. But, an elevator really only has 3 states, going up, ...

0

Using the following code we can obtain the path the poles go as you change k. G = poly([-1],'z')/poly([0.3 1],'z'); figure; evans(G,10) zgrid; y = []; for k = logspace(-2,1,1000) y = [y abs(roots((k*G/(1+k*G)).den))]; end figure; plot2d("ll",logspace(-2,1,1000),y') legend('a1','a2') //pick here your optimal gain L = 0.5*G; L = L/(1+L); t = 0:21; ...

0

As @Elliot Alderson pointed out the comment below maybe i need to investigate IBIS models and try to implement that as proper way to acheive the mapping between the two different formulations.

0

$$\ddot{\Theta}=\dfrac{1-K_d\cdot\dot{\Theta}}{J}$$ $$J\ddot{\Theta}+K_d\cdot\dot{\Theta}-1=0$$ $$\ddot{\Theta}+\dfrac{K_d}{J}\cdot\dot{\Theta}-\dfrac{1}{J}=0$$ Discriminant : $\dfrac{K_d^2}{J^2} -\dfrac{4}{J}$ is it positive? $$\dot{i} = \dfrac{1}{L}(V-K_g k_f \dot{\Theta}-R i)$$ $$i = \dfrac{1}{L}\int(V-K_g k_f \dot{\Theta}-R i)dt$$ You solve the ...

0

I had the same issue. As you can see when you used the verbose mode it listed all the fuses you have : fuse0, fuse1, fuse2 ... If you type avrdude.exe -c jtag2_updi -p attiny1616 -U fuse0:r:-:i -v it will show you the value written in fuse 0 which is the WDTCFG fuse. So fuse0 to fuse9 correspond respectively to fuses with offset 0x00 to 0x09 (page 33 in ...

Top 50 recent answers are included