DOC PREVIEW
Columbia CSEE 4840 - Telemetry System Design Document

This preview shows page 1 out of 4 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 4 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

DAQ-T: Telemetry System Design Document Laxmikant Joshi, Sangeeta Das, Stephen Tarzia, Waclaw Godycki Implementation Overview Analog signals are generated by sensor located on various parts of the engine and chassis or by outputs of the EFI-ECU. Please refer to Project Description for details on sensor names/implementations. These signals will need some analog interface circuitry to attach to the ADC or timer channels of the PIC Microcontroller (MCU). Single value signals (such as thermistor signals/strain gauges) will go to ADC channels, and time based signals will go to timer channels. The data will be converted into 8-bit PCM words by the MCU. The basis of the processing is a simple polling loop. On every polling loop cycle, the MCU will initiate A/D conversion on each ADC channel, store the results in memory, store pulse width timer data to memory, then construct a frame of data by retrieving the most recent data from memory and sequentially transmitting it to the radio modem via the UART. The MCU has a tri-state bus, with all data path and peripheral elements on the bus. All peripherals are controlled by memory mapped control registers. The radio modem link sends the data to a receiver at the base station, most likely a laptop computer. The raw data will then be processed by the laptop on site and displayed in user readable format either graphically or textually. Simplified Block Dataflow Diagram Sensor Hardware All analog signals. Includes signal value analog voltages and pulse width modulated signals. PIC MCU Integrated Microcontroller, RAM memory, A/D Converters, timers, UART PIC UART Transmits raw serial data from on chip bus to external bus. Radio Modem Wireless transmission link driven by UART. Receiver Laptop/Basestation Processes raw data and displays decoded information on screen.Sensors and analog interface circuitry Since all sensor signals are piggybacked from the stock ECU built into the engine, all voltage signals will be buffered by high input impedance op-amp circuitry to ensure signal strength/integrity and low attenuations. Some signals (e.g. temperature) are single valued voltage signals. Others, such as RPM and injector controls, are time based signals that require pulse width timing. All signals are referenced to a common ground point. The injector pulse control signals are slightly trickier since there are two of them. However, only one of them is on at a given instant of time. All that is needed for fuel consumption is the running sum of the pulse widths. The two signals feeding the digital timer will simply be added using an analog adder circuit so only one PIC timer channel is needed. The pulse will also be fed into an AND gate with the chip clock signal because of the nature of the on chip timer circuitry. The dynamic range of most signals will be between 0 and 5V. However the injector pulses are 0 or 12 V digital signals. To preserve the dynamic range constraints imposed by a 5V power supply, the injector pulse buffers will be designed to clamp the signals to 5V. By the nature of the RPM sensor, the RPM signal is not a constant amplitude frequency modulated signal and can have a large dynamic range. To account for variations in amplitude, a 5V hard limiter will be used to saturate the RPM signal to constant amplitude. While the original signal is sinusoidal, the amplitude values are irrelevant and the frequency data will be preserved by the hard limiter. The power supply could prove to be the most difficult component to construct. The standard automotive power supply (nominally 12 V lead-acid battery) is charged by an alternator and the actual battery voltage can vary a few volts depending on a myriad of conditions. A regulated 5V power supply is needed for the MCU and most other components. It is desired to try to use single supply 5V opamp chips if possible. If dual rail power supply is necessary, an inverting switched-capacitor voltage regulator can be used to generate a -5V signal. A low-dropout voltage three terminal voltage regulator will be used to clamp the battery voltage to 5V. Large decoupling capacitors (50-300 uf electrolytic) will be placed near the regulator to filter large noise spikes. Smaller valued (1uf and 1nf) caps will be placed near chip inputs to filter out small higher frequency noise spikes. Worst-case scenario, if power supply noise cannot be removed, a provision will be made to use independent 5V batteries. Ultimately a PCB will have to be made for the final circuitry. This will be at least a two layer board, but ideally a dedicated ground plane may be desired to reduce noise problems. This will be designed after the working prototype is tested. MCU structure A PIC16F77 microcontroller will be used to sample, process, and initiate the serial data transmission sequence. It has built in memory-mapped 8channel x 8bit A/D converter, two digital timer channels, and a UART. Each peripheral is controlled by its respective control and status registers. It has a very small fixed instruction set that can be used tomake assembly level programs which will be downloaded to an on chip instruction cache by a programmer. The program memory is 8Kx14bit word length, and the datapath has 360 bytes of RAM. Wireless radio link A Maxstream 9X PKG-R serial radio modem link will be used to transmit the data sampled and processed by the MCU. It has a maximum of 9600kps of serial data throughput and can transmit data wirelessly up to 3km with a direct line of sight. It readily interfaces to the MCU UART via output pins using standard 5V TTL/CMOS voltage values. The two components will be connected using a DB-9 null modem cable. MCU Programming and Program Structure The central component in our system is a Microchip PIC16F77 microcontroller. Programming will be done in assembly and instruction data will be stored in the on-chip EEPROM. The PIC will execute a loop consisting of a polling phase and a serial transmission phase. There are two different types of signals to be polled. The first, and simplest, are the discrete voltage signals attached to the eight ADC inputs. The PIC16F77 has only one ADC. All eight inputs connect to this single ADC through an eight position switch, controlled by a status register. In the first part of the polling phase, this switch will be cycled through all eight positions, storing the value read at each position to a dedicated memory location. In the


View Full Document

Columbia CSEE 4840 - Telemetry System Design Document

Documents in this Course
SPYCAM

SPYCAM

91 pages

PAC-XON

PAC-XON

105 pages

lab 1

lab 1

6 pages

memory

memory

3 pages

Structure

Structure

12 pages

Video

Video

3 pages

pacman

pacman

4 pages

Lab 1

Lab 1

6 pages

Scorched

Scorched

64 pages

lab 1

lab 1

3 pages

Video

Video

22 pages

Memory

Memory

23 pages

DVoiceR

DVoiceR

29 pages

MAZE

MAZE

56 pages

PAC XON

PAC XON

13 pages

PACXON

PACXON

13 pages

MP3 Player

MP3 Player

133 pages

Load more
Download Telemetry System Design Document
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Telemetry System Design Document and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Telemetry System Design Document 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?