Baochip-1x: A Mostly-Open, 22nm SoC For High Assurance Applications

For most people, just getting any old microcontroller or system on chip (SoC) from our favorite – or cheapest – vendor is more than good enough. But if you’re really into high assurance computing where every transistor has to be accounted for, you got a bit of a problem. This is basically why [Andrew “Bunnie” Huang] pitched in and had the Baochip-1x produced.

This SoC’s design is based heavily on the FPGA-based CPU in the Precursor device, which itself is claimed to be a fully verifiable communicator design. Since it does have an MMU, you can run any software on it that supports the RV32IMAC RISC-V instruction set, with a Coder’s Guide available for those who might feel interested in this SoC, along with the SystemVerilog and Verilog-based sources.

In addition to the DIY assembly process, you can even get a physical hardware version, including the ‘Dabao’ evaluation board with a very Raspberry Pi Pico-shaped form factor. Inside this SoC is a single-core, 350 MHz VexRISC-V core, 4 MB resistive RAM (RRAM) and 2 MB of SRAM, along with a whole heap of security-related features.

Reverse Engineering A 1960s Diode-Transistor Logic IC

Before transistor-transistor logic (TTL) took over, diode-transistor logic (DTL) was a common sight especially in pre-IC circuits where it was a major improvement over resistor-transistor logic (RTL). That said, it’s rare to see DTL used in ICs considering how e.g. TI’s 5400 and 7400 series set the trend in the 1960s. This makes the Signetics ST680a quad-NAND gate DTL DIP IC that [Ken Shirriff] ogled recently a bit of a treat.

This was also one of the earliest ICs to use the then brand new plastic dual in-line package (PDIP) for modular convenience, even if [Ken] was none too happy about as unlike ceramic DIP, PDIP requires more extreme methods to decap to access the die for reverse-engineering.

Overall, TTL is faster and less power-hungry than DTL, but it took a while to work out its issues, including noise immunity and fan-in/out issues. Until then alternatives like DTL still made sense as a well-understood and mature technology. In the article an example is provided of how a DTL NAND gate as used in this IC works, which is really quite simple in how it uses multiple diodes to sum the inputs, which subsequently drives the transistors.

We’d like to thank [CuriousMarc] for finding this IC in his strategic reserve of unknown ICs and for doing the initial decapping using hot air, as well as [Ken] for doing the analysis and documenting of this fascinating glimpse into early semiconductor logic history.

Using A Cheap DC Motor To Make A Go-Kart Go

Where Archimedes said that he could move the Earth given a large enough lever and a suitable fulcrum, [Current Concept] decided that he could give his own spin on this quote by swapping the lever and fulcrum for a tiny $1 DC brushed motor and a very large gearing ratio.

In addition to 3D printing a compound gearbox with the requisite 1,243:1 gear ratio, the video also covers the joys of getting a ‘Craigslist special’ go-kart for about the same price as the electric motor and having to undo many very special modifications.

With that done, the newly printed gearbox was installed, along with the single DC motor to drive it all. This actually managed to propel the go-kart, at a pace that would impress even a snail, so for the next phase instead of a single motor a total of fourteen were used, all adding their tiny bit of torque into the gearbox.

Although one has to keep in mind that the gearbox and chain mechanism will also take its slice of the provided energy along with other inefficiencies, one still cannot beat the laws of physics. Much like Archimedes’ lever powered by a piddly human, the conversion of RPM into torque for these small motors was never going to get you that zippy go-kart experience.

Which isn’t to say that someone shouldn’t totally put some BLDC motors to the task and see how fast a go-kart can be made to move using those and an optimized gearbox.

Continue reading “Using A Cheap DC Motor To Make A Go-Kart Go” →

Investigating Whether Zener Diodes Work For ESD Protection

Sometimes the naming of parts in electronics can contribute to confusion about what they are good for, with the topic of Zener diodes in the context of fast surges like those from electrostatic discharge (ESD) being a good example. In a recent video by [BTT Lab] this particular question regarding Zener suitability for suppressing ESD is addressed, as compared to transient-voltage-suppression (TVS) diodes.

The main argument against using Zener diodes for ESD and similar surge suppression is that they react too slowly, which obviously gives said surge time to cause some real damage. This is where a special form of avalanche effect-based diodes called TVS diodes are recommended, as their response time is in the picoseconds rather than nanoseconds or slower as for Zener diodes.

Although this is technically true, as also pointed out in the video, a Zener diode also uses the avalanche effect, with the diode starting off conducting in the reverse direction using the Zener effect before transitioning to the much faster avalanche effect. The transition point is hereby determined by how heavily the p-n junction is doped, making effectively all Zener diodes also avalanche diodes.

