CN210154812U - Follow-up steering analog control device for automobile - Google Patents

Follow-up steering analog control device for automobile Download PDF

Info

Publication number
CN210154812U
CN210154812U CN201921210874.4U CN201921210874U CN210154812U CN 210154812 U CN210154812 U CN 210154812U CN 201921210874 U CN201921210874 U CN 201921210874U CN 210154812 U CN210154812 U CN 210154812U
Authority
CN
China
Prior art keywords
servo
vehicle speed
chip microcomputer
pin
horizontal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201921210874.4U
Other languages
Chinese (zh)
Inventor
陈兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xihua University
Original Assignee
Xihua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xihua University filed Critical Xihua University
Priority to CN201921210874.4U priority Critical patent/CN210154812U/en
Application granted granted Critical
Publication of CN210154812U publication Critical patent/CN210154812U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)

Abstract

本实用新型具体涉及一种结构简单、使用方便的汽车随动转向模拟控制装置,模拟控制装置包括单片机,单片机的信号输入端口分别与角位移传感器、倾角传感器、车速增加按钮、车速降低按钮的信号输入端连接;单片机的信号输出端分别与水平随动舵机、垂直随动舵机的控制线连接,单片机的信号输出端还与OLED显示模块连接;相比于现在的自适应大灯系统结构简单且使用方便,不要复杂的台架系统,便于汽车前期设计时进行参数标定使用。

Figure 201921210874

The utility model specifically relates to a vehicle follow-up steering simulation control device with simple structure and convenient use. The simulation control device comprises a single chip microcomputer, a signal input port of the single chip microcomputer is respectively connected to the signal input ends of an angular displacement sensor, an inclination sensor, a vehicle speed increase button and a vehicle speed decrease button; a signal output end of the single chip microcomputer is respectively connected to the control lines of a horizontal follow-up servo and a vertical follow-up servo, and the signal output end of the single chip microcomputer is also connected to an OLED display module; compared with the current adaptive headlight system, the structure is simple and easy to use, and a complicated bench system is not required, so that parameter calibration is convenient for use in the early stage design of the vehicle.

Figure 201921210874

Description

汽车随动转向模拟控制装置Automobile follow-up steering simulation control device

技术领域technical field

本实用新型涉及汽车试验台架领域,特别涉及汽车随动转向模拟控制装置。The utility model relates to the field of automobile test benches, in particular to an automobile follow-up steering simulation control device.

背景技术Background technique

随动转向大灯也被称之为自适应照明系统、自适应大灯(AdaptiveFrontlighting System)英文简称AFS,随动转向大灯能够根据行车速度、转向角度等自动调节大灯的偏转,以便能够提前照亮转向区域,提供全方位的安全照明,以确保驾驶员在任何时刻都拥有最佳的可见度,从而增强黑暗中驾驶的安全性。而普通大灯具有固定的照射范围,当夜间汽车在弯道上转弯时,由于无法调节照明角度,常常会在弯道内侧出现“盲区”,极大地威胁了驾驶员夜间的安全驾车。Follow-up steering headlights are also called adaptive lighting systems, adaptive frontlighting system (Adaptive Frontlighting System) English abbreviation AFS, follow-up steering headlights can automatically adjust the deflection of the headlights according to the driving speed, steering angle, etc., so as to be able to advance in advance. Illuminates the steering area and provides all-round safety lighting to ensure the driver has optimum visibility at all times, enhancing driving safety in the dark. Ordinary headlights have a fixed illumination range. When a car turns on a curve at night, because the lighting angle cannot be adjusted, a "blind spot" often appears on the inside of the curve, which greatly threatens the driver's safe driving at night.

随动转向系统的核心技术是参数标定和控制策略,即对方向盘转角、车速、车身倾角等参数进行测量标定,再根据标定结果来控制大灯驱动舵机的旋转角度;设计新车时,往往没有现成的参数,因此为了方便新车前期设计,需要一套可以对大灯随动转向进行模拟的系统,且模拟系统的结构应尽量简单,使用方便,以满足汽车前期的快速设计。The core technology of the follow-up steering system is parameter calibration and control strategy, that is to measure and calibrate parameters such as steering wheel angle, vehicle speed, and body inclination, and then control the rotation angle of the headlight driving steering gear according to the calibration results; when designing new cars, there is often no There are ready-made parameters, so in order to facilitate the early design of the new car, a system that can simulate the follow-up steering of the headlights is required, and the structure of the simulation system should be as simple as possible and easy to use to meet the rapid design of the car in the early stage.

实用新型内容Utility model content

针对上述问题,本实用新型目的是提供一种结构简单、使用方便的汽车随动转向模拟控制装置。In view of the above problems, the purpose of the present utility model is to provide an analog control device for automobile follow-up steering with simple structure and convenient use.

为实现上述实用新型目的,本实用新型所采用的技术方案是:汽车随动转向模拟控制装置,模拟控制装置包括单片机,单片机的信号输入端口分别与角位移传感器、倾角传感器、车速增加按钮、车速降低按钮的信号输入端连接;单片机的信号输出端分别与水平随动舵机、垂直随动舵机的控制线连接,单片机的信号输出端还与OLED显示模块连接;In order to achieve the purpose of the above utility model, the technical scheme adopted by the utility model is: a car follow-up steering analog control device, the analog control device includes a single-chip microcomputer, and the signal input ports of the single-chip microcomputer are respectively connected with an angular displacement sensor, an inclination sensor, a vehicle speed increase button, and a vehicle speed. The signal input end of the lower button is connected; the signal output end of the single-chip microcomputer is respectively connected with the control lines of the horizontal servo servo and the vertical servo servo, and the signal output end of the single-chip microcomputer is also connected with the OLED display module;

水平随动舵机水平的安装在一个长方体形的支架上,支架上粘贴倾角传感器,支架的下底面安装水平转轴,转轴两端设置轴承,轴承装入设有轴承座的台架上,使得支架可以相对于台架沿水平转轴的轴线旋转,水平随动舵机的输出轴与垂直随动舵机的壳体连接,垂直随动舵机的转轴与水平随动舵机的转轴垂直,垂直随动舵机的输出轴上套设汽车大灯;角位移传感器安装在方向盘上,方向盘固定在台架上或单独设置;The horizontal servo servo is installed horizontally on a rectangular bracket, the inclination sensor is pasted on the bracket, the horizontal rotating shaft is installed on the bottom surface of the bracket, and the bearings are installed at both ends of the rotating shaft. It can rotate relative to the gantry along the axis of the horizontal rotating shaft. The output shaft of the horizontal servo is connected to the casing of the vertical servo. The rotating shaft of the vertical servo is perpendicular to the rotating shaft of the horizontal servo. The output shaft of the steering gear is sleeved with car headlights; the angular displacement sensor is installed on the steering wheel, and the steering wheel is fixed on the bench or set separately;

所述的控制装置还包括蓄电池,蓄电池为12V或24V蓄电池,蓄电池与降压模块连接,降压模块把12V或24V的输入电源电压降压到5V,然后固定输出给单片机、角位移传感器、倾角传感器、车速增加按钮、车速降低按钮工作,蓄电池的电源线还分别与水平随动舵机、垂直随动舵机、汽车大灯的电源线连接。The control device also includes a battery, the battery is a 12V or 24V battery, the battery is connected to a step-down module, and the step-down module steps down the input power voltage of 12V or 24V to 5V, and then outputs the fixed output to the single-chip microcomputer, the angular displacement sensor, and the inclination angle. The sensor, vehicle speed increase button, and vehicle speed decrease button work, and the power cord of the battery is also connected to the power cords of the horizontal servo servo, the vertical servo servo, and the headlights of the car.

优选的,所述的单片机的型号为S9KEAZ128AMLK,S9KEAZ128AMLK单片机包含一个S9KEAZ128AMLK单片机控制芯片,芯片上还封装有OLED接口、蓝牙接口、复位模块、时钟模块;S9KEAZ128AMLK中C3管脚依次与一个A/D转换器、角位移传感器连接;H0管脚与水平随动舵机的控制线连接,H1管脚与垂直随动舵机的控制线连接,H3管脚、H4管脚通过I2C总线与倾角传感器的输出端连接;D0管脚与车速增加按钮连接,D1管脚与车速降低按钮连接,F2、F3、A6、A7、C7管脚接OLED显示模块;Preferably, the model of the single-chip microcomputer is S9KEAZ128AMLK, and the S9KEAZ128AMLK single-chip microcomputer includes a S9KEAZ128AMLK single-chip microcomputer control chip, and the chip is also packaged with an OLED interface, a Bluetooth interface, a reset module, and a clock module; the C3 pin in the S9KEAZ128AMLK is sequentially connected with an A/D converter. The H0 pin is connected to the control line of the horizontal servo servo, the H1 pin is connected to the control line of the vertical servo servo, and the H3 and H4 pins are connected to the output of the inclination sensor through the I2C bus. Terminal connection; D0 pin is connected to the speed increase button, D1 pin is connected to the speed reduction button, F2, F3, A6, A7, C7 pins are connected to the OLED display module;

