Category: 30V 20A Motor Driver

Motor Algorithm – Part 3 – Vector Table

As mentioned in part2 I want to create a 360 degree vector table with PWM duties for A,B and C. This allows me to drive sinusoidal by simply stepping 0 to 359. To do this I create a small C application as follows: #include “stdio.h” #include “stdlib.h” #include “math.h” int main(int argc, char* argv) { FILE* fd = fopen(“vectors.cpp”, “w”); if (fd != NULL) { fprintf(fd, “alSinusVector _vector[AL3P_VECTOR_SIZE]=\n”); fprintf(fd, “{\n”); for (int i = 0; i < 360; i++) {…

Read the full article

BasicPI Firmware Stack

This illustrates the BasicPI Firmware Stack in progress. What I always do in embedded applications is to make a “standard” main.cpp as follows: void AppInit() {    // wire hardware } int main() {    AppInit();    // start OS } A team I worked in years ago agreed on this standard so we should…

Read the full article

30V 20A++ Driver

This is the backside of the 30V x 20A Motor Driver and the red lines are the main power paths. The lower left one is the + path, while the top, angeled is GND. The later will be merged into ground plane so it get a bit extra help. But, these are the paths I…

Read the full article

New 30V/20A Motor Driver

The first draft of rev 1.1 of 30V 20A Motor Driver. The differences are that I replaced the DC/DC with a 78M12 (linear regulator) for simplicity and cost, replaced INA210 with INA193/INA194/INA195, added 2 temperature sensor on-board and replaced connectors with te smaller JST Micro connectors. I also combined 3 connectors to one. I also…

Read the full article