Engineers vs. Doctors

We depend on doctors to do the right thing. But they make mistakes. Hopefully they are working in good faith to help a person. Those are the doctors that you see. They are the face treating you directly. Behind the scenes there are many expert doctors from whom they take advice either directly or from studies that have been performed. But all of that knowledge has to funnel to this one (or many) people that you see. It is their interpretation and “practice” of medicine that treats you. Doctors affect people directly one at a time. They can also save people one at a time just as a firefighter can run into a burning building and save people… one at a time.

Engineers do not deal with people directly but they affect people significantly. If an engineer makes a mistake in the architecture of a building that causes it to come crashing down, that engineer is at fault and has affected all of the people who died and their families. But a single engineer can affect many more people. A firefighter may save a family in a night. But the engineer could have designed a better circuit breaker to prevent millions of fires.

I have been working in Electromagnetic Compatibility (EMC) for many years. We minimize problems that could affect many people. I have worked in Aerospace EMC making aircraft safer. It was funny. I was on a plane just recently. Was holding my phone near the window because I had an offline map program using GPS so I could watch our speed and height. A woman in my row spoke to me. I think her name was Karen because she said “Sir, is your phone in airplane mode?”. I stated that it was and what I was using was GPS which is still on in airplane mode. What I did not tell her was I wrote quite a bit in favor of keeping airplane mode during takeoff and landing when there was a push to end it. It is just better to err on the side of safety as phones may affect navigational equipment.

I also worked in the automotive industry helping keep our cars safe. Making devices for cars and ensuring those devices comply with well thought through standards is what I did. Working with major OEMs such as General Motors (GM), Fiat-Chrysler Automotive (FCA but now Stellantis) and Ford to name a few. What seems like little pieces of the puzzle can affect many vehicles and people. The automotive industry does it so well that Space looks to automotive for components and EMC engineers. Which segways into my current work in the Space industry which does not affect as many peoples’ lives directly but affects a huge industry. Commercial is the new Space Economy and, to move fast, they will cut corners. You see it with Elon and some of the mistakes. I hope my work will prevent problems at least in my little corner. An attending doctor affects a few lives at a time but engineers can affect a great deal more. So, doctors, take good care of your engineers.

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

Be Safe Out There

Rocket with flag flies the sky. 3D

