Kinect & PAC's (Programmable Automation Controller)
- Posted: Apr 23, 2012 at 6:00 AM
- 5,327 Views
- 4 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Today's inspirational project shows how the Kinect and Kinect SDK is being used in some unusual ways.
This project is an extension of some work I did last November that integrated gesture-based control with a Programmable Automation Controller (PAC). The purpose of this simple follow-on experiment is to demonstrate interactions between a control program running in a PAC and a Windows-based HMI program that uses both conventional mouse-based input and gesture input. A short video of this experiment can be viewed below.
PACs are used extensively in automation and machine control applications. They can be programmed to perform advanced data acquisition and control tasks, and offer many flexible options for communicating with other hardware devices and SCADA/HMI systems. The concept I am trying to promote in my experimentation is the use of advanced natural user interface (NUI) devices like the Microsoft Kinect in automation and machine control applications. There are many practical uses for NUI technologies in industrial applications, where conventional "hands-on" human-machine interactions may otherwise prove to be difficult or potentially hazardous.
This project was created with the recently released Kinect for Windows sensor and the Microsoft v1.0 commercial SDK. The hardware device used in this demonstration is a Snap PAC Learning Center courtesy of Opto 22 Corporation, which includes a PAC-R1 controller and I/O rack containing a mix of various input and output modules. The Learning Center provides a convenient platform for these types of experiments, as it includes switches, LEDs and other components for simulating real-world operating conditions.
In this latest experiment I wrote a simple PAC program that monitors state transitions of an ON-OFF toggle switch. The toggle switch provides a voltage to one of the DC input modules on the rack, and another DC output module switches one of the panel LEDs on and off. The PAC program monitors both state transitions of the switch and the on/off status of the LED; if a switch-state change is detected, the program toggles the voltage to the LED. This could have easily been accomplished by directly mapping the input module to the output module, but the idea here is to allow an external HMI program to also interact with the I/O points.
Project Information URL: http://bkbrown.com/projects-Opto2.html
Related is this project, which is kind of meta...
April 2012 - This is a prototype for a 3D computer game that incorporates motion control using a Kinect sensor and real-world device control using a programmable automation controller (PAC). All character movement in the Unity game environment is controlled through right-hand gesture recognition.
In this proof-of-concept, the panel lamp on the virtual instrument tracks the physical instrument lamp, regardless of whether control is from the toggle switches on the panel or from the virtual buttons. The buttons react to "collisions" with the green sphere hovering in front of the first person game character. The game's control scripts interact with the PAC hardware, which is also running a simple program for physical control of the panel lamp.
Project Information URL: http://bkbrown.com/projects-Unity.html
Contact Information:
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
On a similar topic, here's a link to my latest video showing a Kinect servo-controlled camera:
http://www.youtube.com/watch?v=HyRy_04b0dY
This is the first stage of a larger project that will also incorporate speech recognition.
@bkbrowncom:That's pretty cool... Let me know when there's more to share, details, links, etc and I'll try to get it its own post here on the Gallery...
I thought I'd take the recently released Kinect SDK v1.5 out for a drive and experiment with the facial tracking features using my servo-controlled webcam. Here's my first video clip:
http://www.youtube.com/watch?v=EPWxGrKn-r0
@bkbrowncom:That's awesome!
Remove this comment
Remove this thread
close