High Voltage Forum

General electronics => Computers, Microcontrollers, Programmable Logic, Interfaces and Displays => Topic started by: Laci on November 27, 2018, 08:50:54 PM

Title: How sensitive are Tesla coils to Arduino boards?
Post by: Laci on November 27, 2018, 08:50:54 PM
After Analyzing the newest DRSSTC drivers,I realized that they have quite a few interesting features.As I've seen,all of the UD3 drivers uses PSoC chips(or boards),but what about the good old Atmega328 microcontrollers?Can they compete with those PSoCs?What are the weaknesses of the Atmegas in comparison to the PSoCs?Are their operation influenced by Tesla coils magnetic field?

Here is my basic hardware idea of a UD1.3 logic with an Arduino Nano:

(https://i.imgur.com/Iig0kij.png)
Title: Re: How sensitive are Tesla coils to Arduino boards?
Post by: Mads Barnkob on November 28, 2018, 09:55:58 AM
It is not a matter of EMI that rules out the smaller micro controllers form being used in a driver.

It is clock speed and processing power as the analog OP-amp / digital 74xx functionality is moved from hardware to software domain.

Calculation of phase lead instead of using a inductor is a example of this. Or integration of a PFC stage in the same controller is another.

Be sure to calculate if your analog input is fast enough, enough samples, response time etc. to match a 74xx IC that it replaces.

Title: Re: How sensitive are Tesla coils to Arduino boards?
Post by: Netzpfuscher on November 29, 2018, 09:18:47 AM
Simple answer, no they can't be used. The Atmega can execute one command in 50ns. You need about 4 (200ns) clock cycles to enter a ISR without any code execution. This is way to slow for a DRSSTC.

The UD3 makes all time critical functions in the hardware logic cells and DMA. No software is needed for the rudimentary DRSSTC functions. And why should you take the pain in the ass with AVR, to save about 6€? The psoc dev board costs about 10€ with a free programmer/debugger.

By the way it should be possible to implement a simple DRSSTC in a psoc4 which costs around the same as a AVR.

The actual UD3 firmware consumes around 100kb flash and 40kb of SRAM and hundreds of Logic cells (at least a bucket full of 74xxx  ;D). 
Title: Re: How sensitive are Tesla coils to Arduino boards?
Post by: Laci on November 29, 2018, 08:34:50 PM
Thanks for both useful answers!I was hoping that an Arduino can do the job,since I have 0 experience with PSoC boards.I'll get a CY8CKIT-059 development board anyways from tme.eu as soon as possible! :)