My final-year project for my engineering degree

Hello,

I’d like to present my project – or rather, my final-year dissertation – here on this platform. I hadn’t heard of AISLER until I started working on my Bachelor’s dissertation. But when it came to producing a printed circuit board, I came across AISLER. I was immediately impressed, as AISLER offered very competitive prices and, ultimately, delivered the boards I’d designed myself very quickly.

Just a few words about my Bachelor’s thesis. The topic of my thesis was ‘Mechatronic redesign of an N-gauge model railway locomotive’. To many, this probably sounds rather unusual for an engineering thesis. Some might even wonder whether this is sufficient for a Bachelor’s thesis. Yes, it is unusual. I myself have never come across a case where a student has developed a model railway locomotive from scratch. And yes, engineers do develop model railways too.

My model is an N-gauge locomotive based on the Hungarian V43 series electric locomotive. No well-known model railway manufacturer has ever produced an N-gauge model of this elegantly designed locomotive, which is legendary in Hungary. So I thought to myself, why not combine my final-year project with building my own model? As it was almost an entirely new design, a new circuit board also had to be developed for it. But first, the question: ‘Why almost an entirely new design?’ I was able to use a few parts from another model. These included, for example, the scissor-type pantograph, gear wheels, motor, etc.! I didn’t want to ‘reinvent the wheel’, but rather to develop a model of the V43 series. After about half a year and a few failed 3D printing attempts, I finally had my very first model in my hands.

But now a few words about my circuit board. As mentioned above, since my model was an almost entirely new design, there was naturally no circuit board available from a mass-production manufacturer. Unfortunately, I didn’t learn how to design circuit boards during my degree either. That wasn’t included in the curriculum until later, when I was almost finished with my studies. So I approached a professor and was given the lecture notes from his course. He uses the KiCAD software for his teaching. So that was also the software I would use to develop the circuit board for the V43. Thanks to the lecture notes, it was then fairly straightforward to produce the circuit board.

Now that the circuit board was virtually complete, I ordered it from AISLER. When it finally arrived on my table at home, I naturally checked it with a multimeter. Everything looked fine in the digital ‘version’, but I still had to check whether it would work in the real version. And sure enough, I found some errors. I’d made a typical beginner’s mistake. I’d clicked on the wrong layer for the PCB labelling. As a result, a few traces were short-circuited by the text. So far, so good.

I then clicked on the correct layer and placed the order again. When the delivery arrived, I tested everything again and this time everything was correct. Once the Next18 socket (a digital interface used in model railways) and the remaining electrical components had been soldered onto the circuit board, I plugged in the sound decoder and powered up the circuit board for the first time. Unsurprisingly, it didn’t do what it was supposed to. I then set about troubleshooting, even contacted the decoder manufacturer’s customer service (who’d always been very helpful in the past), and whilst I was waiting for a reply, I had a brainwave. I’d connected the interface the wrong way round. I should have done it exactly the opposite way round. That was rather annoying. But as the saying goes, all good things come in threes.

So, a few days later, circuit board number 3 was in my letterbox. This, in turn, was tested, assembled and fitted. When I powered it up, it did exactly what it was supposed to do.

Now, about the technology on the circuit board. This board not only has the circuit traces but, as mentioned above, a few electrical components. My professor always used to call them ‘chicken feed’.

An amplifier circuit is required so that the logic-level signals can be amplified and, for example, an LED can be switched on. Without this amplifier circuit, it would be possible to switch an LED; however, due to the processor voltage of 3.3 or 5 volts, no or only a very small series resistor would be required, but this would risk an excessively high current and thus the destruction of the decoder. Hence the amplifier circuit.

Now that the amplifier circuit had also been implemented on the printed circuit board, the LEDs and their series resistors for lighting the model also had to be mounted on the board.

A capacitor for motor interference suppression was, of course, also fitted. Whilst this is not strictly necessary if the model is operated in purely digital mode, I have also designed the model so that it can be operated in conventional mode without a decoder.

Originally, I also wanted to fit a small capacitor inside the model so that it would supply the necessary voltage to keep it running should the model briefly lose power. After making some assumptions about the voltage and current the capacitor would need to supply, I calculated its capacitance. The result was such a high capacitance that the capacitor would have been larger than the entire model. Even a parallel connection would not have helped in this case. It is also important to bear in mind that weight is a crucial factor for N-gauge locomotives. Had I fitted capacitors and consequently removed material from the frame, the model would have become significantly lighter. As a result, the model would no longer have been capable of hauling long freight trains.

Nevertheless, I didn’t want to do without the charging circuit. I included this on the circuit board and simply provided solder pads. This way, the potential end customer can decide for themselves whether they want to fit capacitors or not. My idea was that capacitors would be fitted in the attached carriages, wired correctly and connected to the circuit board via a current-carrying coupler.

Generally speaking, I have brought all the decoder pins out onto the circuit board as solder pads. It’s important to note that soldering onto the sound decoder is very difficult, if not impossible. It is therefore easier if the circuit board features these pins as solder pads. Furthermore, there is even a standard (RCN-118) which stipulates that all unused outputs of the decoder must be provided as solder pads on the circuit board. Unfortunately, virtually all model railway manufacturers adhere to NEM 662, which does not require all unused function outputs to be provided as solder pads. However, I wanted it this way so that the potential end customer can decide for themselves what they want to ‘treat’ their model locomotive to.

I’d also like to take this opportunity to thank everyone who helped me with this. Although there were very few of them (four people), without them this result would never have been achieved.

The great thing about AISLER wasn’t just the fast delivery and the affordable price, but also the fact that you could check what the circuit board would look like – in my case, the drill holes and cut-outs.

Below, I’d like to share a few more photos of the circuit board and my final project.

This is really awesome @Marcel2 - we’re looking forward to your next projects!

An information for all readers - the company GySEV published an hungarian article on facebook about this project: https://www.facebook.com/GYSEV.ZRT/posts/pfbid02E1hUAxQyh2FrKaiAdky511voeMF9qahkp31CM8aYepEvz9f9mHmWq45v4NWkTSVKl?locale=de_DE