Author Topic: Universal bus precharge & fan speed controller  (Read 337 times)

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 124
  • Karma: +1/-0
    • View Profile
Universal bus precharge & fan speed controller
« on: December 25, 2019, 08:03:28 PM »
Hi everyone

welcome to my latest project thread!

Universal bus precharge & fan speed controller is a board designed to be used with UD2.x or UD+ DRSSTC drivers

When building my first DRSSTC I needed 12V power source for fans and 24V for universal driver. Also I needed some way to precharge and discharge bus capacitors. Solution was to use two separate power supplies for 12V and 24V, and use 555 in monostable mode for precharge relay delay. After testing everything I noticed that fans were too loud so I decided to swap out 555 board for arduino nano and use it as fan speed controller and precharge timer. It all turned out messy and difficult to debug so for my small DRSSTC build I decided to design a board inspired by loneoceans UD2 precharge board (http://loneoceans.com/labs/sales/ud2precharge/) which would eliminate messy wiring and additional 12V PSU

Features are
- same footprint as UD2.x and UD+ which allows it to be mounted on top of or bellow the universal driver using M3 stand-offs
- 24V DC input shared with UD with built in 24V to 12V DC-DC converter
- two PWM fan speed controllers adjustable with pot with selectable 24V/12V voltage and fan type (4-wire fan or normal fan)
- precharge relay with adjustable delay and selectable 24V/12V voltage
- discharge relay with selectable 24V/12V voltage
- optional external 10k thermistor input with optocoupler which can disable UD when it detects overtemperature (selectable with pot)

Board is based on 32-bit STM32F030F4P6 MCU and is designed to be easy to assemble, program and use. Firmware is based on STM32 HAL libraries and only thing that isn't implemented are fan tachometer inputs which probably needs to be done without using HAL libraries. HAL takes a lot of memory and firmware already uses 15 out of 16 KiB of flash

Formula for precharge relay delay
 Needed delay/s = 3*chargeResistor(resistance)*busCapacitance(F)
 
 example: 150 ohm resistor charges 500 uF bus capacitor in ~0.25 seconds
 
Formula for calculating precharge relay delay (1 to 10 seconds)
 Delay/s = CHRG_T(voltage)*2.73 + 1
 
Formula for calculating overtemperature cut-off (30 to 100°C, 0V to disable)
 Temperature/°C = OTEMP_SET(voltage)*22.73 + 25
 
Setup diagram


Schematics


Almost complete board


Kicad project with gerbers
* ubpfsc.zip

Firmware (needs HAL libraries)
* ubpfsc_prog.zip

That's it for now, I'll update this thread in the following weeks when I assemble my small DRSSTC and fully test the board

Happy coiling
« Last Edit: December 25, 2019, 08:13:46 PM by futurist »

Offline Mads Barnkob

  • Administrator
  • High Voltage Expert
  • *****
  • Posts: 1236
  • Karma: +17/-0
  • Denmark
    • View Profile
    • Kaizer Power Electronics
Re: Universal bus precharge & fan speed controller
« Reply #1 on: January 02, 2020, 01:38:05 PM »
Thank you very much for making this both open hardware and software, great spirit shown right there!

Would it be an idea to add another relay output for fans? A output that is controlled by the optional thermistor. I would need something like that in my large DRSSTC as the fan is a 3 phase fan being run on a single phase with a run capacitor, but the idea would be to first switch it on once the heat sink is above f.ex. 40 degree Celsius

What is the function of the beeper? Can you even hear it if you are throwing sparks? ;)
http://www.kaizerpowerelectronics.dk - Tesla coils, high voltage, pulse power, audio and general electronics

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 124
  • Karma: +1/-0
    • View Profile
Re: Universal bus precharge & fan speed controller
« Reply #2 on: January 02, 2020, 05:41:18 PM »
Yes, there is an option to turn on a fan when thermistor exceeds certain temperature, it could be easily programmed
In your case since the fan is controlled by MOSFET external relay could be connected to fan+ and fan- terminals

