Browse Source

Sensor

master
Your Name 5 years ago
parent
commit
c7017ff2e9
18 changed files with 1291 additions and 47 deletions
  1. +2
    -1
      FlammableGasSensor/docs/10.aux
  2. +46
    -45
      FlammableGasSensor/docs/10.log
  3. BIN
      FlammableGasSensor/docs/10.pdf
  4. +1
    -0
      FlammableGasSensor/docs/10.tex
  5. +2
    -1
      FlammableGasSensor/docs/10.toc
  6. +32
    -0
      FlammableGasSensor/docs/11.aux
  7. +301
    -0
      FlammableGasSensor/docs/11.log
  8. BIN
      FlammableGasSensor/docs/11.pdf
  9. +135
    -0
      FlammableGasSensor/docs/11.tex
  10. +131
    -0
      FlammableGasSensor/docs/11.tex~
  11. +19
    -0
      FlammableGasSensor/docs/11.toc
  12. +32
    -0
      FlammableGasSensor/docs/12.aux
  13. +301
    -0
      FlammableGasSensor/docs/12.log
  14. BIN
      FlammableGasSensor/docs/12.pdf
  15. +135
    -0
      FlammableGasSensor/docs/12.tex
  16. +135
    -0
      FlammableGasSensor/docs/12.tex~
  17. +19
    -0
      FlammableGasSensor/docs/12.toc
  18. BIN
      FlammableGasSensor/docs/fin.pdf

+ 2
- 1
FlammableGasSensor/docs/10.aux View File

@ -25,5 +25,6 @@
\bibcite{Fuchs}{4}
\@writefile{toc}{\contentsline {section}{\numberline {6}Existing Gas Detectors}{6}}
\@writefile{toc}{\contentsline {section}{\numberline {7}Switching Power Supply}{6}}
\@writefile{toc}{\contentsline {section}{\numberline {8}References}{6}}
\@writefile{toc}{\contentsline {section}{\numberline {8}Connecting the Sensor by a Wire}{6}}
\@writefile{toc}{\contentsline {section}{\numberline {9}References}{6}}
\bibcite{}{5}

+ 46
- 45
FlammableGasSensor/docs/10.log View File

