CN101256395A - Power sunroof controller with parameter correction - Google Patents

Power sunroof controller with parameter correction Download PDF

Info

Publication number
CN101256395A
CN101256395A CNA2008100347844A CN200810034784A CN101256395A CN 101256395 A CN101256395 A CN 101256395A CN A2008100347844 A CNA2008100347844 A CN A2008100347844A CN 200810034784 A CN200810034784 A CN 200810034784A CN 101256395 A CN101256395 A CN 101256395A
Authority
CN
China
Prior art keywords
skylight
key
motor
controller
correction
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.)
Granted
Application number
CNA2008100347844A
Other languages
Chinese (zh)
Other versions
CN101256395B (en
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.)
University of Shanghai for Science and Technology
Original Assignee
University of Shanghai for Science and Technology
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 University of Shanghai for Science and Technology filed Critical University of Shanghai for Science and Technology
Priority to CN2008100347844A priority Critical patent/CN101256395B/en
Publication of CN101256395A publication Critical patent/CN101256395A/en
Application granted granted Critical
Publication of CN101256395B publication Critical patent/CN101256395B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)

Abstract

The invention relates to a power sunroof controller having a parameters modification function, modification keys and processing program are added to the controller to regularly modify the control parameters of the power sunroof, making up for the control parameters changes in manufacture process, installation process and use process, so that the performance of the power sunroof is kept at an optimal state, and the service lift is extended.

Description

The power sunroof controller of band parameter correction
Technical field
The present invention relates to a kind of controller, especially relate to a kind of automotive power sunroof controller.
Background technology
At present; car power sunroof control system is made up of null pick-up, motor pulses sensor, functional switch, motor driver, current feedback circuit and central controller; open that different functional switches can realize the unlatching of power sunroof, cuts out, perk backward, position preset function, possess overcurrent and anti-pinch protection function simultaneously.Current louver controller is that the lowest high-current value that close in the closed procedure in the skylight is added the threshold value of a number percent as the anti-pinch electric current; when current of electric is closed in the process when surpassing this threshold value in the skylight; controller is implemented anti-pinch protection, is about to the skylight counter motion to the maximum opening position.In addition, motion when being opened to maximum position in order to reduce the skylight is impacted, need in advance the motor pulses number of skylight when being closed to the maximum opening position demarcated, when controller reaches maximum position according to the motor pulses number nearly in the skylight, stop to help reducing motion and impacting to the power supply of skylight motor.But there is manufacture deviation in the actual production process; May there be certain deformation in the installation process of skylight; The skylight can produce wearing and tearing in actual the use.The existence of these factors, cause between the skylight of the same type the lowest high-current value that closes in the closed procedure, controlled variable such as pairing motor pulses number changes when being opened to maximum position, even same skylight is along with using its controlled variable also can change repeatedly.Therefore, objectively need the controlled variable in skylight is regularly revised.But current car sky window control system does not possess the debugging functions of controlled variable.
Summary of the invention
The present invention be directed to existing car power sunroof regularly the Correction and Control parameter and cause the performance in skylight and the life-span influenced and propose a kind of louver controller with the parameter correction; this controller can not only realize the opening of power sunroof, cuts out, perk and anti-pinch protection function backward, and possesses the regular debugging functions of controlled variable.
Technical scheme of the present invention is: a kind of power sunroof controller with the parameter correction, comprise input circuit, interface circuit, single-chip microcomputer, motor driver, skylight motor, the signal of input circuit enters interface circuit and becomes standard signal and enter single-chip microcomputer, single-chip microcomputer sends instruction and removes to control the skylight motor by motor driver, make that the skylight is opened, closed, perk or predeterminated position, revise key in the described input circuit and can make controller enter parameter correction state, enter parameter correction state after single-chip microcomputer carry out following steps:
1, whether judges the skylight in off-position-zero-bit,, the skylight is closed if not in off-position;
2, open the skylight, stop during to maximum position, the motor pulses number when writing down from off-position to the maximum opening position;
3, the skylight motor continues energising, record locked rotor current value;
4, make skylight motor counter-rotating close the skylight, record closes the lowest high-current value in the closed procedure, and the skylight stops when arriving zero-bit;
5, make skylight perk backward, the motor pulses number when maximum position is arrived in the record perk;
6, make skylight motor counter-rotating, close the skylight;
7, the parameter that write down is replaced original parameter in the Flash storer of controller;
8, finish the parameter correction, return master routine.
The signal that comprises motor current signal, motor pulses signal, zero signal and several function keys-skylight open key, skylight close key, perk key, correction key, position preset key in the described input circuit.
Described correction key and the same key of holding up function key, single-chip microcomputer is distinguished two functions to pin time length, enters distinct program and handles.
The state of single-chip microcomputer several function keys of cycle detection after starting execution overcurrent and anti-pinch protection in the described controller.
Beneficial effect of the present invention is: can regularly revise the controlled variable of car power sunroof, remedy because the controlled variable of bringing in manufacturing, installation and the use changes, the property retention that makes the skylight increases the service life in optimum condition.
Description of drawings
Fig. 1 is the electrical block diagram of the automotive power sunroof controller of band parameter of the present invention correction;
Fig. 2 is the master routine control flow chart of the automotive power sunroof controller of band parameter of the present invention correction;
Fig. 3 is the parameter correcting module control flow chart of the automotive power sunroof controller of band parameter of the present invention correction.
Embodiment
As shown in Figure 1 with the electrical block diagram of the automotive power sunroof controller of parameter correction, control it and comprise input circuit, interface circuit, single-chip microcomputer, motor driver, the skylight motor, the signal of input circuit enters interface circuit and becomes standard signal and enter single-chip microcomputer, single-chip microcomputer sends instruction and removes to control the skylight motor by motor driver, the motor current signal 1 that C8051F330 single-chip microcomputer 11 detects in the input circuit by interface circuit 9, motor pulses signal 2, zero signal 3 and 4 function key-skylight open key 4, skylight close key 5, perk/correction key 6, the signal of position preset key 7.The electric current image function that the detection of current signal 1 is had according to MC33486 motor driver 12 converts current signal 1 to voltage signal by interface circuit 8, becomes digital signal by A/D converter 10.After the signal of motor pulses signal 2, zero signal 3 and 4 function key skylight open key 4, skylight close key 5, perk/correction key 6, position preset key 7 is handled through interface circuit 9, receive the digital input pin of single-chip microcomputer 11.Skylight open key 4 is used to carry out the open function in skylight, and skylight close key 5 is used to carry out the closing function in skylight, and perk/correction key 6 is used for skylight perk and controlled variable debugging functions, and position preset key 7 is used to carry out the position preset function in skylight.According to the down state of operating key, C8051F330 single-chip microcomputer 11 sends instruction to MC33486 motor driver 12, the forward or reverse of control skylight motor 13, realize the skylight unlatching, close, perk backward/parameter correction or position preset function.
With the master routine control flow chart of the automotive power sunroof controller of parameter correction, 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 as shown in Figure 2.When detecting skylight open key 4, skylight close key 5, when position preset key 7 is pressed, carrying out corresponding skylight respectively and open, close and the position preset function.Perk/when correction key 6 was pressed, controller was judged the time that perk/correction key 6 is pressed when detecting, if this time surpasses certain limit value (as 3 seconds), then carried out the debugging functions of controlled variable; If be no more than limit value, then carry out the skylight holding up function.
As shown in Figure 3 with the parameter correcting module control flow chart of the automotive power sunroof controller of parameter correction, when controller detect perk/correction key 6 be in long by state after, the execution sequence of controlled variable debugging functions is:
1) whether judges the skylight in off-position (zero-bit),, the skylight is closed if not in off-position;
2) open the skylight, stop during to maximum position, the motor pulses number when writing down from off-position to the maximum opening position;
3) motor continues energising, record locked rotor current value;
4) make the motor counter-rotating close the skylight, record closes the lowest high-current value in the closed procedure, and the skylight stops when arriving zero-bit;
5) make skylight perk backward, the motor pulses number when maximum position is arrived in the record perk;
6) make the motor counter-rotating, close the skylight;
7) parameter that write down is replaced original parameter in the Flash storer of controller;
8) return master routine.

Claims (4)

1, a kind of power sunroof controller with the parameter correction, comprise input circuit, interface circuit, single-chip microcomputer, motor driver, skylight motor, the signal of input circuit enters interface circuit and becomes standard signal and enter single-chip microcomputer, single-chip microcomputer sends instruction and removes to control the skylight motor by motor driver, make that the skylight is opened, closed, perk or predeterminated position, it is characterized in that in the described input circuit revising key and can make controller enter parameter correction state, enter parameter correction state after single-chip microcomputer carry out following steps:
(1) whether judges the skylight in off-position-zero-bit,, the skylight is closed if not in off-position;
(2) open the skylight, stop during to maximum position, the motor pulses number when writing down from off-position to the maximum opening position;
(3) the skylight motor continues energising, record locked rotor current value;
(4) make skylight motor counter-rotating close the skylight, record closes the lowest high-current value in the closed procedure, and the skylight stops when arriving zero-bit;
(5) make skylight perk backward, the motor pulses number when maximum position is arrived in the record perk;
(6) make skylight motor counter-rotating, close the skylight;
(7) parameter that write down is replaced original parameter in the Flash storer of controller;
(8) finish the parameter correction, return master routine.
2,, it is characterized in that the signal that comprises motor current signal, motor pulses signal, zero signal and several function keys-skylight open key, skylight close key, perk key in the described input circuit, revises key, position preset key according to the power sunroof controller of the described band parameter of claim 1 correction.
3, according to the power sunroof controller of the described band parameter of claim 2 correction, it is characterized in that described correction key and the same key of holding up function key, single-chip microcomputer is distinguished two functions to pin time length, enters distinct program and handles.
4,, it is characterized in that the state of single-chip microcomputer several function keys of cycle detection after starting execution overcurrent and anti-pinch protection in the described controller according to the power sunroof controller of the described band parameter of claim 2 correction.
CN2008100347844A 2008-03-19 2008-03-19 Power sunroof controller with parameter correction Expired - Fee Related CN101256395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100347844A CN101256395B (en) 2008-03-19 2008-03-19 Power sunroof controller with parameter correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100347844A CN101256395B (en) 2008-03-19 2008-03-19 Power sunroof controller with parameter correction

Publications (2)

Publication Number Publication Date
CN101256395A true CN101256395A (en) 2008-09-03
CN101256395B CN101256395B (en) 2010-06-09

Family

ID=39891274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100347844A Expired - Fee Related CN101256395B (en) 2008-03-19 2008-03-19 Power sunroof controller with parameter correction

Country Status (1)

Country Link
CN (1) CN101256395B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102261210A (en) * 2010-05-29 2011-11-30 比亚迪股份有限公司 Anti-pinch control method for vehicle open-close body
CN102602267A (en) * 2011-01-20 2012-07-25 阿斯莫有限公司 Open/close body driving device and open/close driving method
CN103291168A (en) * 2012-02-24 2013-09-11 上海工程技术大学 Power window control device provided with CAN (controller area network) bus
CN106765979A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 The door-plate control method and device of air-conditioner and air-conditioner
CN107917518A (en) * 2017-11-03 2018-04-17 广东美的制冷设备有限公司 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN108688591A (en) * 2017-03-29 2018-10-23 福特全球技术公司 The method for reinitializing the power operated moon roofs or sunroof of vehicle
CN110901353A (en) * 2019-11-04 2020-03-24 中国第一汽车股份有限公司 Initialization method for sunroof system, vehicle and storage medium
CN115467602A (en) * 2022-08-12 2022-12-13 重庆长安汽车股份有限公司 Vehicle sunroof control method and device, vehicle and storage medium
CN115774434A (en) * 2021-09-07 2023-03-10 浙江万宜汽车技术有限公司 Skylight calibration module

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19925372A1 (en) * 1999-06-02 2000-12-07 Bosch Gmbh Robert Method for electronically monitoring and controlling a process for moving parts
CN2554668Y (en) * 2002-08-05 2003-06-04 朱亚平 Electric automatic closing apparatus for car window
CN2886018Y (en) * 2006-02-21 2007-04-04 上海通用汽车有限公司 Integrated window-closing system for vehicle
CN101082822A (en) * 2007-06-01 2007-12-05 张建华 Control method of vehicle DC electric machine

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102261210B (en) * 2010-05-29 2013-10-30 比亚迪股份有限公司 Anti-pinch control method for vehicle open-close body
CN102261210A (en) * 2010-05-29 2011-11-30 比亚迪股份有限公司 Anti-pinch control method for vehicle open-close body
CN102602267A (en) * 2011-01-20 2012-07-25 阿斯莫有限公司 Open/close body driving device and open/close driving method
CN102602267B (en) * 2011-01-20 2016-08-10 阿斯莫有限公司 Device for driving opening/closing body and open-close body driving method
CN103291168A (en) * 2012-02-24 2013-09-11 上海工程技术大学 Power window control device provided with CAN (controller area network) bus
CN106765979A (en) * 2017-01-05 2017-05-31 广东美的制冷设备有限公司 The door-plate control method and device of air-conditioner and air-conditioner
CN108688591B (en) * 2017-03-29 2023-06-20 福特全球技术公司 Method for reinitializing a power operated moon roof or sun roof of a vehicle
CN108688591A (en) * 2017-03-29 2018-10-23 福特全球技术公司 The method for reinitializing the power operated moon roofs or sunroof of vehicle
CN107917518A (en) * 2017-11-03 2018-04-17 广东美的制冷设备有限公司 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN107917518B (en) * 2017-11-03 2020-10-09 广东美的制冷设备有限公司 Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN110901353B (en) * 2019-11-04 2021-06-22 中国第一汽车股份有限公司 Initialization method for sunroof system, vehicle and storage medium
CN110901353A (en) * 2019-11-04 2020-03-24 中国第一汽车股份有限公司 Initialization method for sunroof system, vehicle and storage medium
CN115774434A (en) * 2021-09-07 2023-03-10 浙江万宜汽车技术有限公司 Skylight calibration module
CN115467602A (en) * 2022-08-12 2022-12-13 重庆长安汽车股份有限公司 Vehicle sunroof control method and device, vehicle and storage medium

Also Published As

Publication number Publication date
CN101256395B (en) 2010-06-09

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
US7323831B2 (en) Illumination device
CN103061638B (en) Self-learning vehicle door and window controller, self-learning vehicle door and window motor locked-rotor protection method and self-learning vehicle door and window motor locked-rotor protection system
CN101080127A (en) Lighting control switch
CN108590425B (en) High-reliability vehicle window control method
WO2020155621A1 (en) Motor control method and device
CN104653032A (en) Anti-pinch method and anti-pinch controller applied to automatic automobile skylight
CN201184969Y (en) Electric sunroof controller capable of correcting memorization
CN209659257U (en) A kind of the ACC OFF time-delay shutdown circuit and device of in-vehicle electronic system
CN105720659A (en) General electric bicycle intelligent charger based on ARM and general electric bicycle intelligent charging method based on ARM
CN203476521U (en) Engine oil atomizer driving system
CN106114224A (en) Control method and control system of electric automobile and electric automobile
CN107380028B (en) A kind of control method and system of car seat heating ventilation limping mode
CN201656898U (en) AC asynchronous motor vector controller
KR101447804B1 (en) Electronic Brake Switch
CN201201500Y (en) Controller for electric automotive skylight
CN111779404A (en) Car door glass lifting control and electrical equipment detection device
KR102466647B1 (en) Method to assist with the starting of a motor vehicle combustion engine
FR2866762A1 (en) Stepper motor controlling process for motor vehicle, involves finding real mechanical rotor position value from real current intensity value of motor, and comparing real and threshold values of rotor position to obtain residual step losses
CN103291168A (en) Power window control device provided with CAN (controller area network) bus
US20060006823A1 (en) Method to control electric windows of automobiles by an activating button with two wires
CN104295385A (en) Method for processing large output voltage deviation of electronic accelerator pedal for car
CN106325265A (en) Fault diagnosis circuit and method of vehicle control module
CN202138288U (en) Rear fog lamp switch for vehicle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100609

Termination date: 20130319