Author Topic: EEVblog #1285 - How to do Design By Inspection  (Read 4805 times)

0 Members and 1 Guest are viewing this topic.

Online EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
EEVblog #1285 - How to do Design By Inspection
« on: February 15, 2020, 02:17:50 am »
What is "Design by Inspection"
Dave answered what he thought was an obvious forum question, but to beginners it's not so obvious. Rather than build something up and test, let's do design by inspection.

 
The following users thanked this post: SeanB, johnlsenchak, s8548a, beenosam

Offline johnlsenchak

  • Frequent Contributor
  • **
  • !
  • Posts: 399
  • Country: us
  • js@antihotmail.com
    • paypal.me/johnsenchak
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #1 on: February 15, 2020, 03:58:00 am »


This video is like when you use to do  "fundamental  Friday"  which I always  liked.  8) 8) 8) You need to do more  videos like this !
John Senchak "Daytona  Beach  Florida "
 jls (at)  antihotmail.com   http://www.antihotmail.com
https://www.facebook.com/john.senchak.1
 

Offline beenosam

  • Regular Contributor
  • *
  • Posts: 65
  • Country: ca
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #2 on: February 15, 2020, 07:19:09 am »
It's always seeing videos about fundamentals things, especially as a new engineer.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #3 on: February 15, 2020, 11:39:08 am »
I found 'design by inspection' an interesting term and Googled it. It doesn't seem to be a very common term. I did find a thread on a construction engineering forum ( https://www.eng-tips.com/viewthread.cfm?qid=350761 ) and on there they defined 'design by inspection' more like design re-use. For example if you need to calculate beams for a floor construction you can calculate one beam and say the other beams see the same load so if they have the same dimension they are OK. If the floor is loaded un-evenly or has a non-rectangular shape then calculate the worst case beam and from there it is safe to assume the other beams (with the same size) will be able to carry the load.

If you translate that to electronics: if you have tested & verified a sub-circuit (for example a switching DC-DC converter) it is relatively safe to use it in other designs as well for as long as it stays within the test & verification limits. I don't think copying a circuit from a datasheet or application note counts as 'design by inspection'. You'll still need to build & verify the circuit.
« Last Edit: February 15, 2020, 12:05:55 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline Alti

  • Frequent Contributor
  • **
  • Posts: 404
  • Country: 00
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #4 on: February 15, 2020, 06:44:58 pm »
Design by inspection aside, I have some remarks:

"HV regulator versus capacitor with zener solution" and "orders of magnitude less current" and "use vastly less power".

First remark is that for end user it is mostly irrelevant how much mains current a device for domestic purposes draws. This is an interesting problem with minimal practical value.

