车身控制器设计方案.ppt

上传人:文库蛋蛋多 文档编号:2382223 上传时间:2023-02-16 格式:PPT 页数:94 大小:11.92MB
返回 下载 相关 举报
车身控制器设计方案.ppt_第1页
第1页 / 共94页
车身控制器设计方案.ppt_第2页
第2页 / 共94页
车身控制器设计方案.ppt_第3页
第3页 / 共94页
车身控制器设计方案.ppt_第4页
第4页 / 共94页
车身控制器设计方案.ppt_第5页
第5页 / 共94页
点击查看更多>>
资源描述

《车身控制器设计方案.ppt》由会员分享,可在线阅读,更多相关《车身控制器设计方案.ppt(94页珍藏版)》请在三一办公上搜索。

1、车身控制器设计方案Automobile Body Model architecture Development,Agenda,Scope of Project Function/Feature modulesSystem AnalysisHardware SpecificationSoftware ArchitectureDevelopment Tool chainProject Position Target models:Y11,Y21,Y22Design in WindowCo-operation model Roles and ResponsibilitiesMemorandum of

2、 UnderstandingJoint LabPartnership with Tier1Protection scheme(mutual interest)Project Milestones/Schedules,Scope of Project,Specification ClarificationFunction DescriptionControl FlowSystem AnalysisBlock DiagramArchitecture proposalSystem partitioning(Hardware&software)Hardware Modules(Scalability)

3、Software Modules(API,Algorithm,Flowchart,Drivers)MCU&IC SelectionBill Of Materials evaluation(BOM)Cost Evaluation MCU,SMOS,RKEDevelopment Tools(ECU,Actuator,Switch)Development tool chainDevelopment Schedule,Specification Clarification open discussion,Function Description Confirm mandatory v optional

4、 featuresControl Flow LatencyPower WindowPower MirrorDoor Locking&unlockingPower curtainPower SeatInterior LightingExterior LightingWiper,WasherFlow chartPrioritisation of featuresCACs ConfirmRevised(and frozen!)specification,Low End Platform Configuration,Basic Door Lock/UnlockRKE door lock/unlock(

5、Trunk)Vehicle speed lockingDoor status feedback(Trunk,Bonnet)Antitheft alarmBasic Light ControlRKE Light(turn light flash)Interior light(door open indication)Window Lift4 doorsStall DetectionAuto closeSunroofHigh speed inhibitedAuto closeAnti-pinchKey StatusKey warningKey status inputRear Window Def

6、rostHorn ControlFront/Rear Wiper&Front Washer,Controlled by ECU,Controlled directly by switch,See“Low End Platform.doc”,Low End Platform低端平台控制对象,Low End PlatformBCM,Driver DoorDoor LockWindow Lift,Rear Left DoorDoor LockWindow Lift,Passenger DoorDoor LockWindow Lift,Rear Right DoorDoor LockWindow Li

7、ft,Exterior Light(RKE Light),Interior Light,Rear Window Defrost,Key,Anti-Alarm,RKE,Sun roof,Keypad,Trunk Lock,Siren,Window Motor Current*4,Block Diagram,Defrost,Interior Light,Window Motor*4,Rear Window Disable,Door Ajar Status 1,Door Lock Switch*2,Key Status*4,Ground,MC908GR16MC9SAW32,Power Supply,

8、5V,+12V,Digital Input,AnalogInput,Speed Sensor,RKEReceiver,RelayDrive,LEDDriver,Siren(Relay),Diagnosis,K Line,Battery Voltage,Window Switch*8,Input Capture,Sunroof Switch*2,3,Sunroof Motor Sensor,6,2,Rear Window Defrost Switch,2,8,2,Door Lock*4,Turn Light,2,Antitheft LED,Sunroof Motor,2,16,Engine Sp

9、eed Sensor,19,Buzzer,Buzzer,Schematic,ICs Selection,ConnectorAMP CACRelay DriverON:MC1413,NCV1413ULQ2003 Freescale:MC33291LRelayXiamen Hongfa TycoParallel to SerialMC74HC165APower SupplyNCV42767805MCUMC9S08AW32RKE optionsFreescale solution:ROMEO2 and Tango(using TEAMAC)Microchip solution:HCS515,HCS3

10、20,Body Controller Module code size estimates,Until the actual application is designed and developed,it is difficult to accurately predict the amount of code space required.In particular the level of anti-pinch and also diagnostic approaches will have a significant impact on the final code size.Inde

11、ed the operating system selected(if any)will also contribute to the code size.Another factor will be the software style used(ie assembler versus C)and the efficiency of the compiler.However,based on experience the following is a conservative code size estimate,with more aggressive figures in bold:,I

12、n a mass volume,aggressive market it seems realistic to target 16K as being suitable for the for the low-end platform.,Body Controller(Low End)MCU analysis,Note:Costs based on 100K min in 2006,MC9S08AW family Feature Set,1-2K RAM,2-ch 16-bitTimer,16K-60K Flash,16-ch 10-bit ADC,ICE+BDM,KBI,SPI,IIC,IC

13、G(20MHz bus),2 SCI,FeaturesMemory16-64K Flash,capable of EEPROM emulation1-2Kbytes of RAMInternal Clock Generator(ICG)Up to 20MHz busFLLDigitally-controller oscillator(DCO)preserves previous settingSeparate self-clocked source for real time interrupt2%accuracy over full operating rangeSerial Communi

14、cationIIC(synchronous),2 SPI(synchronous),and SCI(asynchronous)Timers 6-channel Timer/PWM Module(TPM)2-channel Timer/PWM Module(TPM)Analog Modules16-ch,10-bit Analog-to-digital converter(3us conversions)ADC measurements in STOP modeAuto-monitor capabilityEnhanced LVWI/OSlew rate controlDrive strengt

15、h controlDevelopment ToolsOn chip ICE and BDM,6-ch 16-bitTimer,POR,COP,Package:64 QFP,64 LQFP,48 QFN,44 LQFP,LVI,HCS08 CPU20Mhz,AW family Key Advantages,First device in S08 family to be 5V capable.Brings all the advantages of the HCS08 Family to high pin count devices.Continuation of Freescale High

16、end 8 bit MCU offering.Full feature set for easy development.Advanced analog,multiple communications options.Attractive price,Summary,High Integration,High Performance,Attractive Price,Easy to UseBest in the marketThe AW-family is the first S08 devices of 5V capability.It is the continuation of Free

17、scale high end 8 bit MCU offering.High integration,having everything you can ask for a general purpose MCU.High pin count,providing customer with maximum flexibility.High performance analog,including improved ADC and enhanced LVWStarting up development with this device is extremely simple and inexpe

18、nsive with the low-cost demoboard(with integrated USB BDM Multilink)and Special Edition CodewarriorAttractive price-General purpose use is only the beginning!,MC3359x ROMEO3,General:Frequency:315 to 915MHzModulation:OOK and FSK(software selectable)Data rate:up to 19.2kbpsTemperature range:-40 to+85C

19、Supply voltage:2.1V-3.6VPackage:LQFP32Receiver:Sensitivity:-103dBm to 81dBm typ in 4 stepsData Manager with clock recovery for Manchester coded signalsRSSI:75dB digital and 55dB analog Channel bandwidth:400kHzCurrent consumption:8mA typ,APPLICATIONS Automotive RKE Home Automation Building control Ga

20、rage door opener Remote metering RF Data Transfer,MCxxxxx is a highly integrated receiver designed for low voltage application.Its includes a programmable PLL for multichannel application,a RSSI circuit,a Strobe Oscillator that wakes up periodically the receiver while a Data Manager checks the conte

21、nt of incoming message,LQFP-32,CUSTOMER BENEFITS Simple system design,SPI interface to MCU Low system power consumption with Data manager and Strobe oscillator Faster software development with Data manager Reduced space,enhanced reliability Faster design cycle time,few RF expertise needs Economical

22、solution with few external components,Now Sampling,RSSI3V VccFracN PLL,BACK to RM,Development Tools(ECU,Actuator,Switch),Software(ECU/MCU/System development)Codewarrior IDE(Integrated Development Environment)Across platform reusability/compatibilityHCS08 V3.1 StandardHCS12 V3.1 StandardHardwareUSBMu

23、ltilinkBDMSame tool supports HCS08&HCS12Supports In Chip Emulation(ICE)Actuator&SwitchCACs QQSoftware(PCB development)Protel 2004Schematic captureLayout,Interface Type,Switch inputSignal inputLED driverRelay driverPower supplyK line interfaceMCU Layout,Switch input(1),Switch to Ground,The digital in

24、put has a switch to ground.The current through switch is determined by the pull-up resistor R4.The ESD protection is provided by a capacitor C22 and a low resistance impedance.The maximum current is determined by a series resistor R5.Debounce is additional made by a capacitor C3.,To BCM Input,Switch

25、 input(2),Switch to Vbat,The digital input has a switch to Vbat.The ESD protection is provided by a capacitor C31 and two voltage clamping diodes.The maximum current is determined by a series resistor R55.Debounce is additional made by a capacitor C20.,Signal input,Speed signal input,Speed signal in

26、put is from vehicle speed sensor.Speed signal is measured after a RC-Network directly at the Timer of the microcontroller.,From speed sensor,LED driver,LED driver,LED Indicator is driven by a transistor.RC-Network would help minimize EMI effects.R91 and R84 are optional depending the load circuit.,R

27、elay driver,Relay driver,Relays are driven by NCV1413 transistor arrays.The following loads are controlled by relay:door lock,window lift motor,sunroof motor,rear window deforest.,Power supply,Power supply,NCV4276 supplies the stable voltage with low quiescent current consumption in harsh automotive

28、 environments.Diode D13 provides reverse battery voltage protect.,K line interface,K line interface,The MC33290 is a serial link bus interface device designed to provide communication interfacing in automotive diagnostic applications.It is designed to interface between the vehicles on-board microcon

29、troller and systems off-board the vehicle via the special ISO K line.The MC33290 is designed to meet the Diagnostic Systems ISO9141 specification.The devices K line bus drivers output is fully protected against bus shorts and overtemperature conditions.,MCU Layout,MCU Layout Recommendation,Software

30、Module(API,Algorithm,Flowchart),Codewarrior Project OrganizationProgramming guidelineHardware DriversInitialization,Timer,A/D,SPI,IO,SCI,ICG,FLASHEEPROM EmulationBootloaderDocumentationsLIN Driver(Available)CAN Driver(Available),Slide 25,Example-Microcontroller Abstraction Layer,Slide 26,Overview of

31、 Software Architecture,Slide 27,Flash.c,16-ch 10-bit ADC.c,KBI.c,SPI.c,IIC.c,SCI.c,6-ch 16-bitTimer1.c,CAN.c,LIN.c,LVI.c,Key Module,Door Lock Module,Sunroof module,Windows Lift Module,RKE Module,Turn LightModule,Anti-theftModule,Rear Window Defrost Module,K-Line,Interior Light Module,ICG.c(20MHz bus

32、),2-ch 16-bitTimer2.c,BCM,DDM,PDM,Application layer,Module layer,Drivers layer,CodeWarrior Project Demo:A LIN cluster,Structure Description The Cluster comprise one LIN master(MC68HC908GZ16)and two slaves(MC68HC908EY16,MC68HC908QY4).Function Description Each slave has four LEDs whose states can be c

33、ontrolled by a single push-button switch.The resulting four bits of data is returned to the master and displayed on four green LEDs.The other four red LEDs on the master are used to indicate the slave ID.If more than one slave is connected,the masters display cycles round all those present on the bu

34、s.,Slide 28,LIN Cluster Master Schematics,Slide 29,LIN Cluster:Software Architecture,Target PlatformHW Modules:MCU,on-chip and on-board peripheralsFiles:CACLE.SchDoc/CACLE.PcbDoc,Slide 30,Drivers LayerDriver:Timer,SCI,SPI Files:hwLinSci.c,hwLinTmr.c,sysVector.c,Start08.c,Modules LayerMiddleware API:

35、LIN APIFiles:funLinapi.c,funLincfg.c,funLininit.c,Application LayerMiddleware API:Master/Slave APIFiles:appMaster.c,appSlave.c,HARDWARE,Software,LIN Cluster:Files Review,CACLEBLin.prm:Link Specification InformationLINK LinMgz16.absNAMES ansi.libENDSECTIONSLIN_ZRAM=READ_WRITE 0 x0040 TO 0 x00FF;/*zer

36、o page*/LIN_RAM=READ_WRITE 0 x0100 TO 0 x03BF;/*program data*/LIN_STACK=READ_WRITE 0 x03C0 TO 0 x043F;/*stack*/LIN_ROM=READ_ONLY 0 xC000 TO 0 xFDFF;/*program code ENDSTACKSIZE 0 x001FENTRIES _vectabENDINIT_Startup/*contains line replacing default _PRESTART*/MAPFILE ON,Slide 31,LIN Cluster:Files Revi

37、ew,Start08.c:Startup Codestatic void Init(void)/*purpose:1)zero out RAM-areas where data is allocated 2)init run-time data 3)copy initialization data from ROM to RAM*/asm ZeroOut:LDA _startupData.nofZeroOuts:1;nofZeroOuts INCA STA i:1;i is counter for number of zero outs LDA _startupData.nofZeroOuts

38、:0;nofZeroOuts INCA STA i:0 LDHX _startupData.pZeroOut;*pZeroOut BRA Zero_5 CopyDown:;.#pragma NO_EXIT_EXTERN_C void _Startup(void)INIT_SP_FROM_STARTUP_DESC();/1)initialize the stack Init();/2)initialize run-time,.initialize the RAM,copy down init dat etc(Init)_asm JMP main;/3)call main;,Slide 32,LI