Beeper indicates when the bus precharge is finished and if the temperature exceeds set over-temperature. Since it can be wired to disable UD it should be heard easily :D

I consider using STM32F103C8T6 (64 KiB of flash) for next revision of the board which would allow for greater flexibility using STM32 HAL libraries which take a lot of memory
Only thing I'm still worried about is EMI which could interfere with MCU and cause restarts. I had those problems with arduino on my bigger DRSSTC, but apparently using MCU's internal RC oscillator reduces this problem

Offline acobaugh

  • High Voltage Enthusiast
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Universal bus precharge & fan speed controller
« Reply #3 on: January 15, 2020, 07:08:00 PM »
This is exactly what I've been looking for, and means I can do away with the DIN rail mounted timers I was planning on using. Do you have a mouser or digikey BOM?

Anxious to see how noise-immune this is in your coil.

Any interest in making this closed-loop by reading the DC bus voltage? One of the things this could provide is visual feedback for when the system is safe to handle after a run.

Offline Mads Barnkob

  • Administrator
  • High Voltage Expert
  • *****
  • Posts: 1236
  • Karma: +17/-0
  • Denmark
    • View Profile
    • Kaizer Power Electronics
Re: Universal bus precharge & fan speed controller
« Reply #4 on: January 15, 2020, 07:27:10 PM »
Any interest in making this closed-loop by reading the DC bus voltage? One of the things this could provide is visual feedback for when the system is safe to handle after a run.

If this is added, please make it so that it is at least two different types of visulisation. LED bar graph and a neon bulb f.ex. so make it more fail safe.
http://www.kaizerpowerelectronics.dk - Tesla coils, high voltage, pulse power, audio and general electronics

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 124
  • Karma: +1/-0
    • View Profile
Re: Universal bus precharge & fan speed controller
« Reply #5 on: January 19, 2020, 12:36:56 PM »
Do you have a mouser or digikey BOM?

I can make csv bom. Parts that I used are from lcsc.com but it wasn't a single order

Reading bus voltage feature can be added in next revision of the board. Do you have some ideas on how to implement it?
In any case neon bulb across main bus capacitors is must-have

Regarding the noise-immunity, I'm waiting for some time on laser cutter and I hope the coil will be finished soon
Inverter, electronics and secondary are all finished

TO-247 halfbridge inverter


Secondary


Primary


Primary supports

Offline Hydron

  • Administrator
  • High Voltage Engineer
  • *****
  • Posts: 291
  • Karma: +9/-0
    • View Profile
Re: Universal bus precharge & fan speed controller
« Reply #6 on: January 19, 2020, 01:08:17 PM »
Any interest in making this closed-loop by reading the DC bus voltage? One of the things this could provide is visual feedback for when the system is safe to handle after a run.

If this is added, please make it so that it is at least two different types of visulisation. LED bar graph and a neon bulb f.ex. so make it more fail safe.
A high brightness LED plus a suitably sized dropper resistor (probably a few watts rating) gives a good indication of remaining charge right down to a few volts, and will also slowly discharge the caps as an added safety bonus. If you don't have another alternative indication, you could put a couple on there (or one LED plus one neon - the neon isn't as safe as a primary indicator as it dies below 90V or something, but that's a lot better than 300V+ and is just acting as a backup anyway).

Offline acobaugh

  • High Voltage Enthusiast
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Universal bus precharge & fan speed controller
« Reply #7 on: January 23, 2020, 08:37:43 PM »
Of course I'm planning on having a neon or LED or panel meter as a secondary method of showing bus voltage.

I would take a look at the UD3.0 board, or possibly Fabricio's closed-loop auto precharge circuit, where he does DC bus sense with a simple opto-isolator and voltage divider: https://www.facebook.com/pg/franzolielectronics/photos/?tab=album&album_id=2694282280602139&ref=page_internal

