Page 3 of 7 FirstFirst 12345 ... LastLast
Results 31 to 45 of 99

Thread: Math problem I'm too stupid to solve

  1. #31
    Join Date
    12th August 2008 - 15:42
    Bike
    1990 Kawasaki Eliminator
    Location
    Henderson, Auckland
    Posts
    10
    Quote Originally Posted by jrandom View Post
    Try being a bum on a bicycle. This shit does my head in.
    That's an interesting biological problem.

    We beeped at some clown on a pushbike the other evening.....
    Aim for the moon; even if you miss you'll land amongst the stars
    (Anon)

  2. #32
    Join Date
    3rd July 2003 - 12:00
    Bike
    Scorpio, XL1200N
    Location
    forests of azure
    Posts
    9,398
    Quote Originally Posted by MuzzyBee View Post
    That's an interesting biological problem.
    Biological?

    Quote Originally Posted by MuzzyBee View Post
    We beeped at some clown on a pushbike the other evening...
    I bet he gave you the learn through the next intersection, though.
    kiwibiker is full of love, an disrespect.
    - mikey

  3. #33
    Join Date
    12th August 2008 - 15:42
    Bike
    1990 Kawasaki Eliminator
    Location
    Henderson, Auckland
    Posts
    10
    Quote Originally Posted by jrandom View Post
    Biological?
    A bum on a bicycle does your head in. Some (not me, of course) may suggest the similarity between your head and your bum..... (but not me of course)


    I bet he gave you the learn through the next intersection, though.
    Yes, while failing to indicate and completing an inconsiderate lane change or three.....
    Aim for the moon; even if you miss you'll land amongst the stars
    (Anon)

  4. #34
    Join Date
    3rd July 2003 - 12:00
    Bike
    Scorpio, XL1200N
    Location
    forests of azure
    Posts
    9,398
    Quote Originally Posted by MuzzyBee View Post
    Some may suggest the similarity between your head and your bum...
    I have been told that they're both gorgeous, but I just figured the flatterers were after my money.

    Quote Originally Posted by MuzzyBee View Post
    (but not me of course)
    You presumably have no need of my money.

    Quote Originally Posted by MuzzyBee View Post
    while failing to indicate and completing an inconsiderate lane change or three.....
    He probably had a reputation to live up to.
    kiwibiker is full of love, an disrespect.
    - mikey

  5. #35
    Join Date
    23rd March 2007 - 10:24
    Bike
    Black something
    Location
    Auckland
    Posts
    491
    Quote Originally Posted by Coldrider View Post
    How linear is the output of the strain gauge of the weigh cell.
    Also depends on the accuracy of the analogue input card, and whether the A to D converter has span and zero correction or a fixed constant as a correction.
    Dont know how linear the output is, this is the loadcell :
    http://shop.totalcomp.com/catalog/do...ag_5-100kg.pdf

    A-D has span and zero calibration options - I don't have the equipment to set them tho so they remain as factory set. Unit is a Advantech Adam 6017 :

    http://www.advantech.com/products/AD..._1-2MLBFW.aspx

    Your thoughts would be appreciated
    "And, look, the luscious and fecund fronds of the Silver Fern has given brilliant birth to a stupendous fruit! A red Hondaberry, desposited by a lesser known species of Plonker Gittus Maximus Idiotus."

  6. #36
    Join Date
    19th September 2006 - 22:02
    Bike
    02 Ducati ST4s
    Location
    Here there everywhere
    Posts
    5,458
    Range to target is...

  7. #37
    Join Date
    1st July 2007 - 17:40
    Bike
    my little pony
    Location
    shoebox on middle of road
    Posts
    1,522
    Quote Originally Posted by Winter View Post
    Dont know how linear the output is, this is the loadcell :
    http://shop.totalcomp.com/catalog/do...ag_5-100kg.pdf

    A-D has span and zero calibration options - I don't have the equipment to set them tho so they remain as factory set. Unit is a Advantech Adam 6017 :

    http://www.advantech.com/products/AD..._1-2MLBFW.aspx

    Your thoughts would be appreciated
    Do it 1st thing in the morning Cheers

  8. #38
    Join Date
    1st July 2007 - 17:40
    Bike
    my little pony
    Location
    shoebox on middle of road
    Posts
    1,522
    Without looking at the data, you need to get a voltage generator within the range, and input this to get the algorithm correct with respect of the input across the full range. If the input is not strictly linear that is not much you can do, but zero and full range to be correct.
    From there you need the real world and place a known low weight, and zero span that to correct displayed weight, then place a high end known weight, use span to correct that weight display. Back to low weight re-zero to that known, then high end weight using span adjust.
    Continue in that order till both known weights are displayed correctly by the algorithm. Realistically the low end weight needs to 10% and high end 80%.
    Basically this linearises the input between weights.
    I do a lot of PLC programming for speed weights, acceleration, pressure, PID loops etc.

  9. #39
    Join Date
    1st July 2007 - 17:40
    Bike
    my little pony
    Location
    shoebox on middle of road
    Posts
    1,522
    Sorry, when you start calibrating the real weights, you disconnect the voltage (or analogue generator, and hook in the weigh scale input) you prob guessed.
    IANZ labs is the calibration standard mostly certified)

  10. #40
    Join Date
    22nd April 2005 - 21:18
    Bike
    2009 Husqvarna SM610ie
    Location
    Zork
    Posts
    1,725
    I can count to potato!

  11. #41
    Join Date
    4th May 2006 - 21:21
    Bike
    2006 BMW F800ST
    Location
    Southland
    Posts
    4,916
    Quote Originally Posted by mynameis View Post
    After 10 pages could someone please be courteous enough to summarise the problem and answer to it
    Dude has a value within a range. Wants to express the equivalent value within a different range.

    Dead easy.

    Example for those not farting around with hexadecimal shit and stuff. A year has 365 days, 52 weeks and 13 lunar months.
    Lets pick day 200 out of 356
    It is also week 28.49 out of 52
    And it is also month 7.12 out of 13

    Piece of piss
    In space, no one can smell your fart.

  12. #42
    Join Date
    1st July 2007 - 17:40
    Bike
    my little pony
    Location
    shoebox on middle of road
    Posts
    1,522
    Before i get kicked off my PC, load cell will strain gauge will be in millivolts, usually hooked up to an amplifier card, that usually outputs 0 to 20 milliamps or 0 to 10 volts. That is what normally is the input to A to D input, are you using the milliamps direct input.

  13. #43
    Join Date
    23rd March 2007 - 10:24
    Bike
    Black something
    Location
    Auckland
    Posts
    491
    Quote Originally Posted by Coldrider View Post
    Before i get kicked off my PC, load cell will strain gauge will be in millivolts, usually hooked up to an amplifier card, that usually outputs 0 to 20 milliamps or 0 to 10 volts. That is what normally is the input to A to D input, are you using the milliamps direct input.
    Correct, there is no load cell amplifier, summing box, or anything of the sort.

    Loadcell outputs range of 0-30mV, AD inputs take +/-150mV - not the pefect match but good enuf
    "And, look, the luscious and fecund fronds of the Silver Fern has given brilliant birth to a stupendous fruit! A red Hondaberry, desposited by a lesser known species of Plonker Gittus Maximus Idiotus."

  14. #44
    Join Date
    1st July 2007 - 17:40
    Bike
    my little pony
    Location
    shoebox on middle of road
    Posts
    1,522
    Quote Originally Posted by Winter View Post
    Correct, there is no load cell amplifier, summing box, or anything of the sort.

    Loadcell outputs range of 0-30mV, AD inputs take +/-150mV - not the pefect match but good enuf
    Provided you can input directly the load cell input it is ok. If the algorithm you have written calculates the O KG and 100 KG correctly as inputs, all is good at that point. Zero & span calibration removes any load cell irregularties.

  15. #45
    Join Date
    23rd March 2007 - 10:24
    Bike
    Black something
    Location
    Auckland
    Posts
    491
    Quote Originally Posted by Coldrider View Post
    Provided you can input directly the load cell input it is ok. If the algorithm you have written calculates the O KG and 100 KG correctly as inputs, all is good at that point. Zero & span calibration removes any load cell irregularties.
    Yes i think the biggest source of error in this system will be the excitation voltage supplied to the loadcells. It can take 10-15v excitation. outputs 2mV/Vex so I fed it 15v. Power comes from a cheap 24v din rail psu via a DC-DC converter outputting 15.09ish volts.

    I need a way of scaling the 15v power supply to a linear 0-10v signal i can read with the AD, and dynamically calculate the algorithm based on the correct excitation voltage as read every sample time.

    Isn't anyone going to ask me what its for?
    "And, look, the luscious and fecund fronds of the Silver Fern has given brilliant birth to a stupendous fruit! A red Hondaberry, desposited by a lesser known species of Plonker Gittus Maximus Idiotus."

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •