The O-ESD is powered up (or down) using the toggle switch located on the grip. The O-ESD user interface consists of: toggle switch (ON/OFF), fire button, USB battery chargers (optional), LCD, down button, up button, multi-purpose knob located on the left side of the LCD.<br>
Once the O-ESD is powered-up the splash screen should appear for 1 s at the LCD. Afterwards, the main screen of the O-ESD shows up. LCD has four 20-character lines. Each line stands for one item. Items (i.e., lines) are selected by moving the selector “ > ” using up/down buttons.<br>
If an item has a numeric value selectable by the user, the numeric value can be changed by rotating the knob. Some items have multiple choices (selections) or submenus (sub-items) available and those are accessible by pressing the knob.<br>
<br>The default mode is the contact discharge. The sharp conductive tip (electrode) is used for contact discharge and should be placed in the red socket at O-ESD output. For air discharge the rounded conductive tip (electrode) is used and it should be placed in the black socket. O-ESD is intended for use with only one conductive tip (electrode) inserted at a time and with the appropriate mode of operation selected.<br>
(1) The first (top) item on LCD is the battery status. It displays the minimum of relative voltages of the two batteries. If the voltage of a battery drops below 3.5 V, the battery status displays that recharge is needed. Note that O-ESD will work even with very low battery voltage that may irreparably damage the batteries. Battery status has a submenu that presents extended information about each battery.<br>
(3) The third item is the ESD voltage level. The ESD voltage can be in the range from –12 kV to 12 kV in the case of contact discharge, or in the range from –15 kV to 15 kV in the case of air discharge. Note that the sign of the charge (polarity) is defined by the position of the cascade, i.e., it should be placed in the correct position in order that given polarity can be produced at the output.<br><br>
(4a) the total number of pulses in the case of the contact discharge or<br>
(4b) the hold time in seconds for air discharge (i.e., the time window in which the rounded tip is at the predefined voltage until the air discharge happens).<br>
Once the user has selected the mode of operation, ESD voltage level and number of pulses (or hold time), the discharge is initiated by pressing the fire button on the grip. During all the specified discharge(s) cycles, the information about discharge is displayed on LCD and the O-ESD main screen is inaccessible.<br><br>
The sign (polarity) of the output is determined by the cascade connections to the shaper and the motherboard. The opposite sign is achieved by rotating the cascade for 180 degrees, i.e., the sign of the output is the one printed on the cascade end connected to the shaper. Before disconnecting and rotating the cascade, wait for 10 seconds after the last discharge so that the cascade discharges fully.<br>
The grip is a separate PCB connected to the motherboard with 4-wire cable. The main purposes of the grip are: to house batteries, to provide physical grip of O-ESD and to house toggle switch and fire button.<br>
The cascade is a separate PCB connected to the motherboard and the cascade with two 2-wire cables with XT60 connectors at each end. The main purpose of the cascade is to provide high-voltage DC for the shaper.<br>
In order to prevent losses from the corona effect, assembled cascade can be coated with corona-protective insulating material (e.g. Plastik70 from Kontakt Chemie or similar).<br>
The shaper is a separate PCB connected to the mother board (with 4-wire cable) and the cascade (with 2-wire cable with XT60 connector). The main purpose of the shaper is to generate pulse according to IEC/EN 61000‑4‑2.<br>
In order to prevent losses from the corona effect, all conductive surfaces on the top layer of the assembled cascade (except the flat-cable connector) can be coated with corona-protective insulating material (e.g. Plastik70 from Kontakt Chemie or similar).<br>
### Claws and strap
The strap is 2 m 34-wire flat cable connected to the cascade with 34-bin boxer connector. The other end of the strap is connected via 34-pin boxer connector to PCB with claws for GND contact. The main purpose of the claws is to provide easy way of connecting the ground of O-ESD, while the strap connects the O-ESD and the claws.<br>
Motherboard is a separate PCB connected to the grip (with 4-wire cable), to the cascade (with 2-wire cable with XT60 connector) and to the shaper (with 4-wire cable). The main purpose of the motherboard is to orchestrate the functioning of O-ESD and to provide the user interface. <br>
All components of the motherboard except step-up transformer are available on the market. The step-up transformer must be assembled per specifications.<br>
(a) to accumulate energy while the switching transistor is in the on state and release that energy to the high-voltage cascade when the switching transistor goes to the off state<br>
(b) to provide step-up voltage transformation from the low-voltage input to the high-voltage cascade and<br>
(c) to provide galvanic insulation between the low-voltage input and the high-voltage cascade.<br>
Winding can be performed using a winding machine or produced manually, with care. The number of turns per layer of the secondary winding can be counted or can be estimated from the inside length of the coil former and the wire AWG.<br>
<br>Regardless of the winding method, the beginning of the high voltage coil, which comes closest to the ferrite core, shall be inserted in heat shrink tubing and the tubing shall be heated to its final dimensions. The tubing is used to improve the insulation between the wire at the beginning of the coil and other wire layers.<br>
<br>Once a winding layer is completed, it shall be fully covered by layers of insulation paper. The total thickness of the insulating layer must be at least 0.2 mm. The first role of this insulation is to reduce the parasitic capacitances between adjacent wire layers. The second role is to increase the breakdown voltage between adjacent wire layers.<br>
<br>The completed secondary winding shall be covered by layers of insulation paper either fully or only in the area where the primary winding is going to be placed. The main role of this insulation is to increase the breakdown voltage between the two windings.<br>
<br>Once both windings are completed, the insulation from all wire ends shall be removed. Solder the terminals of the primary and secondary windings according to raster view. The beginning of the secondary winding (which is covered by the heat shrink tubing) shall be soldered to the pin denoted by the red circle in raster view.<br>
<br>Insert the two halves of the ferrite core into the coil former shown in assembly of the step-up transformer. The cross sections of the core in the areas denoted by green ellipses should have gaps of 0.25 mm to 0.3 mm. Cut three pieces of the standard printing paper (80 GSM) paper per gap, and stack pieces to form the gap. It is not necessary to place the paper in the central column of the core.<br>
Secure the transformer by two clips. One clip is shown in Sketch of a clip. The location of the clips can be seen in assembled step-up transformer.<br>
## Use-case scenarios for testing and demonstration
Five use-case scenarios for electrostatic-discharge testing and demonstration of ESD effects are [presented](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/Demos#).<br>
Assembly instructions and explanations, including videos, can be found on [O-ESD GIT](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/Demos/Readme_demos.pdf).<br>
The goals of the Open-hardware for ElectroStatic Discharge testing (O-ESD) are to design, produce and verify an open-hardware and accompanying open-software for a device for electrostatic discharge testing. Electrostatic discharge is a phenomenon that occurs daily between humans and electronics and can irreversibly damage the electronics. All consumer electronics sold in EU, including all internet hardware, must satisfy Electromagnetic Compatibility (EMC) Directive. One of the most hardest tests within EMC directive deals with electrostatic discharge as defined by IEC/EN 61000-4-2 standard. Standardized tests are typically done with special equipment in accredited EMC laboratories and are costly. The O-ESD tester will minimize the costs of pre-compliance testing and make it publicly available.<br>
<br>This part contains development milestones with accompanying documents.
The technical requirements for O-ESD hardware are summarized along with a review of multiple ESD guns available on the market. Technical specifications of hardware on the market are compared to the specifications from IEC61000-4-2 standard.<br>
[Schematics and possible realizations of high-voltage generator for O-ESD](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/raw/branch/main/Documents/O-ESD-02.pdf)
The cost-benefit analysis of considered solutions is done by taking into account the availability of electronic components on website of online distributors of electronic components. The understood trade-offs for considered solutions are given.<br>
[Trade-offs and cost-benefit analysis of considered solutions](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/raw/branch/main/Documents/O-ESD-03.pdf)
All considered solutions are prototyped. Since some candidate solutions share some components or parts, PCBs/prototypes are made for functional parts that can be mixed and matched between O-ESD solutions. For all considered parts that have PCB, Gerber and drill files (needed for the production) are given. The photos of prototypes, functional parts and considered components are provided, too.<br>
Three prototypes are assembled (v0.1). [Prototype photos](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/Hardware_development/Prototypes).<br>
Microcontrollers are tested on ESD. [Report, photos and codes for ESD testing of microcontrollers](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/Hardware_development/3-Controllers/ESD_testing).<br>
Software for microcontrollers for the user interface is written. [Software for user-interface](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/Software_development).<br>
Based on testing results: new double cascade is designed in KiCAD, PCB for flyback and push-pull is designed in KiCAD, new trafos are designed and assembled and DC/DC converters and battery chargers in the power supply are considered.<br>
Assessments of technical performances of O-ESD prototypes v0.1 are done and results can be found in [Assessment results v0.1](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/Hardware_development/Measurements/v01).<br>
In accordance with measurement results the shapers are redesigned. [Redesigned shapers](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/Hardware_development/5-Shapers)<br>
[Design decisions](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/Hardware_development/Measurements/v01/Design_decisions.txt) are made for the O-ESD.<br>
Bill of materials (BOM) for O-ESD v0.5 can be found at [BOM v0.5](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/v0.5/Bill_of_materials.txt)<br>
Drawings, schematics, production files and photos of assembled parts can be found at [1-Hardware](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/v0.5/1-hardware) in separate subfolders.<br>
[A sketch of O-ESD v0.5](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/v0.5/O-ESD_v0.5_drawing.jpg) and a photo of [O-ESD v0.5 assembled prototype](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/v0.5/O-ESD_v0.5_assembled.jpg) are presented.<br>
Finally, the [measurements](https://o-esd.etf.bg.ac.rs/forgejo/dragan.olcan/O-ESD/src/branch/main/v0.5/3-measurements) confirm that O-ESD v0.5 can produce standardized ESD current pulses for all contact discharge levels (2 kV, 4 kV, 6 kV and 8 kV, both positive and negative pulse voltage), as well as air discharge up to 15 kV (both positive and negative).<br>