39、N Cluster:Files Review,hwLinSci.c:SCI management module./*Function:l_ifc_connect_sci0*Description:Connect SCI-clear all SCI flags,enable SCI interrupts,reset idle timeout.*Returns:0-success*0-called before l_ifc_init()*Notes:If already connected then do nothing.l_sys_init service shall not be called

40、 from an interrupt.*/l_bool l_ifc_connect_sci0(void)l_irqmask intMask;/*if l_ifc_connect called before l_ifc_init then return error*/if(LIN_StateFlags,Slide 33,LIN Cluster:Files Review,funLinapi.c:LIN API realization/*Function:LIN_GotoRun*Description:Change the current driver state from SLEEP to RUN

41、:The LIN_GotoRun*service changes the current driver state from Sleep to Run*and reset the No-Bus-Activity condition counter.If the current*driver state is Run already,this service call do nothing.*Returns:none*Notes:1.API Service call*2.MASTER:Set Idle timeout;*set WakeupDelimiter timeout and wait i

42、t*3.SLAVE:Set Idle timeout and go to IGNORE state*4.If in RUN already-no any actions*5.DisableInterrupt dont needed becouse in SLEEP mode*driver do nothing*/void LIN_GotoRun(void)if(LIN_StateFlags#endif/*defined(SLAVE)*/,Slide 34,Mid-range Platform open questions,Crash detectionIs this a CAN message

43、?Door unlocking-where is the signal from?Power SeatIs stall detection required?Feature disabled at certain speed?Window LiftNo anti-pinch but one-touch window lift?Clarify illuminator groupWhat items are inside this group?RKE indicatorAnti-theft light or LED?Number of inputs required for Keylock?(2,

44、3,4)Curtain inputs via CAN?Mirror fold current document states 90mA,but surely too lowVehicle speedHow is this measured,and how frequent is it updated?How is this communicated into the body?Ignition Key Status?Sunroof completely independent module?,Slide 35,Mid-range System architecture,Slide 36,Bod

45、y Controller Module,(LIN Master),Driver Door Module,(LIN Slave),Passenger Door Module,Door Lock,Window Lift,Keypad,Mirror(&Turn Light),Power Seat control,Window Lift Rear Right,Window Lift Rear Left,RKE,Courtesy lighting,(LIN Slave),Door Lock,Window Lift,Keypad,Courtesy lighting,Front Lighting,Mirro

46、r(&Turn Light),Vehicle Speed(is this direct to door,or network ok?)Crash detect,Missing functions,Rear Window Defrost,Front wiper&washer,Horn control,Antitheft Alarm,Door Lock,LIN Network,CAN Interface,CAN Network(link to Powertrain),LIN Interface,LIN Interface,LIN Interface,Rear door,Trunk&Bonnet s

47、tatus,Courtesy lighting,=control directly from switch(no MCU interaction,except power management),Power Curtain,Driver Door(&rear door)Block Diagram,Slide 37,Window Motor Current*2,Mirror Defrost,Courtesy Light*2(feet,courtesysigning),Window Motor*2,Rear Window Disable,Door Ajar Status 2,Door Lock S

48、witch*2,Ground,MC9S08AW16,Power Supply,5V,+12V,Digital Input,AnalogInput,RelayDrive,LIN,LIN,Window Switch*8,2,2,4,2,Door Lock*2,Turn Light,1,4,16,20,Mirror Switch*7,Mirror,Folding,2,2,Relays are located inside,Passenger Door(&rear door)Block Diagram,Slide 38,Window Motor Current*2,Mirror Defrost,Win

49、dow Motor*2,Rear Window Disable,Door Ajar Status 2,Door Lock Switch*2,Ground,MC9S08AW16,Power Supply,5V,+12V,Digital Input,AnalogInput,RelayDrive,LIN,LIN,Window Switch*4,2,2,4,2,Door Lock*2,Turn Light,1,4,16,8,Mirror Switch*7,Mirror,Folding,2,2,Relays are located inside,Courtesy Light*2(feet,courtes

50、y,signing),Central Body Controller Block Diagram Relay Solution,Slide 39,Siren/Horn,Defrost and power curtain,Interior Light(roof,map,glove,head reading,key hole),Seat Motor*4,Power Seat Switch*8,Exterior Light Switch*12,Key Status*4,Ground,MC9S08DZ32MC9S12C/Q32,Power Supply,5V,+12V,Digital Input,An

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 建筑/施工/环境 > 项目建议


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号