Hello everyone.
I'm currently working as an intern for a company that has assigned me a project to work on. In my last post I went more in detail about the project, but long story short, my job is to make my company's ped welding stations safe, by being able to detect any obstruction between the weld tips, such as an operator's hand.
The only thing I have to work with is an LDT that tells me position of the weld tip. Other than that I wasn't given a whole lot of instruction. I've come to the conclusion that since I know the distance between the weld tips, and I know the time it takes to extend the weld tip (I can adjust that with a pressure regulator), that I can figure out velocity.
My thoughts are since the LDT has a linear rate of change, any obstruction between the weld tips should cause the rate of change of the LDT to slow down for a split second, making it non linear.
My initial thought was to repeatedly run a short timer as the weld tip extends, say 50ms. At the start of the timer, record the position of the LDT, and at the end of the timer record the position of the LDT. If the LDT didn't move between a certain distance in that time, say 28 - 30 bits of change, then something had obstructed the weld tip, and a fault had occurred.
I'm not sure if my intital idea will work or not, but the other day, one of my co-workers suggested maybe trying to use a PID. Being only an intern, I have never had to use a PID. I understand the general idea behind them on how they work, but when it comes to setting one up and actually using it, I am pretty clueless other than having read the instruction help file and several other articles on the web.
I am stuck using only the LDT and time to figure this out. I am not allowed to add anything else to the ped welder.
Any thoughts or suggestions on how I should approach this would be greatly appreciated. Thanks!
I'm currently working as an intern for a company that has assigned me a project to work on. In my last post I went more in detail about the project, but long story short, my job is to make my company's ped welding stations safe, by being able to detect any obstruction between the weld tips, such as an operator's hand.
The only thing I have to work with is an LDT that tells me position of the weld tip. Other than that I wasn't given a whole lot of instruction. I've come to the conclusion that since I know the distance between the weld tips, and I know the time it takes to extend the weld tip (I can adjust that with a pressure regulator), that I can figure out velocity.
My thoughts are since the LDT has a linear rate of change, any obstruction between the weld tips should cause the rate of change of the LDT to slow down for a split second, making it non linear.
My initial thought was to repeatedly run a short timer as the weld tip extends, say 50ms. At the start of the timer, record the position of the LDT, and at the end of the timer record the position of the LDT. If the LDT didn't move between a certain distance in that time, say 28 - 30 bits of change, then something had obstructed the weld tip, and a fault had occurred.
I'm not sure if my intital idea will work or not, but the other day, one of my co-workers suggested maybe trying to use a PID. Being only an intern, I have never had to use a PID. I understand the general idea behind them on how they work, but when it comes to setting one up and actually using it, I am pretty clueless other than having read the instruction help file and several other articles on the web.
I am stuck using only the LDT and time to figure this out. I am not allowed to add anything else to the ped welder.
Any thoughts or suggestions on how I should approach this would be greatly appreciated. Thanks!