CN109491298A - A kind of logistics-vehicle-mounted remote control terminal - Google Patents
A kind of logistics-vehicle-mounted remote control terminal Download PDFInfo
- Publication number
- CN109491298A CN109491298A CN201811545045.1A CN201811545045A CN109491298A CN 109491298 A CN109491298 A CN 109491298A CN 201811545045 A CN201811545045 A CN 201811545045A CN 109491298 A CN109491298 A CN 109491298A
- Authority
- CN
- China
- Prior art keywords
- data
- vehicle
- gprs
- transmission module
- digital transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24215—Scada supervisory control and data acquisition
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02T90/10—Technologies relating to charging of electric vehicles
- Y02T90/16—Information or communication technologies improving the operation of electric vehicles
- Y02T90/167—Systems integrating technologies related to power network operation and communication or information technologies for supporting the interoperability of electric or hybrid vehicles, i.e. smartgrids as interface for battery charging of electric vehicles [EV] or hybrid vehicles [HEV]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S30/00—Systems supporting specific end-user applications in the sector of transportation
- Y04S30/10—Systems supporting the interoperability of electric or hybrid vehicles
- Y04S30/12—Remote or cooperative charging
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A kind of logistics-vehicle-mounted remote control terminal comprising: Micro-processor MCV, the Micro-processor MCV are integrated with CAN interface, in which: the Micro-processor MCV also includes satellite positioning module and digital transmission module GPRS;The CAN interface is connect with the full incoming communication of vehicle-mounted CAN bus;The satellite positioning module obtains positioning and state in real time, and the digital transmission module GPRS and mobile Internet communication connection, with with target remote server exchange data, its remote control requirements for effectively meeting electronic logistic car, overcome electric car application environment bring challenge simultaneously, the vehicle-mounted route electromagnetic interference of effective protection on hardware.
Description
Technical field
The present invention is about a kind of logistics-vehicle-mounted remote control terminal.
Background technique
With increasingly paying attention to environmental issue, each big city and area it is numerous and confused release the restricted driving of fuel oil logistic car in domain,
Forbidden policy, electronic logistic car are increasingly becoming transport service favor object.Currently, a line city such as Beijing, Shanghai, Guangzhou has been released
For the related management policy of city logistic car, though specific implementation form is different, operating to city without exception is electronic
Logistic car claims: having remote control ability.This requires electronic logistic cars must be equipped with mounted remote controlling terminal simultaneously
Compatible place control server.Electric car has huge difference compared to conventional fuel oil automobile in application environment, especially
It is electromagnetic environment and interior automatically controlled network environment, and the power battery data for being related to operation safety must be realized long-range
Control, is obtained by CAN bus, data volume is big at present.And previous remote control terminal cannot achieve having on electric car
Effect is used.
Conventional fuel oil automobile is compared, also adds many electrical system components on pure electric automobile CAN bus network, such as electricity
The equipment such as pond management system (BMS), DCDC, Vehicular charger.Each mechanical part of conventional fuel oil automobile is relatively independent, single part
Damage not will lead to the damage of other mobile units, and the feelings of " injuring all " are usually presented in electric car in electrical system
Condition.Therefore the working condition of all devices (especially power battery pack) in electric car electrical system must be controlled in detail
System, discovery in time, processing, record failure.For mounted remote controlling terminal, the car electricity of electric car and conventional fuel oil automobile
Control network environment differences are mainly manifested in " difference of control object ", and the terminal applied to electric car must have to electrical system
The access capability for multiple CAN networks of uniting, the especially status data of power battery pack, it is necessary to be accurate to battery cell.This is function
Demand on energy.
The electromagnetic interference of conventional fuel oil automobile is mainly derived from impulse radiation when gasoline IC engine sparking plug igniting, energy
Amount concentrates on high frequency, and intensity is lower;And the electromagnetic interference of electric car is mainly derived from route when heavy-duty motor is run
Conduction and spatial impression are answered, and electromagnetic interference focuses primarily upon low frequency, and interference strength is much stronger than conventional fuel oil automobile.From electricity
The high-intensitive interference of mechanical, electrical machine controller can generate large effect to vehicle mounted communication route and power circuit, as signal wire is total
Mould interference, power supply line surge etc..CAN bus electromagnetic induction interference can directly result in bus frame loss, distortion, mistake, failure rate
It greatly improves;And the high-power surge that power circuit Conduction Interference generates may directly damage mobile unit.Mounted remote control
Terminal must adapt to the severe electromagnetic environment of electric car, and it is necessary for designing the external electric interfaces protection circuit of powerful terminal
's.This is the demand in performance.
Summary of the invention
The purpose of the present invention is: for the application environment of electronic logistic car, prior art problem is solved, is designed a long-range
Controlling terminal, the program can effectively meet the remote control requirements of electronic logistic car, while overcome electric car application environment
Bring challenge, the vehicle-mounted route electromagnetic interference of effective protection on hardware realize data transmit-receive parallel processing capability and height on software
Compatibility in real time.
To realize the above-mentioned technical purpose, the present invention provides a kind of logistics-vehicle-mounted remote control terminal comprising: micro process
Device MCU, the Micro-processor MCV are integrated with CAN interface, in which: the Micro-processor MCV also includes satellite positioning mould
Block and digital transmission module GPRS;The CAN interface is connect with the full incoming communication of vehicle-mounted CAN bus;The satellite positioning module
Obtain positioning and state, and the digital transmission module GPRS and mobile Internet communication connection in real time, with target remote server
Exchange data.
Logistics-vehicle-mounted remote control terminal in the present invention can effectively meet the remote control requirements of electronic logistic car,
Overcome electric car application environment bring challenge simultaneously, the vehicle-mounted route electromagnetic interference of effective protection on hardware.
As a further improvement, the CAN interface has under three tunnels and realization and electric car application environment
Vehicle CAN network, battery CAN network and charging CAN network communication connection, and the Micro-processor MCV and entire car controller
VCU, battery management system BMS, electric drive controller PCU, combination instrument ICM, AC charging trickle charge, the communication of DC charging fast charge
Connection.
As a further improvement, the Micro-processor MCV also includes clock signal, BDM interface and power down memory
EEPROM;The clock signal carries out timing to the communication and control of the Micro-processor MCV;Described in the BDM interface is realized
Micro-processor MCV read/write memory, read-write register, downloading program and debugging function;The power down memory EEPROM realizes this
The power down of ground data stores.
As a further improvement, the Micro-processor MCV integrates 4 tunnel CAN controllers, 2 road serial communication interfaces
SCI, multi-analog input port;And the CAN interface is by CAN transceiver ISO1050 and several filtering protective elements
Composition.
As a further improvement, several filtering protective elements include: electrostatic protection TVS, common-mode filter, filtering
Capacitor, 120 end Ω resistance;The satellite positioning module supports Beidou and GPS dual-mode formula satellite positioning;The digital transmission module GPRS
Tetra- frequency of 850MHz, 900HMz, 1800MHz, 1900MHz under GPRS and GSM is supported for technical grade.
As a further improvement, software architecture adoption status machine simplifies the execution code of major cycle with the limit, normally
All information send, handle and receive and realized by interrupt mechanism under working condition, and the state machine is divided into five independences
State: power down starting, works normally not connected, unregistered, waiting.
As a further improvement, in the power down starting state: executing the powering on for digital transmission module GPRS and restart
Subfunction, and confirm that the digital transmission module GPRS starts successfully, character string is sent by first via serial communication interface SCI0 and is referred to
It enables, configures the satellite positioning module, select satellite positioning mode and sentence output mode, then state transition does not connect to described
Connect state;In the not-connected status: receiving and dispatching character instruction by the second road serial communication interface SCI1 and pass mould to the number
Block GPRS is configured, and the configuration content includes client parameter, server end parameter, server end address, GPRS signal
Quality testing;TCP/IP is established with the target remote server after confirmation configuration successful to connect, and opens transparent transmission mode, is shielded
Other unrelated functions of the digital transmission module GPRS, then state transition to the unregistered state;In the unregistered state
In: according to the data exchange agreement of the mounted remote controlling terminal and the target remote server, registration packet is worked out,
It is sent to the digital transmission module GPRS by the second road byte-by-byte byte of serial communication interface SCI1, the digital transmission module GPRS is again
Under the transparent transmission mode, transmit by the period to the target remote server;After log-on data is sent, state is jumped
Go to the wait state;In the wait state: interrupting PIT by timer and carry out timing, if the registration reply time is super
It crosses 30s or receives the return frame for representing registration failure, then close the transparent transmission mode, state transition to the not connected mode,
It reconfigures, log-on data connection;If receiving the return frame for representing and succeeding in registration, state transition to the normal work shape
State;In the normal operating conditions: flag F lag variable is constantly inquired in major cycle, and it is ready to judge whether there is data packet,
If so, then log-on data transmission process, by the data packet by under the second road serial communication interface SCI1, the transparent transmission mode
The digital transmission module GPRS is sent to the target remote server.
As a further improvement, under the transparent transmission mode, the digital transmission module GPRS can continuous detection data link
Whether there is exception, and the TCP/IP between the target remote server can be actively closed when abnormal and connect and lead to
Cross the second road serial communication interface SCI1 return mistake error character string;State transition is attempted to the not-connected status at this time
Reconfigure and establish data connection.
As a further improvement, key data transmitting-receiving, the processing of the mounted remote controlling terminal are by multiple
Disconnected function is realized: the definition structure body first in memory RAM, is established and is safeguarded that one includes all whole needed for long-range control
The dynamic data base of vehicle, location data;It updated by the multiple interrupt function, handle the structural body, and combine corresponding shape
State variable group is realized the data parallel transmitting-receiving of different function module, is avoided waiting for.
As a further improvement, the multiple interrupt function includes: that the timer interrupts PIT, and integrated circuit IIC is total
Line interrupts, and CAN bus is interrupted and serial communication interface SCI is interrupted;The timer, which interrupts PIT, realizes the mounted remote control
Terminal processed is regularly sent and storing data;The integrated circuit iic bus implement of interruption function control data are locally stored for a long time, are gone offline
Reconnection is reissued;The CAN bus implement of interruption function whole vehicle information acquisition, database update;The serial communication interface SCI interrupts real
Reality is existing to be obtained location data from the satellite positioning module, sends configuration-direct, and instructed with the digital transmission module GPRS,
Automatic, N-free diet method the data transmit-receive of exchange and the parsing of data.
The software architecture of mounted remote controlling terminal of the present invention realizes data transmit-receive parallel processing capability and high compatibility in real time
Property.
Detailed description of the invention
Fig. 1 is mounted remote controlling terminal schematic diagram;
Fig. 2 is software architecture schematic diagram.
Appended drawing reference: 1. Micro-processor MCVs, 2.CAN bus interface, 3. satellite positioning modules, 4. digital transmission module GPRS, 5.
Clock signal, 6.BDM interface, 7. power down memory EEPROM.
Specific embodiment
As illustrated in fig. 1 and 2, the present invention provides a kind of logistics-vehicle-mounted remote control terminal comprising: Micro-processor MCV
(1), the Micro-processor MCV (1) is integrated with CAN interface (2), in which: the Micro-processor MCV also includes satellite
Position module (3) and digital transmission module GPRS (4);The CAN interface (2) connect with the full incoming communication of vehicle-mounted CAN bus;It is described
Satellite positioning module (3) obtains positioning and state, and the digital transmission module GPRS (4) and mobile Internet communication connection in real time,
With with target remote server exchange data.
Logistics-vehicle-mounted remote control terminal in the present invention can effectively meet the remote control requirements of electronic logistic car,
Overcome electric car application environment bring challenge simultaneously, the vehicle-mounted route electromagnetic interference of effective protection on hardware.
As a further improvement, the CAN interface (2) has under three tunnels and realization and electric car application environment
Vehicle CAN network, battery CAN network and charging CAN network communication connection, and the Micro-processor MCV (1) and full-vehicle control
Device VCU, battery management system BMS, electric drive controller PCU, combination instrument ICM, AC charging trickle charge, DC charging fast charge are logical
News connection.
As a further improvement, the Micro-processor MCV also includes clock signal (5), BDM interface (6) and power down and deposits
Reservoir EEPROM (7);The clock signal (5) carries out timing to the communication and control of the Micro-processor MCV;The BDM connects
Mouth (6) realizes the Micro-processor MCV read/write memory, read-write register, downloading program and debugging function;The power down memory
EEPROM (7) realizes the power down storage of local data.
As a further improvement, the Micro-processor MCV integrates 4 tunnel CAN controllers, 2 road serial communication interfaces
SCI, multi-analog input port;And the CAN interface (2) is by CAN transceiver ISO1050 and several filtering protective elements
Part composition.
As a further improvement, several filtering protective elements include: electrostatic protection TVS, common-mode filter, filtering
Capacitor, 120 end Ω resistance;The satellite positioning module (3) supports Beidou and GPS dual-mode formula satellite positioning;The digital transmission module
GPRS (4) is tetra- frequency of 850MHz, 900HMz, 1800MHz, 1900MHz under technical grade support GPRS and GSM.
As a further improvement, software architecture adoption status machine simplifies the execution code of major cycle with the limit, normally
All information send, handle and receive and realized by interrupt mechanism under working condition, and the state machine is divided into five independences
State: power down starting, works normally not connected, unregistered, waiting.
As a further improvement, in the power down starting state: execute the digital transmission module GPRS (4) powers on weight
Opener function, and confirm that the digital transmission module GPRS (4) starts successfully, character is sent by first via serial communication interface SCI0
String instruction, configures the satellite positioning module (3), selects satellite positioning mode and sentence output mode, and then state transition is extremely
The not-connected status;In the not-connected status: receiving and dispatching character instruction to institute by the second road serial communication interface SCI1
It states digital transmission module GPRS (4) to be configured, the configuration content includes client parameter, server end parameter, server end
Location, the detection of GPRS signal quality;TCP/IP is established with the target remote server after confirmation configuration successful to connect, and is opened saturating
Arq mode shields other unrelated functions of the digital transmission module GPRS (4), then state transition to the unregistered state;?
In the unregistered state: according to the data exchange agreement of the mounted remote controlling terminal and the target remote server,
Registration packet is worked out, the digital transmission module GPRS (4) is sent to by the second road byte-by-byte byte of serial communication interface SCI1,
The digital transmission module GPRS (4) under the transparent transmission mode, is transmitted by the period to the target remote server again;Registration
After data are sent, state transition to the wait state;In the wait state: interrupting PIT by timer and carry out
Timing closes the transparent transmission mode, state if the registration reply time is more than 30s or receives the return frame for representing registration failure
The not connected mode is jumped to, is reconfigured, log-on data connection;If receiving the return frame for representing and succeeding in registration, state
Jump to the normal operating conditions;In the normal operating conditions: flag F lag variable is constantly inquired in major cycle, and judgement is
No have that data packet is ready, if so, then log-on data transmission process, by the data packet by the second road serial communication interface
The digital transmission module GPRS (4) under SCI1, the transparent transmission mode is sent to the target remote server.
As a further improvement, under the transparent transmission mode, the digital transmission module GPRS (4) can continuous detection data chain
Whether road there is exception, and the TCP/IP that can be actively closed when abnormal between the target remote server is connect simultaneously
Mistake error character string is returned by the second road serial communication interface SCI1;State transition is tasted to the not-connected status at this time
Examination reconfigures and establishes data connection.
As a further improvement, key data transmitting-receiving, the processing of the mounted remote controlling terminal are by multiple
Disconnected function is realized: the definition structure body first in memory RAM, is established and is safeguarded that one includes all whole needed for long-range control
The dynamic data base of vehicle, location data;It updated by the multiple interrupt function, handle the structural body, and combine corresponding shape
State variable group is realized the data parallel transmitting-receiving of different function module, is avoided waiting for.
As a further improvement, the multiple interrupt function includes: that the timer interrupts PIT, and integrated circuit IIC is total
Line interrupts, and CAN bus is interrupted and serial communication interface SCI is interrupted;The timer, which interrupts PIT, realizes the mounted remote control
Terminal processed is regularly sent and storing data;The integrated circuit iic bus implement of interruption function control data are locally stored for a long time, are gone offline
Reconnection is reissued;The CAN bus implement of interruption function whole vehicle information acquisition, database update;The serial communication interface SCI interrupts real
Reality is existing to be obtained location data from the satellite positioning module (3), sends configuration-direct, and with the digital transmission module GPRS
(4) automatic, N-free diet method the data transmit-receive of instruction, the exchange of data and parsing.
The software architecture of mounted remote controlling terminal of the present invention realizes data transmit-receive parallel processing capability and high compatibility in real time
Property.
In a preferred embodiment, mounted remote controlling terminal of the present invention uses Freescale's
MC9S12XEQ512MaAA microprocessor;HX6412 Beidou/GPS dual-mode satellite positioning module of space flight Hua Xun, it is fixed to obtain in real time
Position and state;The MG323-B technical grade GPRS digital transmission module of Huawei realizes access mobile Internet, with target remote server
Exchange data;Using the AT24C512 memory (EEpRom) of Atmel, the power down storage of local data is realized;Integrated 3 road CAN
Bus interface ISO1050 realizes the full access of the vehicle-mounted CAN network of electric car, ensures the integrality of control data.Pass through BDM
The debugging functions such as Interface for System read/write memory, read-write register, downloading program.
MCU core controller MC9S12XEQ512, highest dominant frequency 64MHz, integrated 4 tunnel CAN controllers, 2 roads are serial
Communication interface, multi-analog input port, the automotive grade microcontroller of high reliability, high-performance, high-temperature adaptability meet
The application demand of mounted remote controlling terminal.
Terminal designs altogether realizes 3 tunnel CAN interfaces, realizes that the vehicle-mounted CAN bus under electric car application environment connects entirely
Enter, i.e. vehicle CAN network, battery CAN network and charging CAN network.CAN interface is by CAN transceiver ISO1050 and several
Filter protective element (electrostatic protection TVS, common-mode filter, filter capacitor, 120 end Ω resistance) composition.ISO1050 is TI company
The Capacitor apart formula CAN transceiver of product, while realizing CAN communication, can completely cut off conduction on interior CAN bus network,
Common mode, DM EMI protect the hardware security and signal integrity of MCU.
HX6412 is Beidou/GPS dual-mode satellite positioning module of China's independent development, and the maximum data frequency acquisition 1Hz leads to
It crosses Uart interface to connect with MCU, data output meets NEMA-0183 prescribed form.
MG323-B is widely used technical grade digital transmission module, reliability with higher, wider circulation sale channel
With lower price, meet the design object of this terminal " adapting to volume production ".It supports GPRS/GSM850MHz/900HMz/
Tetra- frequency of 1800MHz/1900/MHz, MG323-B are communicated by uart interface with MCU.
The software architecture of mounted remote controlling terminal uses " state machine ", and the limit simplifies the execution code of major cycle, normally
All information, which send, handle and receive, under working condition realizes that SOT state of termination machine is divided into five independent shapes by interrupt mechanism
State: power down starting, works normally not connected, unregistered, waiting.Transformational relation is shown in Fig. 2 between its principal states.
In the power down starting state: executing the powering on for digital transmission module GPRS (4) and restart subfunction, and confirm institute
It states digital transmission module GPRS (4) to start successfully, character string instruction is sent by first via serial communication interface SCI0, is defended described in configuration
Star locating module (3) selects satellite positioning mode and sentence output mode, then state transition to the not-connected status;
In the not-connected status: receiving and dispatching character instruction by the second road serial communication interface SCI1 and pass mould to the number
Block GPRS (4) is configured, and the configuration content includes client parameter, server end parameter, server end address, GPRS letter
Number quality testing;TCP/IP is established with the target remote server after confirmation configuration successful to connect, and opens transparent transmission mode, is shielded
Covert states other unrelated functions of digital transmission module GPRS (4), then state transition to the unregistered state;
In the unregistered state: according to the data of the mounted remote controlling terminal and the target remote server
Exchange agreement works out registration packet, is sent to the number by the second road byte-by-byte byte of serial communication interface SCI1 and passes mould
Block GPRS (4), the digital transmission module GPRS (4) under the transparent transmission mode, are transmitted by the period to the target remote again
Server;After log-on data is sent, state transition to the wait state;
In the wait state: interrupting PIT by timer and carry out timing, if the registration reply time is more than 30s or receives
To the return frame for representing registration failure, then close the transparent transmission mode, state transition to the not connected mode, reconfigure,
Log-on data connection;If receiving the return frame for representing and succeeding in registration, state transition to the normal operating conditions;
In the normal operating conditions: flag F lag variable is constantly inquired in major cycle, judges whether there is data packet preparation
It finishes, if so, then log-on data transmission process, by the data packet by the second road serial communication interface SCI1, the transparent transmission mould
The digital transmission module GPRS (4) under formula is sent to the target remote server.
The transmitting-receiving of terminal key data, processing function are realized by interrupt function.The definition structure body in RAM is established
And safeguard a dynamic data base (comprising remotely controlling required all vehicles, location data), and pass through multiple interrupt functions
It updates, handle these structural bodies, the data parallel transmitting-receiving of different function module is realized in conjunction with corresponding state set of variables, without etc.
To.The mechanism is mainly made of following interruption:
Timer interrupts (PIT): timer implement of interruption function terminal is regularly sent and storing data.According to apply needs,
The every 0.5s triggering of the interruption is primary and counts, and counting the period is 20, i.e., maximum time-count cycle is 10s.In each period (10s),
The interruption carries out a database snapshot, and works out a partial data according to the data exchange agreement of terminal and remote server
Packet pushes to IIC and sends in caching array, and restarting storing process will be in the EEpRom of data packet deposit terminal local;In this
The disconnected inquiry for carrying out 4 local storage states, if the new storage of discovery but the not sent data packet to remote server, inquiry are worked as
Data packet is successively pushed to SCI1 hair (per next packet) if module is in normal operating conditions by front module working condition
Send caching array, start SCI1 transmission process (being sent to remote server) and the data packet mark in being locally stored be
" transmission ".By the above mechanism, which realizes three functions:
1. providing a timer by the period of 10s, it can be used for heartbeat packet;
2. every 10s stores a secondary control data;
3. every 10s sends four secondary control data (maximum);
Iic bus interrupts: iic bus implement of interruption function control data locally store for a long time, the reconnection that goes offline reissues.The interruption
(character, array combine, and realize automatic, N-free diet method data transmit-receive: i.e. any subfunction need only be by for function and one group of global variable
Global variable need to be configured, write data into IIC transmission caching array and active transmission first character, the interrupt function
It realizes the transmission of remaining character string, send and receive conversion and terminate IIC operating process.
CAN bus is interrupted: the acquisition of CAN bus implement of interruption function whole vehicle information, database update;CAN frame is parsed in the interruption
Content, and extract specific data deposit database structure body, dynamic more new database.No matter the interruption module works at which kind of
State can all be triggered.
SCI is interrupted: SCI interface is the sole mode that MCU is communicated with satellite positioning module, GPRS digital transmission module, and above-mentioned
Interrupt identical, the interrupt function and the combination of one group of global variable (character, array) realize automatic, N-free diet method data transmit-receive.
Wherein SCI0 implement of interruption function obtains location data, transmission configuration-direct from satellite positioning module;SCI1 implement of interruption function and GPRS number
Transmission module instruction, the exchange and parsing of data.
The interrupt processing mechanism of the above interrupt function composition constitutes the main part of this terminal software together with state machine
Point.This software architecture has following characteristics:
1. the major cycle time is extremely short when working normally: the conversion of failure state machine state is quick;
2. MCU data transmit-receive is realized parallel.
To sum up feature, this software architecture and real-time application compatibility preferably, are removed and realize remote control terminal required function
It is outside, following to increase the functional application of high real-time requirements on this basis or be transplanted on certain high real-time application modules,
Realize that function is integrated.
It should be appreciated that invention which is intended to be protected is not limited to non-limiting embodiments, it should be understood that non-limiting embodiment party
Case is illustrated as just example.The protection scope of the desired essence of the application is more embodied in independent claims offer
Range and its dependent claims.
Claims (10)
1. a kind of logistics-vehicle-mounted remote control terminal comprising: Micro-processor MCV (1), the Micro-processor MCV (1) are integrated
There are CAN interface (2), it is characterised in that:
The Micro-processor MCV also includes satellite positioning module (3) and digital transmission module GPRS (4);
The CAN interface (2) connect with the full incoming communication of vehicle-mounted CAN bus;
The satellite positioning module (3) obtains positioning and state, and the digital transmission module GPRS (4) and mobile interchange Netcom in real time
News connection, with target remote server exchange data.
2. a kind of logistics-vehicle-mounted remote control terminal as described in claim 1, it is characterised in that: the CAN interface
(2) lead to vehicle CAN network, battery CAN network and the charging CAN network under three tunnels and realization and electric car application environment
News connection, and the Micro-processor MCV (1) and entire car controller VCU, battery management system BMS, electric drive controller PCU, group
Close instrument ICM, AC charging trickle charge, DC charging fast charge communication connection.
3. a kind of logistics-vehicle-mounted remote control terminal as claimed in claim 2, it is characterised in that: the Micro-processor MCV
Also include clock signal (5), BDM interface (6) and power down memory EEPROM (7);
The clock signal (5) carries out timing to the communication and control of the Micro-processor MCV;
The BDM interface (6) realizes the Micro-processor MCV read/write memory, read-write register, downloading program and debugging function;
The power down memory EEPROM (7) realizes the power down storage of local data.
4. a kind of logistics-vehicle-mounted remote control terminal as claimed in claim 3, it is characterised in that: the Micro-processor MCV
Integrated 4 tunnel CAN controllers, 2 road serial communication interface SCI, multi-analog input port;And the CAN interface
(2) it is made of CAN transceiver ISO1050 and several filtering protective elements.
5. a kind of logistics-vehicle-mounted remote control terminal as claimed in claim 4, it is characterised in that: several filtering protection
Element includes: electrostatic protection TVS, common-mode filter, filter capacitor, 120 end Ω resistance;
The satellite positioning module (3) supports Beidou and GPS dual-mode formula satellite positioning;
The digital transmission module GPRS (4) is 850MHz, 900HMz, 1800MHz, 1900MHz under technical grade support GPRS and GSM
Four frequencies.
6. a kind of logistics-vehicle-mounted remote control terminal as claimed in claim 5, it is characterised in that: its software architecture uses shape
State machine simplifies the execution code of major cycle with the limit, and all information are sent under normal operating conditions, processing and reception are by interruption
Mechanism is realized, and the state machine is divided into five separate states: power down starting, works normally not connected, unregistered, waiting.
7. a kind of logistics-vehicle-mounted remote control terminal as claimed in claim 6, it is characterised in that:
In the power down starting state: executing the powering on for digital transmission module GPRS (4) and restart subfunction, and confirm the number
Transmission module GPRS (4) starts successfully, sends character string instruction by first via serial communication interface SCI0, configures the satellite
Position module (3) selects satellite positioning mode and sentence output mode, then state transition to the not-connected status;
In the not-connected status: receiving and dispatching character instruction to the digital transmission module by the second road serial communication interface SCI1
GPRS (4) is configured, and the configuration content includes client parameter, server end parameter, server end address, GPRS signal
Quality testing;TCP/IP is established with the target remote server after confirmation configuration successful to connect, and opens transparent transmission mode, is shielded
Other unrelated functions of the digital transmission module GPRS (4), then state transition to the unregistered state;
In the unregistered state: according to the data exchange of the mounted remote controlling terminal and the target remote server
Agreement works out registration packet, is sent to the digital transmission module by the second road byte-by-byte byte of serial communication interface SCI1
GPRS (4), the digital transmission module GPRS (4) under the transparent transmission mode, are transmitted to the target remote by the period and are taken again
Business device;After log-on data is sent, state transition to the wait state;
In the wait state: interrupting PIT by timer and carry out timing, if the registration reply time is more than 30s or receives generation
The return frame of table registration failure, then close the transparent transmission mode, and state transition reconfigures, starts to the not connected mode
Data connection;If receiving the return frame for representing and succeeding in registration, state transition to the normal operating conditions;
In the normal operating conditions: flag F lag variable is constantly inquired in major cycle, and it is ready to judge whether there is data packet,
If so, then log-on data transmission process, by the data packet by under the second road serial communication interface SCI1, the transparent transmission mode
The digital transmission module GPRS (4) is sent to the target remote server.
8. a kind of logistics-vehicle-mounted remote control terminal as claimed in claim 7, it is characterised in that: in the transparent transmission mode
Under, the digital transmission module GPRS (4) can continuous detection data link whether there is exception, and can actively close when abnormal and institute
The TCP/IP between target remote server is stated to connect and pass through the second road serial communication interface SCI1 return mistake error
Character string;State transition to the not-connected status, trial reconfigures and establishes data connection at this time.
9. a kind of logistics-vehicle-mounted remote control terminal as claimed in claim 8, it is characterised in that:
Key data transmitting-receiving, the processing of the mounted remote controlling terminal are realized by multiple interrupt functions: being stored first
Definition structure body in device RAM is established and safeguards the dynamic data comprising all vehicles needed for long-range control, location data
Library;It updated by the multiple interrupt function, handle the structural body, and corresponding state set of variables is combined to realize different function mould
The data parallel transmitting-receiving of block avoids waiting for.
10. a kind of logistics-vehicle-mounted remote control terminal as claimed in claim 9, it is characterised in that:
The multiple interrupt function includes: that the timer interrupts PIT, and integrated circuit iic bus interrupts, and CAN bus is interrupted, and
Serial communication interface SCI is interrupted;
The timer interruption PIT realization mounted remote controlling terminal is regularly sent and storing data;
The integrated circuit iic bus implement of interruption function control data locally store for a long time, the reconnection that goes offline is reissued;
The CAN bus implement of interruption function whole vehicle information acquisition, database update;
The serial communication interface SCI implement of interruption function, which is realized from the satellite positioning module (3), to be obtained location data, sends configuration
Instruction, and with the digital transmission module GPRS (4) instruction, data exchange and automatic, N-free diet method the data transmit-receive of parsing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811545045.1A CN109491298B (en) | 2018-12-17 | 2018-12-17 | Logistics vehicle-mounted remote control terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811545045.1A CN109491298B (en) | 2018-12-17 | 2018-12-17 | Logistics vehicle-mounted remote control terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109491298A true CN109491298A (en) | 2019-03-19 |
CN109491298B CN109491298B (en) | 2020-06-23 |
Family
ID=65710599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811545045.1A Active CN109491298B (en) | 2018-12-17 | 2018-12-17 | Logistics vehicle-mounted remote control terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491298B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115643124A (en) * | 2022-06-23 | 2023-01-24 | 南京轶诺科技有限公司 | PC simulation automobile CAN bus communication system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2861191A1 (en) * | 2003-10-20 | 2005-04-22 | Nortel Networks Ltd | System to be regulated e.g. remote control system, controlling process for controlling e.g. vehicle, involves determining delay compensation function from parameters while taking into account estimated fine delay |
CN102673419A (en) * | 2012-05-15 | 2012-09-19 | 深圳市陆地方舟电动车有限公司 | Intelligent management system of lithium battery of electric automobile |
CN106054726A (en) * | 2016-06-30 | 2016-10-26 | 长安大学 | Internet-of-things-based mobile spraying vehicle group control system and method |
KR20170027618A (en) * | 2015-09-02 | 2017-03-10 | 옥윤선 | System with drone apparatus for vehicle, method for providing inside and outside information of vehicle based on the same |
CN106864287A (en) * | 2017-03-01 | 2017-06-20 | 国网上海市电力公司 | A kind of vehicle-mounted mobile charging device |
CN206743274U (en) * | 2017-05-24 | 2017-12-12 | 天津恒天新能源汽车研究院有限公司 | A kind of vehicle-mounted remote monitoring terminal of electric automobile based on bimodulus positioning |
-
2018
- 2018-12-17 CN CN201811545045.1A patent/CN109491298B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2861191A1 (en) * | 2003-10-20 | 2005-04-22 | Nortel Networks Ltd | System to be regulated e.g. remote control system, controlling process for controlling e.g. vehicle, involves determining delay compensation function from parameters while taking into account estimated fine delay |
CN102673419A (en) * | 2012-05-15 | 2012-09-19 | 深圳市陆地方舟电动车有限公司 | Intelligent management system of lithium battery of electric automobile |
KR20170027618A (en) * | 2015-09-02 | 2017-03-10 | 옥윤선 | System with drone apparatus for vehicle, method for providing inside and outside information of vehicle based on the same |
CN106054726A (en) * | 2016-06-30 | 2016-10-26 | 长安大学 | Internet-of-things-based mobile spraying vehicle group control system and method |
CN106864287A (en) * | 2017-03-01 | 2017-06-20 | 国网上海市电力公司 | A kind of vehicle-mounted mobile charging device |
CN206743274U (en) * | 2017-05-24 | 2017-12-12 | 天津恒天新能源汽车研究院有限公司 | A kind of vehicle-mounted remote monitoring terminal of electric automobile based on bimodulus positioning |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115643124A (en) * | 2022-06-23 | 2023-01-24 | 南京轶诺科技有限公司 | PC simulation automobile CAN bus communication system |
Also Published As
Publication number | Publication date |
---|---|
CN109491298B (en) | 2020-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107139778B (en) | A kind of vehicle control system of pure electric vehicle | |
CN202331594U (en) | Electric automobile CAN (controller area network) bus data recorder | |
CN104029602A (en) | Alternating current charging pile system on basis of TD-LTE (time division long term evolution) network | |
CN110103945A (en) | Expected control to hybrid vehicle propulsion system | |
CN108847701A (en) | A kind of shared charging management system based on wisdom management | |
CN104793543A (en) | Remote control management system of electric vehicle charging pile | |
CN105375540B (en) | National standard and American Standard conversion Vehicular charging gateway controller and its charging conversion method | |
CN107203160A (en) | A kind of mine anti-explosion vehicle wireless supervisory control system based on 4G technologies | |
CN202351695U (en) | Automobile remote control system | |
CN111782506A (en) | Automobile gateway information safety testing device | |
CN103107571A (en) | Method of battery management system for supporting various charging agreements | |
CN109491298A (en) | A kind of logistics-vehicle-mounted remote control terminal | |
CN207096803U (en) | Malfunction remote diagnosis system | |
WO2023051993A1 (en) | Method and system for authentication of charging a vehicle, vehicle and charging pile | |
CN107020973A (en) | A kind of new-energy automobile mobile service system | |
CN104079650A (en) | Vehicle internet information service system and method based on vehicle-mounted intelligent gateway device | |
CN105098865A (en) | Mobile type automatic connection chargeable vehicle system | |
CN107968421A (en) | Electric car charge-discharge system | |
CN107933337A (en) | Electric automobile and its battery management system | |
CN205044677U (en) | Intelligent vehicle -mounted terminal | |
CN109447292A (en) | A kind of vehicle supervision device and method | |
CN106992914A (en) | A kind of vehicle-mounted remote monitoring terminal of electric automobile positioned based on bimodulus | |
CN102320294A (en) | Engine ECU based on the hybrid power technology-specific | |
CN209795212U (en) | Charging system for corridor bridge of civil airport | |
CN204168332U (en) | For data transfer control system and the electric automobile of automobile |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 230601 No. 99 Ziyun Road, Hefei Economic and Technological Development Zone, Anhui Province Applicant after: Anhui Jianghuai Automobile Group Limited by Share Ltd Address before: 230601 No. 669 Shixin Road, Taohua Industrial Park, Hefei City, Anhui Province Applicant before: Anhui Jianghuai Automobile Group Limited by Share Ltd |
|
GR01 | Patent grant | ||
GR01 | Patent grant |