New energy automobile control method and system based on Internet of vehicles

文档序号:611242 发布日期:2021-05-07 浏览:21次 中文

阅读说明:本技术 一种基于车联网的新能源汽车控制方法及系统 (New energy automobile control method and system based on Internet of vehicles ) 是由 徐占奇 于 2021-01-01 设计创作,主要内容包括:本发明提供一种基于车联网的新能源汽车控制系统及方法,通过在车机内置升窗监控模型和升窗反馈模块来监控用户是否通过OBD接口模块外接升窗器,然后对外接升窗器的升窗指令进行监控与调整,从而在用户外接升窗器的情况下仍然能够保证车机的安全性,避免出现升窗电机烧坏、程序错乱、升窗指令失效等问题。(The invention provides a new energy automobile control system and method based on an internet of vehicles, which monitor whether a user is externally connected with a window lifter through an OBD interface module by arranging a window lifter monitoring model and a window lifter feedback module in a vehicle, and then monitor and adjust a window lifter instruction of the externally connected window lifter, so that the safety of the vehicle can still be ensured under the condition that the user is externally connected with the window lifter, and the problems of window lifter motor burnout, program confusion, window lifter instruction failure and the like are avoided.)

1. The new energy automobile control system based on the internet of vehicles is characterized by comprising the following modules: the system comprises a window lifter module, an OBD interface module, a window lifting monitoring module, an original vehicle CAN bus module, a window lifting module and a window lifting feedback module;

the OBD interface module is connected the window lifter module with window lift monitoring module, former car CAN bus module connects window lift monitoring module with the window lift module, window lift feedback module connects the window lift module with window lift monitoring module.

2. The new energy automobile control system based on internet of vehicles according to claim 1, wherein:

the window lifter module further includes: CPU and CAN communication module;

new energy automobile control system still includes power module, power module to window riser module the OBD interface module the window lift monitoring module former car CAN bus module the window lift module with the power supply of window lift feedback module.

3. A new energy vehicle control method based on internet of vehicles by adopting the system of claim 1, which is characterized by comprising the following steps:

s1, the window lifter module acquires a first window-lifting signal from the OBD interface module, generates a second window-lifting signal according to the first window-lifting signal and sends the second window-lifting signal to the OBD interface module;

s2, the OBD interface module sends the second window-raising signal to the original vehicle CAN bus module through the window-raising monitoring module;

s3, the original vehicle CAN bus module controls the window lifting module to execute window lifting operation according to the second window lifting signal;

s4, the window raising feedback module generates a window raising feedback signal according to the window raising operation and sends the window raising feedback signal to the window raising monitoring module;

and S5, the window-raising monitoring module generates a correction window-raising signal according to the window-raising feedback signal and sends the correction window-raising signal to the window-raising module, and the window-raising module executes window-raising operation according to the correction window-raising signal after receiving the correction window-raising signal.

4. The method of claim 3, wherein the OBD interface module sends the second window up signal to the original CAN bus module via the window up monitoring module, further comprising:

simultaneously sending the first window-raising signal from the OBD interface module to the window-lifter module and the window-raising monitoring module;

the window-raising monitoring module obtains the second window-raising signal, compares whether the first window-raising signal and the second window-raising signal are the same or not, and if the first window-raising signal and the second window-raising signal are the same, sends the first window-raising signal to the original vehicle CAN bus module and closes the window-raising feedback module;

and if not, sending the second window-raising signal to the original vehicle CAN bus module, and starting the window-raising feedback module.

5. The method of claim 4, wherein the comparing whether the first window-raised signal and the second window-raised signal are the same further comprises:

the window-raising monitoring module compares the time difference value of the first window-raising signal and the second window-raising signal, and if the time difference value is smaller than a first time difference threshold value, the window-raising device is marked with a position 1; awakening the window-lifting monitoring module and the window-lifting feedback module which are in a dormant state;

if the time difference value is greater than or equal to the first time difference threshold, identifying a window lifter as a position 0; and enabling the window-lifting monitoring module and the window-lifting feedback module to sleep.

6. The method of claim 5, wherein waking up the window-up monitoring module and the window-up feedback module in a sleep state further comprises:

if the window-lifting module still receives the second window-lifting signal after the window-lifting operation is finished, sending an alarm signal to the window-lifting feedback module, and generating a window-lifting feedback signal by the window-lifting feedback module according to the alarm signal and sending the window-lifting feedback signal to the window-lifting monitoring module;

and the window-raising monitoring module stops receiving the second window-raising signal.

7. The method of claim 6, wherein after the window-raising monitoring module stops receiving the second window-raising signal, further comprising:

if the window-raising monitoring module receives a fourth window-raising signal within the first time difference threshold value after receiving the third window-raising signal, shielding the fourth window-raising signal and sending the third window-raising signal to the original vehicle CAN bus module;

and the original vehicle CAN bus module controls the window lifting module to execute window lifting operation according to the third window lifting signal.

8. The method of claim 3, wherein the OBD interface module sends the second window up signal to the original CAN bus module via the window up monitoring module, further comprising:

