Great to see so many people get involved. Here is the journal article I found.
app.aws.org/wj/supplement/WJ_1992_08_s277.pdf
It took me a few hours of methodical study before I understood how simple the final algorithm really is. It outlines the rationale behind their choice of 40 msec sample period (so that they can account for the 3 phase ripple.) on a single phase machine, the ripple period should be 100-120 depending if you have 50 or 60 Hz but I doubt you'd want to get down so quick.
PCW wrote: The 7I87 has been used for THC applications, its not quite as rugged as the THCAD
(more capacitance from input to output because of the isolated power supply transformer)
but has better resolution.
I don't think the lack of robustness would be an issue in a modern plasma that does not use HF start and includes an internal voltage divider. Mine has a blow back start design and a configurable 16:1 or 50:1 voltage divider.
PCW wrote: It also should be possible to get min/max and average readings for THC sampling use with a 7I87
(it already samples all inputs at about 50 KHz each but currently just presents the average values
to the host)
It would be awesome if Mesa could provide software drivers that presented LCNC pins for min/max and average volts for a multiple of the given frequency. Another alternative would be to leave the sample period where it is and allow the number of samples included in the min/max and averages to be defined. either way, we need to get the min value every 40 ms.
A couple of other observations.
There is already a complete config for Plasma with no Z axis stuff in it for Independent THC. Tomylight reposted a link to it recently in response to a question of mine.
The independent THC I have also requires connection to the X & Y pulse generator signals. I assumed this is so it can monitor torch velocity to solve the problem islander had with his arduino.
Keep the discussion going guys.