Professional Documents
Culture Documents
Textbook Designing Embedded Systems and The Internet of Things Iot With The Arm Mbed 1St Edition Perry Xiao Ebook All Chapter PDF
Textbook Designing Embedded Systems and The Internet of Things Iot With The Arm Mbed 1St Edition Perry Xiao Ebook All Chapter PDF
https://textbookfull.com/product/embedded-system-design-embedded-
systems-foundations-of-cyber-physical-systems-and-the-internet-
of-things-marwedel/
https://textbookfull.com/product/embedded-system-design-embedded-
systems-foundations-of-cyber-physical-systems-and-the-internet-
of-things-4th-edition-peter-marwedel/
https://textbookfull.com/product/ardufarmbot-tomato-garden-
automation-with-help-of-internet-of-things-iot-1st-edition-
marcelo-rovai/
https://textbookfull.com/product/stm32-arm-programming-for-
embedded-systems-1st-edition-muhammad-ali-mazidi/
Internet of things (IoT) : technologies, applications,
challenges and solutions 1st Edition Anuradha
https://textbookfull.com/product/internet-of-things-iot-
technologies-applications-challenges-and-solutions-1st-edition-
anuradha/
https://textbookfull.com/product/practical-internet-of-things-
with-javascript-build-standalone-exciting-iot-projects-with-
raspberry-pi-3-and-javascript-1st-edition-arvind-ravulavaru/
https://textbookfull.com/product/internet-of-things-iot-
in-5g-mobile-technologies-1st-edition-constandinos-x-
mavromoustakis/
https://textbookfull.com/product/towards-cognitive-iot-networks-
internet-of-things-1st-edition-mohammad-abdul-matin-editor/
https://textbookfull.com/product/iot-projects-with-nvidia-jetson-
nano-ai-enabled-internet-of-things-projects-for-beginners-agus-
kurniawan/
Designing Embedded Systems and the Internet of
Things (IoT) with the ARM® Mbed™
Designing Embedded Systems and the Internet
of Things (IoT) with the ARM® Mbed™
Perry Xiao
London South Bank University
UK
This edition first published 2018
© 2018 John Wiley & Sons Ltd
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise,
except as permitted by law. Advice on how to obtain permission to reuse material from this title is available
at http://www.wiley.com/go/permissions.
The right of Perry Xiao to be identified as the author has been asserted in accordance with law.
Registered Offices
John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, USA
John Wiley & Sons Ltd, The Atrium, Southern Gate, Chichester, West Sussex, PO19 8SQ, UK
Editorial Office
The Atrium, Southern Gate, Chichester, West Sussex, PO19 8SQ, UK
For details of our global editorial offices, customer services, and more information about Wiley products
visit us at www.wiley.com.
Wiley also publishes its books in a variety of electronic formats and by print-on-demand. Some content that
appears in standard print versions of this book may not be available in other formats.
Limit of Liability/Disclaimer of Warranty
While the publisher and authors have used their best efforts in preparing this work, they make no
representations or warranties with respect to the accuracy or completeness of the contents of this work and
specifically disclaim all warranties, including without limitation any implied warranties of merchantability
or fitness for a particular purpose. No warranty may be created or extended by sales representatives, written
sales materials or promotional statements for this work. The fact that an organization, website, or product
is referred to in this work as a citation and/or potential source of further information does not mean that
the publisher and authors endorse the information or services the organization, website, or product may
provide or recommendations it may make. This work is sold with the understanding that the publisher is not
engaged in rendering professional services. The advice and strategies contained herein may not be suitable
for your situation. You should consult with a specialist where appropriate. Further, readers should be aware
that websites listed in this work may have changed or disappeared between when this work was written
and when it is read. Neither the publisher nor authors shall be liable for any loss of profit or any other
commercial damages, including but not limited to special, incidental, consequential, or other damages.
Library of Congress Cataloging-in-Publication Data
Names: Xiao, Perry, author.
Title: Designing embedded systems and the internet of things (IoT) with the
ARM Mbed / by Perry Xiao.
Description: First edition. | Hoboken, NJ : John Wiley & Sons, Inc., [2018] |
Includes bibliographical references and index. |
Identifiers: LCCN 2018008687 (print) | LCCN 2018015034 (ebook) | ISBN
9781119364016 (pdf ) | ISBN 9781119364047 (epub) | ISBN 9781119363996
(cloth)
Subjects: LCSH: Embedded computer systems–Design and construction | Internet
of things–Equipment and supplies. | Microcontrollers.
Classification: LCC TK7895.E42 (ebook) | LCC TK7895.E42 X56 2018 (print) |
DDC 006.2/2–dc23
LC record available at https://lccn.loc.gov/2018008687
10 9 8 7 6 5 4 3 2 1
This book is dedicated to my family. To my wife, May, my son, Zieger, and my daughter,
Jessica, who make my life complete—without them, life would be meaningless. To my
parents and my brother, who have shared their life and love with me that ultimately
made me what I am today. To my friends and colleagues, who supported me
throughout my career.
vii
Contents
Part III The IoT Starter Kit and IoT Projects 203
Index 313
xiii
Dr. Perry Xiao is an associate professor and course director at the School of Engineering,
London South Bank University, London, United Kingdom. He got his BEng degree in
Opto‐Electronics, MSc degree in Solid State Physics, and PhD degree in Photophysics.
He is a chartered engineer (CEng), a Fellow (FIET) from Institution of Engineering and
Technology (IET) and a Senior Fellow (SFHEA) from Higher Education Academy
(HEA). He has been teaching electronics, software, computer networks, and telecom-
munication subjects at both undergraduate level and postgraduate level for nearly two
decades. He is also supervising BEng final project students and MSc project students
every year. His main research interest is to develop novel infrared and electronic sens-
ing technologies for skin bioengineering applications and industrial nondestructive
testing (NDT). To date, he has finished seven PhD student supervisions, obtained two
UK patent applications, published more than 100 scientific papers, been editorial
reviewer for nine journals, and generated nearly £1 million in research grants.
He is also a director and co‐founder of Biox Systems Ltd., UK—a university spin‐off
company that designs and manufactures state‐of‐the‐art skin measurement instru-
ments, AquaFlux and Epsilon, which have been used in more than 70 organizations
worldwide, including leading cosmetic companies, universities, research institutes, and
hospitals.
xv
Preface
When I first got the Arm® Mbed™ Lab‐in‐a‐Box (LiB) kits from a colleague a few
years ago, I could not hide my excitement. It was a box of mbed NXP LPC1768
development boards donated through the ARM University Program. One of the key
features of the Arm® Mbed™ system is that you can write and compile your code
online through a web browser. This was completely new to me. I have been using vari-
ous microcontrollers throughout my life. I did my BEng final year project on laser
energy control using Intel’s 8051 single‐chip microcontroller back in the 1980s. The
concept was very simple: read the voltage value from the laser power monitor, com-
pare it with a desired value, and calculate the required adjustment to feed back to the
laser to increase or decrease the laser output. But we had to design and make our own
printed circuit boards (PCB) and to write our own code that would run on 8051. At
that time, programming microcontrollers was not a trivial task. You needed to write
the program in assembly language and punch in the corresponding hexadecimal code
into the microcontroller. We spent many sleepless nights in the lab, mainly for debug-
ging the code. I have since worked with many other microcontroller‐based embedded
systems, and the experiences were very mixed. Some of the embedded systems were
so difficult to use that you would need to download this software, download that
toolchain, etc. Using my students’ words, you needed a PhD just to get the compiler
software running. The code was also sophisticated—you would need to configure this
register, and configure that port. You could produce lines of lines of code, which did
not even do much!
The two embedded systems that impressed me most were Raspberry Pi and Arduino.
Raspberry Pi is very attractive for its price and its compact, credit‐card size. With a full
Debian‐based Linux operating system and graphical user interface, it is a great kit for
people to learn computing and coding. But for many of our student projects, we don’t
need a full operating system, and a lack of analog to digital converter (ADC) and digital
to analog converter (DAC) are also major drawbacks. Arduino is also attractive for its
price and size, but what impressed me most is its simplicity, both in hardware and soft-
ware. I have read many “24 hours” books, and Arduino is genuinely one of the things
that you can truly learn in 24 hours. It is just that simple. However, the limited memory
size means you cannot write too‐long programs, and 10‐bit ADC is often proven to be
inadequate in many applications.
So when I introduced the Arm® Mbed™ NXP LPC1768 development boards to my
students, they loved them. They liked the web‐based compiler. The very fact that you
xvi Preface
don’t need to download and install any software on your computer in order to run it is
amazing. It makes life so much easier. The code was also much simpler, much more
understandable. As it is claimed on the Arm® Mbed™ website (https://os.mbed.com/
platforms/FRDM‐K64F/), it can really just take 30 seconds to get the development
board out of the box, and run an application without installing any software!
The Arm® Mbed™ NXP LPC1768 is one of the most popular microcontroller devel-
opment boards, widely used among students and electronic hobbyists. It is based on
32‐bit ARM® Cortex™‐M3 microcontroller with 96 MHz clock speed, 512 KB flash,
32 KB RAM, and, most importantly, 12‐bit ADCs. It is more powerful and runs much
faster than Arduino. It also has lots of interfaces, including Ethernet, USB, CAN, SPI,
I2C, DAC, PWM, and other I/O interfaces.
However, the 32‐bit ARM® Cortex™‐M3 microcontroller is gradually reaching its
shelf life; its replacement is the 32‐bit ARM® Cortex™‐M4 microcontroller. So this book
will be focusing on the new, exciting Arm® Mbed™ Ethernet Internet of Things (IoT)
Starter Kit, which includes an Arm® Mbed™ NXP FRDM‐K64F development board and
an Arm® Mbed™ application shield. The Arm® Mbed™ NXP FRDM‐K64F is the next
generation, flagship development board, which is based on ARM® Cortex™‐M4 micro-
controller with a CPU frequency up to 120 MHz, 1024 KB Flash, 256 KB RAM, and
astonishing two 16‐bit ADCs. It is much faster and more powerful than NXP LPC1768.
It also has DACs and Timers, as well as other interfaces such as Ethernet, USB device
crystal‐less, and Serial. The Arm® Mbed™ Ethernet IoT Starter Kit is a cloud‐based
development kit jointly developed by ARM and IBM. It provides the user with a slick
experience, sending data from the onboard sensors into the IBM cloud. It allows you to
access the IBM cloud applications through IBM’s BlueMix platform. It is particularly
suitable for developers with no specific experience in embedded or web development,
as it provides a platform for learning new concepts and creating working prototypes.
The starter kit hardware can also be modified and extended to satisfy your specific
requirements.
For backward compatibility reasons, many example codes also work for NXP LPC1768
development board and its mbed application board.
As of the time this book was written, the Arm® Mbed™ had just released its latest
Arm® Mbed™ OS (operating systems) version 5.7, which has quite a few changes com-
pared with the previous version mbed OS 3.0 and 2.0. This book is mainly based on the
Arm® Mbed™ OS 5.7, and more details about the new OS are available at the Arm®
Mbed™ documentation website (https://os.mbed.com/docs).
I have thoroughly enjoyed working with the Arm® Mbed™ development boards, and
I hope you will enjoy it too.
Part I: Introduction to Arm® Mbed™ and IoT (Chapters 1–3) gives an introduction of
embedded systems, microcontrollers and microprocessors, Arm® architecture and
Preface xvii
Arm® Mbed™ system. It also provides an overview of the Internet of Things (IoT),
including IoT applications and IoT enabling technologies.
Part II: Arm® Mbed™ Development (Chapters 4–10) illustrates how to get started
with Arm® Mbed™ development, as well as how to work with analog inputs/outputs,
digital inputs/outputs, communication interfaces, debugging, online libraries, and
project managements.
Part III: The IoT Starter Kit and The IoT Projects (Chapters 11–12) introduces the
Arm® Mbed™ Ethernet IoT Starter Kit and provides some example IoT projects.
Part IV: Appendices
Appendix A: Example Codes
Appendix B: HiveMQ MQTT Broker
Appendix C: Node‐RED on Raspberry Pi
Appendix D: String and Array Operations
Appendix E: Useful Resources
Example Codes
All the example source codes are available on the website that accompanies this book.
Appendix A has more details on how to use the codes.
C/C++ Programming:
Beginning Programming with C for Dummies, Dan Gookin, ISBN: 978‐1‐118‐73763‐7,
November 2013.
C++ Primer, 5th edition, Stanley B. Lippman, Josée Lajoie, Barbara E. Moo, Addison
Wesley, ISBN: 978‐0‐321‐71411‐4, August 2012.
Author’s Acknowledgments
I would like to express my sincere gratitude to Wiley Publishing for giving me this
opportunity. I would also like to thank Ella Mitchell for her persistence and patience.
Without it, this book would be not possible.
xxi
www.wiley.com\go\xiao\designingembeddedsystemandIoTwitharmmbed
There you will find valuable material designed to enhance your learning, including:
●● Examples
Part I
In this part:
Chapter 1: Introduction to Arm® Mbed™
Chapter 2: Introduction to the Internet of Things (IoT)
Chapter 3: IoT Enabling Technologies
3
Microcontroller
Microcontroller is the brain of an embedded system, which orchestrates all the opera-
tions. A microcontroller is a computer processor with memory and all input/output
peripherals on it. More details about microcontrollers will be illustrated in the next
section.
Inputs
An embedded system interacts with the outside world through its inputs and outputs.
Inputs can be digital inputs or analog inputs. Inputs are typically used for reading data
from sensors (temperature sensor, light sensor, ultrasound sensor, etc.) or other types of
input devices (keys, buttons, etc.).
Outputs
Outputs can also be digital outputs or analog outputs. Outputs are typically used for
display, driving motors, or other devices (actuators).
Designing Embedded Systems and the Internet of Things (IoT) with the ARM® Mbed™, First Edition. Perry Xiao
© 2018 John Wiley & Sons Ltd. Published 2018 by John Wiley & Sons Ltd.
Companion website: www.wiley.com\go\xiao\designingembeddedsystemandIoTwitharmmbed
4 Designing Embedded Systems and the Internet of Things (IoT) with the ARM® Mbed™
Communication Interfaces
An embedded system communicates with other devices using communication inter-
faces, which includes Ethernet, USB (Universal Serial Bus), CAN (Controller Area
Network), Infrared, ZigBee, WiFi and Bluetooth, for example.
CPU
CPU, often referred to as a processor or central processor, is the brain of a microcon-
troller. See Figure 1.4 for details. It contains three main components: the arithmetic
logic unit (ALU), the control unit, and registers. ALU performs arithmetic and logical
operations, registers provide operands to the ALU and store the results of ALU opera-
tions, and the control unit controls the overall operations and communicates with both
ALU and registers. The operation cycle of CPU can be described as fetch, decode, and
execute.
CPU communicates with its external peripherals such as memory and input/output
through system bus, which includes a data bus, an address bus, and a control bus. The
data bus is for carrying information, the address bus is for determining where the infor-
mation should be sent, and the control bus is for determining the operation. The address
Another random document with
no related content on Scribd:
gave to Mr. Morgan. The expert persisted in his determination, but
consented to see Mr. Morgan again the next day. On our way back I
said to Mr. Morgan: “It seems to me that this man does not see the
point of the application because he won’t see it; he doesn’t want to
see it.” Mr. Morgan made the rather enigmatical reply: “It seems very
plain to me.”
The next day Mr. Morgan made the point to the expert that he
could not afford to take such a position as that—he could not sustain
it. He then consented to make the application, but added what he
had already said to me, that he had no idea it would be granted, and
if it was, it would be good for nothing. It will hardly be credited that he
was over two months in preparing this application, getting it into a
form in which he was sure it could not be allowed. When it was
finally shown to me I could not understand it. It contained two
references, the pertinence of which I could not see; he assured me,
however, that it was the very best that could be done, although he
said he had very little hopes that it would be allowed. Sure enough,
in a few days the rejection was received from Washington and a
meeting was called to hear his report. He used very strong language
in making this report, saying: “This rejection is final and the case is
hopeless,” and walking over to where I was sitting, he shook a paper
in my face with an air as if I had been a detected felon and he held in
his hand the proof of my rascality, saying: “This is a paper I received
from Washington this morning that settles your hash, sir.” When he
sat down the silence might have been felt. Every one shrank from
what appeared to them the inevitable and final step, the adoption of
a resolution to the effect: “Whereas Mr. Porter has failed to keep his
agreement with us, the whole matter be now dismissed from our
further consideration.”
I did not allow them much time for reflection, but rose and made a
little speech as follows: “Mr. Chairman, I have but a single word to
say. I have taken this case out of the expert’s hands; I expect to go
to Washington to-morrow morning and return in the afternoon, and
when I come back I shall bring this reissue with me.” No one said a
word, but I knew what was in every man’s mind: “What a fool, when
our great Philadelphian authority has spoken, to imagine that he can
do anything to change the result!” However, there was no disposition
to cut me off by any precipitate action, and the meeting adjourned
subject to the call of the chair, every one feeling that it was a mere
waste of time.
The next morning I was received by Mr. Fowler, the accomplished
chief examiner in the class of steam-engines, with his usual extreme
courtesy. He told me that he felt very sorry at finding himself obliged
to reject my application, but the very precedents cited in the
application itself left him no alternative. “However,” he added, “if you
have anything new to present I shall be most happy to receive it.” In
reply I handed to him the specification which had already done duty
so ineffectively with the expert and in which I had not changed a
syllable. He read it through with fixed attention, and the instant he
finished he exclaimed: “Why, Mr. Porter, it is perfectly obvious that
you are entitled to this reissue, and the cases cited in the application
have nothing to do with it; but why was not this presented to me in
the first place?” I told him I had prepared it for that purpose and
placed it in the hands of the expert, who, after reading it, returned it
to me, saying it would be of no use to him. Mr. Fowler instantly asked
me if I had prepared any claims. I told him I had, because I could not
get any one to prepare them for me; but it was a new business to
me, and I had asked the advice of the expert about them, who, after
reading them, returned them to me without any suggestion, merely
remarking: “If you get these allowed you will be doing very well.” The
moment Mr. Fowler glanced at them he exclaimed: “Oh, Mr. Porter,
we cannot allow any such claims as these; they are functional
claims, which the Patent Office never allows.” Then, evidently seeing
my helpless condition in the hands of a traitor, he instantly added: “I
shall be occupied this morning, but if you will call at three o’clock I
will have two claims prepared for you which will be allowed.” So the
expert had let me go to Washington with claims that he knew could
not be allowed, and sure that my errand would be fruitless. But he
did not imagine that the examiner would see through his treachery
and thwart it. At three o’clock our interview was brief; as I entered
Mr. Fowler’s room he handed me a paper, saying: “These have been
allowed; you will receive the reissue in the course of three or four
days, and it will appear in next week’s Gazette. Good afternoon.”
I suppose that I never looked on a countenance expressing more
amazement than did that of Mr. Merrick when next morning I handed
him the copy of the claims and told him my brief story. He said he
could hardly believe his senses. Taking the paper, he started for Mr.
Townsend’s office, and in the course of an hour all the parties in
interest had been apprised of my easy triumph. The reissue arrived
as promised, was placed in the expert’s hands, and a meeting was
called to receive his report. I thought my troubles were all over; the
case was an absolutely simple one, there was no pretense that the
invention was not new, and he must report in its favor, no matter how
reluctant he might be to do so. What was my amazement and fury
when he quietly stated to the meeting that he had no report to make;
that the case involved very serious questions which would require
much time for their consideration; that the granting of the patent was
nothing—it was the business of the Patent Office to grant patents,
not to refuse them, but whether or not they would be sustained by
the courts was entirely another matter, about which in this case he
had very grave doubts.
I now did what I never did before or since, and what no good
business man, who is accustomed to accomplish his purposes, ever
allows himself to do: I, who always prided myself on being destitute
of such a thing, lost my temper. And not only my temper, but, like
Tam O’Shanter, I lost my reason altogether. Already driven frantic by
the frightful condition of affairs at the works, which had been
protracted over three months by this man’s machinations, and which
he threatened to continue indefinitely while he should endeavor to
find some means to accomplish his purpose of wrecking my
business, without an instant for reflection I shouted, regardless of all
proprieties: “You rascal! What was the Patent Office doing a week
ago when you reported to these gentlemen that this reissue had
been refused, that the decision was final and the case was hopeless;
what were they doing then, I would like to know? Were they granting
patents or refusing them? The fact is, you are either a traitor or know
nothing about your business, and you may hang on either horn of the
dilemma you like,” and I sat down, having in these few seconds done
myself and my case more harm than anybody else could have done
in a lifetime. I did not reflect that I could not have the sympathy of my
audience; they knew nothing of the state of affairs at the works—this
they had been kept in ignorance of,—nor of the consistent course of
treachery which this man had been following. All they could see was
that I had used outrageous language, for which they could not
imagine any justification, toward an eminent patent lawyer who
enjoyed their confidence, and they naturally supposed that was my
usual way of doing business. The chairman coldly informed me that
the lawyer was their patent adviser and nothing whatever could be
done until his report on the reissue should be received. I had entered
the room expecting to receive the congratulations of every one on
the bold coup by which I had saved my business. I left it unnoticed
by any one. The reader will not be much surprised to learn that it
was months before we heard from him again—months more of
frantic helplessness.
About the first of August I called at the expert’s office and was
informed that he had gone on his vacation and would be absent
about six weeks, and the case could not be taken up until his return.
In my desperation I called upon Mr. Townsend and made to him a
clean breast of our helpless condition, and offered to pledge all our
stock as security for a loan of the money necessary to buy a few of
the most indispensable tools. He replied to me: “Suppose the report
of the expert shall be adverse and the enterprise be abandoned,
what do you think your security will be worth?”
I succeeded in saving one order from the wreck in rather a
singular manner. This was an order from Mr. Lewis, of Cincinnati, the
projector of the cottonseed-oil business, for an 18×30-inch engine to
drive the machinery of their first oil-mill at Houston, Texas. I had built
in Newark an engine of the same size for Senator Jones of Nevada,
to drive an ice-making plant which he was establishing in the city of
New Orleans. Word came to me sometime that spring that this
enterprise had proved a failure, the work had been abandoned, and
the engine, their only asset of value, was for sale. I instantly bought it
and sent a man down to transport it to Houston and erect it there. Mr.
Lewis wrote me from Cincinnati an indignant letter at my sending him
a second-hand engine. I replied to him, stating first it was my only
possible way of filling his order at all, as I did not know when we
should be able to build an engine in our new works, and, second,
that it was a new engine, having been run only a few weeks, long
enough to show its excellent condition and not so long as engines
are often run in public exhibitions, from which they are always sold
as new. Mr. Lewis gracefully accepted my explanation, and the
engine was in readiness for them to grind the coming cottonseed
crop. The next summer we had a call from the agent of that mill, who
had come North during their idle interval, while they were waiting for
their next crop, to make his report at Cincinnati, and had come out of
his way to tell us of the wonderful manner in which that engine had
carried them through their first season, which he concluded by
saying: “That is the engine for the cottonseed-oil business.” After he
had gone I said to Mr. Merrick: “That is an old story to me; everybody
says that is the engine for their business, whatever their business
may happen to be.”
What did I do with myself during that six months? Well, I was not
altogether idle. First I found all the drawers in the drawing-office filled
with piles of old drawings which Mr. Merrick ordered to be preserved
and which we piled up on the floor of the unoccupied third story. Out
of the contemplation of that confused heap I evolved a new system
of making and keeping mechanical drawings, which I described in
the following paper, read the next year before the American Society
of Mechanical Engineers:
“The system of making and keeping drawings now in use at the
works of the Southwark Foundry and Machine Company in
Philadelphia has been found so satisfactory in its operation that it
seems worthy of being communicated to the profession.
“The method in common use is to devote a separate drawer to the
drawings of each machine or each group or class of machines. The
idea of this system is keeping together all drawings relating to the
same subject-matter. Every draftsman is acquainted with its practical
working. It is necessary to make the drawing of a machine and of its
separate parts on sheets of different sizes. The drawer in which all
these are kept must be large enough to accommodate the largest
sheets. The smaller ones cannot be located in the drawer, and as
these find their way to one side or to the back, and several of the
smallest lie side by side in one course, any arrangement of the
sheets in the drawer is out of the question.
“The operation of finding a drawing consists in turning the contents
of the drawer all up until it is discovered. In this way the smaller
sheets get out of sight or doubled up, and the larger ones are torn.
No amount of care can prevent confusion.
“In the system now proposed the idea of keeping together
drawings relating to the same machine, or of classifying them
according to subjects in any way, is abandoned, and in place of it is
substituted the plan of keeping together all drawings that are made
on sheets of the same size, without regard to the subject of them.
Nine sizes of sheets were settled upon as sufficient to meet our
requirements, and on a sheet that will trim to one of these sizes
every drawing must be made. They are distinguished by the first nine
letters of the alphabet. Size A is the antiquarian sheet trimmed, and
the smaller sizes will cut from this sheet, without waste, as follows:
“A, 51″×30″; B, 37″×30″; C, 25″×30″; D, 17″×30″; E, 12¹⁄₂″×30″; F,
8¹⁄₂″×30″; G, 17″×15″; H, 8¹⁄₂″×15″; I, 14″×25″.
“The drawers for the different sizes are made 1 inch longer and
wider than the sheets they are to contain, and are lettered as above.
The drawers of the same size are distinguished by a numeral
prefixed to the letter. The back part of each drawer is covered for a
width of from 6 to 10 inches, to prevent drawings, and especially
tracings, from slipping over at the back.
“The introduction of the blue-printing process has revolutionized
the drawing-office. Our drawings now are studies, left in pencil.
When we can find nothing more to alter, tracings are made on cloth.
These become our originals and are kept in a fire-proof vault. This
system is found admirably adapted to the plan of making a separate
drawing for each piece. The whole combined drawing is not
generally traced, but the separate pieces are picked out from it. All
our working drawings are blue-prints of separate pieces.
“Each drawer contains fifty tracings. They are 2¹⁄₂ inches deep,
which is enough to hold several times as many, but this number is all
that is convenient to keep together. Each drawing is marked in
stencil on the margin in the lower right-hand corner, and also with
inverted plates in the upper left-hand corner, with the letter of the
drawer and the number of the drawing, as, for example, 3F-31; so
that whichever way the sheet is put in the drawer, this appears at the
front right-hand corner. The drawings in each drawer are numbered
separately, fifty being thus the highest number used.
“For reference we depend on our indices. Each tracing when
completed is entered under its letter in the numerical index, and is
given the next consecutive number. From this index the title and the
number are copied into other indices, under as many different
headings as possible. Thus all the drawings of any engine, or tool, or
machine whatever, become assembled in the index by their titles
under the heading of such particular engine or tool or machine. So
also the drawings of any particular piece, of all sizes and styles,
become assembled by their titles under the name of such piece.
However numerous the drawings, and however great the variety of
their subjects, the location of any one is, by this means, found as
readily as a word in a dictionary. The stencil marks copy, of course,
on the blue-prints, and these, when not in use, are kept in the same
manner as the tracings, except that only twenty-five are placed in
one drawer.
“We employ printed classified lists of the separate pieces
constituting every steam-engine, the manufacture of which is the
sole business of these works, and on these, against the name of
every piece, is given the drawer and number of the drawing on which
it is represented. The office copies of these lists afford an additional
mode of reference, and a very convenient one, used in practice
almost exclusively. The foreman sends for the prints by the stencil
marks, and these are thus got directly without reference to any
index. They are charged in the same way, and reference to the
numerical index gives the title of any missing print.
“We find the different sizes to be used quite unequally. The
method of making a separate tracing of each piece, which we carry
to a great extent, causes the smaller sizes to multiply quite rapidly.
We are also marking our patterns with the stencil of the drawings, as
well as gauges, templets, and jigs.
“It is found best to permit the sheets to be put away by one person
only, who also writes up the indices, which are kept in the fire-proof
vault.
“We have ourselves been surprised at the saving of room which
this system has effected. Probably less than one fourth the space is
occupied that the same drawings would require if classified
according to subjects. The system is completely elastic. Work of the
most diverse character might be undertaken every day, and the
drawings of each article would find places ready to receive them.”
It will be observed that in planning the sizes of sheets I was limited
to antiquarian paper. Now no limitation exists. I should to-day
increase the number of sizes.
The whole summer passed, many had taken trips to Europe and
back, when about the middle of September Mr. Morgan notified the
chairman that he had received the expert’s report and requested him
to call a meeting of the subscribers to hear it. I went to the meeting
with mingled hope and apprehension. Mr. Morgan read a long letter
from the expert containing an elaborate argument against the patent
which he concluded by saying that he could not recommend its
acceptance. When Mr. Morgan had finished reading the letter he
continued: “Mr. Chairman, I am tired of this man’s delays and
quibbling, and I now advise you that Mr. Porter has performed his
contract, and it only remains for you to perform yours.” This was the
harvest from the seed I had sown six months before.
The following is the Reissue on which the patent expert hung up
our business for six months. The specification was written by me, the
disclaimer and claims were written by Chief Examiner Fowler.
UNITED STATES PATENT OFFICE
John F. Allen of Brooklyn, Assignor to George T. Hope, of Bay Ridge, N.
Y., and Charles T. Porter, of Philadelphia, Pa.
Balanced Valve.
SPECIFICATION forming part of Reissued Letters Patent No. 9303, dated July 20,
1880.
Original No. 167865, dated September 21, 1875. Application for reissue filed June
2, 1880.
To all whom it may concern:
Be it known that I, John F. Allen, formerly of the city, county, and State of New
York, but now of Brooklyn, New York, have invented certain new and useful
Improvements in Balanced Slide Valves, of which improvements the following is a
specification.
My invention relates to that class of balanced slide-valves in which the valve is
practically relieved from the pressure of the steam, this pressure being sustained
by a plate supported above the valve, but so nearly in contact with it that the space
between them will not admit steam enough to affect the valve. Such plates are
designated as “pressure” plates, and have been made in some instances
adjustable, in order that they may be closed up to the valve as the faces of the
valve and its seat become worn. Heretofore such adjustments have been affected
by different mechanical devices, among which there was, in one instance, a spring
to move the plate laterally or crosswise of the valve while the pressure of the
steam held the plate down; and in other instances screws were used to move the
plate in two directions, both in line with the movement of the valve, and to hold the
plate in its adjusted position. All of these devices, however, are liable to objections
well understood by engineers.
It is the object of my invention to obviate these objections in a balanced slide-
valve; and to this end my improvements consist in utilizing the pressure of the
steam for giving motion to the pressure-plate down inclined supports and toward
the valve; in employing supports inclined to the face of the valve at a steep angle,
considerably exceeding the angle of repose of the metal, so that the pressure of
the steam on the upper surface of the pressure-plate may be relied on for giving to
it the above-described motion, and in employing an adjustable stop to prevent the
pressure of the steam from forcing the pressure-plate into too close contact with
the valve.
In the accompanying drawings, which form part of this specification, Figure 1 is
a transverse section through a steam-chest in which my improved balanced slide-
valve is applied, the section being on the line x x of Fig. 2, and Fig. 2 is a
longitudinal section on the line y y of Fig. 1.
The valve A is fitted upon its seat in the steam-chest B, and moved to and fro
over the ports in the usual manner. The back of the valve is a plane surface,
parallel with its face. Along the sides of the steam-chest I provide two parallel
guides—one, b, inclined downward and outward, and the other, b¹, inclined upward
and outward, as shown in Fig. 1, from a point in the same plane with the back of
the valve and at an angle considerably greater than the angle of repose of the
metal. Theoretically, the plate should move down its inclined supports if the angle
of inclination exceeds at all the angle of repose; but practically, under conditions,
often unfavorable, existing in the steam-chest to render the action certain, this
angle should be largely in excess, as shown in the model and drawings. In the
instance shown I have provided chambers G at the ends of the steam-chest,
through which the steam may pass over the ends of the pressure-plate to the
ports; but any other approved passage for the steam may be provided.
The pressure-plate C fits snugly in the steam-chest lengthwise, and moves
freely in it crosswise. This plate has an opening in the top and a hollow center, so
that the steam entering at the top passes through the center and into the
chambers G, at the ends of the steam-chest. The bottom of this plate has a plane
surface, parallel with the back of the valve A, and beyond this plane surface it has
lateral inclines c c¹, parallel with the lateral inclines b b¹ on the sides of the steam-
chest, so that when the plate is in place its lateral inclines rest upon and fit closely
to the inclines on the chest, thus supporting the plane surface of the bottom of the
plate close to the top of the valve.
The width of the plate being less than that of the chest B, it will be seen that the
plate in this position would have a certain range of movement upon the inclines
crosswise of the steam-chest.
A screw-stop, H, passes through the steam-chest, and bears upon the adjacent
side of the pressure-plate, which will still be free to be moved crosswise of the
valve.
The operation is as follows: The stop H being adjusted to the point at which it is
desired to maintain the pressure-plate, the pressure of the steam will act upon the
plate and tend to force it down the inclines b b¹ crosswise of the valve and against
the stop, which will thus determine the range of movement of the plate and the
relation between its plane surface and the back of the valve. At the same time the
stop, being entirely independent of or disconnected from the plate, can be
readjusted as required to compensate for any wear upon the surfaces of the valve
or its seat, and the steam will at all times maintain the plate at the point determined
by the adjustment of the stop. This adjustment is, of course, made without opening
the steam-chest.
I do not claim the employment of inclined supports by a movement along which
the pressure-plate is caused to approach or to recede from the valve, since this
device has been already the subject of patent; but
I claim as my own invention and desire to secure by Letters Patent—
1. A balance-valve provided with a pressure-plate acted upon by steam-
pressure and having a downward and lateral movement through means of steep
inclines, as shown, as and for the purpose set forth.
2. A balance-valve provided with a pressure-plate reposing upon steep inclines,
as shown, and suitable means for limiting its movement upon the inclines, the said
plate being held down by steam-pressure, as and for the purpose set forth.
John F. Allen.
Witnesses:
De Witt Bogardus,
J. W. Durbrow.