Shielded CCTV system with FO comunications for EMC tests
Abstract
This thesis consists on the research, the assembly and the validation, both functional and from the EMC point of view, of a monitoring system with real time video and audio communication with a PC, being the main features of such system, fiber optic communication, independence from the mains and good EMC performance.
Full text
0 Shielded CCTV system with FO comunications for EMC tests A Master's Thesis Submitted to the Faculty of the Escola Tècnica d'Enginyeria de Telecomunicació de Barcelona Universitat Politècnica de Catalunya by Pol Castañé Guzman In partial fulfilment of the requirements for the degree of MASTER IN ELECTRONIC ENGINEERING Advisor: Marc Aragón Homar Barcelona, September 2019
0
1 Title of the thesis: Shielded CCTV system with FO comunications for EMC tests Author: Pol Castañé Guzman Advisor: Marc Aragón Homar Abstract All electric and electronic devices are required to do electromagnetic compatibility (EMC) tests to be sold anywhere in the world. During EMC tests it is required to monitor the equipment under test. An equipment may be monitored in several ways, but one of them is with video and audio monitoring. The main goal for this thesis is to obtain a functional and low cost usable video and audio monitoring system to be used during radiated immunity EMC tests. This thesis consists on the research, the assembly and the validation, both functional and from the EMC point of view, of a monitoring system with real time video and audio communication with a PC, being the main features of such system, fiber optic communication, independence from the mains and good EMC performance. Different systems will be assembled and validated in order to choose the best option available. Once the system has been chosen a further validation in more demanding conditions will be performed and upgrades will be proposed to improve the system performance in EMC environment.
2 Acknowledgements I would first like to thank my thesis advisor Marc Aragón for all his effort, support and guidance throughout this thesis. I would also like to thank the Electromagnetic Compatibility Group (GCEM) from the Department of Electronic Engineering at the Universitat Politècnica de Catalunya (UPC) because without his support this thesis would not have been possible. Finally my sincere gratitude to my family, especially my mother, for their help and assistance in the completion of this thesis.
3 Revision history and approval record Revision Date Purpose V1.0 27/05/2019 Document creation V2.0 16/09/2019 Thesis send for revision to Project Supervisor V2.1 17/09/2019 Following sections updated: Section 6. Systems under test Section 7. Results, subsections below: Section 7.1 Section 7.3 Section 7.2.1 V2.2 18/09/2019 Following sections updated: Section 7. Results, subsection below: Section 7.2.2 V2.3 27/09/2019 Following sections updated: Abstract Section 1. Introduction Section 2. State of the art in EMC Section 3. Project approach and proposed options V2.4 29/09/2019 Following section updated: Section 8. Budget V2.5 02/10/2019 Following sections updated: Section 7. Results Section 9. Conclusions and future development V2.6 09/10/2019 Partial document revision with Project Supervisor and updated accordingly
4 V2.7 14/10/2019 Following sections updated: Section 4. Initial approach to the project - USB protocol Section 5. Final approach to the project – Ethernet protocol Section 7. Results Section 8. Budget Section 9. Conclusions and future development Bibliography V2.8 15/10/2019 Minor update V3.0 16/10/2019 Final revision and document upload Written by: Reviewed and approved by: Date 16/10/2019 Date 16/10/2019 Name Pol Castañé Guzman Name Marc Aragón Homar Position Project Author Position Project Supervisor
5 Table of contents Abstract ............................................................................................................................ 1 Acknowledgements .......................................................................................................... 2 Revision history and approval record ................................................................................ 3 Table of contents .............................................................................................................. 5 List of Figures ................................................................................................................... 9 List of Tables .................................................................................................................. 12 1. Introduction .............................................................................................................. 14 1.1. Statement of purpose ....................................................................................... 14 1.2. System requirements ........................................................................................ 14 1.3. Methodology ..................................................................................................... 15 1.4. Work plan with tasks ......................................................................................... 15 1.5. Deviations from the initial plan .......................................................................... 18 2. State of the art in EMC ............................................................................................ 21 2.1. Brief introduction to EMC concepts ................................................................... 21 2.1.1. Electromagnetic Interferences ................................................................... 22 2.1.2. EMC test site ............................................................................................. 22 2.2. EMC radiated tests ........................................................................................... 22 2.2.1. Radiated immunity tests ............................................................................ 23 2.2.1.1. System validation scope for radiated immunity tests ............................... 24 2.2.2. Radiated emissions tests ........................................................................... 24 2.3. Video and audio monitoring equipment for radiated immunity tests .................. 25 2.3.1. Current GCEM laboratory equipment for video monitoring ......................... 25 2.3.2. Alternatives to current equipment .............................................................. 26 2.3.2.1. Specialized EMC equipment ................................................................... 26 2.3.2.2. Modular EMC system .............................................................................. 26 3. Project approach and proposed options .................................................................. 28 3.1. Approach decision ............................................................................................ 28 3.2. Modular design options .................................................................................... 28 3.2.1. Camera system ......................................................................................... 28 3.2.1.1. CCD sensor and camera design .............................................................. 29 3.2.1.2. Camera module ....................................................................................... 29 3.2.1.3. Webcam .................................................................................................. 29 3.2.1.4. IP camera ................................................................................................ 30
6 3.2.2. Optical communication .............................................................................. 30 3.2.2.1. Analogue video converter ........................................................................ 30 3.2.2.2. USB converter ......................................................................................... 30 3.2.2.3. Ethernet converter ................................................................................... 31 3.2.3. Power supply ............................................................................................. 31 3.2.3.1. Battery ..................................................................................................... 31 3.2.3.2. Battery and power from mains ................................................................. 32 3.2.3.3. Power through optic communication ........................................................ 32 3.3. Modular approach conclusions ......................................................................... 33 4. Initial approach to the project - USB protocol ........................................................... 34 4.1. Initial System proposal ..................................................................................... 34 4.2. Device selection for USB approach .................................................................. 34 4.2.1. USB camera .............................................................................................. 34 4.2.2. Optical conversion ..................................................................................... 35 4.2.3. Power supply ............................................................................................. 35 4.3. Feasibility study ................................................................................................ 35 4.3.1. Project description and goal ...................................................................... 35 4.3.2. Benefits and drawbacks ............................................................................ 36 4.3.3. Timeline ..................................................................................................... 36 4.3.4. Alternatives ............................................................................................... 36 4.3.5. Conclusion ................................................................................................ 36 5. Final approach to the project – Ethernet protocol ..................................................... 38 5.1. System proposal ............................................................................................... 38 5.2. Devices selection for Ethernet approach .......................................................... 38 5.2.1. IP Cameras ............................................................................................... 38 5.2.1.1. D-Link DCS-932L .................................................................................... 38 5.2.1.2. Sricam SP020 ......................................................................................... 39 5.2.1.3. Raspberry Pi 3B & Pi Camera Module V2 ............................................... 40 5.2.1.4. Raspberry Pi Zero W & Pi Noir Camera V2 ............................................. 41 5.2.2. Optical fibber converter ............................................................................. 43 5.2.3. Power supply ............................................................................................. 44 5.2.3.1. Ethernet power balance........................................................................... 45 5.3. Feasibility study ................................................................................................ 46 5.3.1. Project description and goal ...................................................................... 46
7 5.3.2. Benefits and drawbacks ............................................................................ 46 5.3.3. Timeline ..................................................................................................... 47 5.3.4. Conclusion ................................................................................................ 47 6. Systems under test .................................................................................................. 48 6.1. System 1: DCS-932L ........................................................................................ 48 6.2. System 2: SP020 .............................................................................................. 49 6.3. System 3: Pi3B ................................................................................................. 51 6.4. System 4: PiZero .............................................................................................. 52 7. Results .................................................................................................................... 54 7.1. Initial Functional tests ....................................................................................... 54 7.2. Radiated immunity tests results ........................................................................ 55 7.2.1. Radiated immunity for domestic, industrial and railway environment ......... 56 7.2.1.1. System placement in the uniform electric field plane ............................... 56 7.2.1.2. System placement in locations A, B and C .............................................. 65 7.2.1.3. Conclusions on radiated immunity for domestic, industrial and railway environment ......................................................................................................... 71 7.2.2. Radiated immunity for automotive environment ......................................... 72 7.2.2.1. Test according to UNECE REGULATIONS nº10 from 80 MHz to 1 GHz . 72 7.2.2.2. Test according to UNECE REGULATIONS nº10 from 1 GHz to 3 GHz ... 75 7.2.2.3. Tests at higher electric field levels ........................................................... 77 7.2.2.4. Conclusions on radiated immunity for automotive environment ............... 81 7.3. Emission tests results ....................................................................................... 82 7.3.1. Emissions from 30MHz to 1GHz ................................................................ 83 7.3.1.1. Ambient noise measurement ................................................................... 83 7.3.1.2. DCS-932L ............................................................................................... 85 7.3.1.3. SP020 ..................................................................................................... 87 7.3.1.4. Pi3B ........................................................................................................ 89 7.3.1.5. PiZero ..................................................................................................... 90 7.3.1.6. Conclusions on radiated immunity tests results from 30 MHz to 1 GHz ... 92 7.3.2. Emissions from 1GHz to 3GHz .................................................................. 92 7.3.2.1. Ambient noise measurement (HF) ........................................................... 92 7.3.2.2. DCS-932L ............................................................................................... 93 7.3.2.3. Conclusion on radiated immunity tests results from 1 GHz to 3 GHz ....... 95 7.4. Final specifications and discussion of the results .............................................. 95 7.5. Improvements applied and future upgrades ...................................................... 96
14 1. Introduction The objective of this thesis is to develop a system for the Electromagnetic Compatibility Group (GCEM) from the Department of Electronic Engineering at the Universitat Politècnica de Catalunya (UPC) capable of monitoring the interior of the anechoic chamber found in the GCEM laboratory during radiated immunity tests. 1.1. Statement of purpose All electrical and electronic equipment influence each other when interconnected or placed together, being so, anywhere in the world some sort of EMC tests are required. Part of those tests are called radiated immunity tests, where the susceptibility against radiated electromagnetic interferences of the equipment under test (EUT) is validated. Monitoring is needed to validate the correct performance of the equipment in this kind of tests, there are several ways to monitor an equipment, and one of them is with video and audio surveillance, which is very useful when the equipment may exhibit different observable behaviour, such as non-intended mechanical movement, display issues, audible noises or other non-desired behaviour. A system capable to provide such function and capable to withstand the harsh conditions required during radiated immunity tests is the main objective of this thesis. The system provided to GCEM group will be validated in his laboratory alongside the current equipment available. Radiated immunity tests with different setups and parameters will be performed to the system to evaluate and determine their level of robustness for EMC testing. 1.2. System requirements GCEM group proposes a system with the following requirements to be used during radiated immunity tests: Video and audio capture to monitor the inside of the anechoic chamber. Optical fiber connection for sending the multimedia signal to a PC located outside the chamber. Detachable from the mains with a minimum autonomy of 4 hours. Immunity against electric field at maximum levels capabilities of GCEM lab (up to 100 V/m). Low cost and multipurpose system. Optional features which would be considered as positive additions to the system are: Shielded system to grant larger immunity against radiated electromagnetic interferences. Usable during radiated emissions tests. Zoom and focus settings adjustable from the PC. Small size.
15 1.3. Methodology Based on the System requirements, the following project development methods have been used during the different steps of the project Analysis of the current monitoring system of the GCEM laboratory and possible alternatives. Study of the system approach to assess the best suitable approach to the system taking into account project objectives and limitations such as time, complexity or cost. Design and integration of the system proposed. Functional validation to grant the fulfilment of all the system requirements not related with EC performance. EMC validation with different immunity and emission tests to evaluate the initial specifications of the system Improvements and upgrades to improve the specifications of the system 1.4. Work plan with tasks In this section a detailed work plan with tasks, duration and dates is proposed. Table 1 contains the initial schedule proposed for the project which was supposed to finish on the ordinary deadline for the Master Thesis. In the Figure 1 can also be seen the Gantt diagram according the work plan detailed in Table 1. Table 1. Initial work plan ID Task Name Duration Start Finish Predecessors 1 TFM 114 days Mon 11/02/19 Fri 19/07/19 2 Project Matriculation 0 days Mon 11/02/19 Mon 11/02/19 3 Project definition 5 days Mon 11/02/19 Fri 15/02/19 2 4 Market research 10 days Mon 18/02/19 Fri 01/03/19 3 5 Possible approaches 15 days Mon 04/03/19 Fri 22/03/19 4 6 Approach decision 0 days Fri 22/03/19 Fri 22/03/19 5 7 System design investigation 10 days Mon 25/03/19 Fri 05/04/19 6 8 Device and component selection 5 days Mon 08/04/19 Fri 12/04/19 7 9 Buy all the hardware 1 day Mon 15/04/19 Mon 15/04/19 8 10 All the hardware obtained 0 days Mon 15/04/19 Mon 15/04/19 9 11 First approach and testing 10 days Tue 16/04/19 Mon 29/04/19 10 12 System integration 4 days Tue 30/04/19 Fri 03/05/19 11 13 System validation 5 days Mon 06/05/19 Fri 10/05/19 12 14 System validated and functional at ambient conditions 0 days Fri 10/05/19 Fri 10/05/19 13,12 15 EMC testing 17 days Mon 13/05/19 Tue 04/06/19
16 16 EMC domestic, industrial and railway setup 5 days Mon 13/05/19 Fri 17/05/19 14 17 EMC automotive setup 2 days Mon 20/05/19 Tue 21/05/19 16 18 Specification worst case scenario obtained 0 days Tue 21/05/19 Tue 21/05/19 16,17 19 Improvements and upgrades 10 days Wed 22/05/19 Tue 04/06/19 18 20 Conclusions 10 days Wed 05/06/19 Tue 18/06/19 15,19 21 Evaluation board 0 days Fri 21/06/19 Fri 21/06/19 22 Documentation 109 days Mon 18/02/19 Thu 18/07/19 3 23 Upload thesis 0 days Fri 19/07/19 Fri 19/07/19 22,20 24 End of the project 0 days Fri 19/07/19 Fri 19/07/19 23
17 Figure 1. Gantt diagram for the initial schedule
18 1.5. Deviations from the initial plan In this section the deviations occurred during the project are defined, and the real Work Plan and Gantt Diagram for the project are presented. The main deviation from the initial plan was a change in the approach to the project, this topic is covered in further detail in sections 4 and 5. This caused a delay in several tasks and lead to the extension on the deadline of the thesis. The real work plan and Gantt diagrams for the project can be seen below. Table 2. Real Work plan ID Task Name Duration Start Finish Predecessors 1 TFM 177 days Mon 11/02/19 Wed 16/10/19 2 Project Matriculation 0 days Mon 11/02/19 Mon 11/02/19 3 Project definition 5 days Mon 11/02/19 Fri 15/02/19 2 4 Market research 10 days Mon 18/02/19 Fri 01/03/19 3 5 Possible approaches 15 days Mon 04/03/19 Fri 22/03/19 4 6 Approach decision - USB approach 0 days Fri 22/03/19 Fri 22/03/19 5 7 System design investigation 8 days Mon 25/03/19 Wed 03/04/19 6 8 Device and component selection 5 days Thu 04/04/19 Wed 10/04/19 7 9 Partially buy the hardware 1 day Thu 11/04/19 Thu 11/04/19 8 10 Hardware obtained 0 days Thu 11/04/19 Thu 11/04/19 9 11 First approach and USB protocol testing 8 days Fri 12/04/19 Tue 23/04/19 10 12 USB protocol investigation. FO conversion 8 days Wed 24/04/19 Fri 03/05/19 11 13 Feasibility analysis. USB protocol issues 8 days Mon 06/05/19 Wed 15/05/19 12 14 Change approach decision 0 days Wed 15/05/19 Wed 15/05/19 13 15 Market research 5 days Thu 16/05/19 Wed 22/05/19 14 16 Possible approaches 5 days Thu 23/05/19 Wed 29/05/19 15 17 Approach decision - Ethernet approach 0 days Wed 29/05/19 Wed 29/05/19 16,14,15 18 System design investigation 8 days Thu 30/05/19 Mon 10/06/19 17 19 Device and component selection 5 days Tue 11/06/19 Mon 17/06/19 18 20 Buy all the hardware 2 days Tue 18/06/19 Wed 19/06/19 19 21 All the hardware obtained 0 days Wed 19/06/19 Wed 19/06/19 20 22 First approach and testing 5 days Thu 20/06/19 Wed 26/06/19 21
19 23 System integration 5 days Thu 27/06/19 Wed 03/07/19 22 24 System validation 5 days Thu 04/07/19 Wed 10/07/19 23 25 System validated and functional at ambient conditions 0 days Wed 10/07/19 Wed 10/07/19 23,24 26 EMC testing 12 days Thu 11/07/19 Fri 26/07/19 27 EMC domestic, industrial and railway setup 5 days Thu 11/07/19 Wed 17/07/19 25 28 EMC automotive setup 2 days Thu 18/07/19 Fri 19/07/19 27 29 Specification worst case scenario obtained 0 days Fri 19/07/19 Fri 19/07/19 27,28 30 Improvements and upgrades 5 days Mon 22/07/19 Fri 26/07/19 29 31 Conclusions 10 days Fri 06/09/19 Thu 19/09/19 26,30 32 Evaluation board 0 days Thu 19/09/19 Thu 19/09/19 33 Documentation 172 days Mon 18/02/19 Tue 15/10/19 3 34 Upload thesis 0 days Wed 16/10/19 Wed 16/10/19 33,31 35 End of the project 0 days Wed 16/10/19 Wed 16/10/19 34
20 Figure 2. Real Gantt diagram
21 2. State of the art in EMC All electric devices or installations influence each other when interconnected or are close to each other. The purpose of the electromagnetic compatibility (EMC) is the study of the unintentional generation, propagation and reception of electromagnetic interferences and to keep all this effects under reasonable limits. Compliance with EMC legislation is required by national laws and demanded by industries and costumers. For instance, the CE marking is mandatory on many products of the European Economic Area (EEA). This mark implies that the products holding it have been assessed to meet high safety, health and environmental protection requirements. The CE marking is the manufacturer's declaration that the product meets the requirements of the applicable European Directives. The CE mark logo can be seen in the Figure 3. Figure 3. CE mark logo [1] For the EMC field, this means that electronic and electrical equipment have a Declaration of Conformity (DoC) where there is a presumption of compliance with the EMC standards. For radiated immunity tests, this means that the equipment can withstand a level of 3 V/m for a domestic environment and 10 V/m for industrial one. The EMC Directive 2014/30/EU is a European Directive which ensures that electrical and electronic equipment does not generate, or is not affected by, electromagnetic disturbance. The EMC Directive limits electromagnetic emissions from equipment in order to ensure that, when used as intended, such equipment does not disturb radio and telecommunication, as well as other equipment. The directive also specifies the immunity required of such equipment to electromagnetic interferences and seeks to ensure that this equipment is not disturbed by radio emissions. This is summarized in the essential requirements referred to Article 5 of the EMC Directive: “Equipment shall be so designed and manufactured, having regard to the state of the art, as to ensure that: a) The electromagnetic disturbance generated does not exceed the level above which radio and telecommunications equipment or other equipment cannot operate as intended; b) It has a level of immunity to the electromagnetic disturbance to be expected in its intended use which allows it to operate without unacceptable degradation of its intended use.” 2.1. Brief introduction to EMC concepts In this section are summarized some of the main EMC concepts for a better understanding of the project.
22 2.1.1. Electromagnetic Interferences Electromagnetic Interferences (EMI) are disturbances that may degrade the performance of electrical components or circuits. Can be divided into two different kinds, radiated interferences and conducted interferences. Radiated electromagnetic interferences are propagated through the air, on the other hand conducted electromagnetic interferences are propagated through cables. 2.1.2. EMC test site In EMC disturbances generation tests, radiated and conducted emissions of the EUT are measured to verify that products cannot produce harmful EMI that may interfere and degrade the performance of other electric or electronic systems. On the other hand, in EMC immunity tests, radiated and conducted EMI are applied to the EUT in a wide range of frequencies to see if there is a degradation in the performance of the equipment. EMC tests are performed in a wide variety of rooms, such as faraday, reverberant… but for radiated tests, rooms called anechoic or semi-anechoic chambers are used. An anechoic chamber is designed to block electromagnetic interferences coming from outside the chamber, and completely absorb any kind of reflections produced inside. This rooms are completely surrounded by electromagnetic absorbing material which transform electromagnetic energy in to heat, absorbing and reducing reflections. The objective is to provide a controlled environment to perform EMC tests. Figure 4. Anechoic chamber in GCEM group 2.2. EMC radiated tests After the introduction done in section 2.1, can be seen that there is a wide range of EMC tests, but for the purpose of the validation of the system developed on this thesis, the tests will be focused on radiated immunity, being radiated emissions left as optional. This information is summarized in the Table 3 below.
23 Table 3. EMC tests proposed for the system validation Immunity Emissions Radiated Project Goal Optional The criteria is explained in the sections below. 2.2.1. Radiated immunity tests In EMC radiated immunity testing electric field is radiated at a wide range of frequencies to test the performance and the degradation of the EUT. To generate the requested electric field levels in the standards the main elements of the setup are a signal generator, a Radio Frequency (RF) amplifier and an antenna. For some environments as domestic, residential, industrial or railway is required to create a uniform electric field pane where the EUT will be placed. This can be seen in the Figure 5, where a 16 point uniform field is created previously to testing according to standard EN 61000-4-3. Figure 5. Immunity test setup [1] For Automotive electronic components setups the electric field is only defined at one point and levels have much greater values. Furthermore, the setups requires a ground plane and other reflective floor surfaces located in the test area. During radiated immunity tests, important levels of electric field is being radiated inside the anechoic chamber, the EUT requires to be monitored to be able to evaluate if a degeneration in the performance of the equipment has occurred during the test. This
30 Easy to replace as is based in USB protocol Drawbacks: Lack of USB over fiber optics converters 3.2.1.4. IP camera An IP surveillance camera offers video and audio monitoring with Ethernet protocol connection, which is very common in fiber optics communication. Benefits: No need of video and audio hardware No time inverted in the design part Ethernet protocol easy to send over fiber optics Small/medium size Easy to replace as is based in Ethernet protocol Drawbacks: Power usually at 12 V Limited options for Video and audio with Ethernet port 3.2.2. Optical communication The communication from the camera to the PC needs to be done in optical fiber as is a requirement for the system, the optical fiber improves the system immunity against EMI. This module must be capable of converting whichever signal is coming from the camera module and be able to send it through optical fiber communication to a PC. The protocol used for the camera system greatly affects the optical conversion system. 3.2.2.1. Analogue video converter For the case that an analogic camera is used for the camera module it would require an analogue converter to optical fiber. Benefits: Could be hand designed Literature available Drawbacks: Separate video and audio signals management Expensive commercial converters Analogic signals have worse performance in EMC 3.2.2.2. USB converter If USB protocol communication for the camera module, a USB to optical fiber converter would be required for the transmission of the signal from the system to the PC.
31 Benefits: Many options to work with in the camera section Could be hand designed (feasibility analysis) Video and audio signals mixed together Power at USB levels Usable beyond the sole purpose of the system (other EUT with Ethernet connection) Drawbacks: Difficult to find commercially available Expensive Lack of standard for USB over fiber optics 3.2.2.3. Ethernet converter If an IP camera with Ethernet protocol communication is used, an Ethernet to optical fiber converter would be required for the transmission of the signal from the system to the PC. Benefits: Commercially available due to Ethernet over fiber is wide spread Medium price Video and audio signals mixed together Usable beyond the sole purpose of the system (other EUT with Ethernet connection) Drawbacks: Difficult to hand design Hard to find powered at 5 V 3.2.3. Power supply The power supply module must provide energy to the system, namely the camera and the optical conversion modules. With the requirement proposed that the system must be detachable from the mains, three different implementations for this module are possible. 3.2.3.1. Battery The system is only powered with a battery without possibility for mains connection when operating, this solution has a lot of dependence on the battery life time. In the Figure 8 below can be seen a simple diagram of the system setup. Figure 8. System powered with battery
32 Benefits: Possibility to have an integrated battery and camera module Batteries with big capacity in small package Wide commercial availability Problems: Maximum life time of the battery will limit the test Charge the battery after the test (time expensive) 3.2.3.2. Battery and power from mains The system is powered with a battery but can also be connected to the mains when operating if needed. In the Figure 9 below can be seen a simple diagram of the system setup. Figure 9. System powered from the mains and battery This solution would require the use of filters for the mains connection, and circuitry to allow to charge the battery when operating, although most modern batteries have this feature integrated. Benefits: No mains connection, when need it Batteries with big capacity in small package Not a strict dependence on the life time of the battery Wide commercial availability Drawbacks Filtering and protection of the mains power if needed 3.2.3.3. Power through optic communication This technology is called Power over Fiber (PoF), in this option optical power is transmitted through the optical fiber cables. Power and data are transmitted through the optical fiber communications, this solution provides much better immunity with zero dependence from battery life time. In the Figure 10 below can be seen a simple diagram of the system setup.
33 Figure 10. System powered from optical fibber Benefits: Maximum immunity against EMI Power and data only in fiber cables Drawbacks: Very new technology, few documentation and commercial solutions available Camera and communications system will draw a significant amount of power, difficult to provide through optical fiber 3.3. Modular approach conclusions Taking into account the different options proposed for the modular system, the benefits and drawbacks of each options are balanced, and it is decided to approach the project by analysing two options The first option will be a USB camera with a USB converter to optical fiber, all powered with a battery capable to charge when operating. The main reason is that USB cameras have very good specifications and lots of functionalities (zoom, focus…) and the output signal contains video and audio already mixed and synchronized. In addition USB devices are very widespread and the prices are very competitive, also there is room for handmade design. Another reason is that all the system could be powered with USB power levels, which would reduce the size of the system considerably. This kind of system would fulfill all the requirements regarding functionality of the ones proposed for the GCEM group, being the radiated immunity the only one left to validate with EMC tests. The second option will be an IP camera with Ethernet connection and an Ethernet converter to optical fiber, all powered with a battery capable to charge when operating. The main reason is that Ethernet protocol conversion over optical fiber is very widespread. IP cameras with all the requirements proposed are not so common as USB ones, but also provide video and audio already mixed and synchronized which is the most important, plus can also be powered at 5 V as for the USB case, so the power supply module can be the same for both options. This kind of system would also fulfill the mandatory requirements regarding functionality of the ones proposed for the GCEM group, being the radiated immunity the only one left to validate with EMC tests. In the next sections both options are further analysed and investigated to decide which one will be the best option for the system, taking into account the project limitations, which are mainly time and cost.
34 4. Initial approach to the project - USB protocol In this section is discussed the first approach to the project based on a USB camera and sending the signal over FO. 4.1. Initial System proposal After the initial research and taking into account the available options it was decided to approach the project in the following way: USB camera Design an Optical fiber converter for USB protocol Power bank for supply only with battery The features of this system were that USB cameras have very good specifications with video, audio, zoom and focus features (depending on the model), with the benefits of small size and low cost products. In addition, the USB protocol is powered at 5 V which was perfect to use in conjunction with a power bank, which provides a high capacity battery also in small size and low cost, although the biggest benefit would be that the camera and the power supply modules are easily interchangeable as the USB protocol is very wide spread. The design part would consist on the fully design of the USB to the optical fiber converter, so an understanding of how the USB protocol works and which speeds uses is needed. 4.2. Device selection for USB approach Taking into account the system proposal defined in section 4.1, the device selection for each module can be found below. It is important when researching electronic equipment to be used for EMC tests, to search the documentation of the product to see which directives and standards is compliant with, as allows an initial approximation of which levels of EMC performance will provide. 4.2.1. USB camera For the USB camera a Logitech would be a good solution. There is a wide options of webcams available from Logitech, which would be useful in case of replacing or upgrading a camera. For this project a good option would be the model “Logitech HD Pro C920”, as it has the following features: Good price/quality ratio Small size USB powered Full HD video recording Auto Focus Stereo microphone Automatic low-light correction USB 2.0 H.264 video compression Logitech webcam software DoC with EMC legislation
35 Figure 11. Logitech HD Pro C920 [6] The main advantage of using USB cameras is that can be replaced very easily. The CE compliance for the Logitech HD Pro C920 can be proved by means of the DoC [7]. Having this information is helpful because allows to know which tests EMC tests have been conducted to the product. 4.2.2. Optical conversion For the conversion to optical fiber communication, according to section 4.1 it is decided to do a tailor made design capable of sending the USB protocol over optical fiber. See Appendix VI further details on this topic. 4.2.3. Power supply Being the USB protocol the main pillar of this approach the best option to follow with the small size and low cost idea is to supply the system with only a battery, being a power bank the best solution possible because is already designed with USB interface in mind, and has its own smart charge hardware handling the different modes of the battery. In order to select the specific model, the consumption and the wanted autonomy of the system has to be known. As the consumption for the optical conversion module was not clear yet, the final model for the power supply was left unchosen until the optical conversion module was finished. 4.3. Feasibility study After the research and initial testing with the USB protocol and hardware, although the USB approach provided several benefits, there were also some drawbacks. A feasibility study has to be conducted to validate the approach to the project. 4.3.1. Project description and goal As defined in section 1 the project consists in a functional CCTV system, with video and audio real time transmission to a PC through fiber optical communications. The system is intended to be used during EMC tests of other equipment, so it has to be tested itself in EMC conditions. Once the system is functional and has been tested in EMC conditions, it can be further improved.
36 The project is first based on the USB protocol, being both the camera and the power supply modules USB based devices. The optical fiber conversion is planned to be handmade designed 4.3.2. Benefits and drawbacks The benefits for this system approach are: System powered at USB levels Good performance equipment Easily interchangeable Low cost products Digital signal On the other hand, the drawbacks are: USB to optical conversion complex Time expensive (design part) Possibility of not validating the system in EMC conditions due to the delay and time constrains of the project 4.3.3. Timeline Due to the complexity of converting the USB signals to optical fiber, the time needed for the design and the design validation of the converter would have interfered with the scheduled proposed in the section 1.4, mainly with the full system validation in EMC conditions. The approach for the project has to permit the validation of the system in EMC conditions and evaluate the system performance. 4.3.4. Alternatives As an alternative on the design of the USB to optical fiber conversion, there are mainly two proposals: Commercial USB to optical fiber converter Change the approach to the project and use Ethernet protocol for the camera system 4.3.5. Conclusion Due to the deviations that would have occurred in the work plan proposed, mainly in the timing of the tasks, caused by the complex design of a USB optical fiber converter, it is decided to change the approach of the project. The first option would be the search for a commercial USB optical fiber converter, yet this technology is not wide spread commercially, and can’t not be found easily. Specialized vendors sell this kind of convertors but there are mainly two inconveniences, high prices and potential issues with some USB devices. The second proposal is to change the approach for the project and use Ethernet based devices. The benefit of this approach is that Ethernet conversion to fiber optics is much more wide spread because has a lot of uses outside the EMC field, but it has also some drawbacks.
37 After pondering on both alternatives is decided to change the approach to Ethernet protocol, due to the fact that will allow a functional prototype to be validated. Further information on this can be found in section 5
38 5. Final approach to the project – Ethernet protocol In this section is discussed the second approach to the project after the feasibility analysis conducted in section 4.3. The system will be based on a camera that will use the Ethernet protocol to send the signal over optical fiber to the PC. 5.1. System proposal After the USB approach research and taking into account the conclusions reached in the Feasibility study made in section 4.3, it is decided to approach the project in the following way: IP camera with Ethernet connection and powered at 5V. Ethernet to Optical fiber converter compatible with IP camera specifications and powered at 5V Power supply consisting in a power bank capable of supply both modules during a useful time for EMC tests. The benefits of this system are that by choosing the right compatible products, a functional good performance and low cost system can be obtained. Due to time limitations it is decided to assemble a modular system based on commercial available products, in order to be able to achieve the project goal to have a functional system for EMC tests. 5.2. Devices selection for Ethernet approach In this section after the market research done in section 3, a review for the systems that will be under test is done. 5.2.1. IP Cameras One of the virtues of using a standard protocol devices such as Ethernet, is that the system is easily interchangeable. Different cameras are proposed to determine which has better performance and features. In the following sections the IP cameras with Ethernet connection that will be used are shown. 5.2.1.1. D-Link DCS-932L The DCS-932L is a surveillance Ethernet camera for interior use, it has built-in night vision which allows vision in low light situations, and sound and motion detection.
39 Figure 12. DCS-932L [8] The main features of this option are: Powered at 5V and 1A through a power jack. RJ45 Ethernet port Good video quality Sound detection at programmable threshold. This Ethernet camera allows seeing the video feedback through two different ways, while being connected in the same subnetwork, can be seen through a direct connection to the IP direction with an internet browser and through the Website of D-link. The setup and connection is explained in further details in Appendix III. The DoC for the D-Link DCS-932L can be found in the bibliographic reference [9]. 5.2.1.2. Sricam SP020 The Sricam SP020 is an Ethernet camera similar to DCS-932L but with a different form factor. Main differences are that has two-way audio and 360º of movement thanks to the head rotation. Figure 13. SP020 camera [10]
46 Adding a safety factor ‘SF’ of 20% in order to be cautious in the calculations, the corrected electric charge is: 𝑄9ℎ𝑐= 𝑄9ℎ ·𝑆𝐹 =18.000 · 1,2 = 21.600 𝑚𝐴ℎ [10] In the case of a discharge time of 4 hours, the electric charge is: 𝑄4ℎ =𝐸𝐶 ·𝐷𝑇 = 2.000 · 4 = 8.000 𝑚𝐴ℎ [11] Adding a safety factor ‘SF’ of 20% in order to be cautious in the calculations, the corrected electric charge ‘Qc’ is: 𝑄4ℎ𝑐= 𝑄4ℎ ·𝑆𝐹 = 8.000 · 1,2 = 9.600 𝑚𝐴ℎ [12] In conclusion, with the worst case conditions which means full power consumption all the time and with a safety factor of 20%, the values obtained are easy achievable for regular power banks. 5.3. Feasibility study After the system proposal with the Ethernet protocol as the main pillar of this approach and the device selection done, a feasibility study has to be conducted to validate the approach to the project. 5.3.1. Project description and goal As defined in section 1, the project consists in a functional CCTV system, with video and audio real time transmission to a PC through fiber optical communications. The system is intended to be used during EMC tests of other equipment, so it has to be tested itself in EMC conditions. Once the system is functional and has been tested in EMC conditions, it can be further improved. The project will be based on two ideas, the camera will use Ethernet protocol for sending the video and audio signals over fiber optics with a converter, and the voltage supply for the modules must be 5V. 5.3.2. Benefits and drawbacks The benefits for this system approach are: System powered at USB levels Good performance equipment Interchangeable modules Compatibility between modules Low cost products Digital signal Ethernet to optical fiber adapters widely available Time consumption acceptable The timing allows EMC validation
47 On the other hand, the drawbacks are: Limited availability of IP cameras with all the characteristics needed: Ethernet port Powered at 5V Good quality Video and audio Not very customizable design 5.3.3. Timeline With the new Ethernet approach and all the modules being compatible with each other, the work plan proposed in section 1.4, can now be completed taking into account some delay due to the initial approach, this delay can be seen in the section 1.5 where the deviation of the initial work plan is contemplated. 5.3.4. Conclusion With the adequate device selection done in section 5.2, which grants compatibility of all the modules, and the timing and schedule corrected, allowing to have a functional validation tested in EMC conditions, this option is feasible and it is decided to continue the project with this approach. With the conclusion of the feasibility studio being positive, all the hardware was bought to begin with the integration and functional validation.
48 6. Systems under test In this section an overview of the integration, validation and setup conditions for the systems that will do EMC tests is defined. All the systems related with the final approach will be validated in the same operating mode which has been called Operating Mode 1. The details can be seen in the Table 5 below. Table 5. Operation Mode details Operation Mode 1 System powered, internet connection and real time video and audio visualization from the PC. In all the setups for the system under tests, a router and a PC will be used as a part of the equipment required for the video and audio monitoring. This devices are part of the current equipment of the GCEM group and are used during the daily work of the laboratory 6.1. System 1: DCS-932L The System 1, from now one called DCS-932L system, will be integrated by the following modules: Camera module: D-Link DCS-932L Fiber optics conversion module: 10Gtek A7S2 Gigabit Ethernet Media Converter Power Supply module: Anker Power Core 13000 The setup used for the validation of the DCS-932L system is depicted in Figure 22 below. Figure 22. Diagram of the setup for DCS-932L system validation In the Figure 23 below can be seen a picture of the physical implementation of the system.
49 Figure 23. Physical implementation of the DCS-932L system (front & back view) Due to the high importance of the cable due to the coupling during EMC testing, the cables types and lengths used for the validation are defined in the Table 6 below. Table 6. Setup for DCS-932L system Cable name Length (from top to bottom) USB to Power Jack I 17.5 cm USB to Power Jack II 31.5 cm Ethernet Cable I 19.5 cm Ethernet Cable II NA* Ethernet Cable III NA* Optical Fiber SC cable 10 m NA*: Not Applicable, any length required. The validation has to be performed under Operation Mode 1 requirements. 6.2. System 2: SP020 The System 2, from now one called SP020 system, will be integrated by the following modules: Camera module: Sricam SP020 Fiber optics conversion module: 10Gtek A7S2 Gigabit Ethernet Media Converter Power Supply module: Anker Power Core 13000 The setup used for the validation of the SP020 system is depicted in Figure 24 below.
50 Figure 24. Setup for SP020 system validation In the Figure 25 below can be seen a picture of the physical implementation of the system. Figure 25. Physical implementation of the SP020 system (front & back view) Due to the high importance of the cable due to the coupling during EMC testing, the cables types and lengths used for the validation are defined in the Table 7 below. Table 7. Cables for SP020 system Cable name Length (from top to bottom) USB to Micro USB 19 cm USB to Power Jack I 17.5 cm Ethernet Cable I 19.5 cm Ethernet Cable II NA* Ethernet Cable III NA* Optical Fiber SC cable 10 m NA*: Not Applicable, any length required. The validation has to be performed under Operation Mode 1 requirements.
51 6.3. System 3: Pi3B The System 3, from now one called Pi3B system, will be integrated by the following modules: Camera module: Raspberry Pi 3B & Pi camera 2 Fiber optics conversion module: 10Gtek A7S2 Gigabit Ethernet Media Converter Power Supply module: Anker Power Core 13000 The setup used for the validation of the Pi3B system is depicted in Figure 26 below. Figure 26. Setup for Pi3B system validation In the Figure 27Figure 25 below can be seen a picture of the physical implementation of the system. Figure 27. Physical implementation of the Pi3B system (front & back view) Due to the high importance of the cable due to the coupling during EMC testing, the cables types and lengths used for the validation are defined in the Table 8 below.
52 Table 8. Cables for Pi3B system Cable name Length (from top to bottom) USB to Micro USB 19 cm USB to Power Jack I 17.5 cm Flex Cable I 5 cm Ethernet Cable I 19.5 cm Ethernet Cable II NA* Ethernet Cable III NA* Optical Fiber SC cable 10 m NA*: Not Applicable, any length required. The validation has to be performed under Operation Mode 1 requirements. 6.4. System 4: PiZero The System 4, from now one called PiZero system, will be integrated by the following modules: Camera module: Raspberry Pi Zero W & Pi Noir camera 2 Fiber optics conversion module: 10Gtek A7S2 Gigabit Ethernet Media Converter Power Supply module: Anker Power Core 13000 The setup used for the validation of the PiZero system is depicted in Figure 54 below. Figure 28. Setup for PiZero system validation In the Figure 29Figure 27Figure 25 below can be seen a picture of the physical implementation of the system
53 Figure 29. Physical implementation of the PiZero system (front & back view) Due to the high importance of the cable due to the coupling during EMC testing, the cables types and lengths used for the validation are defined in the Table 9 below. Table 9. Cables for PiZero system Cable name Length (from top to bottom) USB to Micro USB 19 cm USB to Power Jack I 17.5 cm Flex Cable II 4 cm Ethernet Cable I 19.5 cm Ethernet Cable II NA* Ethernet Cable III NA* Optical Fiber SC cable 10 m NA*: Not Applicable, any length required. The validation has to be performed under Operation Mode 1 requirements.
54 7. Results In this section all the results of the validations for the systems proposed in section 6 are detailed and explained. The results are divided into three sections, a functional validation under nominal conditions to see if the systems work properly, radiated immunity tests, which is the main core of this section, to test how much electric field and at which frequencies the systems can withstand, and finally radiated emissions to check which emission levels are being radiated from the systems and whether or not could be used in radiated emission tests. The structure of the testing performed can be seen below: Functional validation under nominal conditions Radiated Immunity. Setup according to EN 61000-4-3 Levels of residential environment, according to EN 61000-6-1 Levels of industrial environment, according EN 61000-6-2 Levels of railway rolling stock environment, according to EN 50121-3-2 Radiated immunity. Setup according to ISO 11452-2 Levels of automotive environment, according to UNECE REGULATIONS nº10 Radiated emissions. Setup according to EN 55016-2-3 Limits of residential environment, according to EN 61000-6-3 7.1. Initial Functional tests A functional validation under nominal conditions without any kind of stress applied to the system is required prior to the EMC validation for two purposes, discard any non-functional systems, which could be caused for setup problems or incompatibility of the modules, and check compatibility on site of the equipment with the GCEM equipment and network. The purpose of this tests are to ensure that the systems are working properly with the setups defined in section 6 under nominal conditions when no external perturbations are applied and with the requirements defined Operation Mode 1 (see Table 5). The summary of the results obtained are defined in Table 10. Table 10. Initial functional validation results System Operation Mode Result Comments DCS-932L 1 Functional SP020 1 Functional Sricam software required Pi3B 1 Functional Only video, no audio PiZero 1 Functional Only video, no audio All the systems are functional, so the EMC immunity and emission tests can be performed.
55 7.2. Radiated immunity tests results In EMC radiated immunity testing, electric field is radiated at a wide range of frequencies to validate the performance and the degradation of the systems in such conditions. The basic setup used for radiated immunity tests defined in standard EN61000-4-3 is depicted below in Figure 30. Figure 30. Basic laboratory setup for radiated immunity tests For automotive environment the uniform field area is not used and the setup used will be according to ISO 11452-2 which is the basic standard for components immunity in the automotive sector. The EMC radiated immunity tests are performed to the four systems proposed in section 6, to verify the real specifications of each system. Radiated immunity tests results are obtained by setting the systems in Operating Mode 1 (see Table 37), applying the test conditions and observing the function and performance of the real time video and audio sent from the systems to the computer. If degradations are observed are written in the test reports. In order to help in the evaluation of the performance of the real time video and audio of the systems, passive devices based on mechanical movement, such as pendulums and a metronome will be used simulating to be a real EUT. The following criteria will be used to grade the system performance during the test.
62 The report obtained and the pictures for the actual setup used are found below. Table 14. Raspberry Pi 3B camera report Parameters Electric Field 20 V/m Frequency Range 80 MHz – 1 GHz Frequency Increment 1% Modulation AM 80% (1 kHz) Dwell Time 1 s Position Calibration plane Results Test Antenna Polarization Vertical From 925 MHz to 952 MHz purple horizontal lines appear in the video. At 953 MHz the horizontal purple lines are increased and different tonalities of colour appear in the image. The video retransmission is eventually lost. But is recovered when the electric field is turned off. From 954 MHz to 960 MHz purple horizontal appear in the video. In the other range of frequencies good performance during the test. No permanent disconnection. No reset. Horizontal Good performance during the test, no appreciable downgrades in the functionality of the system. No disconnection or any kind of reset. Comments Only video monitoring. The performance for the Pi3B system has been good until the higher part of the frequency range around 900 MHz where clearly there is a degeneration in the video signal performance of the equipment, directly related to the electric field applied. The video signal was eventually lost, although the system recovers itself when removing the electric field. Due to this factors the test for this system is considered as B criteria according to Table 11. 7.2.1.1.4. PiZero The PiZero system is the last to be tested, the setup and conditions for the system are the ones defined in Section 6.4.
63 In the figures below can be seen the actual in site setup for the PiZero system in the calibration plane location. Figure 37. Raspberry Pi Zero in Calibration Plane position (I) Figure 38. Raspberry Pi Zero in Calibration Plane position (II)
64 The report obtained and the pictures for the actual setup used are found below. Table 15. Raspberry Pi Zero IR camera report Parameters Electric Field 20 V/m Frequency Range 80 MHz – 1 GHz Frequency Increment 1% Modulation AM 80% (1 kHz) Dwell Time 1 s Position Calibration plane Results Test Antenna Polarization Vertical Not performed Horizontal From 179 to 312 MHz, the video is frozen and the camera does not recover functionality by its own, even when the electric field is removed. The user has to perform a hard reset by removing the power from the modules and connecting the software again from the PC. At 573 MHz the video is frozen, when the electric field is removed, the user has to reconnect the software from the PC to regain the video signal. The system has recovered by its own. Both phenomena continues to happen at higher frequencies, so the test is finished at 600 MHz. Comments Do to the bad performance in Horizontal polarization the immunity test is stopped before the 1 GHz and is not done in vertical polarization because the immunity of this system is very low and this option has been discarded. Only video monitoring. For this system can be seen that there is an important degeneration of the performance of the equipment directly related to the electric field applied. Several disconnections occurred and the system did not recover itself, the reason behind this bad performance could be either that the Raspberry Pi Zero has limited EMC immunity resistance, or that the extra device used, the USB Ethernet adapter is very susceptible to EMI. Due to the factors discussed above the test for this system is considered as C criteria according to Table 11, because requires user intervention to recover.
65 7.2.1.1.5. Summary of results in the uniformity electric field plane With all the tests reports obtained a review of the performance of each system is done. A summary with the test criteria’s of each system can be found in Table 16 below. Table 16. Summary of test criteria results for domestic, industrial and railway setup EN 61000-4-3. TEST CRITERIA SYSTEM DCS-932L A SP020 B Pi3B B PiZero C The system with best radiated immunity and performance of all the alternatives has been the DCS-932L. With the results obtained, the system would fulfill the requirements specified for radiated immunity in standards EN 61000-6-1, EN 61000-6-2 and EN 50121-3-2 in the frequency range applied. The specifications for the DCS-932L system obtained during the tests are: Radiated immunity of 20 V/m up to 1 GHz Battery lifetime of 8 hours With the good performance, it is decided be tested in the automotive setup with a higher frequency range and electric field. This can be seen in section 7.2.2. Due to the system is intended for the monitoring of the chamber while other devices are being tested, different locations inside the anechoic chamber are proposed, to further test the device, this can be seen in section 7.2.1.2. The location has an important impact in EMC testing due to the electric field can vary significantly depending on the location. 7.2.1.2. System placement in locations A, B and C The only system tested in locations A, B and C is the DCS-932L system due to it is the one with best performance and A criteria in the calibration plane. In the uniform electric field plane the monitoring system would provide a close view of the EUT, especially useful in the case of the EUT has visual indicators such as LEDs, display, small mechanical movements… Locations A, B and C, are other positions located at 1 meter distance from the calibration plane and provide a more global view, useful in the case of equipment with mechanical movement, audible noises and others. Below can be seen a figure with the actual anechoic chamber of the GCEM group and the different locations proposed for the monitoring system to be during other tests.
66 Figure 39. Immunity testing locations The DCS-932L system is tested with the setup and conditions defined in Section 6.1. Foam blocks are used to level up the system with the intended EUT location and high. First location to be tested is location A. In the figures below can be seen the actual in site setup for the DCS-932L system in the location A.
67 Figure 40. DCS-932L in A position (I) Figure 41. DCS-932L in A position (II)
68 Good performance through all the frequency range, any downgrade have been observed with the electric field applied. The test for this system is considered A criteria according to Table 11. Next location to be tested is location B. In the figures below can be seen the actual in site setup for the DCS-932L system in the location B. Figure 42. DCS-932L in B position (I)
69 Figure 43 DCS-932L in B position (II) Good performance through all the frequency range, any downgrade have been observed with the electric field applied. The test for this system is considered A criteria according to Table 11. Last location to be tested is location C. In the figures below can be seen the actual in site setup for the DCS-932L system in the location V.
70 Figure 44. DCS-932L in C position (I) Figure 45. DCS-932L in C position (II)
71 Good performance through all the frequency range, any downgrade have been observed with the electric field applied. The test for this system is considered A criteria according to Table 11. The report for all locations can be seen in the table below. Table 17. DCS-932L camera report IV Parameters Electric Field 20 V/m Frequency Range 80 MHz – 1 GHz Frequency Increment 1% Modulation AM 80% (1 kHz) Dwell Time 1 s Position A, B and C Results Test Antenna Polarization Vertical Good performance during the test, no appreciable downgrades in the functionality of the system. No disconnection or any kind of reset. Horizontal Good performance during the test, no appreciable downgrades in the functionality of the system. No disconnection or any kind of reset. Comments Good performance through the test. The performance for the DCS-930L system has been good in all the locations proposed and in all the frequency range, no downgrade has been observed with the electric field applied. The system has behaved very well and hasn’t showed any sign of degradation in the performance, so in the other positions proposed the system also withstands the test parameters required in radiated immunity standards EN 61000-6-1, EN 61000-6-2 and EN 50121-3-2 in the frequency range applied. 7.2.1.3. Conclusions on radiated immunity for domestic, industrial and railway environment With all the tests reports obtained a full summary with the test criteria’s of each system including the locations can be found in Table 18 below.
78 The system had a downgrade in the video signal only at 700 MHz, the performance for all the other frequency range has been good. The test for is considered B criteria according to Table 11, although most likely using a shorter Ethernet cable specially made for this system and using ferrites, would result in no downgrade of the video signal. It is decided to test the system at 90 V/m in the frequency range of 80 MHz to 1 GHz, which is the maximum electric field that can be generated in the GCEM laboratory with the equipment available. In the figure below can be seen the actual in site automotive setup for the DCS-932L system. Figure 50. DCS-932L automotive setup from 80 MHz to 1 GHz for higher field levels The report can be found below. Table 22. DCS-932L camera report VII Parameters Electric Field 90 V/m Frequency Range 80 MHz – 1 GHz Frequency Increment 1% Modulation AM 80% (1 kHz) Dwell Time 1 s Position Calibration plane
79 Results Test Antenna Polarization Vertical The following degradations in the frequency specified have been detected: Drop in the Frames per Second and eventually a complete freeze of the video at 574 MHz. When removing the electric field the system recovers itself. Slight drop in the Frames per Second at 647 MHz. When removing the electric field the system recovers itself. Drop in the Frames per Second and eventually a complete freeze of the video at the frequencies specified below. When removing the electric field the system recovers itself. - 673 MHz, - 700 MHz, - 729 MHz and - 759 MHz Slight drop in the Frames per Second at 805 MHz. When removing the electric field the system recovers itself. Drop in the Frames per Second and eventually a complete freeze of the video at 821 MHz. When removing the electric field the system recovers itself. Horizontal Not Performed Comments Due to the big degeneration in the performance of the system, the test is not repeated with ferrites. At 90 V/m the performance of the system is severely affected from 574 MHz to 821 MHz. The immunity could be improved by using specific cables designed for this setup minimizing the distance from the connections, introducing RF filters, shielding the cables, or using ferrites to dissipate radiofrequency. The test for is considered B criteria according to Table 11. Additionally is also decided to test the system with an electric field of 40 V/m in the frequency range of 1 GHz to 3 GHz In the figure below can be seen the automotive setup for the DCS-932L system in the calibration point location for frequencies above 1 GHz.
80 Figure 51. DCS-932L automotive setup from 1 GHz to 3 GHz (I) Figure 52. DCS-932L automotive setup from 1 GHz to 3 GHz (II)
81 The report can be found below. Table 23. DCS-932L camera report VIII Parameters Electric Field 40 V/m Frequency Range 1 GHz – 3 GHz Frequency Increment 1% Modulation AM 80% Dwell Time 1 s Position Calibration point Results Test Antenna Polarization Vertical Drop in the Frames per Second and eventually a complete freeze of the video from 1.05 GHz to 1.18 GHz. In the most part of this range when removing the electric field the system recovers itself, but at the frequency 1.12 GHz the system has not recovered itself, and a manual reset done by the user has been done. A first analysis shows that the Ethernet to optical fiber converter module was not regaining connection by itself. Horizontal Not performed Comments Due to the degeneration observed in the performance of the system is decided to not test the system with a bigger electrical field. With an electric field of 40 V/m for frequencies above 1 GHz the system showed a significant degeneration in the performance, due to it doesn’t recover itself when removing the electric field the test would be considered as a C criteria according to Table 11. To improve the immunity in higher frequencies the system could be shielded, because at higher frequencies the signal couples at the copper tracks of the modules instead of the connections cables. 7.2.2.4. Conclusions on radiated immunity for automotive environment With all the tests reports for the automotive obtained a review of the performance is done. A summary with the test criteria’s of each test can be found in Table 24 below.
82 Table 24. Summary of test criteria results for automotive setup TEST CRITERIA 80 MHz – 1 GHz 1 GHz to 3 GHz A 30 V/m 40 V/m 90 V/m 30 V/m 40 V/m SYSTEM DCS-932L A B B B C The system has behaved quite well in the automotive environment withstanding at least 30 V/m and even more depending the circumstances, so can be used for radiated immunity according to UNECE REGULATIONS nº10 in the frequency range tested The final specifications for the DCS-932L system obtained during the tests are: Radiated immunity of 30 V/m up to 1 GHz Usable with a downgrade of the frames per second for radiated immunity of 40 V/m up to 1 GHz Usable with a downgrade of the frames per second for radiated immunity of 30 V/m up to 3 GHz Battery lifetime of 8 hours To improve the system immunity in the frequency range from 30 MHz to 1 GHz, the connections cables for the system must be done shorter, by specially using connection cables designed for minimizing the length. Also apply ferrites and some filtering stage. To improve the system immunity in the frequency range from 1 GHz to 3 GHz, the system could be shielded, because at this higher frequencies the copper tracks of printed circuit board are the main path for coupling disturbances. 7.3. Emission tests results Although it is not part of the main scope of the project, it is decided to do EMC radiated emission test to all the systems, to see the behaviour of the equipment and check if it would be feasible to use one of the systems for monitoring radiated emissions tests. In EMC emissions tests, the EUT must be tested in the worst operating mode for emissions of the equipment, as initially this mode is not known, all the operating modes are tested. Monitoring the equipment can be useful if the equipment has some indicator such as LEGs or a display, and the operating mode of the device is indicated, in that case could be useful to assure that the equipment is in the corresponding mode. Radiated emissions in the domestic environment.0 will be measured for the four systems proposed in section 6 while in Operating Mode 1 (see Table 37), because that would be the normal operation mode of the systems if are used in emission tests. This will allow the comparison with the immunity results and verify if any system produces low levels of emissions and can be usable during radiated emissions tests. The setup used consists in an antenna placed at 3 meters from the equipment, see a schematic setup in Figure 53 below.
83 Figure 53. Schematic setup for radiated emissions tests All the emission data results are read with a peak detector, one of the standardized detectors defined in the standards, the limits shown in the figures are for Class B products, which means that are intended for residential use, Class B limits tend to be stricter than Class A (industrial). 7.3.1. Emissions from 30MHz to 1GHz The first section of EMC emissions test is performed to all the systems to see which kind of emissions levels have with the same setup conditions. All the measurements performed are done with a peak detector, although limits are for Quasi-Peak. The first frequency sweep will be done for a range from 30 MHz to 1 GHz with the domestic/industrial and railway setup according EN 55016-2-3 and applying the residential limits according to EN 61000-6-3.. 7.3.1.1. Ambient noise measurement An ambient noise of the anechoic chamber is made without the systems under evaluation turned on inside, to know which levels of ambient noise emissions are present during the test. The environmental measurements have to be preferably below 20 dB, but mandatory 6 dB lower than the limits established in EN 61000-6-3. The environmental measurement with horizontal polarization of the anechoic chamber can be seen in the figure below in which the video monitoring system developed are not used.
84 Figure 54. Ambient noise 30MHz to 1GHz HP The ambient noise measurement with vertical polarization of the anechoic chamber can be seen in the figure below. Figure 55. Ambient noise 30MHz to 1GHz VP As can be seen the levels of EMI are very low and below the specified range and security margin, so the tests can start.
85 7.3.1.2. DCS-932L While in Operating Mode 1 and with the conditions and setup defined in Section 6.1, the emissions generated by the system DCS-932L are obtained. The DCS-932L system measurement with horizontal polarization can be seen in the figure below. Figure 56. DCS-932L emissions Horizontal Pol. As can be seen in the lower frequencies from 30 MHz to around 200 MHz the measurement as almost the same to the ambient noise one, this is mainly due to that there are no long cables that can radiate in those frequencies. As can be seen in the Appendix I, there is an inversely proportional relation between longitude and frequency, so long cables mean radiations in low frequencies while short cables mean radiation in high frequencies. In higher frequencies, from 200 MHz to 1 GHz there is a significant difference from the environmental measurement, this is mainly that at this range, the cables used for the connections between the different modules start to radiate. Apart from the fact that the devices themselves or the traces of the printed circuit boards can also generate radiation at higher frequencies. The Ethernet cable used for this setup according to Table 6 has a length of 19.5 cm, the wavelength at which this length behaves as a perfect antenna is: 𝜆 = 𝜆𝑃𝐴 · 4 = 19.5 · 10−2 · 4 = 0.78 𝑚 [13] 𝐶 ≈ 3 · 108𝑚𝑠 ⁄ [14] 𝐹𝑃𝐴 =𝐶 𝜆=3 · 108 0.78 ≈384 𝑀𝐻𝑧 [15]
86 As can be seen in equation [13] the Ethernet cable behaves as a perfect antenna around 384 MHz, and in the Figure 56 there is a wide EMI reading near that frequency. To solve this shorter connection cables must be used for the connections. As has been done in radiated immunity, adding ferrites also improves the performance in emissions. By adding the same ferrites than in immunity (Wurth Electronics model 742715W3) to avoid cable radiation, the DCS-932L system measurement with horizontal polarization and ferrites can be seen in the figure below. Figure 57. DCS-932L emissions Horizontal Pol. with ferrites As can be seen in the figure below, by adding ferrites to the Ethernet cable now there is much less radiation around the 350 MHz area. Is worth noticing than in immunity a degradation of the video signal occurred near 700 MHz, by adding the ferrites the degradation did not occurred until the electric field has increased, This makes sense because as can be seen the peak around 700 MHz has been reduced by the addition of the ferrites. The next step is the DCS-932L system measurement with vertical polarization which can be seen in the figure below.
87 Figure 58. DCS-932L emissions Vertical Pol. In vertical polarization there is a cleaner frequency spectrum, but there are still some large peaks in the higher frequencies. As a conclusion, an EMC equipment emitting this kind of EMI can’t be placed inside the anechoic camera when doing EMC emissions tests, the reason is that there are large peaks the may distort the real equipment under test. A valid option would be use the DCS-932L system for low frequencies EMC emission tests up to 200 MHz, as can be seen the measured levels are so close to ambient noise case. 7.3.1.3. SP020 While Operation Mode 1, with the conditions and setup defined in Section 6.2, the emissions coming from the system SP020 are read. The SP020 system measurement with horizontal polarization can be seen in the figure below.
94 Figure 66. DCS-932L emissions Horizontal Pol. Some narrow peaks can be seen through all the frequency range, but the levels are 15-20 dB below the Peak limit and only 10-15 dB below Average limit. It is decided to put a two ferrites 742715 3 in the Ethernet cable to avoid cable radiation and see if the system improves the performance. The DCS-932L system high frequency measurement with horizontal polarization and ferrites can be seen in the figure below. Figure 67. DCS-932L emissions Horizontal Pol. with ferrites
95 Unlike the last time, now the ferrites almost doesn’t make any improvement, this is mainly that at this higher frequencies the source of radiation is not the connection cables between the modules, but the copper tracks of the PCBs inside the modules. 7.3.2.3. Conclusion on radiated immunity tests results from 1 GHz to 3 GHz With the radiated emissions obtained for a range from 1 GHz to 3 GHz for the system, can be seen that although the emission are quite below the limits specified and it would be acceptable according environmental levels according the standards, is not very neat to add this noise to another EUT emission test, due to the fact that there are some high narrow bands during all the frequency range. In any case, the equipment would be usable if needed. The final specifications for the DCS-932L system obtained during the tests are: Usable with restrictions in radiated emissions tests from 1 GHz to 3 GHz 7.4. Final specifications and discussion of the results After finishing both radiated immunity and emissions, it is clear that system with better performance has been the DCS-932L, and is the one that will be provided to the GCEM group. The final review of the system with the specifications obtained can be found below: Table 25. Final specifications Data transmission Fiber Optics Power supply Battery. Lifetime of 8 hours. Features Video and Audio monitoring Zoom Small size Low cost Compatible with video recognition software* Radiated immunity Immunity against electric field of 30 V/m up to 1 GHz Usable with a downgrade of the frames per second for radiated immunity of 40 V/m up to 1 GHz Usable with a downgrade of the frames per second for radiated immunity of 30 V/m up to 3 GHz Radiated emissions Usable in radiated emissions tests up to 200 MHz Usable with restrictions in radiated emissions tests from 1 GHz to 3 GHz
96 * The system has proven compatible with the video recognition software currently being developed by the GCEM group All the main system requirements are fulfilled except the radiated immunity of 100 V/m. With the current state of the system, the validation has demonstrated that the system would fulfill the requirements specified for radiated immunity in standards EN 61000-6-1, EN 61000-6-2 and EN 50121-3-2 and UNECE REGULATIONS nº 10, in the frequency range applied. As a future modifications that would improve the system performance the following modifications are proposed. Minimize length of the connection cables Add Ferrites Mid-board for interconnection of the modules with filtering steps Shielding for the system Minimize the length of the connection cables would allow to widely improve the immunity of the system in the range from 80 MHz to 1 GHz, as in this frequency range the length of the cables has a major impact. Adding ferrites would improve the overall immunity and emissions of the system, as has been already proven. By the use of a mid-board with a filtering steps (which also minimizes the length of the connection cables), the performance will greatly improve in the range from 80 MHz to 1 GHz and even at higher frequencies. Shielding the system will be the measurement most effective for higher frequencies, because at that range is the only modification that can be done to improve the immunity. 7.5. Improvements applied and future upgrades Balancing the available options, it is decided to apply the following modifications to the system. Minimize length of the connection cables Add Ferrites to the Ethernet cable With this modifications the system will be very much improved, special in the range from 80 MHz to 1 GHz. There has not been available time to further test the system with the new modifications, but will be left to be tested during the normal work of the GCEM group. The other two modifications are left as future improvements of the system, as the current state of the system is good enough to be used during the most part of EMC immunity tests performed in the GCEM group. Mid-board for interconnection of the modules with filtering steps Shielding for the system A possible mid board schematic is proposed for the two power supply connections in the figure below.
97 Figure 68. Mid board schematic Shielding the system is left as an improvement for two reasons, there has not been time for the physical implementation of the shielding, and the current performance of the system has proven to be good enough during a wide range of low to medium high frequencies, and would be usable in almost all the setups that the GCEM group currently is working with. In addition the actual equipment of the laboratory, is especially good at higher frequencies because despite the fact that has long cables, in higher frequencies, being shielded behaves very well for immunity testing.. This makes both systems complementary.
98 8. Budget In this section the costs for the project are detailed and a short financial analysis is performed to assess the economic viability of the project. 8.1. Project Costs The cost for the project taking into account all the systems that have been tested can be seen in the Table 26 below. Table 26. Cost for the systems under test Item Product name Quantity [u] Unitary Price [€/u] Price [€] Equipment 1 D-Link DCS-932L 1 41,31 41,31 2 Sricam SP020 1 29,99 29,99 3 Raspberry Pi 3B 1 36 36 4 Camera Module V2 1 32,64 32,64 5 Raspberry Pi Zero W 1 25,9 25,9 6 Pi Noir Camera V2 1 29,99 29,99 7 Plugable USB 2.0 OTG Micro-USB to 10/100 Network Adapter 1 13,95 13,95 8 10Gtek A7S2 is a Gigabit Ethernet Media Converter [Pack x2] 1 66,99 66,99 9 Anker PowerCore 13000 1 26,99 26,99 10 Ferrites 742715 3 2 1 2 Subtotal 303,76 Connectors 11 USB power cable 2 5,34 10,68 12 USB to Micro USB cable 1 5,34 5,34 13 Power Jack connector 2 1,1 2,2 14 Ethernet cable 1 4 4 15 10 m Optical Fibber SC to SC cable 1 19,99 19,99 16 Pi camera flex cable 1 7,09 7,09 Subtotal 49,3 Total 353,06 € It is also attached in Table 27 below the individual cost for the system chosen to provide to the GCEM group.
99 Table 27. Cost for the monitoring system chosen Item Product name Quantity [u] Unitary Price [€/u] Price [€] Equipment 1 D-Link DCS-932L 1 41,31 41,31 2 10Gtek A7S2 is a Gigabit Ethernet Media Converter [Pack x2] 1 66,99 66,99 3 Anker PowerCore 13000 1 26,99 26,99 Subtotal 135,29 Connectors 4 USB power cable 2 5,34 10,68 5 Power Jack connector 2 1,1 2,2 6 Ethernet cable 1 4 4 7 10 m Optical Fibber SC to SC cable 1 19,99 19,99 Subtotal 36,87 Total 172,16 € 8.2. Financial viability analysis This analysis is performed to assess the economic viability of the project. After sections 4 and 5, when the approach to the project was clear, the budget detailed in Table 26 was presented to the GCEM laboratory in order to obtain the equipment needed for the video and audio monitoring system demanded by the group. Some of the equipment detailed in Table 26 was already available for the project author or the GCEM group, so for the evaluation of the EMC performance of such equipment was not needed to be bought, in case to be found that this equipment was the better option available, would have been bought for the final system provided to the GCEM laboratory. The budget was appraised, by the approval of the budget four functional monitoring system with fiber optics communications would be obtained, only pending for the EMC tests validation. Besides the monitoring systems, other benefits such as an Ethernet to optical fiber converter, which could be used to provide other EUTs with Ethernet ports internet connection through optical fiber. The only drawback would be that without an EMC validation the immunity against electric field of the systems in not known, except the information provided by the EMC legislation of the products that offers very few guaranties beyond domestic/industrial levels. Taking into account the relatively low cost of the equipment’s and that some of it was already available it was decided to proceed with the purchase. The EMC performance of the equipment’s had to be tested, but could be improved with optional upgrades if needed, once the specifications of the systems were clear.
100 9. Conclusions and future development This project aimed to develop a system for the GCEM group that met the requirements and specifications proposed in section 1.2, with video and audio monitoring, to be of use during the daily work of the laboratory. The system shall work with, or in substitution of the current monitoring equipment at the GCEM laboratory. Possible alternatives such as specialized EMC equipment and a modular domestic/industrial system were reviewed. By analysing both options it was concluded that specialized EMC market prices are very high because all clients tend to be laboratories, although the specifications are good and well known for such equipment, it was concluded that the construction of a system based on a modular design with domestic/industrial equipment with the option to improve the EMC performance by using fiber optics and short cables, was the most appealing choice. Choose the right approach to the project was by far one of the most challenging parts of the project, as it involved several factors that needed to be taken into account, being the time the most restrictive one. A significant amount of time was invested in trying to find a solution to a system based on the USB protocol, the main issue was that USB over fiber optics is not a well-established technology and lacks a defined standard. The initial approach was to make a design that could manage to send USB signal over fiber optics, but some technical drawbacks such as the lack of information available, the high speeds of the bus and lack of availability of the optical components finally lead to use a system based on Ethernet protocol, which has a more well-established conversion to optical fiber, as is used in several applications. In both cases, being the main goal of the project to obtain a functional system, which had to be tested in radiated immunity tests in order to validate the specifications of the system, this severely restricted any option of self-design for any of the modules, because the implementation of such task would require most likely its own project. With the protocol for the system clear, the other variables taken into consideration for the full system were compatibility, cost, performance and size. Finding equipment which was compatible with each other and met the systems requirements also restricted the options available. One of the advantages of base the system in a protocol such as Ethernet, is that all the modules are highly interchangeable. This means that if a module fails can be replaced easily with another similar module, or even upgraded. When dealing with combined equipment (as in the case of this project), the individual EMC performance of the modules has a big importance in the overall system, one useful criteria for a preliminary selection is the EMC legislation available on each equipment. The most interesting part of this project has been the EMC validation of the systems, because a first-hand experience on how EMC tests are conducted has been obtained. Both immunity and emissions tests have been performed to a variety of systems, which has allowed to determine the best option available. Very important concepts for the EMC field have also been obtained during the validations, such as radiation efficiency, EMI radiation and coupling, far field and near field concepts, the normative for domestic, industrial, railway and automotive setups, and the radiated immunity standards used in each of the previous environments.
101 Radiated immunity testing was the main focus of this project and a wide range of tests with very different parameters have been applied. This has allowed to obtain the main specifications of the system. The system has fulfilled almost all the requirements proposed in section 1.2, is a video and audio monitoring system, sends the data through fiber optics and is supplied with a battery, which allows to dispense of long copper cables. But for the 100 V/m of immunity proposed, the system has reached a maximum of 40 V/m of immunity. In any case, the system has been validated with the setup EN 61000-4-3 for radiated immunity in the domestic (EN 61000-6-1), industrial (EN 61000-6-2) and railway (EN 50121-3-2) environments. And with the setup ISO 11452-2 for radiated immunity in the automotive sector (UNECE REGULATIONS nº10). In addition several optional requirements have also been fulfilled, such as that could be used in emission tests if needed (under the right circumstances), the zoom can be controlled remotely, and the system has a small size and low cost. The full list of specification can be seen in section 7.4. One important lesson that has been observed, is that for a monitoring system intended for EMC tests, a lot of setup and standards are required to validate the system, because the monitoring system has to withstand the conditions required in the maximum standards possible. This makes that a validation for such system is far more complex and long that other equipment. Several updates have been proposed to the system to enhance the performance under the EMC point of view, can be seen detailed in section 7.5. It has been decided to apply only two upgrades to the system while leaving the other two as optional. The cables lengths from the interconnection of the modules has been reduced to a minimum and ferrites have been added to the cables, to dissipate extra radiofrequency. This has allowed to improve the system although the real specifications with this improvements have not been obtained due to time constrictions. The improved system will be used in the daily work laboratory for a wide range of tests especially in for the domestic, industrial and railway environments where the system developed has proven to be more effective. It is left as a proposal for future improvements, the shielding of the system, the reason is that the current state of the equipment is good enough especially in domestic/industrial and railway, where the electric field is more limited than in the automotive sector, and currently can withstand the maximum values. Shielding the system will improve the performance of the equipment in high frequencies, but the current equipment of the GCEM group is a shielded camera, that although does not perform great in lower frequencies, it does in higher ones. So the performance of both equipment’s is complementary, and would allow to obtain a good synergy by the combined use of both. Is also left as proposal a mid-board for the interconnection of the modules. This would make the same function as the minimized cables, with the addition that a filtering step can be introduced, but again, being the performance quite adequate, is not implemented. In addition, the software being developed by the GCEM group has proven to be compatible with the system, and also with an IP camera setup, which could be great for future developments. In conclusion this project has developed and provided to the GCEM group a system that meets the main requirements proposed. Is left with future improvements and upgrades for
102 further enhance the performance of the system. This project could also help to lay the basis for future projects, such as the physical implementation of filters for USB and Ethernet connections, the design and the prototyping of one of the modules, such as the Ethernet converter, or perhaps the design and prototyping of a USB to fiber optics converter.
103 Bibliography [1] M. Pous. EMC in ELECTRONIC DESIGN, Lectures 1, 2 and 3. ETSETB, UPC. Barcelona, Spain. 2018 [2] J. Senior. Optical Fiber Communications: Principles and Practice, 3rd ed. London: Pearson Prentice Hall, 2009. [3] G. Keiser. Optical Fiber Communications, 2nd ed. Singapore: McGraw Hill, 1991. [4] Broadcom.com. (2019). Fiber Optic Modules and Components. [online] Available at: https://www.broadcom.com/products/fiber-optic-modules-components/ [Accessed Oct. 2019]. [5] Hermonlabs.com. (2019). EMC Testing | EMC Emissions Testing. [online] Available at: https://www.hermonlabs.com/Services/EMCEmissionsTesting.html [Accessed Oct. 2019]. [6] Logitech.com. (2019). Logitech HD Pro C920 USB camera. [online] Available at: https://www.logitech.com/es-mx/product/hd-pro-webcam-c920 [Accessed Oct. 2019]. [7] Logitech.com. (2019). Logitech HD Pro C920 DoC. [online] Available at: https://www.logitech.com/images/pdf/compliance/AGY-700-008636.pdf [Accessed Oct. 2019]. [8] Eu.dlink.com. (2019). DCS-932L IP camera. [online] Available at: https://eu.dlink.com/es/es/products/dcs-932l-day-night-cloud-camera [Accessed Oct. 2019]. [9] Eu.dlink.com. (2019). DCS-932L DoC. [online] Available at: https://eu.dlink.com/es/es/-/media/consumer_products/dcs/dcs-932l/additionaldownloads/dcs932lcedocv100chicco.pdf [Accessed Oct. 2019]. [10] Sricam.com. (2019). SP020 IP camera [online] Available at: http://www.sricam.com/product/id/5a51c5577e3a4950a81a0edc416aad26.html [Accessed Oct. 2019]. [11] Sricam.com. (2019). SP020 Certificates. [online] Available at: http://www.sricam.com/about_us.html?type=3 [Accessed Oct. 2019]. [12] Raspberrypi.org. (2019). Raspberry Pi products. [online] Available at: https://www.raspberrypi.org/products/ [Accessed Oct. 2019]. [13] Raspberrypi.org. (2019). Raspberry Pi 3 Model B DoC. [online] Available at: https://www.raspberrypi.org/documentation/hardware/raspberrypi/compliance/rp i_DOC_3b_CE_RED.pdf [Accessed Oct. 2019]. [14] Raspberrypi.org. (2019). Raspberry Pi Camera 2 & Pi Noir Camera 2 DoC. [online] Available at:
110
111 Appendix III: IP Ethernet camera - D-Link DCS-932L connection In order to be able to connect to any IP camera, both the computer and the camera must be in the same subnetwork. A subnetwork is a logical subdivision of an IP network. An IPv4 address consists of 32 bits, a subnetwork shares some high-order bits from the host as part of the new IP address while the low-order bits are different, see Table 29. Table 29. Example of a subnetwork IP address Number (Dot-decimal notation) Host 192.168.1.1 Subnetwork 192.168.1.120 First connection to D-Link DCS-932L in GCEM laboratory With both the computer and the camera connected at the same router, during the first connection or after a hard reset for restoring all the initial configuration, the IP address of the camera will be the one defined below. Original IP address for D-Link DCS-932L: 192.168.0.20 In a domestic network, the IP of the camera would be automatically setup to a subnetwork of the Host, but in the GCEM laboratory the IPs of the network are manually assigned to avoid conflicts between different equipment’s, and the camera retains the default IP address detailed above. In order to change the IP of the camera to a one suitable for the GCEM laboratory the IP of the computer must be momentary changed to subnetwork of that IP in order to access the camera. In order to change the IP of the computer, one must go to “Panel de Control”, the into “Redes e Internet” and “Conexiones de Red”, find below the link to the previous configuration screen. Panel de control\Redes e Internet\Conexiones de red Following the steps that can be seen in the figure below, the PC can be setup in the same subnetwork than the camera.
112 Figure 72. PC IP change Once both the camera and the computer are in the same subnetwork, by using a web browser such as Internet Explorer (which tends to work better than others browser for this function), inserting the IP address of the camera in the browser allows to directly connect to it. Once the computer is connected a user and a password is requested, these can be found in the datasheet of the camera which have default values, but are detailed below: Admin name. User Password: (Blank) Once inside the firmware, the video can be seen in the home page, and all the configuration of the camera such video quality, format, audio threshold and Network configuration s can be set. In the latter a fix IP address must be set to be able to work in the network of the laboratory, by checking other devices that share the network in the laboratory, the camera can be set to the following IUP address: Table 30. D-LINK DCS-932L IP address for GCEM laboratory IP address Number (Dot-decimal notation) DCS-932L 192.168.1.101 Once this configuration is saved the IP of the computer can be set back to normal, and by introducing the IP in Table 30 in the browser, camera can be accessed by the PC or any device in the network.
113 Appendix IV: Raspberry PI as an IP camera In order to use a Raspberry Pi board as an IP Ethernet camera, the Raspberry PI must have a camera port which allows the connection of the camera to the board. In addition the Raspberry Pi must have installed Raspbian, which is a Debian-based computer operating system for Raspberry Pi. Once the OS has been installed, the Raspberry PI must be configured to be able to use the camera. By opening a terminal and typing the code [1], the Raspberry configuration screen is opened, here the camera can be enabled. Sudo raspi-config [1] The software that will be used to convert the Raspberry Pi into an Ethernet camera is called VLC media player. Commonly known as VLC, this software is a free and open-source cross-platform media player and streaming server. By opening a terminal and typing the code [2] the software VLC media player will be installed in the Raspberry PI. Sudo apt-get install vlc [2] With VLC installed you are able to stream video and data to another device as long as both devices have VLC installed and are connected in the same subnetwork. Although for this project the Wi-Fi is disabled, the following method would also work for a Wi-Fi connection instead of the Ethernet connection that has been used. The next step is find out the IP address of the Raspberry PI, there are several ways to find out the IP address of a Raspberry PI, the easies one is to type in the terminal the code [3], this automatically reveals the IP address of the Raspberry PI. Alternatively typing the code [4] reveals much more information about the connections of the board. hostname -I [3] ifconfig [4] To stream the data the command “raspivid” will be used, which is the command line tool for capturing video with the camera module. First some basic configuration is done such as establishing the width, height and frames per second of the video, and then with the help of VLC, on the port that the user wants the Raspberry Pi will be streaming the video obtained with the camera with the format previously specified, using http and with the file type h264. So by opening a terminal and typing the code [5] the video from the camera is sent to the port 8160. raspivid -o - -t 0 -hf -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264 [5] Now, from another computer connected in the same subnetwork and with VLC installed, the only thing that needs to be done is use the option “open a network” that VLC provides. Here the IP address from the Raspberry Pi (E.g.: 192.168.1.25) and the port where the video is being streamed have to be inserted in the following format “http://192.168.1.25:8160”.
114 With this simple steps the Raspberry Pi has been turned into an IP Ethernet Camera as is using the Ethernet port of the board to stream the video. In order to power up the Raspberry PI and stream the video directly without any kind of user interaction, the method to modify the “.bashrc” file has been choose. By opening a terminal and typing the code [6] the file is opened, now in the last line, two code lines must be added, first the code [7] and then the code [5] but preceded by “sudo”, see code [8]. Finally save the file and exit. sudo nano /home/pi/.bashrc [6] echo Running at boot [7] sudo raspivid -o - -t 0 -hf -w 800 -h 400 -fps 24 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264 [8] Before restarting the Raspberry PI one last thing is recommended, using again the code [1], in the boot options, select “boot on console”, this turns off the GUI and starts the OS in a console, this allows to save energy as the display will not be used. With this steps, any time that the Raspberry PI is powered up, it automatically starts to send the video to the IP address of the board and to the port that has been established. By using any computer with VLC installed the video output of the camera can be seen. If this would have to be used in the GCEM laboratory the domestic a static IP in the same subnetwork should be used for the Raspberry Pi, as has been done in Appendix III.
115 Appendix V: EMC legislation of the equipment In this appendix are summarized all the EMC legislation found on the equipment researched for the systems. Logitech HD Pro C920 C Being Logitech a very well-known company and supplier of electronic equipment, in the DoC of the Logitech HD Pro C920 can be found the information stated in Table 31 regarding EMC legislation. Table 31. EMC legislation for Logitech HD Pro C920 The product conforms with the essential requirements and provisions of: Electromagnetic Compatibility Directive (EMC) 2014/30/EU of 26 February 2014 The following standards and/or other normative documents: EMC EN 55032:2012/AC:2013 :Class B : Information technology equipment - Radio disturbance characteristic EN 55024:2010 : Information technology equipment - Immunity characteristics ESD EN 61000-4-2: 2009 RS EN 61000-4-3: 2006+A1:2008+A2:2010 EFTB* EN 61000-4-4: 2012 Surge* EN 61000-4-5: 2014 Conducted RF* EN 61000-4-6: 2014 Magnetic Field* EN 61000-4-8: 2010 Dip & Interrupt* EN 61000-4-11: 2004 *: Standard not applicable to the device For Information: On the basis of this declaration, this product carries the CE mark, which was first affixed in 2012 D-Link DCS-932L D-Link is a well-known company and supplier of electronic equipment, in the DoC of the D- Link DCS-932L can be found the information stated in Table 32 regarding EMC legislation. Table 32. EMC legislation for D-Link DCS-932L DCS-932L is in compliance with the essential requirements and other relevant provisions of the directives 1999/5/EC (R&TTE).
116 For the evaluation of the compliance with these directives, the following standards are applied: EMC EN 301 489-1 V1.9.2 EN 301 489-1 V1.9.2 EN 55022: 2010+AC:2011, Class B EN 61000-3-2: 2006+A2: 2009 EN 61000-3-3: 2008 EN 55024: 2010 For Information: This product carries the CE mark. Raspberry Pi 3B Raspberry Pi foundation is a charitable Organization founded to promote the study of computer science, like so is very transparent with the legislation of its products. In the DoC of the Raspberry Pi 3B can be found the information stated in Table 33 regarding EMC legislation. Table 33. EMC legislation for Raspberry Pi 3B Raspberry Pi 3 Model B is in conformity with the essential requirements and other relevant requirements of the Radio Equipment Directive 2014/53/EU. The product is in conformity with the following standards and7or normative documents: EMC (Art. 3(1)(b)) EN55032:2012 EN55024:2010 With reference to: EN301489-1V1.9.2 EN301489-17V2.2.1 For Information: This product carries the CE mark. Raspberry Pi Camera 2 & Pi Noir Camera In the DoC of the Raspberry Pi Camera 2 can be found the information stated in Table 34 regarding EMC legislation.
117 Table 34. EMC legislation for Raspberry Pi Camera 2 Raspberry Pi Camera 2 is in conformity with the following applicable community harmonised legislation: Electromagnetic Compatibility Directive (EMC) 2014/30/EU The following harmonised standards have been used to demonstrate conformity to the standard: EMC 55032:2012 Class B EN55024:2010 EN61000-3-2:2014 EN61000-3-3:2013 For Information: This product carries the CE mark. Raspberry Pi Zero W In the Raspberry Pi Zero W DoC can be found the information stated in Table 35 regarding EMC legislation. Table 35. EMC legislation for Raspberry Pi Zero W Raspberry Pi Zero W is in conformity with the essential requirements and other relevant requirements of the Radio Equipment Directive 2014/53/EU. The product is in conformity with the following standards and or normative documents: EMC (Art. 3(1)(b)) EN55032:2012 EN55024:2010 With reference to: EN301489-1V1.9.2 EN301489-17V2.2.1 For Information: This product carries the CE mark. 10Gtek A7S2 Gigabit Ethernet Media Converter A7S2 Gigabit Ethernet Media Converter carries the CE mark, and according to the certification the information regarding the EMC legislation can be found in Table 36 below. Table 36. EMC legislation for A7S2 Gigabit Ethernet Media Converter The optical transceivers are in conformity with the Directive 2014/30/EU. The product is in conformity with the following standards and or normative documents:
118 EMC EN55032∶ 2015 EN61000-3-2∶ 2014 EN61000-3-3∶ 2013 EN55024∶ 2010+A1: 2015 For Information: This product carries the CE mark. Anker PowerCore 13000 Anker is a well-known company and supplier of electronic equipment, in the DoC of the Anker PowerCore 13000 can be found the information stated in Table 37Table 32 regarding EMC legislation. Table 37. EMC legislation for Anker PowerCore 13000 The above referenced product complies with the following recognized directive and standards, applicable in part or in whole: 2014/30/EU EMC EN 55032:2015 EN 55024:2010+A1:2015 For Information: This product carries the CE mark.
119 Appendix VI: USB analysis In this appendix a further detail on the USB investigation and the optical conversion for the USB protocol is further detailed. USB protocol In the following sections the USB protocol is analysed to better understand how to send the USB protocol over fiber optics. Pinout The standard USB connector (USB type A) has the following signals defined in Table 38. Table 38. USB pinout and signals Contact Number Signal Name Description Typical cable colour 1 VBUS / VCC + 5 V Red 2 D- Data - White/Grey 3 D+ Data + Green 4 GND Ground Black In the Figure 73 can be seen a diagram of a USB male and female type A connector. Figure 73. USB type A pinout USB versions Now a days there are three versions of the USB protocol, the main characteristics are explained below. USB 1.0 Released in 1996 USB 1.0 specifies two data rates, 1.5 Mbit/s for Low Bandwidth or Low Speed and 12 Mbit/s for Full Speed. USB 2.0 Released in 2000 besides the two speeds of USB 1.0, it was added a higher data rate of 480 Mbit/s named High Speed. USB 3.0
126 Figure 82 USB serial conversion There are several Integrated Circuits (IC) that perform this function, for example the CP2102 from Silicon Labs. Yet this approach doesn’t work due to that the USB peripheral are detected as a COM serial port, and it can’t be used as a Host for the camera. USB interface and Microcontroller/FPGA The idea of this approach is to use a microcontroller or a FPGA to reduce the complexity of the link of the optical conversion with the transceiver. The transceivers to be used would be the same than in the previous section. In the Figure 83 can be seen a block diagram with this configuration. Figure 83. Conversion with transceiver and Microcontroller/FPGA A USB transceiver is usually a chip that implements the hardware parts of the USB protocol for an end device. Nowadays dedicated chips for this are not used much because USB peripherals are built into microcontrollers. So the configuration would be reduced as can be seen in Figure 84.
127 Figure 84. Conversion with Microcontroller/FPGA Although this option would be feasible, it would require a lot of designing time to produce a functional optical converter. In the following sections can be seen available microcontrollers and FPGAs. Microcontrollers For the microcontroller option a PIC microcontroller of Microchip would be good options, for example: PIC18F45K50 PIC18F4550 PIC 18F2455 PIC 18F2550 PIC 18F4455 PIC 16F1455 FPGA A good option would be Altera Cyclone III FPGA, as is a low power, high functionality and low cost FPGA. Other such as be Altera Cyclone I or Alter Cyclone II could be also used.
128 Glossary Acronyms APC: Angled Physical Contact ................................................................................ 44, 104 CCTV: Closed-Circuit television (Video Surveillance) ............................................... 35, 46 DoC: Declaration of Conformity .............................................................................. passim E.g.: For example ......................................................................................................... 113 EMC: Electromagnetic Compatibility ....................................................................... passim EMI: Electromagnetic Interferences ........................................................................ passim EUT: Equipment Under Test ................................................................................... passim GUI: Graphical User Interface ....................................................................................... 114 IC: Integrated Circuits ................................................................................................... 126 OS: Operating System .......................................................................................... 113, 114 PoF: Power over Fiber .................................................................................................... 32 RF: Radio Frequency ...................................................................................................... 23 SC: Square Connector .............................................................................................. 43, 44 SMF: Single-Mode optical fiber ................................................................................. 43, 44