Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 20
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Adam Munich (30)
Alfredo Texacca (60)


Next birthdays
05/02 Adam Munich (30)
05/02 Alfredo Texacca (60)
05/04 Matthew T. (35)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Tesla Coils
« Previous topic | Next topic »   

A few PSoC 5LP Universal Driver questions

Move Thread LAN_403
Patrick Konesky
Mon Mar 11 2019, 03:47AM Print
Patrick Konesky Registered Member #65366 Joined: Mon Oct 08 2018, 05:01AM
Location:
Posts: 10
Hello, my name is Patrick and this is my first post here. I have been reading a fair amount of thread conversations and just generally lurking y'alls cool stuff.

So, I have been putting together a PSoC 5LP driver and using the Cypress software package for PSFB, phase shifted full bridge. It seems like the easiest to implement a ZVS based driver with it is to use the analog PSFB template but that requires external components to set a ramp derived from the resonant frequency, and seems that a second analog phase-shifter in series with the other to set a phase lead for IGBTs. The PSFB requires a impulse trigger with a frequency twice that which is desired at the output, so a rising or falling ETS to read the feedback transformer would accomplish this. The downside to this is really just needing to deal with analog components to accurately set a phase shift.

Similarly, I have been reading the PSFB datasheet and finding that it can take a value in the main.c file to digitally set the frequency for the PSFB's internal oscillator instead of the external oscillator described above. I believe I could accomplish this using a counter and depositing the value to PSFB_write_period() within the void setup and the main loop. The downside to this method seems like it would be synchronization with resonant input at the desired phase shift but i think a little low power testing and some math could yield a general equation to set the phase lead with software.

Anyway, the point of this thread was to see who else is working on a PSoC based UD and what kind of insight they have. Id like to avoid setting a constant frequency to drive this guy and I'm sure it's possible to do it analog but am really interesting in hearing possibilities integrating a digital system.
Thanks!
Peace
Back to top
Patrick Konesky
Mon Mar 11 2019, 04:59PM
Patrick Konesky Registered Member #65366 Joined: Mon Oct 08 2018, 05:01AM
Location:
Posts: 10
Exoh7oD
VVXBYLY
DRhHHrw
KA76IBQ
7lGulSa
Back to top
Hydron
Tue Mar 12 2019, 03:02PM
Hydron Registered Member #30656 Joined: Tue Jul 30 2013, 02:40AM
Location: UK
Posts: 208
There has been quite a lot of work done by Netzpfuscher on the UD3 design (which I have up and running on the same dev board that you are using). See here for the girhub repo:
Link2
Link2
And a discussion thread with more info: Link2
Back to top
Patrick Konesky
Tue Mar 12 2019, 04:49PM
Patrick Konesky Registered Member #65366 Joined: Mon Oct 08 2018, 05:01AM
Location:
Posts: 10
Oh heck yea, thanks for dropping that off. A lot of work indeed! I'll begin to sort through it over spring break and see what makes sense for my purposes.
Back to top
Patrick Konesky
Sun Mar 17 2019, 04:46AM
Patrick Konesky Registered Member #65366 Joined: Mon Oct 08 2018, 05:01AM
Location:
Posts: 10
A cool note on the PSFB component in the Cypress software is that it posses a pulse skip like Kill feature. When an OCD takes place, instead of canceling the oscillator, the Kill option keeps the oscillator running in the background and only takes a pulse of signal away. Pretty neat o.

So I’m working on how to flip between halves of the bridge being phase shifted for that AltShift tek that someone described in their commercial drivers they were selling. I noticed that this would be just an output exchanging at a flip flopped clock rate. So two and gates feeding an or gate accomplishes the necessary components to accomplish that. I’ll drop a picture of what I mean in a second after I reduce its pixel size. I’m away from my driver and scope to verify this. so, if anyone wants to toss me a sanity check they’re more than welcome.

edit:
6EFV2kv
Back to top
Patrick Konesky
Wed Apr 03 2019, 02:26AM
Patrick Konesky Registered Member #65366 Joined: Mon Oct 08 2018, 05:01AM
Location:
Posts: 10
For this next pictured part i excluded the altswitch for simplicity, however i think testing revealed it worked but logic was better placed at the main output and not the delay output.

What i have here is an attempt to create an analog/digital version of a PSoC 5lp DRSSTC. I havent tested it yet, because although it is essentially organized like a UD2.x type of driver, it is by heart a digital device. So, i'm not deathly positive it will begin to oscillate without some sort of initial pulse to trigger an oscillation, which would then be read by the feedback transformer. Can anyone confirm one way or the other whether it could begin oscillating? Without a pulse, I do have the initial conditions of the PSFB component's outputs. I assume EPWM1A and EPWM2A will be initially open when the component turns on, which would hit the high impedance primary and possibly trigger an oscillation. The oscillation should be caught by the feedback current transformer and limited by the OCD. I am pretty sure the FB transformer would shoot high and generate my initial start of frame.

The front end left is supposed to be a potentiometer for phase lead control to allow for zvs. The capacitor, comparator, and current source (IDAC8) are all necessary components to accomplish analog phase shift. Read up in the link below. Then the middle PSFB allows for QCW, audio modulation, or fiber interrupt, plus some adjustable dead time.
ZcdRVCd

Here for reference, a lot of what i'm using is coming out of this tutorial for phase shifted bridge devices. I'm using the analog phase shift method mentioned in the pdf. Ill also note that the PSoC work done on UD3, which was shared a few posts up is a bit too involved for me to understand what is happening. After downloading, a bunch of pieces are apparently missing. So, im going from scratch here. Ps if i come across as inexperienced it's because i am. Thanks

*
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.