JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for COMP-FORTRAN-90 Archives


COMP-FORTRAN-90 Archives

COMP-FORTRAN-90 Archives


COMP-FORTRAN-90@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

COMP-FORTRAN-90 Home

COMP-FORTRAN-90 Home

COMP-FORTRAN-90  1998

COMP-FORTRAN-90 1998

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Ariane 5

From:

"Robin" <[log in to unmask]>

Reply-To:

Robin

Date:

Wed, 30 Sep 98 15:30:55 PDT

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (121 lines)



----------
> Most readers of this list are probably not interested in this, but I wanted to
> follow up my last posting:
>
> First, after I sent my message I realized that I had not noticed a couple of
> Robin Vowel's comments that I want to respond to:
>
> > But the code *was* changed for Ariane 5.  Protection was applied to
> > other similar conversions in the vicinity of the conversion that actually
> > overflowed.
>
> The report does not state when the protection was applied. I have always
> assume that these decisions were made when the code was developed for the
> Ariane 4.

Unlikely to be a valid assumption.

> Any thoughtful person, as part of the devolopment for the Ariane 4,
> would have examined the code for potential overflows, no mention was made of
> having performed this review twice, and the decisions made were obviously more
> applicable to the Ariane 4 than to the Ariane 5.

You'll find that the Report refers to decisions made about the code
in relation to Ariane 5.

> Of course my assumption might
> be incorrect and if there is any contrary information I would be glad to hear
> of it.
>
> > The addition of protection of overflow (a single instruction) could not have
> > made any significant difference to the running time of the SRI computer.
>
> By itself this argument is not conclusive. The impact of an instruction
> depends on how often that context is executed

The SRI computers had to process other data besides the particular one that
overflowed.  Recall that there are about 8 such conversions
(from double precision floating-point to integer) in the segment of code
that failed.  Should give some inkling about the amount of work that was
being carried out.  Details are in the Report.

> and the computational resources
> on rockets are more limited than one might expect. While I would be surprised
> that adding this instruction would increase the computational requirements by
> more than 1%, there were two other unprotected conversions, and many other
> computational changes to decrease computer load. Any increase in the load
> means either the potential of deadlock, or more difficulty in adding other
> functionality later.

> A better solution would have been to shut down this part of the software upon
> launch, and to have the default handler check whether the other computer was
> still operating before shutting down the computer that generated the
> conversion error.

Even better to have both an interrupt handler, as well as
a specific protection, to ensure a fail-safe operation.

This is a basic real-time fail-safe programming requirement,
which the Ariane team failed to grasp.

> > In any case, error trapping and  recovery needed to be provided for.
>
> The potential for recovery on a launch system is very limited. If the system
> is performing a useful function having it latch to a fixed value means that it
> is getting only the same incorrect value.

Yes, but the alteernative was total catastrophe.
In that particuar case, with the value exceeding the maximum
(32767), probably the maximum value would have been close enough
to the actual not to have made any significant difference.

The alternative was to allow for 32-bit word for holding the integer value,
which would have needed re-programming -- probably requiring
more cycles than the one or two extra  instructions
needed for the protection test.

> It is likely if such a value is
> generated as part of the guidance system  that the system will continue off
> course (more gradually) and still have to be destroyed.

The greater acceleration of Ariane 5 only occurred in the early parts
of the takeoff (compared to Ariane 4).  If the rocket got as far
as it did without exceeding the capacity of the 16-bit word,
the rest of the flight  probably would have been handled OK too,
just using the maximum value instead of the actual value
(which would have needed a 32-bit word).

We are not told what alterations were made to the program for subsequent
launches.


> In fact in this case
> ignoring the error and not trying to recover something better might have been
> appropriate as the system was not performing a useful function at the time the
> error was generated. What must be done is analyze the behavior of the system
> in sufficient detail that no overflow can occur for the properly functioning
> system.

These were the same mistakes made by the Ariane team.

All code needs to have error-handling to provide a fail-safe fall-back
operation -- just in case something was overlooked.

All code needs to have protection.

It is absolutely essential to test the program with data.
No amount of analysys is a substitute for a good test run(s).

> I agree with Ladkin. The real problem with the mission was a problem of
> requirements. There was no review to determine whether and how the Ariane 4
> requirements might conflict with the Ariane 5 requirement.

See the Report. The analysys was done.




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

December 2023
February 2023
November 2022
September 2022
February 2022
January 2022
June 2021
November 2020
September 2020
June 2020
May 2020
April 2020
December 2019
October 2019
September 2019
March 2019
February 2019
January 2019
November 2018
October 2018
September 2018
August 2018
July 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
December 2015
November 2015
October 2015
September 2015
August 2015
June 2015
April 2015
March 2015
January 2015
December 2014
November 2014
October 2014
August 2014
July 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
July 2013
June 2013
May 2013
April 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
August 2010
July 2010
June 2010
March 2010
February 2010
January 2010
December 2009
October 2009
August 2009
July 2009
June 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
January 2007
2006
2005
2004
2003
2002
2001
2000
1999
1998
1997


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager