- 17 Feb, 2021 1 commit
-
-
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
-
- 11 Feb, 2021 1 commit
-
-
13035516 authored
-
- 06 Feb, 2021 1 commit
-
-
13035516 authored
-
- 05 Feb, 2021 1 commit
-
-
13035516 authored
-
- 04 Feb, 2021 5 commits
-
-
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
-
- 03 Feb, 2021 2 commits
- 02 Feb, 2021 2 commits
- 01 Feb, 2021 1 commit
-
-
13035516 authored
-
- 28 Jan, 2021 1 commit
-
-
13035516 authored
-
- 27 Jan, 2021 1 commit
-
-
13035516 authored
-
- 26 Jan, 2021 1 commit
-
-
13035516 authored
-
- 25 Jan, 2021 2 commits
- 22 Jan, 2021 1 commit
-
-
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
-
- 20 Jan, 2021 1 commit
-
-
13035516 authored
-
- 19 Jan, 2021 1 commit
-
-
13035516 authored
-
- 12 Jan, 2021 1 commit
-
-
13035516 authored
-
- 11 Jan, 2021 1 commit
-
-
13035516 authored
-
- 24 Dec, 2020 1 commit
-
-
13035516 authored
-
- 17 Dec, 2020 1 commit
-
-
13035516 authored
after adding the capacitor 1uF between Vmot_out and GND, the original control equation worked better. also fixed impedance control math errors
-
- 16 Dec, 2020 1 commit
-
-
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
-
- 11 Dec, 2020 2 commits
- 20 Nov, 2020 1 commit
-
-
13035516 authored
created a control and admittance discrete transfer function with coefficients designed for a rise time of 0.6s
-
- 06 Nov, 2020 1 commit
-
-
13035516 authored
-
- 31 Oct, 2020 1 commit
-
-
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.
-
- 27 Oct, 2020 1 commit
-
-
13035516 authored
-
- 25 Oct, 2020 1 commit
-
-
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.
-
- 21 Oct, 2020 1 commit
-
-
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'
-
- 06 Oct, 2020 1 commit
-
-
rchia16 authored
-
- 24 Sep, 2020 2 commits
- 03 Sep, 2020 2 commits