Monday, February 09, 2015

Use Doxygen

A coder today suggested people learn to use Doxygen because it told him things about his code that he did not know.

Nice.

Good job there by Dimitri van Heesch aus die Niederlanden.

Sunday, February 08, 2015

Rohde Recommends : The ARRL Handbook for the Radio Amateur

Says the chapter on oscillators is a good one...

Here's a treasure trove : http://72.29.85.210/~radioama/old_books/

yoga.org.nz download page

http://yoga.org.nz/yoga_vidoes_download1.htm

Wonder why this has to be so hard. Just make the YoutTube thing downloadable.. Hmph

Anyways, you got the 56 MB file and now (it's actually not that big, but..) you want to put just the audio on your phone because you've seen the poses so many times, all you need is the timing.

There's the rub. Sure, with all the stuff they already have in XP, M$ should be able to give you a free audio ripper on Win7, but, of course, they won't.

So, google it is - and a minefield it is - no clear answer. Looks like Freemake is the winner :

http://answers.microsoft.com/en-us/windows/forum/windows_7-pictures/extract-audio-from-a-wmv-file-to-wav-or-aiff/f123e7c8-7f6a-48a2-8340-ca066691bc4b

True - be very careful during the install - you CANNOT (SHOULD NOT) proceed with the Express (recommended) config which will mess up your internet browsers by installing Add Ons - duh, how else is Ellora Assets Corp to survive other than by getting cash from 3rd parties on a per-install basis?

1) Custom installation, both boxes unchecked... next
2) DO NOT install Wajam (I do not accept)
3) DO NOT install Safer Browser (I do not accept)

And, worked - I think - but the audio quality at the end of the day seems a bit disappointing - could be perception.. hmmm, the more I think of it - a lot of cut outs... yuck. But, good enough. Worth my $1 donation..

Then, opens in Audacity - and huge disappointment - can't save as a freaking mp3 and, save as WAV, the 17 MB is now 62 MB!!! WT*!! To save mp3 it needs something called Lame. How lame!

Jeez! Freeware!! Why can't they do it right? Can't they see how big the file was that they started with? It's exporting 128 kbps! Another pain in the * trying to search for how to knock the sample rate down. *ds..

File > Export Audio > Options (Instead of Save) - and then, if you try 16 kbps, it tells you that that's not compatible with a project sample rate of 44 ksps. Ha ha :)

Saturday, February 07, 2015

Concept to Product in Months : I've Wasted My Life :)

Teja Philipp and Philipp Engel :

http://media.ccc.de/browse/congress/2014/31c3_-_6589_-_en_-_saal_6_-_201412281730_-_mr_beam_goes_kickstarter_-_teja_philipp_-_philipp_engel.html#video

Looks like knowing software is a big deal - just knowing the problem decomposition is a big deal...
Super job! I'm an IC designer and I don't feel like an engineer. These 2 guys are code-junkies and they built this with their hands!
How did they go to manufacturing?
You see these guys and you think - ya, it's possible for white guys to be as skinny as Indians.
They ordered $7k worth of stepper motors through Alibaba.
4 prototypes for the PCB.. (Arduino shield)
4 3D printers spent 4 months 3D printing the parts! WT*? Man, these guys are unstoppable!
Looks like they got skinny from the workout they got from crimping cables and drilling wood..
260 kits total to be delivered.. Too much work involved in vetting suppliers on Alibaba who promise stuff they can't deliver..
350 backers, but they had to trade emails with about 1600 people!

Bunnie Sums Up the Chinese Threat

https://www.youtube.com/watch?v=msrTR3hNDQM
(Talking about Fernvale)
Slides : http://www.bunniefoo.com/fernvale/fernvale-31c3.pdf
Other 31C3 talks from 2014 : http://media.ccc.de/browse/congress/2014/

Friday, February 06, 2015

Middlebrook's EET (Extra Element Theorem) Without Tears

