亚洲免费av电影一区二区三区,日韩爱爱视频,51精品视频一区二区三区,91视频爱爱,日韩欧美在线播放视频,中文字幕少妇AV,亚洲电影中文字幕,久久久久亚洲av成人网址,久久综合视频网站,国产在线不卡免费播放

        ?

        Intelligent automobile pedal controller based on CAN bus

        2014-03-09 03:31:56QianWANGHuizhongYANGZhaoboQING
        機(jī)床與液壓 2014年12期
        關(guān)鍵詞:收發(fā)器防撞踏板

        Qian WANG,Hui-zhong YANG,Zhao-bo QING

        College of Mechanical Engineering,China Jiliang University,Hangzhou 310018,China

        Intelligent automobile pedal controller based on CAN bus

        Qian WANG?,Hui-zhong YANG,Zhao-bo QING

        College of Mechanical Engineering,China Jiliang University,Hangzhou 310018,China

        This paper is mainly aboutautomobile door pedalused in the production.It carried out the research of CAN bus(controller area network-bus),analyzed its working principle,hierarchical structure and protocol.Combined with the analysis of the door pedaloperating principle,this paper designed a distributed CAN bus controlsystem.The system consists of a master CPU and four distributed control units,adopting CAN transceiver PCA82C250 to connectwith each other.The method of software imp lementation of the CAN communication system was carried out,and comparatively the algorithm of the anti-pinch and anti-collision function was analyzed.Finally it verifies the running effect of the controller with LabVIEW.

        CAN bus,Intelligent car pedal controller,Anti-pinch function,Anti-collision function,PCA82C250 transceiver

        ? Qian WANG,E-mail:1013177030@qq.com

        1.Introduction

        Abroad automatic telescopic pedal is already in application on many public transport equipments,such as public bus,luxury bus,city light rail.While auto intelligent pedal system used on the cars and limos is just appeared recently,such as that of Range rover,but the installation cost is too high.The largest domestic company focusing on automobile intelligent adjustable pedal system is T-Max,whose imitation ismore,the cost is high.That requires research and development of new smart car pedal controller.Figure 1 is one kind of producing car door pedal for SUVs.This paper introduces Microchip Company's single-chip microcomputer PIC18F25K80 with internal CAN module as the core,as well as the design process of CAN bus intelligent car pedal controller hardware and software program.

        2.CAN bus technology

        CAN(controller area network)is a multiple hosts local network system exploited by Bosch company for automotive application.Bus adopts differential signal serial communication to work,whose anti-jamming capability is strong,which has non-destructive arbitration function based on priority,can realize multiple addressmessage transmission.In addition to automotive electronics,CAN bus has been widely used in areas,such as industrial automation and control equipment,medical instrument and environment detection.CAN bus users have become accustomed to the traditional independent CAN controller.With the development of the various application requirements and technology,more and more CAN modules of controllers appear in the form of inside and outside the chip.CAN bus communication system based on embedded microcontroller controller(MCU)has some advantages such as simple interface circuit,flexible operation,powerful features[1].

        The topology[2]of the CAN bus is a typical serial bus structure.CAN bus protocol resolves bus conflict by a way of non-destructive arbitration.CAN bus is a protocol based on message rather than site address.CAN protocol is based on the ISO/OSImodel,but only takes the physical layer of the OSI bottom,data link layer and application layer of the OSI top,whose transmission medium is the twisted-pair cable.Communication rate is up to 1 Mbps/40 m.Direct transmission distance is as far as 10 km/5 kbps.Articulated devices number can reach 110.Signal transmission of CAN adopts the short frame structure,whose effective number of bytes per frame is eight,transmission time is short,and the probability of interference is low.When nodes have seriousmistakes,it has automatic shutdown function,to cut off the node with the bus connection,which strong antiinterference ability.

        Figure 1.Pedal out

        In CAN system design,themost used microcontroller is external independent CAN controller,such as Philips company PCA82C200,SJA1000 and Intel's 82526,82527[3] and other chips.Using such chip is harmful for system integration.This paper selected microcontroller PIC18F25K80 which embedded CAN controller as the CPU.

        3.The Com position of Car Pedal Controller Communication Network

        Electric pedal control system communication network with a total of four CAN node electronic controllers,which are left front doors controller,right front doors controller,the left rear doors controller,and right rear doors controller.The CAN bus communication technology can realize the communication between the four door controllers,as shown in Figure 2.

        The way that controller realizes the function is shown as follows:function of CAN bus to send and receive data,read analog on-board network signal in the door,battery voltage signal.The basic function of normal telescopic pedal is when the pedal stretches out and meets the collision objects,it stops and reversely recovers;when the pedal takes back and meets the collision objects,it stops back,back out.Pedal has collision and clampingmaterial information completely from the feedback signal to themotor currentof the controller.For differentobstacles,themotor current curve is different.

        Figure 2.Communication network structure

        4.Controller hardware design

        Car pedal controller ismainly composed of single chip microcomputerminimum system,power supplymodule,motor drivermodule,motor current samplingmodule,CAN bus network interface circuit.

        Among them,the power supply module is to convert the 12 V supply of the car to give standard voltage of 5 V for controller,as shown in Figure 3.Considering the cost and function need,motor driver module used the H bridge drivingmode,which saves the cost,also can achieve the required functionality,as shown in Figure 4.Motor current samplingmodule adopts the amplifier for resistance voltage,to represent themotor current feedback value.CAN bus network interfacemodule adopts PCA82C250 transceiver(TTL signals of single chip microcomputer is converted to differential signal of CAN bus).Current is limited by resistor to protect the transceiver from the impact of the flow.Small capacitance can rise to filter outhigh frequency interference and electromagnetic radiation on the bus,as shown in Figure 5.

        Figure 3.Power supply module

        Figure 4.Motor drivermodule

        Figure 5.CAN bus interfacemodule

        5.Sensorless control clip anti-collision function im p lementation

        Sensorless implementation of anti-pinch and anti-collision function reliesmainly on the recognition of motor currentwaveform figure,as shown in Figure 6.There are three ways for the motor current waveform recognition:the slopemethod and amplitude method and integralmethod[4].

        Figure 6.Motor currentwaveform figure

        6.The pedal control unit software design and im p lementation

        The software design of the system is very important.Tools used in the design are:software MPLAB IDE,the emulator ICD2.5.In order to improve the reliability and understandability,the paper adopts modularization program design idea,and the whole program is divided into five parts:① the main program,including system initialization program and monitoring program;② the CAN communication program,includingmessage program,message receiving and sending CAN errormanagement procedures,etc;③ the clip collision prevention program,using integral algorithm,discrimination encountered obstacles,and make the right response;④ the peripheral interface program,mainly includes the current signal acquisition program,switch signal recognition,received message analysis program and display;⑤interrupt program.

        The Program②,③mentioned above are the keys of the design.Figure 7 is the CAN communica-tion program(the left figure is the initial subprogram,the intermediate one is node data sending program,the right one is the node data reception procedures).Figure 8 is the clip collision prevention program.

        The initialization program of the CAN interface design is important.If the design is not good,the system will notwork properly.

        PIC18F25K80 MCU CAN interface initialization should set the first control registers,status register in configurationmode,the baud rate registers,I/O control register,receiving and filtering themask registers set according to requirements of the system,to ensure the smooth of CAN bus.

        Figure 7.CAN communication program

        Data is sent to subroutine.Data is sent automatically by the CAN controller based on CAN bus protocol.Data is sent by data query,that is,to send the information frame to sending buffer,and set up request identifier in the command register,then start the sending button.

        Receiving and sending the data are similar,which are done automatically by the CAN controller.The receiving application program only receives the data read from the receiving buffer,then follows the corresponding processing.Receiving data adopts interruptmode,that is,when receiving amessage,the information will go through the filter of the acceptance,that produce a receiving interrupt,then the data received from receiving register is transferred to the specified storage area and save up,finally the interrupt returns.

        Figure 8.Clip collision prevention program

        Clip collision prevention program adopts integral algorithm,that is,to calculate integral value ofmotor current curve,then compare the integral value with the threshold,then make the corresponding action.

        Master CPU(as shown in Figure 9)is responsible for collecting gating signals,battery voltage,determining the doors'open and close status,and sending commands to the subunit,thereafter receiving the subunit feedback information,monitoring subunit,which has the effect of the eye and brain.

        Figure 9.Car stepping control themain unit

        In order to guarantee the stability of the controller,it needs to monitor several key parts of the controller circuit,so dedicated test bed for signal acquisition is set up with PC software LabVIEW and USB acquisition card.PCmonitor screen is shown in Figure 10.Figure in the collection of information has a motor currentwaveform diagram,PIC18F25K80 controlmotor output pin status,control relay status,etc.So it is beneficial for finding interference problems in the circuit and optimizing the controller.

        Figure 10.PCmonitor screen

        7.Conclusion

        Intelligent vehicle pedal based on CAN bus will become the development trend of limo and SUV,which has a broad application prospect.This design adopts the single chip microcomputer PIC18F25K80 embedded CAN controller, CAN transceiver PCA82C250,whose circuit is simple and reliable,which monitors state of the door through CAN bus communication,then accordingly reacts quickly and accurately.CAN bus communication network in the design makes the pedal controller to integrate onboard network one step further.

        [1] Yang Chun-jie,Wang Shu-guang,Kang Hong-bo.CAN BUSTechnolegy[M].Beijing:Beijing University of Aeronautics and Astronautics Press,Commun.2003.

        [2] Shu Yan,An Ping,The implementation of CAN bus system[J].Computer application research,1998(2):58-62.

        [3] Wang Li-ming,Xia Li,Shao Ying.The design of the CAN field bus system and application[M].Electronic industry press,2008.

        [4] Zhao Shu-peng,Wang Xu-dong,Car door control system based on CAN bus design[J].Journalof Harbin university of science and technology,2008(2):80.

        [5] Huang Hua-ping,The electric car door control system based on low speed CAN bus development[D].Tianjin:Tianjin university of technology,2010.

        [6] Liu Xiao-ming,Shao Ya-h(huán)ui,Wu Hao-wei,et al.Sensorlessmotor car anti clamp design[J].Journal ofmicromotor,2007(4):48 -49.

        基于CAN總線的智能車(chē)踏控制器

        王 謙?,楊惠忠,卿兆波
        中國(guó)計(jì)量學(xué)院機(jī)電工程學(xué)院,杭州 310018

        以某款用于生產(chǎn)的汽車(chē)門(mén)踏板為例,展開(kāi)了對(duì)CAN總線的研究。分析了CAN總線的工作原理、分層結(jié)構(gòu)以及協(xié)議,又結(jié)合對(duì)門(mén)踏板工作原理的分析,設(shè)計(jì)了一種分布式CAN總線控制系統(tǒng)。系統(tǒng)硬件包括一個(gè)主控CPU和4個(gè)分布式控制單元,采用CAN收發(fā)器PCA82C250進(jìn)行互聯(lián)。系統(tǒng)軟件提出了CAN通信的實(shí)現(xiàn)方法,對(duì)比分析了車(chē)踏防夾防撞算法。最后運(yùn)用LabVIEW軟件對(duì)控制器的運(yùn)行效果進(jìn)行了驗(yàn)證。

        CAN總線;智能車(chē)踏控制;防夾功能;防撞功能;PCA82C250收發(fā)器

        U270.1+4

        10.3969/j.issn.1001-3881.2014.12.020

        2014-01-20

        猜你喜歡
        收發(fā)器防撞踏板
        清管球收發(fā)器設(shè)計(jì)細(xì)節(jié)分析及應(yīng)用
        單踏板不可取
        淺談延音踏板在鋼琴演奏中的用法
        黃河之聲(2019年23期)2019-12-17 19:08:43
        淺談汽車(chē)制動(dòng)踏板的型面設(shè)計(jì)
        啄木鳥(niǎo)的防撞科學(xué)
        鋁合金在汽車(chē)前防撞梁輕量化中的應(yīng)用
        Virtex5 FPGA GTP_DUAL硬核兩個(gè)收發(fā)器獨(dú)立使用的實(shí)現(xiàn)
        霧天上高速 防撞有招數(shù)
        淺談鋼琴踏板的運(yùn)用
        黃河之聲(2017年13期)2017-01-28 13:30:17
        空中交通防撞系統(tǒng)(TCAS Ⅱ)的排故與維護(hù)
        亚洲国产成人久久一区www| 日本岛国一区二区三区四区| 国产白浆在线免费观看| 亚洲av永久无码精品放毛片| 性一交一乱一伦| 精品亚洲一区二区99| 口爆吞精美臀国产在线| 亚洲av无码成人精品国产| 精品国产午夜理论片不卡| 亚洲视频99| 一级黄色一区二区三区视频| 在线观看国产成人av天堂野外| 无码成人一区二区| 在线播放人成午夜免费视频| 喷潮出白浆视频在线观看| 欧美乱人伦中文字幕在线不卡| 美腿丝袜中文字幕在线观看| 国产精品视频自拍在线| 中文乱码字慕人妻熟女人妻| 99成人精品| 在线视频亚洲一区二区三区| 国产婷婷色一区二区三区深爱网| 国产成本人片无码免费2020| 麻豆精品网站国产乱子伦| 亚洲影院在线观看av| 亚洲av成人综合网成人| 国产精品v欧美精品v日韩精品| 国产精品九九热| 亚洲蜜臀av一区二区三区漫画| 极品美女扒开粉嫩小泬图片| 18禁无遮挡无码网站免费| 国产福利97精品一区二区| 亚洲av成人一区二区| 曰韩亚洲av人人夜夜澡人人爽| 久久国产自偷自免费一区100| 大屁股流白浆一区二区| 国产精品女老熟女一区二区久久夜| 欧美日韩色另类综合| 日韩久久久久中文字幕人妻| 免费看片的网站国产亚洲| 中国老熟妇506070|