01-30-2011 04:45 PM
It depends on the sensor systems which you are using.
There are many turnkey products out there but the more complete the system, the higher the price.
If your GPS data is not already decoded, you are looking at about a year of research to complete such a code. Some people do their Doctorate on GPS decoding and it takes them a couple of year. Same with the Sonar. There are products out there which come with a Labview interface, but you are looking at a few grand worth of hardware and software.
It depends on your budget. If this is just a hobby I would suggest you start small, first create a remote controlled vehicle, then move to IMU, GPS and Sonar, in that order.
Now to get you started. the NI DAQ 6009 can not generate enough current for you to drive a stepper motor. You can use it as a signaling hardware to some sort of a drive. Even then using the 6009 you can only generate a PWM wave form with the frequency of 500Hz. Also you need some sort of SPI, USB or RS232 communication to transfer data from a GPS receiver to a computer. Do you know which one your receiver has?
01-31-2011 07:22 AM
the sonar device uses PWM O/P, it it an stand alone chip which acts as transceiver(ultrasonic waves) for calculating distance from obstacle, we send in trigger pulse in the input pin(5v ttl), after bouncing back from the obstacle it gives out PWM of high state pulse.
PULSE WIDTH OF THE DIGITAL high PULSE is directly proportional to distance from obstacle.
as for actuators i am using STEERING system for which an servo motor is used, to control an servo motor we need just an 5v ttl pwm input into the control pin of the motor to make it turn through 180 degrees.
as for GPS i am using usb based GPS receiver which streams out strings of data.
01-31-2011 04:15 PM
Do you have the financial Capability to upgrade the DAQ from a 6009? if you are receiving a PWM from the Sonar it will be very difficult for you to calculate the duty cycle using a 6009 DAQ.
The Driver which you are using, what kind of signals does it accept. Is it direction and speed signal, or does it go back and forth based on the duty cycle?
What level experience or education do you have, this will let me know how detail I need to get?
Depending on the train in which you are operating this vehicle, I would suggest changing your steering to a Stepper motor, do you have this capability?
You still haven't answered my question, those your GPS receiver decode the signal or does it pass raw data through?
02-01-2011 02:23 AM
sorry,
the GPS receiver streams out data in the form of strings, depending upon the mode we are using ( in this case im using RMC mode).
I am an final year under graduate in electronics and instrumentation engineering.
but we can measure the time(micro seconds to milliseconds)for which the signal remains at high state( 5v ttl) from the output pin of the SONAR device.?
as of the DAQ i am using usb 6251, in the department of my college.
02-02-2011 11:58 AM
sir,
i am finding difficulty with sending messages through the forum service, can u please give me your Email id, for faster interaction.?
regards,
ragamlt
02-16-2011 05:57 PM
do you have a sample VI for GPS based autonomous systems? pls this is urgent
02-16-2011 07:07 PM
My appologies I had to go out of town and completely forgot about our discussion once I came back.
I can't just provide you with a VI which will do all of the work for you.
I can guide you and help solve your problems but I cannot simply provide the final product for you. The software we work on has copy rights and you will not be able to simply use it.
For Example, if you are using GPRMC then you need to use VISA to read the string outputted by the GPS Unit. After you accomplish this we can work on breaking the srting up into the 9 usefull section.
You have to put some effort into this, You will not find anyone who is willing to provide you with months worth of research.
Let me know if you are interested,
02-17-2011 07:09 AM
first of all, i would like to know if u can connect gps with compactrio....if you can, how? secondly after which, i would like a sample vi for the gps please... i have just 1 and a half month to finish this project...this is very urgent
02-17-2011 11:27 AM
You said your GPS has a USB output, then connect that directly to the computer using VISA. there is no reason to go through the compactrio.
Again no one is going to give you a working GPS decoder, you need to start working on it. The reason behind school projects is that you learn how to work around problems with some guidance not to ask on a discussion board for a final product. The Code i have available to me decodes and filters the signal. Obviously you cannot use that since your GPS already has this code built in. All you have to do is break up the string which the GPS provides and you will have all the information you need.
02-17-2011 12:46 PM
sir,
to explain in detail, my SONAR sensor has I/O pin which wen triggered for 20microsec to 100 microsecond, gives response according to distance of obstacle in terms of pwm, which blockset could be used to measure the time of high state of digital pin?