voltage controlled voltage source..
You want to set a certain gain and also a min and a max. How? You can't - not with those parameters. But, you can do it like this :
table=( min min, {min/gain} min, {max/gain} max, max, max)
You get the idea.. you're doing the PWL thing..
Where would you put this? In the Value field that you get with a right-click on the E component..
Hard-to-find tips on otherwise easy-to-do tasks involving everyday technology, with some advanced insight on history and culture thrown in. Brought to you by a master dabbler. T-S T-S's mission is to boost your competitiveness with every visit. This blog is committed to the elimination of the rat from the tree of evolution and the crust of the earth.
Saturday, February 28, 2015
Monday, February 23, 2015
The Easiest Productivity and Mental Focus Hack
First read (heard about) this in Julie Morgenstern's "Making Work Work" about 8 years ago..
Been about a couple weeks since I decided to turn off data on my phone and only check email twice a day.
More stuff : http://www.quora.com/What-are-the-best-day-to-day-time-saving-hacks
Been about a couple weeks since I decided to turn off data on my phone and only check email twice a day.
More stuff : http://www.quora.com/What-are-the-best-day-to-day-time-saving-hacks
Flashing Blue and Yellow Shield on Windows Taskbar
Can't go to other programs, can't do anything..
What to do?
CTRL-ALT-DEL gives you a menu, now pick Start Task Manager.
Once TM starts, you'll see, under applications, which one this is - select that and then click on Switch To.
Now you can interact with it.
http://www.askmefast.com/What_does_a_flashing__blue_and_yellow_shield_mean_on_my_lower_taskbar_which_stops_me_going_any_further_with_using_my_computer-qna1580513.html
What to do?
CTRL-ALT-DEL gives you a menu, now pick Start Task Manager.
Once TM starts, you'll see, under applications, which one this is - select that and then click on Switch To.
Now you can interact with it.
http://www.askmefast.com/What_does_a_flashing__blue_and_yellow_shield_mean_on_my_lower_taskbar_which_stops_me_going_any_further_with_using_my_computer-qna1580513.html
Cynthia Says Yes, Now BLE is All I Can Think Of
Some say BLE is getting big. I say I want to get into BLE.
Now's my big chance..
http://www.scribd.com/doc/100590575/Bluetooth-Tutorial#scribd
http://makezine.com/psoc-maker-challenge/
http://www.cypress.com/?app=forum&id=5283&rID=106119
Man! These guys have a 1.25 mV accurate reference in an advanced CMOS process!
Now's my big chance..
http://www.scribd.com/doc/100590575/Bluetooth-Tutorial#scribd
http://makezine.com/psoc-maker-challenge/
http://www.cypress.com/?app=forum&id=5283&rID=106119
Man! These guys have a 1.25 mV accurate reference in an advanced CMOS process!
Sunday, February 22, 2015
Reps Reps Reps : Slope Compensation
My recommended weekly list of do it yourself reps (for power electronics guys) is :
Apply the Extra Element Theorem (EET, Middlebrook) to a real circuit
Derive the expression for the Right Half Plane Zero in a Boost regulator
Derive the expression for required linear slope compensation in a generic regulator (m1, m2, m)
Derive the equations for operation of a flyback converter
Derive the equations for operation of a forward converter
This is all about fitness - keeping your confidence level high and being confident enough with the algebraic jugglery that you can try out new what-if scenarios without getting paralyzed by the analysis.
Looking back over my professional life, I can see that, despite my memory, I haven't had much success or confidence in building systems or sub-systems of any significant depth. I think one problem is a lack of chunks. Sure, I remember facts, but the how to build isn't there.. Why? I think I failed to generate chunks by failing to spend sufficient time with a particular system and due to the poor quality of my sleep, especially in the early days of my career. As I've said often, energy and the ability to concentrate are the keys to the quality of like. Time management follows naturally.
Anyways, enough ranting - I want to give you a chunk, but how..
How can you always pull out the formula for the gain of the perturbation in duty-cycle out of thin air, like I gave you one for EET? We need a mnemonic..
Here's what's happening. You start with inductor current at I, with no perturbations, it ends up at I after going up with a slope of m1, then down with a slope of m2 after peaking at Ip. This is the same with or without slope compensation. In that ideal case, the duty cycle is D. And, you'll agree m1*D = m2*D' (where D' = 1 - D).
Real case, you had a perturbation that changed the Ip to Ip + delta_I. That also changed D to D1 (D + d).
In the next cycle, D2 is D - d2 and you want an expression for d2.
I2 = I + m1*D1*Ts - m2*D1'*Ts -- has to be true - nothing to do with Ip changing because all that's captured in D1
Now write an expression for D1 in terms of I, Ip + delta_I and the m's. Juggle it to get Ip + delta_I on the LHS. (Starting value = I, ending value = Ip + delta_I, slope is m1 + m - coz, when you implement the peak-current mode thing, the slope-comp is part of it)
Do the same for D2.
No eliminate I2, I, Ip and delta_I by keeping Ip + delta_I together - maybe just call it Ip2 and use m1*D = m2*D'
Sound easy, but how to create a mnemonic?
When you start off writing the equations, these are the LHS's to begin with :
m1*D = m2*D'
I2
D1
D2
So, if you can think of a better mnemonic, let me know..
Sherlock : A process of elimination will lead you to the jackpot and you'll strick Gold - as if you had the M1Das touch. Get it? Then, "I also did two" - I2D1D2" - " I too did two". Too lame? :)
Apply the Extra Element Theorem (EET, Middlebrook) to a real circuit
Derive the expression for the Right Half Plane Zero in a Boost regulator
Derive the expression for required linear slope compensation in a generic regulator (m1, m2, m)
Derive the equations for operation of a flyback converter
Derive the equations for operation of a forward converter
This is all about fitness - keeping your confidence level high and being confident enough with the algebraic jugglery that you can try out new what-if scenarios without getting paralyzed by the analysis.
Looking back over my professional life, I can see that, despite my memory, I haven't had much success or confidence in building systems or sub-systems of any significant depth. I think one problem is a lack of chunks. Sure, I remember facts, but the how to build isn't there.. Why? I think I failed to generate chunks by failing to spend sufficient time with a particular system and due to the poor quality of my sleep, especially in the early days of my career. As I've said often, energy and the ability to concentrate are the keys to the quality of like. Time management follows naturally.
Anyways, enough ranting - I want to give you a chunk, but how..
How can you always pull out the formula for the gain of the perturbation in duty-cycle out of thin air, like I gave you one for EET? We need a mnemonic..
Here's what's happening. You start with inductor current at I, with no perturbations, it ends up at I after going up with a slope of m1, then down with a slope of m2 after peaking at Ip. This is the same with or without slope compensation. In that ideal case, the duty cycle is D. And, you'll agree m1*D = m2*D' (where D' = 1 - D).
Real case, you had a perturbation that changed the Ip to Ip + delta_I. That also changed D to D1 (D + d).
In the next cycle, D2 is D - d2 and you want an expression for d2.
I2 = I + m1*D1*Ts - m2*D1'*Ts -- has to be true - nothing to do with Ip changing because all that's captured in D1
Now write an expression for D1 in terms of I, Ip + delta_I and the m's. Juggle it to get Ip + delta_I on the LHS. (Starting value = I, ending value = Ip + delta_I, slope is m1 + m - coz, when you implement the peak-current mode thing, the slope-comp is part of it)
Do the same for D2.
No eliminate I2, I, Ip and delta_I by keeping Ip + delta_I together - maybe just call it Ip2 and use m1*D = m2*D'
Sound easy, but how to create a mnemonic?
When you start off writing the equations, these are the LHS's to begin with :
m1*D = m2*D'
I2
D1
D2
So, if you can think of a better mnemonic, let me know..
Sherlock : A process of elimination will lead you to the jackpot and you'll strick Gold - as if you had the M1Das touch. Get it? Then, "I also did two" - I2D1D2" - " I too did two". Too lame? :)
Iron Condors 101 : Don't Give Them Your Email
http://www.wyattresearch.com/video/iron-condors-101/
When you search for "making income through covered calls" and get to Wyatt Research Andrew Crowder and Ian Wyatt..
When you search for "making income through covered calls" and get to Wyatt Research Andrew Crowder and Ian Wyatt..
Saturday, February 21, 2015
What is Test?
Testing of ICs in mass production is a screen between the factory and the customer.
It uses acceptable overhead (throwing away good units) to deliver an acceptable defect level (bad shipments, usually customers want 0 dppm, but for consumer electronics, 300 dppm used to be acceptable) at the customer end.
A good test implementation will use a tester of reasonable cost (whose resources are limited) to achieve the required yield with an acceptable test time.
The challenge for the test engineer is to design the test hardware (cost not critical because very few units are produced - max of about 30) to provide parametrics with required accuracy, with electrical and mechanical robustness and a test program that achieves the yield goals with acceptable cost.
It uses acceptable overhead (throwing away good units) to deliver an acceptable defect level (bad shipments, usually customers want 0 dppm, but for consumer electronics, 300 dppm used to be acceptable) at the customer end.
A good test implementation will use a tester of reasonable cost (whose resources are limited) to achieve the required yield with an acceptable test time.
The challenge for the test engineer is to design the test hardware (cost not critical because very few units are produced - max of about 30) to provide parametrics with required accuracy, with electrical and mechanical robustness and a test program that achieves the yield goals with acceptable cost.
Thursday, February 19, 2015
Changing Digital Cell Macro Parameters in LTspice
How to Change Logic Levels in LTspice
https://groups.yahoo.com/neo/groups/LTspice/conversations/topics/38474
http://www.electronicspoint.com/threads/how-to-change-logic-levels-in-ltspice.119681/
Documented in the builtin help under Special functions..
Vhigh, Vlow, Trise, Tfall, Ref (default 0.5*(Vhigh + Vlow) ) Td (delay) and a few more..
Now, wouldn't it be nice to see what parameters diffschmitt has?
So, despite appearances, the diffschmitt isn't really a comparator - that is, when you specify Vhigh and Vlow, don't expect the output to go HI when V(in+ , in-) > 0. That's right - V(in+, in-) needs to exceed Ref - yuck, I know.. So, to get a comparator function out of this one, you need to specify Ref = 0.
https://groups.yahoo.com/neo/groups/LTspice/conversations/topics/38474
http://www.electronicspoint.com/threads/how-to-change-logic-levels-in-ltspice.119681/
Documented in the builtin help under Special functions..
Vhigh, Vlow, Trise, Tfall, Ref (default 0.5*(Vhigh + Vlow) ) Td (delay) and a few more..
Now, wouldn't it be nice to see what parameters diffschmitt has?
So, despite appearances, the diffschmitt isn't really a comparator - that is, when you specify Vhigh and Vlow, don't expect the output to go HI when V(in+ , in-) > 0. That's right - V(in+, in-) needs to exceed Ref - yuck, I know.. So, to get a comparator function out of this one, you need to specify Ref = 0.
Wednesday, February 18, 2015
Open Source Digital Circuit Synthesis : Yosys
Okay, if you haven't completely made the switch to linux, you're in for some hassles, but, you should be able to get through the counter example with what you get here..
If all you want is to code simple state machines in verilog and get the circuit that you can then hand-enter into a schematic capture tool like LTspice, you're all set. Same applies to truth-tables, etc..
If all you want is to code simple state machines in verilog and get the circuit that you can then hand-enter into a schematic capture tool like LTspice, you're all set. Same applies to truth-tables, etc..
- I don't see a build for cygwin. Good news is, once you install on Windows, you can call that executable from cygwin. So, install from here..
- Install graphviz on cygwin - i.e., run the setup app, and, in the search box, put in graphviz and select the resulting matches to install and let it also install the dependencies. This one should be very quick.
- Run yosys in the directory that you have the counter.ys in as (maybe) $ /cygdrive/c/Tools/yosys-win32-mxebin-0.5/yosys.exe . When downloading from github, you go to "raw" for each file and then Save As - unless you know a smarter way - in which case, please tell me :)
- That's it! You can open up the pdf files to look at them..
Tuesday, February 17, 2015
Clifford Wolf > Jack Kilby
If Jack Kilby hadn't demonstrated the first IC, someone else would have. If Clifford Wolf hadn't put synthesis within the reach of the ordinary man, who knows who would have?
Used by https://www.efabless.com/
Used by https://www.efabless.com/
Subscribe to:
Posts (Atom)