Short and sweet.
Want a mnemonic? "The Prisoner of Zenda" - n before d basically. How about whether it's Z_n/Z or Z/Z_n? Just think what you need to get when you put Z = infinity and you're done.. Easy? See... (BTW, I strongly suspected Middlebrook had an English streak to him..) In his words :
  • What's Z_d : It's the driving point impedance looking into the port where you're going to connect Z, with the input port shorted.
  • What's Z_n : It's the impedance looking into the the port where you're going to connect Z, with the output port nulled for any value of the input. No matter what the input port voltage is, the output port voltage is 0 - which is not the same as shorting it to ground.
What about an input impedance? In that case, you might be pulling your hair out for Zn. If you trust the pros (Dr. V) just calculate the Z looking in with the test (port where Zin is determined) port open and you're done.. For a Zin function, the input and output ports are the same. What's the logic though? 

Thursday, February 05, 2015

State-Diagram of the O-S FAN4860


LTspice Help : Viewing Internal SubCircuit (Subckt) Voltages

kudos : http://www.edaboard.com/thread209216.html

Tools > Control Panel > Save Defaults and check "Save Subcircuit Node Voltages"

Giving ViaDesigner a Try

Had seen a request from Triad a year ago asking for people to evaluate them. Never heard back..

Now, the stuff is available as a free download on Cnet. What gives?

The claim is, if you use their Via-Configurable-Array (VCA), you get your IC Design done faster, safer, simpler and less expensively.

It's an 800 MB download by the way..

Who did they partner with to integrate SPICE you wonder? BTW, heard that Chris Collins managed to grind TIspice to the ground. How did he do so well I asked. Answer : He's very good at managing up. They got a great deal from Cadence apparently - unlimited licenses or something - and the integration with AMS is better, so win-win.

Verdict on installation : Yuck, yuck, yuck! They don't warn you the MG's SystemVision will be installed. And when MG asks you for a license key, what the * are you supposed to do?

Then, you try to run : Super-yuck!

Unable to instantiate DPROJMANLib.ProjectManager COM object. Ensure dprojman.dll is registered.

*ds! What the hell is Reid Wender trying to prove?

Getting Serious about the FAN4860

When it comes to performance of a boost, what do you target?
IQQ - no load input current - as low as possible.
Vout : Accuracy of the output voltage - as good as possible. They're good on the high side, but bad on the low side (Eg. 4.85 - 5.05 - 5.15). What gives - obviously it's something to do with the load-regulation not being corrected.
Vout-ripple : Ripple in the output - as low as possible. Looks like they're about 2 mV p2p with 5 mA and about 10 mV p2p with 200 mA. What giveth?
f_sw : Tolerance of switching frequency - as good as possible - not really an issue if you use a fixed-frequency architecture, but a huge issue otherwise.. They're saying they use a min-TON and computed TOFF. Really? Hence no plots of frequency as a function of load or other things.. Hmm.. What if the customer always wants f_sw to be above a certain value so he doesn't have to worry about interference.
They say the current-source soft-start mode LIN1 is exited for LIN2 mode if Vout is less then VIN-1V after 16 clock counts from start of LIN1. Really? How about telling us what clock this might be?

Cool part - when you design, you have to think about how you're going to test everything with such reduced pin-cout. What can you do with the VOUT pin, the EN pin?
What bells and whistles can you add for the customer? FCS talks about fault detection during startup - but how do they signal the faults? One thing that comes to mind is a simple pull-down current source on the EN pin - 1 uA for one thing, 5 uA for another, etc..

The functional description has just enough detail to leave you tantalizingly unsure what they mean. From reading the PFM Mode section, you get that ON time is when the Low-Side (LSD) switch is ON. (Coz that's how you do a skip-mode - get IL large and let it dump into the Vout so your switching frequency is really low). Of course, this opens up the question of how they ensure the customer can override the skip-mode and force PWM operation. Hmmm.. What do they mean by current-mode modulation?