the window-raising monitoring module stores an initial window-raising instruction set, and identifies whether the first window-raising signal belongs to the initial window-raising instruction set or not after receiving the first window-raising signal; if the current vehicle window-lifting signal belongs to the current vehicle window-lifting signal, sending the first window-lifting signal to the original vehicle CAN bus module, and closing the window-lifting feedback module;

and if the second window-raising signal does not belong to the original vehicle CAN bus module, sending the acquired second window-raising signal to the original vehicle CAN bus module, and starting the window-raising feedback module.

9. The method of claim 8, wherein sending the obtained second window raising signal to the original vehicle CAN bus module further comprises:

the window-raising monitoring module stores an upgrading window-raising instruction set, and after acquiring the second window-raising signal, the window-raising monitoring module identifies whether a corresponding window-raising instruction sequence exists in the upgrading window-raising instruction set or not;

if the window-lifting instruction sequence exists, the window-lifting instruction sequence is sent to the original vehicle CAN bus module, and the window-lifting feedback module is closed;

and if the window-lifting instruction sequence does not exist, sending the second window-lifting signal to the original vehicle CAN bus module, and starting the window-lifting feedback module.

10. The method of claim 9, wherein the window-up monitoring module stores an upgraded window-up instruction set, further comprising:

and if the window-lifting monitoring module and the window-lifting feedback module are awakened for the first time, acquiring and storing the upgrading window-lifting instruction set from the Internet of vehicles server.

Technical Field

The invention relates to the technical field of car networking and new energy automobile window control, in particular to a new energy automobile control method and system based on the car networking.

Background

The automobile is an indispensable vehicle for modern people to live and work, and the automobile consumption is increased along with the continuous improvement of the production and living standards of people. At present, automobiles are generally provided with power windows, and a switch is required to be manually pressed to drive the windows to ascend and descend. However, in a hurry situation, a driver easily forgets to close the window when leaving the vehicle, or the window is not lifted in place, so that property in the vehicle is easily stolen, and rainwater, dust, leaves and other sundries can fall into the vehicle. Moreover, when the driver finds that the window is not closed, the driver needs to restart the automobile to close the window, which is very inconvenient.

In the prior art, document CN104608713A proposes an automobile window lifter using a CAN bus, which includes a power module for supplying power, a CAN communication module for communicating with an OBD interface of an original vehicle CAN bus system to read an original vehicle signal, and a central processing unit for outputting a window lifting signal to the original vehicle CAN bus system through the CAN communication module, where the central processing unit is connected to the CAN communication module; the central processing unit collects and processes original vehicle signals read by the CAN communication module and judges whether the vehicle enters an anti-theft state and whether the vehicle window is closed according to the original vehicle signals, and when the vehicle enters the anti-theft state and the vehicle window is not closed, the central processing unit outputs a window lifting signal to the original vehicle CAN bus system through the CAN communication module, so that the original vehicle CAN bus system drives the original vehicle window lifting system to lift the vehicle window. Therefore, the window closing operation is automatically executed after the vehicle is flamed out and locked, the trouble that the driver closes the window manually is avoided, and the loss caused by forgetting to close the window by the driver can also be avoided.

However, the non-broken-line window lifters similar to those in the above documents provided by the online shopping platform are various, and each window lifter can only be adapted to a specific vehicle type, and if a user carelessly purchases a window lifter unsuitable for the vehicle type for installation, the OBD interface window lifter changes the vehicle program, which may cause confusion of the vehicle program to cause adverse effects on the safety of the vehicle. In addition, some window lifters are based on a time delay function, and the time of the whole window lifting process is delayed after the window lifting function is triggered when the window is in a semi-closed state, so that the window lifting motor continuously works after the window is closed, and the service life of the window lifting motor is seriously influenced. And finally, the window lifter command cannot be suspended after being sent out, and a user can input a new command after the user presses the wrong command and only waits until the current wrong command is completely executed. Therefore, the added window lifter has a serious adverse effect on the safety of the window lifting function of the original vehicle, and a method for monitoring the window lifting function to ensure the safety of the vehicle needs to be provided.

Disclosure of Invention

The invention provides a new energy automobile control system based on an internet of vehicles, which comprises the following modules: the system comprises a window lifter module, an OBD interface module, a window lifting monitoring module, an original vehicle CAN bus module, a window lifting module and a window lifting feedback module;

the OBD interface module is connected the window lifter module with window lift monitoring module, former car CAN bus module connects window lift monitoring module with the window lift module, window lift feedback module connects the window lift module with window lift monitoring module.

As a preferred embodiment, the window lifter module further includes: CPU and CAN communication module;

new energy automobile control system still includes power module, power module to window riser module the OBD interface module the window lift monitoring module former car CAN bus module the window lift module with the power supply of window lift feedback module.

The invention provides a new energy automobile control system based on an internet of vehicles, which monitors whether a user is externally connected with a window lifter through an OBD interface module or not by arranging a window lifter monitoring model and a window lifter feedback module in a vehicle, and then monitors and adjusts a window lifting instruction of the externally connected window lifter, so that the safety of the vehicle can still be ensured under the condition that the user is externally connected with the window lifter, and the problems of window lifter motor burnout, program confusion, window lifting instruction failure and the like are avoided.

As another embodiment, the present invention provides a new energy vehicle control method based on internet of vehicles, which uses the new energy vehicle control system based on internet of vehicles, and the method includes the following steps:

s1, the window lifter module acquires a first window-lifting signal from the OBD interface module, generates a second window-lifting signal according to the first window-lifting signal and sends the second window-lifting signal to the OBD interface module;

s2, the OBD interface module sends the second window-raising signal to the original vehicle CAN bus module through the window-raising monitoring module;

s3, the original vehicle CAN bus module controls the window lifting module to execute window lifting operation according to the second window lifting signal;

s4, the window raising feedback module generates a window raising feedback signal according to the window raising operation and sends the window raising feedback signal to the window raising monitoring module;

and S5, the window-raising monitoring module generates a correction window-raising signal according to the window-raising feedback signal and sends the correction window-raising signal to the window-raising module, and the window-raising module executes window-raising operation according to the correction window-raising signal after receiving the correction window-raising signal.

As a preferred embodiment, the OBD interface module sends the second window-up signal to the original vehicle CAN bus module via the window-up monitoring module, and further includes:

simultaneously sending the first window-raising signal from the OBD interface module to the window-lifter module and the window-raising monitoring module;

the window-raising monitoring module obtains the second window-raising signal, compares whether the first window-raising signal and the second window-raising signal are the same or not, and if the first window-raising signal and the second window-raising signal are the same, sends the first window-raising signal to the original vehicle CAN bus module and closes the window-raising feedback module;

and if not, sending the second window-raising signal to the original vehicle CAN bus module, and starting the window-raising feedback module.

As a preferred embodiment, the comparing whether the first window-raising signal and the second window-raising signal are the same further includes:

the window-raising monitoring module compares the time difference value of the first window-raising signal and the second window-raising signal, and if the time difference value is smaller than a first time difference threshold value, the window-raising device is marked with a position 1; awakening the window-lifting monitoring module and the window-lifting feedback module which are in a dormant state;

if the time difference value is greater than or equal to the first time difference threshold, identifying a window lifter as a position 0; and enabling the window-lifting monitoring module and the window-lifting feedback module to sleep.

As a preferred embodiment, the waking up the window-up monitoring module and the window-up feedback module in the sleep state further includes:

if the window-lifting module still receives the second window-lifting signal after the window-lifting operation is finished, sending an alarm signal to the window-lifting feedback module, and generating a window-lifting feedback signal by the window-lifting feedback module according to the alarm signal and sending the window-lifting feedback signal to the window-lifting monitoring module;

and the window-raising monitoring module stops receiving the second window-raising signal.

As a preferred embodiment, after the window-raising monitoring module stops receiving the second window-raising signal, the method further includes:

if the window-raising monitoring module receives a fourth window-raising signal within the first time difference threshold value after receiving the third window-raising signal, shielding the fourth window-raising signal and sending the third window-raising signal to the original vehicle CAN bus module;

and the original vehicle CAN bus module controls the window lifting module to execute window lifting operation according to the third window lifting signal.

As a preferred embodiment, the OBD interface module sends the second window-up signal to the original vehicle CAN bus module via the window-up monitoring module, and further includes:

the window-raising monitoring module stores an initial window-raising instruction set, and identifies whether the first window-raising signal belongs to the initial window-raising instruction set or not after receiving the first window-raising signal; if the current vehicle window-lifting signal belongs to the current vehicle window-lifting signal, sending the first window-lifting signal to the original vehicle CAN bus module, and closing the window-lifting feedback module;

and if the second window-raising signal does not belong to the original vehicle CAN bus module, the acquired second window-raising signal is sent to the original vehicle CAN bus module, and the window-raising feedback module is started.

As a preferred embodiment, the sending the acquired second window-raising signal to the original vehicle CAN bus module further includes:

the window-raising monitoring module stores an upgrading window-raising instruction set, and after acquiring the second window-raising signal, the window-raising monitoring module identifies whether a corresponding window-raising instruction sequence exists in the upgrading window-raising instruction set or not;

if the window-lifting instruction sequence exists, the window-lifting instruction sequence is sent to the original vehicle CAN bus module, and the window-lifting feedback module is closed;

and if the window-raising instruction sequence does not exist, sending the second window-raising signal to the original vehicle CAN bus module, and starting the window-raising feedback module.

As a preferred embodiment, the window-raising monitoring module stores an upgrade window-raising instruction set, and further includes:

and if the window-lifting monitoring module and the window-lifting feedback module are awakened for the first time, acquiring and storing the upgrading window-lifting instruction set from the Internet of vehicles server.

The invention provides a new energy automobile control system and method based on an internet of vehicles, which monitor whether a user is externally connected with a window lifter through an OBD interface module by arranging a window lifter monitoring model and a window lifter feedback module in a vehicle, and then monitor and adjust a window lifter instruction of the externally connected window lifter, so that the safety of the vehicle can still be ensured under the condition that the user is externally connected with the window lifter, and the problems of window lifter motor burnout, program confusion, window lifter instruction failure and the like are avoided.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.

