Archive for the ‘General’ Category

Range Anxiety

2019/11/01

The adoption of EV’s must overcome numerous misconceptions and prejudices for a consumer to buy one. Some fall in love with the technology, some are driven by a desire to not pollute the environment when driving around, and some like specific features. Probably the biggest “hesitation factor” that my friends, even the technical ones, have is “range anxiety.” These friends worry that traveling from one place to another, they will run out of “juice” in the battery. Somehow this worries them more than running out of gasoline. Of course, there are, today, considerably more gasoline stations than there are EV charging stations. Thus, to travel on a single charge from Los Angeles to Las Vegas, about 269 miles via I-15N through the desert, is a worry. Is this within the range of my EV? If not, then finding a charging station en route is essential. To avoid range anxiety, this needs to be done in advance (typically with a app on a cell phone, or better an ap built-in to the EV.) Even though planning in advance is not much of a problem when looking for gas stations, the many fewer charging stations on this route requires more planning.

An EV manufacturer needs to explicitly address range anxiety. A built-in app to locate reasonably near charging stations would be a good start. Accurate range-to-go estimates would also help. In fact, there are so many range anxiety facets here, an EV manufacturer would be wise to have a dedicated technical program manager to manage both the business and the technical components of this problem. Here are a few such:

Business components:

  • the cost and business structure of home and commercial charging stations
  • leasing property for charging stations
  • geographic saturation of commercial and private charging stations; range goals; range anxiety
  • partnering with commercial charging companies
  • various plugs for different types of charging (US, UK, Europe, China, Tesla, VW, etc)
  • revenue produced from charging stations
  • who pays for charging? Algorithms? Credit card transactions.
  • competitive need for fast charging (what are competitors doing?)
  • strategic need for fast charging (meeting customer demands)
  • rolling out new charging technology into the field
  • added vehicle manufacturing cost for fast charging and different plug accommodations

Technical components:

  • battery management, especially during charging; tracking charging history
  • warnings for under and over charging
  • accurate display of remaining range; altitude adjustments
  • plug accomodations in the vehicle; adaptors
  • issues around “topping off” batteries to 100% charge
  • issues around “draining” batteries and charging drained batteries
  • creep mode to travel with nearly drained batteries
  • issues around number of charging cycles and battery lifetimes
  • slow charging, e.g. overnight at home.
  • optimizing regenerative braking
  • use of vehicle batteries as an energy store during black-outs
  • meeting range goals: battery size and weight; aerodynamic vehicle properties
  • battery size versus charging time
  • incremental range per unit time of charging for various types of chargers.

The Zero Emissions Bus (ZEB)

2019/06/08

The nation, the states, some cities, and California in particular, can set goals for vehicle emissions. Public buses make interesting targets – both politically and technologically. California is the first state in the nation to legislate a goal of converting all public buses to zero emissions (by 2040 in California’s case). Los Angeles has set a ZEB goal for 2030. San Diego has a pilot program with first 6 ZEB deliverables from New Flyer Industries due in mid 2019. Foothill Transit started in 2010 and is now fully BEB. There are over 20 US transit systems are operating BEBs. The total number of public BEBs in the US is a few hundred, while in China it is well over 1000.

From a global warming perspective, the world should immediately get rid of using coal and using diesel engines for energy and transportation. These are the major polluters and contributors to global warming. Converting public buses to BEBs (battery electric buses) is certainly helpful, but may not be significant. I’ve lately changed my opinion on hybrid automobiles. I doubt there is enough sustainable capacity on the grid and national charging infrastructure to support a short term massive conversion to all electric vehicles. This makes a hybrid’s 50+ miles/gallon look like a reasonable short term strategy for those who like hybrids. For governments, even cities, to be able to show effort to move to BEBs is undoubtedly comforting, influential, and inspiring.

I also point out my long standing position that hydrogen fuel cells are not a path to zero emissions until the world has a sustainable (zero emission) and economically sound way to produce hydrogen.

Zero emissions life-cycle goals for vehicles, and in particular public buses, should include:

  • energy/fuel production
  • fuel use
  • heat generation
  • recycling materials, e.g. battery recycling

Buses are interesting technology targets for zero emissions goals. They don’t need great acceleration, nor high speed. They have a lot of mass; hence regenerative braking should be effective. Typically they are not very aerodynamically shaped, and they are heavy, thus range and efficiency will be negatively effected. On the other hand, their large length and truck-sized width provide plenty of space for large battery packs, which yield energy capacity and hence range in spite of the fact that battery packs are heavy and reduce efficiency. Large battery packs are also expensive, and re-charging them has both time and expense negatives.

As discussed in [1], early BEB adopter transit authorities have struggled with various trade-offs:

  • daily service time
  • route distance and elevation changes
  • land and space needs for recharging.
  • annual temperatures (Altoona [2] notes significant loss of BEB efficiency in colder climates.)
  • recharging en route strategies
  • space at depots for recharging
  • recharging technologies (plug-in vs. overhead vs induction) and fast vs slow charging.

Any program to migrate a fleet of buses to ZEBs, needs to consider:

  • Current state of ZEB industry (while [1] is must reading, its data are quickly aging.)
  • The above mentioned trade-offs
  • How to phase out existing buses
  • Life-cycle planning for BEBs.
  • Design/selection and Properties of new ZEBs
  • Design of new charging stations and charging ports for ZEBs. Charge times.
  • How to roll-out charging stations at the depots, e.g. local grid capacity needed over time
  • Possible need for en-route charging (overhead, inductive, redundant), e.g. weather, loads
  • Energy Storage capacity and backups for blackout protection
  • Modeling and possible revision of bus routes; planning for area and passenger growth
  • Training for maintenance and driver personnel
  • Collection of operational data; detailed analysis plans. Cash flow, ROI, electricity rate structures, …)
  • Charging Infrastructure at Scale (land, space, grid demand/impacts, fleet roll-out, labor, storage)
  • Development and operational cost modeling and analysis; project plans. Lifecycle planning.
  • Coordination and information sharing with other bus fleet conversion programs, worldwide.
  • Stakeholders (utilities, operators, unions, maintenance, communities, boards, agencies, etc)
  • Follow: TCRP, CARB, APTA, CTE (Center for Transportation and the Environment), NREL, ZeEUS, CALSTART, US DOT, American Public Transportation Association, Federal Transit Administration, Foothill Transit (Roland Cordero) 2010 start up to 17 fast charge buses 35 mile range going to 250. Worcester, MA and Chicago have BEB fleets.

Literature/References

  1. TCRP Synthesis 130 PDF available at http://nap.edu/25061 https://www.nap.edu/download/25061
  2. NREL reports on BEBs https://www.nrel.gov/docs/fy16osti/65274.pdf AND https://www.nrel.gov/docs/fy17osti/67698.pdf
  3. Rutgers National Transit Institute https://www.ntionline.com/
  4. Inverted pantographs https://www.schunk-carbontechnology.com/en/smart-charging/
  5. APTA’s Zero Emission Bus Standard Bus Procurement Guidelines. https://cte.tv/project/apta-procurement-guidelines-for-bebs-and-infrastructure/

  6. OLLI, The Driverless Passenger Bus, March 3, 2019, https://gaynwinters.wordpress.com/tag/acn/

Electric Vehicle Emissions

2019/03/22

Do pure battery driven electric vehicles (BEV’s) pollute?

Yes, if one measures pollution from “well to wheel”, i.e. if one takes into account the source of the electricity that charges the batteries, then BEV’s definitely pollute, but this pollution is significantly less than other vehicles. About 65% of the US grid’s electricity comes from polluting sources, mostly by burning fossil fuels. The mix of polluting sources varies from state to state [1] and thus the amount of pollution also varies.

Of course, internal combustion engines (ICE’s) burn fossil fuels, and they emit the most tailpipe pollutants. All vehicles that consume fossil fuels also produce pollution through evaporation from the fuel tanks, from the wells that extract oil and gas from the earth, during transportation, from refining, and during refilling. (The latter has been greatly reduced by putting gaskets between the pump handle and the vehicle refueling port.) These sources of pollution are also true of hybrids, pure (HEV’s) and plug-ins (PHEV’s), whenever they use a gasoline engine for recharging or for directly powering the vehicle. Of course, when hybrids plug into the grid for recharging, they pollute precisely as do BEV’s.

The mix in the US of electricity sources is interesting [1]:

Natural Gas 35.24%
Coal 27.52%
Nuclear 19.37%
Hydro 6.86%
Wind 6.6%
Solar 1.6%
Biomass 1.51%
Oil 0.59%
Geothermal 0.40%
Other Fossil 0.30%

As a matter of high priority for US government policy, it is clear that we need to get rid of the highest polluting sources, in particular coal, and fund the increase of the non-polluting sources, in particular wind, solar, and geothermal. Vehicle emissions would benefit directly.

I don’t think the US government has a plan or even a policy to significantly reduce the use of fossil fuels. It seems that this should be part of the global warming discussion, but this topic is for future posts.

As a matter of new vehicle buying preferences, electric vehicles (BEV’s) are getting price competitive with internal combustion engine (ICE) vehicles, but BEV’s still suffer from long recharging (refueling) times, and a scarcity of fast charging stations. For some driving profiles, a BEV makes sense. If one’s driving profile can’t deal with the charging times or the scarcity of charging stations, then a PHEV probably makes the next-most sense both price-wise and environmentally. They pollute about half of what a comparable ICE vehicle does, and there are fewer refueling trips. As I pointed out in an earlier post, hydrogen fuel cell electric vehicles (hydrogen FCEV’s) don’t make sense due to the pollution caused by the use of natural gas in the production of hydrogen. Last, an ICE vehicle probably only makes sense for large hauling, and frequent long trip profiles. It will be awhile before BEV and PHEV vehicles catch up. (I might also point out that the airline industry will be fossil fuels for a long time.)

Used vehicle purchases are probably driven mostly by price and availability. As far as I can tell, the market for used BEV’s is a little thin. The market for a used Toyota Prius, at least here in Southern California, seems reasonable, but I haven’t compared how much of a discount over new that a used Prius gets. The price conscious buyer of used vehicles should compare this Prius discount over new to the discount for a used ICE vehicle over a new one. Is price going the dominate the purchase decision or is the environment?

References

  1. Alternative Fuels Data Center, Department of Energy, “Emissions from Hybrid and Plug-In Electric Vehicles”, https://afdc.energy.gov/vehicles/electric_emissions.html
  2. Argonne Natural Laboratory, Energy Systems Division, “Well-to-Wheels Energy Use and Greenhouse Gas Emissions Analysis of Plug-in Hybrid Electric Vehicles”, 2009, https://publications.anl.gov/anlpubs/2009/03/63740.pdf
  3. NREL (National Renewable Energy Laboratory), Department of Energy, 2016, “Emissions Associated with Electric Vehicle Charging: Impact of Electricity Generation Mix, Charging Infrastructure Availability, and Vehicle Type”, https://afdc.energy.gov/files/u/publication/ev_emissions_impact.pdf
  4. Alternative Fuels Data Center, Department of Energy, “Hybrid and Plug-In Electric Vehicle Emissions Data Sources and Assumptions”, https://afdc.energy.gov/vehicles/electric_emissions_sources.html

Additive Manufacturing (3D Printing) – LCA

2019/01/07

Lifecycle Cost Analysis (LCA) for additive manufacturing isn’t just the analysis of cost in the manufacturing department. While making a part with less materials, less labor, less maintenance, is a big portion of the savings, it doesn’t give the entire picture. Here is a list of places in the enterprise to analyze:

  • design engineering: designs for complex functionality, weight and material savings, , design for end-of-life recycling. This is “design for additive manufacturing.”
  • manufacturing: lower energy use (melting < cutting), less material/scrap. Less weight
  • production: manufacture close to the customer
  • supply chain: reduced transportation, fewer vendors, fewer manufacturing locations.
  • logistics: if the supply chain is simpler, so are the logistics
  • operations: additive manufacturing and lean have a common goal to eliminate non-value-added steps in manufacturing
  • accounting: uses less capital; can justify small volume products (or customized products); reduced floor space, reduced inventory, reduced WIP, reduced rework
  • marketing: manufacture consistent with corporate values, e.g. protect the environment, don’t waste. Recycle.

On the customer side,

  • Simplicity, due to part count reduction means lower maintenance and lower inventory requirements for spares.
  • Simplicity also means lower cost for the parts themselves.
  • Lower weight means less transportation cost, and for vehicles, better fuel usage.
  • Also, better recycling potential, particularly for expendable parts is something a customer values.

To be thorough, the lifecycle analyst needs to explore each of these areas in detail. Initially, some care needs to be taken to explore a variety of materials and printer systems. The first reference below is excellent. Once a 3D printing path is taken, more detail can be added to the analysis. The second reference illustrates some of the detail to consider. The third and fourth references discuss environmental considerations.

References

Additive Manufacturing (3D Printing) – Materials

2019/01/03

Additive Manufacturing isn’t yet replacing classic subtractive CNC machining (lathes, drills, saws, etc). Many of the materials listed in this post are of interest for this machining as well.

It is not surprising that plastics dominate any list of 3D printing materials, given the history of 3D printing. Recent interest and capability of printing metals will change this over time. The list of metals below is too brief and will be soon expanded.

Not listed below are new application materials in medicine. 3D printing of drugs and vaccines using multiple material printers to mix different drugs, and to blow your mind, 3D printing of human organs using human materials from the patient who needs the organ.

Most materials or compounds can be used as “ink” for 3D Printing. Different printer designs use different forms of energy to melt, form, and then harden the ink into a solid printed object. ISO 52900 recognizes 7 types of 3D printing, which are worth repreating here. In addition, an eighth is recognized, which is at the end.

  1. Binder jetting: a binder is jetted onto the powder bed.
  2. Directed energy deposition: thermal energy melts materials as they are deposited.
  3. Material extrusion: material drawn thru a nozzle is heated then deposited layer-by-layer.
  4. Material jetting: material jetted onto a build surface layer by layer and cured by UV light
  5. Powder bed fusion: energy beam fuses material in each slice
  6. Sheet lamination: sheets of material bonded to form a part
  7. Vat photopolymerization: liquid polymer fused by DLP projector and UV light
  8. Mask Image Projection-Based Stereolithography: A mask is made from a model slice of the object. This mask image is projected onto a photocurable liquid resin surface, and light is projected onto the resin to cure it in the shape of the image. This method can be used to create objects of multiple materials that cure at different rates.

Background:

A composite = composite material = composition material is a material made from two or more constituate materials with significantly different physical and chemical properties. The composite will have characteristics different from the constituants. The individual components remain separate and distinct within the finished structure. Compare: mixtures and solid solutions.

Certain composites work well for additive manufacturing using a 3D printer. Others, such as concrete, are great for construction, especially using moulds or forms of various types. Concrete and similar materials can be sprayed and then subsequently formed. There is some research around printing with concrete. Wood (saw dust) on the other hand has more success being printed.

Composites can also be reinforced using fibers or rods of various shapes and forms. For example, ancients used straw and mud to form strong bricks. Plywood consists of wood glued together with the grain at various angles. Bakelite is fiber reinforced plastic, and fiberglass consists of small glass fibres embedded in epoxy or polyester. Concrete is often reinforced with steel rods, which is essentially the same approach.

A polymer is a substance consisting mostly of a large number of similar materials (“monomers”) bonded together. E.g., nylon, polyethylene, Teflon, and epoxy. Natural polymers are silk, wool, DNA, celulose, starch, and proteins. A plastic is a polymer comprised of smaller, uniform molecules. Semi-synthetic polymers are made by modifying natural polymers in a lab using chemical reactions. .e.g. cellulose acetate (rayon) is made from regenerated cellulose, and vulcanized rubber is made by cross bonding sulphur with natural rubber.

