1. Definition of cruising
The car's cruise control is used to control the car's constant speed. Once the car is set to cruise mode, the engine's fuel supply is controlled by the computer. The computer will continuously adjust the fuel supply according to road conditions and the car's driving resistance, so that the car always maintains the set speed without operating the accelerator.
2. Cruising main circuit
2.1. FAW Toyota Crown Cruise
in:
SW1 is the main switch (CMS); SW2 is the cancel switch (CS); SW3 is the set deceleration switch (SET/-); SW4 is the resume acceleration switch (RES/+)
2.2. Ford Focus Cruise
in:
SW1 is the reset switch (RES); SW2 is the acceleration switch (+); SW3 is the deceleration switch (-); SW4 is the cancel switch (CS); SW5 is the main switch (CMS)
2.3. Cruise circuit matching, design and calculation
Take Ford Focus car cruise control as an example, and Infineon TC1728 as the MCU
2.3.1. Controller and cruise sensor interface circuit
2.3.2.R11/R12/R13/C1/C2/C3 design and calculation
Reasonable values can be set according to the design and calculation of [Introduction to Analog Input Interface Circuit 1]
Among them, the current limiting specifications of TC1728 are as follows, and the two indicators of single channel and all channels must not be exceeded.
3.3. Cruise and controller interface circuit matching design and calculation
Focus on matching design and calculation
3.3.1. Dual-channel MCU ADC redundancy design
Since the cruise signal is an important signal that endangers life, the design needs to consider that the failure of one MCU ADC cannot cause the cruise function to fail or operate randomly. Therefore, two MCU ADCs are designed to collect the original voltage value, and redundant verification can be performed on the two MCU ADCs to ensure the integrity and correctness of the input.
3.3.2. MCU ADC voltage calculation (R11=1000ohm)
V(ADC)=VCCRx/(Rx+R11)-Ioz1R12
in
Ioz1R12(max)=600nA10k=6mA, the impact is small (of course, this part can be taken into account in accurate calculation);
Rx is the resistance of the cruise resistor network when the switch is closed
R11=1000ohm
The above resistors are all involved in the calculation, and you need to choose resistors with an accuracy of less than or equal to 1%
The following simplified calculation (without taking into account the error on VCC/R)
V(ADC)=VCC*Rx/(Rx+R11)
type | value | unit | Remark |
---|---|---|---|
VCC | 5V | V |
|
R11 | 1000 | ohm |
|
Rx | open circuit | Infinity | ohm |
Short circuit to ground | 0 | ohm |
|
All switches are not activated | 2100 | ohm |
|
Only SW1 (reset switch) is closed | 600 | ohm |
|
Only SW2 (acceleration switch) is closed | 300 | ohm |
|
Only SW3 (deceleration switch) is closed | 120 | ohm |
|
Only SW4 (cancel switch) is closed | 0 | ohm |
|
Only SW5 (main switch) is closed | 923.08 | ohm | R1//R5 |
V(ADC) can be calculated
Serial number | type | V(ADC) | Setting the voltage range |
---|---|---|---|
1 | open circuit | 5V | 4.5V or above |
2 | Short circuit to ground | 0V | 0.2V or less |
3 | Short circuit to VCC/VBAT | 5V | 4.5V or above |
4 | All switches are not activated | 3.39 | 3V-3.8V |
5 | Only SW1 (reset switch) is closed | 1.88 | 1.5V-2.1V |
6 | Only SW2 (acceleration switch) is closed | 1.15 | 0.9V-1.4V |
7 | Only SW3 (deceleration switch) is closed | 0.54 | 0.3V-0.8V |
8 | Only SW4 (cancel switch) is closed | 0.00 | 0.2V or less |
9 | Only SW5 (main switch) is closed | 2.40 | 2.2V-2.8V |
1) From the table above, it can be found that the level of short circuit to ground is the same as that of canceling the switch, which can be understood as giving priority to exiting the cruise control in the case of short circuit.
2) When SW1~SW5 are pressed at the same time, SW4 has the highest priority, that is, exiting the cruise has the highest priority
3) When SW1~SW3 are pressed at the same time, SW3 has the highest priority, that is, the deceleration priority is the highest
4) When SW1 and SW2 are pressed at the same time, SW2 has the highest priority, that is, acceleration has the highest priority.
5) Open circuit and short circuit to VCC/VBAT cannot be distinguished, but during the power-on process (all cruise switches are not working at this moment), if the detection voltage is not between 3V-3.8V but above 4.5V, it is judged as open circuit or short circuit to VCC/VBAT.
6) Short circuit and SW4 closing cannot be distinguished, but during the power-on process (at this moment all cruise switches are not working), if the detection voltage is not between 3V-3.8V but below 0.2V, it is judged as a short circuit to ground.
3.3.3. MCU ADC voltage calculation (R11=600ohm)
When R11=600ohm, the voltage is more separated and easier to distinguish
Serial number | type | V(ADC) | Setting the voltage range |
---|---|---|---|
1 | open circuit | 5V | 4.5V or above |
2 | Short circuit to ground | 0V | 0.5V or less |
3 | Short circuit to VCC/VBAT | 5V | 4.5V or above |
4 | All switches are not activated | 4.04 | 3.7V-4.3V |
5 | Only SW1 (reset switch) is closed | 2.73 | 2.4V-2.9V |
6 | Only SW2 (acceleration switch) is closed | 1.88 | 1.5V-2.1V |
7 | Only SW3 (deceleration switch) is closed | 0.97 | 0.6V-1.3V |
8 | Only SW4 (cancel switch) is closed | 0.00 | 0.5V or less |
9 | Only SW5 (main switch) is closed | 3.24 | 3.0V-3.6V |
The power calculation of the resistor value needs to refer to [Introduction to Analog Input Interface Circuit 1] to calculate whether it meets the requirements. This parameter must be calculated (the power consumption of R11 is the largest when VBAT is short-circuited in the WORSE CASE), otherwise the resistor may burn out. If the power consumption of R11 is not sufficient, consider using a power resistor or several resistors in parallel.
Previous article:Functions and roles of automotive MCUs Relationship between ECU and MCU
Next article:What is ACC? Radar technology application of ACC adaptive cruise control system
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Recently, there have been frequent incidents of electric vehicle explosions and fires. What do you think about this? ?
- Explanation of several clock frequencies in LPC2478
- Real-time Zooming Module of Digital X-ray Image Based on FPGA
- 【LAUNCHXL-CC1350-4】- 5: A method to install XDCTools on Windows 10 has also been found. . .
- There are several packaging issues in PCB components
- Read the good book "Operational Amplifier Parameter Analysis and LTspice Application Simulation" + First Reading Experience
- The arrogant math master will lower her pride when she meets a master
- MSP430 Comparator
- Basic questions about capacitors
- Learn Python the Hard Way (Third Edition)