[go: up one dir, main page]

CN206561923U - A kind of SCM Based electric bicycle controller - Google Patents

A kind of SCM Based electric bicycle controller Download PDF

Info

Publication number
CN206561923U
CN206561923U CN201720231935.XU CN201720231935U CN206561923U CN 206561923 U CN206561923 U CN 206561923U CN 201720231935 U CN201720231935 U CN 201720231935U CN 206561923 U CN206561923 U CN 206561923U
Authority
CN
China
Prior art keywords
circuit
chip microcomputer
electric bicycle
voltage
scm based
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
CN201720231935.XU
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.)
Anhui University of Architecture
Original Assignee
Anhui University of Architecture
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 Anhui University of Architecture filed Critical Anhui University of Architecture
Priority to CN201720231935.XU priority Critical patent/CN206561923U/en
Application granted granted Critical
Publication of CN206561923U publication Critical patent/CN206561923U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

本实用新型公开了一种基于单片机的电动自行车控制器,包括单片机以及与单片机相连的逻辑电路、驱动电路、电源电路、调速电路、闸车电路、功能模块、显示模块;电源电路用于提供控制器内所需电压;调速电路用于将旋转调速转把时形成的转把信号发送至单片机;闸车电路用于将旋转刹车闸把时形成的闸把信号发送至单片机;功能模块包括分别与单片机相连的照明电路和喇叭;显示模块包括与单片机相连的数码管,用于显示测量转速。本实用新型实现了对电动自行车转速的智能化调节,不仅拥有对系统的短路保护、欠电压保护、过流保护等故障保护功能,而且拥有可靠的限速功能,有利于行车安全,对电动自行车市场的发展具有重要的意义。

The utility model discloses an electric bicycle controller based on a single-chip microcomputer, which comprises a single-chip microcomputer and a logic circuit connected with the single-chip microcomputer, a drive circuit, a power supply circuit, a speed regulating circuit, a brake circuit, a function module and a display module; the power supply circuit is used to provide The voltage required in the controller; the speed regulation circuit is used to send the signal of the handlebar formed when rotating the speed regulation handlebar to the single-chip microcomputer; the brake circuit is used to send the signal of the handlebar handle formed when the brake handle is rotated to the singlechip microcomputer; the function module It includes a lighting circuit and a horn respectively connected with the single-chip computer; the display module includes a digital tube connected with the single-chip computer for displaying the measured rotational speed. The utility model realizes the intelligent adjustment of the rotation speed of the electric bicycle, not only has fault protection functions such as short-circuit protection, under-voltage protection, and over-current protection for the system, but also has a reliable speed-limiting function, which is beneficial to driving safety and is beneficial to electric bicycles. The development of the market is of great significance.

Description

一种基于单片机的电动自行车控制器A Single Chip Computer Based Electric Bicycle Controller

技术领域technical field

本实用新型属于电动自行车领域,尤其涉及一种基于单片机的电动自行车控制器。The utility model belongs to the field of electric bicycles, in particular to an electric bicycle controller based on a single-chip microcomputer.

背景技术Background technique

随着社会的发展,人们的生活水平与物质条件也在不知不觉中不断提升,发展绿色、环保、经济的能源,创造具有现代化特色的交通工具成为当今社会最迫切的研究课题;在这科技水平和电力电子技术不断发展和电力电源的日趋成熟,电动自行车已经成为城市里人们生活中最佳的绿色交通工具。并在此后相当长的一段时间里其在人们生活中都将是不可取少的一部分,这也造成了我国是世界范围内“自行车王国”的位置。现如今,蓄电池因其轻巧、保险、能耗低、排放少、噪音小、省时省力、有利于发展绿色环保人文新气象的居住环境等优点而成为当今社会自行车电池中最受人民群众喜爱的动力源。而且随着现在城市中电动自行车的日趋增长,取代传统自行车已成为大势所趋。With the development of society, people's living standards and material conditions are also improving unconsciously. The development of green, environmentally friendly and economical energy and the creation of modern vehicles have become the most urgent research topics in today's society; in this technology With the continuous development of level and power electronics technology and the maturity of power supply, electric bicycles have become the best green transportation for people in the city. And it will be an indispensable part in people's life for quite a long period of time hereafter, which also causes my country to be the position of "bicycle kingdom" in the world. Nowadays, the battery has become the most popular bicycle battery in today's society because of its light weight, safety, low energy consumption, low emission, low noise, time-saving and labor-saving, and a living environment that is conducive to the development of a green, environmentally friendly and humanistic new atmosphere. power source. And with the increasing number of electric bicycles in cities, replacing traditional bicycles has become the general trend.

电动自行车是最适合中国国情的现代化交通工具,也是当今社会最具发展潜力的交通工具,它的出现及市场推广对于解决广大人们群众出行难和缓解大气污染具有非常重大的现实性意义。因此如何设计处智能安全的电动自行车控制器具有重要的意义。Electric bicycles are the most suitable modern means of transportation for China's national conditions, and they are also the means of transportation with the greatest potential for development in today's society. Its appearance and market promotion are of great practical significance for solving the travel difficulties of the masses and alleviating air pollution. Therefore, how to design an intelligent and safe electric bicycle controller is of great significance.

实用新型内容Utility model content

本实用新型的目的在于克服现有技术存在的以上问题,提供一种基于单片机的电动自行车控制器,实现了对电动自行车的智能安全与有效控制。The purpose of the utility model is to overcome the above problems in the prior art, provide a single-chip microcomputer-based electric bicycle controller, and realize the intelligent safety and effective control of the electric bicycle.

为实现上述技术目的,达到上述技术效果,本实用新型通过以下技术方案实现:In order to achieve the above-mentioned technical purpose and achieve the above-mentioned technical effect, the utility model is realized through the following technical solutions:

一种基于单片机的电动自行车控制器,包括单片机以及与单片机相连的逻辑电路、驱动电路,还包括与单片机相连的电源电路、调速电路、闸车电路、功能模块、显示模块;An electric bicycle controller based on a single-chip microcomputer, including a single-chip microcomputer, a logic circuit connected with the single-chip computer, a driving circuit, a power supply circuit connected with the single-chip computer, a speed regulating circuit, a brake circuit, a function module, and a display module;

所述电源电路用于提供控制器内所需电压;The power supply circuit is used to provide the required voltage in the controller;

所述调速电路用于将旋转调速转把时形成的转把信号发送至单片机;The speed regulating circuit is used to send the turning signal formed when the speed regulating turning handle is rotated to the single-chip microcomputer;

所述闸车电路用于将旋转刹车闸把时形成的闸把信号发送至单片机;The brake circuit is used to send the brake handle signal formed when the brake handle is rotated to the single-chip microcomputer;

所述功能模块包括分别与单片机相连的照明电路和喇叭;The functional modules include a lighting circuit and a speaker connected to the single-chip microcomputer respectively;

所述显示模块包括与单片机相连的数码管,用于显示测量转速。The display module includes a digital tube connected with the single chip microcomputer for displaying the measured rotational speed.

进一步地,所述驱动电路采用H桥组成的高电压大电流双全桥式驱动芯片L298作为本系统的驱动电路。Further, the driving circuit adopts the high-voltage and high-current dual full-bridge driving chip L298 composed of H-bridges as the driving circuit of the system.

进一步地,所述单片机采用型号为AT89C52的控制芯片。Further, the single-chip microcomputer adopts a control chip whose model is AT89C52.

进一步地,所述电源电路包括串联电阻、三个三端稳压器和电容,三个三端稳压器分别为三端稳压器78L24、三端稳压器78L15、三端稳压器78L05;Further, the power supply circuit includes a series resistor, three three-terminal voltage regulators and a capacitor, and the three three-terminal voltage regulators are respectively three-terminal voltage regulator 78L24, three-terminal voltage regulator 78L15, and three-terminal voltage regulator 78L05 ;

电压经过所述串联电阻限流分压后输入三端稳压器78L24中,输出电压再经过三端稳压器78L15输出电压,此为第一组电源,用于为驱动电路提供电源电压;The voltage is input into the three-terminal voltage regulator 78L24 after being current-limited and divided by the series resistor, and the output voltage is output through the three-terminal voltage regulator 78L15, which is the first group of power supply, which is used to provide the power supply voltage for the drive circuit;

第一组电源电压经过三端稳压器78L05后得到第二组电源电压,用于为单片机及其控制电路提供电源电压;The first group of power supply voltage passes through the three-terminal voltage regulator 78L05 to obtain the second group of power supply voltage, which is used to provide power supply voltage for the single-chip microcomputer and its control circuit;

所述电容为电解电容,用于滤波。The capacitor is an electrolytic capacitor for filtering.

进一步地,所述调速电路包括与单片机相连的调节电位器,用于控制电压在额定范围之间。Further, the speed regulating circuit includes an adjusting potentiometer connected with the single chip microcomputer, and is used to control the voltage between rated ranges.

进一步地,所述闸车电路包括开关与闸把位置传感元件;Further, the brake circuit includes a switch and a brake handle position sensing element;

当开关断开时,电路将模拟出电动车的刹车状态,开关接通时,电路模拟电动车的正常运行状态;When the switch is off, the circuit will simulate the braking state of the electric vehicle; when the switch is on, the circuit will simulate the normal running state of the electric vehicle;

所述闸把位置传感元件用于将闸把信号发送至单片机,从而实现是否停止对电机的供电。The brake handle position sensing element is used to send the brake handle signal to the single-chip microcomputer, so as to realize whether to stop the power supply to the motor.

进一步地,所述照明电路中采用电子按键控制灯光的开关。Further, electronic buttons are used in the lighting circuit to control the switch of the light.

进一步地,所述显示模块中的数码管选用共阴两位一体数码管7SEG-MPX2-CC。Further, the digital tube in the display module is selected as a common-cathode two-in-one digital tube 7SEG-MPX2-CC.

本实用新型的有益效果是:The beneficial effects of the utility model are:

本实用新型实现了对电动自行车转速的智能化调节,不仅拥有对系统的短路保护、欠电压保护、过流保护等故障保护功能,而且拥有可靠的限速功能,有利于行车安全,整个控制器系统功能完善,自动化程度高,对电动自行车市场的发展具有重要的意义。The utility model realizes the intelligent adjustment of the rotation speed of the electric bicycle, not only has fault protection functions such as short-circuit protection, under-voltage protection, and over-current protection for the system, but also has a reliable speed-limiting function, which is beneficial to driving safety. The system has complete functions and a high degree of automation, which is of great significance to the development of the electric bicycle market.

附图说明Description of drawings

此处所说明的附图用来提供对本实用新型的进一步理解,构成本申请的一部分,本实用新型的示意性实施例及其说明用于解释本实用新型,并不构成对本实用新型的不当限定。在附图中:The drawings described here are used to provide a further understanding of the utility model and constitute a part of the application. The schematic embodiments of the utility model and their descriptions are used to explain the utility model and do not constitute improper limitations to the utility model. In the attached picture:

图1是本实用新型的系统结构示意图;Fig. 1 is a schematic diagram of the system structure of the present utility model;

图2是本实用新型中的电源电路图;Fig. 2 is a power supply circuit diagram in the utility model;

图3是本实用新型中的调速电路图;Fig. 3 is the speed regulating circuit diagram in the utility model;

图4是本实用新型中的闸车电路图;Fig. 4 is the brake car circuit diagram in the utility model;

图5是本实用新型功能模块中照明电路和喇叭的电路图。Fig. 5 is a circuit diagram of the lighting circuit and the loudspeaker in the functional module of the utility model.

具体实施方式detailed description

下面将参考附图并结合实施例,来详细说明本实用新型。The utility model will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

如图1所示的一种基于单片机的电动自行车控制器,包括单片机以及与单片机相连的逻辑电路、驱动电路,还包括与单片机相连的电源电路、调速电路、闸车电路、功能模块、显示模块,驱动电路采用H桥组成的高电压大电流双全桥式驱动芯片L298作为本系统的驱动电路,单片机采用型号为AT89C52的控制芯片,同时采用定频调宽方式来保证电动机的稳定运转。An electric bicycle controller based on a single-chip microcomputer as shown in Figure 1 includes a single-chip microcomputer and a logic circuit connected to the single-chip microcomputer, a driving circuit, and a power supply circuit connected to the single-chip microcomputer, a speed regulating circuit, a brake circuit, a functional module, and a display The module and the driving circuit adopt the high voltage and high current double full bridge driving chip L298 composed of H bridges as the driving circuit of this system.

如图2所示,48V电压经串联电阻R1限流分压后输入三端稳压器78L24中,输出电压为24V,24V电压再经过三端稳压器78L15输出15V电压,此为第一组电源,主要为功率驱动电路提供电源电压,由于场效应管的驱动要求必须在10V~20V之间才能更好的导通,所以只有经过二次降压才能得到合适的电压,同时也能为第二组+5V电源提供预稳压,这组电压主要由三端稳压器78L24和78L15提供;第二组+5V电源由+15V电源经过三端稳压器78L05直接得到;图2中的所有电容均为电解电容,主要起到滤波作用,以减小稳压电源输出端因电源转换而产生的尖峰电压,使得输出电压平稳、波纹小。As shown in Figure 2, the 48V voltage is input into the three-terminal voltage regulator 78L24 after being limited and divided by the series resistor R1, and the output voltage is 24V. The 24V voltage then passes through the three-terminal voltage regulator 78L15 to output a 15V voltage. This is the first group The power supply mainly provides the power supply voltage for the power drive circuit. Since the driving requirement of the field effect tube must be between 10V and 20V to conduct better, only after a second step-down can a suitable voltage be obtained, and it can also be used for the first The second set of +5V power supply provides pre-regulated voltage, and this set of voltage is mainly provided by the three-terminal voltage regulator 78L24 and 78L15; the second set of +5V power supply is directly obtained from the +15V power supply through the three-terminal voltage regulator 78L05; all of the The capacitors are all electrolytic capacitors, which mainly serve as a filter to reduce the peak voltage at the output of the regulated power supply due to power conversion, so that the output voltage is stable and the ripple is small.

如图3所示,调速电路用于将旋转调速转把时形成的转把信号发送至单片机,调速电路包括与单片机相连的调节电位器,用于控制电压在1.0V~4.8V之间,直流电机可以对转速进行实时监控,并将真实转速在显示电路上得以显示。As shown in Figure 3, the speed regulating circuit is used to send the signal of the turning handle formed when the speed regulating handle is rotated to the single-chip microcomputer. During this period, the DC motor can monitor the speed in real time, and display the real speed on the display circuit.

如图4所示,闸车电路用于将旋转刹车闸把时形成的闸把信号发送至单片机,闸车电路包括开关与闸把位置传感元件;当开关断开时,电路将模拟出电动车的刹车状态,开关接通时,电路模拟电动车的正常运行状态;闸把位置传感元件用于将闸把信号发送至单片机,从而实现是否停止对电机的供电。As shown in Figure 4, the brake circuit is used to send the brake handle signal formed when the brake handle is rotated to the microcontroller. The brake circuit includes a switch and a brake handle position sensing element; when the switch is turned off, the circuit will simulate a motor In the braking state of the car, when the switch is turned on, the circuit simulates the normal operating state of the electric car; the brake handle position sensing element is used to send the brake handle signal to the single-chip microcomputer, so as to realize whether to stop the power supply to the motor.

如图5所示,功能模块包括分别与单片机相连的照明电路和喇叭,照明电路中采用电子按键控制灯光的开关,照明电路以及喇叭控制电路在本设计中分别与74LS243芯片的A0、A1端口相连。As shown in Figure 5, the functional modules include a lighting circuit and a speaker that are connected to the single-chip microcomputer. The lighting circuit uses electronic buttons to control the light switch. The lighting circuit and the speaker control circuit are respectively connected to the A0 and A1 ports of the 74LS243 chip in this design. .

显示模块包括与单片机相连的数码管,用于显示测量转速,显示模块中的数码管选用共阴两位一体数码管7SEG-MPX2-CC。The display module includes a digital tube connected with the single-chip microcomputer, which is used to display the measured speed. The digital tube in the display module uses a two-in-one digital tube with a common cathode 7SEG-MPX2-CC.

本实用新型实现了对电动自行车转速的智能化调节,不仅拥有对系统的短路保护、欠电压保护、过流保护等故障保护功能,而且拥有可靠的限速功能,有利于行车安全,整个控制器系统功能完善,自动化程度高,对电动自行车市场的发展具有重要的意义。The utility model realizes the intelligent adjustment of the rotation speed of the electric bicycle, not only has fault protection functions such as short-circuit protection, under-voltage protection, and over-current protection for the system, but also has a reliable speed-limiting function, which is beneficial to driving safety. The system has complete functions and a high degree of automation, which is of great significance to the development of the electric bicycle market.

以上显示和描述了本实用新型的基本原理、主要特征和本实用新型的优点。本行业的技术人员应该了解,本实用新型不受上述实施例的限制,上述实施例和说明书中描述的只是说明本实用新型的原理,在不脱离本实用新型精神和范围的前提下,本实用新型还会有各种变化和改进,这些变化和改进都落入要求保护的本实用新型范围内。The basic principles, main features and advantages of the present utility model have been shown and described above. Those skilled in the industry should understand that the utility model is not limited by the above-mentioned embodiments. The above-mentioned embodiments and descriptions only illustrate the principle of the utility model. Without departing from the spirit and scope of the utility model, the utility model The new model also has various changes and improvements, and these changes and improvements all fall within the scope of the claimed utility model.

Claims (8)

1. a kind of SCM Based electric bicycle controller, it is characterised in that:It is connected including single-chip microcomputer and with single-chip microcomputer Logic circuit, drive circuit, it is characterised in that:Also include power circuit, alignment circuit, lock the car electricity being connected with single-chip microcomputer Road, functional module, display module;
The power circuit is used for voltage needed for providing in controller;
The alignment circuit be used for by rotate speed control crank when formed turn transmit the signal to single-chip microcomputer;
The lock that the lock car circuit is used to be formed during by spin brake brake lever transmits the signal to single-chip microcomputer;
The functional module includes the lighting circuit and loudspeaker being connected respectively with single-chip microcomputer;
The display module includes the charactron being connected with single-chip microcomputer, for showing measurement rotating speed.
2. a kind of SCM Based electric bicycle controller according to claim 1, it is characterised in that:The driving The high-voltage large current that circuit is constituted using H bridges is enjoyed a double blessing drive circuits of the bridge-type driving chip L298 as the system.
3. a kind of SCM Based electric bicycle controller according to claim 1, it is characterised in that:The monolithic Machine uses model AT89C52 control chip.
4. a kind of SCM Based electric bicycle controller according to claim 1, it is characterised in that:The power supply Circuit includes series resistance, three three terminal regulators and electric capacity, and three three terminal regulators are respectively three terminal regulator 78L24, three Hold voltage-stablizer 78L15, three terminal regulator 78L05;
Voltage is inputted in three terminal regulator 78L24 after the series resistance current limliting partial pressure, and output voltage is steady by three ends again Depressor 78L15 output voltages, this is first group of power supply, for providing supply voltage for drive circuit;
First group of supply voltage obtains second group of supply voltage after three terminal regulator 78L05, for for single-chip microcomputer and its control Circuit processed provides supply voltage;
The electric capacity is electrochemical capacitor, for filtering.
5. a kind of SCM Based electric bicycle controller according to claim 1, it is characterised in that:The speed governing Circuit includes the regulation potentiometer being connected with single-chip microcomputer, for control voltage between rated range.
6. a kind of SCM Based electric bicycle controller according to claim 1, it is characterised in that:The lock car Circuit includes switch and brake lever position sensing element;
When the switches are opened, circuit will simulate the braking state of electric car, during switch connection, breadboardin electric car it is normal Running status;
The brake lever position sensing element is used to lock transmitting the signal to single-chip microcomputer, so as to realize the confession whether stopped to motor Electricity.
7. a kind of SCM Based electric bicycle controller according to claim 1, it is characterised in that:The illumination The switch of light is controlled in circuit using electronic key.
8. a kind of SCM Based electric bicycle controller according to claim 1, it is characterised in that:The display Charactron in module is from two integral charactron 7SEG-MPX2-CC of common cathode.
CN201720231935.XU 2017-03-10 2017-03-10 A kind of SCM Based electric bicycle controller Expired - Fee Related CN206561923U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720231935.XU CN206561923U (en) 2017-03-10 2017-03-10 A kind of SCM Based electric bicycle controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720231935.XU CN206561923U (en) 2017-03-10 2017-03-10 A kind of SCM Based electric bicycle controller

Publications (1)

Publication Number Publication Date
CN206561923U true CN206561923U (en) 2017-10-17

Family

ID=60030398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720231935.XU Expired - Fee Related CN206561923U (en) 2017-03-10 2017-03-10 A kind of SCM Based electric bicycle controller

Country Status (1)

Country Link
CN (1) CN206561923U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107905148A (en) * 2017-12-10 2018-04-13 柳州市力万科技有限公司 Electric railing control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107905148A (en) * 2017-12-10 2018-04-13 柳州市力万科技有限公司 Electric railing control system

Similar Documents

Publication Publication Date Title
CN109866647A (en) A kind of solar energy alternating-current charging pile control system based on HCS08 single-chip microcontroller
CN105667429B (en) The guard method of mobile generator automatic voltage stabilization and control, apparatus and system
CN206561923U (en) A kind of SCM Based electric bicycle controller
CN208244016U (en) A kind of new-generation bicycle containing interactive display screen
CN204717574U (en) SCM Based energy-saving solar street lamp
CN201432593Y (en) Wind power storage and output device
CN204381652U (en) There is the spot welding device of human-computer interaction function
CN106950868A (en) A kind of environment inside car management information system
CN209700837U (en) A kind of electric bicycle constant-speed cruising device
CN203588912U (en) High-voltage circuit breaker motor actuator control device based on angular displacement control
CN207809627U (en) Electric motor tricycle double-motor driving structure
CN202966002U (en) Speed regulation circuit for accelerator pedal of electric automobile
CN201281629Y (en) Two-channel sunshine sensor for automobile air conditioner control system
CN207089521U (en) Electric car lamp holder lighting display device
CN205737356U (en) A kind of multi-mode drives electric automobile
CN206517649U (en) A kind of automobile light sources power-supply circuit and a kind of automobile lamp circuit
CN216861662U (en) Follow-up steering lamp for non-motor vehicle
CN107878168A (en) A kind of electric automobile
CN204605561U (en) A kind of extended-range electric vehicle
CN218951640U (en) Driving and controlling integrated controller of computerized flat knitting machine control system
CN212623768U (en) Intelligent control system of dust remover
CN2671858Y (en) Automatic charging system for electric vehicle
CN201656515U (en) Emergency device for electric vehicle
CN214420230U (en) Double-battery electric vehicle control system
CN205335958U (en) Multivoltage solar power unit

Legal Events

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

Granted publication date: 20171017

Termination date: 20180310