倾角传感器的型号为MPU6050,角位移传感器型号为WDD35D4;降压模块的型号为LM2596,车速增加按钮、车速降低按钮分别为一个滑动变阻器,滑动变阻器由降压模块供电,滑动变阻器的两端并联设置的导线与一个A/D转换器连接,两个A/D转换器再分别与单片机的D0管脚或D1管脚连接;滑动变阻器型号为B102单圈碳膜旋钮式滑动变阻器。The model of the inclination sensor is MPU6050, the model of the angular displacement sensor is WDD35D4; the model of the step-down module is LM2596, the vehicle speed increase button and the vehicle speed decrease button are respectively a sliding rheostat. The lead wire is connected to an A/D converter, and the two A/D converters are connected to the D0 pin or D1 pin of the microcontroller respectively; the sliding rheostat model is B102 single-turn carbon film knob type sliding rheostat.

本实用新型具有以下有益效果:本装置可以实现以下功能的模拟过程:The utility model has the following beneficial effects: the device can realize the simulation process of the following functions:

(1)显示:通过OLED显示器,可以实时的显示方向盘转角、车身倾角和车速。(1) Display: Through the OLED display, the steering wheel angle, body inclination and vehicle speed can be displayed in real time.

(2)根据角位移传感器采集的转角信号和车速增加按钮(13)、车速降低按钮(14)模拟的此时车速信号调整大灯左右转向,补偿视野盲区。(2) According to the corner signal collected by the angular displacement sensor and the vehicle speed signal simulated by the vehicle speed increase button (13) and the vehicle speed decrease button (14) at this time, adjust the left and right steering of the headlights to compensate for the blind spot of the field of view.

(3)补偿坡度视野范围:汽车在上下坡时,车身有一定的俯仰倾斜角度,使汽车大灯照明范围缩小,此时大灯位置调整系统根据坡道倾斜角度的变化调节大灯上下照明角度,补偿照明范围,扩大驾驶员的视野。(3) Compensating the slope of the field of view: When the car is going up and down the slope, the body has a certain pitching angle, which reduces the lighting range of the car headlights. At this time, the headlight position adjustment system adjusts the upper and lower lighting angles of the headlights according to the change of the slope angle. , compensate the lighting range and expand the driver's field of vision.

相比于现在的自适应大灯系统结构简单且使用方便,不要复杂的台架系统,便于汽车前期设计时进行参数标定使用。Compared with the current adaptive headlight system, the structure is simple and easy to use. It does not require a complex bench system, which is convenient for parameter calibration in the early design of the car.

附图说明Description of drawings

图1为S9KEAZ128AMLK单片机管脚连接图;Figure 1 is the pin connection diagram of S9KEAZ128AMLK microcontroller;

图2为OLED模块管脚连接图;Fig. 2 is the pin connection diagram of the OLED module;

图3为MPU6050倾角传感器管脚连接图;Figure 3 is the pin connection diagram of the MPU6050 tilt sensor;

图4为角位移传感器管脚连接图;Fig. 4 is the pin connection diagram of the angular displacement sensor;

图5为车速增加按钮电路图;Fig. 5 is the circuit diagram of the speed increase button;

图6为模拟控制装置电路原理图;Fig. 6 is the circuit schematic diagram of the analog control device;

图7为单片机与电机驱动器、电机接线图;Figure 7 is the wiring diagram of the single chip microcomputer, the motor driver and the motor;

图8为水平随动舵机、垂直随动舵机安装示意图。Figure 8 is a schematic diagram of the installation of the horizontal servo servo and the vertical servo servo.

具体实施方式Detailed ways

如图1-8所示的汽车随动转向模拟控制装置,包括单片机1,单片机1的信号输入端口分别与角位移传感器11、倾角传感器12、车速增加按钮13、车速降低按钮14的信号输入端连接;单片机1的信号输出端分别与水平随动舵机15、垂直随动舵机16的控制线连接,单片机1的信号输出端还与OLED显示模块17连接;The automotive follow-up steering analog control device shown in Figure 1-8 includes a single-chip microcomputer 1. The signal input ports of the single-chip microcomputer 1 are respectively connected with the signal input terminals of the angular displacement sensor 11, the inclination sensor 12, the vehicle speed increase button 13, and the vehicle speed decrease button 14. connection; the signal output end of the single-chip microcomputer 1 is respectively connected with the control lines of the horizontal servo servo 15 and the vertical servo servo 16, and the signal output end of the single-chip microcomputer 1 is also connected with the OLED display module 17;

水平随动舵机15水平的安装在一个长方体形的支架31上,支架31上粘贴倾角传感器12,支架的下底面安装水平转轴32,转轴32两端设置轴承,轴承装入设有轴承座的台架33上,使得支架31可以相对于台架33沿水平转轴32的轴线旋转,水平随动舵机15的输出轴与垂直随动舵机16的壳体连接,垂直随动舵机16的转轴与水平随动舵机15的转轴垂直,垂直随动舵机16的输出轴上套设汽车大灯;角位移传感器11安装在方向盘上,方向盘固定在台架上或单独设置;The horizontal servo steering gear 15 is horizontally installed on a rectangular support 31, the inclination sensor 12 is pasted on the support 31, the horizontal rotating shaft 32 is installed on the lower bottom of the support, and the two ends of the rotating shaft 32 are provided with bearings. On the stand 33, the bracket 31 can be rotated relative to the stand 33 along the axis of the horizontal shaft 32, the output shaft of the horizontal servo 15 is connected with the casing of the vertical servo 16, and the The rotating shaft is perpendicular to the rotating shaft of the horizontal servo steering gear 15, and the output shaft of the vertical servo servo 16 is sleeved with automobile headlights; the angular displacement sensor 11 is installed on the steering wheel, and the steering wheel is fixed on the bench or set separately;

控制装置还包括蓄电池18,蓄电池18为12V或24V蓄电池,蓄电池18与降压模块20连接,降压模块20把12V或24V的输入电源电压降压到5V,也可以用12V或24V电源适配器,适配器一端与家用交流电插座连接,另一端与降压模块20连接;降压模块20然后固定输出给单片机1、角位移传感器11、倾角传感器12、车速增加按钮13、车速降低按钮14工作,蓄电池18的电源线还分别与水平随动舵机15、垂直随动舵机16、汽车大灯17的电源线连接。The control device also includes a battery 18, the battery 18 is a 12V or 24V battery, the battery 18 is connected to a step-down module 20, and the step-down module 20 steps down the input power voltage of 12V or 24V to 5V, or a 12V or 24V power adapter can be used, One end of the adapter is connected with the household AC socket, and the other end is connected with the step-down module 20; The power cords of the vehicle are also connected to the power cords of the horizontal servo servo 15, the vertical servo servo 16, and the headlights 17 of the car.

单片机1的型号为S9KEAZ128AMLK,S9KEAZ128AMLK单片机包含一个S9KEAZ128AMLK单片机控制芯片,芯片上还封装有OLED接口、蓝牙接口、复位模块、时钟模块;表1给出了9KEAZ128AMLK单片机部分引脚的功能,S9KEAZ128AMLK中C3管脚依次与一个A/D转换器19、角位移传感器11连接;H0管脚与水平随动舵机15的控制线连接,H1管脚与垂直随动舵机16的控制线连接,H3管脚、H4管脚通过I2C总线与倾角传感器12的输出端连接;D0管脚与车速增加按钮13连接,D1管脚与车速降低按钮14连接,F2、F3、A6、A7、C7管脚接OLED显示模块17:The model of MCU 1 is S9KEAZ128AMLK. The S9KEAZ128AMLK MCU contains a S9KEAZ128AMLK MCU control chip, and the chip is also packaged with OLED interface, Bluetooth interface, reset module, and clock module; Table 1 shows the functions of some pins of the 9KEAZ128AMLK MCU. The pins are connected to an A/D converter 19 and an angular displacement sensor 11 in turn; the H0 pin is connected to the control line of the horizontal servo 15, the H1 pin is connected to the control line of the vertical servo 16, and the H3 pin 、 The H4 pin is connected to the output end of the tilt sensor 12 through the I2C bus; the D0 pin is connected to the vehicle speed increase button 13, the D1 pin is connected to the vehicle speed reduction button 14, and the F2, F3, A6, A7, and C7 pins are connected to the OLED display Module 17:

表1 S9KEAZ128AMLK单片机部分引脚表Table 1 S9KEAZ128AMLK MCU part pin list

引脚pin 连接部分connection part D0、D1D0, D1 接键模块key module H3、H4H3, H4 倾角传感器模块Inclination sensor module F2、F3、A6、A7、C7F2, F3, A6, A7, C7 OLED显示模块OLED display module C3C3 转角传感器模块Angle sensor module H0、H1H0, H1 执行模块execution module

OLED显示模块17的管脚如图2所示,其相应引脚作用如下:The pins of the OLED display module 17 are shown in Figure 2, and the corresponding pins function as follows:

1VCC:接电源5V1VCC: connect to power 5V

2GND:电源地2GND: power ground

3RST:复位3RST: reset

4DO:时钟管脚;D1:数据管脚4DO: clock pin; D1: data pin

5CS:片选,低电平有效,如不想用必须接地5CS: chip select, active low, must be grounded if you don't want to use it

6DC:数据/命令选择,ICC接口时用来设ICC地址6DC: data/command selection, used to set the ICC address when the ICC interface is used

倾角传感器12的型号为MPU6050,其输出为数字信号,可以直接与单片机1连接,角位移传感器11型号为WDD35D4;WDD35D4角位移传感器可以倒立摆放或固定放置在台架上,可以通过其联轴器和方向盘的转向轴相接,以检测方向盘转角输入变化,满足测量要求。The model of the inclination sensor 12 is MPU6050, and its output is a digital signal, which can be directly connected to the microcontroller 1. The model of the angular displacement sensor 11 is WDD35D4; The sensor is connected with the steering shaft of the steering wheel to detect the input change of the steering wheel angle and meet the measurement requirements.

降压模块20的型号为LM2596,车速增加按钮13、车速降低按钮14分别为一个滑动变阻器,滑动变阻器由降压模块20供电,滑动变阻器的两端并联设置的导线与一个A/D转换器19连接,两个A/D转换器19再分别与单片机1的D0管脚或D1管脚连接;滑动变阻器型号为B102单圈碳膜旋钮式滑动变阻器。The model of the step-down module 20 is LM2596, the vehicle speed increase button 13 and the vehicle speed decrease button 14 are respectively a sliding rheostat, the sliding rheostat is powered by the step-down module 20, and the wires arranged in parallel at both ends of the sliding rheostat are connected with an A/D converter 19 The two A/D converters 19 are then connected to the D0 pin or D1 pin of the microcontroller 1 respectively; the sliding rheostat model is B102 single-turn carbon film knob type sliding rheostat.

水平随动舵机15、垂直随动舵机16的型号均为MG996R舵机,MG996R舵机由三条控制线控制运行,其中红色线为电源线、棕色线为地线、黄色线为控制线,电源线与地线用于提供舵机内部的直流马达及控制线路所需的能源,电源线和地线与蓄电池18或电源适配器连接,水平随动舵机15的驱动芯片控制线与单片机的H0管脚连接,垂直随动舵机16的驱动芯片控制线与单片机的H1管脚连接。The models of the horizontal servo servo 15 and the vertical servo servo 16 are all MG996R servos. The MG996R servos are controlled by three control wires, of which the red wire is the power wire, the brown wire is the ground wire, and the yellow wire is the control wire. The power line and the ground line are used to provide the energy required by the DC motor and the control circuit inside the steering gear. The power line and the ground line are connected with the battery 18 or the power adapter, and the drive chip control line of the horizontal servo servo 15 is connected with the H0 of the single-chip microcomputer. The pins are connected, and the control line of the driving chip of the vertical servo servo 16 is connected with the H1 pin of the single-chip microcomputer.

本模拟控制装置是一种简化的自适应AFS控制系统,通过手动旋转方向盘,角位移传感器采集方向盘转角信号,手动旋转支架31模拟汽车转弯时的车身倾斜,倾角传感器采集车身倾角信号,由车速增加按钮13或车速降低按钮14输入信号模拟车速加速或减速,送入单片机1内处理,单片机根据程序预先设定的值,并根据采集的输入信号来调节汽车大灯位置,得到大灯旋转角度;汽车大灯通电以后,可以根据其光线照射范围来反向判断控制程序中的参数设定时候合适,并进行相应的修改,本方案相比于现在的自适应大灯系统结构简单且使用方便,不要复杂的台架系统,便于汽车前期设计时进行参数标定使用,可以实现以下功能的模拟过程:The analog control device is a simplified adaptive AFS control system. By manually rotating the steering wheel, the angular displacement sensor collects the steering wheel angle signal, the manual rotation bracket 31 simulates the body tilt when the car turns, and the tilt sensor collects the body tilt angle signal, which is increased by the vehicle speed. The input signal of the button 13 or the speed reduction button 14 simulates the acceleration or deceleration of the vehicle speed, and is sent to the single-chip microcomputer 1 for processing. The single-chip computer adjusts the position of the headlights according to the value preset by the program and according to the collected input signals, and obtains the rotation angle of the headlights; After the car headlight is powered on, it can be judged inversely that the parameter setting in the control program is appropriate according to its light irradiation range, and make corresponding modifications. Compared with the current adaptive headlight system, this solution is simple in structure and easy to use. Do not need a complex bench system, it is convenient for parameter calibration in the early design of the car, and the simulation process of the following functions can be realized:

(1)显示:通过OLED显示器,可以实时的显示方向盘转角、车身倾角和车速。(1) Display: Through the OLED display, the steering wheel angle, body inclination and vehicle speed can be displayed in real time.

(2)根据角位移传感器采集的转角信号和车速增加按钮13、车速降低按钮14模拟的此时车速信号调整大灯左右转向,补偿视野盲区。(2) Adjust the left and right steering of the headlights according to the corner signal collected by the angular displacement sensor and the vehicle speed signal simulated by the vehicle speed increase button 13 and the vehicle speed decrease button 14 to compensate for the blind spot of the field of view.

(3)补偿坡度视野范围:汽车在上下坡时,车身有一定的俯仰倾斜角度,使汽车大灯照明范围缩小,此时大灯位置调整系统根据坡道倾斜角度的变化调节大灯上下照明角度,补偿照明范围,扩大驾驶员的视野。(3) Compensating the slope of the field of view: When the car is going up and down the slope, the body has a certain pitching angle, which reduces the lighting range of the car headlights. At this time, the headlight position adjustment system adjusts the upper and lower lighting angles of the headlights according to the change of the slope angle. , compensate the lighting range and expand the driver's field of vision.

模拟控制装置的控制过程为:C7控制OLED的片选功能,A6低电平复位OLED,A7控制OLED数据和命令;单片机1通过C3、D0和D1接口接收方向盘转角和车速信号,进过控制处理,由H0串口控制水平随动舵机运行;由H3、H4接受倾角信号,H1控制垂直随动电机运行,实现大灯的上下旋转和左右旋转调整。The control process of the analog control device is: C7 controls the chip selection function of the OLED, A6 resets the OLED at a low level, and A7 controls the OLED data and commands; the single chip 1 receives the steering wheel angle and vehicle speed signals through the C3, D0 and D1 interfaces, and goes through the control processing. , the H0 serial port controls the operation of the horizontal servo servo; H3 and H4 receive the inclination signal, and H1 controls the operation of the vertical servo motor to realize the up and down rotation and left and right rotation adjustment of the headlight.

如图7所示的,模拟控制装置主流程为:系统初始化后,开始调用显示子程序,进行显示;再调用按键子程序,获取车速数据;然后判断定时器100ms定时是否完成,若完成则定时标志位置0;调用AD转换子程序,获取AD转换值,通过AD转换值计算出方向盘转角;获取倾角传感器数据计算出车身前后俯仰倾角,计算PWM占空比,输出PWM脉冲控制信号驱动水平随动舵机15和垂直随动舵机16,进行大灯的位置调整。As shown in Figure 7, the main process of the analog control device is: after the system is initialized, start to call the display subroutine to display; then call the button subroutine to obtain vehicle speed data; and then judge whether the timer 100ms timing is completed, if completed, the timing The flag position is 0; the AD conversion subroutine is called to obtain the AD conversion value, and the steering wheel angle is calculated by the AD conversion value; the front and rear pitch angles of the vehicle body are calculated by obtaining the data of the inclination sensor, the PWM duty cycle is calculated, and the PWM pulse control signal is output to drive the horizontal follower The steering gear 15 and the vertical servo steering gear 16 are used to adjust the position of the headlights.

Claims (2)

1.汽车随动转向模拟控制装置,其特征在于:模拟控制装置包括单片机(1),单片机(1)的信号输入端口分别与角位移传感器(11)、倾角传感器(12)、车速增加按钮(13)、车速降低按钮(14)的信号输入端连接;单片机(1)的信号输出端分别与水平随动舵机(15)、垂直随动舵机(16)的控制线连接,单片机(1)的信号输出端还与OLED显示模块(17)连接;1. The automobile follow-up steering simulation control device is characterized in that: the simulation control device comprises a single-chip microcomputer (1), and the signal input port of the single-chip microcomputer (1) is respectively connected with an angular displacement sensor (11), an inclination sensor (12), a vehicle speed increase button ( 13) The signal input end of the vehicle speed reduction button (14) is connected; the signal output end of the single chip microcomputer (1) is respectively connected with the control lines of the horizontal servo servo (15) and the vertical servo servo (16), and the single chip (1) ) of the signal output terminal is also connected with the OLED display module (17); 水平随动舵机(15)水平的安装在一个长方体形的支架(31)上,支架(31)上粘贴倾角传感器(12),支架的下底面安装水平转轴(32),转轴(32)两端设置轴承,轴承装入设有轴承座的台架(33)上,使得支架(31)可以相对于台架(33)沿水平转轴(32)的轴线旋转,水平随动舵机(15)的输出轴与垂直随动舵机(16)的壳体连接,垂直随动舵机(16)的转轴与水平随动舵机(15)的转轴垂直,垂直随动舵机(16)的输出轴上套设汽车大灯;角位移传感器(11)安装在方向盘上,方向盘固定在台架上或单独设置;The horizontal servo (15) is horizontally installed on a cuboid bracket (31), the inclination sensor (12) is pasted on the bracket (31), and the horizontal rotating shaft (32) is installed on the bottom surface of the bracket, and the two rotating shafts (32) Bearings are provided at the ends, and the bearings are mounted on the stand (33) provided with the bearing seat, so that the bracket (31) can rotate relative to the stand (33) along the axis of the horizontal shaft (32), and the horizontal servo (15) The output shaft of the vertical servo servo (16) is connected to the casing of the vertical servo servo (16), and the rotating shaft of the vertical servo servo (16) is perpendicular to the rotating shaft of the horizontal servo servo (15). The car headlights are sleeved on the shaft; the angular displacement sensor (11) is installed on the steering wheel, and the steering wheel is fixed on the bench or set separately; 所述的控制装置还包括蓄电池(18),蓄电池(18)为12V或24V蓄电池,蓄电池(18)与降压模块(20)连接,降压模块(20)把12V或24V的输入电源电压降压到5V,然后固定输出给单片机(1)、角位移传感器(11)、倾角传感器(12)、车速增加按钮(13)、车速降低按钮(14)工作,蓄电池(18)的电源线还分别与水平随动舵机(15)、垂直随动舵机(16)、汽车大灯的电源线连接。The control device further comprises a battery (18), the battery (18) is a 12V or 24V battery, the battery (18) is connected to the step-down module (20), and the step-down module (20) drops the voltage of the 12V or 24V input power supply. voltage to 5V, and then fixedly output to the microcontroller (1), angular displacement sensor (11), inclination sensor (12), vehicle speed increase button (13), vehicle speed decrease button (14) to work, and the power lines of the battery (18) are also separately Connect to the horizontal servo (15), the vertical servo (16), and the power cables of the car headlights. 2.根据权利要求1所述的汽车随动转向模拟控制装置,其特征在于:所述的单片机(1)的型号为S9KEAZ128AMLK,S9KEAZ128AMLK单片机包含一个S9KEAZ128AMLK单片机控制芯片,芯片上还封装有OLED接口、蓝牙接口、复位模块、时钟模块;S9KEAZ128AMLK中C3管脚依次与一个A/D转换器(19)、角位移传感器(11)连接,H0管脚与水平随动舵机(15)的控制线连接,H1管脚与垂直随动舵机(16)的控制线连接,H3管脚、H4管脚通过I2C总线与倾角传感器(12)的输出端连接;D0管脚与车速增加按钮(13)连接,D1管脚与车速降低按钮(14)连接,F2、F3、A6、A7、C7管脚接OLED显示模块(17);2. automobile follow-up steering simulation control device according to claim 1, is characterized in that: the model of described single-chip microcomputer (1) is S9KEAZ128AMLK, and S9KEAZ128AMLK single-chip microcomputer comprises a S9KEAZ128AMLK single-chip microcomputer control chip, and is also packaged with OLED interface, Bluetooth interface, reset module, clock module; C3 pin in S9KEAZ128AMLK is connected to an A/D converter (19) and an angular displacement sensor (11) in turn, and H0 pin is connected to the control line of the horizontal servo (15) , the H1 pin is connected to the control line of the vertical servo (16), the H3 pin and H4 pin are connected to the output end of the inclination sensor (12) through the I2C bus; the D0 pin is connected to the vehicle speed increase button (13) connection , D1 pin is connected to the vehicle speed reduction button (14), F2, F3, A6, A7, C7 pins are connected to the OLED display module (17); 倾角传感器(12)的型号为MPU6050,角位移传感器(11)型号为WDD35D4;降压模块(20)的型号为LM2596,车速增加按钮(13)、车速降低按钮(14)分别为一个滑动变阻器,滑动变阻器由降压模块(20)供电,滑动变阻器的两端并联设置的导线与一个A/D转换器(19)连接,两个A/D转换器(19)再分别与单片机(1)的D0管脚或D1管脚连接;滑动变阻器型号为B102单圈碳膜旋钮式滑动变阻器。The model of the inclination sensor (12) is MPU6050, the model of the angular displacement sensor (11) is WDD35D4; the model of the step-down module (20) is LM2596, the vehicle speed increase button (13) and the vehicle speed decrease button (14) are respectively a sliding rheostat. The sliding varistor is powered by the step-down module (20), and the wires arranged in parallel at both ends of the sliding varistor are connected to an A/D converter (19), and the two A/D converters (19) are respectively connected to the single-chip microcomputer (1). D0 pin or D1 pin connection; sliding rheostat model is B102 single-turn carbon film knob type sliding rheostat.
CN201921210874.4U 2019-07-30 2019-07-30 Follow-up steering analog control device for automobile Expired - Fee Related CN210154812U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921210874.4U CN210154812U (en) 2019-07-30 2019-07-30 Follow-up steering analog control device for automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921210874.4U CN210154812U (en) 2019-07-30 2019-07-30 Follow-up steering analog control device for automobile

Publications (1)

Publication Number Publication Date
CN210154812U true CN210154812U (en) 2020-03-17

Family

ID=69766616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921210874.4U Expired - Fee Related CN210154812U (en) 2019-07-30 2019-07-30 Follow-up steering analog control device for automobile

Country Status (1)

Country Link
CN (1) CN210154812U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113954737A (en) * 2021-09-27 2022-01-21 广西玉柴新能源汽车有限公司 Automobile headlamp position adjusting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113954737A (en) * 2021-09-27 2022-01-21 广西玉柴新能源汽车有限公司 Automobile headlamp position adjusting system

Similar Documents

Publication Publication Date Title
CN210154812U (en) Follow-up steering analog control device for automobile
CN207550070U (en) Head up display system
CN101402331A (en) Intelligent follow-up illumination method of car lamp
CN205664271U (en) Intelligent voice control table lamp
CN205523978U (en) Car automatic adjustment rear -view mirror
CN203318289U (en) Out-vehicle electric rearview mirror structure
CN202358047U (en) Automatic control system of windscreen wiper of automobile
CN110696594A (en) System and method for monitoring and purifying environment inside and outside vehicle
CN216033837U (en) Alternating-current charging stake with awakening function
CN112519578B (en) A method for automatically adjusting the brightness of a vehicle-mounted visual device
CN216082042U (en) Full-automatic outside rear-view mirror function detection device
CN103692954B (en) The straight drive system of a kind of automobile front follow-up steering
CN202217435U (en) Intelligent automobile electrical device practice teaching examining device
CN214847237U (en) Real rack of instructing of auto electric steering
CN207916683U (en) A kind of locomotive turning around a curve illumination head lamp structure
CN211001652U (en) Automatic turn on indicator device
CN212228386U (en) Test bench for power assembly of pure electric vehicle
CN202003587U (en) Training platform for electrically-controlled vehicle lamp following-up steering system
CN209961908U (en) Personalized blind area detection automatic test stand
CN220615485U (en) Device for preventing accelerator from being stepped on by mistake for learner-driven vehicle
CN201530289U (en) Automotive light control flexible sun visor
CN216034061U (en) Lamp adjustment system and automobile
CN223064800U (en) An adjustable automobile headlight testing platform
CN209348108U (en) A kind of electronic three-dimensional color lamp toy car
CN222905311U (en) Electric vehicle limp control system and vehicle

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200317

Termination date: 20200730

CF01 Termination of patent right due to non-payment of annual fee