Recent content by williamshipman

  1. W

    How can compensation values be effectively combined in parallel Kahan summation?

    To answer my original question, the correct way to handle my problem seems to be to use what is known as double-single precision math. See http://crd-legacy.lbl.gov/~dhbailey/mpdist/ for Fortran code for a double-single and double-double precision libraries. Unfortunately, once one gets to...
  2. W

    How can compensation values be effectively combined in parallel Kahan summation?

    Hi AlephZero, If I understand you properly, you're suggesting that I do the following for question 1: Kahan summation of sum1, sum2 up to sumN, giving an ##s## and ##c## value. Kahan summation of compensation1 up to compensationN, giving an ##s## and ##c## value. At the end of this, I...
  3. W

    How can compensation values be effectively combined in parallel Kahan summation?

    Hi PF, I am working on a parallel reduction code to sum up approximately 1 million 32-bit floating point numbers. The serial part running on each processor uses Kahan summation, no problems there. My problem is that this produces several sum/compensation pairs that now need to be added...
  4. W

    Where can I find introductory resources on Model Predictive Control?

    Try Model Predictive Control System Design and Implementation Using MATLAB® by Liuping Wang. I haven't read all of it, but it seems to explain things well. If you've got access to Springer Link, they have a lot of books on MPC.
  5. W

    A good book on Mathematical modelling

    Numerical Recipes in C has been quite helpful for me. The 3rd edition now goes by the name Numerical Recipes.
  6. W

    Help Understand Denominator Separation from Zero in Math Equations

    Thanks for the replies. Tedjn: The quote comes straight from the author's work. You are right to say that a small denominator gives incorrect results, at least with the current iteration scheme. To solve the equations numerically, you can use something like Newton's method. One can...
  7. W

    Help Understand Denominator Separation from Zero in Math Equations

    Please help me to understand: "the denominator is numerically separated from zero" Hi everyone, I've come across this statement in a dissertation I'm reading and I don't have a clue as to what the author is speaking about. Can anyone give me an explanation. For reference, the equations are...
  8. W

    Optocoupler not behaving as expected.

    I'm going to post an update here in case anyone ever finds this thread useful. I eventually settled on using the H11L1M optocoupler from Fairchild. The chip runs at 5V and the output voltage is inverted - i.e. when the input diode conducts, the output voltage goes low, when the diode is off...
  9. W

    Optocoupler not behaving as expected.

    Thanks vk6kro. I will try that when I am back in the lab on Monday.
  10. W

    Optocoupler not behaving as expected.

    Thanks cepheid, I will consider that one. First things first, I must see what is available in this country (not America unfortunately). At least now I know what type of equipment I am looking for.
  11. W

    Optocoupler not behaving as expected.

    Thanks very much Averagesupernova. I'll have a look.
  12. W

    Optocoupler not behaving as expected.

    What I actually want to do is to isolate a PIC microcontroller from a hobby servo fitted to a model helicopter. Having looked more closely at Texas Instruments website as well as a local electronics store's site, it seems what I actually want is some thing like a 3.3V/5V digital isolator or an...
  13. W

    Optocoupler not behaving as expected.

    Time for some updates. I have decreased the resistor on the base to 110kohm and the load resistor to 2.7kohm. At first, that didn't change anything. Then I accidentally disconnected the probe ground and reconnected it. Now there is a nice 4V drop over the load. If I switch everything off...
  14. W

    Optocoupler not behaving as expected.

    I am using two different power supplies - one is a signal generator, the other is a separate DC power supply. Technically, they aren't completely isolated since they both run of the same wall socket, but otherwise, there is not connection between the two supplies. As for the resistance, it is...
  15. W

    Optocoupler not behaving as expected.

    Here is my circuit. Please disregard the fact that it says I am using a 4N25 optocoupler. I took that block because it is the closest I have in the circuit application. V1 represents the signal generator, while V2 is my 5V DC power supply. I am measuring the voltage drop between collector...
Back
Top