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

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 147
  • Karma: +3/-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: 1508
  • Karma: +26/-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
https://www.youtube.com/KaizerPowerElectronicsDk60/join - Please consider supporting the forum, websites and youtube channel!

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 147
  • Karma: +3/-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: 23
  • 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: 1508
  • Karma: +26/-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
https://www.youtube.com/KaizerPowerElectronicsDk60/join - Please consider supporting the forum, websites and youtube channel!

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 147
  • Karma: +3/-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: 344
  • Karma: +11/-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: 23
  • 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

Offline futurist

  • Global Moderator
  • High Voltage Technician
  • *****
  • Posts: 147
  • Karma: +3/-0
    • View Profile
Re: Universal bus precharge & fan speed controller
« Reply #8 on: April 26, 2020, 02:01:14 AM »
Sorry for delay, I'm busy with work and I'm still doing house and electronics lab adaptation
I assembled the coil and so far it works very nice and I like bus precharge/fan speed controller board

Sneak peek
40N60 double halfbridge, 300 Apk @ 340V

I'll tune the coil in the next few days and post a thread with build materials and photos. And BOM for universal bus precharge & fan speed controller board

High Voltage Forum

Re: Universal bus precharge & fan speed controller
« Reply #8 on: April 26, 2020, 02:01:14 AM »

 


* Recent Topics and Posts