TVS diodes consequently are basically Zener diodes that are optimized for a very early transition to said avalanche effect. They are also generally larger than typical Zener diodes as they generate a lot of internal thermal energy while in reverse conducting mode, which has to be contained and shed without causing permanent damage.

The short version is thus that diodes marked as ‘TVS’ are the best choice for surge protection, while those marked as ‘Zener’ are best used for voltage clamping, reference voltages and all other typical Zener diode things.

Continue reading “Investigating Whether Zener Diodes Work For ESD Protection” →

Magnetic Lock Opens By Magic

Over on IEEE Spectrum, [Stephen Cass] has a project that would probably have seemed like a magic a few centuries ago. Imagine a box that uses a magnetic device to holds a locking bolt, requiring a magnet to disengage it. The only problem is that any strong magnet can open the box. [Stephen], instead, used an array of 64 Hall-effect sensors developed by [Peter Jansen] to look for a specific magnetic gesture.

Inside is a Teensy that can read the 8×8 grid of sensors. A magnetic stylus allows you to draw an unlock pattern. The system lets you train the gesture you want. There are a few problems. The sensor covers a small area, so it is hard to reliably produce the gesture. Putting an obvious mark on the box is a dead giveaway, so [Stephen] put a Celtic knotwork pattern on the box and uses part of it as a reference.

The other problem is that if you run out of battery, the box is locked forever. Well, at least until you apply mechanical force and break the box open. Wireless charging would be an option, but we might favor a small jack that would allow you to plug in an external battery.

This is a clever use of the sensor. However, we might have preferred a mechanical solution that didn’t require batteries. Or, perhaps, you could use a few normally open and normally closed reed switches to make a kind of magnetic combination lock. It would still need a battery, but it wouldn’t draw current until you connected the switches. Both methods also have drawbacks, of course. Like most things, you just get to pick the drawbacks you can live with.

You can see a video of the magnetic imaging tile from [Peter] below. We really want a setup like this for our secret door. We also wonder whether switchable magnets could provide a battery-free solution.

Continue reading “Magnetic Lock Opens By Magic” →

In Praise Of A Legendary Power Transistor

There are some devices which achieve electronic immortality, it’s likely that you have used a few of them yourself. The 555 timer of course, or the 741 op-amp. [ElectronicsNotes] is here with another candidate that might not have been on your mind as you read the previous sentences, and it’s a transistor. The 2N3055 is an NPN power transistor, no, THE NPN power transistor, that has found its way into an astounding array of devices over the last six decades or more.

For such a ubiquitous device one might imagine that there’s not much new to know, but the video delivers on that front. Here as well as probably for you the 3055 has always been an epitaxial device whose quirks you likely know well, but originally it was something different. It used the hometaxial construction process on its launch in the early 1960s, but in the mid 1970s it was replaced by a version with the same capabilities but using the epitaxial process. The consequent higher Ft required modifications to circuits using the device to stop unwanted oscillation.

Where this is being written there are several 2N3055s, in the by now rather old office audio amplifier, in a bench power supply, and probably elsewhere too. It’s been superseded in many ways and its TO3 case now feels antiquated, but it will probably never entirely go away. Meanwhile if you’d like to read about another iconic 1960s device that never went away, we have you covered.

Continue reading “In Praise Of A Legendary Power Transistor” →

Hairy Armor For Combat Robot? It’s Not Terrible!

[Angus] of Maker’s Muse enjoys combat robotics, in which contenders zip about in an arena, attempting to disable one another with weapons that lift, spin, and smash. He got a funny idea a short while ago and wondered whether a stiff mane of bristles could serve as lightweight, ablative, impact resistant armor?

Just to set the stage, [Angus]’s new robot competes in the plastic antweight (or “plant”) division, in which robots are limited to 150 grams with both chassis and weapons made of plastic. In such circumstances, one can see how a mane of thick, rigid “hairs” might actually punch above its weight, so to speak.

The green shape at the bottom is a spinning weapon. The bristles cover the sides and rear.

Nothing settles a question like a good experiment, so [Angus] sat down and redesigned his latest robot to replace its outer shell with a thick wad of bristles, in the style of a 3D printed lion’s mane. Filament is bridged between the model and an outer support structure, which is cut away afterwards to expose the “hairs”.

How well did it perform? Well enough to merit further study! Where past robots got their outer shells broken up, the hairy robot seems to have come through quite intact. It seems the idea might not be as silly as it first seemed, at least in the plastic antweight division.

3D printers have been fantastic in the field of combat robotics. First they were great because they made custom parts easier and more accessible to hobbyists, but things have evolved more since then. Now folks compete by putting motors and electronics inside almost entirely 3D printed robots. There’s never been a better time to get into combat robotics, and experiment with unorthodox designs.

If you want to try a hairy robot for yourself, be sure to watch the followup in which [Angus] improves the hair-generating process considerably.