Sunday, April 02, 2006

he current control

afm4 is working in open loop mode with the currents coming in.

I have saved that as afm5. Now that I am using the adcRegs and the PieRegs to save the high and low times, I can change the name to whatever I want.

I have removed the capture block from inside the masked open loop block and moved the 2812 setup block into the main window. - WORKS

I have moved the custom code generation blocks into the current sense block for simplicity and put the current sense block in the library. - WORKS

For some reason, the changes that I made to the addresses for A, B and C did not stay changed. I have now changed them back to what is below:

address Variable
3F9000
3F9001
3F9002 IaTimeHigh
3F9003 IaTimeLow
3F9004 IaDutyCycle
3F9005 IaPeriod
3F9006 IbTimeHigh
3F9007 IbTimeLow
3F9008 IbDutyCycle
3F9009 IbPeriod
3F900A IcTimeHigh
3F900B IcTimeLow
3F900C IcDutyCycle
3F900D IcPeriod
3F900E
3F900F
3F9010 IaFB
3F9011 IbFB
3F9012 IcFB
3F9013
3F9014
3F9015
3F9016
3F9017
3F9018
3F9019
3F901A
3F901B
3F901C
3F901D
3F901E
3F901F
3F9020 A
3F9021 B
3F9022 C

WORKS.

I have moved the hall effects to their own block that is now in the library and I have moved that block out of the masked open loop.

DID NOT WORK

There was a crash that required a close of CCS and matlab so I have tried a reset emulator and a rebuild before blaming the move of the HE block.

DOES NOT WORK

I have moved the HE block back to check but I cannot see how its movement has caused problems.

STILL DOES NOT WORK

I will try reboot just to make sure.

STILL DOES NOT WORK - WHAT HAVE I DONE.

Try afm4

WORKS - THANK GOODNESS

save afm4 as afm6 and change the current block

WORKS

change the addresses back to the correct ones in the table above.

DOES NOT WORK!! WHAT IS WRONG WITH THOSE ADDRESSES? - THEY WORKED BEFORE!!

go back to the old block in afm6

WORKS

get rid of capture block and make HE a subsystem.

WORKS

remove image and move HE block into main system

WORKS

configuration block into main system

WORKS

PWM into separate block in main system

DNW

problems as the PWM block requires variables set in the other masked block.

0 Comments:

Post a Comment

<< Home