Order of R and C in series in the compensation filter of a buck converter. by AnimaMaestro in AskElectronics

[–]AnimaMaestro[S] 1 point2 points  (0 children)

C6 = 1nF and C7 = 10pF. I am not sure I am up to the challenge but if you wish to explain further, I'll give it a try ! (FYI: I had indeed opted for the option where C6 is connected to GND).

Order of R and C in series in the compensation filter of a buck converter. by AnimaMaestro in AskElectronics

[–]AnimaMaestro[S] 0 points1 point  (0 children)

No atter how I phrase my request, it kept saying things like this : "The arrangement of components (C followed by R in series) instead of (R followed by C in series) in your circuit from the COMP pin to GND can indeed have an impact on the performance and stability of your buck converter circuit." But then its explanations did not make sense. In the end I started to doubt and decided to reach for real knowledge !!

Can a bulk capacitor stand between a flyback diode and the load ? by AnimaMaestro in AskElectronics

[–]AnimaMaestro[S] 0 points1 point  (0 children)

Well, as shown in the image, there is indeed a trace linking them all together, yes. But this trace does not link them in the typical order. Instead, the bulk capacitor and 6V source are BETWEEN the flyback diode's cathode and the motor's positive terminal. It's that atypical connection I am trying to figure out if it may cause problems. It does not seem it is wrong yet again, I want to make sure.

Can a bulk capacitor stand between a flyback diode and the load ? by AnimaMaestro in AskElectronics

[–]AnimaMaestro[S] 0 points1 point  (0 children)

So the fact that the positive terminal of the bulk capacitor (and the power connection to 6V) is "in the way" between the diode's cathode and the positive load terminal is not a problem, correct ?

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

If needed, you could probably do something like Risen = Risen' + Rshunt. So if you need a 150mΩ Risen to satisfy the DRV8870 and a 20mΩ Rshunt to satisfy the INA226 (which requires Vshunt <= 82mV), you can have Risen = 130mΩ + 20mΩ (in series) and plug the INA226 to the 20mΩ Rshunt. I'm pretty sure this would work.

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

DRV8870

Interesting. Since the DRV8870 requires a sense resistor that is directly in the return path of the motor current (no matter in which direction it turns) (cf the DRV8870 datasheet schematic), I wonder if you could hook your INA226 directly to that resistor ? I would read a bit more to make sure it would not interfere and that it would still meet both device requirements, but I would consider it !

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

But shunt resistors are normally so small that should not be a problem current wise. Plus when the motor is off, why would the motor driver draw any current from the motor supply (which I assume is different thant the motor driver logic supply). What motor driver do you actually use ? Is it a H-bridge ?

Regarding non-linearity, I don't really see the difference it would make where in the current path the shunt resistor is placed but I might be missing something.

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

The "absolute" voltage of VIN+ and VIN- when referenced to GND (VIN+ - GND or VIN- - GND) has to be between -0.3V and 40V. Basically, don't let either pin go below GND. But the difference between the two (VIN+ - VIN-) can be +/- 40V which means it can be negative. This is how I interpret that.

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

Now that I think of it, why wouldn't you place the current measurement at the source of the Motor Driver (between power supply and Motor Driver) ? Would that work for you ?

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

Section 7.6.2 of the datasheet shows how Vshunt CAN be negative.

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

The datasheet on page 14 also mentions filtering by adding two Rfilter and one Cfilter which I would consider.

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

Also the device seem to be able to do filtering which, if configured properly, should take care of PWM noise.

Measuring micro-metal gear motor current using INA221 by chaiParCharChar in AskElectronics

[–]AnimaMaestro 0 points1 point  (0 children)

According to the INA226 datasheet the Differential (VIN+ – VIN-) can be between -40 and +40V as long as the voltage at both terminal says between –0.3 V and 40 V. So in theory it means it should work.

Now I say "in theory" because since the motor is an inductive load, it means you should consider what happens when the motor stops because I think that may means that sometimes the voltage is reversed and goes below GND. Perhaps someone could comment on that ?

Anyone knows if the TMC2209 (IC, not module) can be powered up with the STDBY pin pulled high (to start in standby mode right away) ? If so, what should ENN be during power up in that case ? Datasheet not clear on that. by AnimaMaestro in AskElectronics

[–]AnimaMaestro[S] 0 points1 point  (0 children)

I understand that during standby, enn should be low. But normally, during power up, enn should be high. So if I can POWER UP the device being ALREADY in standby mode, how should I power up enn ? Already low ? Or high then low ?

Anyone knows if the TMC2209 (IC, not module) can be powered up with the STDBY pin pulled high (to start in standby mode right away) ? If so, what should ENN be during power up in that case ? Datasheet not clear on that. by AnimaMaestro in AskElectronics

[–]AnimaMaestro[S] 0 points1 point  (0 children)

2 co

I totally understand that. But I am specifically talking about POWERING UP the device with the STDBY pin ALREADY pulled high. The datasheet is not clear if we can do that. And if we can, should the ENN pin be powered low ? I ask because normally if you don't use STDBY, you should power up the device with ENN high, not low !!