Fig. 1 is a schematic structural diagram of a new energy automobile control system based on the internet of vehicles.

Fig. 2 is a schematic step diagram of a new energy vehicle control method based on the internet of vehicles.

Detailed Description

The embodiments of the present invention are further described below with reference to the drawings.

The first embodiment is as follows:

as shown in fig. 1, the invention provides a new energy automobile control system based on internet of vehicles, which comprises the following modules: the device comprises a window lifter module, an OBD interface module, a window lifting monitoring module, an original vehicle CAN bus module, a window lifting module and a window lifting feedback module. It should be noted that, the present invention adds a window-lifting monitoring module and a window-lifting feedback module on the basis of the prior art documents to monitor, feed back and adjust the window-lifting instruction signal sent by the user; the window-lifting monitoring module and the window-lifting feedback module can be installed in a vehicle machine by an automobile manufacturer in advance, so that the window-lifting monitoring module and the window-lifting feedback module have the functions of monitoring, feeding back and adjusting the window-lifting operation when the vehicle leaves a factory; the automobile can also be upgraded and installed by a 4S store after being shipped from a factory, which is not limited herein. Illustratively, the window-raising monitoring module implements its function through a corresponding CPU, and the window-raising feedback module detects the window-raising operation of the window-raising module through a position sensor of the vehicle window and a sensor of driving parameters of the window-raising motor, such as voltage, current, power, etc., without limitation.

The OBD interface module is connected the window lifter module with window lift monitoring module, former car CAN bus module connects window lift monitoring module with the window lift module, window lift feedback module connects the window lift module with window lift monitoring module. It should be noted that the window lifter module is a window lifter externally connected by a user, and is an optional module, that is, the window lifter module is provided after the user installs the window lifter; if the user does not install a window lifter, then the window lifter module is not present. The structure and function of the OBD interface module, the window-lifting monitoring module, the original vehicle CAN bus module, and the window-lifting module are the same as or the same as the structure and function in the prior art, and are not described herein again.

As a preferred embodiment, as shown in fig. 1 by a dotted box, the window lifter module further includes: CPU and CAN communication module. The CPU and the CAN communication module are used for receiving a first window-lifting signal sent by the OBD interface module, the CPU processes the first window-lifting signal, then a second window-lifting signal is generated, and finally the CAN communication module sends the second window-lifting signal to the OBD interface module, so that a window-lifting control function of an external window lifter is realized. The specific functions and implementation methods of the window lifter are similar to those of the prior art documents, and are described in detail herein.

In addition, the new energy automobile control system further comprises a power module, and the power module supplies power to the window lifter module, the OBD interface module, the window lifting monitoring module, the original automobile CAN bus module, the window lifting module and the window lifting feedback module; the voltage and current supplied by the power module to the modules may be the same or different according to the actual requirements of the modules, and are not limited herein. The new energy automobile control system can be applied to new energy automobiles, electric automobiles and fuel automobiles, and is not limited herein.

The invention provides a new energy automobile control system based on an internet of vehicles, which monitors whether a user is externally connected with a window lifter through an OBD interface module or not by arranging a window lifter monitoring model and a window lifter feedback module in a vehicle, and then monitors and adjusts a window lifting instruction of the externally connected window lifter, so that the safety of the vehicle can still be ensured under the condition that the user is externally connected with the window lifter, and the problems of window lifter motor burnout, program confusion, window lifting instruction failure and the like are avoided.

Example two:

as shown in fig. 2, the invention provides a new energy vehicle control method based on internet of vehicles, which adopts the new energy vehicle control system based on internet of vehicles, and the method comprises the following steps:

s1, the window lifter module acquires a first window-lifting signal from the OBD interface module, generates a second window-lifting signal according to the first window-lifting signal and sends the second window-lifting signal to the OBD interface module; it should be noted that the window lifting and falling signals of the automobile are sent by an automobile key, an automobile window lifting button, a remote control mobile terminal and the like, and then are sent to the OBD interface module after being received by an automobile machine system of the automobile; then, the OBD interface module sends the first window raising signal to the window lifter module, and at this time, the first window raising signal may be a window raising signal obtained under the condition that the window lifter is not installed, or a window raising signal obtained under the condition that an external window lifter is installed, which is not limited herein. Then, a CPU in the window lifter module generates a second window lifting signal according to the first window lifting signal and sends the second window lifting signal to the OBD interface module; for example, in the case that a window lifter is not installed, the first window-lifting signal is an original window-lifting signal, and the original car CAN bus module in the car machine CAN identify and control the window-lifting module to directly perform window-lifting operation; for example, the first window-raising signal is a car-locking signal, at this time, the OBD interface module directly sends the car-locking signal to the original car CAN bus module via the window-raising monitoring module, and the executed operation is a car-locking operation, and is not a window-raising operation, which is not specifically described in detail. Conversely, in the case where the window lifter has been installed, the first window-raising signal is ostensibly the original window-raising signal, in fact the modified window-raising signal; for example, the first window-raising signal is a car-locking signal, and at this time, if the original car CAN bus module in the car machine does not process the first window-raising signal through the window-raising device, the original car CAN bus module CAN only recognize and control the window-raising module to perform window-raising operation; in order to realize the window-lifting function of the window lifter, at this time, the window lifter needs to "translate" the first window-lifting signal, that is, generate a second window-lifting signal according to the first window-lifting signal and send the second window-lifting signal to the OBD interface module, for example, translate the car-locking signal into a second window-lifting signal of car-locking + window-lifting, thereby realizing the function of the window lifter. In addition, the first window-raising signal is not limited to performing a window-raising operation, and may also perform a window-falling signal, a window-hovering signal, and the like, without being limited thereto.

S2, the OBD interface module sends the second window-raising signal to the original vehicle CAN bus module through the window-raising monitoring module; it should be noted that, in order to implement the monitoring function of the external window lifter of the present invention, the window lifter monitoring module is additionally arranged between the OBD interface module and the original vehicle CAN bus module, so as to monitor the window lifter signal sent to the original vehicle CAN bus module through the OBD interface module under the condition that the window lifter is installed or not installed, thereby avoiding the problems of window lifter motor burnout, program confusion, window lifter instruction failure, etc.

S3, the original vehicle CAN bus module controls the window lifting module to execute window lifting operation according to the second window lifting signal; it should be noted that, at this time, the original vehicle CAN bus module cannot recognize whether the window-raising signal is a signal processed or translated by the window-raising device, and CAN only control the window-raising module to perform the window-raising operation on the second window-raising signal received by the original vehicle CAN bus module.

S4, the window raising feedback module generates a window raising feedback signal according to the window raising operation and sends the window raising feedback signal to the window raising monitoring module; it should be noted that, because the car-on-board system of the original car can effectively protect the normal operation and safety of each functional module of the window-lifting system, and the safety of the window-lifting system with the window-lifting device is difficult to guarantee, the window-lifting feedback module is additionally arranged to monitor and feed back the safety of the window-lifting operation of the window-lifting module; for example, the window-raising feedback module detects the window-raising operation of the window-raising module through a window position sensor and a sensor for detecting driving parameters of the window-raising motor, such as voltage, current, power, etc., and sends a feedback signal to the window-raising monitoring module according to the window-raising operation, which is not limited herein.

And S5, the window-raising monitoring module generates a correction window-raising signal according to the window-raising feedback signal and sends the correction window-raising signal to the window-raising module, and the window-raising module executes window-raising operation according to the correction window-raising signal after receiving the correction window-raising signal. It should be noted that, for example, the window-raising feedback module detects that the window has been raised to the highest position by the position sensor, and detects that the window-raising motor of the window is still in operation by the current, voltage, and power detectors, at this time, to avoid a problem of motor burnout caused by overload operation of the motor, the window-raising feedback module generates a feedback signal of overload operation of the window-raising motor according to the window-raising operation and sends the feedback signal to the window-raising monitoring module, the window-raising monitoring module generates a corrected window-raising signal according to the feedback signal of overload operation of the window-raising motor and sends the corrected window-raising signal to the window-raising module, for example, the corrected window-raising signal is a window-raising stop signal, and the window-raising module executes the window-raising operation according to the corrected window-raising signal after receiving the corrected window.

Therefore, the new energy automobile control system based on the internet of vehicles provided by the invention monitors whether a user is externally connected with a window lifter through the OBD interface module by arranging the window lifter monitoring model and the window lifter feedback module in the automobile, and then monitors and adjusts a window lifting instruction of the externally connected window lifter, so that the safety of the automobile can be still ensured under the condition that the user is externally connected with the window lifter, and the problems of window lifter motor burnout, program confusion, window lifting instruction failure and the like are avoided.

As a preferred embodiment, the OBD interface module sends the second window-up signal to the original vehicle CAN bus module via the window-up monitoring module, and further includes:

the OBD interface module simultaneously sends the first window-lifting signal to the window-lifting device module and the window-lifting monitoring module; it should be noted that, in order to implement monitoring on a window-raising signal, preferably, the present invention sends the first window-raising signal to the window-raising monitoring module while sending the first window-raising signal to the window-raising module, so as to provide for subsequent monitoring and identifying operations.

The window-raising monitoring module obtains the second window-raising signal, compares whether the first window-raising signal and the second window-raising signal are the same or not, and if the first window-raising signal and the second window-raising signal are the same, sends the first window-raising signal to the original vehicle CAN bus module and closes the window-raising feedback module; it should be noted that the window-raising monitoring module does not know in advance whether a user installs a window-raising device, and at this time, the window-raising monitoring module can determine through a window-raising signal received by the window-raising monitoring module; for example, the window-raising monitoring module continuously receives the first window-raising signal and the second window-raising signal, and if the first window-raising signal is the same as the second window-raising signal, and because the first window-raising signal is an original window-raising signal that CAN be directly recognized and executed by a car machine, at this time, the first window-raising signal or the second window-raising signal is sent to the original car CAN bus module to execute a corresponding window-raising operation; meanwhile, the safety of the window lifting system can be ensured by the original window lifting signal, so that the window lifting operation does not need to be monitored, and the window lifting feedback module is closed to save electric energy. It should be emphasized that, at this time, although the window-raising monitoring module receives two identical window-raising signals continuously, the two identical window-raising signals may be the window-raising signals sent twice by the user without installing the window-raising device, or may be the first window-raising signal that is still the original first window-raising signal after being translated by the window-raising device when the user installs the window-raising device; therefore, in this case, it is still impossible to accurately determine whether the window lifter is installed by the user, and subsequent further determination is still required.

And if not, sending the second window-raising signal to the original vehicle CAN bus module, and starting the window-raising feedback module. It should be noted that, on the contrary, if the first window-raising signal and the second window-raising signal are different, it indicates that the first window-raising signal has been translated or modified, that is, the original window-raising signal has been processed or translated, at this time, the second window-raising signal is sent to the original vehicle CAN bus module to implement the window-raising function of the window lifter, and meanwhile, since the safety of the window-raising function operation of the window lifter cannot be ensured, the window-raising feedback module needs to be started to feed back the window-raising operation process of the window-raising module.

As a preferred embodiment, the comparing whether the first window-raising signal and the second window-raising signal are the same further includes:

the window-raising monitoring module compares the time difference value of the first window-raising signal and the second window-raising signal, and if the time difference value is smaller than a first time difference threshold value, the window-raising device is marked with a position 1; awakening the window-lifting monitoring module and the window-lifting feedback module which are in a dormant state; it should be noted that, if the user does not install the window lifter, the time interval between two consecutive window-lifting operations of the user often reaches the level of 0.1 second, and if the user installs the window lifter, the time interval between the original first window-lifting signal and the translated second window-lifting signal is maintained at the level of 0.01 second, that is, the time interval between two consecutive window-lifting signals sent by manual operation often is significantly longer than the translation processing time of the window lifter for the first window-lifting signal. Based on the difference in the time interval, preferably, the window-raising monitoring module compares the time difference between the first window-raising signal and the second window-raising signal, and identifies the window-raising device as position 1 if the time difference is less than a first time difference threshold; for example, the difference between the arrival times of the first window-raising signal and the second window-raising signal at the window-raising monitoring module is 0.05 seconds, which is less than the first time difference threshold value of 0.08 seconds; it indicates that the two consecutive window-raising signals cannot be artificially triggered, i.e. a second window-raising signal is generated after being interpreted by the window-raising device, thereby indicating that the user has installed the window-raising device, and at this time, the window-raising device is identified as position 1; and awakening the window-lifting monitoring module and the window-lifting feedback module which are in a dormant state so as to monitor and feed back a window-lifting signal of the window lifter. It should be emphasized that the time difference value of 0.05 second and the first time difference threshold of 0.08 second are only examples, and other time difference thresholds capable of distinguishing the user's continuous operation from the instruction processing time period may be used, and are not limited herein.

If the time difference value is greater than or equal to the first time difference threshold, identifying a window lifter as a position 0; and enabling the window-lifting monitoring module and the window-lifting feedback module to sleep. It should be noted that, conversely, for example, the difference between the times of arrival of the first window-raising signal and the second window-raising signal at the window-raising monitoring module is 0.2 seconds, and is greater than the first time difference threshold value by 0.08 seconds; it indicates that the two consecutive window-rising signals are likely to be artificially triggered, i.e. not the second window-rising signal generated after translation by the window-riser. Although it still cannot be accurately determined whether the user has installed the window lifter at this time, since the window lifter does not modify the window lifting instruction in a translation manner, that is, even though the window lifter is installed, the window lifter does not enter a working state for various reasons, the window lifter is not installed or the existence of the window lifter is ignored, and the window lifter is identified to be at position 0 at this time; and the window-lifting monitoring module and the window-lifting feedback module are dormant so as to save the electric quantity consumption. It should be emphasized that, although the prior art may detect whether an external electric device is connected by measuring the voltage, current, and power of the OBD interface, the method for measuring the power consumption parameter still cannot identify whether the external electric device is a window lifter, for example, a user may install a vehicle recorder or other devices through the OBD interface; meanwhile, the method for measuring the power consumption parameters still needs to set the power consumption parameter detection equipment to continuously consume the electric quantity of the vehicle-mounted battery, so that the service life of the vehicle-mounted battery is seriously influenced, and the hardware cost is increased; based on the above consideration, the invention preferably provides the innovative improvement measures.

As a preferred embodiment, the waking up the window-up monitoring module and the window-up feedback module in the sleep state further includes:

if the window-lifting module still receives the second window-lifting signal after the window-lifting operation is finished, sending an alarm signal to the window-lifting feedback module, and generating a window-lifting feedback signal by the window-lifting feedback module according to the alarm signal and sending the window-lifting feedback signal to the window-lifting monitoring module; it should be noted that, because the window position height of the vehicle before the window is raised is random, that is, some windows may be at the lowest position, some at the half-open position, and some at the highest position; the external window lifter is mainly of a time-driven type due to cost considerations and the like, namely, the maximum window lifting time is set for all windows, for example, 5 seconds, so that all windows can be lifted to the highest position. However, for the window in the half-open state and the highest position, the window-lifting operation can be completed within 3 seconds or 0 second, and the window-lifting motor continues to work in an overload state at the highest position of the window-lifting within the remaining 2 seconds or 5 seconds, which may cause the problem that the corresponding window motor is burnt out in the past for a long time. For this, preferably, if the window-raising module still receives the second window-raising signal after the window-raising operation is completed, that is, after the window-raising is performed to the highest position, an alarm signal is sent to the window-raising feedback module, and the window-raising feedback module generates a window-raising feedback signal according to the alarm signal and sends the window-raising feedback signal to the window-raising monitoring module; at this time, the window-lifting completion operation can be detected by a limit switch, namely the window-lifting is considered to be completed when the window is detected to be lifted to the highest position.

And the window-raising monitoring module stops receiving the second window-raising signal. It should be noted that, after receiving the window-lifting feedback signal, the window-lifting monitoring module stops receiving the second window-lifting signal, for example, shields the received second window-lifting signal to avoid an invalid motor driving operation of the window-lifting module, thereby saving electric power and avoiding damage to the window-lifting motor. It should be emphasized that the second window-raising signal may be a window-raising signal for a specific window, or may be a window-raising signal for all windows, which is not limited herein.

As a preferred embodiment, after the window-raising monitoring module stops receiving the second window-raising signal, the method further includes:

if the window-raising monitoring module receives a fourth window-raising signal within the first time difference threshold value after receiving the third window-raising signal, shielding the fourth window-raising signal and sending the third window-raising signal to the original vehicle CAN bus module; it should be noted that, as described above, since the second window-raising signal already adversely affects the normal operation of the window-raising motor, the window lifter cannot be well matched with the vehicle unit of the vehicle, that is, the window lifter installed on the vehicle may adversely affect the safety of the vehicle, and therefore, the window-raising signal sent by the window lifter needs to be shielded. For example, if the window-raising monitoring module receives a fourth window-raising signal within the first time difference threshold after receiving the third window-raising signal, that is, the third window-raising signal is translated by a window-raising device to obtain a fourth window-raising signal, the fourth window-raising signal is shielded at this time, and the third window-raising signal is sent to the original vehicle CAN bus module, and the original vehicle CAN bus module controls the window-raising module to perform a window-raising operation according to the third window-raising signal, so as to maintain the original window-raising function of the vehicle and avoid affecting the safety of the vehicle. Preferably, the message for shielding the window lifter can be sent to the user through a display screen of the vehicle or a mobile terminal connected with the vehicle, so as to remind the user and avoid misoperation.

As a preferred embodiment, the OBD interface module sends the second window-up signal to the original vehicle CAN bus module via the window-up monitoring module, and further includes:

the window-raising monitoring module stores an initial window-raising instruction set, and identifies whether the first window-raising signal belongs to the initial window-raising instruction set or not after receiving the first window-raising signal; if the current vehicle window-lifting signal belongs to the current vehicle window-lifting signal, sending the first window-lifting signal to the original vehicle CAN bus module, and closing the window-lifting feedback module; it should be noted that, in order to ensure the vehicle-machine program safety of the vehicle and also consider that the window lifter can work as much as possible, preferably, the window-lifting monitoring module stores an initial window-lifting instruction set, where the initial window-lifting instruction set may be a set of window-lifting instructions that are solidified inside the vehicle machine when the vehicle leaves a factory and can be normally recognized and executed by the vehicle machine, and the instructions ensure the safe operation of the vehicle machine; at this time, the window-raising monitoring module receives the first window-raising signal and then identifies whether the first window-raising signal belongs to the initial window-raising instruction set; if the first window-raising signal belongs to the initial window-raising instruction set, for example, the first window-raising signal is a window-raising instruction, it indicates that the instruction is a window-raising instruction that CAN be normally recognized and executed by a vehicle machine, so that the first window-raising signal is sent to the original vehicle CAN bus module, and the window-raising feedback module is closed to save electric quantity.

And if the second window-raising signal does not belong to the original vehicle CAN bus module, the acquired second window-raising signal is sent to the original vehicle CAN bus module, and the window-raising feedback module is started. It should be noted that, on the contrary, if the first window-raising signal does not belong to the initial window-raising instruction set, for example, the first window-raising signal is a "car-locking instruction", it indicates that the instruction is an instruction that needs to be translated or modified, for example, the translated second window-raising signal is a car-locking + window-raising instruction, so that the "window-raising instruction" in the obtained translated instruction is sent to the original car CAN bus module as the second window-raising signal; at the same time, indicating that the user has installed a window lifter, the window lifter feedback module is activated.

As a preferred embodiment, the sending the acquired second window-raising signal to the original vehicle CAN bus module further includes:

the window-raising monitoring module stores an upgrading window-raising instruction set, and after acquiring the second window-raising signal, the window-raising monitoring module identifies whether a corresponding window-raising instruction sequence exists in the upgrading window-raising instruction set or not; it should be noted that, in order to meet the diversified demands of the window lifter on the window lifting instruction, the window lifter is compatible with the work of the window lifter as much as possible, the window lifting experience of the user is improved, and meanwhile, the safety of the window lifting system is ensured; preferably, the window-raising monitoring module stores an upgrade window-raising instruction set, where the upgrade window-raising instruction set is obtained when a user upgrades a vehicle machine after purchasing a vehicle, so as to expand a window-raising function of the initial window-raising instruction set. For example, the upgrade window-up instruction set may include a window-up instruction a, i.e., the window-up instruction a = window-up + skylight-closed instruction. If the window-lifting instruction sequence exists, namely a window-lifting + skylight-closing instruction exists, the window-lifting instruction sequence is sent to the original vehicle CAN bus module; meanwhile, each instruction in the instruction sequence is an original instruction which can be identified by the window-raising module, so that the safety problem does not exist, and the window-raising feedback module is closed at the moment.

And if the window-raising instruction sequence does not exist, sending the second window-raising signal to the original vehicle CAN bus module, and starting the window-raising feedback module. It should be noted that, if the window-up instruction sequence does not exist, for example, the upgraded window-up instruction set may include a window-up instruction B, that is, the window-up instruction B = a half-window-up instruction, that is, a window-up instruction is one half of the highest height; this instruction requires that the stop window-raise instruction be executed again when the window-raise reaches a certain height. At this time, the second window-raising signal B is sent to the original vehicle CAN bus module, namely the second window-raising signal B is not decomposed to avoid window-raising failure caused by decomposition error; meanwhile, in order to ensure the safety of the window lifting system, the window lifting feedback module needs to be started.

As a preferred embodiment, the window-raising monitoring module stores an upgrade window-raising instruction set, and further includes:

and if the window-lifting monitoring module and the window-lifting feedback module are awakened for the first time, acquiring and storing the upgrading window-lifting instruction set from the Internet of vehicles server. It should be noted that if the window-lifting monitoring module and the window-lifting feedback module are awakened for the first time, it indicates that the user installs the window lifter and starts the function of the window lifter, and at this time, the window-lifting monitoring module and the window-lifting feedback module need to be awakened to monitor and feed back the operating condition of the window-lifting module, so as to avoid the safety problem of the window-lifting system. For example, the upgrading window-up instruction set is obtained and stored from a vehicle networking server, so as to upgrade the window-up instruction set stored in the vehicle machine.

The invention provides a new energy automobile control system and method based on an internet of vehicles, which monitor whether a user is externally connected with a window lifter through an OBD interface module by arranging a window lifter monitoring model and a window lifter feedback module in a vehicle, and then monitor and adjust a window lifter instruction of the externally connected window lifter, so that the safety of the vehicle can still be ensured under the condition that the user is externally connected with the window lifter, and the problems of window lifter motor burnout, program confusion, window lifter instruction failure and the like are avoided.

Example three:

as another embodiment, the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned new energy vehicle control method based on the internet of vehicles when executing the program.

The invention provides electronic equipment, which monitors whether a user is externally connected with a window lifter through an OBD interface module by a window lifter monitoring model and a window lifter feedback module arranged in a vehicle, and then monitors and adjusts a window lifting instruction of the externally connected window lifter, so that the safety of the vehicle can be still ensured under the condition that the user is externally connected with the window lifter, and the problems of window lifting motor burnout, program confusion, window lifting instruction failure and the like are avoided.

Example four:

as another embodiment, the present invention provides a computer-readable storage medium stored in a memory in a vehicle, the computer-readable storage medium including a program for executing the new energy vehicle control method based on internet of vehicles.

The invention provides a computer readable storage medium, which monitors whether a user is externally connected with a window lifter through an OBD interface module by arranging a window lifter monitoring model and a window lifter feedback module in a vehicle, and then monitors and adjusts a window lifter instruction of the externally connected window lifter, so that the safety of the vehicle can still be ensured under the condition that the user is externally connected with the window lifter, and the problems of window lifter motor burnout, program confusion, window lifter instruction failure and the like are avoided.

Those skilled in the art will appreciate that the present invention includes apparatus directed to performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the required purposes, or they may comprise known devices in general-purpose computers. These devices have stored therein computer programs that are selectively activated or reconfigured. Such a computer program may be stored in a device (e.g., computer) readable medium, including, but not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magnetic-optical disks, ROMs (Read-Only memories), RAMs (Random Access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards, or any type of media suitable for storing electronic instructions, and each coupled to a bus. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).

It will be understood by those within the art that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. Those skilled in the art will appreciate that the computer program instructions may be implemented by a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, implement the aspects specified in the block or blocks of the block diagrams and/or flowchart illustrations of the invention.

Those of skill in the art will appreciate that various operations, methods, steps in the processes, acts, or solutions discussed in the present application may be alternated, modified, combined, or deleted. Further, various operations, methods, steps in the flows, which have been discussed in the present application, may be interchanged, modified, rearranged, decomposed, combined, or eliminated. Further, steps, measures, schemes in the various operations, methods, procedures disclosed in the prior art and the present invention can also be alternated, changed, rearranged, decomposed, combined, or deleted.

The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种汽车组装用玻璃升降器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!