New Commercial Space Economy

  There are so many new companies popping up right now that want to do something in space. This is the next generation. For years NASA dominated space at least for manned spaceflight. NASA had the experience. They went through disasters and learned lessons which led to safer procedures. Statistically there will be a disaster. The chance of dying in space is 2.9% (https://en.wikipedia.org/wiki/List_of_spaceflight-related_accidents_and_incidents). It will probably get worse with commercial spaceflight. But both are similar from a risk perspective. NASA is a government institution which tries to fly on the cheap because congress limits budgets or commercial which limits budgets based on profit. Which system is better? Probably the government institution for safety. But only time will tell. NASA will cancel a program if it does not look safe. Commercial may take risk and launch but, even more likely, they don’t know or underestimated the risk. 

  I write this because of the recent Peregrine failure (https://www.newscientist.com/article/2413225-why-the-peregrine-moon-lander-was-burned-up-in-earths-atmosphere/). It is sad because so much was lost. So many science experiments that people may have worked on for years just thrown away. Before the launch I had listened to a podcast where the CEO of @Astrobotic who made Peregrine lander which was slated to be the first US lander to go back to the moon. It is part of the Commercial Lunar Payload Services (CLPS) program [https://www.nasa.gov/commercial-lunar-payload-services/]/ This program will take cargo to the moon in preparation for @Artemis missions. Eventually items for a moonbase. But the next CLPS mission is another lander by a company called Intuitive Machines ( @Int_Machines ). And Astrobotics has another mission coming that is important. Their Griffin lander will carry Viper which is a rover to look for water in the regolith. This is important since water is important for any moonbase. It is also important because it is desired to make rocket fuel (H and O) to make fueling for a trip to Mars easy. 

  A long winded intro. What I want to convey is that commercial ventures cut corners to reduce cost. I have seen it in automotive, aerospace and many other places. Cutting corners increases the risk of failure. The companies do not want failure because there is a financial loss and also a loss of confidence from their customers and shareholders. Eventually these companies will learn to not cut corners. Hopefully few people will get hurt or die in the new Space Economy. 

 

Posted in Uncategorized | Tagged , , , , | Leave a comment

Windows

My bout

Last weekend I decided that I wanted to just play with my scanner and read some APRS data. Truly geeky. I found a cheap laptop on which I could put Linux because you can’t really do much real with windows. So, I did some research and found some cheap ones at Microcenter. They don’t have to be super strong because Linux is not bloated with a bunch of useless things. I get to Microcenter which is the last place that exists after Radio Shack then Fry’s went down. Good stuff but I talk to a guy in the PC section who tries to upsell me, Tells me PCs are locked so I can not put Linux on and that they do not sell PCs as cheap as I am looking. He walks away. Another guy show up. I tell him what I am looking for. He say it is in the back and he will get it. Now the other guy was clueless or on commission trying to BS me.

I get the computer and audio cable and in/out probably 20min. Get in my car and figure that I had better check out and make sure the audio cable works. So, I thought that I could open the lid, set a new password for windows to use sound recorder to check it out. OM()G… no… need internet access… ok… need that for linux too…a million questions later… now I HAD to create a Microsoft Account… I don’t want an account… I don’t even want Microsoft. Fortunately I had the foresight to bring a memstick with Linux on it. Not too long later I was up and running…. decoding APRS packets. To do that in Windows I would probably have problems with the software, making it work with Windows… no thanks.

In addition, I had to look at the .csv file from the data collected from broadcasting APRS sites in the area. Fortunately Linux has available a free suite called LibreOffice. Available is a Word Processor program (Writer) and Spreadsheet program (Calc). They import export many different file formats even those promoted by the company I am referring to in this Blog. There is also a presentation program and a database program….. all free.

The other big advantage over window is that you can do programming out of the box. For APRS, I get latitude and longitude data for sites that transmit. One file format is .kml but it is quite tedious to convert the .csv to .kml. BUT, someone had a little Python script to do just that. Linux comes with many programming languages. I like Python because it is interpreted and not compiled.

So, I was able to get my .kml file created and mapped again using a free program called Marble. I have much more project goals like setting up mu own APRS transmitting site. But the moral is, if you do anything technical, you should really get/learn Linux.

Posted in Uncategorized | Leave a comment

The Wave Equations in Electromagnetics

Just showing how to get to wave equations from Maxwell’s equations

Posted in Uncategorized | Leave a comment

Gravity

This is in response to Elon Musk (or, really, the person that posts in his name)

It is simplistic but one should actually prove what they say. Too much opinion on the internet without facts to back them up.

The question was the classic two objects falling from the same height, of the same shape (to keep atmospheric drag out of the analysis) but of different masses. Which would hit the ground first? Most adults know the answer. But why? We answer that acceleration due to gravity is constant. It mostly is. Infinitesimally, each object pulls on the earth a little bit more or less. Can we measure that or does the centrifugal force of the earth going around the sun negate such a minuscule pull… I don’t know. But I think we can throw that out for this analysis.

So, that is my proof. Feel free to comment.

Posted in Uncategorized | Leave a comment

ESD Patch

A fix

Working in automotive, we would have Electromagnetic Compatibility (EMC) and Electrostatic Discharge (ESD) failures. As with any product this usually happens with new designs. As senior engineer at a company, such an ESD failure fell into my lap. A chip was close to the outside surface of a product and there was a gap in the plastic. Neither one of these constraints could be changed because it would affect functionality. Filming the arc, it was shown that the arc would impinge upon the ground pin of the chip or, occasionally, the positive supply pin. As a group, we met to solve the problem and the best that could be offered was a conformal coating. I calculated the attenuation from the coating and it did not seem to be sufficient. I stated this and was asked if I had a different solution. I did not at that time. Since it was a hot item from management and the customer, the conformal coating method was implemented and tested. But it was not fully successful.

Pre-Covid I would work remotely occasionally as I preferred to work at Starbucks distraction less. I was working on something else but the ESD problem was always in the back of my mind. Getting away from the office in a more creative environment always yielded good work. I was thinking about the ESD problem and all of the constraints and wanted to come up with something that was an easy process. I knew that I needed to create a shield that gave the arc a different place to go and a separate ground for that shield. I did not want to add new metal as that would require attachment. Finally I thought of using the existing copper foil on the bottom, not connect it to any top layer and use the plastic that held the PCB to fold the foil at a right angle when inserted to make a shield. The foil had to be longer and I eventually had to have mechanical look at it and make some modifications on the shape for clearance but it still was a point for greater affinity for the arc. I had some prototypes built and tested the ESD with zero failures. The PCB was connected to a main PCB by a flex line. Good attention to segregation between the return ground and the shield ground and other traces helped with a successful design as well.

Another ESD failure was mitigated by only a software change. Although not a programmer, I liked doing some embedded work. More hacking really. I was trying to understand the method for handling switch bounce one day in software. When I came across a filter in the documentation specifically designed for ESD problems. We happened to have ESD failures and implementing the delay filter fixed the problem. The software engineer who was working the problem for months was scolded but, in my eyes, he was just over worked with too many products.

Posted in Uncategorized | Leave a comment

Programming

A mindset

I have been programming since I was in High School. It started when our Math teach was visionary enough to get Apple IIe computers and create a programming class. I soared and my High School geekyness culminated in making a database program for Wrestling statistics. This introduction to databases paid off when I was an intern at Ameritech Cellular (now Verizon) where I created a Micrsoft Access database of all of the cellsites in the network. In college, for my Bachelor Senior Design project, I learned C on the fly to process Head Related Transfer Functions (HRTFs) which came from research done at MIT. Using Digital Signal Processing techniques we developed a GUI to draw a path in space, took a monaural input sound and made it sound like it was traveling the path drawn. My task was the signal processing in C. The most difficult part of learning C was memory allocation. The bain of my existence at the time was malloc().

Generally, though, programming is no so much about syntax as thought process and helps one improve problem solving. I think I am a better electrical engineer because of all of the years of programming starting with simple Basic programs and controlling pacman sprites on an old Commodor 64 to having a Linux computer next to this Windows laptop. As I write this, my Linux computer is collecting data for a customer from a Python program that I wrote. Later I will take the data and do some statistical processing. I learned Python before to do a customer project using a USRP which is a Software Defined Radio (SDR) platform. Last year, though, I did a refresher because I was doing a Machine Learning course and it was Python intensive.

To digress, once you learn a programming language, the other languages come easier and easier. It is just a matter of syntax. But base concepts are the same. As an adjunct lecturer at the University of Illinois at Chicago (UIC) I had many Indian students. One guy like to chat during office hours and I wast talking to him about how India invested 30 years ago (probably 40 now) into teaching their children the skills for programming and so that is why many became programmers. He said (half joking) “No, Ron. The reason everyone wants to become programmers is that it is damn hot in India and computer rooms are air conditioned.” Another student thought the same way that I do that, once you learn one language, you can learn another easily. So he admitted that many Indians would fabricate their resume that they knew many languages even though they did not. Then they would just learn on the job.

Posted in Technology | Tagged , , , , , | Leave a comment

Free Energy

Debate with a biker

My last office was within walking distance of various lunch places. One was interesting with a hippie vibe and also all Vegan. I liked the food and would eat there often. Sometimes an old biker with a big white beard would be there and I would converse with him as I enjoyed riding too (Harleys are nice but noisy). One day he told me about the free energy system for his Harley. I was skeptical but thought I would hear him out. He said that he had a system that he learned about from a friend that produced Hydrogen and Oxygen from the motorcycle’s battery. Then the Hydrogen got fed int the air intake. He said that timing had to be adjusted but it worked. I asked a few question like what did he do with the Oxygen (vented) and how did he think that he was getting free energy. The answer to the later question was that he looked at his fuel efficiency with the system off and on. He said that he got a 5mpg increase with the system on. I asked how long he ran each test . He said a month each.

So, at this point I say there is no such thing as free energy and explain that the electrolysis uses power from the generator/alternator an so the motorcycle uses more power to make that H2 and so you could not have a gain. He was adamant about his MPG increase so I said that I would look into it.

Over the next week or so, the problem was in the back of my mind as I worked on paid projects. I do this a lot. In my last job I solved a difficult EMC problem like that. They came up with a solution but I knew it was not a full solution but also had nothing better at that time. Over the next couple weeks it (the solution) came to me. This MPG problem was the same process. One day I was eating lunch at the Vegan place and describing to someone what I knew about making gasoline and cracking towers. It came to me when I realized the hydrocarbons are much bigger than hydrogen molecules. The hydrocarbons must burn slower and therefore give less energy than burning pure hydrogen. Looking up some data we see:

H2 + 0.5 O2 −→ H2O + 286, 000 joules => 141,873.52 Joules/g (STP)

1 gallon gasoline + oxygen −→ carbon dioxide + water + 132, 000, 000 joules =>

46,478.873 Joules/g

If you compare the two, hydrogen is about three (3) times as powerful to burn as gasoline. If you consider that an alternator is 50% efficient (conservative) and electrolysis is highly efficient, you actually do get a gain.

I started thinking about this old problem with the Artemis I delays due to hydrogen leaks. From what I understand, they only allow 4% H2 leakage. Higher than that becomes an explosion risk.

#hydrogen #electrolysis #artemis #hnbelectronics

Posted in Uncategorized | Leave a comment

The Most Powerful Rocket – SLS

Artemis 1 slated to launch 7:33am (CDT) on Monday, August 29th, 2022

At 322 ft. high and 8.8 million pounds of thrust, it will launch from Cape Canaveral, Florida Pad 39B. It will launch into orbit and then later that afternoon leave orbit and head to the moon. There are backup dates in September if there is a launch delay. This is Artemis 1 and will be unmanned but with a bunch of science. The two major goals are to prove out the rocket system and the Orion capsule heat shield coming back to earth. But there is other interesting science like the dummies to represent the crew and effects on them, cube satellites will be deployed on the way to the moon which usually are only for earth orbit, Snoopy and Amazon Alexa just name a few. It would be interesting to list all of the cube sats but one to mention is supposed to land on the moon. Cube sats are usually only around 10cmx10cmx10cm.

The Space Launch System (SLS) will be the most powerful rocket ever launched. SpaceX’s Falcon Heavy comes in at 5.13 million pounds of thrust. The Saturn V was about 7.9 million pounds of thrust. SpaceX Starship boasts 16.1 million pounds of thrust. The later SLS Block 2 will have 9.5 million pounds of thrust.

If this launch and return is successful, Artemis II will be the next mission in 2024 and will be manned. It will only take the crew around the moon and not land. Artemis III is very interesting manned mission planning a landing at the lunar South pole. If I have it right, SLS will take four astronauts via Orion to the Gateway in orbit around the moon. Preceding this the Starship Human Landing System (HLS) will dock with the gateway and be available when Orion arrives. Two astronauts will disembark Orion and transfer to the HLS to go down to the lunar surface. They will return to the Gateway after finishing the science and then transfer back to the Orion to come home. And, remember, all of this is in preparation for a South Pole base and Mars missions.

artemis #nasa #moon #apollo #space #spacex #mars

Posted in Uncategorized | Leave a comment

Automotive Switch Multiplexing

The Need

Resistive Ladder Network

This is a simplistic article in some ways but it also points out ingenious thinking and younger engineers may have never thought of this technique.

Wire is costly. So, in planning a vehicle, you want to minimize the amount of harnesses. One way to do that for switch modules with multiple switches is to implement a LIN based module with a microprocessor that codes each switch press and sends that over the LIN bus. So, then, you just have power, ground and the LIN line (three line) versus switches plus two of the old dumb switches (i.e. 7 wires for a 5 switch module).

At some point, someone came up with the simple concept of a resistive ladder network to multiplex switch pushes. There are advantages and disadvantages which you can figure out. The simplicity is that the vehicle building picks logic levels representing button presses. The resistive ladder gives those levels when a button is pressed. Figure 1 shows a potential circuit to accomplish this for a five (5) button module.

Figure1

The matrix and logic levels are shown in Figure 2.

Figure 2

One can easily calculate the resistor values to give the logic levels at V7. Figure 3.

Figure 3

Check my work. I used to make matricies and use Network Theory to do this. R7 is given by the vehicle manufacturer as is the logic levels.

Posted in Technology, Uncategorized | Tagged | Leave a comment