UD3 development

Netzpfuscher, Wed Sept 06 2017, 11:39AM

I'm working on a new DRSSTC with the Psoc5 based UD3 driver. Perhaps we can use this thread to collect the progress and to collect new ideas.

My progres so far:
- Small changes to the PCB for cost reduction
- Support for USB (USB-Serial and USB-MIDI)
- New autotuning function
- Added maximum primary current to telemetry
- command line for control and configuration with help text, autocomplete and history function

Todo:
- integrate my polyphonic MIDI interrupter project to the UD3
- autotuning for secondary coil
- code cleanup

Terminal:


1504697451 1131 FT0 Terminal

Response of autotuning function:

1504697451 1131 FT0 Autotune

Track and hold for current measurement:

1504697451 1131 FT0 T And H

PCB:

1504697541 1131 FT0 Pcb1

PCB:

1504697575 1131 FT0 Pcb
Re: UD3 development
Hydron, Wed Sept 06 2017, 06:33PM

It is good to see new work being done on DRSSTC drivers - I am also planning on making my own (am currently doing development on a FPGA plus modded UD2.5).

With the UD3 it is difficult though as the design does not seem to be public. Has Steve etc given you design info privately?
Re: UD3 development
Netzpfuscher, Fri Oct 20 2017, 08:23PM

@Hydron
Yes i wrote him a E-Mail


I made a huge code rewrite. Now runs FreeRTOS on the Psoc. Everything runs in separate Tasks:
-UART Communication Task
-USB Communication Task
-UART Command line Task
-USB Command line Task
-Analog Task
-Status Overlay Task
-Fail Task
-MIDI Task

The MIDI Synth is running in Software (DDS) which has full control over every pulse. It can handle up to 8 simultaneous notes. The pulses that are generated are fed into a FIFO buffer. A timer loads a new pulse if the old pulse is finished. With this FIFO only one pulse can play in one timeslot.



I extended the autotune function. With a small hack I added a CT for the Secondary and I used Braille characters to display a chart on the console.

Primary without secondary

Wa0045


Secondary

1508530536 1131 FT180512 Sec



The firmware on the UD3 is updatable over the fiber link and I build a small PC interface. The PC interface connects via USB and enumerates as Serial port for the console and a MIDI Device. It packs the serial communication and the MIDI-Messages in a 1 Mbit stream over the fiber link to the UD3.
Re: UD3 development
futurist, Sun Oct 22 2017, 01:11PM

I love the console charts :)

How do you adjust phase lead and how does the autotuning function work?
Re: UD3 development
Netzpfuscher, Thu Oct 26 2017, 06:39PM

The autotuning sweeps the given frequency range and measures the current in the primary and in the secondary. After a full cycle the function search for the peak and displays it.

The phase lead is Steves work and works with timers and DMA.

I finished a bigger bridge with 200A Semikron IGBTs


Wa0026