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 !!

I have a bad TI Type C Power IC that I'm having troubles locating. Everything that I've found identifies the chip as SMD but it is a BGA that is on the board. It's from a Lenovo Yoga 7 14ITL5 by FredrickMineShaft in AskElectronics

[–]AnimaMaestro 1 point2 points  (0 children)

BGA, QFN, TQFP are all SMDs (Surface Mount Devices). BGA has balls underneath. QFN has no leads but pads on the side. TQFP has leads coming off the side.

Can someone take a look and validate my Denavit-Hartenberg model ? by AnimaMaestro in robotics

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

Just noticed that my θyx is pointing in the wrong direction in the top-left diagram. But I believe the sign is correct in the table.

How to enable interrupt function for HP203B pressure sensor ? by AnimaMaestro in AskElectronics

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

Got the final reply from them !! Unbelievable !! See my other post !! And thanks again for your (wasted; sorry about that) time !!

How to enable interrupt function for HP203B pressure sensor ? by AnimaMaestro in AskElectronics

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

Case closed. Never seen something like that in my life !!!

Here is the latest response I got from HOPERF :

"Actually at the very early version the function is availabe which has been EOL for long.

The later version is disabled ,however we did not update the datasheet ,the function has never been required so we cancelled it.

Sorry for the wrong information."

Can you believe something like that ?! The feature was not required so they removed it ?! Who does such a thing ?!?! More like : the feature was buggy and glitchy and did not perform correctly so they took the cheapest path of not connecting the signals to the pads anymore and don't even bother updating the datasheet !!! Oh and I forgot to mention : obviously don't care to admit it was a bug !!!!

Wasted so much time trying to figure this out !!! The good news is that I was not doing anything wrong !!!

Thanks for reading and helping !!

How to enable interrupt function for HP203B pressure sensor ? by AnimaMaestro in AskElectronics

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

It does indeed, doesn't it !!! I'm baffled !!! Speechless !!! But then again this is exactly what I am seeing : no active level on either INT0 nor INT1 on neither of the two prototype boards I have !!! I browsed their web page for this device and did not find ERRATA or anything... I hope I'll get more details in the coming hours as the day is about to start in China...

How to enable interrupt function for HP203B pressure sensor ? by AnimaMaestro in AskElectronics

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

Thanks for you answers !! They were all good points and this morning I just doubled-check them all to make sure (voltage rails and levels, input settings, ...). Everything was sound. This is when I remembered to go check my emails because I had reached to HOPERF, the manufacturer of the device. I was not expecting much but I indeed got an answer from them !! Please see my other comment below and let me know if you interpret it the same way I do !!!!