CN107237573B - A kind of power windows control method and system based on LIN bus - Google Patents
A kind of power windows control method and system based on LIN bus Download PDFInfo
- Publication number
- CN107237573B CN107237573B CN201710570712.0A CN201710570712A CN107237573B CN 107237573 B CN107237573 B CN 107237573B CN 201710570712 A CN201710570712 A CN 201710570712A CN 107237573 B CN107237573 B CN 107237573B
- Authority
- CN
- China
- Prior art keywords
- power windows
- secondary power
- windows
- car body
- lin bus
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000009826 distribution Methods 0.000 claims abstract description 13
- 238000004891 communication Methods 0.000 claims description 7
- 230000005611 electricity Effects 0.000 claims description 7
- 230000008569 process Effects 0.000 description 3
- 230000003028 elevating effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05F—DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
- E05F15/00—Power-operated mechanisms for wings
- E05F15/70—Power-operated mechanisms for wings with automatic actuation
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05Y—INDEXING SCHEME ASSOCIATED WITH SUBCLASSES E05D AND E05F, RELATING TO CONSTRUCTION ELEMENTS, ELECTRIC CONTROL, POWER SUPPLY, POWER SIGNAL OR TRANSMISSION, USER INTERFACES, MOUNTING OR COUPLING, DETAILS, ACCESSORIES, AUXILIARY OPERATIONS NOT OTHERWISE PROVIDED FOR, APPLICATION THEREOF
- E05Y2900/00—Application of doors, windows, wings or fittings thereof
- E05Y2900/50—Application of doors, windows, wings or fittings thereof for vehicles
- E05Y2900/53—Type of wing
- E05Y2900/55—Windows
Landscapes
- Window Of Vehicle (AREA)
- Power-Operated Mechanisms For Wings (AREA)
Abstract
The present invention relates to a kind of power windows control methods and system based on LIN bus, which comprises initializes to main power windows and secondary power windows;The automatic distribution to secondary power windows address is realized according to the on-off of power supply;According to the button state under main power windows, in conjunction with the address of secondary power windows, the switch control to secondary power windows is realized by LIN bus;The system comprises: car body controller, main power windows control module, secondary power windows control module, LIN bus and electric power connection line, the main power windows control module is connect by LIN bus with car body controller, and the car body controller is connect by LIN bus and electric power connection line with secondary power windows control module.Compared with prior art, the present invention has many advantages, such as intelligentized control method, reduces harness quantity and saves cost.
Description
Technical field
The present invention relates to field of automobile control, more particularly, to a kind of power windows control method based on LIN bus and
System.
Background technique
With the development of automotive engineering, power windows is using more more and more universal, regardless of band is without pinch resistant functionality either one
Key elevating function, power windows can be described as indispensability on Hyundai Motor, in order to realize convenience and the company of reduction of control
The harness amount connect, intelligent control are in urgent need, and LIN bus is a kind of low-speed communication system for being widely used in car, system
In each child node have its fix address.
Patent CN201210185131 proposes a kind of Intelligent vehicle window control method based on LIN bus, by defining four
Control command is transmitted by LIN bus to realize the elevating control to each vehicle window, although can be effective in the address ID of a vehicle window
Realization to the intelligent control of vehicle window, but due to including that more and more functions and manufacturing process are similar in current automotive system
Child node, easily causes confusion in assembly and maintenance process, also will increase the quantity of harness, causes the promotion of cost.
Summary of the invention
The purpose of the present invention is provide a kind of power windows control method based on LIN bus regarding to the issue above and be
System.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of power windows control method based on LIN bus, car body controller is by identifying pressing under main power windows
Button state controls the switch of secondary power windows, and the method includes the following steps:
1) main power windows and secondary power windows are initialized;
2) the automatic distribution to secondary power windows address is realized according to the on-off of power supply;
3) according to the button state under main power windows, the address of pair power windows in conjunction with obtained in step 2),
The switch control to secondary power windows is realized by LIN bus.
The step 2) includes:
21) detect whether that all secondary power windows are normal condition, if then entering step 22), if otherwise returning
Step 1);
22) it is controlled according to the on-off that preset order carries out power supply;
23) by LIN bus, the secondary power windows for being currently at energized state from trend distributes address.
The step 22) specifically: according to preset order, corresponding secondary power windows is successively kept to be in energized state,
And remaining all secondary power windows is powered off.
The step 2) further include: the address of the secondary power windows after distribution is stored in RAM chip.
The step 1) includes:
11) to main power windows and secondary power windows power supply;
12) identification step 1) in secondary power windows energization pins, obtain the physical location of secondary power windows.
The step 3) includes:
31) according to the button state under main power windows, recognize the need for the switch control for carrying out power windows, if
It then enters step 32), if otherwise return step 31);
32) judge to need whether power windows to be controlled is main power windows, if then directly controlling main power windows
Switch, if otherwise entering step 33);
33) address of the pair power windows according to obtained in step 2), by LIN bus to corresponding address
Control information is sent, realizes the switch control to secondary power windows.
A kind of power windows control system based on LIN bus, the system comprises:
Car body controller, for distributing address for power windows;
Main power windows control module, connect with car body controller and main power windows respectively, for directly controlling main electricity
Motor-car window, and indirectly control all secondary power windows;
Secondary power windows control module is connect with car body controller and secondary power windows respectively, for directly controlling secondary electricity
Motor-car window;
LIN bus is connect with car body controller, main power windows control module and secondary power windows control module respectively,
For realizing the communication between car body controller and main power windows and secondary power windows;
Electric power connection line is connect, for realizing Body Control respectively with car body controller and secondary power windows control module
Power supply of the device to secondary power windows control module.
The main power windows control module includes main key, secondary key and main power windows control circuit, the main electricity
Dynamic window control circuit is connect with main key, car body controller and main power windows respectively, the pair key and car body controller
Connection.
The pair power windows control module includes secondary power windows control button and secondary power windows control circuit, described
Secondary power windows control circuit is connect with car body controller, secondary power windows control button and secondary power windows respectively.
The quantity of the quantity and secondary power windows of the pair power windows control module matches.
Compared with prior art, the invention has the following advantages:
(1) the automatic distribution to secondary power windows address is realized by the on-off of power supply, that is, utilizes car body controller
Physical location when powering for power windows only retains a secondary power windows every time and is in energized state, and is in for this
The secondary power windows of energized state is randomly assigned address, to realize control to secondary power windows, this mode and existing
Some is directly distributed address for secondary power windows and is compared, and can be present such that assembly and dimension to avoid due to similar node
Misjudgment phenomenon occurs during repairing, while corresponding harness quantity can also be reduced, saves cost.
(2) address of the secondary power windows after distribution is stored in RAM chip, it is directly right convenient for car body controller
The address of secondary power windows is identified, without artificial control, improves the intelligence degree of control.
(3) main power windows and secondary power windows are initialized first in progress controller, and passes through secondary electric vehicle
The energization pins of window determine the physical location of secondary power windows, and personnel easy to repair determine the link position of harness, to improve
Working efficiency reduces fault rate.
(4) power windows control system proposed by the present invention, by LIN bus and electric power connection line, by car body controller
The address needed when controlling secondary power windows combines with physical address, realizes automatic point of address
Match, to reduce the complexity of system, reduces the harness quantity in system, save cost.
(5) main power windows control module includes main key and secondary key, both can be by main key to main power windows
It is directly controlled, secondary power windows can also be indirectly controlled by secondary key, while secondary power windows controls mould
Block also includes secondary power windows control button, can directly be controlled secondary power windows, full-featured, using flexible, real
It is strong with performance.
(6) quantity of secondary power windows control module and the quantity of secondary power windows match, and guarantee that each pair is electronic
Vehicle window can be directly controlled, and be operated convenient for occupant.
Detailed description of the invention
Fig. 1 is the flow chart of the power windows control method based on LIN bus;
Fig. 2 is the structural schematic diagram of the power windows control system based on LIN bus;
Wherein, 1 is main power windows control module, and 2 be LIN bus, and 3 be car body controller, and 4 be secondary power windows control
Module.
Specific embodiment
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.The present embodiment is with technical solution of the present invention
Premised on implemented, the detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to
Following embodiments.
As shown in Figure 1, present embodiments providing a kind of power windows control method based on LIN bus, car body controller
The switch of secondary power windows is controlled by the button state identified under main power windows, this method includes the following steps:
S1) main power windows and secondary power windows are initialized:
S11) to main power windows and secondary power windows power supply;
S12) identification step s1) in secondary power windows energization pins, obtain the physical location of secondary power windows;
S2 the automatic distribution to secondary power windows address) is realized according to the on-off of power supply, specifically:
S21) detect whether that all secondary power windows are normal condition, if then entering step s22), if otherwise returning
Return step s1);
S22 it) is controlled according to the on-off that preset order carries out power supply, specifically: according to preset order, successively keep corresponding
Secondary power windows is in energized state, and powers off to remaining all secondary power windows;
S23) by LIN bus, the secondary power windows for being currently at energized state from trend distributes address;
This step further include: the address of the secondary power windows after distribution is stored in RAM chip;
S3) according to the button state under main power windows, the pair power windows in conjunction with obtained in step s2) is communicatively
Location the switch control to secondary power windows is realized by LIN bus:
S31) according to the button state under main power windows, recognize the need for the switch control for carrying out power windows, if
It is to enter step s32), if otherwise return step s31);
S32) judge to need whether power windows to be controlled is main power windows, if then directly controlling main power windows
Switch, if otherwise entering step s33);
S33) the address of the pair power windows according to obtained in step s2), by LIN bus to accordingly communicatively
Location sends control information, realizes the switch control to secondary power windows.
As shown in Fig. 2, being the power windows control system for realizing this method, comprising: car body controller 3, for being electronic
Vehicle window distributes address;Main power windows control module 1, connect with car body controller 3 and main power windows respectively, for straight
The main power windows of control is connect, and indirectly controls all secondary power windows;Secondary power windows control module 4, respectively with Body Control
Device 3 is connected with secondary power windows, for directly controlling secondary power windows;LIN bus 2, it is electronic with car body controller 3, master respectively
Vehicle window control module 1 and secondary power windows control module 4 connect, for realizing car body controller 3 and main power windows and pair electricity
Communication between motor-car window;Electric power connection line is connect, for real respectively with car body controller 3 and secondary power windows control module 4
The power supply of the secondary power windows control module 4 of 3 pairs of existing car body controller.
Wherein, main power windows control module 1 includes main key, secondary key and main power windows control circuit, and master is electronic
Window control circuit is connect with main key, car body controller 3 and main power windows respectively, and secondary key is connect with car body controller 3.
Secondary power windows control module 4 includes secondary power windows control button and secondary power windows control circuit, secondary power windows control
Circuit is connect with car body controller 3, secondary power windows control button and secondary power windows respectively.Secondary power windows control module 4
Quantity and the quantity of secondary power windows match.
According to the above method and system, the specific process for carrying out vehicle window control is as follows: car body controller 3 passes through three PIN
Foot P1, P2 and P3 identify the installation site of three secondary motorized windows to three secondary electric window switch power supplies, when IGN is powered on, vehicle body
Controller 3 gives three secondary electric window switch to power respectively and detects the state of three secondary motorized windows by P1, P2 and P3, detects
Three secondary electric window switch connections are normal, and the first step first distributes the address ID to electric window switch before the right side, and car body controller 3 first disconnects
The power supply of P2 and P3 keeps P1 normal power supply, and by LIN communication addressing, one address ID of distribution is electronic to the pair of P1 connection automatically
Window switch, this electric window switch be exactly it is right before electric window switch and be stored in car body controller RAM, it is right at this time before motorized window
The address ID is assigned.Second step distributes the address left and right motorized window ID, disconnects P1, connects P2, and car body controller 3 is logical by LIN
News one left back electric window switch in the address ID of reallocation, and be stored in RAM, the address left back electric window switch ID distributes at this time
At.The address electric window switch ID after third step distribution is right, disconnects P2 pin power supply, connects P3 pin power supply, and car body controller 3 is logical
It crosses LIN communication and distributes the address ID to electric window switch behind the right side, and this address ID is stored in RAM, at this time third electricity
The address ID of dynamic window is assigned.When the either switch movement in main electric window switch, car body controller 3 begins to identify,
If then directly controlling main power windows the operation that main power windows carries out, if secondary power windows is carried out
Operation then carries out LIN communication according to the address ID stored in RAM, to realize the control to secondary power windows;If simultaneously
Switch under secondary power windows is operated, then car body controller 3 is communicated without LIN, is directly controlled to secondary power windows
System.
Claims (7)
1. a kind of power windows control method based on LIN bus, car body controller is by identifying the button under main power windows
State controls the switch of secondary power windows, which is characterized in that the method includes the following steps:
1) main power windows and secondary power windows are initialized;
2) the automatic distribution to secondary power windows address is realized according to the on-off of power supply;
3) according to the button state under main power windows, the address of pair power windows, passes through in conjunction with obtained in step 2
LIN bus realizes the switch control to secondary power windows;
The step 2 includes:
21) detect whether that all secondary power windows are normal condition, if then entering step 22), if otherwise return step
1);
22) it is controlled according to the on-off that preset order carries out power supply, specifically: according to preset order, successively keep corresponding secondary electricity
Motor-car window is in energized state, and powers off to remaining all secondary power windows;
23) by LIN bus, the secondary power windows for being currently at energized state from trend distributes address;
The step 2 further include: the address of the secondary power windows after distribution is stored in RAM chip.
2. the power windows control method according to claim 1 based on LIN bus, which is characterized in that the step 1)
Include:
11) to main power windows and secondary power windows power supply;
12) identification step 1) in secondary power windows energization pins, obtain the physical location of secondary power windows.
3. the power windows control method according to claim 1 based on LIN bus, which is characterized in that the step 3)
Include:
31) according to the button state under main power windows, recognize the need for the switch control for carrying out power windows, if then into
Enter step 32), if otherwise return step 31);
32) judge to need whether power windows to be controlled is main power windows, if then directly controlling opening for main power windows
It closes, if otherwise entering step 33);
33) address of the pair power windows according to obtained in step 2 is sent by LIN bus to corresponding address
Information is controlled, realizes the switch control to secondary power windows.
4. a kind of power windows control system based on LIN bus, which is characterized in that the system comprises:
Car body controller, for distributing address for power windows;
Main power windows control module, connect with car body controller and main power windows respectively, for directly controlling main electric vehicle
Window, and indirectly control all secondary power windows;
Secondary power windows control module is connect, for directly controlling secondary electric vehicle respectively with car body controller and secondary power windows
Window;
LIN bus connect with car body controller, main power windows control module and secondary power windows control module respectively, is used for
Realize the communication between car body controller and main power windows and secondary power windows;
Electric power connection line is connect, for realizing car body controller pair respectively with car body controller and secondary power windows control module
The power supply of secondary power windows control module;
Car body controller controls the switch of secondary power windows, car body controller control by the button state identified under main power windows
The method of power windows processed includes the following steps:
S1) main power windows and secondary power windows are initialized:
S2 the automatic distribution to secondary power windows address) is realized according to the on-off of power supply, specifically:
S21) detect whether that all secondary power windows are normal condition, if then entering step s22), if otherwise returning to step
Rapid s1);
S22 it) is controlled according to the on-off that preset order carries out power supply, specifically: according to preset order, successively keep corresponding secondary electricity
Motor-car window is in energized state, and powers off to remaining all secondary power windows;
S23) by LIN bus, the secondary power windows for being currently at energized state from trend distributes address;
This step further include: the address of the secondary power windows after distribution is stored in RAM chip;
S3) according to the button state under main power windows, the address of pair power windows in conjunction with obtained in step s2) leads to
The realization of LIN bus is crossed to the switch control of secondary power windows.
5. the power windows control system according to claim 4 based on LIN bus, which is characterized in that the master is electronic
Vehicle window control module includes main key, secondary key and main power windows control circuit, the main power windows control circuit difference
It is connect with main key, car body controller and main power windows, the pair key is connect with car body controller.
6. the power windows control system according to claim 4 based on LIN bus, which is characterized in that the pair is electronic
Vehicle window control module includes secondary power windows control button and secondary power windows control circuit, the pair power windows control circuit
It is connect respectively with car body controller, secondary power windows control button and secondary power windows.
7. the power windows control system according to claim 4 based on LIN bus, which is characterized in that the pair is electronic
The quantity of vehicle window control module and the quantity of secondary power windows match.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710570712.0A CN107237573B (en) | 2017-07-13 | 2017-07-13 | A kind of power windows control method and system based on LIN bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710570712.0A CN107237573B (en) | 2017-07-13 | 2017-07-13 | A kind of power windows control method and system based on LIN bus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107237573A CN107237573A (en) | 2017-10-10 |
CN107237573B true CN107237573B (en) | 2019-03-08 |
Family
ID=59991511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710570712.0A Active CN107237573B (en) | 2017-07-13 | 2017-07-13 | A kind of power windows control method and system based on LIN bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107237573B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201380812Y (en) * | 2009-04-08 | 2010-01-13 | 东风汽车有限公司 | Automobile electric window controller based on LIN bus |
CN102353961A (en) * | 2011-07-04 | 2012-02-15 | 合肥昌辉汽车电子有限公司 | Radar probe ID automation distribution system and reverse radar detection method |
CN102777101A (en) * | 2012-06-06 | 2012-11-14 | 北京航空航天大学 | Intelligent window controlling method based on linear (LIN) bus |
CN103995254A (en) * | 2014-05-14 | 2014-08-20 | 林海明 | Parking radar digital probe module capable of rapidly positioning probe ID and ID positioning method thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100779405B1 (en) * | 2001-07-30 | 2007-11-23 | 주식회사 현대오토넷 | Apparatus for controlling safety power windows in vehicles |
-
2017
- 2017-07-13 CN CN201710570712.0A patent/CN107237573B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201380812Y (en) * | 2009-04-08 | 2010-01-13 | 东风汽车有限公司 | Automobile electric window controller based on LIN bus |
CN102353961A (en) * | 2011-07-04 | 2012-02-15 | 合肥昌辉汽车电子有限公司 | Radar probe ID automation distribution system and reverse radar detection method |
CN102777101A (en) * | 2012-06-06 | 2012-11-14 | 北京航空航天大学 | Intelligent window controlling method based on linear (LIN) bus |
CN103995254A (en) * | 2014-05-14 | 2014-08-20 | 林海明 | Parking radar digital probe module capable of rapidly positioning probe ID and ID positioning method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107237573A (en) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105128678B (en) | High-voltage power-on and power-off control system and control method for pure electric vehicle | |
CN109094378A (en) | A kind of pantograph circuit for remotely controlling of unmanned subway train | |
WO2014075389A1 (en) | Intelligent control method and system for automobile headlights | |
CN204452095U (en) | Electric automobile high-voltage electric power system | |
CN101227365A (en) | Electric car circuit system based on CAN bus and control method thereof | |
CN210634450U (en) | Vehicle light limping control system based on distributed control | |
CN105657943B (en) | A kind of EMU front combination lamp lamp device | |
CN103507642B (en) | The electronlmobil of electricity defrosting energy-saving control system, control method and this system of use | |
CN106114224B (en) | A kind of control method of electric vehicle, control system and electric vehicle | |
CN202987029U (en) | Car body control system based on immobilizer (IMMO) | |
CN109263582B (en) | Power distribution system of automobile and automobile | |
CN107237573B (en) | A kind of power windows control method and system based on LIN bus | |
CN108112145B (en) | Multifunctional automobile tail lamp control system based on CAN bus and control method thereof | |
CN107972566B (en) | Automobile headlamp control system with CAN function and control method thereof | |
CN108725233B (en) | Battery management system with full time monitoring and vehicle management system | |
CN111016662B (en) | Fuel cell passenger car power-off control method and system | |
CN113492812B (en) | Air braking's control system and freight transportation EMUs | |
CN108216006A (en) | Car lamp control system and control method | |
CN204726353U (en) | A kind of control setup of child lock for automobile | |
CN203511324U (en) | Electric defrosting energy-saving control system and electric car using same | |
CN203888737U (en) | Passenger car power distribution circuit and corresponding passenger car | |
CN214101342U (en) | Automobile single bus key switch control device | |
CN106224221A (en) | A kind of motor compressor controls device and halt control method thereof | |
CN106080210A (en) | Electric automobile emergency power off system and emergency power off control method | |
CN207048557U (en) | A kind of power windows control system based on LIN buses |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20200730 Granted publication date: 20190308 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20230730 Granted publication date: 20190308 |