High Voltage Forum

Re: Universal bus precharge & fan speed controller
« Reply #7 on: January 23, 2020, 08:37:43 PM »

 


* Recent Topics and Posts

post Re: GM tube hv transformer
[Detection, Counting and Measurements]
futurist
Today at 11:01:24 AM
post Re: CT performance investigations (Pearson and DIY)
[Dual Resonant Solid State Tesla coils (DRSSTC)]
T3sl4co1l
Today at 06:44:21 AM
post Re: Mazilli ZVS Driver Modification Problems
[Transformer (Ferrite Core)]
T3sl4co1l
Today at 06:37:47 AM
post Re: Mazilli ZVS Driver Modification Problems
[Transformer (Ferrite Core)]
Andrew321
Today at 02:22:09 AM
post Re: GM tube hv transformer
[Detection, Counting and Measurements]
haversin
Today at 01:15:21 AM
post Re: GM tube hv transformer
[Detection, Counting and Measurements]
klugesmith
January 24, 2020, 10:53:42 PM
post Re: WTB [EU]: Cellular Sector Antenna
[Sell / Buy / Trade]
Da_Stier
January 24, 2020, 10:52:48 PM
post Re: GM tube hv transformer
[Detection, Counting and Measurements]
haversin
January 24, 2020, 10:29:14 PM
post Re: Problems with my first DRSSTC
[Dual Resonant Solid State Tesla coils (DRSSTC)]
bozidar
January 24, 2020, 08:16:12 PM
post GM tube hv transformer
[Detection, Counting and Measurements]
AlexanderHun
January 24, 2020, 06:24:25 PM
post Re: DIY SMAW welder (stick welding)
[Electronic Circuits]
rikkitikkitavi
January 24, 2020, 05:17:01 PM
post Re: My 833A VTTC
[Vacuum Tube Tesla Coils (VTTC)]
MRMILSTAR
January 24, 2020, 04:37:25 PM
post Re: simple confusion about UD2.7c LEDs
[Dual Resonant Solid State Tesla coils (DRSSTC)]
justin66
January 24, 2020, 04:15:41 PM
post Re: My 833A VTTC
[Vacuum Tube Tesla Coils (VTTC)]
Mads Barnkob
January 24, 2020, 01:15:46 PM
post Re: simple confusion about UD2.7c LEDs
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Mads Barnkob
January 24, 2020, 01:10:38 PM
post Re: simple confusion about UD2.7c LEDs
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Hydron
January 24, 2020, 12:39:01 PM
post Re: simple confusion about UD2.7c LEDs
[Dual Resonant Solid State Tesla coils (DRSSTC)]
justin66
January 24, 2020, 11:43:08 AM
post Re: My 833A VTTC
[Vacuum Tube Tesla Coils (VTTC)]
kilovolt
January 24, 2020, 11:10:55 AM
post Re: DIY SMAW welder (stick welding)
[Electronic Circuits]
kamelryttarn
January 24, 2020, 10:11:51 AM
post Re: Doorknob vs Ceramic Disk
[Voltage Multipliers]
kilovolt
January 24, 2020, 09:03:52 AM
post Re: CT performance investigations (Pearson and DIY)
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Hydron
January 23, 2020, 11:50:22 PM
post Re: simple confusion about UD2.7c LEDs
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Mads Barnkob
January 23, 2020, 11:42:56 PM
post Re: WTB [EU]: Cellular Sector Antenna
[Sell / Buy / Trade]
Mads Barnkob
January 23, 2020, 11:35:07 PM
post Re: simple confusion about UD2.7c LEDs
[Dual Resonant Solid State Tesla coils (DRSSTC)]
justin66
January 23, 2020, 11:15:12 PM
post Re: Doorknob vs Ceramic Disk
[Voltage Multipliers]
MRMILSTAR
January 23, 2020, 10:42:22 PM
post Re: CT performance investigations (Pearson and DIY)
[Dual Resonant Solid State Tesla coils (DRSSTC)]
T3sl4co1l
January 23, 2020, 10:03:17 PM
post Re: Doorknob vs Ceramic Disk
[Voltage Multipliers]
kilovolt
January 23, 2020, 09:55:05 PM
post Re: Doorknob vs Ceramic Disk
[Voltage Multipliers]
MRMILSTAR
January 23, 2020, 08:39:10 PM
post Re: Universal bus precharge & fan speed controller
[Dual Resonant Solid State Tesla coils (DRSSTC)]
acobaugh
January 23, 2020, 08:37:43 PM
post Re: simple confusion about UD2.7c LEDs
[Dual Resonant Solid State Tesla coils (DRSSTC)]
acobaugh
January 23, 2020, 08:16:02 PM
post simple confusion about UD2.7c LEDs
[Dual Resonant Solid State Tesla coils (DRSSTC)]
justin66
January 23, 2020, 07:48:39 PM
post Re: Bipolar high voltage multiplier project - more than 70cm hot arc discharge
[Voltage Multipliers]
kilovolt
January 23, 2020, 05:07:46 PM
post Re: My 240kv voltage multiplier
[Voltage Multipliers]
kilovolt
January 23, 2020, 05:05:40 PM
post Re: Doorknob vs Ceramic Disk
[Voltage Multipliers]
kilovolt
January 23, 2020, 05:01:27 PM
post WTB [EU]: Cellular Sector Antenna
[Sell / Buy / Trade]
Da_Stier
January 23, 2020, 04:34:34 PM
post Re: My X-Ray Machine
[X-ray]
Agent Smith
January 23, 2020, 03:47:06 PM
post Re: DIY SMAW welder (stick welding)
[Electronic Circuits]
rikkitikkitavi
January 23, 2020, 02:24:07 PM
post Re: DIY SMAW welder (stick welding)
[Electronic Circuits]
kamelryttarn
January 23, 2020, 01:29:01 PM
post Re: DIY SMAW welder (stick welding)
[Electronic Circuits]
rikkitikkitavi
January 23, 2020, 12:45:40 PM
post Re: DIY SMAW welder (stick welding)
[Electronic Circuits]
kamelryttarn
January 23, 2020, 11:38:18 AM
post Re: DIY SMAW welder (stick welding)
[Electronic Circuits]
rikkitikkitavi
January 23, 2020, 10:43:36 AM
post DIY SMAW welder (stick welding)
[Electronic Circuits]
kamelryttarn
January 23, 2020, 08:32:56 AM
post Re: Doorknob vs Ceramic Disk
[Voltage Multipliers]
davekni
January 23, 2020, 06:06:20 AM
post Re: Mazilli ZVS Driver Modification Problems
[Transformer (Ferrite Core)]
davekni
January 23, 2020, 05:57:18 AM
post Doorknob vs Ceramic Disk
[Voltage Multipliers]
Andrew321
January 23, 2020, 03:57:09 AM
post Re: CT performance investigations (Pearson and DIY)
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Hydron
January 23, 2020, 12:33:44 AM
post Re: CT performance investigations (Pearson and DIY)
[Dual Resonant Solid State Tesla coils (DRSSTC)]
T3sl4co1l
January 22, 2020, 11:45:26 PM
post Re: CT performance investigations (Pearson and DIY)
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Hydron
January 22, 2020, 11:30:26 PM
post Small DIY plasma globe using ZVS oscillator
[Transformer (Ferrite Core)]
davekni
January 22, 2020, 06:21:31 AM
post Re: Mazilli ZVS Driver Modification Problems
[Transformer (Ferrite Core)]
Andrew321
January 22, 2020, 05:54:17 AM

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 
SimplePortal 2.3.6 © 2008-2014, SimplePortal