post Re: DRSSTC Tuning for Music vs Big Sparks?
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Uspring
Today at 05:50:56 PM
post Re: Easy to build Polyphonic MIDI Interrupter
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Max
Today at 02:59:47 PM
post Re: VTTC on GU-81M
[Vacuum Tube Tesla Coils (VTTC)]
Continuum
Today at 12:18:10 PM
post Re: steam engine
[Capacitor Banks]
plasma
Today at 09:49:57 AM
post Re: steam engine
[Capacitor Banks]
Zipdox
Today at 09:18:53 AM
post Re: Am I Misunderstanding of DC Blocking Capacitors
[Solid State Tesla Coils (SSTC)]
Zipdox
Today at 09:13:12 AM
post Re: DRSSTC Tuning for Music vs Big Sparks?
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
Today at 06:45:24 AM
post Re: DRSSTC driver
[General Chat]
Mads Barnkob
September 20, 2020, 08:37:58 PM
post Re: Current transformer for narrow spaces
[Laboratories, Equipment and Tools]
klugesmith
September 20, 2020, 05:31:25 PM
post Re: DRSSTC Tuning for Music vs Big Sparks?
[Dual Resonant Solid State Tesla coils (DRSSTC)]
GKnapp
September 20, 2020, 05:20:51 PM
post Re: Corona lockdown thread, tell about your situation
[General Chat]
Uspring
September 20, 2020, 03:46:15 PM
post Re: How do you all pronounce kluge or kludge?
[General Chat]
Uspring
September 20, 2020, 03:25:48 PM
post Re: DRSSTC Tuning for Music vs Big Sparks?
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Uspring
September 20, 2020, 02:12:35 PM
post Re: DRSSTC Tuning for Music vs Big Sparks?
[Dual Resonant Solid State Tesla coils (DRSSTC)]
GKnapp
September 20, 2020, 02:02:34 PM
post Re: Corona lockdown thread, tell about your situation
[General Chat]
Hydron
September 20, 2020, 01:27:52 PM
post Re: Corona lockdown thread, tell about your situation
[General Chat]
Mads Barnkob
September 20, 2020, 11:58:14 AM
post Re: Corona lockdown thread, tell about your situation
[General Chat]
friday
September 20, 2020, 07:53:30 AM
post Re: How do you all pronounce kluge or kludge?
[General Chat]
johnf
September 20, 2020, 06:09:20 AM
post Re: How do you all pronounce kluge or kludge?
[General Chat]
MRMILSTAR
September 20, 2020, 05:58:46 AM
post Re: Am I Misunderstanding of DC Blocking Capacitors
[Solid State Tesla Coils (SSTC)]
T3sl4co1l
September 20, 2020, 04:40:21 AM
post Re: DRSSTC Tuning for Music vs Big Sparks?
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
September 20, 2020, 02:22:28 AM
post Re: Cheapest source so far for step adjustable DC power for ZVS induction heaters
[Electronic Circuits]
davekni
September 20, 2020, 02:06:56 AM
post Re: Rogowski current probe
[Laboratories, Equipment and Tools]
Hydron
September 19, 2020, 11:34:01 PM
post How do you all pronounce kluge or kludge?
[General Chat]
klugesmith
September 19, 2020, 11:21:11 PM
post Re: Am I Misunderstanding of DC Blocking Capacitors
[Solid State Tesla Coils (SSTC)]
klugesmith
September 19, 2020, 10:13:44 PM
post Re: Fat wire for facility (a house)
[Laboratories, Equipment and Tools]
johnf
September 19, 2020, 09:40:56 PM
post steam engine
[Capacitor Banks]
plasma
September 19, 2020, 07:54:41 PM
post DRSSTC driver
[General Chat]
octopus1
September 19, 2020, 04:50:28 PM
post Re: Join Kaizer Power Electronics, Youtube channel now has memberships
[Crowdfunding]
Mads Barnkob
September 19, 2020, 04:50:23 PM
post Re: Cheapest source so far for step adjustable DC power for ZVS induction heaters
[Electronic Circuits]
petespaco
September 19, 2020, 03:27:57 PM
post DRSSTC Tuning for Music vs Big Sparks?
[Dual Resonant Solid State Tesla coils (DRSSTC)]
GKnapp
September 19, 2020, 01:41:14 PM
post Re: Fat wire for facility (a house)
[Laboratories, Equipment and Tools]
Mads Barnkob
September 19, 2020, 11:09:16 AM
post Am I Misunderstanding of DC Blocking Capacitors
[Solid State Tesla Coils (SSTC)]
werd
September 19, 2020, 08:13:55 AM
post Re: Cheapest source so far for step adjustable DC power for ZVS induction heaters
[Electronic Circuits]
davekni
September 19, 2020, 01:31:34 AM
post Cheapest source so far for step adjustable DC power for ZVS induction heaters
[Electronic Circuits]
petespaco
September 18, 2020, 11:58:14 PM
post Fat wire for facility (a house)
[Laboratories, Equipment and Tools]
klugesmith
September 18, 2020, 10:35:59 PM
post Re: SSTC or DRSSTC with GaN Transistors
[Solid State Tesla Coils (SSTC)]
Hydron
September 18, 2020, 05:29:24 PM
post Re: SSTC or DRSSTC with GaN Transistors
[Solid State Tesla Coils (SSTC)]
Zipdox
September 18, 2020, 03:52:08 PM
post Re: Rogowski current probe
[Laboratories, Equipment and Tools]
flyglas
September 18, 2020, 02:49:05 PM
post Re: IGBT Temperature
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Hydron
September 18, 2020, 11:56:58 AM
post Re: IGBT Temperature
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Weston
September 18, 2020, 10:31:58 AM
post Re: Eensy weensy switchmode power supplies
[Electronic Circuits]
T3sl4co1l
September 18, 2020, 08:19:19 AM
post Re: Upper audio frequency interruption of HFSSTC
[Solid State Tesla Coils (SSTC)]
davekni
September 17, 2020, 11:18:25 PM
post Re: Rogowski current probe
[Laboratories, Equipment and Tools]
Hydron
September 17, 2020, 10:26:57 PM
post Re: SSTC or DRSSTC with GaN Transistors
[Solid State Tesla Coils (SSTC)]
Weston
September 17, 2020, 09:13:40 PM
post Re: Upper audio frequency interruption of HFSSTC
[Solid State Tesla Coils (SSTC)]
uzzors2k
September 17, 2020, 09:02:42 PM
post Re: Eensy weensy switchmode power supplies
[Electronic Circuits]
klugesmith
September 17, 2020, 07:46:08 PM
post Re: Rogowski current probe
[Laboratories, Equipment and Tools]
flyglas
September 17, 2020, 07:43:00 PM
post Re: SSTC or DRSSTC with GaN Transistors
[Solid State Tesla Coils (SSTC)]
Mads Barnkob
September 17, 2020, 10:23:29 AM
post Re: Eensy weensy switchmode power supplies
[Electronic Circuits]
T3sl4co1l
September 17, 2020, 06:56:59 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