CN108146188A - It is a kind of can more new procedures electric automobile air conditioner PWM interfaces - Google Patents
It is a kind of can more new procedures electric automobile air conditioner PWM interfaces Download PDFInfo
- Publication number
- CN108146188A CN108146188A CN201711415497.3A CN201711415497A CN108146188A CN 108146188 A CN108146188 A CN 108146188A CN 201711415497 A CN201711415497 A CN 201711415497A CN 108146188 A CN108146188 A CN 108146188A
- Authority
- CN
- China
- Prior art keywords
- pwm
- control unit
- new procedures
- air conditioner
- program
- 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.)
- Pending
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60H—ARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES
- B60H1/00—Heating, cooling or ventilating [HVAC] devices
- B60H1/00642—Control systems or circuits; Control members or indication devices for heating, cooling or ventilating devices
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60H—ARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES
- B60H1/00—Heating, cooling or ventilating [HVAC] devices
- B60H1/32—Cooling devices
- B60H1/3204—Cooling devices using compression
- B60H1/3205—Control means therefor
Landscapes
- Physics & Mathematics (AREA)
- Thermal Sciences (AREA)
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Air-Conditioning For Vehicles (AREA)
Abstract
The invention discloses it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, 6 needle connectors of control, electric air-conditioning compressor drive electronic control unit are interacted including being used for air-conditioning host computer and motor compressor electronic control unit, the electric air-conditioning compressor drive electronic control unit includes microcontroller and isolation optocoupler;The microcontroller further includes serial communication Multiplexing module, which includes serial ports receiving submodule and serial ports sending submodule;It further includes and upgrades box for updating the program of electric air-conditioning compressor program offline, program upgrading is connected in more new procedures in motor compressor driver electron control unit, and the serial communication Multiplexing module carries out data connection with program upgrading box.The present invention is based on typical PWM interfaces, setting interface duplex upgrades to realize that program updates, and has the function of covered upgrade procedure.
Description
Technical field
The present invention relates to electric vehicle engineering field more particularly to it is a kind of can more new procedures electric automobile air conditioner PWM
Interface.
Background technology
Now with the continuous heating in new energy market, electric vehicle is gradually popularized.Either high pressure lithium electricity is powered
Passenger car or low voltage lithium electricity power supply or lead-acid battery power supply low-speed vehicle, the motor compressor of air-conditioning all.It is conventional
Electric automobile air conditioner ECU and compressor between communication mainly have these three interface modes of CAN, LIN and PWM.These three are worked as
In it is the simplest with PWM interface modes, be mainstream control mode in low-speed vehicle, have some conventional electric passenger vehicles that can also use
This mode.In addition, pwm pattern be also widely used in electronic water pump for automobile and fan control it is general.
For typical PWM interfaces mainly using 5 line systems, battery powered occupies 2 lines;PWM speed commands occupy 1 line;EN is enabled
Occupy 1 line;It is finally that PWM state feedback occupies 1 line, it is specific as shown in Figure 1.
It is that compressor drive can not be upgraded into line program that the control mode of this typical PWM interfaces, which has a shortcoming,.
Once need to change program in client, it is necessary to open compression cover;And compressor installation site is often compact, very
Difficulty, which removes, uncaps.Therefore, it is necessary to the interface of reserved program upgrading.
Invention content
In view of the deficienciess of the prior art, the purpose of the present invention be that provide it is a kind of can more new procedures electronic vapour
Vehicle air-conditioning PWM interfaces, based on typical PWM interfaces, setting interface duplex upgrades to realize that program updates, and has covered upgrading
The function of program.
To achieve these goals, the technical solution adopted by the present invention is such:It is a kind of can more new procedures electronic vapour
Vehicle air-conditioning PWM interfaces, 6 needles that control is interacted including being used for air-conditioning host computer and motor compressor electronic control unit patch
Part, electric air-conditioning compressor drive electronic control unit, the electric air-conditioning compressor drive electronic control unit include
Microcontroller and isolation optocoupler;The microcontroller, which is used to implement, controls the precision of electric air-conditioning compressor, the isolation light
Coupling is used for the interaction being isolated between motor compressor driver electron control unit and air-conditioning host computer electronic control unit;It is described
Microcontroller further includes serial communication Multiplexing module, which includes serial ports receiving submodule and sent with serial ports
Submodule;It further includes and upgrades box for updating the program of electric air-conditioning compressor program offline, which upgrades in more new procedures
When be connected in motor compressor driver electron control unit, the serial communication Multiplexing module and program upgrade box into line number
According to connection.
As a preferred embodiment, the 6 needle connector includes enabled input port EN, cell input terminal mouth BAT, speed
Command port PWM, battery output mouth GND and feedback of status port FDX.
As a preferred embodiment, the microcontroller includes IO detection modules, for enabling input port EN signals
It is detected in real time;Acquisition Detection module, for the capture of speed command port pwm signal, the frequency including calculating signal
And duty ratio;PWM output modules, for exporting the working condition of current electric air-conditioning compressor electronic control unit.
As a preferred embodiment, when enabled input port EN accesses low level, the letter of the speed command port PWM
Number in normal frequency and duty cycle range, start electric air-conditioning compressor operating, and rotating speed and speed command port PWM are accounted for
Relationship of the sky than keeping an agreement.
As a preferred embodiment, when enabled input port EN accesses high level, electric air-conditioning compressor shutdown.
As a preferred embodiment, the enabled input terminal that the data of the serial communication Multiplexing module pass through 6 needle connectors
Mouth EN, speed command port PWM are connect with program upgrading box.
As a preferred embodiment, when electric air-conditioning compressor works normally, the serial ports of serial ports receiving submodule receives
Pin and the serial ports of serial ports sending submodule send pin and vacantly set.
As a preferred embodiment, when electric air-conditioning compressor more new procedures, the pin and PWM of Acquisition Detection module are defeated
The output pin for going out module is vacantly set, and serial ports receiving submodule is enabled with serial ports sending submodule.
Compared with prior art, beneficial effects of the present invention:The present invention is based on typical PWM interfaces, set interface duplex
Upgrade to realize that program updates, there is covered upgrade procedure.
Description of the drawings
Fig. 1 is typical PWM interfaces in the prior art;
Fig. 2 is the general frame of the present invention;
Fig. 3 is the annexation figure of the present invention in the normal mode of operation;
Fig. 4 is annexation figure of the present invention in the case where updating program schema;
Fig. 5 is the operating mode decision flowchart in the embodiment of the present invention.
Specific embodiment
With reference to specific embodiment, the invention will be further described.Following embodiment is only used for clearly illustrating
Technical scheme of the present invention, and be not intended to limit the protection scope of the present invention and limit the scope of the invention.
Embodiment:
As shown in Fig. 2, it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, including being used for air-conditioning host computer and electronic pressure
Compressor electronic control unit interacts 6 needle connectors 1 of control, electric air-conditioning compressor drive electronic control unit 2, institute
It states electric air-conditioning compressor drive electronic control unit 2 and includes microcontroller 21 and isolation optocoupler 22;The microcontroller 21
It is used to implement and the precision of electric air-conditioning compressor is controlled, the isolation optocoupler 22 is used to that motor compressor driver electron to be isolated
Interaction between control unit 2 and air-conditioning host computer electronic control unit;The microcontroller 21 further includes serial communication multiplexing
Module, the serial communication Multiplexing module include serial ports receiving submodule 23 and serial ports sending submodule 24;It further includes for offline
The program upgrading box 3 of electric air-conditioning compressor program is updated, program upgrading is connected to motor compressor drive in more new procedures
On dynamic device electronic control unit 2, the serial communication Multiplexing module carries out data connection with program upgrading box 3.Wherein, electronic pressure
Interaction between contracting machine driver electron control unit 2 and air-conditioning host computer electronic control unit is carried out using isolation optocoupler 22
Isolation, to ensure the safety requirements for meeting automobile.
Preferably, the 6 needle connector 1 includes enabled input port EN, cell input terminal mouth BAT, speed command port
PWM, battery output mouth GND and feedback of status port FDX.
Preferably, the microcontroller 21 includes IO detection modules 25, real for being carried out to enabled input port EN signals
When detect;Acquisition Detection module 26, for the capture of speed command port pwm signal, including calculating the frequency of signal and accounting for
Empty ratio;PWM output modules 27, for exporting the working condition of current electric air-conditioning compressor electronic control unit.
Preferably, when enabled input port EN accesses low level, the signal of the speed command port PWM is in normal frequency
When rate and duty cycle range, start electric air-conditioning compressor operating, and the duty ratio of rotating speed and speed command port PWM keep one
The relationship of a agreement.
Preferably, when enabled input port EN accesses high level, electric air-conditioning compressor shutdown.
Preferably, enabled input port EN of the data of the serial communication Multiplexing module by 6 needle connectors 1, speed
Command port PWM is connect with program upgrading box 3.
Preferably, when electric air-conditioning compressor works normally, the serial ports of serial ports receiving submodule 23 receives pin and string
The serial ports of mouth sending submodule 24 sends pin and vacantly sets.Therefore, the serial communication Multiplexing module is in electric air-conditioning pressure
It is forbidden under contracting machine normal mode of operation.
Preferably, when electric air-conditioning compressor more new procedures, pin and the PWM output modules 27 of Acquisition Detection module 26
Output pin vacantly set, serial ports receiving submodule 23 is enabled with serial ports sending submodule 24.
Specifically, program upgrading box 3 only can just be connected to electric compressor when having to update electric air-conditioning compressor program
In machine driver electron control unit 2.Therefore, air-conditioning host computer electronic control unit must be first disconnected when upgrade procedure,
Then then linker upgrading box 3 realizes that a key upgrades.
When it is implemented, it needs first to judge that electric air-conditioning compressor is in the normal mode in the interface for using the present invention
Or under update program schema, it is necessary to ensure that it is really to have entered this pattern can just be updated behaviour to update program schema
Work rather than maloperation, in order to avoid possible maloperation, the determination method that the present embodiment uses is as follows:More new procedures mould first
Formula only occurs in power on and restart after, then judge whether enabled input port EN is effective status, if effective status just into
Enter normal mode of operation;If shutdown status, then next judge speed command port PWM input frequency whether be
1KHz allows 5% deviation(Real speed command is 400Hz)If no speed command port PWM inputs or frequency are not
1KHz then enters normal mode of operation, if it is 1KHz, then for the duty cycle signals of speed command port PWM, if symbol
The change in duty cycle rule of setting is closed, normal mode of operation is also entered if not meeting;If met, capture is closed
Detection and PWM export feedback function, while enabled serial port module, i.e. serial communication Multiplexing module, enter update program schema,
It is specifically shown in the operating mode decision flowchart of Fig. 5.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, without departing from the technical principles of the invention, several improvement and deformation can also be made, these are improved and deformation
Also it should be regarded as protection scope of the present invention.
Claims (8)
1. it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, it is characterised in that:Including be used for air-conditioning host computer with it is electronic
Compressor electronic control unit interacts 6 needle connectors of control, electric air-conditioning compressor drive electronic control unit, institute
It states electric air-conditioning compressor drive electronic control unit and includes microcontroller and isolation optocoupler;The microcontroller is used to implement
To electric air-conditioning compressor precision control, the isolation optocoupler for be isolated motor compressor driver electron control unit with
Interaction between air-conditioning host computer electronic control unit;The microcontroller further includes serial communication Multiplexing module, which leads to
Believe that Multiplexing module includes serial ports receiving submodule and serial ports sending submodule;It further includes to update electric air-conditioning compressor offline
The program upgrading box of program, program upgrading are connected in more new procedures in motor compressor driver electron control unit,
The serial communication Multiplexing module carries out data connection with program upgrading box.
2. it is according to claim 1 it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, it is characterised in that:Described 6
Needle connector include enabled input port EN, cell input terminal mouth BAT, speed command port PWM, battery output mouth GND with
And feedback of status port FDX.
3. it is according to claim 2 it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, it is characterised in that:It is described
Microcontroller includes IO detection modules, for being detected in real time to enabled input port EN signals;Acquisition Detection module, is used for
The capture of speed command port pwm signal, frequency and duty ratio including calculating signal;PWM output modules are worked as exporting
The working condition of preceding electric air-conditioning compressor electronic control unit.
4. it is according to claim 3 it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, it is characterised in that:When making
During energy input port EN access low levels, the signal of the speed command port PWM is opened in normal frequency and duty cycle range
Dynamic electric air-conditioning compressor operating, and the duty ratio of rotating speed and speed command port PWM keep the relationship of an agreement.
5. it is according to claim 3 it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, it is characterised in that:When making
During energy input port EN access high level, electric air-conditioning compressor shutdown.
6. it is according to claim 3 it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, it is characterised in that:It is described
The data of serial communication Multiplexing module are upgraded by enabled input port EN, the speed command port PWM and program of 6 needle connectors
Box connects.
7. it is according to claim 6 it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, it is characterised in that:Work as electricity
During dynamic compressor of air conditioner normal work, the serial ports of serial ports receiving submodule receives pin and the serial ports of serial ports sending submodule is sent
Pin is vacantly set.
8. it is according to claim 6 it is a kind of can more new procedures electric automobile air conditioner PWM interfaces, it is characterised in that:Work as electricity
During dynamic compressor of air conditioner more new procedures, the pin of Acquisition Detection module is vacantly set with the output pin of PWM output modules, string
Mouth receiving submodule is enabled with serial ports sending submodule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711415497.3A CN108146188A (en) | 2017-12-25 | 2017-12-25 | It is a kind of can more new procedures electric automobile air conditioner PWM interfaces |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711415497.3A CN108146188A (en) | 2017-12-25 | 2017-12-25 | It is a kind of can more new procedures electric automobile air conditioner PWM interfaces |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108146188A true CN108146188A (en) | 2018-06-12 |
Family
ID=62464545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711415497.3A Pending CN108146188A (en) | 2017-12-25 | 2017-12-25 | It is a kind of can more new procedures electric automobile air conditioner PWM interfaces |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108146188A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021077285A1 (en) * | 2019-10-22 | 2021-04-29 | 深圳市大疆创新科技有限公司 | Battery management device, electronic device, and power management device, system and method |
CN113157617A (en) * | 2021-05-08 | 2021-07-23 | 上海钧嵌传感技术有限公司 | Device and method for multiplexing PWM (pulse-Width modulation) communication and UART (universal asynchronous receiver/transmitter) communication of vehicle controller |
CN114036080A (en) * | 2021-11-09 | 2022-02-11 | 许昌许继软件技术有限公司 | Method and device for upgrading program by using communication serial port of display terminal |
-
2017
- 2017-12-25 CN CN201711415497.3A patent/CN108146188A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021077285A1 (en) * | 2019-10-22 | 2021-04-29 | 深圳市大疆创新科技有限公司 | Battery management device, electronic device, and power management device, system and method |
CN113157617A (en) * | 2021-05-08 | 2021-07-23 | 上海钧嵌传感技术有限公司 | Device and method for multiplexing PWM (pulse-Width modulation) communication and UART (universal asynchronous receiver/transmitter) communication of vehicle controller |
CN114036080A (en) * | 2021-11-09 | 2022-02-11 | 许昌许继软件技术有限公司 | Method and device for upgrading program by using communication serial port of display terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108146188A (en) | It is a kind of can more new procedures electric automobile air conditioner PWM interfaces | |
CN102411342B (en) | Power supply system for vehicle constant power module and control method | |
CN107402537A (en) | A kind of new-energy automobile monitoring terminal system of car networking | |
CN106696713A (en) | Control circuit and control method of high pressure precharging of electric vehicle | |
CN102645000B (en) | Air conditioning system of electric vehicle | |
US11048494B2 (en) | Arrangement and method for updating a control software in a high-voltage control unit | |
WO2014154167A1 (en) | Method and system for controlling electric power supply of vehicle and vehicle comprising the system | |
CN104578321A (en) | Computer based control method for charging mobile devices of Apple Inc | |
CN104760550A (en) | Automobile door signal converter and automobile flexible pedal | |
CN105774471B (en) | The system and method for vehicle long-distance remote control air-conditioning based on car networking | |
CN106169807A (en) | A kind of vehicle power intelligence control system | |
CN109696869B (en) | Automobile central door lock control device and control method based on NFC (near field communication) technology | |
CN106200534A (en) | A kind of unmanned plane battery discriminating method, system and unmanned plane, intelligent battery device | |
CN208290906U (en) | A kind of novel and multifunctional engineering car air-conditioner | |
CN105416203A (en) | Automobile body control equipment, automobile body control system and electric automobile | |
CN105867214B (en) | A kind of control method for vehicle, device and system | |
CN107380028B (en) | A kind of control method and system of car seat heating ventilation limping mode | |
CN104963799A (en) | Vehicle start control device | |
CN108501657A (en) | A kind of novel and multifunctional engineering car air-conditioner and control method | |
CN107713907A (en) | A kind of dust catcher working state control device and dust catcher | |
CN207173534U (en) | For without the car key exhibiting device and display systems for electrically activating vehicle | |
CN111555968B (en) | Ethernet gateway capable of configuring port mode and vehicle | |
CN215398581U (en) | PEPS and key pairing system for avoiding vehicle-mounted wireless charging interference | |
CN109263574A (en) | Vehicle electric source modes redundancy control system and method | |
CN208006734U (en) | A kind of range extender of electric vehicle control system and electric vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180612 |
|
WD01 | Invention patent application deemed withdrawn after publication |