首页> 外文OA文献 >Telemetría de vehículos FSAE con microcontrolador PIC32 y transceptor de radio CC1101
【2h】

Telemetría de vehículos FSAE con microcontrolador PIC32 y transceptor de radio CC1101

机译:带有PIC32微控制器和CC1101无线电收发器的FSAE车辆遥测

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Quizás el campo de las telecomunicaciones sea uno de los campos en el que más se ha progresado en este último siglo y medio, con la ayuda de otros campos de la ciencia y la técnica tales como la computación, la física electrónica, y un gran número de disciplinas, que se han utilizado estos últimos 150 años en conjunción para mejorarse unas con la ayuda de otras. Por ejemplo, la química ayuda a comprender y mejorar campos como la medicina, que también a su vez se ve mejorada por los progresos en la electrónica creados por los físicos y químicos, que poseen herramientas más potentes para calcular y simular debido a los progresos computacionales.udOtro de los campos que ha sufrido un gran avance en este último siglo es el de la automoción, aunque estancados en el motor de combustión, los vehículos han sufrido enormes cambios debido a la irrupción de los avances en la electrónica del automóvil con multitud de sistemas ya ampliamente integrados en los vehículos actuales.udLa Formula SAE® o Formula Student es una competición de diseño, organizada por la SAE International (Society of Automotive Engineers) para estudiantes de universidades de todo el mundo que promueve la ingeniería a través de una competición donde los miembros del equipo diseñan, construyen, desarrollan y compiten en un pequeño y potente monoplaza.udEn el ámbito educativo, evitando el sistema tradicional de clases magistrales, se introducen cambios en las metodologías de enseñanza y surge el proyecto de la Fórmula Student para lograr una mejora en las acciones formativas, que permitan ir incorporando nuevos objetivos y diseñar nuevas situaciones de aprendizaje que supongan una oportunidad para el desarrollo de competencias de los alumnos, mejorar su formación como ingenieros y contrastar sus progresos compitiendo con las mejores universidades del mundo.udEn este proyecto se pretende dotar a los alumnos de las escuelas de ingeniería de la UPM que desarrollan el vehículo de FSAE de una herramienta de telemetría con la que evaluar y probar comportamiento del vehículo de FSAE junto con sus subsistemas que ellos mismos diseñan, con el objetivo de evaluar el comportamiento, introducir mejoras, analizar resultados de una manera más rápida y cómoda, con el objetivo de poder progresar más rápidamente en su desarrollo, recibiendo y almacenando una realimentación directa e instantánea del funcionamiento mediante la lectura de los datos que circulan por el bus CAN del vehículo. También ofrece la posibilidad de inyectar datos a los sistemas conectados al bus CAN de manera remota.udSe engloba en el conjunto de proyectos de la FSAE, más concretamente en los basados en la plataforma PIC32 y propone una solución conjunta con otros proyectos o también por sí sola.udPara la ejecución del proyecto se fabricó una placa compuesta de dos placas de circuito impreso, la de la estación base que envía comandos, instrucciones y datos para inyectar en el bus CAN del vehículo mediante radiofrecuencia y la placa que incorpora el vehículo que envía las tramas que circulan por el bus CAN del vehículo con los identificadores deseados, ejecuta los comandos recibidos por radiofrecuencia y salva las tramas CAN en una memoria USB o SD Card. Las dos PCBs constituyen el hardware del proyecto.udEl software se compone de dos programas. Un programa para la PCB del vehículo que emite los datos a la estación base, codificado en lenguaje C con ayuda del entorno de desarrollo MPLAB de Microchip. El otro programa hecho con LabView para la PCB de la estación base que recibe los datos provenientes del vehículo y los interpreta.udSe propone un hardware y una capa o funciones de software para los microcontroladores PIC32 (similar al de otros proyectos del FSAE) para la transmisión de las tramas del bus CAN del vehículo de manera inalámbrica a una estación base, capaz de insertar tramas en el bus CAN del vehículo enviadas desde la estación base. También almacena estas tramas CAN en un dispositivo USB o SD Card situado en el vehículo.udPara la transmisión de los datos se hizo un estudio de las frecuencias de transmisión, la legislación aplicable y los tipos de transceptores. Se optó por utilizar la banda de radiofrecuencia de uso común ISM de 433MHz mediante el transceptor integrado CC110L de Texas Instruments altamente configurable y con interfaz SPI. Se adquirieron dos parejas de módulos compatibles, con amplificador de potencia o sin él.udLabView controla la estación que recoge las tramas CAN vía RF y está dotada del mismo transceptor de radio junto con un puente de comunicaciones SPI-USB, al que se puede acceder de dos diferentes maneras, mediante librerías dll, o mediante NI-VISA con transferencias RAW-USB. La aplicación desarrollada posee una interfaz configurable por el usuario para la muestra de los futuros sensores o actuadores que se incorporen en el vehículo y es capaz de interpretar las tramas CAN, mostrarlas, gráfica, numéricamente y almacenar esta información, como si fuera el cuadro de instrumentos del vehículo.udExiste una limitación de la velocidad global del sistema en forma de cuello de botella que se crea debido a las limitaciones del transceptor CC110L por lo que si no se desea filtrar los datos que se crean necesarios, sería necesario aumentar el número de canales de radio para altas ocupaciones del bus CAN.udDebido a la pérdida de relaciones con el INSIA, no se pudo probar de manera real en el propio vehículo, pero se hicieron pruebas satisfactorias (hasta 1,6 km) con una configuración de tramas CAN estándar a una velocidad de transmisión de 1 Mbit/s y un tiempo de bit de 1 microsegundo. El periférico CAN del PIC32 se programará para cumplir con estas especificaciones de la ECU del vehículo, que se presupone que es la MS3 Sport de Bosch, de la que LabView interpretará las tramas CAN recibidas de manera inalámbrica.udPara poder probar el sistema, ha sido necesario reutilizar el hardware y adaptar el software del primer prototipo creado, que emite tramas CAN preprogramadas con una latencia también programable y que simulará al bus CAN proporcionando los datos a transmitir por el sistema que incorpora el vehículo.udDurante el desarrollo de este proyecto, en las etapas finales, el fabricante del puente de comunicaciones SPI-USB MCP2210 liberó una librería (dll) compatible y sin errores, por lo que se nos ofrecía una oportunidad interesante para la comparación de las velocidades de acceso al transceptor de radio, que se presuponía y se comprobó más eficiente que la solución ya hecha mediante NI-VISA.udABSTRACT.udThe Formula SAE competition is an international university applied to technological innovation in vehicles racing type formula, in which each team, made up of students, should design, construct and test a prototype each year within certain rules. The challenge of FSAE is that it is an educational project farther away than a master class.udThe goal of the present project is to make a tool for other students to use it in his projects related to FSAE to test and improve the vehicle, and, the improvements that can be provided by the electronics could be materialized in a victory and win the competition with this competitive advantage.udA telemetry system was developed. It sends the data provided by the car’s CAN bus through a radio frequency transceiver and receive commands to execute on the system, it provides by a base station on the ground. Moreover, constant verification in real time of the status of the car or data parameters like the revolutions per minute, pressure from collectors, water temperature, and so on, can be accessed from the base station on the ground, so that, it could be possible to study the behaviour of the vehicle in early phases of the car development.udA printed circuit board, composed of two boards, and two software programs in two different languages, have been developed, and built for the project implementation. The software utilized to design the PCB is Orcad10.5/Layout.udThe base station PCB on a PC receives data from the PCB connected to the vehicle’s CAN bus and sends commands like set CAN filters or masks, activate data logger or inject CAN frames. This PCB is connected to a PC via USB and contains a bridge USB-SPI to communicate with a similar transceiver on the vehicle PCB. LabView controls this part of the system. A special virtual Instrument (VI) had been created in order to add future new elements to the vehicle, is a dashboard, which reads the data passed from the main VI and represents them graphically to studying the behaviour of the car on track. In this special VI other alums can make modifications to accommodate the data provided from the vehicle CAN’s bus to new elements on the vehicle, show or save the CAN frames in the form or format they want.udTwo methods to access to SPI bus of CC110l RF transceiver over LabView have been developed with minimum changes between them. Access through NI-VISA (Virtual Instrument Software Architecture) which is a standard for configuring, programming, USB interfaces or other devices in National Instruments LabView. And access through DLL (dynamic link library) supplied by the manufacturer of the bridge USB-SPI, Microchip. Then the work is done in two forms, but the dll solution developed shows better behaviour, and increase the speed of the system because has less overload of the USB bus due to a better efficiency of the dll solution versus VISA solution.udThe PCB connected to the vehicle’s CAN bus receives commands from the base station PCB on a PC, and, acts in function of the command or execute actions like to inject packets into CAN bus or activate data logger. Also sends over RF the CAN frames present on the bus, which can be filtered, to avoid unnecessary radio emissions or overflowing the RF transceiver. This PCB consists of two basic pieces: A microcontroller with 32 bit architecture PIC32MX795F512L from Microchip and the radio transceiver integrated circuit CC110l from Texas Instruments.udThe PIC32MX795F512L has an integrated CAN and several peripherals like SPI controllers that are utilized to communicate with RF transceiver and SD Card. The USB controller on the PIC32 is utilized to store CAN data on a USB memory, and change notification peripheral is utilized like an external interrupt. Hardware for other peripherals is accessible. The software part of this PCB is coded in C with MPLAB from Microchip, and programming over PICkit 3 Programmer, also from Microchip. Some of his libraries have been modified to work properly with this project and other was created specifically for this project.udIn the phase for RF selection and design is made a study to clarify the general aspects of regulations for the this project in order to understand it and select the proper band, frequency, and radio transceiver for the activities developed in the project. From the different options available it selects a common use band ICM, with less regulation and free to emit with restrictions and disadvantages like high occupation.udThe transceiver utilized to transmit and receive the data CC110l is an integrated circuit which needs fewer components from Texas Instruments and it can be accessed through SPI bus. Basically is a state machine which changes his state whit commands received over an SPI bus or internal events. The transceiver has several programmable general purpose Inputs and outputs. These GPIOs are connected to PIC32 change notification input to generate an interrupt or connected to GPIO to MCP2210 USB-SPI bridge to inform to the base station for a packet received.udA two pair of modules of CC110l radio module kit from different output power has been purchased which includes an antenna. This is to keep away from fabrication mistakes in RF hardware part or designs, although reference design and gerbers files are available on the webpage of the chip manufacturer.udA neck bottle is present on the complete system, because the maximum data rate of CC110l transceiver is a half than CAN bus data rate, hence for high occupation of CAN bus is recommendable to filter the data or add more radio channels, because the buffers can’t sustain this load along the time.udUnfortunately, during the development of the project, the relations with the INSIA, who develops the vehicle, was lost, for this reason, will be made impossible to test the final phases of the project like integration on the car, final test of integration, place of the antenna, enclosure of the electronics, connectors selection, etc.udTo test or evaluate the system, it was necessary to simulate the CAN bus with a hardware to feed the system with entry data. An early hardware prototype was adapted his software to send programed CAN frames at a fixed data rate and certain timing who simulate several levels of occupation of the CAN Bus. This CAN frames emulates the Bosch ECU MS3 Sport.
机译:在其他科学和技术领域(例如计算,电子物理学等)的帮助下,也许电信领域是上个半世纪以来取得最大进展的领域之一。这些学科在过去的150年中一直被用来在他人的帮助下相互提高。例如,化学有助于理解和改进诸如医学等领域,而物理学家和化学家所创造的电子学的进步反过来又促进了化学领域的发展,物理学家和化学家由于计算的进步而拥有更强大的工具来进行计算和仿真。在上个世纪中取得突破的其他领域是汽车领域,尽管内燃机停滞不前,但由于汽车电子技术的进步取得突破,汽车经历了巨大的变化。 udFormulaSAE®或Formula Student是由SAE International(汽车工程师学会)组织的设计竞赛,面向来自世界各地大学的学生,他们通过竞赛是指团队成员在一个功能强大的小型单座飞机上进行设计,建造,开发和竞争的运动。 ud在教育领域,他们避免在传统的大师班制中,改变了教学方法,并出现了学生公式项目,以改进培训活动,这使新目标得以纳入并设计出新的学习环境,从而为学生提供了机会。该项目旨在为开发FSAE车辆的芬欧汇川工程学院的学生提供与世界上最好的大学竞争的能力。遥测工具,用于评估和测试FSAE车辆及其自身设计的子系统的行为,目的是评估行为,以更快,更舒适的方式引入改进,分析结果,从而能够在开发,接收和存储直接反馈方面进步更快通过读取车辆CAN总线上循环的数据获得操作快照。 UdIt包含在FSAE的项目集中,尤其是在基于PIC32平台的项目中,并建议与其他项目联合解决方案,也可以通过以下方式提出: ud为执行该项目,制造了一块由两块印刷电路板组成的板,该基站的板通过射频发送命令,指令和数据以将其注入到车辆的CAN总线中,而该板与车辆合并在一起发送带有所需标识符的在车辆CAN总线上循环的帧,执行射频接收的命令,并将CAN帧保存在USB存储器或SD卡中。这两个PCB组成项目硬件 Ud该软件包含两个程序。用于车辆PCB的程序,该数据在Microchip的MPLAB开发环境的帮助下以C语言编码输出到基站的数据。基站PCB的另一个LabView程序从车辆接收数据并对其进行解释 UdPIC32微控制器(类似于其他FSAE项目)被提议为硬件和软件层或功能。将帧从车辆的CAN总线无线传输到基站,并能够将帧插入从基站发送的车辆的CAN总线中。它还将这些CAN帧存储在位于车辆中的USB或SD卡设备上。 Ud为了传输数据,对传输频率,适用法规和收发器类型进行了研究。使用具有SPI接口的高度可配置的Texas Instruments CC110L集成收发器选择了433MHz ISM常用无线电频段。购买了两对兼容模块,带或不带功率放大器 UdLabView控制通过RF收集CAN帧的站,该站配备有相同的无线电收发器以及SPI-USB通信桥,可以通过dll库或通过具有RAW-USB传输的NI-VISA,以两种不同的方式进行访问。开发的应用程序具有用户可配置的界面,用于显示集成在车辆中的将来的传感器或执行器,并且能够解释CAN图,以图形,数字方式显示它们并存储此信息。 ud由于CC110L收发器的局限性而导致创建了瓶颈全局速度限制,因此如果您不想过滤所创建的数据 ud由于与INSIA的关系中断,因此无法在车辆本身中进行真实测试,但是进行了令人满意的测试(最多1, 6 km),具有标准CAN帧配置,传输速率为1 Mbit / s,位时间为1微秒。 PIC32的CAN外设将被编程为符合车辆ECU的这些规范,假定这是Bosch MS3 Sport,LabView将通过该规范无线解释接收的CAN帧。必须重用硬件并改编所创建的第一个原型的软件,该原型将发出具有可编程等待时间的预编程CAN帧,并且将通过提供要由车辆内置系统传输的数据来模拟CAN总线。在最后阶段,MCP2210 SPI-USB通信桥的制造商发布了兼容且无错误的库(dll),从而为我们提供了比较无线电收发器访问速度的有趣机会, udABSTRACT。 udFormula SAE竞赛是一所国际大学,它被认为并证明比使用NI-VISA的解决方案更有效。应用于赛车类型公式的技术创新,其中由学生组成的每个团队每年应在一定规则内设计,构造和测试原型。 FSAE的挑战是,这是一个比硕士班更远的教育项目 Ud本项目的目标是为其他学生提供一个工具,以在其与FSAE相关的项目中使用该工具来测试和改进车辆,以及因此,电子产品可以提供的改进可以取得成功,并凭借这种竞争优势赢得竞争。 udA遥测系统得以开发。它通过射频收发器发送汽车CAN总线提供的数据,并接收在系统上执行的命令,该命令由地面上的基站提供。此外,可以从地面上的基站访问汽车状态或每分钟转数,收集器压力,水温等数据参数的实时实时验证,从而可以 udA印刷电路板由两块板和两种不同语言的两个软件程序组成,并已开发用于项目实施。用于设计PCB的软件是Orcad10.5 / Layout。 Ud PC上的基站PCB从连接到车辆CAN总线的PCB接收数据,并发送命令,如设置CAN过滤器或模板,激活数据记录器或注入CAN帧。该PCB通过USB连接到PC,并包含桥接USB-SPI,以与车辆PCB上的类似收发器进行通信。 LabView控制系统的这一部分。为了将未来的新元素添加到车辆中,已经创建了一种特殊的虚拟仪器(VI),它是一个仪表板,可读取从主VI传递来的数据,并以图形方式表示它们,以研究行驶中的汽车的行为。在这个特殊的VI中,其他校友可以进行修改,以容纳从车辆CAN总线提供的数据到车辆上的新元素,以所需的形式或格式显示或保存CAN帧 Ud两种访问CC110l的SPI总线的方法通过LabView开发的RF收发器之间的变化很小。通过NI-VISA(虚拟仪器软件体系结构)进行访问,这是用于配置,编程,USB接口或National Instruments LabView中其他设备的标准。并通过桥USB-SPI制造商Microchip提供的DLL(动态链接库)进行访问。然后,工作以两种形式完成,但是开发的dll解决方案表现出更好的性能,并且由于dll解决方案相对于VISA解决方案具有更高的效率而导致USB总线的过载更少,从而提高了系统速度。车辆的CAN总线接收来自PC上的基站PCB的命令,并执行该命令的功能或执行将数据包注入CAN总线或激活数据记录器等动作。还通过RF发送总线上存在的CAN帧,可以对其进行过滤,以避免不必要的无线电发射或RF收发器溢出。该PCB由两个基本部分组成:具有32位架构的Microchip单片机和来自Texas Instruments的无线电收发器集成电路CC110l。 udPIC32MX795F512L具有集成的CAN和多个外围设备(如SPI控制器),可用于与RF收发器和SD卡。 PIC32上的USB控制器用于将CAN数据存储在USB存储器中,而更改通知外设则用于外部中断。可访问其他外围设备的硬件。该PCB的软件部分使用Microchip的MPLAB进行C语言编码,并使用Microchip的PICkit 3编程器进行编程。他的一些库已经过修改,可以正常使用此项目,而另一些则专门为此项目创建。 ud在RF选择和设计阶段进行了一项研究,以弄清该项目的一般规定,以便于理解。为项目中开发的活动选择合适的频段,频率和无线电收发器。它从可用的不同选项中选择了一个通用频段ICM,它具有较少的调节性并且可以自由发射,并具有诸如占用率高的限制和缺点。可以通过SPI总线进行访问。基本上是一个状态机,它会更改通过SPI总线或内部事件接收到的状态命令。收发器具有几个可编程的通用输入和输出。这些GPIO连接到PIC32更改通知输入以产生中断,或者连接到GPIO到MCP2210 USB-SPI桥以通知基站接收到的数据包。 ud来自不同输出功率的CC110l无线电模块套件的两对模块具有已购买,其中包括天线。这是为了避免RF硬件零件或设计中的制造错误,尽管芯片制造商的网页上提供了参考设计和gerbers文件。 ud整个系统中都存在瓶颈,因为CC110l收发器的最大数据速率是CAN总线数据速率的一半,因此对于高占用率的CAN总线,建议过滤数据或添加更多无线电信道,因为缓冲区不能随时间承受这种负载。 ud不幸的是,在项目开发期间,因此,与开发汽车的INSIA的关系被丢失了,因此,将无法测试项目的最后阶段,例如汽车上的集成,集成的最终测试,天线的位置,外壳的外壳。电子设备,连接器选择等。 ud要测试或评估系统,必须使用硬件模拟CAN总线,以向系统提供输入数据。早期的硬件原型对其软件进行了修改,以固定的数据速率和特定的时序发送已编程的CAN帧,从而模拟了CAN总线的多个占用水平。该CAN框架模拟了Bosch ECU MS3 Sport。

著录项

  • 作者

    Iglesias Ortiz Pedro;

  • 作者单位
  • 年度 2015
  • 总页数
  • 原文格式 PDF
  • 正文语种 spa
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号