Sin Fit

is there a vi for regression fitting of sine functions?  like of the form y=A*sin(2*Pi*f+p*t).
thank you in advance.
lucas

Lucas
What version of LabVIEW are you using?  Do you have any data you could share?  If you are using LabVIEW 8.0 or later, then there is a VI that could be a real help.  Take a look at Extract Multiple Tones.vi.  This is similar to the Extract Single Tone.vi, except it will find more than one tone.  It is also a diffent algorithm that the single tone extraction.  The DC offset in your signal will appear in the "multiple tone info" output as a very low frequency tone (milli-Hz to micro-Hz).  Even if you continue to use the Nonlinear Curve Fit.vi, this could give you a very good initial guess, particularly for the frequency.
You also mentioned using a numerical root finder to find the zero crossings.  Given your model (A*sin(wx+p)+b) it seems that you should be able to solve explicitly for x.
a*Sin(wx+p)+b = 0
Sin(wx+p) = -b/a
wx+p = InvSin(-b/a)
x=(InvSin(-b/a)-p)/w
This will give one level crossing (level of zero), and adding full periods will give every other crossing, but the alternate crossings are not half-periods from the crossing x, unless the offset in the model is zero. 
You could view the set of crossings as all x that satisfy:
a*Sin(wx+p+kPi) = 0 where k is an integer,
expanding in Sin and Cos:
a*[Sin(wx+p)*Cos(kPi) + Cos(wx+p)*Sin(kPi)] = 0
Sin(kPi)=0, so
aCos(kPi)Sin(wx+p)=0
let A=aCos(kPi)
solving for x as before gives:
x=(InvSin(-b/A)-p)/w
Using this approach and the Extract Multiple Tones.vi seems to give very good results for the zero crossings on some simple data I tried here (Sine + Gaussian Noise).
The use of local polynomial models will work but if you can involve the entire dataset in solving for a model then there is more "averaging" of the noise in the data and the results should be more robust.  If your data does not match the model well, or the model changes over the course of the data (non-stationary), then Lynn's approach is better.
Hope this helps.
-Jim

