I didn’t really think about the BOM cost of my programmable decade resistor until I was asked. Then I also wanted to know. It is fairly difficult to put a number to what I paid, since I had a lot of components left from other projects that I could use. This includes not only cheap chip resistors and MLCCs, but also connectors etc.
I was asked a few times how I did the front and rear panels, so this is what I’d like to talk about in this blog. There are different ways to achieve a similar result. For me, the easiest and most cost-effective solution was to just design another PCB - I know how KiCAD works and it does everything I need it to do.
After being asked about some aspects of the mechanical design and components used a few times, I’d like to address those questions. I have to admit that I’m neither very good at mechanical design, nor do I have a 3d printeror a workshop where I can do metal work myself. That being said, I was still able to design a reasonably professional looking device and bring it to life with the help of modern prototyping services.
After the modification described in the previous post I let the the “adjustment”/calibration procedure run again. Five days later I repeated the calibration (not the adjustment). As before, all measurements are performed with an Agilent 34401A 6.5 digit multimeter.
I went into this project with the thought that it will be a rather small one. This certainly influenced some decisions I made along the way. Now that the project had evolved into a much larger thing than initially anticipated it’s reasonable to have another look at possible optimizations, albiet the calibration results were already pretty satifactory.
In one of the previous I covered in depth, how I use the term “calibration” in the context of the programmable decade resistor and how the calibration procedure works. Today it’s all about the result.
Generally, test and measurement equipment needs a certain period of warm-up time to provide low drift. That is also true for the programmable decade. I’m especially interested in the warm-up time with all relays off as well as with many relays on. I chose a value of 100 kΩ100\text{ k}\Omega for the second test. (For simplicity I decided against using latching relays, however that would be a better choice performance-wise as mentioned before. Due to the additional power dissipation in the relay coils the curves will look different.)
In this post I’ll show a few pictures of the programmable decade resistor in its enclosure.
Inside the unit Mainboard with some powered relays Rear panel: Optional terminals for channel 2, digital inputs, USB, power and fuse Unit with the case closed
The mainboard features the main controller paired with an EEPROM, the resistor decades (precision resistors, signal relays) including two temperature sensors, relay drivers and signal conditioning for the two external digital inputs.
Main controller The main controller is a STM32G441KBT6 microcontroller (170MHz Cortex M4, 128kB Flash, 32kB RAM). The microcontroller features a USB 2.0 device peripheral.
The block diagram provides an overview of the different circuit groups of each functional block, their internal connections and external interfaces. The Programmable Decade Resistor consists of three main functional blocks:
Power supply (Power Supply Board) Programmable decades, control and driver circuits (Mainboard) User Interface (User Interface Board) The power supply board uses an off-the-shelve AC/DC converter to provide a +15V rail. The +15V rail powers the relays on the mainboard as well as a DC/DC converter. A single DC/DC converter generates a +3.3V supply for both the mainboard and the UI board, including the LED display. The power rails are earth-referenced. (Nevertheless, the inputs of the Programmable Decade Resistor are floating thanks to the isolation of the relays.)
Now that we have a calibrated programmable resistance decade, we can try to make the programmable decade resistor more accuracte - for higher resistance values. Actually, the idea behind that is trivial.
I’d like to start with an example in which we set a resistance value of Rset=100.000 kΩR_{set} = 100.000\text{ k}\Omega. (Let’s not worry about temp drift, contact resistance etc.) In my case all resistors have a specified tolerance of 0.1%0.1\%. So we’d expect a resistance somewhere in the range of
In the last post we had a look at the short circuit performance of a decade. This time I want to address the question whether we can make the resistor decade more accurate, despite the fact that the design doesn’t feature any mechanism ( e. g. potentiometer) to adjust resistance values. The short answer: Yes, partially. But first things first.
In the previous posts we discussed the topology selection as well as the power handling capabilities of the decade resistor. Now it’s time to have a look at different aspects of switching. Today it’s all about the effect of the contact resistance of the relays, which impacts the performance of the decade resistor, not only, but especially when a decade is shorted.
For projects like the programmable resistor I was looking for a case, preferably made of aluminum and 19" compatible. In order to save some space on the desk I hoped to find one with a width of 42HP (i. e. half width). What I found was a beautiful case made by ELMA (2 RU, 42HP), called Stylebox 15 Standard.
In the last post we discussed how to calculate the power rating of the programmable decade resistor. We assumed that the decade resistor is made of resistors with the same power rating - in reality this might not be the case. Also, it might be a good thing to derate the resistors a bit. So let’s see what the implications are.
In the last post we worked on some implementation details to consolidate the bill of material while improving the power rating of the decade resistor. However, we didn’t actually analyze the design regarding power dissipation. So let’s get some definitions out of the way (goto Conclusion for tldr):
In the last post we selected a resistor network and switch topology that suits the needs of this programmable resistor. Now we will apply simple optimizations that allow an effective and cost-efficient implementation.
Topology selected for this programmable decade resistor Optimizing the bill of material In order to reduce the number of different components the single 1Ω1 \Omega is replaced by two parallel 2Ω2 \Omega resistors. As a very welcome side effect this doubles the power rating for the setting 1Ω1 \Omega. This is very helpful, because the lower the selected resistance value of the decade, the fewer resistors the power dissipation is distributed over.
In this post I want to share how I selected a suitable topology for the resistor network that will be the core of the programmable decade resistor. Although I did some online “research”, the following criteria determined my choices:
I briefly mentioned the Siemens B2086 Decade Resistor in the previous post. In this post I want to provide additional information on this interesting “vintage” unit, which seems to be geared towards AC application, not just DC.
In 2021/2022 I designed a DC electronic load that would be more capable, but also much more complex than the usual DIY solutions. However, after building a working breadboard prototype of the analog circuitry with 12 ICs including multiple precision and dual opamps, I thought that it might be better to start with a smaller project that would allow me to gain a lot of experience and write much of the non-application specific code that I could use later on for the digital part.