Browsed by
Month: October 2019

Deepak Status Report 10/26/2019

Deepak Status Report 10/26/2019

This week we finally got ADC triggering working properly. We managed to do this with a combination of timer synchronization and modifying the manufacturer timer driver function used for initialization. Because we are using center-aligned PWM as discussed in previous status reports, the timer’s counter counts from 0 to 1023 and back down to 0. Every time it reaches 0 or 1023 and changes direction, the timer generates an update event (“UEV” in the above diagram). This update event is…

Read More Read More

Team Status Report 10/26/19

Team Status Report 10/26/19

This week we took another major step in firmware bringup via the janktroller. One of the hardest challenges of this project is to get rotor estimation using only the current and voltage feedback from the motor, which involves using ADCs to sample values. After we found our firmware bug, we started debugging the ADC values we were seeing using Rotate, the GUI that Bolaji made last week and continued firmware debugging. We have also started to work on integrating our…

Read More Read More

Bolaji Status Report 10/26/19

Bolaji Status Report 10/26/19

This week, I worked on making use of our now useful ADC sampling. This gives us current information for each phase, sampled when the low side gate is on in phase with the PWM frequency, which avoids aliasing effects and makes sure that the shunt amplifier output is valid. So far, I have enabled the current feedback for the D Q control loop, so when you command a certain current vector, the controller actually creates that in the motor. I…

Read More Read More

Cindy Status Report 10/26/19

Cindy Status Report 10/26/19

This week I worked on the demo aspect of the project. In addition to researching further into the motor and tabletop dyno, I started some initial drawings in CAD for our motor mount and output shafts. We’re going to make some parts out of aluminum to firmly hold the motor assembly in place as we start testing it with higher power. I also found a bike to purchase from Facebook for $40 that we are going to investigate and see…

Read More Read More

Bolaji Status Report 10/19/19

Bolaji Status Report 10/19/19

This week, I wrote an implementation of a flux observer for the janktroller. It uses an integrator to determine the flux that has been put into each phase, and reads the current currently in the phase to sense the ratio between them, which is the flux linkage. This varies as that magnets move around the stator, and with the three flux linkages and some trig you can calculate the electrical position of the rotor. A large benefit of a flux…

Read More Read More

Cindy Status Report 10/19/19

Cindy Status Report 10/19/19

This week I worked with Deepak on the STM32 timers to trigger the ADC. We verified that indeed PWM was working and decided that we have to use one timer to triggeer another. Timer synchronization is more difficult than we thought, as we are using one timer to trigger another, and the second one has to start at the exact same time to be able to trigger the ADC. We had to fiddle around with the prescaler of the timer…

Read More Read More

Deepak Status Report 10/19/2019

Deepak Status Report 10/19/2019

This week I worked on getting the timers to trigger the ADC. The ADC must be triggered at a specific time in the PWM cycle, so naturally I first tried to generate the trigger from the timer generating the PWM. When I got the ADC triggering properly and data coming over UART, there seemed to be no PWM output. I confirmed this with an oscilloscope, and experimented until I realized I could not get the PWM and ADC triggering to…

Read More Read More

Team Status Report 10/12/2019

Team Status Report 10/12/2019

This week we primarily worked on the Design Review Report, and also got a basic graphing interface, known as ROTATÉ, working to show live motor data in a more useful way. Working on the Design Review Report was useful in that it made us think in more detail about what we are doing and why, giving us a clearer understanding of where we are in the semester. We are also moving into getting a clearer understanding of motor control theory beyond…

Read More Read More

Deepak Status Report 10/12/2019

Deepak Status Report 10/12/2019

This week I spent a lot of time practicing for the Design Review presentation and working on the Design Review Report. The Design Review presentation went fairly well based on the feedback. The next major thing I did as I was writing the Report was reviewing the basics of motor operation. In order to describe the differences between brushed DC motors and 3-phase brushless motors as part of the Report, I found a good source that described the basic operation…

Read More Read More

Cindy Status Report 10/12/19

Cindy Status Report 10/12/19

This week I worked on the Design Review Report and prepare for the Design Review Presentation. The report involves doing a lot more background research into the further mathematical details of Field Oriented Control theory. I also contributed to writing the abstract, introduction, architecture/principle of operation, and the project management sections of the report. I spent some time looking into tabletop motor dynos, which looks like it might be possible if we find two motors and bind their output shafts…

Read More Read More