To make printing with various materials specific, consider Selective Laser Sintering (SLS) which uses thermal energy from a high power laser to fuse powdered materials in each slice of an object to be printed. It is a special case of Powder Bed Fusion. A wide variety of materials can be powdered and used: plastics, metals, glass, ceramics, and various composites. Here’s the process:

  1. Powder is dispersed in a thin layer on a platform inside the build chamber
  2. The powder is preheated to just below the melting point of the raw material
  3. One or more high powered lasers scan a cross section of the 3D model heating the material to its melting point, fusing it to the layer above it.
  4. The platform is lowered by one layer’s thickness, and is sprinkled with more powder. Steps 2, 3, and this 4 are repeated until the printing is completed.
  5. Note that several objects can be printed at the same time if they all fit inside the printing chamber. In fact, many parts can be printed at once, filling the available volume of the print chamber with only minimal space between them. CAD slicing software does this and drives the lasers over the slice.
  6. The printed objects are allowed to cool gradually inside the printing chamber. They then are transferred to a cleaning station, separated, cleaned and finished. Different techniques can be used to polish the grainy parts that have been printed. Different materials need more or less polishing. Some 3D printer designs allow the entire printing chamber to be removed for this step, allowing a different chamber to be put into the printer for consecutive, overlapping, printing runs.
  7. Excess material can be repowdered, and this plus excess powder from the print run can be reused for additional printing. Note that during the printing process, this “extra” material provides support for the objects’ next layers being printed. Thus no additional support structures must be made and later removed.

Before delving into the question of what materials can be used with SLS, note that it is possible to use two powdered components, e.g. nylon with aluminide, carbon, or glass to optimize the printed parts for strength, stiffness, or flexibility. Only the component with the lower temperature for its glass transition point is sintered, binding all components.

Materials

Many 3D printing shops, including ones embedded in a large manufacturing system, use proprietary and secret material recipes to give themselves a competitive advantage. In addition, there are many types of 3D printers, and these materials are specialized for particular 3D printers.

In general, different methods of printing are best with certain materials. Conversely, different materials work best with certain methods of printing. Each pairing has pros and cons, and the end application must dictate. For examples, powders that are fused must be able to absorb energy in order to melt and bind. Printer manufacturers usually distribute the printing materials via the distribution outlets for their printers.