@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdflatex 2018.11.28) 11 AUG 2019 12:59
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 6 SEP 2019 12:19
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
@ -7,8 +7,8 @@ FlammableGasSensor/docs/10.tex
(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2019/F
lammableGasSensor/docs/10.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 2 languages loaded.
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
@ -27,31 +27,31 @@ File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/05/08 v1.15 key=value parser (DPC)
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
Package: graphics 2016/10/09 v1.0u Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 91.
Package graphics Info: Driver file: pdftex.def on input line 99.
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2017/01/12 v0.06k Graphics/color for pdfTeX
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count87
))
@ -59,11 +59,11 @@ Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
\Gin@req@width=\dimen104
)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2013/05/02 v3.3-89 Customizing captions (AR)
Package: caption 2016/02/21 v3.3-144 Customizing captions (AR)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2013/05/02 v1.6-88 caption3 kernel (AR)
Package caption3 Info: TeX engine: e-TeX on input line 57.
Package: caption3 2016/05/22 v1.7-166 caption3 kernel (AR)
Package caption3 Info: TeX engine: e-TeX on input line 67.
\captionmargin=\dimen105
\captionmargin@=\dimen106
\captionwidth=\dimen107
@ -89,7 +89,7 @@ LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii
(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count89
\scratchdimen=\dimen112
@ -103,16 +103,15 @@ LaTeX Font Info: ... okay on input line 9.
\makeMPintoPDFobject=\count94
\everyMPtoPDFconversion=\toks16
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
Package: pdftexcmds 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
Package: ifpdf 2016/05/14 v3.1 Provides the ifpdf switch
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
@ -120,31 +119,33 @@ Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
38.
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 452.
(grfext) \AppendGraphicsExtensions on input line 456.
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
@ -207,74 +208,74 @@ LaTeX Font Info: External font `cmex10' loaded for size
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 75.
[4 <../pics/kicadstepup1.jpg>] [5]
Underfull \hbox (badness 5563) in paragraph at lines 109--111
Underfull \hbox (badness 5563) in paragraph at lines 110--112
[]\OT1/cmr/m/n/10.95 Murphy Pickard, \OT1/cmr/m/it/10.95 Surge Stop-per IC Sim-
pli-fies De-sign of In-
[]
Underfull \hbox (badness 5652) in paragraph at lines 109--111
Underfull \hbox (badness 5652) in paragraph at lines 110--112
\OT1/cmr/m/it/10.95 trin-sic Safety Bar-rier for Elec-tron-ics Des-tined for Ha
z-ardous
[]
Underfull \hbox (badness 10000) in paragraph at lines 109--111
Underfull \hbox (badness 10000) in paragraph at lines 110--112
\OT1/cmr/m/it/10.95 En-vi-ron-ments\OT1/cmr/m/n/10.95 , Lin-ear Tech-nol-ogy Ma
g-a-zine Septem-ber 2009,
[]
Underfull \hbox (badness 10000) in paragraph at lines 109--111
Underfull \hbox (badness 10000) in paragraph at lines 110--112
\OT1/cmr/m/n/10.95 https://www.analog.com/en/technical-articles/surge-stopper-i
c-
[]
Overfull \hbox (254.02194pt too wide) in paragraph at lines 113--115
Overfull \hbox (254.02194pt too wide) in paragraph at lines 114--116
\OT1/cmr/m/n/10.95 explosive-environment/?all, http://web.archive.org/web/20190
410172437/http://www.eevblog.com/forum/chat/electronics-
[]
Underfull \hbox (badness 10000) in paragraph at lines 117--119
Underfull \hbox (badness 10000) in paragraph at lines 118--120
[]\OT1/cmr/m/n/10.95 Various, \OT1/cmr/m/it/10.95 Ex-plo-sion Pro-tec-tion and
In-trin-sic
[]
Underfull \hbox (badness 10000) in paragraph at lines 117--119
Underfull \hbox (badness 10000) in paragraph at lines 118--120
\OT1/cmr/m/it/10.95 Safety 101\OT1/cmr/m/n/10.95 , Pep-perl Fuchs, https://www.
pepperl-
[]
Underfull \hbox (badness 10000) in paragraph at lines 117--119
Underfull \hbox (badness 10000) in paragraph at lines 118--120
\OT1/cmr/m/n/10.95 fuchs.com/usa/downloads[]USA/explosion-protection-and-intrin
sic-
[]
Overfull \hbox (59.59836pt too wide) in paragraph at lines 117--119
Overfull \hbox (59.59836pt too wide) in paragraph at lines 118--120
\OT1/cmr/m/n/10.95 safety-101.pdf, http://web.archive.org/web/20190721221654/ht
tps://www.pepperl-
[]
Underfull \hbox (badness 10000) in paragraph at lines 117--119
Underfull \hbox (badness 10000) in paragraph at lines 118--120
\OT1/cmr/m/n/10.95 fuchs.com/usa/downloads[]USA/explosion-protection-and-intrin
sic-
[]
[6] [7] (./10.aux) )
Here is how much of TeX's memory you used:
2588 strings out of 495020
41211 string characters out of 6181323
95811 words of memory out of 5000000
5792 multiletter control sequences out of 15000+600000
2616 strings out of 494945
41754 string characters out of 6181032
96839 words of memory out of 5000000
5899 multiletter control sequences out of 15000+600000
10376 words of font info for 36 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
38i,8n,38p,1259b,239s stack positions out of 5000i,500n,10000p,200000b,80000s
39i,8n,39p,1259b,239s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/
cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmb
x12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb
@ -284,7 +285,7 @@ xlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb>
xmf-dist/fonts/type1/public/amsfonts/cm/cmr9.pfb></usr/share/texlive/texmf-dist
/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts
/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 10.pdf (7 pages, 222645 bytes).
Output written on 10.pdf (7 pages, 222777 bytes).
PDF statistics:
66 PDF objects out of 1000 (max. 8388607)
45 compressed objects within 1 object stream

BIN
FlammableGasSensor/docs/10.pdf View File


+ 1
- 0
FlammableGasSensor/docs/10.tex View File

@ -88,6 +88,7 @@ We have already purchased a commercial gas detector. This particular model is de
In search of a low part count, simple to deploy switcher I came across this in my rss (https://hackaday.com/2019/08/11/switching-over-to-smps-for-efficiency/). The LM2576 is easy enough to use instead of a lm317, and requires only a diode and inductor more. Here I need more power efficiency from the 12V input so that should work.
\section{Connecting the Sensor by a Wire}

+ 2
- 1
FlammableGasSensor/docs/10.toc View File

@ -14,4 +14,5 @@
\contentsline {subsubsection}{\numberline {5.1.1}Encapsulated Fuses}{5}
\contentsline {section}{\numberline {6}Existing Gas Detectors}{6}
\contentsline {section}{\numberline {7}Switching Power Supply}{6}
\contentsline {section}{\numberline {8}References}{6}
\contentsline {section}{\numberline {8}Connecting the Sensor by a Wire}{6}
\contentsline {section}{\numberline {9}References}{6}

+ 32
- 0
FlammableGasSensor/docs/11.aux View File

@ -0,0 +1,32 @@
\relax
\@writefile{toc}{\contentsline {section}{\numberline {1}Overview}{2}}
\@writefile{toc}{\contentsline {section}{\numberline {2}Chip Hunting}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Gas Sensor Tuning}{2}}
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Application Note resistance table\relax }}{3}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.1}Fixed resistors}{3}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2}Gas Sensor Power Usage}{3}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.3}PCB Layout}{3}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}Switcher}{3}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Enclosure}{3}}
\@writefile{toc}{\contentsline {section}{\numberline {3}CAD Layout}{4}}
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Freecad has the ability to pull in boards from Kicad. Even without step file dependencies you can see how the PCB will fit a case\relax }}{4}}
\@writefile{toc}{\contentsline {section}{\numberline {4}PCB Assembly}{4}}
\citation{Schram}
\citation{Pickard}
\citation{EEVBlog}
\citation{Fuchs}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Place Sensors on the Floor}{5}}
\@writefile{toc}{\contentsline {section}{\numberline {5}In Consideration of ``Hazardous Locations''}{5}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}What Class is my Company?}{5}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.1}Encapsulated Fuses}{6}}
\@writefile{toc}{\contentsline {section}{\numberline {6}Existing Gas Detectors}{6}}
\@writefile{toc}{\contentsline {section}{\numberline {7}Switching Power Supply}{6}}
\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Prototype\relax }}{6}}
\bibcite{Schram}{1}
\bibcite{Pickard}{2}
\bibcite{EEVBlog}{3}
\bibcite{Fuchs}{4}
\@writefile{toc}{\contentsline {section}{\numberline {8}Connecting the Sensor by a Wire}{7}}
\@writefile{toc}{\contentsline {section}{\numberline {9}Calibration}{7}}
\@writefile{toc}{\contentsline {section}{\numberline {10}References}{7}}
\bibcite{}{5}

+ 301
- 0
FlammableGasSensor/docs/11.log View File

@ -0,0 +1,301 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 6 SEP 2019 12:27
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2019/
FlammableGasSensor/docs/11.tex
(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2019/F
lammableGasSensor/docs/11.tex
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/10/09 v1.0u Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 99.
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2017/01/12 v0.06k Graphics/color for pdfTeX
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count87
))
\Gin@req@height=\dimen103
\Gin@req@width=\dimen104
)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2016/02/21 v3.3-144 Customizing captions (AR)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2016/05/22 v1.7-166 caption3 kernel (AR)
Package caption3 Info: TeX engine: e-TeX on input line 67.
\captionmargin=\dimen105
\captionmargin@=\dimen106
\captionwidth=\dimen107
\caption@tempdima=\dimen108
\caption@indent=\dimen109
\caption@parindent=\dimen110
\caption@hangindent=\dimen111
)
\c@ContinuedFloat=\count88
) (./11.aux)
\openout1 = `11.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count89
\scratchdimen=\dimen112
\scratchbox=\box26
\nofMPsegments=\count90
\nofMParguments=\count91
\everyMPshowfont=\toks15
\MPscratchCnt=\count92
\MPscratchDim=\dimen113
\MPnumerator=\count93
\makeMPintoPDFobject=\count94
\everyMPtoPDFconversion=\toks16
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2016/05/14 v3.1 Provides the ifpdf switch
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
38.
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 456.
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: End \AtBeginDocument code.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 11.
(./11.toc
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <10.95> on input line 3.
)
\tf@toc=\write3
\openout3 = `11.toc'.
[1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
LaTeX Font Info: Try loading font information for OMS+cmr on input line 21.
(/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd
File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10.95> not available
(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 21.
<../pics/resistances.png, id=10, 548.80031pt x 152.82094pt>
File: ../pics/resistances.png Graphic file (type png)
<use ../pics/resistances.png>
Package pdftex.def Info: ../pics/resistances.png used on input line 37.
(pdftex.def) Requested size: 439.04083pt x 122.2569pt.
Package caption Warning: \captionsetup{type*=...} or \captionof
(caption) outside box or environment on input line 38.
See the caption package documentation for explanation.
Overfull \hbox (96.04083pt too wide) in paragraph at lines 37--38
[][]
[]
[2] [3 <../pics/resistances.png (PNG copy)>]
<../pics/kicadstepup1.jpg, id=18, 561.59813pt x 422.32782pt>
File: ../pics/kicadstepup1.jpg Graphic file (type jpg)
<use ../pics/kicadstepup1.jpg>
Package pdftex.def Info: ../pics/kicadstepup1.jpg used on input line 57.
(pdftex.def) Requested size: 280.79837pt x 211.16339pt.
[4 <../pics/kicadstepup1.jpg>]
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <9> on input line 75.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 75.
[5]
<../pics/DSCN2209.JPG, id=29, 803.0pt x 602.25pt>
File: ../pics/DSCN2209.JPG Graphic file (type jpg)
<use ../pics/DSCN2209.JPG>
Package pdftex.def Info: ../pics/DSCN2209.JPG used on input line 91.
(pdftex.def) Requested size: 240.90186pt x 180.67639pt.
[6 <../pics/DSCN2209.JPG>]
Underfull \hbox (badness 5563) in paragraph at lines 116--118
[]\OT1/cmr/m/n/10.95 Murphy Pickard, \OT1/cmr/m/it/10.95 Surge Stop-per IC Sim-
pli-fies De-sign of In-
[]
Underfull \hbox (badness 5652) in paragraph at lines 116--118
\OT1/cmr/m/it/10.95 trin-sic Safety Bar-rier for Elec-tron-ics Des-tined for Ha
z-ardous
[]
Underfull \hbox (badness 10000) in paragraph at lines 116--118
\OT1/cmr/m/it/10.95 En-vi-ron-ments\OT1/cmr/m/n/10.95 , Lin-ear Tech-nol-ogy Ma
g-a-zine Septem-ber 2009,
[]
Underfull \hbox (badness 10000) in paragraph at lines 116--118
\OT1/cmr/m/n/10.95 https://www.analog.com/en/technical-articles/surge-stopper-i
c-
[]
Overfull \hbox (254.02194pt too wide) in paragraph at lines 120--122
\OT1/cmr/m/n/10.95 explosive-environment/?all, http://web.archive.org/web/20190
410172437/http://www.eevblog.com/forum/chat/electronics-
[]
Underfull \hbox (badness 10000) in paragraph at lines 124--126
[]\OT1/cmr/m/n/10.95 Various, \OT1/cmr/m/it/10.95 Ex-plo-sion Pro-tec-tion and
In-trin-sic
[]
Underfull \hbox (badness 10000) in paragraph at lines 124--126
\OT1/cmr/m/it/10.95 Safety 101\OT1/cmr/m/n/10.95 , Pep-perl Fuchs, https://www.
pepperl-
[]
Underfull \hbox (badness 10000) in paragraph at lines 124--126
\OT1/cmr/m/n/10.95 fuchs.com/usa/downloads[]USA/explosion-protection-and-intrin
sic-
[]
Overfull \hbox (59.59836pt too wide) in paragraph at lines 124--126
\OT1/cmr/m/n/10.95 safety-101.pdf, http://web.archive.org/web/20190721221654/ht
tps://www.pepperl-
[]
Underfull \hbox (badness 10000) in paragraph at lines 124--126
\OT1/cmr/m/n/10.95 fuchs.com/usa/downloads[]USA/explosion-protection-and-intrin
sic-
[]
[7] [8] (./11.aux) )
Here is how much of TeX's memory you used:
2622 strings out of 494945
41869 string characters out of 6181032
96839 words of memory out of 5000000
5903 multiletter control sequences out of 15000+600000
10376 words of font info for 36 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
39i,8n,39p,1259b,211s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/
cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmb
x12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb
></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/
share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr6.pfb></usr/share/te
xlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></usr/share/texlive/te
xmf-dist/fonts/type1/public/amsfonts/cm/cmr9.pfb></usr/share/texlive/texmf-dist
/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts
/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 11.pdf (8 pages, 362370 bytes).
PDF statistics:
70 PDF objects out of 1000 (max. 8388607)
47 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
16 words of extra memory for PDF output out of 10000 (max. 10000000)

BIN
FlammableGasSensor/docs/11.pdf View File


+ 135
- 0
FlammableGasSensor/docs/11.tex View File

@ -0,0 +1,135 @@
\documentclass[11pt]{article}
%Gummi|065|=)
\usepackage{graphicx}
\usepackage{caption}
\title{\textbf{Flammable Gas Sensor}}
\author{Steak Electronics}
\date{}
\begin{document}
\maketitle
\tableofcontents
\section{Overview}
Shop needs a flammable gas sensor, for safety.
\section{Chip Hunting}
I'm looking at the following:
\begin{itemize}
\item SGAS711
\item 200K fixed resistor
\item 1M potentiometer
\item Arduino Nano (for speed)
\item Ample Power Supply They are recommending 7 Volts for the heater. So, one rated for 1A.
\item led notifiers
\item Long cables to separate sensor from device. (optional)
\end{itemize}
\subsection{Gas Sensor Tuning}
The flammable gas sensor has different sensitivities for different gases (see data sheet, Figure 8). I'm going to need to test for something specific, i.e. if the shop needs to watch out for acetone, I should test acetone. Of course, if enough of a flammable gas is in the air, it will set it off no matter what, but I should focus on what the danger is for calibrating.
Based on the resistance chart, I'm going to use a fixed 200K and a 1M pot. Pots are to be avoided, but here we need to calibrate over time. For the response of the v divider, the sensor is not linear, but closer (though not quite) logarithmic. So what I will do, is have to use some math on the micro, and use the formula they give in the Datasheet, to get a logarithmic output that appears linear (figure 5). For my needs, it is good enough.
\includegraphics[scale=0.8]{../pics/resistances.png}
\captionof{figure}{Application Note resistance table}
\subsubsection{Fixed resistors}
If these sensors are consistent enough, possibly I could use fixed resistors later.
\subsubsection{Gas Sensor Power Usage}
Rated at 900mW for 7V, so about 150mA (128mA). I know from prior experience these things heat up, so we need plenty of power.
\subsubsection{PCB Layout}
The gas sensor must be sideways, as there is excessive dust in the shop so, the holes will be on the side. I will do a 90 degree edge mount pcb.
\subsection{Switcher}
STS1024S6V5 Seems like a fair option for now. Output is 6.5 volts which is enough. Will use a module. Need to make a footprint.
\subsection{Enclosure}
We need a box that is tall enough to be a cube. Also want square, not rectangular. I plan to have the leds light from the back of the pcb. The pcb will be the top cover / front. The top cover / front will be the box, put on its side, so dust doesn't collect on the leds. Need a cube.
\section{CAD Layout}
I found that Kicad step up in Freecad is helpful for making sure your board will fit the enclosure. A very helpful addition to an arsenal. Although I didn't test it until after rev 1.
\begin{center}
\includegraphics[scale=0.5]{../pics/kicadstepup1.jpg}
\captionof{figure}{Freecad has the ability to pull in boards from Kicad. Even without step file dependencies you can see how the PCB will fit a case}
\end{center}
\section{PCB Assembly}
Most of the board came out ok. Power section is routed right. I need to move the barrel plug further out of the board, so it fits with the case better. The one issue I overlooked
was the A6, and A7 pins, which have no digital circuitry behind them. So I have some pins that can't light up. I'll have to bodge wires in, or respin the board. Simple fix. Oversight on my part, that's all. I assumed GPIO on all pins, but here are two analog pins that can't function as GPIO.
\vspace{0.2in}
I'll use D7, and D8. Looks like I also missed the wire from VSenseOut of the Gas sensor to the board. So that will go to A6. Technically, I missed a net on the schematic.
\vspace{0.2in}
One other fail of the enclosure, is that the Arduino nano won't fit with female pin headers holding it in. This means, instead of easily being socketable, I'll have to solder the board in. Not a deal-breaker, but I would prefer the nano to be easily removable. I don't like soldering it on the board. In the future, I need to find a taller enclosure.
\subsection{Place Sensors on the Floor}
Being that at least some flammable gases are heavier than air\footnote{Reference: Plumbing, Rex Cauldwell, 2006, page 137 - Gas Heater Awareness - Great book.}(in our case, they are, your situation may vary) it is logical for us to put them on the floor. There are no rules, though so why not both? It would be interesting to see the LEDs responding differently at say waist height, and at your feet. That would indicate different gas in the air.
\section{In Consideration of ``Hazardous Locations''}
Up to this point, I have not paid any attention to official rules or standards regarding safety\footnote{Our environment is only dangerous when there is a gas leak (extremely rarely), so we are the least strict of the hazardous location types. In the US, this is Class 1, Division 2. Gas (class 1) can be present, but is not normally (division 2). We regularly have dust in our air, however it is silica and therefore inert / not explosive.}. The search term for a device like this that may be in an environment that can dangerous is \textbf{hazardous locations}. There are a few books on the subject I found (specifically for electronics in hazardous locations). I downloaded the PDF of a few online, but was not impressed with the writing quality enough to buy them with the exception of \emph{Electrical Installations in Hazardous Locations} by Peter Schram \cite{Schram}. There is also a succint Application note which covers a general overview in Linear Technology Magazine September 2009, also accessible online \cite{Pickard}. As a launchoff point, some discussion can also be found online in various forums \cite{EEVBlog}.
\subsection{What Class is my Company?}
Based on \cite{Fuchs}, we are a Class 1, Division 2. With the Class 1, being Group D, as we would have leaks of those gases. It's possible that certain areas (inside the reactors for example) may be a higher class.
\subsubsection{Encapsulated Fuses}
Encapsulated fuses are also referred to as UL913 online (e.g. in stores). UL913 is UL's \emph{Standard for Intrinsically Safe Apparatus and Associated Apparatus for Use in Class I, II, III, Division 1, Hazardous (Classified) Locations}. Another term to search for is \emph{intrinsically safe} on the parametric search for fuses. The cheapest intrinsically safe fuse in 1 quantity on Digikey is currently \$4.50. Ouch. Safety requirements sure help some people, just not the buyers. I see a market, for a blobbed fuse at \$1.
\section{Existing Gas Detectors}
We have already purchased a commercial gas detector. This particular model is designed so that the control box is kept separated from the sensor. The sensor has a 30 foot cable. The control box is installed in the ceiling. \footnote{See in the git: teardowns 2019, the RKI instruments combustible gas sensor.}
\section{Switching Power Supply}
In search of a low part count, simple to deploy switcher I came across this in my rss (https://hackaday.com/2019/08/11/switching-over-to-smps-for-efficiency/). The LM2576 is easy enough to use instead of a lm317, and requires only a diode and inductor more. Here I need more power efficiency from the 12V input so that should work. A simple go-to switcher.
\begin{center}
\includegraphics[scale=0.3]{../pics/DSCN2209.JPG}
\captionof{figure}{Prototype}
\end{center}
\section{Connecting the Sensor by a Wire}
Upon showing this to my family co. who wanted it, they mentioned they wanted a cable going to the sensor. I looked at the RKI Instruments flammable gas sensor, which we have a few of, and these used a 22 Gauge 4 conductor cable. That is \$50 for 100' of cable. A more DIY solution is to grab some 4 pair CAT5E or CAT6 and connect two wires to each screw terminal on the board. That is what I will do. Saves money, and should work no issue, up to the 30 feet max that I need. Any small box can be used for the sensors. I might build a pcb mount for those, or perhaps just some hot glue. Depends on what works the best, while being efficient.
\section{Calibration}
This is the real task of this project. Making a gas sensor is easy, calibrating it, is another step. Thankfully, some companies sell calibration tanks. For calibration you might calibrate on the LEL or the lowest acceptable level before an alarm should be fired off for a given chemical.
\section{References}
\begin{thebibliography}{99}
\bibitem{Schram}
Peter Schram,
\emph{Electrical Installations in Hazardous Locations}, first edition - 1991, National Fire Protection Association (NFPA), ISBN-13: 9780877653561.
\bibitem{Pickard}
Murphy Pickard,
\emph{Surge Stopper IC Simplifies Design of Intrinsic Safety Barrier for Electronics Destined for Hazardous Environments}, Linear Technology Magazine September 2009, https://www.analog.com/en/technical-articles/surge-stopper-ic-simplifies-design-of-intrinsic-safety-barrier-for-electronics.html .
\bibitem{EEVBlog}
Various,
\emph{Electronics Design for Explosive Envirionment}, EEVBlog Forums, https://www.eevblog.com/forum/chat/electronics-design-for-explosive-environment/?all, http://web.archive.org/web/20190410172437/http://www.eevblog.com/forum/chat/electronics-design-for-explosive-environment/?all.
\bibitem{Fuchs}
Various,
\emph{Explosion Protection and Intrinsic Safety 101}, Pepperl Fuchs, https://www.pepperl-fuchs.com/usa/downloads\_USA/explosion-protection-and-intrinsic-safety-101.pdf, http://web.archive.org/web/20190721221654/https://www.pepperl-fuchs.com/usa/downloads\_USA/explosion-protection-and-intrinsic-safety-101.pdf.
\bibitem{}
\end{thebibliography}
\end{document}

+ 131
- 0
FlammableGasSensor/docs/11.tex~ View File

@ -0,0 +1,131 @@
\documentclass[11pt]{article}
%Gummi|065|=)
\usepackage{graphicx}
\usepackage{caption}
\title{\textbf{Flammable Gas Sensor}}
\author{Steak Electronics}
\date{}
\begin{document}
\maketitle
\tableofcontents
\section{Overview}
Shop needs a flammable gas sensor, for safety.
\section{Chip Hunting}
I'm looking at the following:
\begin{itemize}
\item SGAS711
\item 200K fixed resistor
\item 1M potentiometer
\item Arduino Nano (for speed)
\item Ample Power Supply They are recommending 7 Volts for the heater. So, one rated for 1A.
\item led notifiers
\item
\end{itemize}
\subsection{Gas Sensor Tuning}
The flammable gas sensor has different sensitivities for different gases (see data sheet, Figure 8). I'm going to need to test for something specific, i.e. if the shop needs to watch out for acetone, I should test acetone. Of course, if enough of a flammable gas is in the air, it will set it off no matter what, but I should focus on what the danger is for calibrating.
Based on the resistance chart, I'm going to use a fixed 200K and a 1M pot. Pots are to be avoided, but here we need to calibrate over time. For the response of the v divider, the sensor is not linear, but closer (though not quite) logarithmic. So what I will do, is have to use some math on the micro, and use the formula they give in the Datasheet, to get a logarithmic output that appears linear (figure 5). For my needs, it is good enough.
\includegraphics[scale=0.8]{../pics/resistances.png}
\captionof{figure}{Application Note resistance table}
\subsubsection{Fixed resistors}
If these sensors are consistent enough, possibly I could use fixed resistors later.
\subsubsection{Gas Sensor Power Usage}
Rated at 900mW for 7V, so about 150mA (128mA). I know from prior experience these things heat up, so we need plenty of power.
\subsubsection{PCB Layout}
The gas sensor must be sideways, as there is excessive dust in the shop so, the holes will be on the side. I will do a 90 degree edge mount pcb.
\subsection{Switcher}
STS1024S6V5 Seems like a fair option for now. Output is 6.5 volts which is enough. Will use a module. Need to make a footprint.
\subsection{Enclosure}
We need a box that is tall enough to be a cube. Also want square, not rectangular. I plan to have the leds light from the back of the pcb. The pcb will be the top cover / front. The top cover / front will be the box, put on its side, so dust doesn't collect on the leds. Need a cube.
\section{CAD Layout}
I found that Kicad step up in Freecad is helpful for making sure your board will fit the enclosure. A very helpful addition to an arsenal. Although I didn't test it until after rev 1.
\begin{center}
\includegraphics[scale=0.5]{../pics/kicadstepup1.jpg}
\captionof{figure}{Freecad has the ability to pull in boards from Kicad. Even without step file dependencies you can see how the PCB will fit a case}
\end{center}
\section{PCB Assembly}
Most of the board came out ok. Power section is routed right. I need to move the barrel plug further out of the board, so it fits with the case better. The one issue I overlooked
was the A6, and A7 pins, which have no digital circuitry behind them. So I have some pins that can't light up. I'll have to bodge wires in, or respin the board. Simple fix. Oversight on my part, that's all. I assumed GPIO on all pins, but here are two analog pins that can't function as GPIO.
\vspace{0.2in}
I'll use D7, and D8. Looks like I also missed the wire from VSenseOut of the Gas sensor to the board. So that will go to A6. Technically, I missed a net on the schematic.
\vspace{0.2in}
One other fail of the enclosure, is that the Arduino nano won't fit with female pin headers holding it in. This means, instead of easily being socketable, I'll have to solder the board in. Not a deal-breaker, but I would prefer the nano to be easily removable. I don't like soldering it on the board. In the future, I need to find a taller enclosure.
\subsection{Place Sensors on the Floor}
Being that at least some flammable gases are heavier than air\footnote{Reference: Plumbing, Rex Cauldwell, 2006, page 137 - Gas Heater Awareness - Great book.}(in our case, they are, your situation may vary) it is logical for us to put them on the floor. There are no rules, though so why not both? It would be interesting to see the LEDs responding differently at say waist height, and at your feet. That would indicate different gas in the air.
\section{In Consideration of ``Hazardous Locations''}
Up to this point, I have not paid any attention to official rules or standards regarding safety\footnote{Our environment is only dangerous when there is a gas leak (extremely rarely), so we are the least strict of the hazardous location types. In the US, this is Class 1, Division 2. Gas (class 1) can be present, but is not normally (division 2). We regularly have dust in our air, however it is silica and therefore inert / not explosive.}. The search term for a device like this that may be in an environment that can dangerous is \textbf{hazardous locations}. There are a few books on the subject I found (specifically for electronics in hazardous locations). I downloaded the PDF of a few online, but was not impressed with the writing quality enough to buy them with the exception of \emph{Electrical Installations in Hazardous Locations} by Peter Schram \cite{Schram}. There is also a succint Application note which covers a general overview in Linear Technology Magazine September 2009, also accessible online \cite{Pickard}. As a launchoff point, some discussion can also be found online in various forums \cite{EEVBlog}.
\subsection{What Class is my Company?}
Based on \cite{Fuchs}, we are a Class 1, Division 2. With the Class 1, being Group D, as we would have leaks of those gases. It's possible that certain areas (inside the reactors for example) may be a higher class.
\subsubsection{Encapsulated Fuses}
Encapsulated fuses are also referred to as UL913 online (e.g. in stores). UL913 is UL's \emph{Standard for Intrinsically Safe Apparatus and Associated Apparatus for Use in Class I, II, III, Division 1, Hazardous (Classified) Locations}. Another term to search for is \emph{intrinsically safe} on the parametric search for fuses. The cheapest intrinsically safe fuse in 1 quantity on Digikey is currently \$4.50. Ouch. Safety requirements sure help some people, just not the buyers. I see a market, for a blobbed fuse at \$1.
\section{Existing Gas Detectors}
We have already purchased a commercial gas detector. This particular model is designed so that the control box is kept separated from the sensor. The sensor has a 10-20 foot cable. The control box is installed in the ceiling. TODO: Pictures of gas detector box.
\section{Switching Power Supply}
In search of a low part count, simple to deploy switcher I came across this in my rss (https://hackaday.com/2019/08/11/switching-over-to-smps-for-efficiency/). The LM2576 is easy enough to use instead of a lm317, and requires only a diode and inductor more. Here I need more power efficiency from the 12V input so that should work.
\section{Connecting the Sensor by a Wire}
Upon showing this to my family co. who wanted it, they mentioned they wanted a cable going to the sensor. I looked at the RKI Instruments flammable gas sensor, which we have a few of, and these used a 22 Gauge 4 conductor cable. That is \$50 for 100' of cable. A more DIY solution is to grab some 4 pair CAT5E or CAT6 and connect two wires to each screw terminal on the board. That is what I will do. Saves money, and should work no issue, up to the 30 feet max that I need.
\section{References}
\begin{thebibliography}{99}
\bibitem{Schram}
Peter Schram,
\emph{Electrical Installations in Hazardous Locations}, first edition - 1991, National Fire Protection Association (NFPA), ISBN-13: 9780877653561.
\bibitem{Pickard}
Murphy Pickard,
\emph{Surge Stopper IC Simplifies Design of Intrinsic Safety Barrier for Electronics Destined for Hazardous Environments}, Linear Technology Magazine September 2009, https://www.analog.com/en/technical-articles/surge-stopper-ic-simplifies-design-of-intrinsic-safety-barrier-for-electronics.html .
\bibitem{EEVBlog}
Various,
\emph{Electronics Design for Explosive Envirionment}, EEVBlog Forums, https://www.eevblog.com/forum/chat/electronics-design-for-explosive-environment/?all, http://web.archive.org/web/20190410172437/http://www.eevblog.com/forum/chat/electronics-design-for-explosive-environment/?all.
\bibitem{Fuchs}
Various,
\emph{Explosion Protection and Intrinsic Safety 101}, Pepperl Fuchs, https://www.pepperl-fuchs.com/usa/downloads\_USA/explosion-protection-and-intrinsic-safety-101.pdf, http://web.archive.org/web/20190721221654/https://www.pepperl-fuchs.com/usa/downloads\_USA/explosion-protection-and-intrinsic-safety-101.pdf.
\bibitem{}
\end{thebibliography}
\end{document}

+ 19
- 0
FlammableGasSensor/docs/11.toc View File

@ -0,0 +1,19 @@
\contentsline {section}{\numberline {1}Overview}{2}
\contentsline {section}{\numberline {2}Chip Hunting}{2}
\contentsline {subsection}{\numberline {2.1}Gas Sensor Tuning}{2}
\contentsline {subsubsection}{\numberline {2.1.1}Fixed resistors}{3}
\contentsline {subsubsection}{\numberline {2.1.2}Gas Sensor Power Usage}{3}
\contentsline {subsubsection}{\numberline {2.1.3}PCB Layout}{3}
\contentsline {subsection}{\numberline {2.2}Switcher}{3}
\contentsline {subsection}{\numberline {2.3}Enclosure}{3}
\contentsline {section}{\numberline {3}CAD Layout}{4}
\contentsline {section}{\numberline {4}PCB Assembly}{4}
\contentsline {subsection}{\numberline {4.1}Place Sensors on the Floor}{5}
\contentsline {section}{\numberline {5}In Consideration of ``Hazardous Locations''}{5}
\contentsline {subsection}{\numberline {5.1}What Class is my Company?}{5}
\contentsline {subsubsection}{\numberline {5.1.1}Encapsulated Fuses}{6}
\contentsline {section}{\numberline {6}Existing Gas Detectors}{6}
\contentsline {section}{\numberline {7}Switching Power Supply}{6}
\contentsline {section}{\numberline {8}Connecting the Sensor by a Wire}{7}
\contentsline {section}{\numberline {9}Calibration}{7}
\contentsline {section}{\numberline {10}References}{7}

+ 32
- 0
FlammableGasSensor/docs/12.aux View File

@ -0,0 +1,32 @@
\relax
\@writefile{toc}{\contentsline {section}{\numberline {1}Overview}{2}}
\@writefile{toc}{\contentsline {section}{\numberline {2}Chip Hunting}{2}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}Gas Sensor Tuning}{2}}
\@writefile{lof}{\contentsline {figure}{\numberline {1}{\ignorespaces Application Note resistance table\relax }}{3}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.1}Fixed resistors}{3}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.2}Gas Sensor Power Usage}{3}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {2.1.3}PCB Layout}{3}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}Switcher}{3}}
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Enclosure}{3}}
\@writefile{toc}{\contentsline {section}{\numberline {3}CAD Layout}{4}}
\@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Freecad has the ability to pull in boards from Kicad. Even without step file dependencies you can see how the PCB will fit a case\relax }}{4}}
\@writefile{toc}{\contentsline {section}{\numberline {4}PCB Assembly}{4}}
\citation{Schram}
\citation{Pickard}
\citation{EEVBlog}
\citation{Fuchs}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Place Sensors on the Floor}{5}}
\@writefile{toc}{\contentsline {section}{\numberline {5}In Consideration of ``Hazardous Locations''}{5}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}What Class is my Company?}{5}}
\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.1.1}Encapsulated Fuses}{6}}
\@writefile{toc}{\contentsline {section}{\numberline {6}Existing Gas Detectors}{6}}
\@writefile{toc}{\contentsline {section}{\numberline {7}Switching Power Supply}{6}}
\@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Prototype\relax }}{6}}
\bibcite{Schram}{1}
\bibcite{Pickard}{2}
\bibcite{EEVBlog}{3}
\bibcite{Fuchs}{4}
\@writefile{toc}{\contentsline {section}{\numberline {8}Connecting the Sensor by a Wire}{7}}
\@writefile{toc}{\contentsline {section}{\numberline {9}Calibration}{7}}
\@writefile{toc}{\contentsline {section}{\numberline {10}References}{7}}
\bibcite{}{5}

+ 301
- 0
FlammableGasSensor/docs/12.log View File

@ -0,0 +1,301 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) (preloaded format=pdflatex 2019.8.17) 6 SEP 2019 12:30
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2019/
FlammableGasSensor/docs/12.tex
(/home/layoutdev/Desktop/code/documentation_general/Electronics_Projects_2019/F
lammableGasSensor/docs/12.tex
LaTeX2e <2017/01/01> patch level 3
Babel <3.9r> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/10/09 v1.0u Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 99.
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2017/01/12 v0.06k Graphics/color for pdfTeX
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
)
\Gread@gobject=\count87
))
\Gin@req@height=\dimen103
\Gin@req@width=\dimen104
)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
Package: caption 2016/02/21 v3.3-144 Customizing captions (AR)
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty
Package: caption3 2016/05/22 v1.7-166 caption3 kernel (AR)
Package caption3 Info: TeX engine: e-TeX on input line 67.
\captionmargin=\dimen105
\captionmargin@=\dimen106
\captionwidth=\dimen107
\caption@tempdima=\dimen108
\caption@indent=\dimen109
\caption@parindent=\dimen110
\caption@hangindent=\dimen111
)
\c@ContinuedFloat=\count88
) (./12.aux)
\openout1 = `12.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 9.
LaTeX Font Info: ... okay on input line 9.
(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count89
\scratchdimen=\dimen112
\scratchbox=\box26
\nofMPsegments=\count90
\nofMParguments=\count91
\everyMPshowfont=\toks15
\MPscratchCnt=\count92
\MPscratchDim=\dimen113
\MPnumerator=\count93
\makeMPintoPDFobject=\count94
\everyMPtoPDFconversion=\toks16
) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2016/05/14 v3.1 Provides the ifpdf switch
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
38.
Package grfext Info: Graphics extension search list:
(grfext) [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 456.
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
e
))
Package caption Info: Begin \AtBeginDocument code.
Package caption Info: End \AtBeginDocument code.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 11.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 11.
(./12.toc
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <10.95> on input line 3.
)
\tf@toc=\write3
\openout3 = `12.toc'.
[1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
LaTeX Font Info: Try loading font information for OMS+cmr on input line 21.
(/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd
File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <10.95> not available
(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 21.
<../pics/resistances.png, id=10, 548.80031pt x 152.82094pt>
File: ../pics/resistances.png Graphic file (type png)
<use ../pics/resistances.png>
Package pdftex.def Info: ../pics/resistances.png used on input line 37.
(pdftex.def) Requested size: 439.04083pt x 122.2569pt.
Package caption Warning: \captionsetup{type*=...} or \captionof
(caption) outside box or environment on input line 38.
See the caption package documentation for explanation.
Overfull \hbox (96.04083pt too wide) in paragraph at lines 37--38
[][]
[]
[2] [3 <../pics/resistances.png (PNG copy)>]
<../pics/kicadstepup1.jpg, id=18, 561.59813pt x 422.32782pt>
File: ../pics/kicadstepup1.jpg Graphic file (type jpg)
<use ../pics/kicadstepup1.jpg>
Package pdftex.def Info: ../pics/kicadstepup1.jpg used on input line 57.
(pdftex.def) Requested size: 280.79837pt x 211.16339pt.
[4 <../pics/kicadstepup1.jpg>]
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <9> on input line 75.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 75.
[5]
<../pics/DSCN2209.JPG, id=29, 803.0pt x 602.25pt>
File: ../pics/DSCN2209.JPG Graphic file (type jpg)
<use ../pics/DSCN2209.JPG>
Package pdftex.def Info: ../pics/DSCN2209.JPG used on input line 91.
(pdftex.def) Requested size: 240.90186pt x 180.67639pt.
[6 <../pics/DSCN2209.JPG>]
Underfull \hbox (badness 5563) in paragraph at lines 116--118
[]\OT1/cmr/m/n/10.95 Murphy Pickard, \OT1/cmr/m/it/10.95 Surge Stop-per IC Sim-
pli-fies De-sign of In-
[]
Underfull \hbox (badness 5652) in paragraph at lines 116--118
\OT1/cmr/m/it/10.95 trin-sic Safety Bar-rier for Elec-tron-ics Des-tined for Ha
z-ardous
[]
Underfull \hbox (badness 10000) in paragraph at lines 116--118
\OT1/cmr/m/it/10.95 En-vi-ron-ments\OT1/cmr/m/n/10.95 , Lin-ear Tech-nol-ogy Ma
g-a-zine Septem-ber 2009,
[]
Underfull \hbox (badness 10000) in paragraph at lines 116--118
\OT1/cmr/m/n/10.95 https://www.analog.com/en/technical-articles/surge-stopper-i
c-
[]
Overfull \hbox (254.02194pt too wide) in paragraph at lines 120--122
\OT1/cmr/m/n/10.95 explosive-environment/?all, http://web.archive.org/web/20190
410172437/http://www.eevblog.com/forum/chat/electronics-
[]
Underfull \hbox (badness 10000) in paragraph at lines 124--126
[]\OT1/cmr/m/n/10.95 Various, \OT1/cmr/m/it/10.95 Ex-plo-sion Pro-tec-tion and
In-trin-sic
[]
Underfull \hbox (badness 10000) in paragraph at lines 124--126
\OT1/cmr/m/it/10.95 Safety 101\OT1/cmr/m/n/10.95 , Pep-perl Fuchs, https://www.
pepperl-
[]
Underfull \hbox (badness 10000) in paragraph at lines 124--126
\OT1/cmr/m/n/10.95 fuchs.com/usa/downloads[]USA/explosion-protection-and-intrin
sic-
[]
Overfull \hbox (59.59836pt too wide) in paragraph at lines 124--126
\OT1/cmr/m/n/10.95 safety-101.pdf, http://web.archive.org/web/20190721221654/ht
tps://www.pepperl-
[]
Underfull \hbox (badness 10000) in paragraph at lines 124--126
\OT1/cmr/m/n/10.95 fuchs.com/usa/downloads[]USA/explosion-protection-and-intrin
sic-
[]
[7] [8] (./12.aux) )
Here is how much of TeX's memory you used:
2622 strings out of 494945
41869 string characters out of 6181032
96839 words of memory out of 5000000
5903 multiletter control sequences out of 15000+600000
10376 words of font info for 36 fonts, out of 8000000 for 9000
14 hyphenation exceptions out of 8191
39i,8n,39p,1259b,211s stack positions out of 5000i,500n,10000p,200000b,80000s
</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/
cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmb
x12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb
></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/
share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr6.pfb></usr/share/te
xlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></usr/share/texlive/te
xmf-dist/fonts/type1/public/amsfonts/cm/cmr9.pfb></usr/share/texlive/texmf-dist
/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts
/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 12.pdf (8 pages, 362369 bytes).
PDF statistics:
70 PDF objects out of 1000 (max. 8388607)
47 compressed objects within 1 object stream
0 named destinations out of 1000 (max. 500000)
16 words of extra memory for PDF output out of 10000 (max. 10000000)

BIN
FlammableGasSensor/docs/12.pdf View File


+ 135
- 0
FlammableGasSensor/docs/12.tex View File

@ -0,0 +1,135 @@
\documentclass[11pt]{article}
%Gummi|065|=)
\usepackage{graphicx}
\usepackage{caption}
\title{\textbf{Flammable Gas Sensor}}
\author{Steak Electronics}
\date{}
\begin{document}
\maketitle
\tableofcontents
\section{Overview}
Shop needs a flammable gas sensor, for safety.
\section{Chip Hunting}
I'm looking at the following:
\begin{itemize}
\item SGAS711
\item 200K fixed resistor
\item 1M potentiometer
\item Arduino Nano (for speed)
\item Ample Power Supply They are recommending 7 Volts for the heater. So, one rated for 1A.
\item led notifiers
\item Long cables to separate sensor from device. (optional)
\end{itemize}
\subsection{Gas Sensor Tuning}
The flammable gas sensor has different sensitivities for different gases (see data sheet, Figure 8). I'm going to need to test for something specific, i.e. if the shop needs to watch out for acetone, I should test acetone. Of course, if enough of a flammable gas is in the air, it will set it off no matter what, but I should focus on what the danger is for calibrating.
Based on the resistance chart, I'm going to use a fixed 200K and a 1M pot. Pots are to be avoided, but here we need to calibrate over time. For the response of the v divider, the sensor is not linear, but closer (though not quite) logarithmic. So what I will do, is have to use some math on the micro, and use the formula they give in the Datasheet, to get a logarithmic output that appears linear (figure 5). For my needs, it is good enough.
\includegraphics[scale=0.8]{../pics/resistances.png}
\captionof{figure}{Application Note resistance table}
\subsubsection{Fixed resistors}
If these sensors are consistent enough, possibly I could use fixed resistors later.
\subsubsection{Gas Sensor Power Usage}
Rated at 900mW for 7V, so about 150mA (128mA). I know from prior experience these things heat up, so we need plenty of power.
\subsubsection{PCB Layout}
The gas sensor must be sideways, as there is excessive dust in the shop so, the holes will be on the side. I will do a 90 degree edge mount pcb.
\subsection{Switcher}
STS1024S6V5 Seems like a fair option for now. Output is 6.5 volts which is enough. Will use a module. Need to make a footprint.
\subsection{Enclosure}
We need a box that is tall enough to be a cube. Also want square, not rectangular. I plan to have the leds light from the back of the pcb. The pcb will be the top cover / front. The top cover / front will be the box, put on its side, so dust doesn't collect on the leds. Need a cube.
\section{CAD Layout}
I found that Kicad step up in Freecad is helpful for making sure your board will fit the enclosure. A very helpful addition to an arsenal. Although I didn't test it until after rev 1.
\begin{center}
\includegraphics[scale=0.5]{../pics/kicadstepup1.jpg}
\captionof{figure}{Freecad has the ability to pull in boards from Kicad. Even without step file dependencies you can see how the PCB will fit a case}
\end{center}
\section{PCB Assembly}
Most of the board came out ok. Power section is routed right. I need to move the barrel plug further out of the board, so it fits with the case better. The one issue I overlooked
was the A6, and A7 pins, which have no digital circuitry behind them. So I have some pins that can't light up. I'll have to bodge wires in, or respin the board. Simple fix. Oversight on my part, that's all. I assumed GPIO on all pins, but here are two analog pins that can't function as GPIO.
\vspace{0.2in}
I'll use D7, and D8. Looks like I also missed the wire from VSenseOut of the Gas sensor to the board. So that will go to A6. Technically, I missed a net on the schematic.
\vspace{0.2in}
One other fail of the enclosure, is that the Arduino nano won't fit with female pin headers holding it in. This means, instead of easily being socketable, I'll have to solder the board in. Not a deal-breaker, but I would prefer the nano to be easily removable. I don't like soldering it on the board. In the future, I need to find a taller enclosure.
\subsection{Place Sensors on the Floor}
Being that at least some flammable gases are heavier than air\footnote{Reference: Plumbing, Rex Cauldwell, 2006, page 137 - Gas Heater Awareness - Great book.}(in our case, they are, your situation may vary) it is logical for us to put them on the floor. There are no rules, though so why not both? It would be interesting to see the LEDs responding differently at say waist height, and at your feet. That would indicate different gas in the air.
\section{In Consideration of ``Hazardous Locations''}
Up to this point, I have not paid any attention to official rules or standards regarding safety\footnote{Our environment is only dangerous when there is a gas leak (extremely rarely), so we are the least strict of the hazardous location types. In the US, this is Class 1, Division 2. Gas (class 1) can be present, but is not normally (division 2). We regularly have dust in our air, however it is silica and therefore inert / not explosive.}. The search term for a device like this that may be in an environment that can dangerous is \textbf{hazardous locations}. There are a few books on the subject I found (specifically for electronics in hazardous locations). I downloaded the PDF of a few online, but was not impressed with the writing quality enough to buy them with the exception of \emph{Electrical Installations in Hazardous Locations} by Peter Schram \cite{Schram}. There is also a succint Application note which covers a general overview in Linear Technology Magazine September 2009, also accessible online \cite{Pickard}. As a launchoff point, some discussion can also be found online in various forums \cite{EEVBlog}.
\subsection{What Class is my Company?}
Based on \cite{Fuchs}, we are a Class 1, Division 2. With the Class 1, being Group D, as we would have leaks of those gases. It's possible that certain areas (inside the reactors for example) may be a higher class.
\subsubsection{Encapsulated Fuses}
Encapsulated fuses are also referred to as UL913 online (e.g. in stores). UL913 is UL's \emph{Standard for Intrinsically Safe Apparatus and Associated Apparatus for Use in Class I, II, III, Division 1, Hazardous (Classified) Locations}. Another term to search for is \emph{intrinsically safe} on the parametric search for fuses. The cheapest intrinsically safe fuse in 1 quantity on Digikey is currently \$4.50. Ouch. Safety requirements sure help some people, just not the buyers. I see a market, for a blobbed fuse at \$1.
\section{Existing Gas Detectors}
We have already purchased a commercial gas detector. This particular model is designed so that the control box is kept separated from the sensor. The sensor has a 30 foot cable. The control box is installed in the ceiling. \footnote{See in the git: teardowns 2019, the RKI instruments combustible gas sensor.}
\section{Switching Power Supply}
In search of a low part count, simple to deploy switcher I came across this in my rss (https://hackaday.com/2019/08/11/switching-over-to-smps-for-efficiency/). The LM2576 is easy enough to use instead of a lm317, and requires only a diode and inductor more. Here I need more power efficiency from the 12V input so that should work. A simple go-to switcher.
\begin{center}
\includegraphics[scale=0.3]{../pics/DSCN2209.JPG}
\captionof{figure}{Prototype}
\end{center}
\section{Connecting the Sensor by a Wire}
Upon showing this to my family co. who wanted it, they mentioned they wanted a cable going to the sensor. I looked at the RKI Instruments flammable gas sensor, which we have a few of, and these used a 22 Gauge 4 conductor cable. That is \$50 for 100' of cable. A more DIY solution is to grab some 4 pair CAT5E or CAT6 and connect two wires to each screw terminal on the board. That is what I will do. Saves money, and should work no issue, up to the 30 feet max that I need. Any small box can be used for the sensors. I might build a pcb mount for those, or perhaps just some hot glue. Depends on what works the best, while being efficient.
\section{Calibration}
This is the real task of this project. Making a gas sensor is easy, calibrating it, is another step. Thankfully, some companies sell calibration tanks. For calibration you might calibrate on the LEL or the lowest acceptable level before an alarm should be fired off for a given chemical.
\section{References}
\begin{thebibliography}{99}
\bibitem{Schram}
Peter Schram,
\emph{Electrical Installations in Hazardous Locations}, first edition - 1991, National Fire Protection Association (NFPA), ISBN-13: 9780877653561.
\bibitem{Pickard}
Murphy Pickard,
\emph{Surge Stopper IC Simplifies Design of Intrinsic Safety Barrier for Electronics Destined for Hazardous Environments}, Linear Technology Magazine September 2009, https://www.analog.com/en/technical-articles/surge-stopper-ic-simplifies-design-of-intrinsic-safety-barrier-for-electronics.html .
\bibitem{EEVBlog}
Various,
\emph{Electronics Design for Explosive Envirionment}, EEVBlog Forums, https://www.eevblog.com/forum/chat/electronics-design-for-explosive-environment/?all, http://web.archive.org/web/20190410172437/http://www.eevblog.com/forum/chat/electronics-design-for-explosive-environment/?all.
\bibitem{Fuchs}
Various,
\emph{Explosion Protection and Intrinsic Safety 101}, Pepperl Fuchs, https://www.pepperl-fuchs.com/usa/downloads\_USA/explosion-protection-and-intrinsic-safety-101.pdf, http://web.archive.org/web/20190721221654/https://www.pepperl-fuchs.com/usa/downloads\_USA/explosion-protection-and-intrinsic-safety-101.pdf.
\bibitem{}
\end{thebibliography}
\end{document}

+ 135
- 0
FlammableGasSensor/docs/12.tex~ View File

@ -0,0 +1,135 @@
\documentclass[11pt]{article}
%Gummi|065|=)
\usepackage{graphicx}
\usepackage{caption}
\title{\textbf{Flammable Gas Sensor}}
\author{Steak Electronics}
\date{}
\begin{document}
\maketitle
\tableofcontents
\section{Overview}
Shop needs a flammable gas sensor, for safety.
\section{Chip Hunting}
I'm looking at the following:
\begin{itemize}
\item SGAS711
\item 200K fixed resistor
\item 1M potentiometer
\item Arduino Nano (for speed)
\item Ample Power Supply They are recommending 7 Volts for the heater. So, one rated for 1A.
\item led notifiers
\item Long cables to separate sensor from device. (optional)
\end{itemize}
\subsection{Gas Sensor Tuning}
The flammable gas sensor has different sensitivities for different gases (see data sheet, Figure 8). I'm going to need to test for something specific, i.e. if the shop needs to watch out for acetone, I should test acetone. Of course, if enough of a flammable gas is in the air, it will set it off no matter what, but I should focus on what the danger is for calibrating.
Based on the resistance chart, I'm going to use a fixed 200K and a 1M pot. Pots are to be avoided, but here we need to calibrate over time. For the response of the v divider, the sensor is not linear, but closer (though not quite) logarithmic. So what I will do, is have to use some math on the micro, and use the formula they give in the Datasheet, to get a logarithmic output that appears linear (figure 5). For my needs, it is good enough.
\includegraphics[scale=0.8]{../pics/resistances.png}
\captionof{figure}{Application Note resistance table}
\subsubsection{Fixed resistors}
If these sensors are consistent enough, possibly I could use fixed resistors later.
\subsubsection{Gas Sensor Power Usage}
Rated at 900mW for 7V, so about 150mA (128mA). I know from prior experience these things heat up, so we need plenty of power.
\subsubsection{PCB Layout}
The gas sensor must be sideways, as there is excessive dust in the shop so, the holes will be on the side. I will do a 90 degree edge mount pcb.
\subsection{Switcher}
STS1024S6V5 Seems like a fair option for now. Output is 6.5 volts which is enough. Will use a module. Need to make a footprint.
\subsection{Enclosure}
We need a box that is tall enough to be a cube. Also want square, not rectangular. I plan to have the leds light from the back of the pcb. The pcb will be the top cover / front. The top cover / front will be the box, put on its side, so dust doesn't collect on the leds. Need a cube.
\section{CAD Layout}
I found that Kicad step up in Freecad is helpful for making sure your board will fit the enclosure. A very helpful addition to an arsenal. Although I didn't test it until after rev 1.
\begin{center}
\includegraphics[scale=0.5]{../pics/kicadstepup1.jpg}
\captionof{figure}{Freecad has the ability to pull in boards from Kicad. Even without step file dependencies you can see how the PCB will fit a case}
\end{center}
\section{PCB Assembly}
Most of the board came out ok. Power section is routed right. I need to move the barrel plug further out of the board, so it fits with the case better. The one issue I overlooked
was the A6, and A7 pins, which have no digital circuitry behind them. So I have some pins that can't light up. I'll have to bodge wires in, or respin the board. Simple fix. Oversight on my part, that's all. I assumed GPIO on all pins, but here are two analog pins that can't function as GPIO.
\vspace{0.2in}
I'll use D7, and D8. Looks like I also missed the wire from VSenseOut of the Gas sensor to the board. So that will go to A6. Technically, I missed a net on the schematic.
\vspace{0.2in}
One other fail of the enclosure, is that the Arduino nano won't fit with female pin headers holding it in. This means, instead of easily being socketable, I'll have to solder the board in. Not a deal-breaker, but I would prefer the nano to be easily removable. I don't like soldering it on the board. In the future, I need to find a taller enclosure.
\subsection{Place Sensors on the Floor}
Being that at least some flammable gases are heavier than air\footnote{Reference: Plumbing, Rex Cauldwell, 2006, page 137 - Gas Heater Awareness - Great book.}(in our case, they are, your situation may vary) it is logical for us to put them on the floor. There are no rules, though so why not both? It would be interesting to see the LEDs responding differently at say waist height, and at your feet. That would indicate different gas in the air.
\section{In Consideration of ``Hazardous Locations''}
Up to this point, I have not paid any attention to official rules or standards regarding safety\footnote{Our environment is only dangerous when there is a gas leak (extremely rarely), so we are the least strict of the hazardous location types. In the US, this is Class 1, Division 2. Gas (class 1) can be present, but is not normally (division 2). We regularly have dust in our air, however it is silica and therefore inert / not explosive.}. The search term for a device like this that may be in an environment that can dangerous is \textbf{hazardous locations}. There are a few books on the subject I found (specifically for electronics in hazardous locations). I downloaded the PDF of a few online, but was not impressed with the writing quality enough to buy them with the exception of \emph{Electrical Installations in Hazardous Locations} by Peter Schram \cite{Schram}. There is also a succint Application note which covers a general overview in Linear Technology Magazine September 2009, also accessible online \cite{Pickard}. As a launchoff point, some discussion can also be found online in various forums \cite{EEVBlog}.
\subsection{What Class is my Company?}
Based on \cite{Fuchs}, we are a Class 1, Division 2. With the Class 1, being Group D, as we would have leaks of those gases. It's possible that certain areas (inside the reactors for example) may be a higher class.
\subsubsection{Encapsulated Fuses}
Encapsulated fuses are also referred to as UL913 online (e.g. in stores). UL913 is UL's \emph{Standard for Intrinsically Safe Apparatus and Associated Apparatus for Use in Class I, II, III, Division 1, Hazardous (Classified) Locations}. Another term to search for is \emph{intrinsically safe} on the parametric search for fuses. The cheapest intrinsically safe fuse in 1 quantity on Digikey is currently \$4.50. Ouch. Safety requirements sure help some people, just not the buyers. I see a market, for a blobbed fuse at \$1.
\section{Existing Gas Detectors}
We have already purchased a commercial gas detector. This particular model is designed so that the control box is kept separated from the sensor. The sensor has a 30 foot cable. The control box is installed in the ceiling. \footnote{See in the git: teardowns 2019, the RKI instruments combustible gas sensor.}
\section{Switching Power Supply}
In search of a low part count, simple to deploy switcher I came across this in my rss (https://hackaday.com/2019/08/11/switching-over-to-smps-for-efficiency/). The LM2576 is easy enough to use instead of a lm317, and requires only a diode and inductor more. Here I need more power efficiency from the 12V input so that should work. A simple go-to switcher.
\begin{center}
\includegraphics[scale=0.3]{../pics/DSCN2209.JPG}
\captionof{figure}{Prototype}
\end{center}
\section{Connecting the Sensor by a Wire}
Upon showing this to my family co. who wanted it, they mentioned they wanted a cable going to the sensor. I looked at the RKI Instruments flammable gas sensor, which we have a few of, and these used a 22 Gauge 4 conductor cable. That is \$50 for 100' of cable. A more DIY solution is to grab some 4 pair CAT5E or CAT6 and connect two wires to each screw terminal on the board. That is what I will do. Saves money, and should work no issue, up to the 30 feet max that I need. Any small box can be used for the sensors. I might build a pcb mount for those, or perhaps just some hot glue. Depends on what works the best, while being efficient.
\section{Calibration}
This is the real task of this project. Making a gas sensor is easy, calibrating it, is another step. Thankfully, some companies sell calibration tanks. For calibration you might calibrate on the LEL or the lowest acceptable level before an alarm should be fired off for a given chemical.
\section{References}
\begin{thebibliography}{99}
\bibitem{Schram}
Peter Schram,
\emph{Electrical Installations in Hazardous Locations}, first edition - 1991, National Fire Protection Association (NFPA), ISBN-13: 9780877653561.
\bibitem{Pickard}
Murphy Pickard,
\emph{Surge Stopper IC Simplifies Design of Intrinsic Safety Barrier for Electronics Destined for Hazardous Environments}, Linear Technology Magazine September 2009, https://www.analog.com/en/technical-articles/surge-stopper-ic-simplifies-design-of-intrinsic-safety-barrier-for-electronics.html .
\bibitem{EEVBlog}
Various,
\emph{Electronics Design for Explosive Envirionment}, EEVBlog Forums, https://www.eevblog.com/forum/chat/electronics-design-for-explosive-environment/?all, http://web.archive.org/web/20190410172437/http://www.eevblog.com/forum/chat/electronics-design-for-explosive-environment/?all.
\bibitem{Fuchs}
Various,
\emph{Explosion Protection and Intrinsic Safety 101}, Pepperl Fuchs, https://www.pepperl-fuchs.com/usa/downloads\_USA/explosion-protection-and-intrinsic-safety-101.pdf, http://web.archive.org/web/20190721221654/https://www.pepperl-fuchs.com/usa/downloads\_USA/explosion-protection-and-intrinsic-safety-101.pdf.
\bibitem{}
\end{thebibliography}
\end{document}

+ 19
- 0
FlammableGasSensor/docs/12.toc View File

@ -0,0 +1,19 @@
\contentsline {section}{\numberline {1}Overview}{2}
\contentsline {section}{\numberline {2}Chip Hunting}{2}
\contentsline {subsection}{\numberline {2.1}Gas Sensor Tuning}{2}
\contentsline {subsubsection}{\numberline {2.1.1}Fixed resistors}{3}
\contentsline {subsubsection}{\numberline {2.1.2}Gas Sensor Power Usage}{3}
\contentsline {subsubsection}{\numberline {2.1.3}PCB Layout}{3}
\contentsline {subsection}{\numberline {2.2}Switcher}{3}
\contentsline {subsection}{\numberline {2.3}Enclosure}{3}
\contentsline {section}{\numberline {3}CAD Layout}{4}
\contentsline {section}{\numberline {4}PCB Assembly}{4}
\contentsline {subsection}{\numberline {4.1}Place Sensors on the Floor}{5}
\contentsline {section}{\numberline {5}In Consideration of ``Hazardous Locations''}{5}
\contentsline {subsection}{\numberline {5.1}What Class is my Company?}{5}
\contentsline {subsubsection}{\numberline {5.1.1}Encapsulated Fuses}{6}
\contentsline {section}{\numberline {6}Existing Gas Detectors}{6}
\contentsline {section}{\numberline {7}Switching Power Supply}{6}
\contentsline {section}{\numberline {8}Connecting the Sensor by a Wire}{7}
\contentsline {section}{\numberline {9}Calibration}{7}
\contentsline {section}{\numberline {10}References}{7}

BIN
FlammableGasSensor/docs/fin.pdf View File


Loading…
Cancel
Save