Summary of the invention
The object of the invention is to solve the pure electric automobile air conditioning system and can't realize the problem that compressor variable frequency is controlled, a kind of pure electric automobile air conditioning compressor control method and system based on fuzzy control is provided.
For achieving the above object, described pure electric automobile air conditioning compressor control method based on fuzzy control is characterized in, described controlling method comprises,
Obtain vehicle interior temperature;
According to vehicle interior temperature, calculate the measured value of the temperature difference of vehicle interior temperature and setting temperature;
When the measured value of the described temperature difference is in the first temperature range, calculate the measured value of the difference variation rate of vehicle interior temperature and setting temperature, the measured value of the described temperature difference and difference variation rate is quantized respectively, obtain the conversion value of the temperature difference and difference variation rate on corresponding domain;
According to the conversion value of the described temperature difference and difference variation rate, the fuzzy control rule according to predetermined calculates and exports the fuzzy control coefficient;
According to the working speed of described fuzzy control coefficient calculations air condition compressor, control air condition compressor according to this working speed operation.
Preferably, described the first temperature range is-1 ° of C<Δ T≤2 ° C, and wherein Δ T is the measured value of the temperature difference.
Preferably, described controlling method also comprises, when the measured value of the described temperature difference is in the second temperature range, controls air condition compressor according to its maximum speed operation.
Preferably, described the second temperature range is Δ T〉2 ° of C, wherein, Δ T is the measured value of the temperature difference.
Preferably, described controlling method also comprises, when the measured value of the described temperature difference is in the 3rd temperature range, controls air condition compressor out of service.
Preferably, described the 3rd temperature range is Δ T<-1 ° C, and wherein, Δ T is the measured value of the temperature difference.
Preferably, described controlling method also comprises, obtains air condition compressor operation front evaporator surface temperature, and air condition compressor operation 3min finisher surface temperature, if both the temperature difference is less than 3 ℃, controls air condition compressor according to the rotating speed operation of 3000rpm; If air condition compressor operation 3min finisher surface temperature is lower than 5 ℃, the rotating speed of controlling air condition compressor reduces by 30%.
Preferably, according to N
T=(100+k) * N
T-1/ 100 calculate the working speed of air condition compressor; Wherein, N
TBe the working speed of air condition compressor, N
T-1Be the rotating speed of the air condition compressor of a upper rotating speed control cycle, k is the fuzzy control coefficient.
Preferably, described rotating speed control cycle is 20s.
A kind of pure electric automobile air conditioning compressor control system based on fuzzy control is characterized in, described control system comprises:
Temperature detecting unit is used for obtaining vehicle interior temperature;
Data processing unit is used for according to vehicle interior temperature, calculates the measured value of vehicle interior temperature and the temperature difference of setting temperature, and is used for measured value when the described temperature difference in the first temperature range the time, the measured value of the difference variation rate of calculating vehicle interior temperature and setting temperature;
Quantifying unit is used for the measured value of the described temperature difference and difference variation rate is quantized respectively, obtains the conversion value of the temperature difference and difference variation rate on corresponding domain;
Fuzzy controller is used for the conversion value according to the described temperature difference and difference variation rate, and the fuzzy control rule according to predetermined calculates and export the fuzzy control coefficient;
Main control module is used for the working speed according to described fuzzy control coefficient calculations air condition compressor, and controls air condition compressor according to this working speed operation.
Preferably, described control system also comprises,
The evaporator temperature detection unit is used for obtaining air condition compressor operation front evaporator surface temperature, and air condition compressor operation 3min finisher surface temperature; Less than 3 ℃, described master control module controls air condition compressor is according to the rotating speed operation of 3000rpm when temperature difference both; And when air condition compressor moved 3min finisher surface temperature lower than 5 ℃, the rotating speed of described master control module controls air condition compressor reduced by 30%.
Beneficial effect of the present invention is, the present invention adopts the compressor variable frequency control principle, and the air condition compressor working speed is fixing, and adjustment range is 960r/min~4080r/min.Under refrigeration mode, temperature can be regulated jointly by compressor rotary speed and blower speed, especially when vehicle interior temperature is too high, the compression function is with maximum speed work, and refrigerating capacity is maximum value, can the fast reducing vehicle interior temperature, when vehicle interior temperature reaches setting temperature, it is constant that the automatic frequency reducing of compressor is kept vehicle interior temperature with low power consumption, takes advantage of personnel that a comfortable environment is provided to frame, and when mileage is longer, advantage is more obvious; In addition, than fixed-frequency control of the prior art, save battery electric quantity, effectively extended the continual mileage of pure electric automobile.
Embodiment
For above-mentioned purpose, the feature and advantage that make invention can become apparent more, be described in detail below in conjunction with accompanying drawing 1 and 2 pairs of the specific embodiment of the present invention of accompanying drawing.
Fig. 1 shows the flow chart of the pure electric automobile air conditioning compressor control method based on fuzzy control of the present invention, and as shown in Figure 1, described pure electric automobile air conditioning compressor control method based on fuzzy control comprises the following steps:
First step: obtain vehicle interior temperature S1;
Second step: according to vehicle interior temperature, calculate the measured value of the temperature difference of vehicle interior temperature and setting temperature, as an input parameter S2 of fuzzy control;
Third step: when the measured value of the described temperature difference is in the first temperature range, calculate the measured value of the difference variation rate of vehicle interior temperature and setting temperature, as another input parameter of fuzzy control; The measured value of the described temperature difference and difference variation rate is quantized respectively, obtain the conversion value S31 of the temperature difference and difference variation rate on corresponding domain, then carry out the 4th step; When the measured value of the described temperature difference is in the second temperature range, control air condition compressor according to its maximum speed operation S32, then return to first step; When the measured value of the described temperature difference is in the 3rd temperature range, control air condition compressor S33 out of service, then return to first step;
The 4th step: according to the conversion value of the described temperature difference and difference variation rate, the fuzzy control rule according to predetermined calculates and exports fuzzy control coefficient S 4;
The 5th step: according to the working speed of described fuzzy control coefficient calculations air condition compressor, control air condition compressor according to this working speed operation S5, then return to first step.
Particularly, at first for the collection of data:
After air-conditioner controller receives the A/C open command, send the signal of starting working to compressor controller by the output high level, and send working state (dehumidifying, demist, defrosting), ternary pressure switch state, setting temperature, vehicle interior temperature, evaporator surface temperature, and keep sending once in every 1 second.After the start/stop of compressor signal stopped, the CAN bus stopped sending data.
For concrete control strategy:
FUZZY ALGORITHMS FOR CONTROL has three important parameters, i.e. the difference DELTA T of vehicle interior temperature Tr and setting temperature Ts, difference variation rate Δ t, fuzzy control coefficient k.
1. temperature difference T
Under refrigeration mode, Δ T=Tr-Ts, if vehicle interior temperature is higher, i.e. Δ T〉during 2 ° of C, (for example, 4080rpm) operation realizes fast cooling in car to compressor with maximum speed; When ° C of Δ T<-1, compressor quits work, and prevents in car excessively cold; When ° C of-1 ° of C<Δ T≤2, compressor rotary speed determines by the fuzzy control coefficient k, and the air-conditioning VFC starts.For accurately controlling compressor rotary speed, now Δ T is divided into following 4 fuzzy subsets:
PL(is honest): 2 ° of C 〉=Δ T〉1.5 ° of C;
PS(is just little): 1.5 ° of C 〉=Δ T〉0.5 ° of C;
ZO(zero): 0.5 ° of C 〉=Δ T 〉-0.5 ° of C;
NL(is negative large) :-0.5 ° of C 〉=Δ T 〉-1 ° of C.
2. difference variation rate Δ t
Difference variation rate Δ t enters the fuzzy control scope ± 0.5 ℃ required time with temperature difference T and represents, unit is minute, and temperature variation is designated as (+) during close to setting temperature, and temperature variation is designated as (-) during away from setting temperature.For accurately controlling compressor rotary speed, now Δ t is divided into following 8 fuzzy subsets:
PL(is honest): Δ t≤3min;
The PM(center): 6min 〉=Δ t〉3min;
PS(is just little): 15min 〉=Δ t〉6min;
The PZ(positive zero): 25min 〉=Δ t〉15min;
The NZ(negative zero): 30min 〉=Δ t (-)〉20min;
NS(is negative little): 20min 〉=Δ t (-)〉15min;
During NM(is negative): 15min 〉=Δ t (-)〉8min;
NL(is negative large): Δ t (-)<8min.
3. fuzzy control coefficient k
After only having for the first time the start refrigeration, and during ° C of-1 ° of C<Δ T≤2, just begin the detected temperatures variance ratio, and by the temperature difference and difference variation rate establishment fuzzy control coefficient table, obtain the fuzzy control coefficient k by inquiring about the fuzzy control coefficient table.
Consider the characteristics of car air conditioner, k value excursion is between-80~140.The fuzzy control coefficient table of k value is as follows:
The fuzzy control coefficient k that obtains according to aforesaid way below is described, calculates the method for the working speed of air condition compressor:
The air condition compressor speed range is 960rpm~4080rpm, and the normal boot-strap rotating speed is 4080rpm.When air-conditioning system entered the fuzzy control scope, compressor controller obtained the fuzzy control coefficient k according to the fuzzy control coefficient table, converted through formula, drew the working speed of air condition compressor.Concrete formula is: N
T=(100+k) * N
T-1/ 100; Wherein, N
TBe the working speed of air condition compressor, N
T-1Be the rotating speed of the air condition compressor of a upper rotating speed control cycle, k is the fuzzy control coefficient.
When Calculation Speed surpassed maximum speed, it was 4080rpm that current rotating speed can be given tacit consent to by system.The rotating speed control cycle is 20s.
Further, simultaneously the evaporator surface temperature is monitored: measure the evaporator surface temperature before compressor operating, after compressor operating 3min, again measure the evaporator surface temperature, if both the temperature difference is more than 3 ℃, show that refrigeration is normal, otherwise compressor works with 3000rpm, the CAN bus reports pipeline to reveal fault message.Below 5 ℃ the time, compressor rotary speed should reduce by 30% left and right when the evaporator surface temperature.
Fig. 2 shows the functional-block diagram of the pure electric automobile air conditioning compressor control system based on fuzzy control of the present invention, as shown in Figure 2, described pure electric automobile air conditioning compressor control system based on fuzzy control comprises main control module 1, and the temperature detecting unit 2, data processing unit 3, quantifying unit 4 and the fuzzy controller 5 that are connected with this main control module 1 communication respectively.Wherein, described temperature detecting unit 2 is used for obtaining vehicle interior temperature; Described data processing unit 3, be used for according to vehicle interior temperature, calculate the measured value of vehicle interior temperature and the temperature difference of setting temperature, and be used for measured value when the described temperature difference in the first temperature range the time, the measured value of the difference variation rate of calculating vehicle interior temperature and setting temperature; Described quantifying unit 4 is used for the measured value of the described temperature difference and difference variation rate is quantized respectively, obtains the conversion value of the temperature difference and difference variation rate on corresponding domain; Described fuzzy controller 5 is used for the conversion value according to the described temperature difference and difference variation rate, and the fuzzy control rule according to predetermined calculates and export the fuzzy control coefficient; Described main control module 1 is used for the working speed according to described fuzzy control coefficient calculations air condition compressor, and controls air condition compressor according to this working speed operation.
Further, described control system also comprises the evaporator temperature detection unit 6 that is connected with described main control module 1 communication, described evaporator temperature detection unit 6 is used for obtaining air condition compressor operation front evaporator surface temperature, and air condition compressor operation 3min finisher surface temperature; Less than 3 ℃, described main control module 1 is controlled air condition compressor according to the rotating speed operation of 3000rpm when temperature difference both; And when air condition compressor moved 3min finisher surface temperature lower than 5 ℃, the rotating speed that described main control module 1 is controlled air condition compressor reduced by 30%.
Below for one embodiment of the invention, namely mainly for A type pure electric automobile air conditioning system in JAC, the present invention is further expalined explanation.Following table shows vehicle interior temperature sensor (temperature detecting unit 2) vehicle interior temperature that collects and the setting temperature of air-conditioner controller:
The temperature kind |
Vehicle interior temperature (Tr) |
Setting temperature (Ts) |
Numerical value |
32.4℃ |
21℃ |
In upper table, temperature difference T=Tr-Ts=11.4 ° of C, this temperature not in the temperature range (i.e. the first temperature range) of FUZZY ALGORITHMS FOR CONTROL, so the time main control module 1 control air condition compressor and just turn round with maximum speed 4080rpm.Simultaneously, main control module 1 records temperature variations, and following table is the temperature variations abridged table.
Setting temperature |
Vehicle interior temperature |
Current value |
Electricity is worth mutually |
Compressor rotary speed |
Zero-time |
21℃ |
32.4℃ |
6 |
5.61 |
4080 |
13:53 |
21℃ |
31.8℃ |
6 |
5.52 |
4080 |
13:53 |
21℃ |
31.1℃ |
6 |
5.47 |
4080 |
13:54 |
21℃ |
30.6℃ |
6 |
5.46 |
4080 |
13:54 |
21℃ |
29.8℃ |
6 |
5.42 |
4080 |
13:55 |
21℃ |
29℃ |
6 |
5.4 |
4080 |
13:56 |
21℃ |
28.1℃ |
6 |
5.39 |
4080 |
13:57 |
21℃ |
27.3℃ |
6 |
5.39 |
4080 |
13:58 |
21℃ |
26.5℃ |
6 |
5.36 |
4080 |
13:59 |
21℃ |
25.7℃ |
6 |
5.36 |
4080 |
14:00 |
21℃ |
25.1℃ |
6 |
5.33 |
4080 |
14:01 |
21℃ |
24.4℃ |
6 |
5.3 |
4080 |
14:02 |
21℃ |
23.9℃ |
6 |
5.27 |
4080 |
14:03 |
21℃ |
23.2℃ |
6 |
5.26 |
4080 |
14:04 |
21℃ |
22.7℃ |
6 |
5.25 |
4080 |
14:05 |
21℃ |
22.5℃ |
5~6 |
5.24 |
3720 |
14:06 |
21℃ |
22.5℃ |
5 |
5.23 |
3420 |
14:06 |
21℃ |
22.1℃ |
4~5 |
5.22 |
3240 |
14:07 |
21℃ |
22℃ |
4 |
5.21 |
2940 |
14:08 |
21℃ |
21.8℃ |
4 |
5.2 |
2940 |
14:09 |
21℃ |
21.5℃ |
4 |
5.19 |
2700 |
14:10 |
21℃ |
21.6℃ |
4 |
5.18 |
2520 |
14:10 |
21℃ |
21.5℃ |
4 |
5.17 |
2460 |
14:11 |
21℃ |
21.5℃ |
3~4 |
5.17 |
2400 |
14:11 |
21℃ |
21.5℃ |
3 |
5.16 |
2340 |
14:12 |
21℃ |
21.5℃ |
3 |
5.14 |
2340 |
14:18 |
As can be seen from the above table, approximately experienced 13 minutes when frequency conversion for the first time appears in compressor, namely the rate of temperature change of frequency conversion first is △ T=13min.In conjunction with △ T, △ t inquiry fuzzy control coefficient table, obtain fuzzy control coefficient k=1, then according to formula: N
T=(100+k) * N
T-1/ 100 obtain the working speed N of air condition compressor
T=3672rpm, this rotating speed be air condition compressor at the working speed of next rotating speed control cycle, along with the continuation of vehicle interior temperature reduces, this rotating speed also will continue to descend, until the interior heat dissipating capacity of car and air-conditioning system refrigerating capacity comparatively near the time, just reach relative equilibrium.Because the process of VFC algorithm process compressor rotary speed is very rapidly, present stage lacks the overall process of the complete monitoring compressor rotation speed change of effective equipment, therefore the result that calculates in above-mentioned specific embodiment can only be near data in table.
Only being in sum preferred embodiment of the present invention, is not to limit practical range of the present invention.Be that all equivalences of doing according to the content of the present patent application the scope of the claims change and modify, all should belong to technology category of the present invention.