<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: agoetz</title><link>https://news.ycombinator.com/user?id=agoetz</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 21 May 2026 03:19:27 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=agoetz" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by agoetz in "Edge of Emulation: Game Boy Sewing Machines"]]></title><description><![CDATA[
<p>Another benefit of biased representation, is that it makes error values extremely noticeable.<p>It is common in automotive situations to reserve part of the representable range to indicate error or SNA (signal not available) conditions. If you wanted to reserve the largest positive numbers for error codes, then their hex representation would look something like 0x7FFF, which can be hard to spot in a data stream. If you used the largest negative numbers, then they would look something like 0x8000, which is also not very intuitive.<p>By using biased representation, you can use values like 0xFFFF to indicate error values.<p>Of course, you could use something like bit-flags to represent errors, but that wastes a whole bit of bandwidth. Much more efficient to amortize the enumerated value over the whole signal.<p>You can see a real-world example of these types of signals as defined by SAE for heavy duty trucks here: <a href="https://www.scania.com/content/dam/scanianoe/market/au/products-and-services/engines/electrical-system/CAN-Interface_Issue-6-3.pdf" rel="nofollow">https://www.scania.com/content/dam/scanianoe/market/au/produ...</a></p>
]]></description><pubDate>Fri, 05 Jun 2020 18:04:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=23431715</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=23431715</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23431715</guid></item><item><title><![CDATA[New comment by agoetz in "Ntpd won't save you from one particular rogue bit"]]></title><description><![CDATA[
<p>Most RTCs do use the same crystals that are in wristwatches, which is actually the source of their error.<p>The tuning fork crystal design used in wrist watches has a parabolic temperature coefficient, which means that the clock is only really accurate at room temperature. This isn't a problem for wristwatches, because, presumably your wrist is at approximately room temperature, but it does become a problem for electronics that operate with large temperature swings. (like the inside of a phone or computer, for instance).<p><a href="https://www.maximintegrated.com/en/app-notes/index.mvp/id/58" rel="nofollow">https://www.maximintegrated.com/en/app-notes/index.mvp/id/58</a></p>
]]></description><pubDate>Thu, 28 Sep 2017 18:42:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=15359718</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=15359718</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15359718</guid></item><item><title><![CDATA[New comment by agoetz in "GERT: Run Go on Bare Metal ARMv7"]]></title><description><![CDATA[
<p>> Embedded systems, IMO, must be deterministic, reliable and consistent.<p>This is the definition of a hard real-time system. In most of the literature, 'embedded system' is a broader term that just means there is some compute embedded in a  device that performs a larger task.</p>
]]></description><pubDate>Tue, 20 Jun 2017 00:34:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=14591433</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=14591433</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14591433</guid></item><item><title><![CDATA[New comment by agoetz in "Upping the volts will make hybrid cars much cheaper"]]></title><description><![CDATA[
<p>Actually this article is talking about mild hybrid technology: Which is about upping the voltage for traditional non hybrid vehicles from 12V to 48V, giving them some hybrid like features on the cheap.</p>
]]></description><pubDate>Fri, 12 Aug 2016 15:02:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=12276245</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=12276245</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=12276245</guid></item><item><title><![CDATA[New comment by agoetz in "This should never happen"]]></title><description><![CDATA[
<p>SW Solution:<p>1. Store embedded system state in data structure.<p>2. Calculate a checksum for that data structure.<p>3. Verify that checksum is correct.<p>HW Solution:<p>Lockstep Execution/ECC memory, etc.</p>
]]></description><pubDate>Thu, 31 Mar 2016 15:50:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=11398032</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=11398032</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=11398032</guid></item><item><title><![CDATA[New comment by agoetz in "Fun with Software-Defined Radios: Mapping the Spectrum in the Mission, SF"]]></title><description><![CDATA[
<p>If you try to estimate power spectral density using the intuitive unbiased estimator (the DFT), you are going to have a bad time. A vanilla periodogram has very high sideband leakage, which means that the energy of the signal at a single frequency will look as if it "smeared out" across neighboring frequencies. The standard solution to this is to use the so-called 'modified periodogram' where the implicit rectangular window is replaced by a different windowing function with lower sideband leakage. In general, there is a direct tradeoff between sideband power and center frequency power, and in this application, you would do well to use a different window, such as the blackman-harris, or hamming window.  See [1] for more details.<p>In addition even the modified periodogram discussed above has asymptotically nonzero variance [2], which means no matter how many samples you take, you will still have 'noise' in your PSD estimate. If you use biased estimators of the periodogram, such as the welch-bartlett method or the blackman-tukey algorithm, you will get much better results.<p>[1] <a href="http://www.ni.com/white-paper/4844/en/" rel="nofollow">http://www.ni.com/white-paper/4844/en/</a><p>[2] <a href="http://www.mathworks.com/help/signal/ug/nonparametric-methods.html" rel="nofollow">http://www.mathworks.com/help/signal/ug/nonparametric-method...</a></p>
]]></description><pubDate>Wed, 09 Sep 2015 23:33:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=10195349</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=10195349</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10195349</guid></item><item><title><![CDATA[New comment by agoetz in "Digital Music Couldn't Exist Without the Fourier Transform"]]></title><description><![CDATA[
<p>Claiming that the FT is not necessary for digial audio is like claiming that the you don't need the rocket equation in order to build a missile. Sure, its technically possible, and yes, there were probably early pioneers that forged ahead before the mathematical theory was fully sketched out, but our understanding of the fourier transform has drastically increased our ability to design acoustical systems.<p>Those analog anti-aliasing and anti-imaging filters are designed using LTI systems theory, that fundamentally rely on the Fourier tranform to reason about their transfer functions. The Nyquist-Shannon sampling theorem was proven using the fourier transform. Without the fourier transform, you need to rely entirely upon time domain representations of signals, and perform your analysis using tedious convolutions. You can't use a spectrum analyzer to examine the signal to noise ratio of your CD player. While it's true that digital music could technically exist without the fourier, there is no way in hell it would be as pervasive as it is today.</p>
]]></description><pubDate>Mon, 04 May 2015 19:11:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=9488353</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=9488353</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9488353</guid></item><item><title><![CDATA[New comment by agoetz in "Show HN: 2D PID controller simulation"]]></title><description><![CDATA[
<p>Yes. Reformulate the systems transfer function into a state space representation, and then solve the algebraic ricatti  equation  to find an optimal gain matrix. This is know and the LQR problem.<p><a href="http://en.m.wikipedia.org/wiki/Linear-quadratic_regulator" rel="nofollow">http://en.m.wikipedia.org/wiki/Linear-quadratic_regulator</a><p>Switching the output from 100% to -100% is another viable approach, known as bang-bang control, but it is not necessarily  optimal</p>
]]></description><pubDate>Sat, 02 May 2015 16:36:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=9477611</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=9477611</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9477611</guid></item><item><title><![CDATA[New comment by agoetz in "Toyota's killer firmware: Bad design and its consequences (2013)"]]></title><description><![CDATA[
<p>The apollo guidance computer actually used a sophisticated software interpreter for most of its code. Not just a "computational loop with no branches"<p><a href="http://en.wikipedia.org/wiki/Apollo_Guidance_Computer#Software" rel="nofollow">http://en.wikipedia.org/wiki/Apollo_Guidance_Computer#Softwa...</a><p>In addition, there is no way in hell that the control algorithms it was using could have been developed without the use of computers. State-space control theory was specifically developed to take advantage of discrete-time control systems.<p><a href="https://www.hq.nasa.gov/alsj/ApolloDescentGuidnce.pdf" rel="nofollow">https://www.hq.nasa.gov/alsj/ApolloDescentGuidnce.pdf</a></p>
]]></description><pubDate>Sun, 26 Apr 2015 20:47:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=9443209</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=9443209</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9443209</guid></item><item><title><![CDATA[New comment by agoetz in "Toyota's killer firmware: Bad design and its consequences (2013)"]]></title><description><![CDATA[
<p>OSEK is a an industry standard rtos that is used by almost all automotive players. It is specifically designed for use in the automotive environment. Toyota actually claimed to use an OSEK compliant rtos, but it later surfaced in this lawsuit that they had written their own implementation that was never certified by an outside organization. OSEK is in the process of being superseded by AUTOSAR, which defines much more than just the os, and included a large hal that allows for plug and play middleware libraries. Unfortunately it isn't economical for every ecu to make use of AUTOSAR: it has heavy resource requirements (> 2Mbyte RAM) and so many applications don't use it.<p>Also on the horizon is ISO26262, which mandates quality  assurance  for automotive  embedded code in the form of paper trails. Unfortunately  due to the huge amount of work required by the standard, some automakers are choosing  to ignore it and hope it doesn't become mandatory.</p>
]]></description><pubDate>Sun, 26 Apr 2015 14:52:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=9441946</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=9441946</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9441946</guid></item><item><title><![CDATA[New comment by agoetz in "New High-Tech Farm Equipment Is a Nightmare for Farmers"]]></title><description><![CDATA[
<p>Modern EPA requirements mean that it is impossible to design a compliant off highway commercial vehicle without relying on advanced electronic process controls. Your grandfather's tractor might be repairable with baling wire, but it also releases a ton more diesel particulates.<p><a href="http://www.deere.com/en_US/ProductCatalog/FR/media/pdf/8r_series/it4_45549_2011.pdf" rel="nofollow">http://www.deere.com/en_US/ProductCatalog/FR/media/pdf/8r_se...</a><p>There's no incentive for companies to publish information on their vehicle bus interfaces, since it would basically give away trade secrets to competitors.</p>
]]></description><pubDate>Fri, 06 Feb 2015 02:07:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=9007404</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=9007404</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9007404</guid></item><item><title><![CDATA[New comment by agoetz in "“Why does a car like the Tesla still have old-style fuses?”"]]></title><description><![CDATA[
<p>Adding a new sensor to monitor the fuses would not be cheap:first off, you have to have signal conditioners for the a/ds that can handle esd transients, and >60 v load shed events. In addition, the existing design probably just has fuse holders physically mounted to the holder packaging, which means now your paying for  microcontroller, can transceiver, and pcb. This doesn't include NRE costs including development and testing.<p>Suddenly your "inexpensive" adc had become a $200 ecu that merely tells the driver wheat part of the car isn't functioning, right before they check the most common cause of the problem.</p>
]]></description><pubDate>Sun, 11 Jan 2015 09:01:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=8869498</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=8869498</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8869498</guid></item><item><title><![CDATA[New comment by agoetz in "Analog's answer to FPGA opens field to masses (2008)"]]></title><description><![CDATA[
<p>Signal conditioning is still an important part of EE design. Not all signals are TTL level and unipolar.<p>For example, this appnote[0] uses a Delta-Sigma converter to digitize a load cell, with the ability to "detect one sheet of copier paper dropped on a stack of 20 reams". In order to do this, it relies on an intrumentation amplifier and custom correlated-double sampling to get a measurement accurate to 200,000 counts.<p>And even if your input signal can be directly input to your ADC, you'll still need an analog anti-aliasing filter.<p>Signal conditioning is an important part of signal processing that has to happen in the analog domain.<p>[0] <a href="http://cds.linear.com/docs/en/application-note/an96fa.pdf" rel="nofollow">http://cds.linear.com/docs/en/application-note/an96fa.pdf</a></p>
]]></description><pubDate>Tue, 11 Nov 2014 19:56:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=8591800</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=8591800</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8591800</guid></item><item><title><![CDATA[New comment by agoetz in "Tesla: Introducing Autopilot and Dual Motor All Wheel Drive"]]></title><description><![CDATA[
<p>Generally the system will fall back to a 'limp home mode' running on a simpler algorithm on a watchdog microcontroller. See for example, Freescale's reference design for an airbag controller.<p><a href="http://www.freescale.com/webapp/sps/site/application.jsp?code=APLAIRBAGS" rel="nofollow">http://www.freescale.com/webapp/sps/site/application.jsp?cod...</a></p>
]]></description><pubDate>Fri, 10 Oct 2014 16:39:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=8438678</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=8438678</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8438678</guid></item><item><title><![CDATA[New comment by agoetz in "How the Z80's registers are implemented"]]></title><description><![CDATA[
<p>Register renaming has been around since the 60's in the form of Tomasulo's Algorithm.</p>
]]></description><pubDate>Mon, 06 Oct 2014 07:45:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=8414732</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=8414732</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8414732</guid></item><item><title><![CDATA[New comment by agoetz in "Why the Z-80's data pins are scrambled"]]></title><description><![CDATA[
<p>DRAM refresh circuit, not SRAM. The "S" in SRAM means that it doesn't need to be refreshed.</p>
]]></description><pubDate>Sat, 27 Sep 2014 01:00:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=8375663</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=8375663</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8375663</guid></item><item><title><![CDATA[New comment by agoetz in "Reverse engineering a counterfeit 7805 voltage regulator"]]></title><description><![CDATA[
<p>Not necessarily. The LM7805 has a maximum operating temperature of 125C, so a circuit can be operating nominally at a very high temperature.</p>
]]></description><pubDate>Sat, 06 Sep 2014 18:23:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=8279039</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=8279039</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8279039</guid></item><item><title><![CDATA[New comment by agoetz in "Show HN: Take It Apart"]]></title><description><![CDATA[
<p>Most of the magic doesn't come from the robots, it comes from the soldermask. Surface tension from molten solder will move misaligned parts by a surprising amount:<p><a href="http://youtu.be/N_195d7bP9M?t=3m10s" rel="nofollow">http://youtu.be/N_195d7bP9M?t=3m10s</a></p>
]]></description><pubDate>Fri, 16 May 2014 03:28:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=7753574</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=7753574</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7753574</guid></item><item><title><![CDATA[New comment by agoetz in "Experiment: Eliminating Toast Sweat"]]></title><description><![CDATA[
<p>Bonus: Once you have a couple of data points from the tape method, you can extrapolate the emissivity of the toast itself and calculate a correction factor for your IR gun.</p>
]]></description><pubDate>Sat, 12 Apr 2014 16:38:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=7578308</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=7578308</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7578308</guid></item><item><title><![CDATA[New comment by agoetz in "Gears of war: When mechanical analog computers ruled the waves"]]></title><description><![CDATA[
<p>Make a circuit "digital" does not automagically make it more accurate, and you cannot "add bits" to a datatype to make your  measurement more accurate.<p>Before a digital circuit can process a signal, it must first be quantized, an inherently analog process. Your digital data is only as good as your analog signal, plus inherent quantization noise[1]. In addition, any mixed-signal IC represents a design compromise between digital and analog constraints.<p>Any signal processing system is inherently limited by the SNR of its source signal. There is no point in building a more accurate converter than the noisiest component of your input data. In fact, when metrologists are trying achieve the maximum accuracy in their measurements, it is not uncommon to leave a test circuit on for days at a time, in order to reach a thermal equilibrium to minimize the seebeck effect[2].<p>And when engineers to need to make the most accurate of measurements, what do they turn to? Analog circuits. The world's most accurate voltage reference, the Kelvin-Varley Divider, dates back to the late 19th century[3]. For a modern example of a precision reference, see Jim William's excellent white paper, "Quantifying Silence"[4].<p>[1] <a href="http://en.wikipedia.org/wiki/Quantization_(signal_processing)" rel="nofollow">http://en.wikipedia.org/wiki/Quantization_(signal_processing...</a><p>[2] <a href="http://www.keithley.com/knowledgecenter/knowledgecenter_pdf/LowLevMsHandbk.pdf" rel="nofollow">http://www.keithley.com/knowledgecenter/knowledgecenter_pdf/...</a><p>[3] <a href="http://en.wikipedia.org/wiki/Kelvin%E2%80%93Varley_divider" rel="nofollow">http://en.wikipedia.org/wiki/Kelvin%E2%80%93Varley_divider</a><p>[4] <a href="http://cds.linear.com/docs/en/application-note/an124f.pdf" rel="nofollow">http://cds.linear.com/docs/en/application-note/an124f.pdf</a></p>
]]></description><pubDate>Tue, 18 Mar 2014 06:21:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=7420459</link><dc:creator>agoetz</dc:creator><comments>https://news.ycombinator.com/item?id=7420459</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=7420459</guid></item></channel></rss>