Summary of the invention
The purpose of the present invention includes control method and the control system thereof providing a kind of vehicle window, this control method and control thereof
System solves the problem that prior art can not accurately control the degree that is turned on and off of vehicle window.
Specifically, the present invention provides the control method of a kind of vehicle window, and it comprises the following steps:
Obtain the degree information that is turned on and off of window module, and the described degree information being turned on and off is changed into the
One CAN instruction, the source of the degree information that described window module is turned on and off include the vehicle window that user inputs control information and
The vehicle window status information of window module feedback;
By described CAN instruction morphing one-tenth an oneth LIN instruction, and a described LIN instruction is distributed to each vehicle window
Module;
Described window module performs to be turned on and off the action of window according to a described LIN instruction.
Further, when obtaining the degree information being turned on and off of window module, following steps are specifically included:
Identify the voice command about control window module that user sends, and export voice recognition information;
According to described voice recognition information, parse the status requirements about control window module that user sends, and tie
Close the state that is turned on and off in real time of window module, draw the final degree information being turned on and off of window module.
Further, described method also includes: judge that the voice command that user sends about controlling window module is the completeest
Whole, if imperfect, then user cycles through voice command, until this voice command is complete;If it is complete, it is judged that car
Window module is the most effective, if invalid, return walks;If effectively, it is judged that window module whether already at specifying position, as
Fruit is, prompting user's window module is already at specifying position, if it is not, the described degree information being turned on and off converted
Become a CAN instruction.
Further, the complete factor of institute's speech commands includes needing the name of the concrete window module being turned on and off
The degree value being turned on or off with this window module.
Further, the efficiency factor of described window module includes window module initialized state, LIN bus communication
Whether state, window module are in malfunction, whether window module is in anti-pinch state, whether window module is in quickly liter
During whether fall pattern and window module are currently running.
Further, during by described CAN instruction morphing one-tenth an oneth LIN instruction, following steps are specifically included:
Instructed by a CAN described in CAN network transfer;
By described for the described instruction morphing one-tenth of CAN after a transfer LIN instruction, and by LIN network by described the
One LIN instruction is distributed to each window module.
Further, during described 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;
By described 2nd LIN instruction morphing one-tenth the 2nd CAN instruction;
Store described 2nd CAN instruction.
Further, during by described 2nd LIN instruction morphing one-tenth the 2nd CAN instruction, following steps are specifically included:
Instructed by described 2nd LIN of LIN network transmission;
By described for the described 2nd instruction morphing one-tenth of LIN the 2nd CAN instruction, and by CAN network, described 2nd CAN is instructed
Transmission is to intermediate transit point.
Further, described vehicle window status information include the initialized state of window module, the state of LIN bus communication,
Whether window module is in malfunction, whether window module is in anti-pinch state, whether window module is in fast lifting mould
During whether formula and window module are currently running.
Further, described method further comprises the steps of: the current shape performing a described LIN instruction according to window module
Whether state, draw and allow again voice to regulate window module at present.
The present invention also provides for a kind of vehicle window control system, comprising:
Multipoint control unit, for obtaining the degree information that window module is turned on and off, and by described unlatching or pass
The degree information closed changes into a CAN instruction, and the source of the degree information that described window module is turned on and off includes user
The vehicle window of input controls information and the vehicle window status information of window module feedback;
Central controller unit, for instructing described CAN instruction morphing one-tenth the oneth LIN, and by a described LIN
Instruction is distributed to each window module;
Vehicle window motor unit, is used for controlling described window module and is turned on and off window according to a described LIN instruction execution
The action at family.
Further, described multipoint control unit includes:
Sound identification module, for identifying the voice command about control window module that user sends, and exports voice
Identification information;
Logic judgment module, for according to described voice recognition information, parse that user sends about controlling vehicle window mould
The status requirements of block, and combine the state that is turned on and off in real time of window module, draw being turned on and off of window module
Whole degree information.
Further, described logic judgment module judge that user sends about whether controlling the voice command of window module
Completely, if imperfect, then user cycles through voice command, until this voice command is complete;If patrolled described in completely,
Collect judge module and judge that window module is the most effective, if invalid, return walks;If effectively, described logic judgment module is sentenced
Whether disconnected window module is already at specifying position, if it is, described sound identification module prompting user's window module has been located
In specifying position, if it is not, the described degree information being turned on and off to be changed into a CAN instruction.
Further, the complete factor of institute's speech commands includes needing the name of the concrete window module being turned on and off
The degree value being turned on or off with this window module.
Further, the efficiency factor of described window module includes window module initialized state, LIN bus communication
Whether state, window module are in malfunction, whether window module is in anti-pinch state, whether window module is in quickly liter
During whether fall pattern and window module are currently running.
Further, described system also includes gateway unit, and described gateway unit is by described in CAN network transfer first
CAN instructs, and described central controller unit is by described for the described instruction morphing one-tenth of CAN after a transfer LIN instruction, and leads to
Cross LIN network and a described LIN instruction is distributed to each window module.
Further, during described window module feedback vehicle window status information, following steps are specifically included:
Described vehicle window motor unit obtains the status information of current window module, output the 2nd LIN instruction;
Described central controller unit is by described 2nd LIN instruction morphing one-tenth the 2nd CAN instruction;
The described 2nd CAN instruction of described multipoint control unit storage.
Further, when described central controller unit is by described 2nd LIN instruction morphing one-tenth the 2nd CAN instruction, specifically
Comprise the following steps:
Described vehicle window motor unit is instructed by described 2nd LIN of LIN network transmission;
Described central controller unit is by described for the described 2nd instruction morphing one-tenth of LIN the 2nd CAN instruction, and passes through CAN net
Described 2nd CAN instruction is transmitted to intermediate transit point by network.
Further, described vehicle window status information include the initialized state of window module, the state of LIN bus communication,
Whether window module is in malfunction, whether window module is in anti-pinch state, whether window module is in fast lifting mould
During whether formula and window module are currently running.
Further, described multipoint control unit performs the current shape of a described LIN instruction always according to window module
Whether state, draw and allow again voice to regulate window module at present.
The embodiment of the present invention provides control method and control system, this control method and the control system thereof of a kind of vehicle window
Including: obtaining the degree information that window module is turned on and off, window module performs to be turned on and off window according to this degree information
The action at family, it is achieved that user remotely and accurately control unlatching and the Guan Bi of vehicle window can make driver be absorbed in traveling ring
Border, thus improve the safety of driving.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow the above and other objects, features and advantages of the present invention can
Become apparent, below especially exemplified by preferred embodiment, and coordinate accompanying drawing, describe in detail as follows.
Detailed description of the invention
By further illustrating the technological means and effect that the present invention taked by reaching predetermined purpose, below in conjunction with accompanying drawing
And preferred embodiment, to the control method of a kind of vehicle window proposed according to the present invention and the detailed description of the invention of control system thereof,
Method, step, structure, feature and effect, after describing in detail such as.
For the present invention aforementioned and other technology contents, feature and effect, in following cooperation with reference to graphic preferable real
Execute during example describes in detail and can clearly present.By the explanation of detailed description of the invention, when can be to the present invention for reaching predetermined mesh
The technological means taked and effect is able to more deeply and concrete understanding, but institute's accompanying drawings is only to provide with reference to and says
Bright it is used, is not used for the present invention is any limitation as.
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.
Refer to the flow chart of the control method of a kind of vehicle window that Fig. 1, Fig. 1 provide for the embodiment of the present invention.
Step S1, obtains the degree information that window module is turned on and off.
In step sl, degree information herein is possible not only to be fuzzy numerical value, such as " left front vehicle window is opened a bit ", also
Can be accurate numerical value, such as " left front vehicle window opens half ".And can also is that on the location status of current window module
The vehicle window of superposition user input controls information, such as " left front vehicle window is opened a bit again ".
The source of the degree information that described window module is turned on and off includes that the vehicle window that user inputs controls information and car
The vehicle window status information of window module feedback.
Refer to the source that Fig. 2, Fig. 2 are the degree information that embodiment of the present invention window module is turned on and off is that user is defeated
The vehicle window entered controls process chart during information.As in figure 2 it is shown, work as the source of the degree information that window module is turned on and off
When controlling information for the vehicle window of user's input, it comprises the following steps:
The voice command about control window module that S111, identification user send, and export voice recognition information;
S112, according to described voice recognition information, parse that user sends about controlling the status requirements of window module,
And combine the state that is turned on and off in real time of window module, draw the final degree information being turned on and off of window module.
In step S11 and S12, in order to more precisely control window module, need to judge that user sends about
The voice command controlling window module is the most complete, if imperfect, then user cycles through voice command, until this voice life
Order is complete;If complete, it is judged that window module is the most effective, if invalid, return walks;If effectively, it is judged that vehicle window
Whether module is already at specifying position, if it is, prompting user's window module is already at specifying position, if it is not, will
The described degree information being turned on and off changes into a CAN instruction.
Herein, the complete factor of voice command includes needing the name of concrete window module and this vehicle window being turned on and off
The degree value that module is turned on or off.Such as, when user input voice order is " opening a bit ", and control system can be by this language
Sound command recognition is sufficiently complete, because lacking the concrete name controlling window module.Also or, when user input voice order
Being " right front window ", this voice command identification can be sufficiently complete by control system, specifically controls window module because lacking
The degree value being turned on or off.When user input voice order is " right front window is all turned off ", and control system can be by this language
Sound command recognition is complete, and starts to perform action.
Herein, the efficiency factor of window module includes the initialized state of window module, the state of LIN bus communication, car
Whether window module is in malfunction, whether window module is in anti-pinch state, whether window module is in fast lifting pattern
And during whether window module is currently running.If the state precisely user of current vehicle window module initialization needs window module
The degree turned off or on, the control voice command performing user the most further is unnecessary.The state of LIN bus communication
Quality can affect whether window module can effectively perform to control voice command.Whether window module is in malfunction, vehicle window
Whether module is in anti-pinch state, whether window module is in fast lifting pattern and window module whether be currently running in also
Can affect whether window module can effectively perform to control voice command.
Refer to the source that Fig. 3, Fig. 3 are the degree information that embodiment of the present invention window module is turned on and off is vehicle window mould
Process chart during the vehicle window status information that block feeds back.As it is shown on figure 3, the degree information being turned on and off when window module
During the vehicle window status information that source is described window module feedback, it comprises the following steps:
S121, obtain the status information of 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 this status information changed
Become LIN instruction.Described vehicle window status information includes the initialized state of window module, the state of LIN bus communication, window module
Whether be in malfunction, whether window module is in anti-pinch state, whether window module is in fast lifting pattern and car
During whether window module is currently running.
S122, by described 2nd LIN instruction morphing one-tenth the 2nd CAN instruction;
Integrating step S121, in step S122, the network speed of the present embodiment CAN network is the net of 500kbps and LIN network
Speed is 19.2kbps, by being instructed by the 2nd LIN instruction morphing one-tenth the 2nd CAN, makes the status information of window module by a high speed
Network signal transmission, make the properer demand of user's phonetic control command, more intelligentized execution action.
S123, store described 2nd CAN instruction.
In step S123, by the 2nd CAN instruction of the status information comprising window module being stored, it can
It is turned on or off degree in conjunction with what the vehicle window of user's input controlled that information the most accurately controls window module.
Refer to the flow process of the 2nd LIN instruction morphing one-tenth the 2nd CAN instruction that Fig. 4, Fig. 4 provide for the embodiment of the present invention
Figure.As shown in Figure 4, for step S122, during by described 2nd LIN instruction morphing one-tenth the 2nd CAN instruction, following step is specifically included
Rapid:
S1221, by LIN network transmission described 2nd LIN instruct;
S1222, by described for the described 2nd instruction morphing one-tenth of LIN the 2nd CAN instruction, and by CAN network by described second
CAN instruction transmission is to intermediate transit point.
In step S1222, owing to the 2nd LIN instruction transmission speed ratio is relatively low, in order to reach quick control window module
Purpose and according to the layout of vehicle-mounted data transmission network, need to by described for the 2nd instruction morphing one-tenth of LIN the 2nd CAN instruction,
By CAN network at a high speed, described 2nd CAN instruction is transmitted to intermediate transit point the most again.Intermediate transit point herein can be gateway,
Router and other communication terminal equipments.
Step S2, changes into a CAN instruction by the described degree information being turned on and off.
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 network signal at a high speed, makes the properer demand of user's phonetic control command, more intelligentized execution
Action.LIN network belongs to low-cost network, uses CAN network and the conversion of LIN network, advantageously reduces design cost.
Step S3, by described CAN instruction morphing one-tenth an oneth LIN instruction, and a described LIN instruction is distributed to each
Individual window module.
In step s3, for control window module data transmission network design and cost-effective for, low speed and
The LIN network of low cost is to meet to control window module.The CAN instruction needs come from CAN network transmission change into symbol
Close a LIN instruction of the data standard of LIN network.Owing to 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, the merit such as the integrated anti-pinching car window controller of window module, louver controller
Can, it is possible to regulate the opening and closing degree of window module according to LIN instruction.
Refer to the flow process of CAN instruction morphing one-tenth the oneth LIN instruction that Fig. 5, Fig. 5 provide for the embodiment of the present invention
Figure.As it is shown in figure 5, for step S3, during by described CAN instruction morphing one-tenth an oneth LIN instruction, specifically include following step
Rapid:
S31, by described in CAN network transfer the oneth CAN instruct;
S32, by described for the described instruction morphing one-tenth of CAN after transfer the oneth LIN instruction, and by LIN network by institute
State a LIN instruction and be distributed to each window module.
The method that the embodiment of the present invention provides can also perform the current shape of a described LIN instruction according to window module
Whether state, draw and allow again voice to regulate window module at present.LIN bus communication breaks down, or window module is
Execution is turned on and off action, does not the most allow to continue executing with the order of voice regulation window module.
The method that the embodiment of the present invention provides achieve user can remotely and accurately control unlatching and the Guan Bi of vehicle window,
Make driver be absorbed in running environment, thus improve the safety of driving.
The embodiment of the present invention also provides for a kind of vehicle window control system.Refer to what Fig. 6, Fig. 6 provided for the embodiment of the present invention
The structural representation of vehicle window control system.
Multipoint control unit 10 is used for obtaining the degree information that window module is turned on and off, and by described unlatching or pass
The degree information closed changes into a CAN instruction.Degree information herein is possible not only to be fuzzy numerical value, such as " left front car
Window is opened a bit ", it is also possible to it is accurate numerical value, such as " left front vehicle window opens half ".And can also is that in current window module
Location status on superposition user input vehicle window control information, such as " left front vehicle window is opened a bit again ".
The source of the degree information that described window module is turned on and off includes that the vehicle window that user inputs controls information and car
The vehicle window status information of window module feedback.
Central controller unit 20 is as LIN host node, for described CAN instruction morphing one-tenth the oneth LIN is instructed,
And a described LIN instruction is distributed to each window module.For controlling data transmission network design and the joint of window module
About for cost, the LIN network of low speed and low cost is to meet to control window module.Central controller unit 20 can be by
A LIN instruction of the data standard of LIN network is met from the instruction morphing one-tenth of CAN that CAN network transmission is next.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
The functions such as the integrated anti-pinching car window controller of module, louver controller, it is possible to according to LIN instruction regulate window module unlatching and
Closedown degree.
Vehicle window motor unit 30 is used for controlling described window module and is turned on and off window according to a described LIN instruction execution
The action at family.
Gateway unit 40 is as data relay station, and it is capable of remotely receiving and forwarding of data.Gateway unit 40 leads to
Crossing a CAN instruction described in CAN network transfer, the described CAN instruction after transfer is turned by described central controller unit 20
It is melted into a described LIN instruction, and by LIN network, a described LIN instruction is distributed to each window module.
Refer to the structural representation of the multimedia control module that Fig. 7, Fig. 7 provide for the embodiment of the present invention.Such as Fig. 7 institute
Showing, the multipoint control unit 10 of the present embodiment includes:
Sound identification module 101, for identifying the voice command about control window module that user sends, and exports language
Sound identification information;
Logic judgment module 102, for according to described voice recognition information, parse that user sends about controlling vehicle window
The status requirements of module, and combine the state that is turned on and off in real time of window module, draws being turned on and off of window module
Final degree information.
When the vehicle window being user's input when the source of the degree information that window module is turned on and off controls information:
In order to more precisely control window module, logic judgment module 102 judge that user sends about control
The voice command of window module is the most complete, if imperfect, then user cycles through voice command, until this voice command is
Complete;If complete, described logic judgment module 102 judges that window module is the most effective, if invalid, return walks;As
Fruit effectively, described logic judgment module 102 judge window module whether already at specifying position, if it is, described voice is known
Other module 101 point out user's window module already at specifying position, if it is not, by the described degree information being turned on and off
Change into a CAN instruction.
Herein, the complete factor of voice command includes needing the name of concrete window module and this vehicle window being turned on and off
The degree value that module is turned on or off.Such as, when user input voice order is " opening a bit ", and control system can be by this language
Sound command recognition is sufficiently complete, because lacking the concrete name controlling window module.Also or, when user input voice order
Being " right front window ", this voice command identification can be sufficiently complete by control system, specifically controls window module because lacking
The degree value being turned on or off.When user input voice order is " right front window is all turned off ", and control system can be by this language
Sound command recognition is complete, and starts to perform action.
Herein, the efficiency factor of window module includes the initialized state of window module, the state of LIN bus communication, car
Whether window module is in malfunction, whether window module is in anti-pinch state, whether window module is in fast lifting pattern
And during whether window module is currently running.If the state precisely user of current vehicle window module initialization needs window module
The degree turned off or on, the control voice command performing user the most further is unnecessary.The state of LIN bus communication
Quality can affect whether window module can effectively perform to control voice command.Whether window module is in malfunction, vehicle window
Whether module is in anti-pinch state, whether window module is in fast lifting pattern and window module whether be currently running in also
Can affect whether window module can effectively perform to control voice command.
The vehicle window status information that source is described window module feedback when the degree information that window module is turned on and off
Time:
Described vehicle window motor unit 30 obtains the status information of current window module, output the 2nd LIN instruction, described central authorities
Central controller unit 20 is by described 2nd LIN instruction morphing one-tenth the 2nd CAN instruction, and described multipoint control unit 10 stores described the
Two CAN instructions.
The status information of transmission window module is LIN network, it is therefore desirable to this status information is converted into LIN instruction.Institute
The status information stating window module includes whether the initialized state of window module, the state of LIN bus communication, window module are located
In malfunction, whether window module is in anti-pinch state, whether window module is in fast lifting pattern and window module
In whether being currently running.
The network speed of the present embodiment CAN network be the network speed of 500kbps and LIN network be 19.2kbps, by by the 2nd LIN
Instruction morphing one-tenth the 2nd CAN instructs, and makes the status information of window module be transmitted by network signal at a high speed, makes user speech control
System instructs properer demand, more intelligentized execution action.
By the 2nd CAN instruction of the status information comprising window module being stored, it can input in conjunction with user
Vehicle window control that information the most accurately controls window module be turned on or off degree.
When central controller unit 20 is by described 2nd LIN instruction morphing one-tenth the 2nd CAN instruction, vehicle window motor unit 30 leads to
Cross the described 2nd LIN instruction of LIN network transmission;Central controller unit 20 is by the described 2nd instruction morphing one-tenth of LIN described second
CAN instructs, and is transmitted described 2nd CAN instruction to intermediate transit point by CAN network.
Due to the 2nd LIN instruction transmission speed ratio relatively low, in order to reach quick control window module purpose and according to
The layout of vehicle-mounted data transmission network, need to be by described for the 2nd instruction morphing one-tenth of LIN the 2nd CAN instruction, the most again by a high speed
CAN network by described 2nd CAN instruction transmission to intermediate transit point.Intermediate transit point herein can be gateway, router and other
Communication terminal equipment.
The status information of described vehicle window includes the initialized state of window module, the state of LIN bus communication, window module
Whether be in malfunction, whether window module is in anti-pinch state, whether window module is in fast lifting pattern and car
During whether window module is currently running.
In order to avoid performing conflict, the present embodiment multipoint control unit 10 can perform LIN instruction according to LIN from node
Situation, draw and whether allow at present again to perform voice regulation window module, the execution action making each window module is orderly
Carry out.
Multipoint control unit 10 not only judges the integrity of the voice command that user sends, and has also judged window module
Currently used state and effective status, making whole control system perform, to be turned on and off window actuation relatively reliable, does not allows
Error-prone.
Such as, multipoint control unit 10 receives the voice command " skylight is opened a bit " of user's input, wherein, " skylight
Open a bit " voice command include the degree value δ d that the name of " skylight " performance objective and " opening a bit " roof module are opened.With
This simultaneously, multipoint control unit 10 has known currently used state and the effective status in this moment skylight, including knowing
It window position Pt.Parse user according to voice command and need the opening degree value (Pt+ δ d) in skylight, multipoint control unit 10
The opening degree value (Pt+ δ d) of this roof module changing into CAN instruction send to gateway unit 40, gateway unit 40 receives should
CAN instructs, and is given to central controller unit 20 in being instructed by CAN by CAN network, and CAN is instructed by central controller unit 20
The opening degree value (Pt+ δ d) of the roof module comprised changes into LIN instruction, and is distributed to each by LIN network by LIN instruction
Individual LIN performs window opened via from node, roof module according to the opening degree value (Pt+ δ d) of the roof module that LIN instruction comprises
Action, thus realize accurately controlling the opening degree in skylight.Meanwhile, this control system achieve user can the most also
Control vehicle window or the unlatching in skylight and Guan Bi intelligently, make driver be absorbed in running environment, thus improve the safety of driving.
The above, be only the preferred embodiment of invention, the present invention not make any pro forma restriction, although
The present invention is disclosed above with preferred embodiment, but is not limited to the present invention, any those skilled in the art,
In the range of without departing from technical solution of the present invention, when the technology contents of available the disclosure above makes a little change or is modified to
With the Equivalent embodiments of change, as long as being without departing from technical solution of the present invention content, according to the present invention technical spirit to more than
Any simple modification, equivalent variations and the modification that embodiment is made, all still falls within the range of technical solution of the present invention.