Second remark is that I think that you forgot to start from underlining a peculiar requirement that narrows down all claimed advantages of your concept (EEVBlog #1284), namely that you are looking for a solution that draws 10uA 99.9% of the time and 15mA 0.1% of the time, 15VDC, IIRC.

Three orders of magnitude  :bullshit:

As for the proposed circuit itself - capacitive dropper comes with inrush current limiter and the HV regulator does not. Why? At startup there is 324V accross input diode.  :-BROKE
 

Offline mcovington

  • Regular Contributor
  • *
  • Posts: 181
  • Country: us
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #5 on: February 16, 2020, 01:13:45 am »
What happens when the alarm sounds and starts drawing 15 mA or so?  The low-Iq linear regulator would then be dropping something like 400 V at 15 mA, which means it would dissipate 6 watts.  Can it do that?  It doesn't have to be efficient then -- these alarms don't spend much time sounding -- but it had better work!

As for the previous poster's question whether this whole thing is relevant, it certaintly is when a country is going to install millions of them, and when there might be hundreds in a single large building.  Factor-of-1000 inefficiencies are not to be sneezed at.
 

Online EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #6 on: February 16, 2020, 12:17:52 pm »
Second remark is that I think that you forgot to start from underlining a peculiar requirement that narrows down all claimed advantages of your concept (EEVBlog #1284), namely that you are looking for a solution that draws 10uA 99.9% of the time and 15mA 0.1% of the time, 15VDC, IIRC.
Three orders of magnitude  :bullshit:

If your smoke alarm is going off for 86 seconds every day I think you'd better lay off smoking the wacky weed.
 

Offline Alti

  • Frequent Contributor
  • **
  • Posts: 404
  • Country: 00
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #7 on: February 16, 2020, 12:42:04 pm »
Second remark is that I think that you forgot to start from underlining a peculiar requirement that narrows down all claimed advantages of your concept (EEVBlog #1284), namely that you are looking for a solution that draws 10uA 99.9% of the time and 15mA 0.1% of the time, 15VDC, IIRC.
Three orders of magnitude  :bullshit:

If your smoke alarm is going off for 86 seconds every day I think you'd better lay off smoking the wacky weed.

Second remark is that I think that you forgot to start from underlining a peculiar requirement that narrows down all claimed advantages of your concept (EEVBlog #1284), namely that you are looking for a solution that draws 10uA 99.9% of the time and 15mA 0.1% of the time, 15VDC, IIRC.
Three orders of magnitude  :bullshit:
I do not know how long the smoke alarm should stay beeping when tripped, this definitely does not happen periodically and definitely not daily. The percentage values given indicate the time relationship in between two varying modes, the core assumption of your concept that you (I presume) forgot to point out.

Anyway, thank you for your remark.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #8 on: February 16, 2020, 01:07:54 pm »
What happens when the alarm sounds and starts drawing 15 mA or so?  The low-Iq linear regulator would then be dropping something like 400 V at 15 mA, which means it would dissipate 6 watts.  Can it do that?  It doesn't have to be efficient then -- these alarms don't spend much time sounding -- but it had better work!
That is a good catch. You can't really use a purely linear regulator for these purposes. But a linear regulator would be a good solution as a post-regulator behind a capacitive dropper.
Quote
As for the previous poster's question whether this whole thing is relevant, it certaintly is when a country is going to install millions of them, and when there might be hundreds in a single large building.  Factor-of-1000 inefficiencies are not to be sneezed at.
But you can say the same about standby energy consumption of mobile phone chargers, TVs, settop boxes, stereos, etc, etc. There is very little equipment nowadays which has a hard power switch.
« Last Edit: February 16, 2020, 01:14:54 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #9 on: February 16, 2020, 01:19:18 pm »
I do not know how long the smoke alarm should stay beeping when tripped, this definitely does not happen periodically and definitely not daily. The percentage values given indicate the time relationship in between two varying modes, the core assumption of your concept that you (I presume) forgot to point out.

I did not forget:
 
The following users thanked this post: thm_w, mcovington

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #10 on: February 16, 2020, 01:39:17 pm »
Dave, I hate to say but you have dug yourself into a bit of a hole here. Take a deep breath and count to 10. The wacky weed remark is totally uncalled for. The basic NCP786A circuit just isn't suitable to power the beeper. Given the thermal performance of the package 'Engineer this right' comes down to using a different solution alltogether. Perhaps this isn't the best example of 'design by inspection' after all.
« Last Edit: February 16, 2020, 01:43:39 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 
The following users thanked this post: ebastler

Offline mcovington

  • Regular Contributor
  • *
  • Posts: 181
  • Country: us
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #11 on: February 16, 2020, 03:25:33 pm »
In fact, regarding the 15-mA question (what to do when the alarm is sounding), I see that the NCP786A can deliver 10 mA and has no strict limit on power dissipation; rather, a thermal shutdown temperature of 145 C.  So with a generous heat sink, it's close to being what we want, and there is surely a similar chip that is a bit bigger and can definitely do it.
 

Offline Alti

  • Frequent Contributor
  • **
  • Posts: 404
  • Country: 00
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #12 on: February 16, 2020, 03:51:10 pm »
(..)First remark is that for end user it is mostly irrelevant how much mains current a device for domestic purposes draws. This is an interesting problem with minimal practical value.

(..)
But you can say the same about standby energy consumption of mobile phone chargers, TVs, settop boxes, stereos, etc, etc. There is very little equipment nowadays which has a hard power switch.

Ok, I'll put some bolds here.
Minimizing a mains current draw of a domestic appliance (like smoke detector) has minimal practical value because it is the active power we are charged for and the network is loaded with mostly inductive loads. Of course it is nice to have a gear that draws several uA and has built-in power factor corrector but from practical point of view, even if it has low PF - this is neither a problem nor a cost that can be worth saving.

As for active power (current*voltage*PF), that is a different story.




 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #13 on: February 16, 2020, 05:20:41 pm »
In fact, regarding the 15-mA question (what to do when the alarm is sounding), I see that the NCP786A can deliver 10 mA and has no strict limit on power dissipation; rather, a thermal shutdown temperature of 145 C.  So with a generous heat sink, it's close to being what we want, and there is surely a similar chip that is a bit bigger and can definitely do it.
Let's assume there is a slightly beefier chip. I don't know the requirements for smoke alarms but I'd design them for (at least) 60 degrees ambient. Next step: 145 degrees is the thermal shutdown temperature of the device. You don't want to operate it near that temperature due to component variation. It is likely to go off a couple of times in it's life. So I would try and stay below 120 degrees for reliability. Worst case mains is about 265V which translates into 375V DC. That results in 375*15mA=5.4 Watt. With 60 degrees of temperature margin you'd need a thermal solution which is better than 11 K/Watt.  BTW the thermal limit of the NCP786A is given in the datasheet: the datasheet says that junction to ambient has a thermal resistance of 82 K/Watt while the chip is mounted on a 25mm x 25mm copper plane. There are SMD heatsinks of around 11K/Watt (like this one: http://www.assmann-wsw.com/wo/en/products/thermal-management/smd-and-copper-heat-sinks/detail/1059624/ which costs around .70 US$ in 5k quantities) but the question is whether you can get all the heat from thermal pad of the chip through the board into the heatsink. All in all this is not a route I'd like to take.
« Last Edit: February 16, 2020, 05:26:02 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #14 on: February 16, 2020, 11:55:06 pm »
In fact, regarding the 15-mA question (what to do when the alarm is sounding), I see that the NCP786A can deliver 10 mA and has no strict limit on power dissipation; rather, a thermal shutdown temperature of 145 C.  So with a generous heat sink, it's close to being what we want, and there is surely a similar chip that is a bit bigger and can definitely do it.

And add in a resistor dropper.
 

Online EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 37740
  • Country: au
    • EEVblog
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #15 on: February 16, 2020, 11:57:11 pm »
Dave, I hate to say but you have dug yourself into a bit of a hole here.

Nope.
 

Offline mcovington

  • Regular Contributor
  • *
  • Posts: 181
  • Country: us
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #16 on: February 17, 2020, 12:24:01 am »
In fact, regarding the 15-mA question (what to do when the alarm is sounding), I see that the NCP786A can deliver 10 mA and has no strict limit on power dissipation; rather, a thermal shutdown temperature of 145 C.  So with a generous heat sink, it's close to being what we want, and there is surely a similar chip that is a bit bigger and can definitely do it.

And add in a resistor dropper.

Bingo!   Good idea.
 

Offline dcac

  • Frequent Contributor
  • **
  • Posts: 339
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #17 on: February 17, 2020, 12:59:12 am »
You can also allow for some "excessive" input ripple by choosing a smaller rectifying cap. So in the 15mA stage perhaps let it ripple 50V-100V, or even more, to cut down the total power losses.

But all in all there probably will be some 3-4 watts total loss and that tend to generate some heat in a small device.
« Last Edit: February 17, 2020, 01:06:35 am by dcac »
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26906
  • Country: nl
    • NCT Developments
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #18 on: February 17, 2020, 11:40:39 am »
In fact, regarding the 15-mA question (what to do when the alarm is sounding), I see that the NCP786A can deliver 10 mA and has no strict limit on power dissipation; rather, a thermal shutdown temperature of 145 C.  So with a generous heat sink, it's close to being what we want, and there is surely a similar chip that is a bit bigger and can definitely do it.

And add in a resistor dropper.

Bingo!   Good idea.
No. Run some numbers on it first. The minimum voltage you need to drop in the regulator is 375 (Vmax) -265 (Vmin) =110V * 15mA is still 1.65W (which is over twice as much as you can realistically dissipate without a heatsink). And this is without having any margin for drop-out and ripple on the rectifier capacitor.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline kkessler

  • Regular Contributor
  • *
  • Posts: 56
  • Country: us
Re: EEVblog #1285 - How to do Design By Inspection
« Reply #19 on: February 18, 2020, 05:55:30 pm »
In the transformerless power supply DaveCad'ed in this video, isn't the zener diode forward biased with each half cycle? I'd think that would be bad, and maybe the zener should be after the normal diode.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf