Timeline for Analog track parallel to PWM: crosstalk issues?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 31, 2022 at 21:21 | comment | added | bobflux | Alright! I hope it'll work great! | |
| Jan 31, 2022 at 18:16 | comment | added | Sandro | Yes, If I go that way, it's definitively worse trying the synchronisation first (programming it on all H bridges, even if connecting only one at a time. On the prototype, I have DRV8870 instead of the 8801, so I don't have the VPROPI pin, but I has using a 2.5 bigger sense resistor, so I can work directly with that | |
| Jan 31, 2022 at 15:49 | comment | added | bobflux | Because if you use ADC synchronization with PWM, I think it would be best to test the code before you build the board... you never know, in case you misread something in the datasheet and the timer you wanted to use can't be used for that, or something. | |
| Jan 31, 2022 at 14:18 | comment | added | Sandro | Yes, why? For know, the prototype is based on 8 atmega328P, but it's quite time consuming to update the code on all 8, and I've got problems with I2C (to long wires catcing up noise, and the arduino I2C library hanging if the protocol is not perfectly respected). It is possible to remove one atmega328P in order to wire in a STM32 evaluation board (I have one with STM32F722ZE, which is nearly identical to the STM32F7223ZE I'm going to use). | |
| Jan 29, 2022 at 23:10 | comment | added | bobflux | Have you built a prototype? | |
| Jan 29, 2022 at 17:31 | comment | added | Sandro | For the synchronisation, I will have to check if I can synchronize that many timers (I have the PWMs connected to 6 different timers, but I have only 3 ADCs). Otherwise, I could group the 8 motors that need torque control on 2 timers (synchronized with 2 ADC), and keep with my filter for the other 8, for which all I care is detecting stalling | |
| Jan 29, 2022 at 17:30 | comment | added | Sandro | Thanks a lot. I will need quite some sensing to understand all of it, but it seems an interesting idea to do synchronized sampling. For the H bridge, I have to use a sigle PWM per motor, because I have 16 motors and don't have enough PWM outputs to give 2 per motor (excepted if doing soft PWM). | |
| Jan 29, 2022 at 14:55 | history | answered | bobflux | CC BY-SA 4.0 |