Disclosure of Invention
In view of this, it is an object of one or more embodiments of the present disclosure to provide a vehicle device communication data transmission monitoring system, so as to solve the problem of reducing data accuracy of data transmission in the prior art, while not affecting device start.
In view of the above, one or more embodiments of the present disclosure provide a vehicle device communication data transmission monitoring system including an electrical signal processing system and a vehicle device control module;
The electric signal processing system comprises a control button and a corresponding electric signal access end, wherein the output end of the electric signal access end is electrically connected with the input end of the electric signal analysis module, the electric signal analysis module is transmitted to the electric signal conversion and identification unit, and then the electric signal conversion and identification unit is transmitted to the plurality of vehicle control modules for execution;
The vehicle equipment control module comprises an incoming line port and a control switch, and the electric signal conversion and identification unit respectively transmits electric signals to the incoming line port and the control switch;
The electric signal conversion transmits the converted direct current to the inlet wire port, and the data identified by the electric signal is transmitted to the control switch to control the on-off circuit;
the direct current received by the inlet port enters the direct current identification module, the direct current identification module enables the identified direct current to enter the current detection module, the detected direct current data are stored, and meanwhile the direct current is conducted to control the power supply starting module.
The power supply starting module is a singlechip, and driving modes of different equipment are set, such as starting up and down of a car window, starting up and closing of a Beidou user machine, starting up and closing of a heater, starting up and closing of an electric trunk, a control switch of corresponding equipment in the car and the like;
The electric signal conversion and identification unit includes: the electric signal conversion module and the electric signal identification module are respectively and electrically connected with the electric signal analysis module, the electric signal conversion module is connected with a wire inlet port of the vehicle equipment control module through a wire, and the electric signal identification module is electrically connected with a control switch of the vehicle equipment control module;
The electric signal conversion module receives a power supply signal, and the electric signal identification module receives a starting item signal;
the incoming line port receives direct current converted by the electric signal conversion module.
Preferably, the electric signal conversion module is further connected with a digital signal buffer module, and the output end of the digital signal buffer module is electrically connected with the input end of the digital signal storage module;
The electric signal received by the electric signal conversion module is converted into a digital signal and direct current, the direct current is used for subsequent vehicle equipment control, and the digital signal enters the digital signal buffer module for buffering data.
The digital signal buffer module receives the digital signal converted by the electric signal conversion module.
Preferably, the vehicle device control module further includes: and the input end of the data storage module is electrically connected with the output end of the current detection module.
Preferably, the vehicle device control module further includes: and the power supply starting module receives the corresponding command transmitted by the power-on time calculating module.
Preferably, the calculation of the power-on time calculation module adopts the following formula:
T=I*U*100;
wherein T represents time, I represents current, U represents voltage.
Preferably, the direct current identification module is composed of a plurality of groups of parallel circuits, each parallel circuit is provided with a resistor and an energizing identification unit, the energizing identification units are connected with the current detection module through wires, and the current detection module is provided with a plurality of access ends which are connected with the parallel circuits respectively.
Preferably, the electric signal conversion and identification unit is provided with a plurality of output ends for connecting with external equipment in the vehicle.
The external device is arranged at the output end of the electric signal conversion and identification unit, the external device receives the electric signal conversion and identification unit, converted direct current and identified data, the corresponding external device is controlled to be started and closed, and corresponding power-on time calculation and power-on time are designed in the external device control module.
As can be seen from the foregoing, one or more embodiments of the present disclosure provide a vehicle device communication data transmission monitoring system, which divides a received electrical signal into a control electrical signal and an identification electrical signal, implements control of a vehicle device control module through conversion and identification, and performs buffering and storage in a specific time, and performs direct current identification module and conversion in the vehicle device control module, so as to start a corresponding power supply and start time.
Detailed Description
For the purposes of promoting an understanding of the principles and advantages of the disclosure, reference will now be made in detail to the following specific examples.
It is noted that unless otherwise defined, technical or scientific terms used in one or more embodiments of the present disclosure should be taken in a general sense as understood by one of ordinary skill in the art to which the present disclosure pertains. The use of the terms "first," "second," and the like in one or more embodiments of the present description does not denote any order, quantity, or importance, but rather the terms "first," "second," and the like are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
Embodiment one:
as shown in fig. 1-2, there is provided a vehicle equipment communication data transmission monitoring system including an electric signal processing system 1 and a vehicle equipment control module 2;
The electric signal processing system 1 comprises a control button and a corresponding electric signal access end 16, wherein the output end of the electric signal access end 16 is electrically connected with the input end of the electric signal analysis module 11, the electric signal analysis module 11 is transmitted to an electric signal conversion and identification unit, and then the electric signal conversion and identification unit is transmitted to a plurality of vehicle control modules 2 for execution;
The vehicle equipment control module 2 comprises an incoming line port 23 and a control switch 21, and the electric signal conversion and identification unit respectively transmits electric signals to the incoming line port 23 and the control switch 21;
The converted direct current is transmitted to the incoming line port 23 by the electric signal conversion, and the data identified by the electric signal is transmitted to the control switch 21 to control the opening and closing circuit, when the data identified by the telephone signal is not the corresponding equipment, the control switch 21 of the direct current circuit is opened, and when the identified data is the corresponding external equipment, the direct current circuit is closed;
the direct current received by the inlet port 23 enters the direct current identification module 22, the direct current identification module 22 passes the identified direct current into the current detection module 24, the detected direct current data are stored, and meanwhile, the direct current is conducted to control the power supply starting module 27.
The power starting module 27 is a single-chip microcomputer, and is provided with driving modes of different devices, such as lifting of starting car windows, starting and closing of a Beidou user machine, starting and closing of a heater, starting and closing of an electric trunk, a control switch of corresponding devices in the car and the like.
Embodiment two:
as shown in fig. 1-2, there is provided a vehicle equipment communication data transmission monitoring system including an electric signal processing system 1 and a vehicle equipment control module 2;
The electric signal processing system 1 comprises a control button and a corresponding electric signal access end 16, wherein the output end of the electric signal access end 16 is electrically connected with the input end of the electric signal analysis module 11, the electric signal analysis module 11 is transmitted to an electric signal conversion and identification unit, and then the electric signal conversion and identification unit is transmitted to a plurality of vehicle control modules 2 for execution;
The vehicle equipment control module 2 comprises an incoming line port 23 and a control switch 21, and the electric signal conversion and identification unit respectively transmits electric signals to the incoming line port 23 and the control switch 21;
The converted direct current is transmitted to the wire inlet port 23 by the electric signal conversion, and the data identified by the electric signal is transmitted to the control switch 21 to control the on and off circuit;
the direct current received by the inlet port 23 enters the direct current identification module 22, the direct current identification module 22 passes the identified direct current into the current detection module 24, the detected direct current data are stored, and meanwhile, the direct current is conducted to control the power supply starting module 27.
The power starting module 27 is a single-chip microcomputer, and is provided with driving modes of different devices, such as lifting of starting car windows, starting and closing of a Beidou user machine, starting and closing of a heater, starting and closing of an electric trunk, a control switch of corresponding devices in the car and the like.
The electric signal conversion and identification unit includes: the electric signal conversion module 14 and the electric signal identification module 13 are respectively and electrically connected with the electric signal analysis module 11, the electric signal conversion module 14 is connected with the inlet wire port 23 of the vehicle equipment control module 2 through a wire, and the electric signal identification module 13 is electrically connected with the control switch 21 of the vehicle equipment control module 2;
Wherein, the electric signal conversion module 14 receives the power supply signal, and the electric signal identification module 13 receives the starting item signal;
The incoming line port 23 receives the direct current converted by the electric signal conversion module 14.
The electrical signal received by the electrical signal conversion module 14 is converted into a digital signal and a direct current for subsequent vehicle equipment control, and the digital signal is entered into the digital signal buffer module 12 for data buffering.
The electric signal conversion module 14 is also connected with the digital signal buffer module 12, and the output end of the digital signal buffer module 12 is electrically connected with the input end of the digital signal storage module 15;
Wherein the digital signal buffer module 12 receives the digital signal converted by the electrical signal conversion module 14.
The digital signal buffer module 12 buffers the communication data of the vehicle equipment in the transmission process, and the buffered data is recorded in the digital signal storage module 15 after the vehicle stops, so that the situation that the driving habit data and the driving data are blocked in the driving process of the vehicle is prevented.
The following examples of the procedure for executing the identification signal are:
import signal
def signal_handler(signal, frame):
print('You pressed Ctrl+C!')
signal.signal(signal.SIGINT, signal_handler)
is_started = False
power_level = 0
while True:
command = input('Enter a command (start/stop/power): ')
if command == 'start':
if not is_started:
is_started = True
print('Device is started')
else:
print('Device is already started')
elif command == 'stop':
if is_started:
is_started = False
power_level = 0
print('Device is stopped')
else:
print('Device is already stopped')
elif command == 'power':
if is_started:
power_level = input('Enter the power level: ')
print(f'The power level is {power_level}')
else:
print('Device is not started')
elif command == 'status':
print(f'Device is {"started" if is_started else "stopped"}')
print(f'Power level is {power_level}')
elif command == 'quit':
break
else:
print('Unknown command')
The above-described program is an example, and the above-described program is continuously circulated, waiting for a user to input a command. If the user inputs "start", the program will output "DEVICE IS STARTED", and if the device has been started, the program will output "DEVICE IS ALREADY STARTED". If the user enters "stop," the program will output "Device is stopped," and if the device has stopped, the program will output "DEVICE IS ALREADY stop. If the user inputs "power", the program requests the input of the power-on intensity data and then outputs the direct current of the corresponding intensity.
Embodiment III:
As shown in fig. 1 to 3, there is provided a vehicle equipment communication data transmission monitoring system including an electric signal processing system 1 and a vehicle equipment control module 2;
The electric signal processing system 1 comprises a control button and a corresponding electric signal access end 16, wherein the output end of the electric signal access end 16 is electrically connected with the input end of the electric signal analysis module 11, the electric signal analysis module 11 is transmitted to an electric signal conversion and identification unit, and then the electric signal conversion and identification unit is transmitted to a plurality of vehicle control modules 2 for execution;
The vehicle equipment control module 2 comprises an incoming line port 23 and a control switch 21, and the electric signal conversion and identification unit respectively transmits electric signals to the incoming line port 23 and the control switch 21;
The converted direct current is transmitted to the wire inlet port 23 by the electric signal conversion, and the data identified by the electric signal is transmitted to the control switch 21 to control the on and off circuit;
the direct current received by the inlet port 23 enters the direct current identification module 22, the direct current identification module 22 passes the identified direct current into the current detection module 24, the detected direct current data are stored, and meanwhile, the direct current is conducted to control the power supply starting module 27.
The power starting module 27 is a single-chip microcomputer, and is provided with driving modes of different devices, such as lifting of starting car windows, starting and closing of a Beidou user machine, starting and closing of a heater, starting and closing of an electric trunk, a control switch of corresponding devices in the car and the like.
The electric signal conversion and identification unit includes: the electric signal conversion module 14 and the electric signal identification module 13 are respectively and electrically connected with the electric signal analysis module 11, the electric signal conversion module 14 is connected with the inlet wire port 23 of the vehicle equipment control module 2 through a wire, and the electric signal identification module 13 is electrically connected with the control switch 21 of the vehicle equipment control module 2;
Wherein, the electric signal conversion module 14 receives the power supply signal, and the electric signal identification module 13 receives the starting item signal;
The incoming line port 23 receives the direct current converted by the electric signal conversion module 14.
The electrical signal received by the electrical signal conversion module 14 is converted into a digital signal and a direct current for subsequent vehicle equipment control, and the digital signal is entered into the digital signal buffer module 12 for data buffering.
The electric signal conversion module 14 is also connected with the digital signal buffer module 12, and the output end of the digital signal buffer module 12 is electrically connected with the input end of the digital signal storage module 15;
Wherein the digital signal buffer module 12 receives the digital signal converted by the electrical signal conversion module 14.
The digital signal buffer module 12 buffers the communication data of the vehicle equipment in the transmission process, and the buffered data is recorded in the digital signal storage module 15 after the vehicle stops, so that the situation that the driving habit data and the driving data are blocked in the driving process of the vehicle is prevented.
The vehicle device control module 2 further includes: the input end of the data storage module 25 is electrically connected with the output end of the current detection module 24.
The vehicle device control module 2 further includes: the power-on time calculation module 26, the direct current conducted by the current detection module 24 calculates the corresponding starting time of the power starting module 27 through the power-on time calculation module 26, and the power starting module 27 receives the corresponding command transmitted by the power-on time calculation module 26.
The calculation of the energization time calculation module 26 is calculated using the following formula:
T=I*U*100;
wherein T represents time, I represents current, U represents voltage.
The direct current identification module 22 is composed of a plurality of groups of parallel circuits, each parallel circuit is provided with a resistor and an energizing identification unit, the energizing identification units are connected with the current detection module 24 through wires, and the current detection module 24 is provided with a plurality of access terminals which are connected with the parallel circuits.
The power-on identification unit is used for judging whether the execution of the equipment and the circuit normally run or not when the equipment is checked, and the circuit identification unit can be the simplest LED lamp bead or an electricity checking meter and the like.
The direct current identification module 22 performs the circuit identification, so that the data interaction in the digital signal identification process in the prior art is avoided, and meanwhile, the identification is realized in a circuit mode, and compared with the mode of judging the data information in the prior art in a data interaction and data identification mode, the requirement on the data accuracy is reduced.
However, for the current detection module 24, the plurality of interfaces are respectively connected with the current output by the dc identification module 22, and the corresponding starting units are determined, for example, in the drawing, because the resistor a, the resistor b, the resistor c and the resistor d are open circuits due to the current intensity and the parallel circuit, the current intensity circuit lower than the resistor is a path, so that the starting of the current identification unit d, the current identification unit c, the current identification unit b and the current identification unit a in the circuit increases the current intensity by 50%, and the detection data of the subsequent current detection module 24 is convenient.
The following examples of the procedure for executing the identification signal are:
import signal
def signal_handler(signal, frame):
print('You pressed Ctrl+C!')
signal.signal(signal.SIGINT, signal_handler)
is_started = False
power_level = 0
while True:
command = input('Enter a command (start/stop/power): ')
if command == 'start':
if not is_started:
is_started = True
print('Device is started')
else:
print('Device is already started')
elif command == 'stop':
if is_started:
is_started = False
power_level = 0
print('Device is stopped')
else:
print('Device is already stopped')
elif command == 'power':
if is_started:
power_level = input('Enter the power level: ')
print(f'The power level is {power_level}')
else:
print('Device is not started')
elif command == 'status':
print(f'Device is {"started" if is_started else "stopped"}')
print(f'Power level is {power_level}')
elif command == 'quit':
break
else:
print('Unknown command')
The above-described program is an example, and the above-described program is continuously circulated, waiting for a user to input a command. If the user inputs "start", the program will output "DEVICE IS STARTED", and if the device has been started, the program will output "DEVICE IS ALREADY STARTED". If the user enters "stop," the program will output "Device is stopped," and if the device has stopped, the program will output "DEVICE IS ALREADY stop. If the user inputs "power", the program requests the input of the power-on intensity data and then outputs the direct current of the corresponding intensity.
Embodiment four:
the electric signal conversion and identification unit is provided with a plurality of output ends for connecting with external equipment in the vehicle.
The external device is arranged at the output end of the electric signal conversion and identification unit, the external device receives the electric signal conversion and identification unit, converted direct current and identified data, the corresponding external device is controlled to be started and closed, and corresponding power-on time calculation and power-on time are designed in the external device control module.
Working principle: the above-mentioned contents mainly serve the vehicle to start remotely, or control panel starts, send out the corresponding electric signal after the start command gets into the vehicle main system, discern the corresponding equipment that needs to start through the electric signal analysis module 11, when connect a plurality of vehicle equipment, discern the corresponding start-up equipment through the electric signal identification module 13, and the corresponding control electric signal that is transmitted at the electric signal analysis module 11 is converted into corresponding control direct current through the electric signal conversion module 14, and the digital signal carries out the buffering and makes the subsequent vehicle stop and carries out digital signal storage after driving, and the electric signal is transmitted in a plurality of external equipment, electric signal identification module 13 controls corresponding control switch 21 to start, then the corresponding electric current is discerned through direct current identification module 22 in this external equipment, calculate the corresponding direct current power on time of obtaining corresponding power start-up module 27 through the time calculation of circular current, thereby control corresponding equipment starts.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description.
The present disclosure is intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Any omissions, modifications, equivalents, improvements, and the like, which are within the spirit and principles of the one or more embodiments of the disclosure, are therefore intended to be included within the scope of the disclosure.