CN112124036A - Vehicle air conditioner control system based on DSP - Google Patents
Vehicle air conditioner control system based on DSP Download PDFInfo
- Publication number
- CN112124036A CN112124036A CN202011126544.4A CN202011126544A CN112124036A CN 112124036 A CN112124036 A CN 112124036A CN 202011126544 A CN202011126544 A CN 202011126544A CN 112124036 A CN112124036 A CN 112124036A
- Authority
- CN
- China
- Prior art keywords
- module
- dsp
- signal conditioning
- motor
- air conditioner
- 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
- 230000003750 conditioning effect Effects 0.000 claims abstract description 30
- 238000001514 detection method Methods 0.000 claims abstract description 22
- 238000002955 isolation Methods 0.000 claims abstract description 14
- 230000008878 coupling Effects 0.000 claims description 3
- 238000010168 coupling process Methods 0.000 claims description 3
- 238000005859 coupling reaction Methods 0.000 claims description 3
- 230000007935 neutral effect Effects 0.000 claims description 3
- 230000003287 optical effect Effects 0.000 claims description 3
- 238000004378 air conditioning Methods 0.000 abstract description 6
- 238000011161 development Methods 0.000 description 4
- 230000001276 controlling effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000010349 pulsation Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
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/00642—Control systems or circuits; Control members or indication devices for heating, cooling or ventilating devices
- B60H1/0073—Control systems or circuits characterised by particular algorithms or computational models, e.g. fuzzy logic or dynamic models
-
- 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
- Y02T10/00—Road transport of goods or passengers
- Y02T10/80—Technologies aiming to reduce greenhouse gasses emissions common to all road transportation technologies
- Y02T10/88—Optimized components or subsystems, e.g. lighting, actively controlled glasses
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Thermal Sciences (AREA)
- Mechanical Engineering (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
The invention discloses a vehicle air conditioner control system based on a DSP (digital signal processor), which comprises a DSP core control module, a keyboard input module, a display output module, a signal conditioning module A, a signal conditioning module B, a photoelectric isolation module, a signal conditioning module C, a current acquisition module, a voltage acquisition module, a driving circuit, a direct current power supply, an inverter circuit and a position signal detection module. The traditional automobile air-conditioning model is not suitable for new energy power automobiles, and the brushless direct current motor has the advantages of small volume, high efficiency, high power factor, good speed regulation characteristic and the like, so that the brushless direct current motor has wide application prospect in electric automobiles.
Description
Technical Field
The invention relates to the technical field of intelligent control, in particular to a vehicle air conditioner control system based on a DSP.
Background
At present, the application technical level of the motor in the automobile air conditioning system in China still needs to be improved, and brush motors are mostly adopted. The brushed direct current motor and the traditional air conditioner compressor driving mode have some defects in engineering use, so that the application development of the automobile air conditioner is limited. Due to the existence of the electric brush, the brush direct current motor can generate noise, spark, electromagnetic interference and the like, so that the motor has short service life, is difficult to maintain and even has potential safety hazards, and meanwhile, the reversing performance of the electric brush also influences the speed regulation range of the motor; the variable frequency speed regulating system composed of the asynchronous motor and the frequency converter has the advantages of hard mechanical characteristics and good speed regulating performance, has a certain application prospect in an automobile air conditioning system, but is expensive, low in motor power factor and poor in efficiency, and the control precision of the variable frequency speed regulating system is easily influenced when the vibration is large.
At present, the application of the automobile air conditioning system in China still needs to be improved, the development of the brushless direct current motor is not mature enough, and compared with the developed countries in China, the gap exists between the control technology and the market demand and quality. Therefore, the research strength of China needs to be increased so as to develop a brushless direct current motor air conditioning system which has independent intellectual property rights and meets the domestic requirements, and the development of the automobile industry of China is promoted.
The control technology is immature, and the control technology mainly comprises the following steps:
firstly, the rotor position signal detection has errors, and the torque pulsation of the motor occurs due to the tooth grooves of the motor;
secondly, the brushless direct current motor is difficult to start, and how to smoothly and reliably start the motor is a technical problem in different application occasions;
and thirdly, when the vibration is large or the load suddenly changes, the motor is easy to lose step and cannot normally run. These problems limit their use in certain applications.
Disclosure of Invention
The present invention is directed to a vehicle air conditioner control system based on DSP to solve the above problems.
In order to achieve the purpose, the invention provides the following technical scheme:
a vehicle air conditioner control system based on DSP comprises a DSP core control module, a keyboard input module, a display output module, a signal conditioning module A, a signal conditioning module B, a photoelectric isolation module, a signal conditioning module C, a current acquisition module, a voltage acquisition module, a drive circuit, a direct current power supply, an inverter circuit and a position signal detection module, wherein the direct current power supply is respectively connected with the inverter circuit and the current acquisition module, the output end of the current acquisition module is connected with the input end of the signal conditioning module A, the output end of the signal conditioning module A is connected with an A/D interface of the DSP core control module, the DSP core control module is respectively connected with the keyboard input module and the display output module through a GPIO interface, the DSP core control module is connected with the photoelectric isolation module through a PWM interface, the photoelectric isolation module is also connected with the drive circuit, and the drive circuit is also connected with the, the inverter circuit is also respectively connected with a voltage acquisition module and a motor, the voltage acquisition module is also connected with a signal conditioning module B, the signal conditioning module B is also connected with a DSP core control module, the motor is also connected with a position signal detection module, the position signal detection module is also connected with a signal conditioning module C, and the signal conditioning module C is also connected with the DSP core control module.
As a further technical scheme of the invention: the model of the DSP core control module is TMS320f 28335.
As a further technical scheme of the invention: the driving circuit adopts an IR2136 power tube driving chip.
As a further technical scheme of the invention: the motor adopts a brushless direct current motor.
As a further technical scheme of the invention: the inverter circuit is a three-phase inverter circuit.
As a further technical scheme of the invention: the position signal detection module is used for detecting a back electromotive force zero crossing point signal so as to acquire the rotation direction of the motor.
As a further technical scheme of the invention: the position signal detection module is composed of a voltage division filter circuit, a virtual neutral point circuit, a zero-crossing comparison circuit and an optical coupling isolation circuit.
Compared with the prior art, the invention has the beneficial effects that: the invention has the advantages of environmental protection, energy saving and high efficiency, and provides a development platform for the application of the brushless DC motor. The traditional automobile air-conditioning model is not suitable for new energy power automobiles, and the brushless direct current motor has the advantages of small volume, high efficiency, high power factor, good speed regulation characteristic and the like, so that the brushless direct current motor has wide application prospect in electric automobiles.
Drawings
Fig. 1 is a block diagram of the present invention.
Fig. 2 is a circuit diagram of the driving circuit.
Fig. 3 is a back electromotive force zero-crossing point signal detection module.
Fig. 4 is a closed-loop control flow chart.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1: referring to fig. 1, a vehicle air conditioner control system based on DSP comprises a DSP core control module, a keyboard input module, a display output module, a signal conditioning module a, a signal conditioning module B, a photoelectric isolation module, a signal conditioning module C, a current collection module, a voltage collection module, a driving circuit, a dc power supply, an inverter circuit, and a position signal detection module, wherein the dc power supply is connected to the inverter circuit and the current collection module respectively, an output terminal of the current collection module is connected to an input terminal of the signal conditioning module a, an output terminal of the signal conditioning module a is connected to an a/D interface of the DSP core control module, the DSP core control module is connected to the keyboard input module and the display output module respectively through a GPIO interface, the DSP core control module is connected to the photoelectric isolation module through a PWM interface, the photoelectric isolation module is further connected to the driving circuit, and the driving circuit is further connected to the, the inverter circuit is also respectively connected with a voltage acquisition module and a motor, the voltage acquisition module is also connected with a signal conditioning module B, the signal conditioning module B is also connected with a DSP core control module, the motor is also connected with a position signal detection module, the position signal detection module is also connected with a signal conditioning module C, and the signal conditioning module C is also connected with the DSP core control module. The motor adopts a brushless direct current motor. The inverter circuit is a three-phase inverter circuit.
The TMS320f28335 processor is the core control part of system, and its PWM port sends 6 way PWM control signals to send drive circuit and carry out signal amplification, in order to drive full-bridge inverter circuit's MOSFET switch tube work, 24V battery voltage becomes three-phase alternating current after the inverter bridge, thereby drives brushless DC motor operation. After the motor runs, a rotor position signal of the motor is obtained through the back electromotive force zero crossing point detection circuit and fed back to a CAP capture unit of the DSP, and the signal is used for controlling a PWM signal after being processed by the DSP, so that the motor runs synchronously. Meanwhile, the feedback CAP signal can obtain a motor speed value after calculation, and the value is compared with a system set speed value and then is sent to a PID regulator, so that the closed-loop control of the system is realized. ADC sampling of the DSP is used for system current detection.
Example 2: on the basis of example 1: the driving circuit adopts an IR2136 power tube driving chip M which can control the on and off of 6 power tubes. The IR2136 has functions of dead zone protection and overcurrent control, and when combined with a bootstrap capacitor, a high level of 15V can be output between the pin H01 and the pin VS1 to turn on the power transistor, which can effectively reduce the number of driving power supplies. GPWM1~ 6 way six control signals of controller DSP output pass through opto-coupler isolation and signal conversion input IR2136, and IR2136 outputs 15V voltage.
Example 3: on the basis of example 2: the position signal detection module is used for detecting a counter electromotive force zero crossing point signal so as to acquire the rotation direction of the motor. The back electromotive force zero-crossing point signal is obtained through the terminal voltage of the motor, but the terminal voltage signal is not an ideal trapezoidal wave signal, and the back electromotive force zero-crossing point signal also comprises a plurality of noise signals, such as a PWM high-frequency chopping signal, a spike pulse voltage signal, a higher harmonic signal and the like. These interference signals will likely cause the back emf voltage to appear with multiple zero crossings, thereby affecting the normal commutation of the motor. Therefore, the design of the back electromotive force zero-crossing signal detection circuit becomes more important, and the back electromotive force zero-crossing detection circuit designed by the system is shown in fig. 3. The module circuit mainly comprises a voltage division filter circuit, a virtual neutral point circuit, a zero-crossing comparison circuit and an optical coupling isolation circuit.
The work flow of the design is shown in fig. 4, and comprises the following steps:
1) and designing a main program of the system. This part is mainly the initialization of peripherals and systems, such as system clocks, timers, I/O ports, interrupt enable, and initialization of system variables and flags. Then, it waits in the main program until an interrupt is generated.
2) Generation of PWM modulated waves. The system adopts a modulation mode of H _ PWM _ L _ ON to generate 6 paths of PWM pulses to control the ON-off of a switching tube, thereby realizing the speed regulation of the motor.
3) And (5) starting a motor. Because the system is a brushless direct current motor without a position sensor, the system needs additional starting measures to ensure that the motor can be reliably started. The system uses a three-stage software starting method.
4) And (5) detecting the position of the motor rotor and performing a phase change procedure. The zero-crossing point signal detected by the back electromotive force zero-crossing point detection circuit needs to be delayed by 30 degrees and then is commutated. Since a low-pass filter or the like has a phase delay, it is necessary to perform phase compensation processing. The processed signal is accurately reversed through a CAP capture unit of the DSP.
5) And controlling the starting and stopping of the motor and controlling the forward and reverse rotation. Directly by detecting a key trigger signal.
6) And (5) motor speed regulation program. By the ADC sampling function.
7) And (5) carrying out a system closed loop regulation program. And calculating the speed value of the motor by using an M/T method, comparing the speed value with a given value, performing PI operation on the difference value, and obtaining a PWM duty ratio through PI regulation operation so as to control the rotating speed of the motor.
8) Temperature control alarm and fault protection program. Implemented by ADC sampling and PDPINTx interrupts.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.
Claims (7)
1. A vehicle air conditioner control system based on DSP comprises a DSP core control module, a keyboard input module, a display output module, a signal conditioning module A, a signal conditioning module B, a photoelectric isolation module, a signal conditioning module C, a current acquisition module, a voltage acquisition module, a drive circuit, a direct current power supply, an inverter circuit and a position signal detection module, and is characterized in that the direct current power supply is respectively connected with the inverter circuit and the current acquisition module, the output end of the current acquisition module is connected with the input end of the signal conditioning module A, the output end of the signal conditioning module A is connected with an A/D interface of the DSP core control module, the DSP core control module is respectively connected with the keyboard input module and the display output module through a GPIO interface, the DSP core control module is connected with the photoelectric isolation module through a PWM interface, the photoelectric isolation module is also connected with the drive circuit, and the drive circuit is also connected with the, the inverter circuit is also respectively connected with a voltage acquisition module and a motor, the voltage acquisition module is also connected with a signal conditioning module B, the signal conditioning module B is also connected with a DSP core control module, the motor is also connected with a position signal detection module, the position signal detection module is also connected with a signal conditioning module C, and the signal conditioning module C is also connected with the DSP core control module.
2. The DSP-based vehicle air conditioner control system according to claim 1, wherein the DSP core control module is TMS320f 28335.
3. The DSP-based vehicle air conditioner control system according to claim 1, wherein the driving circuit employs an IR2136 power tube driving chip.
4. The DSP-based vehicle air conditioner control system according to claim 1, wherein the motor is a brushless DC motor.
5. The DSP-based vehicle air conditioner control system according to claim 1, wherein the inverter circuit is a three-phase inverter circuit.
6. The DSP-based vehicle air conditioner control system according to claim 1, wherein the position signal detection module is configured to detect a back electromotive force zero-crossing signal, so as to acquire a rotation direction of the motor.
7. The DSP-based vehicle air conditioner control system according to claim 6, wherein the position signal detection module is composed of a voltage division filter circuit, a virtual neutral point circuit, a zero-crossing comparison circuit and an optical coupling isolation circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011126544.4A CN112124036A (en) | 2020-10-20 | 2020-10-20 | Vehicle air conditioner control system based on DSP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011126544.4A CN112124036A (en) | 2020-10-20 | 2020-10-20 | Vehicle air conditioner control system based on DSP |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112124036A true CN112124036A (en) | 2020-12-25 |
Family
ID=73852764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011126544.4A Pending CN112124036A (en) | 2020-10-20 | 2020-10-20 | Vehicle air conditioner control system based on DSP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112124036A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291065A (en) * | 2011-09-01 | 2011-12-21 | 北京信息科技大学 | Brushless direct current motor control device based on DSP (Digital Signal Processor) |
US20120293098A1 (en) * | 2011-05-16 | 2012-11-22 | Texas Instruments Incorporated | Method and apparatus for applying a commutation advance automatically in a brushless dc motor |
CN110165946A (en) * | 2019-04-01 | 2019-08-23 | 龙泉市杰科汽车零部件有限公司 | One kind being based on DSP brushless DC control system |
-
2020
- 2020-10-20 CN CN202011126544.4A patent/CN112124036A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120293098A1 (en) * | 2011-05-16 | 2012-11-22 | Texas Instruments Incorporated | Method and apparatus for applying a commutation advance automatically in a brushless dc motor |
CN102291065A (en) * | 2011-09-01 | 2011-12-21 | 北京信息科技大学 | Brushless direct current motor control device based on DSP (Digital Signal Processor) |
CN110165946A (en) * | 2019-04-01 | 2019-08-23 | 龙泉市杰科汽车零部件有限公司 | One kind being based on DSP brushless DC control system |
Non-Patent Citations (1)
Title |
---|
唐帅: "基于DSP的汽车空调中无刷直流电机控制系统研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Niasar et al. | A novel position sensorless control of a four-switch, brushless DC motor drive without phase shifter | |
CN111830435B (en) | Open-circuit fault diagnosis method for power tube of six-phase permanent magnet fault-tolerant motor system | |
CN102223120A (en) | Method for controlling permanent magnet brushless direct-current motor and driver | |
CN205304653U (en) | Two plane type leads to fan control system based on brushless DC motor | |
CN104579110A (en) | Variable-frequency speed regulation system and method of high-speed permanent magnet motor | |
CN106788048A (en) | Brushless DC motor control system and control method based on no electrolytic capacitor inverter | |
CN105162370A (en) | Switched eluctance motor controller for hybrid electric vehicle, and control method thereof | |
CN201813339U (en) | Brushless direct current (DC) motor control system based on digital signal processor (DSP) | |
CN113089259A (en) | Three-in-one full-direct-current variable frequency drive integrated control system in washing machine and control method thereof | |
CN201690406U (en) | Permanent magnetic brushless direct-current motor driver | |
CN103616572B (en) | A kind of diagnostic method of electric automobile PMSM drive system open-phase fault | |
CN203632585U (en) | Control system for constant-speed 220V direct current motor | |
CN110120762B (en) | Error-free switched reluctance motor current control method | |
CN112124036A (en) | Vehicle air conditioner control system based on DSP | |
CN108540026B (en) | Silicon carbide/gallium nitride MOSFET-based permanent magnet synchronous motor drive control real-time voltage regulating circuit | |
CN112032088B (en) | Device and method for realizing reverse power generation of air conditioner external fan by controlling rotation of fan | |
CN201674458U (en) | High-frequency chopper and inverter serial pole speed regulator | |
CN108512471A (en) | A kind of small-power gasoline engine generator intelligence control system | |
CN211627761U (en) | High-speed permanent magnet synchronous motor loading device | |
CN110896295B (en) | Low-ripple driving method for alternating current motor | |
CN211859992U (en) | TMS320F 28335-based permanent magnet synchronous motor controller | |
CN105024396A (en) | Energy feedback frequency converter | |
CN210033927U (en) | Device for realizing reverse power generation of air conditioner external fan by controlling fan rotation | |
CN103248288B (en) | Brshless DC motor adaptive driver | |
CN108459199B (en) | Improved switched reluctance motor current sampling method |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201225 |