- Feb 17, 2021
-
-
13035516 authored
no linear control method will work because the pwm input to current output is non-linear (sigmoid). Tapers off towards max current output. Matched sigmoid using python scipy.optimize.curve_fit and measured everything across input5. Also added a low-pass filter in case that comes in handy for current measurement. Changed the frequency output from 7.81kHz to 31.4kHz with a change in resolution from 1023 to 255. But 255 gives a resolution of around 1.41deg per unit and 9.8mA / unit so it's really not that bad
-
- Feb 11, 2021
-
-
13035516 authored
-
- Feb 06, 2021
-
-
13035516 authored
-
- Feb 05, 2021
-
-
13035516 authored
-
- Feb 04, 2021
-
-
13035516 authored
regular comms is more robust now and works relatively well. 300ms delay until next command can be input
-
13035516 authored
-
13035516 authored
-
13035516 authored
-
13035516 authored
revert and merged to most clean version. now to work on the comms. I think the issue is not sending out the len-1 byte with the data
-
- Feb 03, 2021
- Feb 02, 2021
- Feb 01, 2021
-
-
13035516 authored
-
- Jan 28, 2021
-
-
13035516 authored
-
- Jan 27, 2021
-
-
13035516 authored
-
- Jan 26, 2021
-
-
13035516 authored
-
- Jan 25, 2021
- Jan 22, 2021
-
-
13035516 authored
managed to get the rs232 comms kind of working. logic needs to be cleaned up and the protocol needs to be cleaned up too
-
- Jan 20, 2021
-
-
13035516 authored
-
- Jan 19, 2021
-
-
13035516 authored
-
- Jan 12, 2021
-
-
13035516 authored
-
- Jan 11, 2021
-
-
13035516 authored
-
- Dec 24, 2020
-
-
13035516 authored
-
- Dec 17, 2020
-
-
13035516 authored
after adding the capacitor 1uF between Vmot_out and GND, the original control equation worked better. also fixed impedance control math errors
-
- Dec 16, 2020
-
-
13035516 authored
moving away from admittance and going to impedance control. added pid, discrete control design and open loop ramp rate. Eliminated a lot of dev fluff
-
- Dec 11, 2020
- Nov 20, 2020
-
-
13035516 authored
created a control and admittance discrete transfer function with coefficients designed for a rise time of 0.6s
-
- Nov 06, 2020
-
-
13035516 authored
-
- Oct 31, 2020
-
-
13035516 authored
Added a number of new classes and changes. The pwm for pins 11 and 12 have a 10-bit res option with no prescale divider for the clock. The config file contains the plant transfer functions. Implemented the feedforward plant driver along with the PD controller and plant with switching modes between current measuring and motor driving.
-
- Oct 27, 2020
-
-
13035516 authored
-
- Oct 25, 2020
-
-
13035516 authored
added i2c and averaging for the current sensor. attempted to work the stepper motor but the driver fried. Broke likely due to regular connection and disconnection of the motor while still powered on.
-
- Oct 21, 2020
-
-
13035516 authored
Added i2c for current sense (note only works if wired via power supply, accelerometer to angle conversions implemented. For motor, measure via the y axis, minor reconfiguring of libraries. Note that PING is used elsewhere in other libraries. Might be better to call it 'COMPING' or 'SERPING'
-
- Oct 06, 2020
-
-
rchia16 authored
-
- Sep 24, 2020
- Sep 03, 2020