Author Topic: Universal bus precharge & fan speed controller  (Read 1245 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: 1460
  • Karma: +25/-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: 1460
  • Karma: +25/-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: 325
  • 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: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
TMaxElectronics
Today at 02:04:42 PM
post Re: making HV bobbins for ferrite transformers
[Transformer (Ferrite Core)]
HighVoltageRulezz
Today at 01:07:31 PM
post Re: Building instructions: Secondary Winding: Turns counter
[Laboratories, Equipment and Tools]
HighVoltageRulezz
Today at 01:06:03 PM
post Building instructions: Secondary Winding: Turns counter
[Laboratories, Equipment and Tools]
HighVoltageRulezz
Today at 01:03:45 PM
post Re: First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
AstRii
Today at 12:38:11 PM
post Re: Easy to build Polyphonic MIDI Interrupter
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Max
Today at 12:28:18 PM
post Re: First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Yak
Today at 11:55:43 AM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
davekni
Today at 04:47:06 AM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
TMaxElectronics
Today at 12:01:20 AM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
davekni
August 14, 2020, 11:01:58 PM
post Re: How about some Tesla Coil memes
[General Chat]
Mads Barnkob
August 14, 2020, 10:49:26 PM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
TMaxElectronics
August 14, 2020, 09:46:53 PM
post Re: Bipolar high voltage multiplier project - more than 70cm hot arc discharge
[Voltage Multipliers]
Teravolt
August 14, 2020, 09:22:35 PM
post Re: making HV bobbins for ferrite transformers
[Transformer (Ferrite Core)]
Teravolt
August 14, 2020, 09:17:50 PM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
davekni
August 14, 2020, 09:16:38 PM
post Re: First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
davekni
August 14, 2020, 07:01:47 PM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
petespaco
August 14, 2020, 06:56:46 PM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
TMaxElectronics
August 14, 2020, 06:38:45 PM
post Re: First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
TMaxElectronics
August 14, 2020, 06:25:31 PM
post Re: Moving to a new lab!
[Laboratories, Equipment and Tools]
Mads Barnkob
August 14, 2020, 10:54:59 AM
post Re: First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
AstRii
August 14, 2020, 10:14:21 AM
post Re: First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Yak
August 14, 2020, 07:26:11 AM
post Re: Easy to build Polyphonic MIDI Interrupter
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Max
August 14, 2020, 02:12:16 AM
post Re: Easy to build Polyphonic MIDI Interrupter
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
AstRii
August 14, 2020, 01:04:06 AM
post Re: Moving to a new lab!
[Laboratories, Equipment and Tools]
profdc9
August 14, 2020, 12:55:12 AM
post Re: Air Gap: why and how much?
[Transformer (Ferrite Core)]
profdc9
August 13, 2020, 10:59:27 PM
post Re: How about some Tesla Coil memes
[General Chat]
TMaxElectronics
August 13, 2020, 09:55:27 PM
post Re: Air Gap: why and how much?
[Transformer (Ferrite Core)]
johnf
August 13, 2020, 09:45:58 PM
post Re: Air Gap: why and how much?
[Transformer (Ferrite Core)]
klugesmith
August 13, 2020, 08:26:56 PM
post Re: Easy to build Polyphonic MIDI Interrupter
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
Max
August 13, 2020, 07:02:24 PM
post Air Gap: why and how much?
[Transformer (Ferrite Core)]
HighVoltageRulezz
August 13, 2020, 06:23:24 PM
post Re: making HV bobbins for ferrite transformers
[Transformer (Ferrite Core)]
HighVoltageRulezz
August 13, 2020, 06:15:16 PM
post Re: How about some Tesla Coil memes
[General Chat]
AstRii
August 13, 2020, 05:26:47 PM
post Re: First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
TMaxElectronics
August 13, 2020, 05:25:43 PM
post Re: How about some Tesla Coil memes
[General Chat]
TMaxElectronics
August 13, 2020, 05:23:40 PM
post Re: First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
AstRii
August 13, 2020, 05:23:37 PM
post Re: Bipolar high voltage multiplier project - more than 70cm hot arc discharge
[Voltage Multipliers]
kilovolt
August 13, 2020, 01:44:24 PM
post How about some Tesla Coil memes
[General Chat]
AstRii
August 13, 2020, 01:09:16 PM
post First DRSSTC, No Sparks on Breakout
[Dual Resonant Solid State Tesla coils (DRSSTC)]
Yak
August 13, 2020, 12:41:06 PM
post Re: X-ray image intensifier
[X-ray]
AlexanderHun
August 13, 2020, 11:01:46 AM
post Re: Easy to build Polyphonic MIDI Interrupter
[Computers, Microcontrollers, Programmable Logic, Interfaces and Displays]
AstRii
August 13, 2020, 02:09:13 AM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
davekni
August 12, 2020, 11:08:35 PM
post Re: making HV bobbins for ferrite transformers
[Transformer (Ferrite Core)]
davekni
August 12, 2020, 10:49:52 PM
post Re: Moving to a new lab!
[Laboratories, Equipment and Tools]
Mads Barnkob
August 12, 2020, 10:30:54 PM
post Re: making HV bobbins for ferrite transformers
[Transformer (Ferrite Core)]
Teravolt
August 12, 2020, 09:00:50 PM
post Re: making HV bobbins for ferrite transformers
[Transformer (Ferrite Core)]
SteveN87
August 12, 2020, 07:16:43 PM
post Re: making HV bobbins for ferrite transformers
[Transformer (Ferrite Core)]
Teravolt
August 12, 2020, 02:54:33 PM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
TMaxElectronics
August 12, 2020, 12:42:50 PM
post Re: Charging a LiPo Battery with an LED driver
[Electronic Circuits]
Twospoons
August 12, 2020, 12:23:58 PM
post Re: Single sided use of Xray XFMR
[Transformer (Ferrite Core)]
HighVoltageRulezz
August 12, 2020, 11:15:07 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