CN103291168A - Power window control device provided with CAN (controller area network) bus - Google Patents

Power window control device provided with CAN (controller area network) bus Download PDF

Info

Publication number
CN103291168A
CN103291168A CN2012100431022A CN201210043102A CN103291168A CN 103291168 A CN103291168 A CN 103291168A CN 2012100431022 A CN2012100431022 A CN 2012100431022A CN 201210043102 A CN201210043102 A CN 201210043102A CN 103291168 A CN103291168 A CN 103291168A
Authority
CN
China
Prior art keywords
window
controller
pilot controller
bus
control device
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
CN2012100431022A
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.)
Shanghai University of Engineering Science
Original Assignee
Shanghai University of Engineering Science
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 Shanghai University of Engineering Science filed Critical Shanghai University of Engineering Science
Priority to CN2012100431022A priority Critical patent/CN103291168A/en
Publication of CN103291168A publication Critical patent/CN103291168A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)
  • Window Of Vehicle (AREA)

Abstract

The invention relates to a power window control device provided with a CAN bus. The control device adopts a CAN bus type network topology structure and comprises a left front window main controller, a right front window auxiliary controller, a left back window auxiliary controller and a right back window auxiliary controller, wherein the left front window main controller is connected with the right front window auxiliary controller, the left back window auxiliary controller and the right back window auxiliary controller through the CAN bus; the left front window main controller can correct window parameters and controls the right front window auxiliary controller, the left back window auxiliary controller and the right back window auxiliary controller timely through the CAN bus, and one-time synchronous parameter correction of windows in the same car is completed. Compared with the prior art, the power window control device provided with the CAN bus has the advantages that the control parameter correction of all windows in the same car can be performed once, and the service life of each window is prolonged.

Description

The electric car-window control device of band CAN bus
Technical field
The present invention relates to a kind of power vehicle window controller, especially relate to a kind of electric car-window control device with the CAN bus.
Background technology
Automotive window controls to from machinery and realizes that progressively electronic control experienced repeatedly technological break-through.Originally, automobile electric car-window control is main to realize that by major and minor switch different circuit connects, thereby realizes the rotating control of Car window electric machine.At present, most of power windows have vehicle window controller with the realization window lifting, and the vehicle window more perfect function.
At present; the automobile electric car-window control system is made up of Hall element, motor pulses sensor, function button, motor driver, current feedback circuit and central controller; enable different function buttons and can realize the unlatching of power windows, closing motion, possess overcurrent and anti-pinch protection function simultaneously.Current vehicle window controller is to close basis increase by one safety factor of the current peak in the closed procedure as the threshold value of anti-pinch electric current at vehicle window; when current of electric surpasses this threshold value in the closed procedure of vehicle window pass; controller is implemented anti-pinch protection, is about to the vehicle window counter motion to the maximum opening position.In addition, vibratory impulse when being opened to maximum position for reducing vehicle window, motor pulses number when needing in advance vehicle window from closed condition to the maximum opening position is demarcated, controller according to the motor pulses number when vehicle window reaches maximum position nearly, stop to the Car window electric machine power supply, impact to reduce motion.Process and assembling deviation and in actual production process, exist; May be owing to there being certain distortion that stress causes of installing in the vehicle window installation process; Vehicle window can produce wearing and tearing in actual the use; Etc..The existence of these factors, cause the lowest high-current value that closes between the different vehicle windows of vehicle window of the same type or same car in the closed procedure, control parameter such as corresponding motor pulses number changes when being opened to maximum position, even same vehicle window also can change along with using it to control parameter repeatedly.Therefore, objectively need the control parameter of vehicle window is regularly revised.But current automotive window control system does not possess the debugging functions of vehicle window control parameter, does not especially possess once to controlling the parameter debugging functions with all vehicle windows on the car.
Summary of the invention
Purpose of the present invention be exactly provide a kind of in order to overcome the defective that above-mentioned prior art exists and can not only realize the opening of power windows, close, overcurrent and anti-pinch protection function, and possess the electric car-window control device of once realizing with the band CAN bus of the regular debugging functions of control parameter of all vehicle windows of car.
Purpose of the present invention can be achieved through the following technical solutions: a kind of electric car-window control device with the CAN bus, this control device adopts CAN bus-network topological structure, comprise left front window master controller, right front window pilot controller, left back window pilot controller and right back window pilot controller, described left front window master controller is connected with right front window pilot controller, left back window pilot controller and right back window pilot controller respectively by the CAN bus; Described left front window master controller, right front window pilot controller, left back window pilot controller and right back window pilot controller all can be controlled the opening and closing of vehicle window, described left front window master controller can be revised the vehicle window parameter, and by the CAN bus right front window pilot controller, left back window pilot controller, right back window pilot controller are controlled in real time, finish with the vehicle window of car is disposable and carry out the parameter correction synchronously.
Described left front window master controller, right front window pilot controller, left back window pilot controller and right back window pilot controller include first input circuit, first interface circuit, the current of electric input circuit, second interface circuit, the A/D change-over circuit, the microcontroller chip, CAN communication module and motor driver, described first input circuit is connected with the microcontroller chip by first interface circuit, described current of electric input circuit is connected with the microcontroller chip with the A/D change-over circuit by second interface circuit successively, described microcontroller chip connects CAN communication module and motor driver respectively, the microcontroller chip receives the signal of input, send instruction after the processing, by motor driver control Car window electric machine, vehicle window is opened, close or the parameter correction.
Described parameter correction may further comprise the steps:
1) whether judges vehicle window in fastening position, if not in fastening position, vehicle window is closed;
2) open vehicle window, stop during to maximum position, the motor pulses number when recording from fastening position to the maximum opening position;
3) Car window electric machine continues energising, record locked rotor current value;
4) make the Car window electric machine counter-rotating close vehicle window, record closes the lowest high-current value in the closed procedure, and vehicle window stops when arriving zero-bit;
5) parameter that records is replaced original parameter in the Flash memory of controller;
6) finish the parameter correction, return main program.
First input circuit of described left front window master controller comprises motor pulses input interface, Hall element, vehicle window start button, vehicle window close key, parameter correction key and CAN communication key.
First input circuit of described right front window pilot controller, left back window pilot controller and right back window pilot controller comprises motor pulses input interface, Hall element, vehicle window start button and vehicle window close key.
The CAN communication module of described left front window master controller comprises CAN transmitter and CAN controller, and the CAN communication module of described right front window pilot controller, left back window pilot controller and right back window pilot controller comprises CAN receiver and CAN controller.
Described CAN communication key is pressed and effectively the time, left front window master controller sends signal by the CAN transmitter, the CAN receiver receives the real-time control that realizes behind the signal right front window pilot controller, left back window pilot controller, right back window pilot controller, carries out the parameter correction synchronously to finish with the vehicle window of car is disposable.
Compared with prior art, the present invention can once finish the regular correction with all vehicle window control parameters on the car, remedy because the control parameter of bringing in processing, manufacturing, installation and the use changes, make the property retention of vehicle window in optimum state, increase the service life.
Description of drawings
Fig. 1 is the network structure of control device of the present invention;
Fig. 2 is the electrical structure diagram of left front window master controller of the present invention;
Fig. 3 is the main program control flow chart of left front window master controller of the present invention;
Fig. 4 is the parameter Correction and Control flow chart of left front window master controller of the present invention.
The specific embodiment
The present invention is described in detail below in conjunction with the drawings and specific embodiments.
Embodiment
As shown in Figure 1, a kind of electric car-window control device with the CAN bus, this control device adopts CAN bus-network topological structure, comprise left front window master controller A, right front window pilot controller B, left back window pilot controller C and right back window pilot controller D, left front window master controller A is connected with right back window pilot controller D with right front window pilot controller B, left back window pilot controller C respectively by the CAN bus; Left front window master controller A can control right front window pilot controller B, left back window pilot controller C, right back window pilot controller D in real time by the CAN bus, finishes with the vehicle window of car is disposable and carries out the parameter correction synchronously.
Be illustrated in figure 2 as the electrical diagram of the left front window master controller of the automobile A of band CAN bus, comprise first input circuit, first interface circuit 8, current of electric input circuit 7, second interface circuit 15, A/D change-over circuit 14, STC12C5A08S2 microcontroller chip (ECU) 9, power supply 10, CAN communication module 11 and motor driver MC33486 chip 12, described first input circuit is connected with microcontroller chip 9 by first interface circuit 8, described current of electric input circuit 7 is connected with microcontroller chip 9 with A/D change-over circuit 14 by second interface circuit 15 successively, and described microcontroller chip 9 connects power supply 10 respectively, CAN communication module 11 and motor driver 12.Described first input circuit comprises motor pulses input interface 2, Hall element 1 and 4 function keys---vehicle window start button 3, vehicle window close key 4, parameter correction key 5 and CAN communication key 6, wherein, Hall element 2 only triggers and sends signal when vehicle window is closed, be designated the zero-bit position of vehicle window, vehicle window start button 3 is used for carrying out the open function of vehicle window, vehicle window close key 4 is used for carrying out the closing function of vehicle window, and parameter correction key 5 is used for vehicle window control parameter debugging functions.The current acquisition function that the detection of current of electric input circuit 7 has according to motor driver MC33486 chip 12, motor current signal converts data signal to by second interface circuit 15 and A/D change-over circuit 14 and enters microcontroller chip 9; After the input signal of motor pulses input interface 2, Hall element 1, vehicle window start button 3, vehicle window close key 4, parameter correction key 5 and CAN communication key 6 is handled through first interface circuit 8, receive the digital input pin of microcontroller chip 9, down state according to each function key, STC12C5A08S2 microcontroller chip 9 sends instruction to motor driver MC33486 chip 12, the forward or reverse of control Car window electric machine 13, realize vehicle window unlatching, close, the parameter correction.When CAN communication key 6 was pressed and is effective, left front window master controller A carried out CAN bus communication function, and front window pilot controller B, left back window pilot controller C, right back window pilot controller D send communication information to the right.
Right front window pilot controller B, left back window pilot controller C, the electrical structure of right back window pilot controller D is similar substantially to left front window master controller A, difference is right front window pilot controller B, left back window pilot controller C, first input circuit of right back window pilot controller D includes only motor pulses input interface 2, Hall element 1, vehicle window start button 3 and vehicle window close key 4, the CAN communication module is difference to some extent also, have CAN in the program of the CAN communication module of left front window master controller A and send subfunction, can send communication information to other 3 vehicle window controllers, and have only CAN to receive subfunction in the CAN communication module program of other 3 vehicle window pilot controllers, do not send subfunction.
Be illustrated in figure 3 as the main program control flow chart of the left front window master controller of band CAN bus, the controller electrification reset is also finished after the system initialization, at first starts overcurrent and anti-pinch protection, then the state of 4 function keys of cycle detection.When detecting vehicle window start button 3, vehicle window close key 4, parameter correction key 5, when CAN communication key 6 is pressed, carrying out respectively that corresponding vehicle window is opened, closed, the program of parameter correction and CAN bus communication module.Can send instruction by machine driver MC33486 chip 12, the forward or reverse of control Car window electric machine 13, realize vehicle window unlatching, close, the parameter correction; Or pass through the CAN bus to other 3 vehicle window pilot controllers transmission communication informations.
Be illustrated in figure 4 as the parameter correcting module control flow chart of the left front window master controller of band CAN bus, when detecting, controller revises that key 5 is pressed and effectively the time, controller enters the parameter correction state to left front vehicle window, simultaneously by CAN bus communication function, CAN Bus Control Node by left front vehicle window controller is carried out real-time communication to right front window control node, left back window control node, right back window control node, to realize finishing the parameter correction synchronously with the vehicle window of car, concrete steps are as follows:
1) whether judges vehicle window in fastening position, if not in fastening position, vehicle window is closed;
2) open vehicle window, stop during to maximum position, the motor pulses number when recording from fastening position to the maximum opening position;
3) Car window electric machine continues energising, record locked rotor current value;
4) make the Car window electric machine counter-rotating close vehicle window, record closes the lowest high-current value in the closed procedure, and vehicle window stops when arriving zero-bit;
5) parameter that records is replaced original parameter in the Flash memory of controller;
6) finish the parameter correction, return main program.

Claims (7)

1. electric car-window control device with the CAN bus, it is characterized in that, this control device adopts CAN bus-network topological structure, comprise left front window master controller, right front window pilot controller, left back window pilot controller and right back window pilot controller, described left front window master controller is connected with right front window pilot controller, left back window pilot controller and right back window pilot controller respectively by the CAN bus; Described left front window master controller, right front window pilot controller, left back window pilot controller and right back window pilot controller all can be controlled the opening and closing of vehicle window, described left front window master controller can be revised the vehicle window parameter, and by the CAN bus right front window pilot controller, left back window pilot controller, right back window pilot controller are controlled in real time, finish with the vehicle window of car is disposable and carry out the parameter correction synchronously.
2. a kind of electric car-window control device with the CAN bus according to claim 1, it is characterized in that, described left front window master controller, right front window pilot controller, left back window pilot controller and right back window pilot controller include first input circuit, first interface circuit, the current of electric input circuit, second interface circuit, the A/D change-over circuit, the microcontroller chip, CAN communication module and motor driver, described first input circuit is connected with the microcontroller chip by first interface circuit, described current of electric input circuit is connected with the microcontroller chip with the A/D change-over circuit by second interface circuit successively, described microcontroller chip connects CAN communication module and motor driver respectively, the microcontroller chip receives the signal of input, send instruction after the processing, by motor driver control Car window electric machine, vehicle window is opened, close or the parameter correction.
3. a kind of electric car-window control device with the CAN bus according to claim 2 is characterized in that, described parameter correction may further comprise the steps:
1) whether judges vehicle window in fastening position, if not in fastening position, vehicle window is closed;
2) open vehicle window, stop during to maximum position, the motor pulses number when recording from fastening position to the maximum opening position;
3) Car window electric machine continues energising, record locked rotor current value;
4) make the Car window electric machine counter-rotating close vehicle window, record closes the lowest high-current value in the closed procedure, and vehicle window stops when arriving zero-bit;
5) parameter that records is replaced original parameter in the Flash memory of controller;
6) finish the parameter correction, return main program.
4. a kind of electric car-window control device with the CAN bus according to claim 2, it is characterized in that first input circuit of described left front window master controller comprises motor pulses input interface, Hall element, vehicle window start button, vehicle window close key, parameter correction key and CAN communication key.
5. a kind of electric car-window control device with the CAN bus according to claim 2, it is characterized in that first input circuit of described right front window pilot controller, left back window pilot controller and right back window pilot controller comprises motor pulses input interface, Hall element, vehicle window start button and vehicle window close key.
6. a kind of electric car-window control device with the CAN bus according to claim 2, it is characterized in that, the CAN communication module of described left front window master controller comprises CAN transmitter and CAN controller, and the CAN communication module of described right front window pilot controller, left back window pilot controller and right back window pilot controller comprises CAN receiver and CAN controller.
7. a kind of electric car-window control device with the CAN bus according to claim 6, it is characterized in that, described CAN communication key is pressed and effectively the time, left front window master controller sends signal by the CAN transmitter, the CAN receiver receives the real-time control that realizes behind the signal right front window pilot controller, left back window pilot controller, right back window pilot controller, carries out the parameter correction synchronously to finish with the vehicle window of car is disposable.
CN2012100431022A 2012-02-24 2012-02-24 Power window control device provided with CAN (controller area network) bus Pending CN103291168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100431022A CN103291168A (en) 2012-02-24 2012-02-24 Power window control device provided with CAN (controller area network) bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100431022A CN103291168A (en) 2012-02-24 2012-02-24 Power window control device provided with CAN (controller area network) bus

Publications (1)

Publication Number Publication Date
CN103291168A true CN103291168A (en) 2013-09-11

Family

ID=49092636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100431022A Pending CN103291168A (en) 2012-02-24 2012-02-24 Power window control device provided with CAN (controller area network) bus

Country Status (1)

Country Link
CN (1) CN103291168A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108979415A (en) * 2018-08-16 2018-12-11 杭州容大智造科技有限公司 A kind of device and method detecting vehicle window

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1158718A2 (en) * 2000-05-24 2001-11-28 General Motors Corporation In-vehicle network management using virtual networks
CN101092864A (en) * 2007-07-20 2007-12-26 山东省科学院自动化研究所 Based on selfadapting device of window in electric motor car for preventing clipping on hands, and control method
CN101256395A (en) * 2008-03-19 2008-09-03 上海理工大学 Power sunroof controller with parameter correction
CN201339391Y (en) * 2008-12-22 2009-11-04 贵阳华旭科技开发有限公司 Car anti-clamping electric window central controller
CN101748952A (en) * 2009-12-16 2010-06-23 贵州大学 CAN bus electrical control system for automobile windows
JP2011203967A (en) * 2010-03-25 2011-10-13 Denso Corp Electronic control apparatus
CN102226368A (en) * 2011-05-12 2011-10-26 昌辉汽车电气系统(安徽)有限公司 Anti-pinch control method with self-adaptability for electric window

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1158718A2 (en) * 2000-05-24 2001-11-28 General Motors Corporation In-vehicle network management using virtual networks
CN101092864A (en) * 2007-07-20 2007-12-26 山东省科学院自动化研究所 Based on selfadapting device of window in electric motor car for preventing clipping on hands, and control method
CN101256395A (en) * 2008-03-19 2008-09-03 上海理工大学 Power sunroof controller with parameter correction
CN201339391Y (en) * 2008-12-22 2009-11-04 贵阳华旭科技开发有限公司 Car anti-clamping electric window central controller
CN101748952A (en) * 2009-12-16 2010-06-23 贵州大学 CAN bus electrical control system for automobile windows
JP2011203967A (en) * 2010-03-25 2011-10-13 Denso Corp Electronic control apparatus
CN102226368A (en) * 2011-05-12 2011-10-26 昌辉汽车电气系统(安徽)有限公司 Anti-pinch control method with self-adaptability for electric window

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
石磊: "基于CAN总线的车门控制系统研制", 《信息科技辑》, 30 November 2008 (2008-11-30), pages 140 - 349 *
高士友,王代强,王义,刘桥: "基于CAN总线的轿车车窗智能控制系统设计", 《电子设计工程》, vol. 17, no. 3, 31 March 2009 (2009-03-31), pages 45 - 48 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108979415A (en) * 2018-08-16 2018-12-11 杭州容大智造科技有限公司 A kind of device and method detecting vehicle window

Similar Documents

Publication Publication Date Title
CN101256395B (en) Power sunroof controller with parameter correction
CN108958106A (en) A kind of electric vehicle controller dormancy awakening system and control method
WO2010112173A2 (en) Control device for a vehicle network and method for operating a vehicle network
CN102063121A (en) Automobile body control system
CN106541847A (en) A kind of electric automobile direct current integrated charger panel
CN103863221B (en) A kind of control system of vehicle load
CN111361439A (en) Control method and device for preventing charging gun from being locked
CN208209982U (en) A kind of vehicle based on KNX bus communication ground lock system
CN103291168A (en) Power window control device provided with CAN (controller area network) bus
CN104925004A (en) Intelligent automobile body control system
CN201714221U (en) Intelligent automobile window lifting control system
CN104656496A (en) Controller and automotive skylight control system as well as control method using controller
CN104058323B (en) It is applied to serial communication circuit and the control method thereof on elevator sedan-chair top
CN201184969Y (en) Electric sunroof controller capable of correcting memorization
CN207048557U (en) A kind of power windows control system based on LIN buses
CN201201500Y (en) Controller for electric automotive skylight
CN111555968B (en) Ethernet gateway capable of configuring port mode and vehicle
CN114809854A (en) Anti-pinch control method for car window and car window control system with anti-pinch function
CN205554097U (en) Prevent pressing from both sides sunroof controller
CN205450728U (en) Machine tools electric IO module controlling means
CN103473154B (en) A kind of three machine Hot Spare computing machines when airliner certainty annuity
CN203603670U (en) Automatic automobile window regulator
CN112406492A (en) Multifunctional intelligent skylight control system
CN110048484A (en) Communication control circuit and its control method, device, air conditioner
CN205314735U (en) Car and lock control system under door thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1186228

Country of ref document: HK

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130911

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1186228

Country of ref document: HK