Here is a cut at organizing materials. Most non-common solids and pureed food can be 3D printed. There are also some surprises among the common solids.

  1. Alloys (aluminum, copper, titanium, magnesium, zinc, brass (copper+zinc), bronze (copper+tin)
  2. Biomedical materials (prosthetics, medicines, corneas, bone, cartilage, other human tissue, …)
  3. Common gases (air, carbon dioxide, helium, hydrogen, …)
  4. Common liquids (ethanol, oil, water, …)
  5. Common miscellaneous (corrosion, Piezo materials, solders, saturated steam tables,
  6. Common solids (concrete, glass, quartz, stone, wood, ..)
  7. Elements in the Periodic Table
  8. Food (pasta, chocolate, cheese, avocado, …)
  9. Polymers (ABS, epoxies, fluoropolymers, polyamides (PAs), polycarbonates, …)
  10. Steels (low-, medium-, high-) carbon, high strength, steel alloys, stainless (>10.5% chromium.)

Special Materials:

  • Aermet – not corrosion resistant and must be sealed if in a moist environment
  • ABS (Acrylonitrile Butadiene Styrene) – low cost, tough, durable, high temp parts (oil based). Legos, instruments, sports equipment, drop-resistant parts, knife handles, car phone mounts, phone cases, toys, wedding rings. Bed with Kapton tape or hairspray. ABS is best suited for applications where strength, ductility, machinability and thermal stability are required. ABS is more prone to warping than PLA.
  • Aluminum (alloys) – light, durable, functional, white
  • Aramid – a class of synthetic polymers, related to nylon, that produce fibers of exceptional strength and thermal stability. Kevlar is a para-aramid, Nomex is a meta-aramid.
  • ASA – alternative to ABS; high UV, temp, and impact resistance.
  • Biomedical materials are most promising. They can repair or replace organs, blood vessels, (my favorite) corneas, bones, … Plus, they can manufacture not only medicines, but also patient specific combinations of medicines.
  • carbon fiber filled – short fibers infused into PLA or ABS base for strength and stiffness
  • cobalt chromium – one of many types of chrome.
  • Conductive materials for micro-/nano-scale 3D printing. Used with material jetting, material extrusion, electrohydrodynamic (EHD) printing. Excellent for electrodes, connectors, and conductors. Three groups: liquid metals, metal monoparticles, and in-situ reactive metal inks. In addition, barbon black, carbon nanotubes (CNTs), carbon nanofiber, and graphene are polymeric due to their excellent conductive and sensing abilities.
  • Delrin (Acetal Homopolymer) – high tensile strength, creep resistance and toughness. It also exhibits low moisture absorption.
  • Dyneema – Similar to Kevlar but doesn’t absorb water. Dyneema is 15 times stronger than steel, making it the world’s strongest fiber.
  • Ferrium – C64 high strength carburizable steel, high hardness.
  • HIPS – lightweight, used for dissolvable support structures
  • Inconel (a family of austenitic nickel-chromium-based superalloys)
  • metal filled – mix fine metal powder into a base material: unique metallic finish, added weight.
  • Molding and Extrusion Compound PA is a subcategory of Polyamide (PA) which is specially formulated for molding and extrusion. Cf. ISO 16396-1:2015. It can be formulated to have wide ranges of elastic modulus, flexural modulus, tensile strength, flexural strength, Izod impact strength, hardness, specific gravity, thermal expansion, melting temperature, molding pressures, and elongation at break ranges.
  • Nylon – tough semi-flexible, high impact, abrasion resistance, durable. See polyamides below.
  • PET (polyethylene terephthalate) and PETG (Polyethylene Terephthalate Glycol) – ease of print, smooth surface finish, water resistance. Doesn’t warp, not brittle, low shrinkage.
  • PLA (Polylactic acid) – easy to use, dimensional accuracy, low cost (corn based). Odorless, low warp, less energy to process. Bed with blue painter tape, hairspray. FDA approved for food container. Use: food containers, biodegradable medical implants, models, prototype parts. PLA is ideal for 3D prints where aesthetics are important. Due to its lower printing temperature, it is easier to print with and therefore better suited for parts with fine details than is ABS. Barely warps.
  • polyamides (PA) – combines an amino group of one molecule and a carboxylic acid group of another. Includes nylon, wool, and silk.
  • polyaryletherketones (PAEK) – now compete with metals, other polymers. Good performance and reliability for safety critical applications, enable miniaturization. Used in aerospace, automotive, semi-conductors, electronics, oil and gas, and medical. Saves weight, energy, cost. Semi-crystalline thermoplastic is characterized by excellent resistance to temperature, chemicals, wear. Stable over broad range of temperature. High strength and stiffness. Made into filament for 3D printing.
  • polycarbonates – strength, durability, very high head and impact resistance. Some grades are optically transparent. Easily worked, molded, and thermoformed. Has a higher impact resistance than acrylic. It does not shatter like plexiglass. Made into a filament for 3D printing.
  • Polyether ether ketone (PEEK) – a colorless organic thermoplastic polymer in the PAEK family.
  • Polyetherketoneketone (PEKK) – semi=crystalline thermoplastic in the paek family. High heat resistance and chemical resistance. Can withstand high mechanical loads.
  • Polyetherimide (PEI) – an amorphous, amber to transparent thermoplastic similar to PEEK. Because of its adhesive properties and chemical stability, it is a popular bed material for FDM 3D printers.
  • polypropylene – a thermoplastic polymer; high cycle, low strength, fatigue resistance, semi-flexible, light-weight.
  • polystyrene (PS) – synthetic hydrocarbon polymer; solid or foam; clear, hard, brittle, cheap. Styrofoam is expanded, not extruded, polystyrene foam. Burning polystyrene releases toxic styrene gas which affects the nervous system. Solid polystyrene is used for auto parts, CD cases, electronics, toys, kitchen appliances, etc. Extruded polystyrene (XPS) is different; manufactured by expanding spherical beads in a mold using heat and pressure to fuse them. Expanded polystyrene is not very biodegradable, but XPS can be recycled.
  • PPSU (Polyphenylsulfone) – most often extruded in sheet or rod forms. Good impact strength and chemical resistance – better than PSU and PES.
  • PVA (Polyvinyl Alcohol) – can be dissolved in tepid water; used for support material for complex prints. Non-toxic, environment friendly, easily stripped. Paper adhesive, thickener, packaging film, adult incontinence products, children’s play putty and slime. Freshwater sports fishing. Bed with blue painter tape.
  • Smart materials for 4D printing
  • stainless steel – there are of course many types of stainless steel
  • thermoplastic elastomers (TPE or TPU) Have both thermoplastic and elastomeric properties: can flex, stretch, bend. Can be reprocessed and remolded. Made into powder and filament for 3D printing. Result is fatigue and tear resistant. Recyclable.
  • titanium – for large expensive objects
  • Ultem – A type of PEI plastic with excellent tensile strength and chemical and thermal resistance.
  • Wood filled – combine PLA base material with cork, wood dust, or other derivatives. Gives wooden look and feel. Paintable.

References

Auctions

2019/01/01

Overview: Traditionally, auctions are used to sell assets such as a painting, a car, or even a single share of the stock of a company. In its simplest form, an auctioneer describes the item to be sold, and interested parties bid for it. The highest bidder wins, minus the auctioneer’s commission, with the net proceeds going to the seller, and the item goes to the winner. Auctions can also be used to sell liabilities. In an auction, assets have positive values, and liabilities have negative values. Either way, highest bidder wins, but note that for negative numbers, -200 is higher than -300.

 

History

Auctions have been used in commerce for well over 2000 years dating back at least to the Babylonian auctions of women for wives. Modern auction theory today is inextricably tied to modern game theory which dates at least back to 1928 and published in Von Neumann and Morgenstern’s 1944 book Theory of Games and Economic Behaviour. Since then, academic work has focused on auctions of assets with positive values rather than the negative values used for liabilities. It is amusing to note that the Babylonians auctioned beautiful women for positive values and required less beautiful women to come with dowries (negative values) funded in part with profits from selling the beautiful women!

Auction Theory

Let’s next discuss the difference between oral, shout-out auctions and sealed bid auctions. Well, oral auctions obviously need people to do the shouting. While this is a time honored tradition, everyone admits that computers are faster and can process sealed digital bids with ease. In addition, sealed bids can be kept secret. In fact even the winners can be kept secret which can be useful when auctioning works of art, for example.

The classic oral bid starts low, perhaps at the lowest acceptable amount for the seller, the so-called reserve price, and the auctioneer or people (perhaps agents representing others on the phone) in the audience gradually raise the proposed amount and indicate a willingness to buy at that price. The auction ends when no one is willing to buy at a higher price than the last bidder, who is declared the winner of the auction. This is called the English ascending oral auction. If no one is willing to buy at the reserve price at the beginning of the auction, then nothing is sold.

The Dutch descending oral auction starts with the auctioneer proposing a very high price. The auctioneer gradually lowers the proposed selling price until the reserve price is reached or someone shouts out their willingness to buy at that price. This person is the winner of the auction. If no one is willing to buy when the reserve price is reached, then nothing is sold.

There is an important difference between these two types of auction. The English auction discloses information about the losers of the auction, while the Dutch auction does not.

It is easy to see how to implement the Dutch auction with sealed bids. The auctioneer simply picks the highest bid, called the first price, among the sealed bids, and the losers depend on the discretion of the auctioneer for their privacy. All offer prices must be greater or equal than the published reserve price. Ties can be handled by order of submission (as in the oral case) or by picking the winner randomly. Again the honesty of the auctioneer is paramount to handle ties.

It is perhaps a little less obvious how to implement an English auction with sealed bids. If you like puzzles, put down this paper and spend a little time trying to figure it out. The answer is NOT that people get to submit multiple bids!

Canadian William Vickrey, a Columbia University professor, wrote a series of papers starting in 1961 with “Counterspeculation, Auctions, and Competitive Sealed Tenders”. This work earned Vickrey a share in the 1996 Nobel prize in economics. In particular, he solved the puzzle about emulating an English auction with sealed bids. His solution is astoundingly simple. Among the sealed bids the highest bidder wins the auction; however, the winner pays the second highest bid, called the second price. Ties are handled as above, and since the second highest bid in a tie equals the highest bid, that is what the winner pays in a tie. This type of auction is called a Vickrey Auction.

Auction Strategies

If a player wants to program a computer to partake in an auction, then this player’s computer program needs an algorithm to compute its next bid. Such an algorithm is called a (bidding) strategy. The inputs to the algorithm can be not only the known state of the auction, but also external information. For example, if the auction is for shares of risk on hurricane insurance, then weather information will certainly be an input. Intrinsic knowledge about the subject (e.g. construction knowledge, weather knowledge, etc.) can also be programmed into the algorithm. Thus the algorithm is highly proprietary.

Optimal Strategies

The mathematician John F. Nash, Jr., subject of the excellent book and movie, A Beautiful Mind, wrote in 1950 a one-page paper “Equilibrium points in n-person games”. This seminal paper was cited by the Nobel Committee 44 years later when Nash was awarded a share in the Nobel prize in economics. Nash proved in his one-page paper that there always exists an n-tuple of strategies
(n = #players) such that for each player, his/her strategy yields the highest obtainable expectation against the n-1 strategies of the other players. Such an n-tuple of strategies is today called a Nash equilibrium point. Nash’s paper shows these exist, but the paper doesn’t give constructive methods to discover them.

Nash’s result applies generally to n-person games, and in particular to n-person auctions, independent of the type of auction. Since 1950, economists have been analyzing auctions knowing that Nash equilibrium points of optimal strategies always exist. This means that players will spend considerable resources looking for and developing optimal strategies, relative to other players, to be successful on auctions.

Counter-intelligence

Aaron Brown, in his book Red Blooded Risk, The Secret History of Wall Street, writes "...much more quant effort is devoted to studying how other investor/bettors act than to estimating fundamental value."  This is quite likely true of other games, e.g., poker and war games. Thus, it is most likely that players on any auction exchange will do the same.  In fact, success on an exchange comes from being better than the competing players and not necessarily from absolute competence. 

Modern Portfolio Theory (MPT)

Now MPT, like Auction Theory, has historically been studied for portfolios of assets, although holdings of shorts are definitely part of MPT analysis. That said, any player will surely apply its own spin of MPT within its strategy function. For liabilities, this is fraught with peril, however, primarily because investment risk for liabilities is very different from investment risk for assets, and the auction exchange must put into place bidding policies to mitigate such risk. This makes for an interesting trade-off between how a player uses MPT to diversify its portfolio and how it uses its knowledge relative to its business model to optimize its portfolio.

Auctioning liabilities
Associated with any liability is the risk or probability of the liability occuring in a given time frame. If a home or business owner is worried about the destruction of the home or business occuring due to a hurricane or flood, then this owner will want to pay a reasonable price to an insurance company to assume all or part of this liability for the coming year. The kind of liabilities that are conducive to being auctioned off are those which have little, if any, acturarial data. The owner of such liabilities, usually an insurance company, bundles a number of them into a contract. All or part of such a contract can be auctioned off with the auction determining the contract's value. The auction exchange has many ways to divide up a contract into “shares” to be auctioned off.  At the same time, much as with assets, a small number of shorts can be created. Shorts of a share of a liablity valued at -P will have price P. If an event occurs triggering the liability, then the holder of a share pays P dollars, and the holder of a short receives P dollars. Both shares and shorts can be auctioned off independently. The actual face values of the shares and shorts are pre-determined by the owners before the auction, and there are many techniques to do so.

Example:  A $20,000,000 collection of hurricane insurance policies along the Atlantic coast of the U.S. could be divided via geography (state, inland, and coastal) into 20 “series” each valued at -$1,000,000. To divide such a series into -$20 shares would take 50,000 shares.  To add, say 10,000 shorts each valued at $20/short, we would need to increase the number of shares to 60,000. The total value still being auctioned is -$20,000,000.

Sealed Bids

The concept here is that the auctions of liabilities are performed in the cloud. If all bids for shares or shorts are submitted electronically, they are at least initially sealed. It makes no sense to unseal the bids while other bids are being submitted.

Dutch Auction versus English Auction versus Vickery Auction.

With all bids being submitted in the same time interval for a round of auctions, it makes no sense to “start at the bottom” of the bids. This eliminates the possibility of an English Auction, leaving the Dutch Auction, although an exchange could have the winner of the auction pay the second price, and thus run a type of Vickrey Auction.

Methods to implement an auction exchange for liabilities will be discussed in a future post.


Bibliography
  • Equilibrium points in n-person games, JF Nash
  • Counterspeculation, Auctions, and Comparative Sealed Tenders, W. Vickrey
  • Theory of Games and Economic Behavior, von Neumann and Morgenstern
  • Theory of Games and Economic Behavior – (Excellent) Book Review by Alan Copeland
  • Modern Portfolio Theory and Investment Analysis, 9th edition, Ed Elton, Martin Jay Gruber, pub Wiley
  • Auctions: Theory and Practice, Paul Klemperer. An on-line draft can be found here: http://www.nuff.ox.ac.uk/users/klemperer/VirtualBook/VirtualBookCoverSheet.asp
  • Putting Auction Theory to Work, Paul Milgram, Churchill Lectures in Economics. ISBN 0-521-55184-6,

ONVIF

2018/07/04

ONVIF – formally known as the Open Network Video Interface Forum

In the early 2000’s, my company Bristol Systems Inc. got into IP cameras and access control HID security cards as part of our comprehensive security program for our customers. Sadly, ONVIF had not yet been formed.

ONVIF was formed in 2008 by Axis Communications, Bosch Security Systems, and Sony. The video security market at the time was formed of companies who made and/or sold video cameras and recorders. In the worst case, each pair of such devices had proprietary programming interfaces and proprietary protocols for communication between the cameras and recorders. This was an interconnect nightmare for customers who might want to add a camera to system with a recorder or wanted to update their recorder. The idea of ONVIF was to standardize communication APIs and protocols between these devices, in order to permit interoperability independent of vendor, and to be totally open to all companies and organizations in this space. Its goals, beyond interoperability, are flexibility, future-proofing (your camera will continue to work in a heterogeneous system even if its manufacturer goes belly-up), and consistent quality.

The forum has now dropped the longer name as its standards have expanded beyond video, for example, to storage and to access control. It is now known simply as ONVIF.

The ONVIF standards are comprised of a core standard and several additional technical standards called “profiles”. All ONIVF conformant devices must conform to the core standard and to one or more profiles. One can think of the profiles as groups of features. This grouping provides some sanity in this market: if a vendor decides a particular profile is necessary or desirable then this vendor must implement all of the (mandatory) features of the profile. A device that only implements some of one profile and some of another cannot be ONVIF compliant.

The Core Specification 2.5 (December 2014) is rather comprehensive. This spec is around 150 pages and includes device and system management, web services, framework for event and error handling, security, ports, services, device remote discovery (necessary for plug and play interoperability), and encryption for transport level security. It includes data formats for streaming and storing video, audio, and metadata. It also includes a wide variety of service specifications, e.g., access control, analytics, imaging, pan-tilt-zoom, recording control, replay control, etc. It uses IETF, and other networking standards.

The current profiles are identified by the letters: S, C, G, Q, A, and T. Thus we have Profile S, Profile C, Profile G, Profile Q, Profile A, and (draft) Profile T. To remember which is which, I use:

  • S = “streaming” for sending video and audio to or from a Profile S client or device. Basic camera controls.
  • C = “control” for basic access control such as door state and control, credential management, and event handling
  • G = “gigabyte” for storage, recording, search and retrieval
  • Q = “quick” for quick installation, device discovery and configuration
  • A = “additional access” for more on access control, configuration of the physical access control system, access rules, credentials, and schedules
  • T = “ tampering” for compression, imaging, and alarms for motion and tampering detection.

In each profile, support for a feature is mandatory, if any aspect of that feature is supported by the device, otherwise it is conditional. For example, Profile S specifies compliance requirements for pan-tilt-zoom, which would be conditional on whether the camera supported aspect of pan-tilt-zoom. In which case, the camera would have to support all Profile S features of pan-tilt-zoom. If the camera does not support pan-tilt-zoom, then it can still be Profile S compliant.

In future posts, I’ll write about selecting a video (and audio) security system for my home, and about integrating my system into the neighborhood watch, which is a heterogeneous collection of security systems. In particular, exactly how the various profiles come into equipment decisions will be detailed in depth.

Privacy in Windows 10

2017/11/13

Privacy in Windows 10

11/13/2016, 07:33:17

The general problem with privacy in Windows 10 is that applications get lots of privileges that permit the “theft” of personal information. My goal would be to turn off these as much as possible. Here is what I’ve tried:

Go to Settings, then Privacy, AND turn off all privacy options in the General tab. [Couldn’t change some app notifications. Had to uninstall one uncooperative app.]

Go to Settings → Privacy → Background Apps, toggle off each app. [Had to search for Privacy, then all ok. Turned off most.]

Go to Settings → Accounts → Sync your settings. Turn off all settings syncing. [I used the “Sync Settings” switch to turn them all off. The individual settings were grayed out.]

Turn off sharing ID/profile with third party apps. Go to Settings → Privacy → General → Let my apps use my advertising ID. (this will reset your ID). [Had to search for “Advertising”, then could turn it off.]

Go to Location, turn off “Location for this device” (via Change button). [Found under “Personalization”]

Go to Camera, turn off “Lets apps use my camera”. You can enable the camera when you need it. You can also enable the camera for specific apps. [done]

To to Speech, Inking and Typing”. Click on “Turn off” and “Stop getting to know me”. [Click “Get to know me” and you ‘ll get the option to turn it on or off. I use “off”]

Go to Feedback and Diagnostics” and choose Never for feedback, and “Basic” for diagnostic and data usage. [Done after I reconsidered my earlier settings.]

In Settings, go to Windows Update → Advanced Options and “Choose how updates are delivered”, select “turn off”.

Go to “Network and Internet” → WiFi, turn off WiFi Sense. [done]

Disable Cortana: Use Notebook menu item and select Permissions. Turn off all switches. Then select Settings, click on “Change what Cortana knows about me in the cloud” and tap “Clear”

Disable your Microsoft account: Go to Settings → Accounts, “your info” tab, Choose sign in with a local account instead (and set up a local account).

Disable Telemetry (automated data collection and communications): On the web, there is a lot of advice on disabling telemetry in Windows 10. Here is one from TechLog360 (link below): Open Command Prompt (Administrator) and type:

sc delete DiagTrack [response: [SC]DeleteService SUCCESS]
sc delete dmwappushservice [SC] DeleteService SUCCESS]
echo “” > C:\ProgramData\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl
reg add “HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection” /v AllowTelemetry /t REG_DWORD /d 0 /f  [response: The operation completed successfully]

I actually like Windows 10’s visual effects, but to turn one or more off, Go To System → Advanced system settings → Advanced to uncheck whatever you don’t want.

http://techlog360.com/

http://superuser.com/questions/949569/can-i-completely-disable-cortana-on-windows-10

http://arstechnica.com/information-technology/2015/08/windows-10-doesnt-offer-much-privacy-by-default-heres-how-to-fix-it/

UX versus UI

2017/06/01

 

UX = User Experience, UXD = User Experience Design, UI = User Interface, and UID = User Interface Design are terms and acronyms frequently thrown around. Here are some of my thoughts about them.

First UI and UID: A user interface for a product is something for which you can write a detailed specification. E.g. Physical size of the product and its components, user input locations, visual, audio, and tactile feedback mechanisms, recording capabilities, etc. What exactly does the device do when it is powered up? What is displayed or heard or felt? Press or click on this button or icon, and the device does X and the screen looks like Y. Will the device accept voice input? What intermediate results are recorded? All these things, and no end of others, are user or human interface things. They describe how the device works as is experienced by the user. They all can be objectively tested as to whether or not they meet the specification.

User interface experts have traditionally injected subjective opinions as to how good a user interface is. Most of these experts form their opinions by using the product themselves or by discussing how easy real users find the product to be. “Easy” is an interesting word here, because it can mean easy to learn, easy to understand, easy to use, etc. For the most part, being easy is subjective. One can measure some tings such as how fast the “average user” becomes proficient in the use of a product. Of course, this begs the question of the meanings of “average user” and level of proficiency, and how many users were surveyed to compute an average. Such measurements are usually very vague on the environmental issues: For example, was the user allowed to read a printed or on-line manual (now the test is about the manual together with the device), and was the user given any verbal instruction from an experienced user (now the test is about the device and the instruction)? In general, I lump all of UI expert opinion as pure subjective opinion. Some of these opinions are better than others, of course – where “better” is usually translated into product sales. Such opinions are best lumped into User Experience.

None of this user interface stuff has much to do with how well real users like a product, whether the product meets their stated and unstated needs, how many questions users have, and what the users actually feel is easy or difficult about using the product. I lump these subjective issues into the category of User Experience issues. One can try to design for a better user experience, and such an effort is often called User Experience Design, but its actual definition is a little vague. In fact, a project manager will have difficulty allocating time and budget to user experience issues. The proponents of agile development processes actually allow for development phases where attempts are made to ask users about their experiences with early versions of a product so that UI changes can be made for the next iteration. If the developers are both good and lucky, iterations of these development phases will create a product that meets business needs (revenue, profitability, market share, etc.) Of course, the product development team has numerous members from all facets of the company: project, product, and program management, engineering, sales, marketing, finance, competitive analysis, etc. Gathering consensus and making product decisions can be challenging.

Final thoughts:

  • When the team is formed, make it clear who makes decisions, and how decisions are made.
  • Make it clear by what criteria a product is canceled. (For example, if the projected ship date slips by N months, then cancel, if the product won’t meet profitability goals then cancel, etc.)
  • Separate UI (objective measurements) from UX (subjective opinions). The purpose of UID is to meet perceived product and user goals as defined by UXD. The UID consists of a UI specification. Test this first, then subjectively evaluate whether the UI meets the UX goals.
  • Keep the UI development team small and the product as simple as possible (but no simpler.)

Windows 10 Problems and (some) Solutions

2017/05/07

On May 11, 2016 I started one of my note files on Windows 10 problems.  Over the next year, I added some solutions. This file is now an unreadable mess, and I decided in 2017 not to make it a WordPress post.  Now what do I do with it? Hopefully since then Microsoft has fixed many of these problems.  My plan is to go back and blog about each problem.  This, and new problems, should keep my busy for years to come!