If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Induction Balance Stuff - Single/Multi Frequency Response, GB, Disc, Measurements, Ideas, Fun, etc.
finally, the AI says,
that implementing the metal detecting software in Android systems with exclusive access to the external USB sound card won't work very very likely on the budget consumer android tablets ( < 150 EUR). These tablets didn't implement the MMAP (Memory Mapping / NOIRQ-Mode). This is optional for vendors to implement/support it. Why should do they?
The AAUDIO_SHARING_MODE_EXCLUSIVE mode will fail and I would get the AAUDIO_SHARING_MODE_SHARED mode instead. The AudioFlinger will not allow the features I need.
I didn't find a solution to overcome these issues yet. No, I'm not going to implement my own UAC2 driver (would solve all the issues however).
pity, the low budget consumer android tablets won't support the features I really need. Not yet.
I would require Android version 14+.
And Oboe-C++-wrapper API isn't required at all as there is a native AAudio API.
But the OboeTester App can show me, whether an android tablet with the connected USB sound card supports the features I need.
I don't think, that many vendors have enabled the features I need in the OS.
Only premium budget android tablets will have it enabled, maybe. This is not sure. And may be even restricted to few features only.
No, I'm not going to do the job of the vendors: Writing my own USB Audio Driver (UAC2).
Anyway, I have to buy a modern low budget consumer android tablet to see it with OboeTester App.
Android is a bunch of quirk development. Every new version brings new quirks. Quirkdroid!
It seems, that Android is broken by design.
What the hell is you doing Google?
Bit-perfect mode above Android 14+ is supported in theory but it is optional for the vendors to implement it.
You can bet, that no one is going to support it.
Only expensive Google Tablets support the Hi-res Audio, which is bypassing the system mixer.
Mixer no good.
Direct mode to HAL-layer is required.
there are some interesting & cheap Android tablets available.
The most cheap variants are the kids tablets with reduced horse power (2 GB RAM, 4 core). They are even quite small size: 6 to 7 inch.
What I need is at least:
- Android version 14+
- free USB-C port (USB 2.0 minimum)
- Wi-fi debugging feature (USB port must be free for the external USB sound card connection)
- 24 bit / 96/192 kHz support under Oboe-API
- support for running the App with switched off display (saving battery power)
The App does not really require too much processing power.
In the X-mas time, these toys get even cheaper.
Aziz
I have deciced to buy a cheap Android Tablet. Android Version 14+ is required according to my AI prompt and requirement analysis.
Minimum 4 MB physical RAM, 4 or 8 core ARM Cortex CPU tablet.
Just to play with Android Apps. Using the Wi-fi debugging feature (Wireless Debugging).
Using Oboe API.
I have been very very lazy recently.
I didn't fire up my soldering iron.
I didn't finish the ultra f%kn ultra-low-noise amplifier.
I didn't order even new parts.
I have to make an inventory of my parts yet.
There are some missing parts in my parts box.
And I am thinking of to pi$$ off to Microsoft and Intel.
I am thinking of making Android Apps on cheap Android Tablets.
Enough is enough.
Aziz
I have seen, that the op-amp OPA1612 can be operated down to 4.5 V supply voltage (single). I am going to use it as it gives very very good performance.
So the amplifier will be optimized for 4.5 V - 6 V supply voltage. It will draw less power too.
Unfortunately, op-amp has 2 V common mode input voltage limit to the power rails (like the NE5532) but it has a rail-to-rail output. The whole transistor stage operating point will be so set, that the common mode input voltage is around mid-level of the supply voltage.
I will add a 9 V supply voltage with NE5532 to the simulation files too.
I am not finished yet.
PS: Increasing the input impedance won't work well. We need the frequency compensation feature for stable operation. It will be around 7 kOhm however.
well ok, I will increase the dynamic Rin of the amplifier a bit (10 kOhm min). The frequency compensation feedback capacitor Cf must be reduced or totally eliminated in this case.
The bootstrapping method works then too. But this isn't required I think.
Here is a direct comparison between a Lee-type CB preamp and a traditional opamp preamp:
The two methods are adjusted to have the same overall output swing, indicating an overall gain equality:
The blue is the std preamp and the green is the Lee/CB preamp. The frequency is 10kHz. The Lee has an offset because N4 hasn't fully settled, that takes ~3-4s and I'm not gonna wait that long on the sim. No big deal. Notice the 90° phase difference; that's because the std method (voltage mode) has a -90° shift due to the induction derivative and the Lee method (current mode) does not. If you have ITMD3, it's all explained in Appendix A.
Here is the output noise for each:
At 10kHz the output-referred noise is about the same. Std = 28nV/rtHz and Lee = 23.2nV/rtHz. Equivalent input-referred noise is 1/20th of these numbers, a little over 1nV/rtHz.
The reason the Lee method isn't much better is because the low input impedance forces the coil into current mode, and the function of the CB amp is to first convert the current mode back to voltage mode. This is something you get for free with the voltage mode connection. If you were to strictly consider the voltage gains of the two methods, the Lee amp has ~30X more voltage gain and would seem to be the hands-down winner, but here it's being used as a transimpedance amp, not a voltage amp.
So, yes, it works, and with some tinkering might do a little better. But I agree with you Aziz, it ain't the way to go.
perfect ferrite balance, the first it is a ferrite, the second any metal, the blue it is a Uy, orangre Ux
nice. very nice.
I should look at the ferrite induction balancing. Maybe I can leave the IB-nulling part and drive the TX with differential input (more TX power).
Aziz
I have made a comparison circuit simulation using the data in the recent AI paper.
4 independent configurations with ideal op-amps (Level 1). The low input impedance amplifier is made in inverting ideal op-amp amplifier configuration.
The high input impedance amplifier in standard non-inverting configuration with a load resistance at the input simulating the input impedance.
As the operating frequency of 45 kHz is very high, the reactance of the RX coil dominates heavy. It is acting like a choke in very low input impedance amplifiers.
This is really a revealing evidence.
Look at the spice simulation file in the attachment.
Cheers
Leave a comment: