Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 07:48 19 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Electronics : How to Covert M/S to KMH

Author Message
cindy

Newbie

Joined: 11/04/2011
Location: China
Posts: 13
Posted: 12:49am 15 Apr 2011
Copy link to clipboard 
Print this post

Hi, good morning!

We finally have our logger worked!! But there is one problem regarding the wind speed, our Anemometer is 10 pulse M/S, but the logger is asking for the information of "how many pulses per kmh" (see below), how to convert this?

We tried the number of 2.77777, but it doesn't seem work right. So, i would really need the help from an expert , thank you in advance!!



Surf with the wind!
 
cindy

Newbie

Joined: 11/04/2011
Location: China
Posts: 13
Posted: 12:50am 15 Apr 2011
Copy link to clipboard 
Print this post

the picture did not show, so, here it is again,



Surf with the wind!
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5036
Posted: 04:14am 15 Apr 2011
Copy link to clipboard 
Print this post

Hi Cindy

M/S is meters per second. To convert to kmh, divide by 1000 to get km per second, then multiply by 3600 to get pulses per hour instead of per second.

Keeping it simple, to convert M/S to kmh, multipy it by 3.6

If your anemometer is calibrated to give 10 pulses for 1 M/S, then its going to be 36 pulses for 1kmh

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5036
Posted: 04:19am 15 Apr 2011
Copy link to clipboard 
Print this post

Cindy I just noticed your using the old PicLog software. You need to use the latest version 2.0, its got a lot of bug fixes and is much more reliable. Please read the full article, 5 pages in all.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
cindy

Newbie

Joined: 11/04/2011
Location: China
Posts: 13
Posted: 11:31am 15 Apr 2011
Copy link to clipboard 
Print this post

Hi, Glen, thanks so much for your help!!!

We downloaded the latest version software, however, there is a mistake occured whening running it, here is a capture of a screenshot. Please kindly have a look and let me know what happened, thank you so much!!



Surf with the wind!
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5036
Posted: 11:37am 15 Apr 2011
Copy link to clipboard 
Print this post

Need to see the error log Cindy.
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
cindy

Newbie

Joined: 11/04/2011
Location: China
Posts: 13
Posted: 11:55am 15 Apr 2011
Copy link to clipboard 
Print this post

Good evening, Glen.

I think here is the error log;



Error log timestamp Friday 11/04/15 19:53:54

Runtime error: index: 0 is outside of collection bounds

Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject>
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'index: 0 is outside ...'>
OrderedCollection(Object)>>error: <'index: 0 is outside ...'>
OrderedCollection(IndexedCollection)>>errorInBounds: <0>
OrderedCollection>>at: <0> put: <0>
BasicVariableManager>>assignByName: <'JmeBcj_?.0'> toBe: <0.0>
BasicFnDef>>readVariablesFromStream: <aMixedFileStream>
BasicFnDef class>>fromStream: <aMixedFileStream>
BasicRunProgram>>readFnDefsFromStream: <aMixedFileStream>
BasicOnDemandCompiler class>>readTknFile: <aMixedFileStream> callingProgram: <anUndefinedObject> commandLine: <''>
Basic class>>start
Message>>perform
NotificationManager>>empty
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>perform
Message>>evaluate
Process>>safelyEvaluate: <aMessage>
Process>>evaluate: <aMessage>

Surf with the wind!
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5036
Posted: 01:11pm 15 Apr 2011
Copy link to clipboard 
Print this post

Did some research, looks like JustBasic, the platorm PicLog 2.0 was written in, wont work on a PC set to run in some Asian locations. Dont know why, it was meant to be fixed at a later date. Out of my hands.

Re: Runtime error: index: xxx is outside of collec
Post by Stefan Pendl on Feb 20th, 2006, 12:07pm

Just BASIC .TKN files will not work on Asian localizations untill v1.02 is released.

Lberty BASIC v4.03 allready contains a fix for this, Just BASIC v1.02 will be based on LB4.03.

http://justbasic.conforums.com/index.cgi?board=novice&action =print&num=1140451712

All I can suggest is you go back to using the old PicLog software. The old software does work, but its buggy and may crash from time to time.

Remember, the PicLog was not designed as a easy to use, plug and play, buy over the counter, windmill logger. It is a learning tool, to teach programming for a real world senario, like logging a wind turbine. This means you may need to modify the program and circuit to suit your own needs.

Glenn

The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
cindy

Newbie

Joined: 11/04/2011
Location: China
Posts: 13
Posted: 05:17am 18 Apr 2011
Copy link to clipboard 
Print this post

Hi, Glenn, thanks for your information, you've been really really helpful, thank you!

Now we tried to input 36 in the blank, but the number came out is quite strange, please kindly have a look at the following two captures of the screens,

No. 1 (when setting the wind speed, we input 36)


No. 2 (then we get the result when the wind speed is 1kmh, the RMP is 218.6 )


which we think it is a kinda impossible, there is no way to reach such a high RPM when the wind speed is only 1KHM,

Because 1kmh equals 0.27778 ms (1kmh=0.27778ms), and the starting speed of our anemometer is 0.8ms, which is to say when the wind speed is 0.27778ms, our anemoter doesn't even start to turn yet ....

...........

we also tried to use the number of 2.7778, which will get a more reasonable result. so, what do you think? is 2.7778 okay?

again, thanks very much for your help!
Surf with the wind!
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5036
Posted: 11:32am 18 Apr 2011
Copy link to clipboard 
Print this post

Hi Cindy

The old PicLog uses a divider, the new uses a multiplier, The figure of 36 is based on a multiplier and wourl work for the new software. As your stuck with the old software, you need to enter 0.0277 ( thats 1/36 ).

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5036
Posted: 11:36am 18 Apr 2011
Copy link to clipboard 
Print this post

The best way to calibrate a anemometer is with another anemometer, or wind speed meter. There are a lot of variables popping into the mix here, old software, different circuit, and a anemometer that I'm not sure if it is calibrated or home made. Using a known calibrated measuring device, like a wind speed meter, is the only way to get the PicLog reading accurately.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
cindy

Newbie

Joined: 11/04/2011
Location: China
Posts: 13
Posted: 05:10am 20 Apr 2011
Copy link to clipboard 
Print this post

Hi, Glenn, sorry for the late reply.

With your help and our engineer's effort, we decide to use the number of 2.7778 and the logger works!!! Here is one picture for your reference.

Thanks very much for your help and input, we really appreciate it!




Surf with the wind!
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024