CN103279059A - Electric control signal intelligent processing device for electric vehicle - Google Patents

Electric control signal intelligent processing device for electric vehicle Download PDF

Info

Publication number
CN103279059A
CN103279059A CN201310185961XA CN201310185961A CN103279059A CN 103279059 A CN103279059 A CN 103279059A CN 201310185961X A CN201310185961X A CN 201310185961XA CN 201310185961 A CN201310185961 A CN 201310185961A CN 103279059 A CN103279059 A CN 103279059A
Authority
CN
China
Prior art keywords
data
information
controller
panel board
electric motor
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.)
Pending
Application number
CN201310185961XA
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.)
Zhejiang Yadea Motorcycle Co Ltd
Original Assignee
Zhejiang Yadea Motorcycle Co Ltd
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 Zhejiang Yadea Motorcycle Co Ltd filed Critical Zhejiang Yadea Motorcycle Co Ltd
Priority to CN201310185961XA priority Critical patent/CN103279059A/en
Publication of CN103279059A publication Critical patent/CN103279059A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The invention discloses an electric control signal intelligent processing device for an electric vehicle. The device comprises a dashboard and a controller, wherein the dashboard is used for detecting external information, transmitting the detected information to the controller in a first preset data format, and transmitting a signal to each driving module according to the processed information of the controller; and the controller is used for receiving and processing information transmitted by the dashboard, and transmitting processed information to the dashboard in a second preset data format. According to the electric control signal intelligent processing device, the dashboard is used for acquiring a signal of an electric control component, so that the bus structure of the entire vehicle is simplified, the controller exists as an independent unit driven by a core motor, and the standardization of a controller interface is realized; and different transmission protocols are adopted by distinguishing signal priority and instantaneity requirements respectively, and various signals can be exchanged reliably and rapidly.

Description

The intelligent treating apparatus of a kind of electric motor car automatically controlled signal
Technical field
The invention belongs to the vehicle technology field, particularly relate to the intelligent treating apparatus of a kind of electric motor car automatically controlled signal.
Background technology
Electric motor car, electronic trail bike, the present ubiquity assembly unit of battery-operated motor cycle phenomenon, the controller of each manufacturer all is that signal wire box power lead is directly drawn with lead, when in addition signal wire and power lead being drawn, the position is also multifarious, be that signal wire and power lead may be drawn from each position on the circuit board, like this in assembling process, the assembly crewman is very inconvenient, easily with wire bonding wrong mistake, there is misplug, leaks and insert phenomenon, be unfavorable for the assembling of car load factory, also be unfavorable for personnel's maintenance after sale.In addition, standard of each car load manufacturer is unfavorable for the exchange of different controller producer controller.
Existing vehicle sections is to do the electric motor car communication with the CAN communication, and operation is complicated, is fit to the multiterminal communication, need the strong system's support of stabilization function, generally need the chip of certain arithmetic capability, and the hardware interface of CAN need be arranged and need charge, cost is higher.
Summary of the invention
(1) technical matters that will solve
The technical problem to be solved in the present invention is: the electric motor car communication is done in existing electric vehicle CAN communication, and operation is complicated, is fit to the multiterminal communication, needs the strong system's support of stabilization function, the hardware interface of CAN need be arranged and need charge, and cost is higher.
(2) technical scheme
In order to solve the problems of the technologies described above, the invention provides the intelligent treating apparatus of a kind of electric motor car automatically controlled signal, comprising:
Panel board for detection of external information, and sends to controller with detected information with first predetermined data format, and is used for to send signal to the respective drive module of electric motor car according to the process information of controller;
Controller be used for handling receiving the panel board information transmitted, and the information after will handling sends to panel board with second predetermined data format.
The present invention also provides a kind of electric motor car automatically controlled signal intelligent processing method, comprising:
The detected external information of panel board is sent to controller with first predetermined data format;
The information that receives is handled, according to the information of handling driver module is controlled, and the information after will handling is sent to panel board with second predetermined data format.
(3) beneficial effect
Technique scheme has following advantage: the present invention will gather the work of electric-controlled parts signal and give the panel board processing, the car load bus structure have been simplified, give prominence to controller and existed as the motor-driven separate unit of core, and realized the standardization of control unit interface; By distinguishing signal priority degree and real-time requirement, take different host-host protocols respectively, guarantee that various signals are reliable, fast exchange.
Description of drawings
Fig. 1 is the structural representation of a kind of embodiment of the present invention;
Fig. 2 is the schematic diagram of the signal controlling of Fig. 1.
Wherein, 1: panel board; 2: controller.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for explanation the present invention, but are not used for limiting the scope of the invention.
As illustrated in fig. 1 and 2, be the structural representation of an embodiment of the present invention, the intelligent treating apparatus of electric motor car automatically controlled signal of the present invention comprises:
Panel board 1 for detection of external information, and sends to controller with detected information with first predetermined data format, and is used for to send signal to the respective drive module of electric motor car according to the process information of controller;
Controller 2 be used for handling receiving the panel board information transmitted, and the information after will handling sends to panel board with second predetermined data format.
The present invention will gather the work of electric-controlled parts signal and give the panel board processing, simplify the car load bus structure, give prominence to controller and will have existed as the motor-driven separate unit of core, and realize the standardization of control unit interface; By distinguishing signal priority degree and real-time requirement, take different host-host protocols respectively, guarantee that various signals are reliable, fast exchange.
Panel board 1 of the present invention is connected with outer input interface and is connected with outside output control interface.This panel board comprises electric motor car information such as handle information, brake information, three fast information for detection of external information, and detected information is sent to controller 2 with first predetermined data format.First predetermined data format is the mode with respect to existing C AN bus, specifically be will comprise handle data, brake data, three fast data and reversal data information arrange, and above-mentioned information is set to first predetermined format and sends.
The normal operation of controller 2 control motors of the present invention, the data message of receiving instrument transmission also sends data message to panel board, handle receiving the panel board information transmitted, and the information after will handling sends to panel board 1 with second predetermined data format.Information after the processing comprises that handle detection data, brake detect data, Hall (Hall) detects data, the detection of Mos pipe data, voltage detecting data and phase-detection data, information after handling is arranged according to second predetermined data format, and send to panel board 1.Panel board 1 sends to this information outside output control interface again, sends signal with the driver module that comprises motor, LED lamp etc. to each.
In order to improve information transmitting speed and efficient, described panel board is divided into priority level with detected information, transmits data according to priority level and gives controller.Communication between the panel board to-controller by distinguishing signal priority degree and real-time requirement, is taked different host-host protocols respectively, guarantees that various signals are reliable, fast exchange.Wherein, the transmission between from the panel board to the controller is adopted the UART interface, employing custom protocol and data structure; Controller and car load working state signal, self-defined communications protocol and data structure are adopted in the transmission between from the controller to the panel board.
In order to improve safety of data transmission, preferably, when described panel board is transferred to controller with information, carry out the crc verification.
Describe below in conjunction with an embodiment:
Communications protocol and data structure content:
Custom protocol:
1. the hardware of frame data transmitting-receiving is realized, realizes by the uart interface, and now general single-chip microcomputer all carries uart, so do not need extra hardware supported, cost is lower.
2. software is realized (configuration of signal, identification, processing and diagnosis)
2.1. data layout adopts 8 bit data of standard, each byte comprises identifier information and data message, and the byte number that every frame of data information comprises can freely define, and the speed of data transmission (baud rate) preferentially can change flexibly according to information.
2.2 for the reliability that guarantees to communicate by letter, data are adopted relatively stricter checking algorithm, adopt the crc check addition, as follows:
The CRC-16 sign indicating number is made of two bytes, and each of CRC register all is predisposed to 1 in when beginning, and (XOR: binary arithmetic is all 0 mutually, is not all 1 then CRC register and the data of 8-bit to be carried out XOR; 0^0=0; 0^1=1; 1^0=1; 1^1=0), afterwards the CRC register is shifted from high to low, position zero padding in most significant digit (MSB), and lowest order (LSB, be moved out of the CRC register after the displacement) if be 1, then register and predefined polynomial code are carried out XOR, LSB is zero else if, then need not to carry out XOR.Repeat above-mentioned displacement from high to low 8 times, first 8-bit data dispose, with this moment the CRC register value and next 8-bit data XOR and carry out as being shifted for 8 times the previous data.Value after all characters are finished dealing with in the CRC register is final crc value.
1. the CRC register is set, and gives its assignment FFFF (hex).
2. first 8-bit character of data and the least-significant byte of 16 CRC registers are carried out XOR, and the result is deposited in the CRC register.3.CRC register moves right one, LSB is shifted out and checks in the MSB zero padding.
3. if LSB is 0, repeated for the 3rd step; If LSB is 1, CRC register and polynomial code phase XOR.
4. repeating for the 3rd and the 4th step all finishes up to 8 displacements.This moment, 8-bit data disposed.
5. repeating for the 2nd to the 5th step all finishes dealing with up to all data.
6. the content of final CRC register is crc value.
CRC (16) polynomial expression is X16+X15+X2+1, and its corresponding verification binary digit classifies 11000000000000101 as.
7. data format definition
D0 D1 D2 D3 D4 D5 D6 D7
8. instrument is to the concrete representative information of controller data
Figure BSA00000897671200051
Self-defined unibus asynchronous protocol:
Hardware aspect, in two and above Single Chip Microcomputer (SCM) system, can each personal io mouth as communication port.
The software aspect defines data and transmission mode in the following way
Bus level was defined as high level or low level when communication was idle, and the data level form can be defined by following manner during communication.Data 1 can be made up of 100us high level and 50us low level.Data 0 can be made up of 100us low level and 50us high level.Every frame data can comprise a plurality of bytes, and main frame can utilize free time to send data, does not additionally take mcu resource, has only a main frame in all single-chip microcomputers, comes issuing command information, coordinating communication by it.
One frame data transmitting time, calculate with byte 8 bit data, 8* (100+50)=1.2ms, can calculate the effective information that about per second can transmit 800 bytes like this, can be according to single-chip microcomputer performance and transfer rate and reliability requirement, but above-mentioned level definition time proper extension and shortening.
Data are sent completely the back transmit leg port are set as idle level, to discharge bus, finish this communication and wait for communication next time.
Reliability requirement according to data, latter two byte of data can be made as checking data, generally can for verification and or parity checking and crc verification etc., if wrongly can abandon these frame data, if think repair data, can carry out " cross interleave " to data, remaining data can be decided by the protocol definition person according to practical application request.
Controller is to the concrete representative information of instrumented data
Figure BSA00000897671200071
Figure BSA00000897671200081
The present invention also provides a kind of electric motor car automatically controlled signal intelligent processing method, comprising:
The detected external information of panel board is sent to controller with first predetermined data format;
The information that receives is handled, according to the information of handling driver module is controlled, and the information after will handling is sent to panel board with second predetermined data format.
Wherein, described detected external information is sent to controller with first predetermined data format, further comprise: detected information is divided into priority level, transmits data according to priority level and give controller.
Wherein, when described panel board is transferred to controller with information, carry out the crc verification.
Wherein, described panel board detects and comprises handle data, brake data, three fast data and reversal data information, and the above-mentioned information of described panel board is set to first predetermined format and sends.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the technology of the present invention principle; can also make some improvement and replacement, these improvement and replacement also should be considered as protection scope of the present invention.

Claims (6)

1. the intelligent treating apparatus of electric motor car automatically controlled signal is characterized in that, comprising:
Panel board for detection of external information, and sends to controller with detected information with first predetermined data format, and is used for to send signal to the respective drive module of electric motor car according to the process information of controller;
Controller be used for handling receiving the panel board information transmitted, and the information after will handling sends to panel board with second predetermined data format.
2. the intelligent treating apparatus of electric motor car automatically controlled signal according to claim 1 is characterized in that described panel board is divided into priority level with detected information, transmits data according to priority level and gives controller.
3. the intelligent treating apparatus of electric motor car automatically controlled signal according to claim 1 is characterized in that, when described panel board is transferred to controller with information, carries out the crc verification.
4. the intelligent treating apparatus of electric motor car automatically controlled signal according to claim 1 is characterized in that described driver module is motor or lamp.
5. the intelligent treating apparatus of electric motor car automatically controlled signal according to claim 1, it is characterized in that, the detected information of described panel board comprises handle data, brake data, three fast data and reversal datas, and above-mentioned information is set to first predetermined format and sends.
6. the intelligent treating apparatus of electric motor car automatically controlled signal according to claim 1, it is characterized in that, information after described controller is handled comprises that handle detects data, brake and detects that data, Hall detect data, the Mos pipe detects data, voltage detecting data and phase-detection data, and above-mentioned data message is set to second predetermined format and sends.
CN201310185961XA 2013-05-07 2013-05-07 Electric control signal intelligent processing device for electric vehicle Pending CN103279059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310185961XA CN103279059A (en) 2013-05-07 2013-05-07 Electric control signal intelligent processing device for electric vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310185961XA CN103279059A (en) 2013-05-07 2013-05-07 Electric control signal intelligent processing device for electric vehicle

Publications (1)

Publication Number Publication Date
CN103279059A true CN103279059A (en) 2013-09-04

Family

ID=49061623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310185961XA Pending CN103279059A (en) 2013-05-07 2013-05-07 Electric control signal intelligent processing device for electric vehicle

Country Status (1)

Country Link
CN (1) CN103279059A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110962771A (en) * 2018-09-30 2020-04-07 上海汽车集团股份有限公司 Information processing system and method
CN111447244A (en) * 2020-05-19 2020-07-24 台州市永长电动车制造有限公司 One-wire communication expansion communication method and device for electric vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002220080A (en) * 2001-01-26 2002-08-06 Sanyo Electric Co Ltd Vehicle with assisting power
CN202243281U (en) * 2011-08-19 2012-05-30 无锡市东大龙芯电子技术有限责任公司 Bus device for electric control of electric car
CN202541330U (en) * 2012-03-31 2012-11-21 湖南晟通科技集团有限公司 Electromobile instrument
CN103043172A (en) * 2012-12-30 2013-04-17 广东盈科电子有限公司 Traveling control system of electric vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002220080A (en) * 2001-01-26 2002-08-06 Sanyo Electric Co Ltd Vehicle with assisting power
CN202243281U (en) * 2011-08-19 2012-05-30 无锡市东大龙芯电子技术有限责任公司 Bus device for electric control of electric car
CN202541330U (en) * 2012-03-31 2012-11-21 湖南晟通科技集团有限公司 Electromobile instrument
CN103043172A (en) * 2012-12-30 2013-04-17 广东盈科电子有限公司 Traveling control system of electric vehicle

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110962771A (en) * 2018-09-30 2020-04-07 上海汽车集团股份有限公司 Information processing system and method
CN111447244A (en) * 2020-05-19 2020-07-24 台州市永长电动车制造有限公司 One-wire communication expansion communication method and device for electric vehicle
CN111447244B (en) * 2020-05-19 2024-04-02 台州市永长电动车制造有限公司 One-wire communication extension communication method and device for electric vehicle

Similar Documents

Publication Publication Date Title
EP3121670B1 (en) Motor train unit traction control system
CN103473196B (en) Remote measuring and controlling data transmission device in a kind of 1553B bus and star between device bus
CN102904504A (en) Permanent magnet synchronous motor system for automobile
CN111124986B (en) Asynchronous serial port communication protocol compatible with Modbus and high in efficiency
CN103454996A (en) Master-slave system and control method thereof
CN107071003A (en) A kind of intelligent anti-running system and its communication means based on Lora communications
CN105243044B (en) Management system and management method based on serial ports
CN103136930A (en) Infrared remote control system transmission end and realization method thereof
CN103279059A (en) Electric control signal intelligent processing device for electric vehicle
CN206878730U (en) motor driver
EP3761296A1 (en) Drive control method, component and display apparatus
CN203216499U (en) Intelligent processing device for electric control signals in electric bicycles
CN105045743A (en) Multi-protocol conversion method capable of realizing priority scheduling
CN101782777B (en) Off-line detection system
CN111628920B (en) Intercommunication method between multiple serial interface devices
CN104660372A (en) Multichannel data transmission method and system based on asynchronous serial port of single chip microcomputer
CN108170132B (en) Modular EPS bus processing method based on serial bus
CN211223705U (en) Electric bicycle instrument based on CAN communication
CN103218334A (en) Computer peripheral cascade device based on USB (Universal Serial Bus) and RS485 bus
CN103209105A (en) Communication device and method for rail transit vehicles
CN103161663A (en) Low-cost variable pitch system
CN205920159U (en) A generic interface for electric energy meter
CN105739377B (en) Using the circuit and control method of the common I/O transmitting-receivings CAN data messages of single-chip microcomputer
CN202503541U (en) Communication module used in mechanical instrument based on CAN bus and J1939 protocol
Kuzmanovic et al. APPLICATION OF DRIVE-BY-WIRE CONCEPT AND CAN PROTOCOL IN AUTOMOBILES

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130904