Similar Messages

  • Sine-fit algorithm

    Hi,
    I  would like to fit my data (about 200 kpoints) with a sine-wave (with 4 parameters : A.sin(2pi.B.t + C) + D) in LabVIEW. I'm looking for a VI with a convergent algorithm (such as least-square solver) which return me the 4 parameters + the RMS error betwen measurement data and model data. Or why not a more efficient algorithm...
    I have a look in "Optimisation function set" and also in "Ajustement function set" but I didn't find the good VI, Someone can advice me ?
    Regards,
    Benjamin

    You can use the levenberg-marquard fit , but usually the extract single tone information work good enough
    There is a paper from 99 ni'week about the performance of this vi, I added it, because I missed the link
    Depending on your signal, it might be wise to try blocks of complete periods and mean the results....
    I attached a vi that uses this single tone vi to monitor the line frequency , just abuse a headphone as a coil receiver and plug it into the mic input of your soundcard and place the headphone near a transformer...
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'
    Attachments:
    line freq with soundcard v2.vi ‏35 KB
    FFT tone detection Moriat NIWeek99.ppt ‏1159 KB

  • Best fit lines for loops and sine waves

    I am trying to find a best fit line that will work for sine waves and loops (hysteresis loops). I can get the sine wave just fine, but when I switch to a hysteresis it just puts a line across the middle (I assume because of the 2 y values for every x). I am doing data acquisition that will take in both forms and graph them. I tried a polynomial fit and it doesn't work at least the way I implemented it and I tried a few others but it looks like they are all function based. Also, my y values are coming out of a Bessel filter. I don't think this would be affecting anything but I thought I would put it in here incase it does.
    Did I miss one that I haven't tried that works for my application?
    Thanks
    Patrick

    RiversDaddy wrote:
    ... currently I am doing it by looping and reducing the error towards zero to fit the amplitude and phase. (I know the frequency).  If this is what you are looking to do then I will help, or should I be doing things differently? All of the functions I have found to filter or extract tones seem to introduce a larger frequency of phase error than i get using this method, but am I missing something?
    "looping" is a bit vague. What is the actual algorithm to find better estimates (e.g. levenberg marquardt, etc.)
    What problems did you have with extract single tone. Can you show some data where the results from it are not good?
    LabVIEW Champion . Do more with less code and in less time .

  • Curve fitting sin*Exp

    Hi,
    I have a few questions,
    1- Can I put my initial guesses to the `curve fitting express` via an array control instead of editing each time the express itself?
    2- I have trouble with the fitting of my signal. it`s far beyond my initial guesses. I tried playing with the numbers and it seems when I put the right numbers in the function instead of using the parameters, the fitting is perfect, but when I put the same numbers as initial guesses I don`t get even close to data fitting, instead I get most of my signal as a residual.can someone help?
    3- the fitting itself takes ages, is there any way to make it faster?
    SubVI, and the text data file attached.
    thanks.
    Attachments:
    Untitled 12.vi ‏155 KB
    testing1.txt ‏114 KB

    You are trying to fit
    y(x)=a*cos(b*x)*cos(c*x)*exp(d*x)+e
    with [a, b, c, d, e] as adjustable parameters. This seems like a poorly defined model, for example you will have an equally good solution swapping b and c. Also from looking at the data, d should be negative, yet you give it a large positive value as guess. Periodic functions such as "cos" (I am not sure why you use "sin" in the title of the post) are always problematic, because you can fit equally well to an alias frequency by mistake. You need to be absolutely sure about good initial guesses here. Is the model really sufficient? For example, you don't account for possibe phase.
    Your file also does not contain enough significant digits, so there are multiple x values for each y. It seems however, that the x-values are linearly spaced, so it is possible to approximate the real x ramp (see attached).
    Anyway, to your question. You can skip the express VI and use "nonlinear curve fit" instead. If speed is a concern, you should use the VI model, which is pretty simple in this case. (fitting takes much less than a second)
    Aristofel wrote:
    ... I tried playing with the numbers and it seems when I put the right numbers in the function instead of using the parameters, the fitting is perfect,...
    Is this synthetic or real data? As a first step, you should generate fake data with known parameters and see how well the fit does if the estimates are somewhat off.
    What are the "right numbers" in this case?
    In any case, Your problem is probably better solved using e.g. a fourier transform. You should get two lorentzian peaks with the midpoint between the two related to (b) the separation between the two related to (c) and the lorentzian width related to (d). Your data gives a much more complex transform, so your model seems way too simplistic for your data anyway.
    Can you give us a bit more background on the origin of the data, the physics behind it, and the model?
    Attached is a literal translation of your VI to the plain "VI model" fitting. Still, nonlinear fitting seems to be the wrong choice for this problems as outlined above.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    SinExp.zip ‏55 KB

  • 3D nonlinear fit + smoothing

    Hello,
     I am trying to fit or smooth a 3D set of data which comes from a CCD image (saved as a 32 bit bitmap ). I need to get rid of the small fringes that you can see in the bitmap attached ( hence smoothing of my data) and  find the phase of the sin function that describes the 3 big fringes . These big  fringes will shift for other CCD images that I have. The function that I need to fit with is a 2D gaussian multiplied by a sin(bx+cy+phase), where x and y are the pixels of the CCD. I was looking at the example of fitting 2D gaussian  surface with offset, but I am lost.
     Any ideas where to start from/ or the best solution for my problem?
    Thank you,
     Andrea
    Attachments:
    f.jpg ‏24 KB

    Well, way too much code!!!
    Remember that the Fourier tools take 2D arrays directly. Here's a "quick and dirty" attempt:
    You should be able to get the frequency and phase of the components directly from the peaks in the complex FT.
    Message Edited by altenbach on 03-05-2008 05:11 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FourierCutoff.png ‏233 KB

  • Help Creating a Sine Wave in Numbers '09?

    Hi,
    I'm having trouble graphing some data in Numbers, having been used to Excel for most of my life. What I've basically got to do is graph a sine wave representing the annual variation described in the graph (it compares CO2 concentration measured at a chain of islands to time in years). I've figured out easily how to graph the data on a polynomial treadline curve, but now I've got this to do.
    The instructions say to make a new column in column D and enter in the equation 1.435x-2501.1, which is derived from the linear fit treadline equation I had calculated earlier. After that I am to copy it down to match the number of cells in column A (626), which I did, so now every cell in D down to 626 contains that equation above. Then, I enter 1 in cell E1 and 1/12 in order to arbitrarily guess at the sine wave amplitude and period, respectively, and finally I then select cell D1 and put in this equation:
    =1.435*A2-2501.1+($E$1*SIN(A2/$F$1))
    After that I grab cell D2, drag it down to select all the cells in column D, and add it to the graph by (I think) dragging it onto the graph, as Numbers says to do. What I'm uncertain of is where to go from here. Here are the instructions:
    'To plot the model values on the chart, double click or right click on the chart and select "Select Data" and click on Add under Series. Name the series "Model" and select data in column A for the X values and data in column D for the Y values. Rename Series 1 "Raw Data" and click OK."
    That's all stuff you can do in Excel... I don't know how to do it in Numbers. When I drag D into the graph, it works fine, but when I go to add in column A for X and D for Y in Inspector it won't let me type anything. How do I complete this sine wave?
    Thank you very much in advance for reading through this and helping me.

    theleonhearted wrote:
    The instructions say to make a new column in column D and enter in the equation 1.435x-2501.1, which is derived from the linear fit treadline equation I had calculated earlier. After that I am to copy it down to match the number of cells in column A (626), which I did, so now every cell in D down to 626 contains that equation above.
    I'm not sure of the reason for this step.
    1.435x-2501.1
    Entered into D2, with the x value in A2 is expressed as:
    =1.435*A-2501.1
    which is part of the formula below.
    Then, I enter 1 in cell E1 and 1/12 in order to arbitrarily guess at the sine wave amplitude and period, respectively, and finally I then select cell D1 and put in this equation:
    =1.435*A2-2501.1+($E$1*SIN(A2/$F$1))
    I'm assuming "1/12" goes in F1.
    I've also assumed row 1 is a Header row, and have entered your formula into the first data row (D2)
    Your formula is now:
    (1.435 times the value A) - 2501.1 + 1 * (Sin( the value in A divided by 0.833...))
    or
    (1.435 times the value A) - 2501.1 + 1 * (Sin( the value in A multiplied by 12))
    You haven't given any specifics regarding the raw data, so I've arbitrarily set it to a positive linear slope by making A =ROW()-1.
    After that I grab cell D2, drag it down to select all the cells in column D, and add it to the graph by (I think) dragging it onto the graph, as Numbers says to do. What I'm uncertain of is where to go from here. Here are the instructions:
    'To plot the model values on the chart, double click or right click on the chart and select "Select Data" and click on Add under Series. Name the series "Model" and select data in column A for the X values and data in column D for the Y values. Rename Series 1 "Raw Data" and click OK."
    These may be instructions for Excel. Using Numbers, a simpler way to place thie data into an X-y Scatter plot is this:
    Set the data up to occupy the full columns A and D, not including the Header row mentioned above.
    Select Column A: Click on any cell to make the table active show the row and column Reference tabs.
    Click on column A's reference tab.
    Command-clickon column D's reference tab to add it to the selection.
    Click the Chart button in the tools and choose the Scatter chart icon from the menu.
    If I've read this correctly, your formula imposes a sine wave onto the set of data.
    Here are the results. The expanded chart at the right shows the approximately the area bounded by the light blue rectangle at the upper end of the plot in the larger chart.
    Regards,
    Barry

  • Multiple Gaussian Peak Fit for Wavelength Spectrum

    Hello.....
    First, let me confess to being a relative noob..... So please be gentle.
    I am trying to create a vi to analyse an optical spectrum of the form: Intensity vs. Wavelength. This vi would need to do the following:
    1: Read the input data file.
    2: Set a noise floor, below which all data will be ignored. 
    3: Scan the spectrum and identify the amplitude, width, and center of any peaks that are above the noise floor. There will be multiple peaks present (as many as thirty or so).
    5: Fit a gaussian to each peak.
    6: Sum the gaussians and create a new data file from this sum.
    So..... I know what I want to do, just not the best way to do it. Is there a vi already in labview that will do this for me? The Gaussian fit vi seems only really useful if you want to fit a curve to a single peak. If I need to build this from the ground up, which is fine since I need the practice anyway, what would be the best way to start?
    Thanks in advance for any help.
    nia

    Hello Nia,
    There are many ways to approach this problem. By chance, do you have access to the sound and vibration toolkit for labVIEW (http://sine.ni.com/nips/cds/view/p/lang/en/nid/209056)? That toolkit will make performing the signal processing tools which will make creating this VI much easier. The following links may also be helpful for getting started with your issue
    http://zone.ni.com/reference/en-XX/help/371361J-01/glang/file_vis_and_functions/
    http://zone.ni.com/devzone/cda/epd/p/id/5742
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvanls/signal_processing_vis/
    https://decibel.ni.com/content/docs/DOC-4475
    https://decibel.ni.com/content/docs/DOC-17986
    http://zone.ni.com/reference/en-XX/help/371361H-01/gmath/gaussian_peak_fit/
    Thanks
    Doug W
    Applications Engineer
    Applications Engineer
    National Instruments

  • Why won't snow leopard disc fit in old Mac Pro slot?

    I have an old Mac Pro.  Still running 10.5.8 and trying to take the next step to Snow Leopard (10.6).  Just ordered the disc from Apple but the disc won't fit in the plastic tray of the tower!  Any thoughts ... other than ask Santa for a new computer for Christmas?

    Grant, thank you so much for the quick reply.  Yes, you're right, the tower is heavy as sin!  Our more recent computers out west are iMacs which are much easier for us to deal with.  We do have the tower upright.  Bill just moved it here to our vacation house for the winter.  Is it possible [don't underestimate him] that he could have inadvertantly opened the tower DVD slot and a decidedly important part fell out during the disconnect in B'ham?  The discs don't seat themselves.  It's like they're too large by just a smidge and won't sit level in the depression.  As I close the tray the top of the opening scrapes the disc off.  It won't let it go inside so I can begin the struggle with the install itself.

  • Sine waveform data Compression Techniques

    Hi Engineers,
    I am looking for some techniques or algorithms to compress the Sine Wave waveform data.
    (Some of the changes I already done like DBL to SGL format and 16 bit integers )
    I can't effort the sample loss.
    Thanks and Regards
    Himanshu Goyal
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!

    Himanshu,
    simple mathematic for binary files:
    30 channels a 10KS/s presumably double => 30*10.000*8 Bytes/s = 2.400.000 Bytes/s (roughly 2MB/s).
    Running the application for 1 hour should result in 2MB/s*60*60 = 7.2GB.
    So the file you are getting is the most condensed version of data without lossing information.
    Loss of information will bring that down to less amount of space needed, but you have to consider which information you want to discard.
    Possible ways:
    1) Convert all data to Single: You will lose information, eventually cutting off values if the values are very big or very small. On the other hand, you cut down the space to 1/2 (3.6GB/h)
    2) Averaging: Calculate the average for several values. This is ok for good oversampling (>1000) and small numbers (<50) esp. when the signal has lots of noise. The space needed is cut down by the amount of values you build the average on. Please note that you cannot use a moving average (which is in fact a simple filtering method).
    3) Calculate a form-fit function for packages of the signal and store the parameters for the given function: Best compression, but will lose nearly all information of the waveform and introducing uncertainties by the form fit function (increasing errors). In addition to that, packages might have steps to one another since the form fit function will not result in a continuous function without steps.
    There are more methods for sure, but those are the most basic and common that i can think of.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • E30 - What VA / Watt rating for UPS? And is "Pure Sine" necessary?

    Hello Erik,
         At last, here's my final E30-related query.  It concerns Uninterruptible Power Supplies / UPS (which you've said is really important, especially for RAID 1), and comprises two subquestions -- Q1 I really care about, and Q2 is just out of curiosity.  =)
    Q1: What is an appropriate VA / Watt rating for a UPS hooked up to E30 and single LCD monitor?
         The E30 will be configured with Xeon E3-1230 processor, 8GB ECC, RAID 1 (7200 rpm), and Quadro 2000;  the Monitor will initially be a 17" IBM ThinkVision (though hopefully someday I'll upgrade to a 21" / 22" Lenovo).
         Would 1000 / 600 VA/Watts be enough?
    Q2 (just for fun):  Is a "pure sine" UPS output necessary or desirable for the E30?
    Background:
         Unless someone advises differently, I'll be getting a CyberPower "Adaptive Sinewave UPS", as it has the best Newegg reviews among the UPS units I can afford, and I overall like the features.
    http://www.cyberpowersystems.com/products/ups-systems/adaptive-sinewave-series.html
         On the CyberPower website, there's a chart showing which UPS model is recommended for various computers.  The E30 is not on the chart, but the E20 is (together with S20 and D20).  And for the E20, they recommend either their "1350" or their "1500" models, with VA / Watts ratings of [1350 VA / 810 Watts] and [1500 VA / 900 Watts], respectively:
    http://www.cyberpowersystems.com/campaigns/adaptive-sinewave/CyberPower-AdaptiveSinewave-compatibili...
    These models are (for me) expensive, and the smaller "1000" model (with [1000 VA / 600 Watts] ) would better fit my budget (and under-desk space).  Is CyberPower being overly-ambitious in their recommendations?  Or should I pay the extra for the bigger models?  (Note that they recommend the "1000" for a Lenovo ThinkCentre M90....)
         For that matter, what size UPS do you use for your own system(s)?  =)
         And finally, CyberPower lists the Lenovo Thinkstations amongst the machines that require a "Pure Sine" UPS output, because of the "Active PFC" power supplies Lenovo uses.  Is this really true?  I'm interested in the CyberPower irrespective of the Pure Sine output, so this is just idle curiosity -- but can the Thinkstations take a normal stepped UPS output?
         Thank you in advance -- this is the last piece to fall in the budgeting puzzle, after which I can order my E30.  Many, many thanks for all the help and guidance!!
              - W
    Solved!
    Go to Solution.

    Thank you, Erik!
         Yes, the Cyberpower PFC series gets consistently good reviews on Newegg and Amazon (and the few bad reviews mostly revolve around shipping damage / poor packaging issues, which seem to have been resolved).  I'll take your suggestion of Bigger Capacity => Longer Runtime to heart;  it'll come down to finances, but you've saved me so much already on the RAM and CPU that I might be able to swing the 1500.  =)  But regardless, you've answered all my many questions about E30 configuration and accessories, and I really appreciate all the help.  Hope you're enjoying a beautiful summer (wherever you're based), and kindest wishes to you and yours for the coming year.  Thanks again, and do take care!
                Cheers,
                   - W

  • Apple Mini-DVI to Video Adapter doesn't fit my aluminum iMac

    I previously had a 17" white iMac (pre-Intel) machine, and about 6 months ago I bought the mini-DVI to video adapter so I could connect it to my television. Worked like a charm. But I recently bought a new aluminum iMac, and the adaptor doesn't fit into the mini-DVI port in the back of the machine. It appears the adaptor and port are both male ends.
    Has the port changed on the aluminum iMacs? The product description for the adaptor on Apple's website says it works with iMac (Intel Core Duo). Isn't the aluminum iMac an Intel Core Duo? I can't figure out why it doesn't fit and which cable I'm supposed to be using instead.
    Any advice would be appreciated!

    Hi Paul
    Yes the Intel iMac [Spec's|http://support.apple.com/specs/imac/iMacMid2007.html] call for the (M9319G/A) Apple Mini-DVI to Video Adapter!
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore?productLearnMore=M93 19G/A
    The iBook, eMac, or iMac G5 use the Mini-VGA to Video adapter.
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=722 C6629&nplm=M9109G%2FA
    Dennis

  • Mini dvi to vga adapter doesn't fit Mac Book port

    I bought a "mini dvi to vga" adapter at the local Apple store at the mall and it does not fit the mini DVI connection on my Mac Book. What is the correct mini dvi configuration or part number for the Mac Book Mini dvi port?

    It may be. I threw the bag out so I can't check. I was in a hurry and thought I picked up the right adapter but guess not.
    Thanks for your help. Know anyone that needs a mini vga to vga adapter?

  • My thunderbolt to firewire adapter doesn't fit the firewire???

    I bought the apple store "Thunderbolt to FireWire Adapter" today.  I'm trying to put my old iMac in Target Mode and move old files.  The firewire cord doesn't fit into it???  I'm sitting here feeling pretty stupid and stumped?

    Your firewire cord is the wrong size.  Apple's cord is 800 port.  What size is your cord? 

  • Mini Display to VGA adapter doesn't fit

    I have an older(2008) MacBook and the MIni display to VGA adapter I purchased doesn't fit my book. Is there one that I can buy that will fit?

    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports.
    Here's the various types of Mini-DVI to VGA adapters on Amazon.com http://www.amazon.com/s/ref=nb_sb_ss_c_1_15?url=search-alias%3Delectronics&field -keywords=mini-dvi+to+vga&sprefix=mini-dvi+to+vga%2Caps%2C272

  • Since downloading ios5 on my iphone 4 the capacity guage in itunes shows other as over 21Gb and i can no longer fit any music on it. How do I get rid of the other stuff? other

    Since downloading ios5 on my iphone 4 a few days ago, the capacity guage in itunes shows "other" as over 21Gb and i can no longer fit any music on my iphone.
    How do I get rid of the other stuff?
    capacity available on 32 Gb iphone is 28.49Gb
    i previously had 21.97 Gb music, over 6 Gb photos, about 1Gb of apps, and minute amount of audio
    now i have no music, 5.4 Gb photos and similar (0.8Gb) for  apps and audio. i have deleted heaps of photos and unused apps to try to make space but obviosly this is a much bigger problem. I also created a smaller music folder on itunes to sync to but at present no music is selected for syncing due to the lack of available space.
    i have 15Gb icloud account now also which is about half full.
    Ive done a little research and heard similar tales but with much smaller other totals than this. Can you help?
    i cant update my apps as i get a message saying i do not have enough available space.

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

Maybe you are looking for

  • Selection screen few text showing as technical term

    Hi ! I made few changes to a report in DEV where I added few fields to the selectiuon screen and tested it fine and well in DEV. Afetr I moved it to QAT and looked at teh selection screen I see that the particular fields that I ahd added shows up in

  • Looking for Oracle Doc on RAC...

    Hi, I am looking for an Oracle doc (Metalink or whatever), that will give me Oracle's recommendations on how to best configure a 4 Node RAC Env on RHLE4. We are running mainly a data warehouse shop here and we are trying to best configure our Network

  • Third party audio apps not getting recognized

    Why do most of my third party audio apps not get recognized by the "inter-app audio apps" feature in the new version of Garageband? I have version 3 of the IPad. It only recognizes Galileo (organ app) and not Sunrizer, Sample Tank, etc.

  • Adding music to ipod nano from itunes library

    PLEASE HELP -- an ipod is connected to itunes on my windows pc and the window lights up o.k.. i want to add the itunes library to the ipod.. when i drag a title to the ipod name, i see the circle/slash symbol telling me its no good.. i have ripped th

  • Mixed info on iCloud

    The Wife and I have two iPhone 4's.  We have one iTunes account.  When I upgraded to iCloud, our information was combined.  We want to keep Contacts, Bookmarks, etc separate.  Any ideas?  In other words, we want to separately backup our devices to iC