sinara-hw / Stabilizer

2-channel microcontroller servo with EEM and Ethernet based on STM32 CPU
Other
21 stars 5 forks source link

copy fastino filter design #45

Closed hartytp closed 5 years ago

hartytp commented 5 years ago

Since this is ready in time after all, any objections to porting Stabilizer to it? Lower cost, lower power consumption, lower noise. More component reuse between designs.

dnadlinger commented 5 years ago

The (simulated) transient response is currently considerably faster-settling on Stabilizer – there is probably some room for optimisation by fudging component values, though:

Screenshot 2019-09-07 at 9 16 17 PM

(This is not an objection.)

hartytp commented 5 years ago

Are you happy with this as your optimized filter design?

hartytp commented 5 years ago

The DAC settling time is 1us, so this isn't much slower than that. I'm happy with that settling time for Stabilizer personally.

hartytp commented 5 years ago

(at least, I think the benefits of the new filter design outweigh the downside of a slightly slower response)

gkasprow commented 5 years ago

@hartytp do we want to change the reference for Stabilizer DAC as well? We would need to add dedicated 5V one or switch ADC to 5V. It's a bit of extra work.

gkasprow commented 5 years ago

We can simply replace DAC resistances with external SOT-23 matched resistor to limit the noise and leave the rest as it is now.

hartytp commented 5 years ago

Yes I’d forgotten about the different reference. In that case I’d say the current afe is fine for stabilizer even if it’s not optimal. Let’s leave as is