SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : Year 2000 (Y2K) Embedded Systems & Infrastructure Problem

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: John Mansfield who wrote (557)9/6/1998 1:11:00 PM
From: C.K. Houston  Read Replies (1) of 618
 
Walk thru a Y2K stand-alone embedded system remediation. Good, easy to understand, explanation of process. Integrated systems are far more complex, but this will give you a good basic idea of actions required.
=====================================================

CASE HISTORY: Remediating an Automated Fueling Control System

A few years ago the authors designed an automated fueling control system consisting of four independent units:
- a bar-code input unit at the fueling kiosk,
- a printer unit for receipts,
- a tank-level-monitoring unit for measuring the amount of fuel in the underground
.. storage tanks, and
- a central control unit. (The central control unit coordinates the system and supplies
.. an interface to a wide-area network.)

The units were designed as standalone embedded systems, but were also networked together using RS-485 twisted-pair communications.

Each of the four types of units was designed around an Intel 8051 microprocessor and a Dallas Semiconductor DS1287 RTC (Real Time Clock). The units, mounted on poles placed at the fueling kiosks, are exposed to rain, sleet, snow, and extreme temperature variations, so they are housed in cases certified by the National Electrical Manufacturers Association (NEMA) for the stated environmental operating conditions.

A problem would arise if the system sent an emergency message or tank-refill request with a 1900 date to headquarters. The message--apparently 100 years old--would roll off the system monitoring screen immediately, shoved aside by ones with more recent dates. Hence it would be ignored and the emergency or request not be responded to.

The first step in making these units year-2000-compliant was to go back to the development laboratory and prototype each one.
- The old Dallas Semiconductor DS1287 RTCs must be replaced with the new
.. DS1687 RTC chip, which redefines the function of four of the original 24 pins for
..non-Y2K-related functions.
- To make the new chip work properly, circuit board vias to these pins must be cut
.. and jumpered.

With the clock hardware updated, the embedded software is taken in hand.
- Each unit has on-chip software specific to the task it performs.
- The existing software must be modified to take advantage of the four-character year
.. designation in the DS1687 real-time clock chip.
- Once the new software has been extensively tested, it must be programmed into new
.. Intel 8051 microprocessors, one for each of the old processors.

Thus the update kit will contain four Intel 8051 microprocessors, each configured for one type of unit, plus four Dallas Semiconductor DS1687 RTC chips that are generic and can be used in any of the units.

Aside from completely replacing the units with new ones, there are two major ways to get the new parts into the field--board swapping and on-site repair.
- In the first case, a set of four spare boards could be updated in the lab, and a
.. technician sent into the field with these boards to replace defective ones.
- The defective boards would be cycled back to the lab for repair and afterwards used
.. to upgrade another facility.

Were there a large enough number of boards, this might even give rise to a cottage industry. However, in this instance, trained technicians capable of making on-site repairs to the printed-circuit boards were already on the company payroll. Since there was sufficient time, and the technicians were scheduled to visits the sites anyway, it was decided to make the swap on site.

In the field ...
- NEMA enclosure on each unit is opened, and
- power supply cabling & all interface cabling marked and removed from circuit board.
- board is unscrewed and taken out of the enclosure, and
- straps securing the clock chip to it are removed.

Because the DS1287 RTC has an internal lithium battery, it had been realized from the start that the battery might have to be replaced periodically. Hence, it is one of the few socketed devices on the circuit board and its replacement is easy. Once the new RTC is in place, a new tie-down strap must be installed to secure the device against vibration.

The replacement of the Intel 8051 microprocessor is not so simple. The 8051 is soldered directly to the circuit board as a socket would have increased product cost and there was no absolute need for one.

Each of the 40 pins of the old microprocessor must be cut to remove the part from the circuit board.
- Each hole in the circuit board is then desoldered and cleaned enough for the pin
.. of the replacement microprocessor to be inserted.
- After the new chip is inserted, its 40 pins are each soldered to the board.

The circuit board is now reinstalled in the NEMA enclosure and has the power cables and other cabling reconnected to it. The rubber O-ring seal of the NEMA enclosure should probably be replaced at this time also, since it is likely to have been damaged by many years of exposure to the elements.

The same procedure must be performed for each of the units of the fueling control system before this location is year 2000 compliant. It takes about two hours to update each unit, so the total time needed to update a typical location would be eight hours, or one working day. The firm that installed these systems has over three hundred sites cross the United States; some sites employ more than one bar-code reader unit to service more fueling kiosks, which lengthens the time required to update the site. With a team of four technicians, it will take approximately three months to update the overall system.

What made the fuel-kiosk company lucky in this case was that the original designers of the system were still available to them; when this is not the case, deciphering and repairing the assembly code may be a challenge.

The fact that the company owned both hardware and software also avoided many sorts of legal issues.

itpolicy.gsa.gov
VERY INTERESTING ARTICLE - WORTH READING

========================================================
REAL TIME CLOCK
SIM Working Group (81. Author: David C. Hall, Jun. 22 '98 )

Any device, item of equipment, or system that contains a microprocessor with a Real Time Clock has a potential date dependency. The dates/times/ etc. could have been set at the factory and maintained by the built-in battery until it is used. Some built-in batteries last for 10 years or more.

If a device has a battery then it probably has an RTC. All RTCs (except some from Dallas Semiconductor) will roll to 1900 on January 1, 2000. If the system microcode has not been designed to account for this (and most has not) the device could fail or produce erroneous data.

Note that many devices have three or more modes of operation - operational, calibration, and maintenance. At any time a date may be added, checked, or accounted for. At time of manufacture, a date could have been used for some purpose (such as testing) and never used again.

Multifunction microprocessors are cheap and are found in real strange places. So if a device cannot have a date input as it stands, that does not mean that it has no date dependency.

My basic recommendation is as follows: If it uses electricity, it is guilty until proven innocent. We cannot afford to ASSUME anything. Check out everything you have time to do. Establish a priority checklist based on criticality of the function and test as far down as you can get. Or at least ask the vendor to certify "compliancy" in writing. If they will not, you got a problem.
===================================================

JOHN: I dressed this up with formatting to make it easier to read. I found the article fascinating. Gave me a better appreciation of what's involved.

Cheryl
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext