Summary of the invention
The purpose of the present invention includes providing the control method and its control system of a kind of vehicle window, the control method and its control
System solves the problems, such as that the prior art can not accurately control vehicle window opens or closes degree.
Specifically, the present invention provides a kind of control method of vehicle window comprising following steps:
It obtains the degree information that opens or closes of window module, and the degree information opened or closed is converted to the
One CAN instruction, the source for the degree information that the window module opens or closes include user input vehicle window control information and
The vehicle window status information of window module feedback;
First CAN is instruction morphing at the first LIN instruction, and the first LIN instruction is distributed to each vehicle window
Module;
The window module opens or closes the movement of window according to the first LIN instruction execution.
Further, when obtaining the degree information of window module opened or closed, following steps are specifically included:
It identifies the voice command about control window module that user sends, and exports voice recognition information;
According to the voice recognition information, the status requirements about control window module of user's transmission are parsed, and are tied
That closes window module opens or closes state in real time, obtains the final degree information of window module opened or closed.
Further, the method also includes:Judge whether user sends complete about the voice command of control window module
It is whole, if imperfect, the voice command that user cycles through, until the voice command is complete;If complete, vehicle is judged
Whether window module is effective, if in vain, walked in return;If effectively, judging whether window module has been in designated position, such as
Fruit is that user's window module is prompted to be in designated position, if it is not, the degree information opened or closed is converted
It is instructed at the first CAN.
Further, the complete factor of institute's speech commands includes needing the name of the specific window module opened or closed
The degree value being turned on or off with the window module.
Further, the efficiency factor of the window module includes the state of window module initialization, LIN bus communication
Whether state, window module are in malfunction, window module and whether are in whether anti-pinch state, window module are in quick liter
During whether drop mode and window module are currently running.
Further, when the instruction at the first LIN that the first CAN is instruction morphing, following steps are specifically included:
It is instructed by the first CAN described in CAN network transfer;
It is instructed at the first LIN by the first CAN after transfer is instruction morphing, and by LIN network by described the
One LIN instruction is distributed to each window module.
Further, when the window module feedback vehicle window status information, following steps are specifically included:
Obtain the status information of current window module, output the 2nd LIN instruction;
2nd LIN is instruction morphing at the 2nd CAN instruction;
Store the 2nd CAN instruction.
Further, when the instruction at the 2nd CAN that the 2nd LIN is instruction morphing, following steps are specifically included:
It is instructed by the 2nd LIN described in LIN network transmission;
2nd LIN is instruction morphing at the 2nd CAN instruction, and instructed the 2nd CAN by CAN network
It is transmitted to intermediate transit point.
Further, the vehicle window status information include window module initialization state, the state of LIN bus communication,
Whether window module is in malfunction, window module and whether is in whether anti-pinch state, window module are in fast lifting mould
During whether formula and window module are currently running.
Further, the method further includes step:The current shape of the first LIN instruction is executed according to window module
Whether state, obtain allows voice adjusting window module again at present.
The present invention also provides a kind of vehicle window control systems comprising:
Multipoint control unit, the degree information opened or closed for obtaining window module, and by the unlatching or pass
The degree information closed is converted to the first CAN instruction, and the source for the degree information that the window module opens or closes includes user
The vehicle window control information of input and the vehicle window status information of window module feedback;
Central controller unit, for will the first CAN it is instruction morphing at the first LIN instruction, and by the first LIN
Instruction is distributed to each window module;
Vehicle window motor unit opens or closes window according to the first LIN instruction execution for controlling the window module
The movement at family.
Further, the multipoint control unit includes:
Speech recognition module, the voice command about control window module that user sends for identification, and export voice
Identification information;
Logic judgment module, for according to the voice recognition information, parse user's transmission about control vehicle window mould
The status requirements of block, and the real-time of window module is combined to open or close state, obtain opening or closing most for window module
Whole degree information.
Further, the logic judgment module judge user send about control window module voice command whether
Completely, if imperfect, user cycles through voice command, until the voice command is complete;It is described to patrol if complete
Whether volume judgment module judges window module effective, if in vain, walked in return;If effectively, the logic judgment module is sentenced
Whether disconnected window module has been in designated position, if so, speech recognition module prompt user's window module has been located
In designated position, if it is not, the degree information opened or closed is converted to the first CAN instruction.
Further, the complete factor of institute's speech commands includes needing the name of the specific window module opened or closed
The degree value being turned on or off with the window module.
Further, the efficiency factor of the window module includes the state of window module initialization, LIN bus communication
Whether state, window module are in malfunction, window module and whether are in whether anti-pinch state, window module are in quick liter
During whether drop mode and window module are currently running.
Further, the system also includes gateway unit, the gateway unit passes through described in CAN network transfer first
CAN instruction, the central controller unit is instruction morphing at the first LIN instruction by the first CAN after transfer, and leads to
It crosses LIN network and the first LIN instruction is distributed to each window module.
Further, when the window module feedback vehicle window status information, following steps are specifically included:
The vehicle window motor unit obtains the status information of current window module, output the 2nd LIN instruction;
The central controller unit is instruction morphing at the 2nd CAN instruction by the 2nd LIN;
The multipoint control unit stores the 2nd CAN instruction.
Further, the central controller unit by the 2nd LIN it is instruction morphing at the 2nd CAN instruct when, specifically
Include the following steps:
The vehicle window motor unit passes through the instruction of the 2nd LIN described in LIN network transmission;
The central controller unit is instruction morphing at the 2nd CAN instruction by the 2nd LIN, and passes through CAN net
2nd CAN instruction is transmitted to intermediate transit point by network.
Further, the vehicle window status information include window module initialization state, the state of LIN bus communication,
Whether window module is in malfunction, window module and whether is in whether anti-pinch state, window module are in fast lifting mould
During whether formula and window module are currently running.
Further, the multipoint control unit executes the current shape of the first LIN instruction also according to window module
Whether state, obtain allows voice adjusting window module again at present.
The embodiment of the present invention provides the control method and its control system of a kind of vehicle window, the control method and its control system
Including:The degree information that window module opens or closes is obtained, window module opens or closes window according to degree information execution
The movement at family, realize user can unlatching and closure long-range and that accurately control vehicle window, so that driver is absorbed in traveling ring
Border, to improve the safety of driving.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects, features and advantages of the invention can
It is clearer and more comprehensible, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawing
And preferred embodiment, the specific embodiment of control method and its control system to a kind of vehicle window proposed according to the present invention,
Method, step, structure, feature and effect, detailed description is as follows.
For the present invention aforementioned and other technology contents, feature and effect refer to the preferable reality of schema in following cooperation
Applying can clearly be presented in example detailed description.By the explanation of specific embodiment, when predetermined mesh can be reached to the present invention
The technical means and efficacy taken be able to more deeply and it is specific understand, however institute's accompanying drawings are only to provide with reference to and say
It is bright to be used, it is not intended to limit the present invention.
Below-mentioned window module includes left front window module, right front window module, left back window module, right rear car
Window module and roof module.
Referring to FIG. 1, Fig. 1 is a kind of flow chart of the control method of vehicle window provided in an embodiment of the present invention.
Step S1 obtains the degree information that window module opens or closes.
In step sl, degree information herein not only can be fuzzy numerical value, such as " left front vehicle window is opened a bit ",
It can be accurate numerical value, such as " left front vehicle window opens half ".And it can also be on the location status of current window module
The vehicle window for being superimposed user's input controls information, such as " left front vehicle window is opened a bit again ".
The source for the degree information that the window module opens or closes includes the vehicle window control information and vehicle of user's input
The vehicle window status information of window module feedback.
Referring to FIG. 2, the source that Fig. 2 is the degree information that window module of the embodiment of the present invention opens or closes is that user is defeated
Process flow diagram when the vehicle window control information entered.As shown in Fig. 2, working as the source for the degree information that window module opens or closes
When controlling information for the vehicle window of user's input comprising following steps:
The voice command about control window module that S111, identification user send, and export voice recognition information;
S112, according to the voice recognition information, parse the status requirements about control window module of user's transmission,
And the real-time of window module is combined to open or close state, obtain the final degree information of window module opened or closed.
In step S11 and S12, in order to more precisely control window module, need to judge user send about
Whether the voice command for controlling window module is complete, if imperfect, user cycles through voice command, until the voice is ordered
Order is complete;If complete, whether effective window module is judged, if in vain, walked in return;If effectively, judging vehicle window
Whether module has been in designated position, if so, prompt user's window module has been in designated position, if it is not, will
The degree information opened or closed is converted to the first CAN instruction.
Herein, the complete factor of voice command includes needing the name and the vehicle window of the specific window module opened or closed
The degree value that module is turned on or off.For example, being " opening a bit " when user inputs voice command, control system can be by the language
Sound command recognition is sufficiently complete, because lacking the name of specific control window module.Also or, when user inputs voice command
It is " right front window " that the voice command can be identified it is sufficiently complete by control system, because lacking specific control window module
The degree value being turned on or off.It is " right front window is all turned off " when user inputs voice command, control system can be by the language
Sound command recognition is complete, and starts to execute movement.
Herein, the efficiency factor of window module includes the state of window module initialization, the state of LIN bus communication, vehicle
Whether window module is in malfunction, window module and whether is in whether anti-pinch state, window module are in fast lifting mode
And during whether window module be currently running.If the state of current window module initialization is precisely that user needs window module
The degree turned off or on, then it is unnecessary for further executing the control voice command of user.The state of LIN bus communication
Quality will affect whether window module can perform effectively control voice command.Whether window module is in malfunction, vehicle window
Whether module is in whether anti-pinch state, window module are in fast lifting mode and during whether window module be currently running
It will affect whether window module can perform effectively control voice command.
Referring to FIG. 3, the source that Fig. 3 is the degree information that window module of the embodiment of the present invention opens or closes is vehicle window mould
Process flow diagram when the vehicle window status information of block feedback.As shown in figure 3, working as the degree information that window module opens or closes
When source is the vehicle window status information of window module feedback comprising following steps:
S121, the status information for obtaining current window module, output the 2nd LIN instruction;
In step S121, transmission vehicle window module status information is LIN network, it is therefore desirable to convert the status information
It is instructed at LIN.The vehicle window status information includes the state of window module initialization, state, the window module of LIN bus communication
Whether malfunction is in, whether window module is in whether anti-pinch state, window module are in fast lifting mode and vehicle
During whether window module is currently running.
S122, by the 2nd LIN it is instruction morphing at the 2nd CAN instruct;
In conjunction with step S121, in step S122, the network speed of the present embodiment CAN network is the net of 500kbps and LIN network
Speed be 19.2kbps, by by the 2nd LIN it is instruction morphing at the 2nd CAN instruct, make the status information of window module pass through high speed
Network signal transmission, make the properer demand of user's phonetic control command, it is more intelligentized to execute movement.
S123, storage the 2nd CAN instruction.
In step S123, by by include window module status information the 2nd CAN instruction store, can
The vehicle window control information inputted in conjunction with user further accurately controls window module and is turned on or off degree.
Referring to FIG. 4, Fig. 4 is the instruction morphing process instructed at the 2nd CAN of the 2nd LIN provided in an embodiment of the present invention
Figure.As shown in figure 4, for step S122, by the 2nd LIN is instruction morphing instructed at the 2nd CAN when, specifically include following step
Suddenly:
S1221, pass through the instruction of the 2nd LIN described in LIN network transmission;
S1222, it is instructed at the 2nd CAN by the 2nd LIN is instruction morphing, and by CAN network by described second
CAN instruction is transmitted to intermediate transit point.
In step S1222, since the 2nd LIN instruction transmission speed is relatively low, in order to reach quickly control window module
Purpose and layout according to vehicle-mounted data transmission network, need to be instructed at the 2nd CAN by the 2nd LIN is instruction morphing,
Then the 2nd CAN instruction is transmitted to by intermediate transit point by the CAN network of high speed again.Intermediate transit point herein can be gateway,
Router and other communication terminal equipments.
The degree information opened or closed is converted to the first CAN instruction by step S2.
In step s 2, vehicle-mounted data transmission network includes CAN network and LIN network, and CAN network can be with high-speed transfer
One CAN instructs to control window module in time.The network speed of the present embodiment CAN network is that the network speed of 500kbps and LIN network is
19.2kbps is transmitted by the network signal of high speed, makes the properer demand of user's phonetic control command, more intelligentized execution
Movement.LIN network belongs to low-cost network, using the conversion of CAN network and LIN network, advantageously reduces design cost.
Step S3, the first CAN is instruction morphing at the first LIN instruction, and the first LIN instruction is distributed to respectively
A window module.
In step s3, for control window module data transmission network design and save the cost for, low speed and
The LIN network of low cost is to meet control window module.The first CAN instruction come from CAN network transmission needs to be converted to symbol
Close the first LIN instruction of the data standard of LIN network.Since window module is divided into left front window module, right front window module, a left side
Vehicle rear window module, right vehicle rear window module and roof module, window module integrate the function such as anti-pinching car window controller, louver controller
Can, the opening and closing degree of window module can be adjusted according to LIN instruction.
Referring to FIG. 5, Fig. 5 is the instruction morphing process instructed at the first LIN of the first CAN provided in an embodiment of the present invention
Figure.As shown in figure 5, for step S3, by the first CAN is instruction morphing instructed at the first LIN when, specifically include following step
Suddenly:
S31, pass through the instruction of the first CAN described in CAN network transfer;
S32, it is instructed at the first LIN by the first CAN after transfer is instruction morphing, and by LIN network by institute
It states the first LIN instruction and is distributed to each window module.
Method provided in an embodiment of the present invention can also execute the current shape of the first LIN instruction according to window module
Whether state, obtain allows voice adjusting window module again at present.The failure of LIN bus communication or window module are
Execution opens or closes movement, then does not allow to continue to execute the order that voice adjusts window module.
Method provided in an embodiment of the present invention realize user can unlatching and closure long-range and that accurately control vehicle window,
Driver is set to be absorbed in running environment, to improve the safety of driving.
The embodiment of the present invention also provides a kind of vehicle window control system.Referring to FIG. 6, Fig. 6 is provided in an embodiment of the present invention
The structural schematic diagram of vehicle window control system.
Multipoint control unit 10 is for obtaining the degree information that window module opens or closes, and by the unlatching or pass
The degree information closed is converted to the first CAN instruction.Degree information herein not only can be fuzzy numerical value, such as " left front vehicle
Window is opened a bit ", it is also possible to accurate numerical value, such as " left front vehicle window opens half ".And it can also be in current window module
Location status on the vehicle window of superposition user's input control information, such as " left front vehicle window is opened a bit again ".
The source for the degree information that the window module opens or closes includes the vehicle window control information and vehicle of user's input
The vehicle window status information of window module feedback.
Central controller unit 20 be used as LIN host node, for will the first CAN it is instruction morphing at the first LIN instruction,
And the first LIN instruction is distributed to each window module.For controlling the data transmission network design and section of window module
About for cost, the LIN network of low speed and low cost is to meet control window module.Central controller unit 20 can incite somebody to action
Instruction morphing the first LIN at the data standard for meeting LIN network of the first CAN come from CAN network transmission is instructed.Due to vehicle window
Module is divided into left front window module, right front window module, left back window module, right vehicle rear window module and roof module, vehicle window
Module integrates the functions such as anti-pinching car window controller, louver controller, can be adjusted according to LIN instruction window module unlatching and
Closing degree.
Vehicle window motor unit 30 opens or closes window according to the first LIN instruction execution for controlling the window module
The movement at family.
Gateway unit 40 is used as data relay station, can be realized the long-range reception and forwarding of data.Gateway unit 40 is logical
The instruction of the first CAN described in CAN network transfer is crossed, the central controller unit 20 turns the first CAN instruction after transfer
It is melted into the first LIN instruction, and the first LIN instruction is distributed to by each window module by LIN network.
Referring to FIG. 7, Fig. 7 is the structural schematic diagram of multimedia control module provided in an embodiment of the present invention.Such as Fig. 7 institute
Show, the multipoint control unit 10 of the present embodiment includes:
Speech recognition module 101, the voice command about control window module that user sends for identification, and export language
Sound identification information;
Logic judgment module 102, for according to the voice recognition information, parse user's transmission about control vehicle window
The status requirements of module, and combine window module opens or closes state in real time, obtains opening or closing for window module
Final degree information.
When the vehicle window that the source for the degree information that window module opens or closes is user's input controls information:
In order to more precisely control window module, logic judgment module 102 judge that user sends about control
Whether the voice command of window module is complete, if imperfect, user cycles through voice command, until the voice command is
Completely;If complete, whether the logic judgment module 102 judges window module effective, if in vain, walked in return;Such as
Fruit is effective, and the logic judgment module 102 judges whether window module has been in designated position, if so, the voice is known
Other module 101 prompts user's window module to be in designated position, if it is not, by the degree information opened or closed
It is converted to the first CAN instruction.
Herein, the complete factor of voice command includes needing the name and the vehicle window of the specific window module opened or closed
The degree value that module is turned on or off.For example, being " opening a bit " when user inputs voice command, control system can be by the language
Sound command recognition is sufficiently complete, because lacking the name of specific control window module.Also or, when user inputs voice command
It is " right front window " that the voice command can be identified it is sufficiently complete by control system, because lacking specific control window module
The degree value being turned on or off.It is " right front window is all turned off " when user inputs voice command, control system can be by the language
Sound command recognition is complete, and starts to execute movement.
Herein, the efficiency factor of window module includes the state of window module initialization, the state of LIN bus communication, vehicle
Whether window module is in malfunction, window module and whether is in whether anti-pinch state, window module are in fast lifting mode
And during whether window module be currently running.If the state of current window module initialization is precisely that user needs window module
The degree turned off or on, then it is unnecessary for further executing the control voice command of user.The state of LIN bus communication
Quality will affect whether window module can perform effectively control voice command.Whether window module is in malfunction, vehicle window
Whether module is in whether anti-pinch state, window module are in fast lifting mode and during whether window module be currently running
It will affect whether window module can perform effectively control voice command.
When the vehicle window status information that the source for the degree information that window module opens or closes is window module feedback
When:
The vehicle window motor unit 30 obtains the status information of current window module, output the 2nd LIN instruction, the center
Central controller unit 20 is instructed at the 2nd CAN by the 2nd LIN is instruction morphing, and the multipoint control unit 10 stores described the
Two CAN instruction.
The status information for transmitting window module is LIN network, it is therefore desirable to which the status information is converted into LIN instruction.Institute
The status information for stating window module includes whether the state of window module initialization, the state of LIN bus communication, window module are located
Whether it is in whether anti-pinch state, window module are in fast lifting mode and window module in malfunction, window module
In whether being currently running.
The network speed of the present embodiment CAN network is that the network speed of 500kbps and LIN network is 19.2kbps, by by the 2nd LIN
It is instruction morphing to be instructed at the 2nd CAN, it transmits the status information of window module by the network signal of high speed, makes user speech control
System instructs properer demand, more intelligentized to execute movement.
By by include window module status information the 2nd CAN instruction store, can in conjunction with user input
Vehicle window control information further accurately control window module and be turned on or off degree.
Central controller unit 20 by the 2nd LIN is instruction morphing instructed at the 2nd CAN when, vehicle window motor unit 30 is logical
Cross the instruction of the 2nd LIN described in LIN network transmission;Central controller unit 20 is instruction morphing at described second by the 2nd LIN
CAN instruction, and the 2nd CAN instruction is transmitted to by intermediate transit point by CAN network.
Due to the 2nd LIN instruction transmission speed it is relatively low, in order to achieve the purpose that quickly to control window module and according to
The layout of vehicle-mounted data transmission network, need to be instruction morphing at the 2nd CAN instruction by the 2nd LIN, then passes through high speed again
CAN network by the 2nd CAN instruction be transmitted to intermediate transit point.Intermediate transit point herein can be gateway, router and other
Communication terminal equipment.
The status information of the vehicle window includes the state of window module initialization, state, the window module of LIN bus communication
Whether malfunction is in, whether window module is in whether anti-pinch state, window module are in fast lifting mode and vehicle
During whether window module is currently running.
In order to avoid executing conflict, the present embodiment multipoint control unit 10 can execute LIN instruction from node according to LIN
The case where, whether obtain allows to execute voice again at present adjusts window module, acts the execution of each window module orderly
It carries out.
Multipoint control unit 10 not only judges the integrality for the voice command that user sends, and has also judged window module
Currently used state and effective status, so that the execution of entire control system is opened or closed window actuation relatively reliable, do not allow
It is error-prone.
For example, multipoint control unit 10 receives the voice command " skylight is opened a bit " of user's input, wherein " skylight
Open a bit " voice command including " skylight " performance objective name and the degree value δ d that opens of " opening a bit " roof module.With
This simultaneously, multipoint control unit 10 has known the currently used state and effective status of this moment skylight, including knows
Its window position Pt.The opening degree value (Pt+ δ d) that user needs skylight, multipoint control unit 10 are parsed according to voice command
The opening degree value (Pt+ δ d) of the roof module is converted to CAN instruction and is sent to gateway unit 40, gateway unit 40 receives should
CAN instruction, by CAN network by CAN instruct in be given to central controller unit 20, central controller unit 20 instructs CAN
The opening degree value (Pt+ δ d) for the roof module for including is converted to LIN instruction, and is distributed to LIN instruction respectively by LIN network
The opening degree value (Pt+ δ d) for the roof module that a LIN includes according to LIN instruction from node, roof module, which executes, opens window
Movement, to realize the opening degree of accurate control skylight.At the same time, the control system realize user can remotely simultaneously
The unlatching and closure for intelligently controlling vehicle window or skylight, make driver be absorbed in running environment, to improve the safety of driving.
The above, only be invention preferred embodiment, be not intended to limit the present invention in any form, although
The present invention has been disclosed as a preferred embodiment, and however, it is not intended to limit the invention, any person skilled in the art,
Without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or are modified to
With the equivalent embodiment of variation, but without departing from the technical solutions of the present invention, according to the technical essence of the invention to above
Any simple modification, equivalent change and modification made by embodiment, all of which are still within the scope of the technical scheme of the invention.