Originally posted by KingJL
View Post
Announcement
Collapse
No announcement yet.
New Bipolar Boost TX and Front End
Collapse
X
-
-
Originally posted by green View PostCould someone help could not open include file "spdt . sub" what do I need to do? Tried to open .sub file, don't know what to do with it. Why do I have to reenter all my pass words after clicking on a .sub file? Not a computer person.
NOTE: the spdt.sub file was included in the zip of post #4 of this thread.Attached Files
Comment
-
Originally posted by KingJL View PostThe CIC filter delay equation is in error (I made a huge mistake on transposition)... the correct delay for the CIC filter is T = (R-1)/(2*Fs) * N. The delay for our design CIC filter (Fs=2000, R=10, N=5) is 11.25 ms, resulting in a combined delay of 48.25 ms or 90 samples. This combined filter provides an attenuation (noise floor) of about -60db for anything outside the passband of 0 - 40 Hz.
I should have the FPGA board in a couple of days so will be interesting to check it all out.
I have most components for the Bipolar TX PcBs but haven’t ordered the blank boards yet but will do after I play around with the FPGA and Vivado.
cheers
MDtoday
Comment
-
Originally posted by Mdtoday View PostNice work JL, I look forward to trying out the Vivado project files, thanks for sharing.
I should have the FPGA board in a couple of days so will be interesting to check it all out.
I have most components for the Bipolar TX PcBs but haven?t ordered the blank boards yet but will do after I play around with the FPGA and Vivado.
cheers
MDtoday
Comment
-
Originally posted by KingJL View PostThe Vivado project files are in a zip at this link.
https://drive.google.com/file/d/1A0Y...ew?usp=sharing
Need to have an initial sample (SMP0) to sample the RX immediately after the RX un-blanking to test for pos or neg to tune the optimum time before damp. If neg, then damp must occur earlier. The ideal setting is to delay damp until signal flips negative and the back up until it flips positive. The code in TX timing will be changed to effect this after the RX module is developed with handshking with the TX timing module.
Comment
-
-
Originally posted by KingJL View PostThe TX module will be modified slightly (in the future) to accommodate a sample immediately after RX un-blank to test for optimum time for start of damp:
Need to have an initial sample (SMP0) to sample the RX immediately after the RX un-blanking to test for pos or neg to tune the optimum time before damp. If neg, then damp must occur earlier. The ideal setting is to delay damp until signal flips negative and the back up until it flips positive.
cheers
Mdtoday
Comment
-
New Bipolar_TX version... added MPP
Originally posted by KingJL View Post... The Vivado project files are in a zip at this link.
https://drive.google.com/file/d/1A0Y...ew?usp=sharing
While visiting the NC coast last week, I had a brainstorm. What about the option to transmit two different pulse widths. So I coded in the capability to transmit one wide TX pulse (one half PRT) pulse followed by 4 bipolar pulses of normal pulse width. This maintains the bipolar nature of the TX. The capability will be controlled by the input MPP_i (Multiple Period Pulse) being held high. In the tested example the PRT is set to 500 usec, S1=10usec, S2=20usec, s3=40usec, MPP=1. This resulted in a positive cycle (TXA) of a 250 usec pulse followed by 4 cycles (starting with a negative (TXB) cycle) of 50 usec pulses which is followed by a negative cycle (TXB) of a 250 usec pulse followed by 4 cycles (starting with a positive (TXA) cycle) of 50 usec pulses. This results in an average duty cycle of 18% with MPP vs. the normal 10% duty cyle.
I have updated the link for the zip containing the current Vivado project files and included a text file of the VHDL code for those that cannot view the Vivado project files. Hopefully, I will get the testing/verification of the pulse transformer connections completed this week.
Comment
-
Comment
-
Originally posted by Mdtoday View PostNice work JL, this is looking quite interesting, thanks for sharing.
I have just received the Artix 7 module so i can start playing.
[ATTACH]46510[/ATTACH]
Haven't had much time to check your TX PCBA again but will do, however last time I checked it looked Ok
cheers
MDtoday
Comment
-
Originally posted by KingJL View PostLike I said... I hope to verify the pulse transformer primary connections this week. But even if they are wrong, they can be corrected by changing the direction of the winding (since we are winding our own primary on the toroid). Have you used VHDL with defining FPGA functionality previously? If not there are a couple of quirks regarding changing and using values of signals and variables within a a process.
Yes I have coded with VHDL after moving from Verilog and been slapped more than a few times with similar things, I will keep that in mind.
cheers
Mdtoday
Comment
-
I have been trying to follow the concepts in this thread and I have to admit I don't know what a bipolar TX means. I tried searching but no luck in finding an explanation. When I see bipolar, I think of how a stepper is driven with an H-Bridge, but I assume you are not talking about driving the main coil in both polarities.
Comment
-
-
-
Originally posted by Mdtoday View PostIn your time JL, wasn't pushing you...
Yes I have coded with VHDL after moving from Verilog...
I have made a couple of changes to the TX-Timing. I have included a smpl0 that occurs 3 usec after damp to test for the positve/negative that is to be used for tuning the damp timing. I have also hard coded smpl3 to occur 5 usec before the end of the prt. Prt, Smpl1 and smpl2 will be provided as inputs from the embedded cpu. Also added VHDL to the time_calc process to adjust the damp timing.
I am not posting these changes yet... I will incorporate some other minor changes and remove some redundant VHDL first. I am also starting the RX module... need to wrap my head around the XADC to acquire the samples. All will be posted as they progress.
Comment
Comment