|
Post by paulg100 on Feb 20, 2016 20:09:59 GMT
OK i had it hitting 600hz with different settings, ill have another play and get another video.
Thanks for the tips!
Im also about to order some more steel and fab an EMI enclosure for the AMC (despite allot of searching I couldnt find a pre-made di-cast enclosure with the right dimensions). Maybe a good enclosure will help with the noise
|
|
|
Post by GA-Dawg on Feb 20, 2016 21:38:15 GMT
Paul,
Thanks for the update. I am using a cabinet similar to yours and having you lead the way will hopefully mean I gain insight (and save a little time).
Thanks for sharing
-GA Dawg
|
|
|
Post by paulg100 on Feb 22, 2016 11:06:10 GMT
Did some more investigations and trouble shooting at the weekend to try and get to the bottom of the jitter issue, Moved the amc out and away from the cabinet and set up 1 vfd to test and eliminate any issues with EMI from the VFD's, jitter the same so not an emi issue. Also ordered 1 sample of the more expensive ball bearing pot a week or so back and hooked that up, jitter still the same so not a pot issue. (will be handy to keep as a spare) I also concluded after trying to capture the problem frequencies better that the mini dso201 oscope i bought is basically rubbish inconsistent readings or no frequency readings at all. So i decided to get a little more serious and order a Hantek DSO5102p like this one: Still a hobby model but is mod-able to 200mhz via custom firmware and analysis tools look a hell of a lot more informative and easy to identify problems vs the little DSO. Aside from that spent allot of time watching youtube videos and reading about LC filters, how capacitors and inductors work and how to use oscilloscopes. This project is becoming a bit more involved than i though! but i can say im learning allot at least.
|
|
|
Post by mhensen on Feb 22, 2016 11:45:17 GMT
Wow .. You are diving in all the way!! I hope you find what you are after and that we all can benefit from you experiences!!!
|
|
|
Post by paulg100 on Feb 22, 2016 20:06:49 GMT
yes dont really have much choice Michael, with this jitter issue the platform runs horrible and ive checked about every other possibility. The 0.1uf caps definitely help so this seems to be on the right track just need to find the problem frequencies. Im also just reading about ground loops in case that is a possible cause. On the other hand i could be completely off target and maybe it is a PID issue but since im getting jitter even with the pots zeroed by hand before any rotation i think not. Ill be watching to see how you get on with yours and maybe you will have some advice
|
|
|
Post by mhensen on Feb 22, 2016 20:44:39 GMT
Well I am hitting my own problems.. See my thread :-(
|
|
|
Post by paulg100 on Feb 23, 2016 11:54:46 GMT
Been busy trawling through many webites at the moment to read about noise sources and management. this is one of the better pages i came across regarding cable types, routing management and termination when using VFD's and motors. Might be of interest to some. webcache.googleusercontent.com/search?q=cache:http://www.belden.com/docs/upload/vfd_choosing_wp.pdf&gws_rd=cr&ei=HkLMVryYBsmAywPO8K7gCQ (not well laid out but good info) one thing ive learnt, SY cable is not emi shielded..! and yep i used SY for cable to motor from vfd!! so looks like im ripping that all out and changing for CY. Also didn't realise your supposed to terminate the shield to ground at both ends. fortunately i used CY for the signal leads to amc. . for the pots i used shielded audio cable and used the shield for ground. Only concern there is that is very thin gauge 28-30 so impedance will be higher. although its only 5v so hopefully this is OK??. might try a different cable during testing to be sure.
|
|
|
Post by paulg100 on Feb 27, 2016 13:00:40 GMT
OK some testing with my new oscope today (which is a dream to use compared to the minidso) These measurements are with 20mhz bandwidth limiting and 10x probe. Firstly im trying to identify where the junk noise is coming from that's causing the pot jitter. I took readings directly from VFD analog O and L output with no connection to AMC (go to AMC 10v analog out and ground when connected) These are stationary signals with no control movement.
|
|
|
Post by paulg100 on Feb 27, 2016 13:02:37 GMT
Then i put a 0.1uf ceramic capacitor across. As you can see big reduction in the noise level. and this makes a significant difference to the jitter although does not eliminate it completely. So i need some other capacitors? Cuts noise/frequency from about 1.15mhz to about 500khz Im assuming this line should ideally be close to flat when there is no directional output/input from vfd.
|
|
|
Post by paulg100 on Feb 27, 2016 13:05:30 GMT
And just to be sure the noise was not coming from the analog end of the AMC, maybe transmitted from 24v psu. First with 24v power and no direction output Then with direction output: So i think this looks normal and pretty clean, the small amount of noise is probably coming from oscope? The junk appears to be coming from the VFD's analog ports. What do you think Thanos?
|
|
|
Post by tronicgr on Feb 27, 2016 15:07:33 GMT
That looks great with the 0.1uF cap. The remaining noise should be coming from the sensor side as they are in the same loop. What you can do is to add an 0.1uF cap on the sensor leads too, between Vout and GND. If not much difference, add another 0.1uF cap on the Amc1280usb side on the terminal connector.
Filtering is tricky business. If I only could filter all noise on the board I would, but the control loop extends to devices outside the board as well (wiring, PSU, VFD, sensors, etc).
It will never be flat line, but the smaller the noise Pk-Pk the smaller the impact it will have to the control loop.
Thanks Thanos
|
|
|
Post by paulg100 on Feb 27, 2016 19:03:55 GMT
OK thanks Thanos I added 5 0.1uf caps in total! 1 at each end of the sensor cable (not sure this is being that effective need to test more) 2 at the amc 10v out and 1 at the vfd 10v analog end. (caps at the 10v have the biggest impact) This is the result now its silent now at pot home. less than 400khz. im thinking a filter on the AC input might also help but if i understand the VFD acts like a switching PSU so noise is generated after the AC input. Im fairly sure most if not all of the noise is coming from the VFD end. Or maybe some larger caps on the loop side to kill the lower frequency?
|
|
|
Post by tronicgr on Feb 27, 2016 23:56:51 GMT
Try add 0.1uF caps on the analog inputs like this:
Thanks Thanos
|
|
|
Post by mhensen on Feb 28, 2016 1:56:39 GMT
I ordered me a bunch of 0.1uf's too.. just in case, never can hurt!! After installing the limit switches it looks like I have more 'noise' on the line!
|
|
|
Post by paulg100 on Feb 29, 2016 13:46:25 GMT
|
|